Remove unused variables from timezone/Makefile
[glibc.git] / ChangeLog
blob1aef9183d48e04b30a9234f6607fdf29336d4515
1 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
3         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
4         (generated): Don't add $(addprefix z.,$(tzfiles)).
6 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
9         * scripts/sysd-rules.awk: Likewise.
11 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13         * iconvdata/tst-tables.sh: Change echo -n to printf.
14         * nss/db-Makefile: Likewise.
15         * posix/tst-getconf.sh: Likewise.
16         * stdio-common/tst-unbputc.sh: Likewise.
18 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
21         MADV_*_PAGES defines behind this feature check.
23 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
25         [BZ #18480]
26         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
27         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
28         Define.
29         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
30         LOAD_REGS_5, LOAD_REGS_6): Update.
31         (INTERNAL_SYSCALL): Update using new LOAD defines.
32         (INTERNAL_SYSCALL_NCS): Likewise.
33         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
35 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37         [BZ #16734]
38         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
40 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
42         [BZ #17905]
43         * catgets/Makefile (tst-catgets-mem): New test.
44         * catgets/catgets.c (catopen): Don't use unbounded alloca.
45         * catgets/open_catalog.c (__open_catalog): Likewise.
46         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
48 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
50         [BZ #18787]
51         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
52         clobber registers.
53         (atomic_compare_and_exchange_val_acq): Use register asms to assign
54         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
55         Cast return to __typeof (oldval).
57 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
59         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
60         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
61         and delete sys/syscall.h include.
63 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
65         [BZ #16517]
66         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
67         (tan): Force underflow exception for arguments with small absolute
68         value.
69         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
70         (__kernel_tanf): Force underflow exception for arguments with
71         small absolute value.
72         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
73         (__kernel_tanl): Force underflow exception for arguments with
74         small absolute value.
75         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
76         (__kernel_tanl): Force underflow exception for arguments with
77         small absolute value.
78         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
79         (__kernel_tanl): Force underflow exception for arguments with
80         small absolute value.
81         * math/auto-libm-test-in: Add more tests of tan.
82         * math/auto-libm-test-out: Regenerated.
84 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86         Fix sysdeps/i386/fpu/s_scalbn.S build
88         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
90 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
92         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
94 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
96         Fix gcrt0.o compilation
98         When static-start-installed-name is different from
99         start-installed-name, we must not use the shared objects.
101         * csu/Makefile
102         (extra-objs): Add gmon-start.o when building shared library and
103         $(static-start-installed-name) is different from
104         $(start-installed-name).
105         $(objpfx)g$(static-start-installed-name): When building shared
106         library and $(static-start-installed-name) is different from
107         $(static-start-installed-name), revert to non-shared rule,
108         i.e. using $(objpfx)% and gmon-start.o.
110 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
112         [BZ #16519]
113         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
114         (__ieee754_sinh): Force underflow exception for arguments with
115         small absolute value.
116         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
117         (__ieee754_sinhf): Force underflow exception for arguments with
118         small absolute value.
119         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
120         (__ieee754_sinhl): Force underflow exception for arguments with
121         small absolute value.
122         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
123         (__ieee754_sinhl): Force underflow exception for arguments with
124         small absolute value.
125         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
126         (__ieee754_sinhl): Force underflow exception for arguments with
127         small absolute value.
128         * math/auto-libm-test-in: Add more tests of sinh.
129         * math/auto-libm-test-out: Regenerated.
130         * sysdeps/i386/fpu/libm-test-ulps: Update.
132 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
134         * libio/oldfileops.c: Include unistd.h.
136 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
138         * stdlib/isomac.c: Include ctype.h.
140 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
142         * dirent/tst-seekdir.c (main): Converted to ...
143         (do_test): ... this.
144         (TEST_FUNCTION): New macro.
145         Include test-skeleton.c.
146         * elf/tst-dlmodcount.c (main): Converted to ...
147         (do_test): ... this.
148         (TEST_FUNCTION): New macro.
149         Include test-skeleton.c.
150         * elf/tst-order-main.c (main): Converted to ...
151         (do_test): ... this.
152         (TEST_FUNCTION): New macro.
153         Include test-skeleton.c.
154         * elf/tst-pie2.c (main): Converted to ...
155         (do_test): ... this.
156         (TEST_FUNCTION): New macro.
157         Include test-skeleton.c.
158         * inet/tst-ether_aton.c (main): Converted to ...
159         (do_test): ... this.
160         (TEST_FUNCTION): New macro.
161         Include test-skeleton.c.
162         * misc/tst-mntent.c (main): Converted to ...
163         (do_test): ... this.
164         (TEST_FUNCTION): New macro.
165         Include test-skeleton.c.
166         * misc/tst-tsearch.c (main): Converted to ...
167         (do_test): ... this.
168         (TEST_FUNCTION): New macro.
169         Include test-skeleton.c.
170         * posix/tst-regexloc.c (main): Converted to ...
171         (do_test): ... this.
172         (TEST_FUNCTION): New macro.
173         Include test-skeleton.c.
174         * resolv/tst-aton.c (main): Converted to ...
175         (do_test): ... this.
176         (TEST_FUNCTION): New macro.
177         Include test-skeleton.c.
178         * stdio-common/test-fwrite.c (main): Converted to ...
179         (do_test): ... this.
180         (TEST_FUNCTION): New macro.
181         Include test-skeleton.c.
182         * stdio-common/tst-ferror.c (main): Converted to ...
183         (do_test): ... this.
184         (TEST_FUNCTION): New macro.
185         Include test-skeleton.c.
186         * stdio-common/tst-printf.c (main): Converted to ...
187         (do_test): ... this.
188         (TEST_FUNCTION): New macro.
189         Include test-skeleton.c.
190         * stdio-common/tst-printfsz.c (main): Converted to ...
191         (do_test): ... this.
192         (TEST_FUNCTION): New macro.
193         Include test-skeleton.c.
194         * stdlib/tst-strtod.c (main): Converted to ...
195         (do_test): ... this.
196         (TEST_FUNCTION): New macro.
197         Include test-skeleton.c.
198         * string/tst-strlen.c (main): Converted to ...
199         (do_test): ... this.
200         (TEST_FUNCTION): New macro.
201         Include test-skeleton.c.
202         * string/tst-svc.c (main): Converted to ...
203         (do_test): ... this.
204         (TEST_FUNCTION): New macro.
205         Include test-skeleton.c.
206         * time/tst-strptime.c (main): Converted to ...
207         (do_test): ... this.
208         (TEST_FUNCTION): New macro.
209         Include test-skeleton.c.
210         * timezone/tst-timezone.c (main): Converted to ...
211         (do_test): ... this.
212         (TEST_FUNCTION): New macro.
213         Include test-skeleton.c.
215 2015-08-05  Zack Weinberg  <zackw@panix.com>
217         * misc/regexp.h: Update comments.
219 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
221         [BZ #18635]
222         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
223         before return label.
225 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
227         [BZ #18661]
228         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
229         when calling __errno_location.
230         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
231         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
233 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
235         [BZ #18661]
236         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
237         (__lll_timedwait_tid): Align stack to 16 bytes when calling
238         __gettimeofday.
240 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
242         [BZ #18661]
243         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
244         (__start_context): Don't use pop to restore %rdi so that stack
245         is aligned to 16 bytes when calling __setcontext.
247 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
249         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
250         only for libc.
251         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
253 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
255         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
256         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
257         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
259 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
261         * string/memccpy.c (memccpy):
262         Improve performance by using memchr/memcpy/__mempcpy.
264 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
266         * string/strncpy.c (strncpy):
267         Improve performance by using __strnlen/memcpy.
269 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
271         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
272         Optimize to avoid an unnecessary FPCR read.
274 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
276         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
277         Optimize to reduce FPCR/FPSR accesses.
279 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
281         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
282         dead->data[category] != NULL.
284 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
286         [BZ #18647]
287         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
288         and |x| close to 1, use absolute value of x when computing log.
289         * math/auto-libm-test-in: Add more tests of pow.
290         * math/auto-libm-test-out: Regenerated.
292 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
294         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
295         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
296         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
298 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
300         [BZ #18525]
301         * locales/km_KH: Remove timezone definition.
302         * locales/lo_LA: Likewise.
303         * locales/my_MM: Likewise.
304         * locales/nan_TW@latin: Likewise.
305         * locales/th_TH: Likewise.
306         * locales/uk_UA: Likewise.
308 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
310         [BZ #18265]
311         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
312         (wcsncat): Likewise.
313         (wcscmp): Likewise.
314         (wcsncmp): Likewise.
316 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
318         * test-skeleton.c (usage): New function.
319         (main): Call usage when opt is '?'.
321 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
323         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
324         before first use.
326 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
328         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
329         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
330         in there too.
332 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
334         * version.h (RELEASE): Set to "development".
335         (VERSION): Set to "2.22.90"
337         * version.h (RELEASE): Set to "stable".
338         (VERSION): Set to "2.22"
339         * include/features.h (__GLIBC_MINOR__): Set to 22.
341 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
343         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
344         Restructure macro to avoid "value computed is not used" warning.
345         (atomic_compare_and_exchange_val_acq): Likewise.
347 2015-08-04  Andreas Schwab  <schwab@suse.de>
349         [BZ #18635]
350         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
351         ret.
352         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
354 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
356         * po/pl.po: Updated translation.
357         * po/uk.po: Likewise.
358         * po/fi.po: Likewise.
359         * po/ko.po: Likewise.
360         * po/ru.po: Likewise.
361         * po/vi.po: Likewise.
363 2015-07-31  Zack Weinberg  <zackw@panix.com>
365         [BZ #18681]
366         * regexp.h: Add unconditional #warning stating that this header
367         will be removed soon.  Revise banner comment to match.
368         (compile): Consistently use ERROR instead of RETURN to report
369         errors (partial fix for bz#18681).
370         * regexp.c: Don't include regexp.h. Remove some unnecessary
371         declarations.
373 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
375         * po/libc.pot: Regenerated.
377 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
379         [BZ #18740]
380         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
381         float-vlen4-arch-ext-cflags): Removed.
382         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
383         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
385 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
387         [BZ #14113]
388         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
389         aligned to __aligned__.
390         (pthread_cond_t, pthread_rwlock_t): Likewise.
392 2015-07-30  Torvald Riegel  <triegel@redhat.com>
394         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
396 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
398         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
399         (struct sigaction): Change sa_flags from a long to an int, and add
400         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
402 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
404         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
405         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
406         sysdeps/generic/sysdep.h include.
407         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
408         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
409         sysdeps/hppa/sysdep.h.
410         (ENTRY, PSEUDO): Undefine before defining.
412 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
414         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
415         from scratch to use INTERNAL_SYSCALL.
417 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
419         [BZ #18078]
420         * scripts/check-localplt.awk: Support alternate relocations.
421         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
422         sections.
423         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
424         malloc entries with + REL R_386_GLOB_DAT.
425         * sysdeps/x86_64/localplt.data: New file.
427 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
429         [BZ #18731]
430         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
431         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
432         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
434 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
436         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
438 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
440         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
441         directly in terms of __sync_fetch_and_add and delete (int) cast.
443 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
445         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
446         the -D_ASM_IA64_CURRENT_H flag.
448 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
450         [BZ #18641]
451         * pwd/pwd.h (putpwent): Delete __nonnull markings.
453 2015-07-27  Andreas Schwab  <schwab@suse.de>
455         * conform/conformtest.pl (checknamespace): Filter out string
456         literals while tokenizing.
458 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
460         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
461         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
462         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
464 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
466         * nptl/tst-join7mod.c: Add #include <string.h>.
468 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
470         * sysdeps/nios2/libm-test-ulps: Update.
472 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
474         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
475         Fix order of arguments to the rt_sigprocmask syscall.
476         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
477         Likewise.
479 2015-07-24  Roland McGrath  <roland@hack.frob.com>
481         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
483 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
485         [BZ #18457]
486         * nptl/Makefile (tests): New test case tst-join7.
487         (modules-names): New test case module tst-join7mod.
488         * nptl/tst-join7.c: New file.
489         * nptl/tst-join7mod.c: New file.
490         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
491         all translation units in libc.so, libpthread.so and rtld.
493 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
497 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
499         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
500         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
501         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
502         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
503         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
504         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
505         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
506         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
507         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
508         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
509         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
510         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
511         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
512         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
513         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
514         implementation.
516 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
518         [BZ #17711]
519         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
520         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
521         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
522         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
523         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
524         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
526 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
528         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
529         instead of just saying load lock in the comments.
531 2015-07-23  Roland McGrath  <roland@hack.frob.com>
533         * sysdeps/unix/Subdirs: Moved ...
534         * sysdeps/posix/Subdirs: ... here.
535         * login/pty.h (struct termios, struct winsize): Add forward decls.
536         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
537         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
538         * sysdeps/arm/nacl/libc.abilist: Updated.
539         * sysdeps/nacl/libutil.abilist: New file.
541         * bits/signum.h: Update comments to mention 1003.1-2013 too.
542         (SIGWINCH): New macro.
544         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
545         * sysdeps/arm/nacl/libc.abilist: Add it.
547 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
549         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
551 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
553         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
554         Swap __glibc_reserved0 and sa_flags order.
556 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
558         [BZ #18657]
559         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
560         are pending TLS destructor calls.
561         * include/link.h (struct link_map): Add concurrency note for
562         L_TLS_DTOR_COUNT.
563         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
564         Don't touch the link map flag.  Atomically increment
565         l_tls_dtor_count.
566         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
567         Avoid taking the load lock and don't touch the link map flag.
568         * stdlib/tst-tls-atexit-nodelete.c: New test case.
569         * stdlib/Makefile (tests): Use it.
570         * stdlib/tst-tls-atexit.c (do_test): dlopen
571         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
572         to allow tst-tls-atexit-nodelete test case to use it.
574 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
576         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
577         to bits/types.h.
578         (msgqnum_t): New typedef.
579         (msglen_t): Likewise.
580         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
581         and msg_qbytes type to msglen_t.
583 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
585         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
586         pad0 to __glibc_reserved0.
587         (struct stat64): Likewise.
589 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
591         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
592         Change sa_flags from a long to an int and add __glibc_reserved0 before
593         it for padding.
595 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
597         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
598         anonymous by deleting "siginfo" name.
600 2015-07-21  Roland McGrath  <roland@hack.frob.com>
602         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
603         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
604         rather than __nacl_irt_filename.
605         * sysdeps/nacl/xstat.c (__xstat): Likewise.
607         * NEWS: New item for arm-nacl port.
608         * sysdeps/arm/nacl/libc.abilist: New file.
609         * sysdeps/nacl/ld.abilist: New file.
610         * sysdeps/nacl/libBrokenLocale.abilist: New file.
611         * sysdeps/nacl/libanl.abilist: New file.
612         * sysdeps/nacl/libcrypt.abilist: New file.
613         * sysdeps/nacl/libdl.abilist: New file.
614         * sysdeps/nacl/libm.abilist: New file.
615         * sysdeps/nacl/libpthread.abilist: New file.
616         * sysdeps/nacl/libresolv.abilist: New file.
617         * sysdeps/nacl/librt.abilist: New file.
619 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
621         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
622         __startcontext to initialize the new context.
623         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
624         up CFI directive to forbid further backtracing.
626 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
628         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
629         reference.
630         * charmaps/ANSI_X3.4-1968: Likewise.
631         * charmaps/BS_4730: Likewise.
632         * charmaps/BS_VIEWDATA: Likewise.
633         * charmaps/CP1250: Likewise.
634         * charmaps/CP1251: Likewise.
635         * charmaps/CP1252: Likewise.
636         * charmaps/CP1253: Likewise.
637         * charmaps/CP1254: Likewise.
638         * charmaps/CP1255: Likewise.
639         * charmaps/CP1256: Likewise.
640         * charmaps/CSN_369103: Likewise.
641         * charmaps/EBCDIC-DK-NO: Likewise.
642         * charmaps/GB_1988-80: Likewise.
643         * charmaps/GREEK-CCITT: Likewise.
644         * charmaps/GREEK7: Likewise.
645         * charmaps/INIS-8: Likewise.
646         * charmaps/ISIRI-3342: Likewise.
647         * charmaps/ISO_2033-1983: Likewise.
648         * charmaps/ISO_5427-EXT: Likewise.
649         * locales/POSIX: Likewise.
650         * locales/ar_SA: Likewise.
651         * locales/be_BY: Likewise.
652         * locales/be_BY@latin: Likewise.
653         * locales/ca_ES: Likewise.
654         * locales/cs_CZ: Likewise.
655         * locales/da_DK: Likewise.
656         * locales/de_BE: Likewise.
657         * locales/de_CH: Likewise.
658         * locales/de_LU: Likewise.
659         * locales/en_AU: Likewise.
660         * locales/en_BW: Likewise.
661         * locales/en_CA: Likewise.
662         * locales/en_DK: Likewise.
663         * locales/en_GB: Likewise.
664         * locales/en_IE: Likewise.
665         * locales/en_NZ: Likewise.
666         * locales/en_ZA: Likewise.
667         * locales/en_ZW: Likewise.
668         * locales/es_AR: Likewise.
669         * locales/es_BO: Likewise.
670         * locales/es_CL: Likewise.
671         * locales/es_CO: Likewise.
672         * locales/es_DO: Likewise.
673         * locales/es_EC: Likewise.
674         * locales/es_ES: Likewise.
675         * locales/es_HN: Likewise.
676         * locales/es_MX: Likewise.
677         * locales/es_PA: Likewise.
678         * locales/es_PE: Likewise.
679         * locales/es_PY: Likewise.
680         * locales/es_SV: Likewise.
681         * locales/es_US: Likewise.
682         * locales/es_UY: Likewise.
683         * locales/es_VE: Likewise.
684         * locales/et_EE: Likewise.
685         * locales/fa_IR: Likewise.
686         * locales/fo_FO: Likewise.
687         * locales/fr_CA: Likewise.
688         * locales/fr_CH: Likewise.
689         * locales/gv_GB: Likewise.
690         * locales/he_IL: Likewise.
691         * locales/hr_HR: Likewise.
692         * locales/id_ID: Likewise.
693         * locales/is_IS: Likewise.
694         * locales/it_CH: Likewise.
695         * locales/iw_IL: Likewise.
696         * locales/kl_GL: Likewise.
697         * locales/ko_KR: Likewise.
698         * locales/kw_GB: Likewise.
699         * locales/lg_UG: Likewise.
700         * locales/lt_LT: Likewise.
701         * locales/lv_LV: Likewise.
702         * locales/mi_NZ: Likewise.
703         * locales/nhn_MX: Likewise.
704         * locales/nl_BE: Likewise.
705         * locales/pl_PL: Likewise.
706         * locales/sk_SK: Likewise.
707         * locales/sl_SI: Likewise.
708         * locales/sv_FI: Likewise.
709         * locales/tl_PH: Likewise.
710         * locales/tr_TR: Likewise.
711         * locales/vi_VN: Likewise.
713 2015-07-21  Khem Raj  <raj.khem@gmail.com>
715         [BZ #17475]
716         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
717         of tu_IN and bh_IN.
719 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
721         [BZ #18694]
722         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
723         bits/wordsize.h.
724         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
726 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
728         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
729         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
730         (spawn_thread): New function.
731         (load): Rename to reg_dtor_and_close.  Move dlopen to...
732         (do_test): ... here.  Use IS_LOADED to test for its
733         availability.
735 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
737         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
739 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
741         [BZ #18696]
742         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
743         si_addr_bnd.
744         (si_lower): New.
745         (si_upper): Likewise.
747 2015-07-16  David S. Miller  <davem@davemloft.net>
749         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
751 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
753         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
754         buffer.
755         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
756         fail output information.
758 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
761         and strstr-ppc64..
762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
763         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
764         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
765         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
766         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
768 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
770         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
771         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
772         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
773         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
775 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
777         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
778         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
779         rtld_hidden_proto.
780         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
782 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
784         * tst-nodelete-opened.c (do_test): Add comment to clarify how
785         the test can fail.
787         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
789         [BZ #18676]
790         * elf/tst-nodelete-opened.c: New test case.
791         * elf/tst-nodelete-opened-lib.c: New test case module.
792         * elf/Makefile (tests, modules-names): Use them.
793         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
794         early.
796 2015-07-15  David S. Miller  <davem@davemloft.net>
798         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
799         futex-intenal.h
800         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
801         * sysdeps/sparc/sparc64/Makefile: Likewise.
802         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
803         Remove space from macro define.
804         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
806 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
808         [BZ #17475]
809         * locale/iso-639.def: Update Bhili and Tulu language codes as
810         per iso639-3.
812 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
814         * elf/tst-leaks1.c (main): Converted to ...
815         (do_test): ... this.
816         (TEST_FUNCTION): New macro.
817         Include test-skeleton.c.
818         * localedata/tst-langinfo.c (main): Converted to ...
819         (do_test): ... this.
820         (TEST_FUNCTION): New macro.
821         Include test-skeleton.c.
822         * math/test-fpucw.c (main): Converted to ...
823         (do_test): ... this.
824         (TEST_FUNCTION): New macro.
825         Include test-skeleton.c.
826         * math/test-tgmath.c (main): Converted to ...
827         (do_test): ... this.
828         (TEST_FUNCTION): New macro.
829         Include test-skeleton.c.
830         * math/test-tgmath2.c (main): Converted to ...
831         (do_test): ... this.
832         (TEST_FUNCTION): New macro.
833         Include test-skeleton.c.
834         * setjmp/tst-setjmp.c (main): Converted to ...
835         (do_test): ... this.
836         (TEST_FUNCTION): New macro.
837         Include test-skeleton.c.
838         * stdio-common/tst-sscanf.c (main): Converted to ...
839         (do_test): ... this.
840         (TEST_FUNCTION): New macro.
841         Include test-skeleton.c.
842         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
843         (do_test): ... this.
844         (TEST_FUNCTION): New macro.
845         Include test-skeleton.c.
847         * elf/tst-audit9.c (main): Converted to ...
848         (do_test): ... this.
849         (TEST_FUNCTION): New macro.
850         Include test-skeleton.c.
852 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
854         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
856 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
858         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
859         New variable.
861 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
863         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
865 2015-07-14  Roland McGrath  <roland@hack.frob.com>
867         * sysdeps/generic/dl-fileid.h: New file.
868         * sysdeps/posix/dl-fileid.h: New file.
869         * sysdeps/nacl/dl-fileid.h: New file.
870         * include/link.h: Include <dl-fileid.h>.
871         (struct link_map): Replace l_dev and l_ino with l_file_id.
872         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
873         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
874         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
876 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
878         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
880 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
882         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
883         Add iff $CXX is set.
884         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
885         Likewise.
886         (tst-nodelete-zmodiff): Likewise.
887         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
889 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
891         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
893 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
895         * sysdeps/aarch64/fpu/math_private.h
896         (define math_opt_barrier): Add AArch64 version.
897         (math_force_eval): Likewise.
899 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
901         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
903 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
905         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
906         %ld with %jd and cast to intmax_t.
907         (do_test_length_zero): Likewise.
909 2015-07-10  Roland McGrath  <roland@hack.frob.com>
911         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
913 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
915         * sysdeps/tile/libm-test-ulps: Regenerated.
917         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
918         Comment out the whole function, not just its body.
920 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
922         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
923         locks.
925         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
927 2015-07-10  Torvald Riegel  <triegel@redhat.com>
929         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
930         (sem_assume_only_signals_cause_futex_EINTR): Remove.
932 2015-07-10  Torvald Riegel  <triegel@redhat.com>
934         * sysdeps/nptl/futex-internal.h: New file.
935         * sysdeps/nacl/futex-internal.h: New file.
936         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
937         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
938         error checking.
939         (setxid_unmark_thread): Likewise.
940         (__nptl_setxid): Likewise.
941         (__wait_lookup_done): Likewise.
942         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
943         * nptl/nptl-init.c (sighandler_setxid): Likewise.
944         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
945         * nptl/pthread_once.c (clear_once_control): Likewise.
946         (__pthread_once_slow): Likewise.
947         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
948         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
949         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
950         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
951         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
952         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
953         Likewise.
954         (__pthread_rwlock_rdlock): Likewise.
955         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
956         Likewise.
957         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
958         Likewise.
959         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
960         Likewise.
961         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
962         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
963         Likewise.
964         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
965         __ASSUME_PRIVATE_FUTEX check.
966         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
967         Check that shared futexes are supported.
968         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
969         wrappers with error checking.
970         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
971         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
972         * nptl/pthread_barrierattr_setpshared.c
973         (pthread_barrierattr_setpshared): Check that shared futexes are
974         supported.
975         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
976         Likewise.
977         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
978         Likewise.
979         * nptl/sem_init.c (futex_private_if_supported): Remove.
980         (__new_sem_init): Adapt and check that shared futexes are supported.
981         * nptl/sem_open.c (sem_open): Likewise.
982         * nptl/sem_post.c (futex_wake): Remove.
983         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
984         (do_futex_wait): Use futex wrappers with error checking.
985         * nptl/sem_wait.c: Include lowlevellock.h.
986         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
987         Use futex_supports_pshared.
988         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
989         Use futex wrappers with error checking.
990         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
991         Likewise.
992         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
993         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
994         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
995         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
996         (futex_wake): Likewise.
997         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
998         (do_futex_wait): Use futex wrappers with error checking.
999         (__new_sem_wait_slow): Update EINTR handling.
1000         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1002 2015-07-09  Martin Sebor  <msebor@redhat.com>
1004         [BZ #18435]
1005         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1006         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1007         * nptl/Makefile (test-xfail-tst-once5): Define.
1009 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1011         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1012         * elf/dl-minimal.c: For readability, reorder some definitions and
1013         introduce more page breaks.  Include <stdio.h>.
1014         (__libc_fatal): New function.
1016         * include/unistd.h: Add rtld_hidden_proto for _exit.
1017         * posix/_exit.c: Add rtld_hidden_def.
1018         * sysdeps/mach/hurd/_exit.c: Likewise.
1019         * sysdeps/nacl/_exit.c: Likewise.
1020         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1021         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1023 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1025         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1026         bndmov encoding with zero displacement.
1028 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1029             H.J. Lu  <hongjiu.lu@intel.com>
1031         [BZ #18134]
1032         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1033         * sysdeps/i386/configure: Regenerated.
1034         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1035         (_dl_runtime_profile): Save and restore Intel MPX return bound
1036         registers when calling _dl_call_pltexit.  Add
1037         PRESERVE_BND_REGS_PREFIX before return.
1038         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1039         (LRV_BND1_OFFSET): Likewise.
1040         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1041         lrv_bnd1.
1042         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1043         typo in bndmov encoding.
1044         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1045         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1046         branch instructions to preserve bounds.
1048 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1051         [GLIBC_2.22]: Add fmemopen.
1053 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1055         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1056         returns an error, also try to use host port from __mach_host_self for
1057         the __vm_wire call.
1058         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1060 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1062         [BZ #18400]
1063         [BZ #18648]
1064         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1065         Fix pr_uid and pr_gid members.
1066         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1067         definition to elf_greg_t.
1069 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1071         [BZ #18383]
1072         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1073         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1074         * sysdeps/arm/configure: Regenerated.
1075         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1076         (test-xfail-tst-tlsalign-static): Variable removed.
1078         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1079         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1080         rather than explicit 'ln -s'.
1082         * resolv/rpc/netdb.h: New file.
1083         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1085 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1087         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1088         length buffers.
1089         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1090         test-skeleton.c.
1092         [BZ #6544]
1093         [BZ #11216]
1094         [BZ #12836]
1095         [BZ #13151]
1096         [BZ #13152]
1097         [BZ #14292]
1098         * include/stdio.h (fmemopen): Remove hidden prototype.
1099         (__fmemopen): Add new hidden prototype.
1100         * libio/Makefile: Add oldfmemopen object.
1101         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1102         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1103         compliance.
1104         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1105         symbol compatibility.
1106         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1107         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1108         fmemopen.
1109         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1110         on append and read mode.
1111         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1112         fmemopen.
1113         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1114         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1115         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1116         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1117         Likewise.
1118         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1119         [GLIBC_2.22]: Likewise.
1120         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1121         Likewise.
1122         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1123         Likewise.
1124         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1125         [GLIBC_2.22]: Likewise.
1126         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1127         [GLIBC_2.22]: Likewise.
1128         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1129         [GLIBC_2.22]: Likewise.
1130         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1131         [GLIBC_2.22]: Likewise.
1132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1133         [GLIBC_2.22]: Likewise.
1134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1135         [GLIBC_2.22]: Likewise.
1136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1137         [GLIBC_2.22]: Likewise.
1138         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1139         Likewise.
1140         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1141         Likewise.
1142         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1143         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1144         [GLIBC_2.22]: Likewise.
1145         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1146         [GLIBC_2.22]: Likewise.
1147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1148         [GLIBC_2.22]: Likewise.
1149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1150         [GLIBC_2.22]: Likewise.
1151         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1152         Likewise.
1153         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1154         Likewise.
1155         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1156         Likewise.
1157         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1158         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1160 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1162         [BZ #18643]
1163         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1164         IPV6_PATHMTU, and IPV6_DONTFRAG.
1166 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1168         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1169         and _IO_UNBUFFERED.
1170         * libio/oldfileops.c: Likewise.
1171         * libio/wfileops.c: Likewise.
1173 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1175         * nscd/selinux.c: Delete selinux/flask.h include.
1177 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1179         [BZ #18641]
1180         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1181         (putpwent): Likewise.
1182         (getpwnam): Likewise.
1183         (getpwent_r): Likewise.
1184         (getpwuid_r): Likewise.
1185         (getpwnam_r): Likewise.
1186         (fgetpwent_r): Likewise.
1188 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1190         [BZ #18557]
1191         * inet/rcmd.c (__validuser2_sa): Check user first to
1192         short-circuit host check.
1194 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
1195             Mikhail Ilin  <m.ilin@samsung.com>
1197         [BZ #17833]
1198         * elf/Makefile (tests): Add tst-nodelete.
1199         (modules-names): Add tst-nodelete-uniquemod.
1200         (tst-nodelete-uniquemod.so-no-z-defs): New.
1201         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1202         (tst-nodelete-zmod.so-no-z-defs): Likewise.
1203         ($(objpfx)tst-nodelete): Likewise.
1204         ($(objpfx)tst-nodelete.out): Likewise.
1205         (LDFLAGS-tst-nodelete): Likewise.
1206         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1207         * elf/dl-close.c (_dl_close_worker): Add a parameter to
1208         implement forced object deletion.
1209         (_dl_close): Pass false to _dl_close_worker.
1210         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1211         * elf/tst-nodelete.cc: New file.
1212         * elf/tst-nodeletelib.cc: Likewise.
1213         * elf/tst-znodeletelib.cc: Likewise.
1214         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1216 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1218         [BZ #18508]
1219         * stdlib/Makefile ($(objpfx)tst-makecontext3):
1220         Depend on $(libdl).
1221         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1222         is not called infinitely times.
1223         (backtrace_helper): New function.
1224         (trace_arg): New struct.
1225         (st1): Enlarge stack size.
1226         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1227         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1228         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1229         Likewise.
1231 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1233         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1235 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1237         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1238         Include sys/types.h instead of bits/types.h.
1239         Remove inclusion of bits/wordsize.h.
1241 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1243         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1244         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1245         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1246         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1247         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1248         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1250 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1252         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1253         link-defines.sym.
1254         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1255         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1256         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1257         and LR_SIZE.
1258         * sysdeps/i386/link-defines.sym: New file.
1260 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1262         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1263         (modules-names): Add tst-auditmod3a tst-auditmod3b.
1264         ($(objpfx)tst-audit3): New rule.
1265         ($(objpfx)tst-audit3.out): Likewise.
1266         * sysdeps/i386/tst-audit3.c: New file.
1267         * sysdeps/i386/tst-audit3.h: Likewise.
1268         * sysdeps/i386/tst-auditmod3a.c: Likewise.
1269         * sysdeps/i386/tst-auditmod3b.c: Likewise.
1271 2015-07-07  Torvald Riegel  <triegel@redhat.com>
1273         [BZ #18633]
1274         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
1275         pointer in C code.
1276         (__strcat_c): Likewise.
1277         (__strcat_g): Likewise.
1279 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
1281         [BZ #18592]
1282         * misc/sbrk.c: Set errno to ENOMEM on overflow.
1284 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1286         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1287         New function.  (__ieee754_sqrtf): New function.
1288         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1289         New function.
1290         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1291         New function.
1293 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1295         * sysdeps/ieee754/support.c: Remove unused file.
1297 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1299         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1300         registers instead of d ones so the layout is kernel abi compatible.
1301         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1302         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1303         Likewise.
1305 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1307         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1309 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1311         [BZ #18619]
1312         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1313         and return argument in case of subnormal argument.
1315 2015-07-01  Martin Sebor  <msebor@redhat.com>
1317         [BZ #18435]
1318         * nptl/Makefile: Add tst-once5.cc.
1319         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1320         Remove macro redefinitions.
1321         * nptl/tst-once5.cc: New test.
1323 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1325         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1327         * sysdeps/arm/libm-test-ulps: Regenerated.
1329         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1330         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1332 2015-06-30  Torvald Riegel  <triegel@redhat.com>
1334         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
1335         lll_lock_wait_private and lll_futex_wake probes.
1337         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1338         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
1339         Likewise.
1340         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
1341         atomic_spin_nop.
1342         * sysdeps/x86_64/bits/atomic.h: Likewise.
1343         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
1344         to atomic_spin_nop and move ...
1345         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1346         ... here and ...
1347         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
1348         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1349         atomic_spin_nop instead of BUSY_WAIT_NOP.
1350         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1351         Likewise.
1352         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
1353         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1354         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
1355         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
1356         instead of atomic_delay.
1358 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
1360         [BZ #18613]
1361         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
1362         X_ADJ not X when adjusting exponent.
1363         (__ieee754_gamma_r): Do intermediate computations in
1364         round-to-nearest then adjust overflowing and underflowing results
1365         as needed.
1366         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
1367         of X_ADJ not X when adjusting exponent.
1368         (__ieee754_gammaf_r): Do intermediate computations in
1369         round-to-nearest then adjust overflowing and underflowing results
1370         as needed.
1371         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
1372         log of X_ADJ not X when adjusting exponent.
1373         (__ieee754_gammal_r): Do intermediate computations in
1374         round-to-nearest then adjust overflowing and underflowing results
1375         as needed.  Use 1.0L not 1.0f as numerator of division.
1376         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
1377         log of X_ADJ not X when adjusting exponent.
1378         (__ieee754_gammal_r): Do intermediate computations in
1379         round-to-nearest then adjust overflowing and underflowing results
1380         as needed.  Use 1.0L not 1.0f as numerator of division.
1381         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
1382         of X_ADJ not X when adjusting exponent.
1383         (__ieee754_gammal_r): Do intermediate computations in
1384         round-to-nearest then adjust overflowing and underflowing results
1385         as needed.  Use 1.0L not 1.0f as numerator of division.
1386         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
1387         to auto-libm-test-in.
1388         (tgamma_test): Use ALL_RM_TEST.
1389         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
1390         tests of tgamma with spurious-overflow.
1391         * math/auto-libm-test-out: Regenerated.
1392         * math/gen-libm-have-vector-test.sh: Do not check for START.
1393         * sysdeps/i386/fpu/libm-test-ulps: Update.
1394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1396         [BZ #18612]
1397         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1398         arguments, just return 0.5 times the argument, with underflow
1399         forced as needed.
1400         * math/auto-libm-test-in: Add more tests of j1.
1401         * math/auto-libm-test-out: Regenerated.
1403         [BZ #16559]
1404         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1405         (__ieee754_j1): Force underflow exception for small results.
1406         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1407         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1408         (__ieee754_j1f): Force underflow exception for small results.
1409         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1410         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1411         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1412         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1413         (__ieee754_j1l): Force underflow exception for small results.
1414         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1415         * math/auto-libm-test-in: Add more tests of j1 and jn.
1416         * math/auto-libm-test-out: Regenerated.
1418         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1419         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1420         (PF_MPLS): Likewise.
1421         (AF_IB): Likewise.
1422         (AF_MPLS): Likewise.
1423         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1424         value and macro.
1425         (MS_RMT_MASK): Include MS_LAZYTIME.
1427 2015-06-26  Mel Gorman  <mgorman@suse.de>
1429         [BZ #18502]
1430         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1431         already minimal.
1433 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
1435         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1436         (DT_MIPS_NUM): Update.
1437         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1438         DT_MIPS_RLD_MAP_REL.
1440 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
1442         [BZ #16559]
1443         [BZ #18602]
1444         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1445         round-to-nearest internally then recompute results that
1446         underflowed to zero in the original rounding mode.
1447         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1448         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1449         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1450         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1451         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1452         * sysdeps/i386/fpu/libm-test-ulps: Update.
1453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1455 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1457         * NEWS: Fixed description of link with vector math library.
1459 2015-06-25  Andreas Schwab  <schwab@suse.de>
1461         [BZ #18549]
1462         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1463         * libio/test-fmemopen.c (do_test): Add test for it.
1465 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1467         [BZ #17841]
1468         * Makeconfig (no-pie-ldflag): New.
1469         (+link): Set to $(+link-pie) if default to PIE.
1470         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1471         * config.make.in (build-pie-default): New.
1472         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
1473         is default.  AC_SUBST.
1474         * configure: Regenerated.
1475         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1477 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1479         * nptl/descr.h (struct pthread): Change type of field setxid_futex
1480         to 'unsigned int'.
1482         * resolv/gai_misc.h (struct waitlist): Change type of field
1483         counterp to 'volatile unsigned int *'.
1484         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1485         FUTEXADDR and OLDVAL.
1486         * resolv/getaddrinfo_a.c (getaddrinfo_a):
1487         Give local variable TOTAL type 'volatile unsigned int'.
1488         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1489         * resolv/gai_suspend.c (gai_suspend):
1490         Give local variable CNTR type 'unsigned int'.
1492         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1493         counterp to 'volatile unsigned int *'.
1494         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1495         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1496         (aio_suspend): Give local variable CNTR type 'unsigned int'.
1497         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1498         Give local variable TOTAL type 'volatile unsigned int'.
1499         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1501 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1503         [BZ #18383]
1504         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1505         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
1506         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1507         comment for i386/x86-64.
1508         (test-xfail-tst-tlsalign-extern-static): Removed.
1510 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1512         * math/test-double.h: New file.
1513         * math/test-float.h: Likewise.
1514         * math/test-ldouble.h: Likewise.
1515         * math/test-math-inline.h: Likewise.
1516         * math/test-math-no-inline.h: Likewise.
1517         * math/test-math-scalar.h: Likewise.
1518         * math/test-math-vector.h: Likewise.
1519         * math/test-vec-loop.h: Remove file.  Contents moved into
1520         test-math-vector.h.
1521         * math/libm-test.inc (MATHCONST): Do not document macro.
1522         * math/test-double.c: Include test-double.h, test-math-no-inline.h
1523         and test-math-scalar.h.
1524         (FUNC): Remove macro.
1525         (FUNC_TEST): Likewise.
1526         (FLOAT): Likewise.
1527         (MATHCONST): Likewise.
1528         (PRINTF_EXPR): Likewise.
1529         (PRINTF_XEXPR): Likewise.
1530         (PRINTF_NEXPR): Likewise.
1531         (TEST_DOUBLE): Likewise.
1532         (TEST_MATHVEC): Likewise.
1533         (__NO_MATH_INLINES): Likewise.
1534         * math/test-float.c: Include test-float.h, test-math-no-inline.h
1535         and test-math-scalar.h.
1536         (FUNC): Remove macro.
1537         (FUNC_TEST): Likewise.
1538         (FLOAT): Likewise.
1539         (MATHCONST): Likewise.
1540         (PRINTF_EXPR): Likewise.
1541         (PRINTF_XEXPR): Likewise.
1542         (PRINTF_NEXPR): Likewise.
1543         (TEST_FLOAT): Likewise.
1544         (TEST_MATHVEC): Likewise.
1545         (__NO_MATH_INLINES): Likewise.
1546         * math/test-idouble.c: Include test-double.h, test-math-inline.h
1547         and test-math-scalar.h.
1548         (FUNC): Remove macro.
1549         (FUNC_TEST): Likewise.
1550         (FLOAT): Likewise.
1551         (MATHCONST): Likewise.
1552         (PRINTF_EXPR): Likewise.
1553         (PRINTF_XEXPR): Likewise.
1554         (PRINTF_NEXPR): Likewise.
1555         (TEST_DOUBLE): Likewise.
1556         (TEST_MATHVEC): Likewise.
1557         (TEST_INLINE): Likewise.
1558         (__NO_MATH_INLINES): Likewise.
1559         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1560         test-math-scalar.h.
1561         (FUNC): Remove macro.
1562         (FUNC_TEST): Likewise.
1563         (FLOAT): Likewise.
1564         (MATHCONST): Likewise.
1565         (PRINTF_EXPR): Likewise.
1566         (PRINTF_XEXPR): Likewise.
1567         (PRINTF_NEXPR): Likewise.
1568         (TEST_FLOAT): Likewise.
1569         (TEST_MATHVEC): Likewise.
1570         (TEST_INLINE): Likewise.
1571         (__NO_MATH_INLINES): Likewise.
1572         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1573         and test-math-scalar.h.
1574         (FUNC): Remove macro.
1575         (FUNC_TEST): Likewise.
1576         (FLOAT): Likewise.
1577         (MATHCONST): Likewise.
1578         (PRINTF_EXPR): Likewise.
1579         (PRINTF_XEXPR): Likewise.
1580         (PRINTF_NEXPR): Likewise.
1581         (TEST_LDOUBLE): Likewise.
1582         (TEST_MATHVEC): Likewise.
1583         (TEST_INLINE): Likewise.
1584         (__NO_MATH_INLINES): Likewise.
1585         * math/test-ldouble.c: Include test-ldouble.h,
1586         test-math-no-inline.h and test-math-scalar.h.
1587         (FUNC): Remove macro.
1588         (FUNC_TEST): Likewise.
1589         (FLOAT): Likewise.
1590         (MATHCONST): Likewise.
1591         (PRINTF_EXPR): Likewise.
1592         (PRINTF_XEXPR): Likewise.
1593         (PRINTF_NEXPR): Likewise.
1594         (TEST_LDOUBLE): Likewise.
1595         (TEST_MATHVEC): Likewise.
1596         (__NO_MATH_INLINES): Likewise.
1597         * math/test-double-vlen2.h: Include test-double.h,
1598         test-math-no-inline.h and test-math-vector.h.
1599         (FLOAT): Remove macro.
1600         (FUNC): Likewise.
1601         (MATHCONST): Likewise.
1602         (PRINTF_EXPR): Likewise.
1603         (PRINTF_XEXPR): Likewise.
1604         (PRINTF_NEXPR): Likewise.
1605         (TEST_DOUBLE): Likewise.
1606         (TEST_MATHVEC): Likewise.
1607         (__NO_MATH_INLINES): Likewise.
1608         (CNCT): Likewise.
1609         (CONCAT): Likewise.
1610         (WRAPPER_NAME): Likewise.
1611         (WRAPPER_DECL): Likewise.
1612         (WRAPPER_DECL_ff): Likewise.
1613         (WRAPPER_DECL_fFF): Likewise.
1614         (VECTOR_WRAPPER): Likewise.
1615         (VECTOR_WRAPPER_ff): Likewise.
1616         (VECTOR_WRAPPER_fFF): Likewise.
1617         (VEC_LEN): New macro.
1618         * math/test-double-vlen4.h: Include test-double.h,
1619         test-math-no-inline.h and test-math-vector.h.
1620         (FLOAT): Remove macro.
1621         (FUNC): Likewise.
1622         (MATHCONST): Likewise.
1623         (PRINTF_EXPR): Likewise.
1624         (PRINTF_XEXPR): Likewise.
1625         (PRINTF_NEXPR): Likewise.
1626         (TEST_DOUBLE): Likewise.
1627         (TEST_MATHVEC): Likewise.
1628         (__NO_MATH_INLINES): Likewise.
1629         (CNCT): Likewise.
1630         (CONCAT): Likewise.
1631         (WRAPPER_NAME): Likewise.
1632         (WRAPPER_DECL): Likewise.
1633         (WRAPPER_DECL_ff): Likewise.
1634         (WRAPPER_DECL_fFF): Likewise.
1635         (VECTOR_WRAPPER): Likewise.
1636         (VECTOR_WRAPPER_ff): Likewise.
1637         (VECTOR_WRAPPER_fFF): Likewise.
1638         (VEC_LEN): New macro.
1639         * math/test-double-vlen8.h: Include test-double.h,
1640         test-math-no-inline.h and test-math-vector.h.
1641         (FLOAT): Remove macro.
1642         (FUNC): Likewise.
1643         (MATHCONST): Likewise.
1644         (PRINTF_EXPR): Likewise.
1645         (PRINTF_XEXPR): Likewise.
1646         (PRINTF_NEXPR): Likewise.
1647         (TEST_DOUBLE): Likewise.
1648         (TEST_MATHVEC): Likewise.
1649         (__NO_MATH_INLINES): Likewise.
1650         (CNCT): Likewise.
1651         (CONCAT): Likewise.
1652         (WRAPPER_NAME): Likewise.
1653         (WRAPPER_DECL): Likewise.
1654         (WRAPPER_DECL_ff): Likewise.
1655         (WRAPPER_DECL_fFF): Likewise.
1656         (VECTOR_WRAPPER): Likewise.
1657         (VECTOR_WRAPPER_ff): Likewise.
1658         (VECTOR_WRAPPER_fFF): Likewise.
1659         (VEC_LEN): New macro.
1660         * math/test-float-vlen4.h: Include test-float.h,
1661         test-math-no-inline.h and test-math-vector.h.
1662         (FLOAT): Remove macro.
1663         (FUNC): Likewise.
1664         (MATHCONST): Likewise.
1665         (PRINTF_EXPR): Likewise.
1666         (PRINTF_XEXPR): Likewise.
1667         (PRINTF_NEXPR): Likewise.
1668         (TEST_FLOAT): Likewise.
1669         (TEST_MATHVEC): Likewise.
1670         (__NO_MATH_INLINES): Likewise.
1671         (CNCT): Likewise.
1672         (CONCAT): Likewise.
1673         (WRAPPER_NAME): Likewise.
1674         (WRAPPER_DECL): Likewise.
1675         (WRAPPER_DECL_ff): Likewise.
1676         (WRAPPER_DECL_fFF): Likewise.
1677         (VECTOR_WRAPPER): Likewise.
1678         (VECTOR_WRAPPER_ff): Likewise.
1679         (VECTOR_WRAPPER_fFF): Likewise.
1680         (VEC_LEN): New macro.
1681         * math/test-float-vlen8.h: Include test-float.h,
1682         test-math-no-inline.h and test-math-vector.h.
1683         (FLOAT): Remove macro.
1684         (FUNC): Likewise.
1685         (MATHCONST): Likewise.
1686         (PRINTF_EXPR): Likewise.
1687         (PRINTF_XEXPR): Likewise.
1688         (PRINTF_NEXPR): Likewise.
1689         (TEST_FLOAT): Likewise.
1690         (TEST_MATHVEC): Likewise.
1691         (__NO_MATH_INLINES): Likewise.
1692         (CNCT): Likewise.
1693         (CONCAT): Likewise.
1694         (WRAPPER_NAME): Likewise.
1695         (WRAPPER_DECL): Likewise.
1696         (WRAPPER_DECL_ff): Likewise.
1697         (WRAPPER_DECL_fFF): Likewise.
1698         (VECTOR_WRAPPER): Likewise.
1699         (VECTOR_WRAPPER_ff): Likewise.
1700         (VECTOR_WRAPPER_fFF): Likewise.
1701         (VEC_LEN): New macro.
1702         * math/test-float-vlen16.h: Include test-float.h,
1703         test-math-no-inline.h and test-math-vector.h.
1704         (FLOAT): Remove macro.
1705         (FUNC): Likewise.
1706         (MATHCONST): Likewise.
1707         (PRINTF_EXPR): Likewise.
1708         (PRINTF_XEXPR): Likewise.
1709         (PRINTF_NEXPR): Likewise.
1710         (TEST_FLOAT): Likewise.
1711         (TEST_MATHVEC): Likewise.
1712         (__NO_MATH_INLINES): Likewise.
1713         (CNCT): Likewise.
1714         (CONCAT): Likewise.
1715         (WRAPPER_NAME): Likewise.
1716         (WRAPPER_DECL): Likewise.
1717         (WRAPPER_DECL_ff): Likewise.
1718         (WRAPPER_DECL_fFF): Likewise.
1719         (VECTOR_WRAPPER): Likewise.
1720         (VECTOR_WRAPPER_ff): Likewise.
1721         (VECTOR_WRAPPER_fFF): Likewise.
1722         (VEC_LEN): New macro.
1723         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1724         test-vec-loop.h.
1725         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1726         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1727         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1728         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1729         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1730         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1731         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1733 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1735         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1736         (__getlogin_r): ... this.
1738 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1740         [BZ #18594]
1741         * math/s_ccosh.c (__ccosh): Compare with least normal value
1742         instead of comparing class with FP_SUBNORMAL.
1743         * math/s_ccoshf.c (__ccoshf): Likewise.
1744         * math/s_ccoshl.c (__ccoshl): Likewise.
1745         * math/s_cexp.c (__cexp): Likewise.
1746         * math/s_cexpf.c (__cexpf): Likewise.
1747         * math/s_cexpl.c (__cexpl): Likewise.
1748         * math/s_csin.c (__csin): Likewise.
1749         * math/s_csinf.c (__csinf): Likewise.
1750         * math/s_csinh.c (__csinh): Likewise.
1751         * math/s_csinhf.c (__csinhf): Likewise.
1752         * math/s_csinhl.c (__csinhl): Likewise.
1753         * math/s_csinl.c (__csinl): Likewise.
1754         * math/s_ctan.c (__ctan): Likewise.
1755         * math/s_ctanf.c (__ctanf): Likewise.
1756         * math/s_ctanh.c (__ctanh): Likewise.
1757         * math/s_ctanhf.c (__ctanhf): Likewise.
1758         * math/s_ctanhl.c (__ctanhl): Likewise.
1759         * math/s_ctanl.c (__ctanl): Likewise.
1760         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1761         csin, csinh, ctan and ctanh.
1762         * math/auto-libm-test-out: Regenerated.
1763         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1764         * sysdeps/i386/fpu/libm-test-ulps: Update.
1765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1767 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1769         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1770         return value is wrong, print the expected value too.
1772 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1774         [BZ #18585]
1775         * elf/readlib.c (is_gdb_python_file): New.
1776         (process_file): Don't issue errors on filenames with -gdb.py
1777         suffix.
1779 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1781         * math/auto-libm-test-in: Add more tests of csin and csinh.
1782         * math/auto-libm-test-out: Regenerated.
1783         * math/libm-test.inc (csin_test_data): Remove tests moved to
1784         auto-libm-test-in.
1785         (csinh_test_data): Likewise.
1787         [BZ #18593]
1788         * math/s_csin.c (__csin): Negate before rather than after possibly
1789         overflowing multiplication.
1790         * math/s_csinf.c (__csinf): Likewise.
1791         * math/s_csinh.c (__csinh): Likewise.
1792         * math/s_csinhf.c (__csinhf): Likewise.
1793         * math/s_csinhl.c (__csinhl): Likewise.
1794         * math/s_csinl.c (__csinl): Likewise.
1795         * math/auto-libm-test-in: Add some tests of csin and csinh.
1796         * math/auto-libm-test-out: Regenerated.
1797         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1798         (csinh_test_data): Likewise.
1799         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1801         [BZ #18586]
1802         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1803         underflow exception for small results.
1805 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1807         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1808         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1809         variable and included header.
1810         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1811         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1812         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1813         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1814         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1815         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1816         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1817         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1818         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1819         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1820         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1821         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1822         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1823         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1824         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1825         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1827 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1829         [BZ #16526]
1830         [BZ #16538]
1831         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1832         (__sin): Force underflow exception for arguments with small
1833         absolute value.
1834         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1835         (__kernel_sinf): Force underflow exception for arguments with
1836         small absolute value.
1837         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1838         (__kernel_sincosl): Force underflow exception for arguments with
1839         small absolute value.
1840         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1841         (__kernel_sinl): Force underflow exception for arguments with
1842         small absolute value.
1843         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1844         (__kernel_sincosl): Force underflow exception for arguments with
1845         small absolute value.
1846         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1847         (__kernel_sinl): Force underflow exception for arguments with
1848         small absolute value.
1849         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1850         (__kernel_sinl): Force underflow exception for arguments with
1851         small absolute value.
1852         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1853         (__kernel_sinf): Force underflow exception for arguments with
1854         small absolute value.
1855         * math/auto-libm-test-in: Add more tests of sin and sincos.
1856         * math/auto-libm-test-out: Regenerated.
1858         [BZ #18245]
1859         [BZ #18583]
1860         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1861         (__kernel_standard_l): Use feholdexcept and fesetenv around
1862         conversion to double instead of special-casing overflow and
1863         underflow.
1864         * math/libm-test.inc (fmod_test_data): Add more tests.
1865         (remainder_test_data): Likewise.
1866         (sqrt_test_data): Likewise.
1868 2015-06-23  Torvald Riegel  <triegel@redhat.com>
1870         [BZ #17403]
1871         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1872         atomic_read_barrier, atomic_write_barrier): Define.
1873         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1874         atomic_read_barrier, atomic_write_barrier): Define.
1876 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1878         * math/Makefile [$(PERL) != no]
1879         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1880         dependency on libm-test.stmp below the inclusion of Rules.
1882 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
1884         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1885         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1886         and included header.
1887         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1888         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1889         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1890         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1891         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1892         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1893         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1894         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1895         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1896         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1897         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1898         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1899         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1900         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1901         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1902         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1903         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1904         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1905         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1907 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1909         [BZ #18371]
1910         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1911         intermediate but not final result might underflow.
1912         * math/s_csqrtf.c (__csqrtf): Likewise.
1913         * math/s_csqrtl.c (__csqrtl): Likewise.
1914         * math/auto-libm-test-in: Add more tests of csqrt.
1915         * math/auto-libm-test-out: Regenerated.
1916         * sysdeps/i386/fpu/libm-test-ulps: Update.
1918         [BZ #18219]
1919         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1920         threshold on absolute value of exponent for which scaling is used.
1921         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1922         * math/auto-libm-test-in: Add more tests of exp2.
1923         * math/auto-libm-test-out: Regenerated.
1925 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
1927         [BZ #17977]
1928         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1929         when initializing interface list, based on the bug analysis
1930         and the patch proposed by Eric Newton.
1931         * resolv/tst-res_hconf_reorder.c: New test.
1932         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1933         tst-res_hconf_reorder.
1934         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1935         and $(shared-thread-library).
1936         (tst-res_hconf_reorder-ENV): New variable.
1938         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1939         in comment.
1941 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
1943         [BZ #16353]
1944         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1945         (__expm1): Force underflow exception for arguments with small
1946         absolute value.
1947         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1948         (__expm1f): Force underflow exception for arguments with small
1949         absolute value.
1950         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1951         (__expm1): Force underflow exception for arguments with small
1952         absolute value.
1953         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1954         (__expm1f): Force underflow exception for arguments with small
1955         absolute value.
1956         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1957         Check for small arguments before calling __expm1.
1958         * math/auto-libm-test-in: Do not mark underflow exceptions as
1959         possibly missing for bug 16353.
1960         * math/auto-libm-test-out: Regenerated.
1962 2015-06-22  Andreas Schwab  <schwab@suse.de>
1964         [BZ #18513]
1965         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1966         PTR queries.
1968 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
1970         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1972         * string/strcoll_l.c: Remove unused struct element idxnow.
1974 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
1976         [BZ #18569]
1977         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1978         underflow and return argument in case of subnormal argument.
1979         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1980         Likewise.
1981         * math/auto-libm-test-in: Add more tests of expm1.
1982         * math/auto-libm-test-out: Regenerated.
1984         [BZ #16361]
1985         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1986         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1987         tiny results.
1988         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1989         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1990         tiny results.
1991         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
1992         mark underflow exceptions as possibly missing for bug 16361.
1993         * math/auto-libm-test-out: Regenerated.
1995 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
1997         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1998         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1999         Remove variable.
2000         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2001         (test-xfail-XOPEN2K8/utmpx.h/conform).
2003         * conform/conformtest.pl ($xerrors): New variable.
2004         (note_error): New function.
2005         (compiletest): New argument $xfail.  Use not_error.
2006         (runtest): Likewise.
2007         (top level): Handle xfail- lines.  Update calls to compiletest and
2008         runtest.  Handle xfail- and optional- in headers listed with
2009         allow-header.
2010         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2011         (O_EXEC): Likewise.
2012         (O_SEARCH): Likewise.
2013         * conform/data/stropts.h-data (ioctl): Likewise.
2014         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2015         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2016         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2017         (msghdr.msg_controllen): Likewise.
2018         (cmsghdr.cmsg_len): Likewise.
2019         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2020         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2021         variable.
2022         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2023         (test-xfail-XPG4/stropts.h/conform): Likewise.
2024         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2025         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2026         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2027         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2028         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2029         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2030         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2031         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2032         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2033         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2034         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2035         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2036         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2037         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2038         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2039         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2040         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2041         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2042         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2044 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2046         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2047         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2048         definitions for proper unfolding of __MATHDECL_VEC.
2050 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2052         * benchtests/bench-strcoll.c:
2053         Include string.h.
2054         (main): Remove unused variable res.
2056 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2058         * timezone/Makefile (%/UTC %/Universal):
2059         Generate test-result files for UTC and Universal.
2061 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2063         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2065 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2067         [BZ #16350]
2068         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2069         for arguments with small absolute value.
2070         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2071         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2072         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2073         (__asinh): Force underflow exception for arguments with small
2074         absolute value.
2075         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2076         (__asinhf): Force underflow exception for arguments with small
2077         absolute value.
2078         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2079         (__asinhl): Force underflow exception for arguments with small
2080         absolute value.
2081         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2082         (__asinhl): Force underflow exception for arguments with small
2083         absolute value.
2084         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2085         (__asinhl): Force underflow exception for arguments with small
2086         absolute value.
2087         * math/auto-libm-test-in: Do not mark underflow exceptions as
2088         possibly missing for bug 16350.
2089         * math/auto-libm-test-out: Regenerated.
2091         * include/bits/ipc.h: Remove file.
2092         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2093         variable.
2094         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2095         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2096         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2097         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2098         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2099         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2100         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2101         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2102         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2104         * math/auto-libm-test-in: Remove spurious underflow allowance for
2105         tests of cexp.
2106         * math/auto-libm-test-out: Regenerated.
2108         [BZ #18558]
2109         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2110         unconditional definition.
2111         (MCAST_BLOCK_SOURCE): Likewise.
2112         (MCAST_UNBLOCK_SOURCE): Likewise.
2113         (MCAST_LEAVE_GROUP): Likewise.
2114         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2115         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2116         (MCAST_MSFILTER): Likewise.
2117         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2118         Remove variable.
2119         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2120         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2121         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2122         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2123         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2125 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2127         * NEWS: Mention addition of x86_64 vector sincosf.
2128         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2129         * math/test-float-vlen4.h: Likewise.
2130         * math/test-float-vlen8.h: Likewise.
2131         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2132         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2133         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2134         * sysdeps/x86_64/fpu/Versions: New versions added.
2135         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2136         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2137         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2138         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2139         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2140         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2141         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2142         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2143         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2144         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2145         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2146         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2147         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2148         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2149         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2150         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2151         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2152         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2153         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2154         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2155         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2156         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2157         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2158         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2160         * NEWS: Mention addition of x86_64 vector sincos.
2161         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2162         * math/math.h (__MATHDECL_VEC): New macro.
2163         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2164         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2165         declaration under condition.
2166         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2167         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2168         TEST_VEC_LOOP change.
2169         * math/test-double-vlen4.h: Likewise.
2170         * math/test-double-vlen8.h: Likewise.
2171         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2172         * math/test-float-vlen4.h: Likewise.
2173         * math/test-float-vlen8.h: Likewise.
2174         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2175         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2176         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2177         * sysdeps/x86_64/fpu/Versions: New versions added.
2178         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2179         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2180         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2181         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2182         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2183         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2184         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2185         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2186         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2187         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2188         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2189         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2190         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2191         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2192         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2193         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2194         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2195         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2196         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2197         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2198         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2199         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2200         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2201         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2203         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2204         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2205         redirections for powf.
2206         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2207         * sysdeps/x86_64/fpu/Versions: New versions added.
2208         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2209         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2210         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2211         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2212         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2213         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2214         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2215         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2216         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2217         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2218         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2219         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2220         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2221         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2222         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2223         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2224         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2225         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2226         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2227         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2228         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2229         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2230         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2231         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2232         * math/test-float-vlen16.h: Fixed 2 argument macro.
2233         * math/test-float-vlen4.h: Likewise.
2234         * math/test-float-vlen8.h: Likewise.
2235         * NEWS: Mention addition of x86_64 vector powf.
2237 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
2239         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2240         and redefine.
2241         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2242         and redefine.
2243         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2244         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2245         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2247         [BZ #18553]
2248         * resource/getpriority.c (getpriority): Rename to __getpriority
2249         and define as weak alias of __getpriority.
2250         * resource/setpriority.c (setpriority): Rename to __setpriority
2251         and define as weak alias of __setpriority.
2252         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2253         __getpriority and define as weak alias of __getpriority.
2254         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2255         __setpriority and define as weak alias of __setpriority.
2256         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2257         strong name.
2258         (setpriority): Use __setpriority as strong name.
2259         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2260         __getpriority and define as weak alias of __getpriority.
2261         * include/sys/resource.h (__getpriority): Declare.  Use
2262         libc_hidden_proto.
2263         (__setpriority): Likewise.
2264         (getpriority): Don't use libc_hidden_proto.
2265         (setpriority): Likewise.
2266         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2267         getpriority.  Call __setpriority instead of setpriority.
2268         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2269         Remove variable.
2271         [BZ #18547]
2272         * misc/getttyent.c (getttynam): Rename to __getttynam and define
2273         as weak alias of __getttynam.  Use prototype function definition.
2274         Call __setttyent, __getttyent and __endttyent instead of
2275         setttyent, getttyent and endttyent.
2276         (getttyent): Rename to __getttyent and define as weak alias of
2277         __getttyent.  Call __setttyent instead of setttyent.  Call
2278         __fgets_unlocked instead of fgets_unlocked.
2279         (setttyent): Rename to __setttyent and define as weak alias of
2280         __setttyent.
2281         (endttyent): Rename to __endttyent and define as weak alias of
2282         __endttyent.
2283         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
2284         (__setttyent): Likewise.
2285         (__endttyent): Likewise.
2286         (getttyent): Don't use libc_hidden_proto.
2287         (setttyent): Likewise.
2288         (endttyent): Likewise.
2289         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2290         __endttyent instead of setttyent, getttyent and endttyent.
2291         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2292         Remove variable.
2294         [BZ #18546]
2295         * socket/recv.c (__recv): Use libc_hidden_def.
2296         * socket/socket.c (__socket): Likewise.
2297         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2298         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2299         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2300         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2301         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2302         libc_hidden_def.
2303         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2304         libc_hidden_weak.
2305         * include/sys/socket.h (__socket): Do not use attribute_hidden.
2306         Use libc_hidden_proto.
2307         (__recv): Likewise.
2308         * socket/Versions (libc): Export __recv and __socket at version
2309         GLIBC_PRIVATE.
2310         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2311         instead of recv.
2312         (init_mq_netlink): Call __socket instead of socket.
2313         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2314         Remove variable.
2316         [BZ #18545]
2317         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
2318         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
2319         hidden_weak.
2320         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
2321         define as alias of __mq_timedsend.  Use hidden_weak.
2322         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
2323         __mq_timedsend as strong name.
2324         (mq_timedreceive): Use __mq_timedreceive as strong name.
2325         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
2326         (__mq_timedreceive): Likewise.
2327         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
2328         __mq_timedreceive instead of mq_timedreceive.
2329         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
2330         instead of mq_timedsend.
2331         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
2332         Remove variable.
2334         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
2335         hidden_def and hidden_weak instead of libc_hidden_def and
2336         libc_hidden_weak.
2337         (top level): Refer to hidden_def in comment.
2338         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
2339         macro.  Use it instead of libc_hidden_def.
2340         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
2341         specify __GI_* name explicitly.
2342         (mq_timedreceive): Likewise.
2343         (mq_setattr): Likewise.
2345         [BZ #18544]
2346         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
2347         __pthread_barrier_init and define as weak alias of
2348         __pthread_barrier_init.
2349         * sysdeps/sparc/nptl/pthread_barrier_init.c
2350         (pthread_barrier_init): Likewise.
2351         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
2352         __pthread_barrier_wait and define as weak alias of
2353         __pthread_barrier_wait.
2354         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2355         (pthread_barrier_wait): Likewise.
2356         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2357         (pthread_barrier_wait): Likewise.
2358         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
2359         (pthread_barrier_wait): Likewise.
2360         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
2361         (pthread_barrier_wait): Likewise.
2362         * nptl/Versions (libpthread): Export __pthread_barrier_init and
2363         __pthread_barrier_wait at version GLIBC_PRIVATE.
2364         * include/pthread.h (__pthread_barrier_init): Declare.
2365         (__pthread_barrier_wait): Likewise.
2366         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
2367         Call __pthread_barrier_wait instead of pthread_barrier_wait.
2368         (helper_thread): Likewise.
2369         (init_mq_netlink): Call __pthread_barrier_init instead of
2370         pthread_barrier_init.
2372         [BZ #18542]
2373         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
2374         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
2375         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
2376         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
2377         vswscanf.
2378         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
2379         Remove variable.
2381         [BZ #18540]
2382         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
2383         strong alias of _IO_fflush.  Use libc_hidden_def.
2384         * libio/iofflush_u.c (fflush_unlocked): Rename to
2385         __fflush_unlocked and define as weak alias of __fflush_unlocked.
2386         Use libc_hidden_weak.
2387         * include/stdio.h (__fflush_unlocked): Declare.  Use
2388         libc_hidden_proto.
2389         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2390         fflush_unlocked.
2391         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2392         Remove variable.
2394         [BZ #18539]
2395         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2396         define as weak alias of __addseverity.
2397         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2398         Remove variable.
2399         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2400         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2401         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2403         [BZ #18536]
2404         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2405         (__tfind): Likewise.
2406         (__tdelete): Likewise.
2407         (__twalk): Likewise.
2408         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2409         __twalk to GLIBC_PRIVATE.
2410         * include/search.h (__tsearch): Use libc_hidden_proto.
2411         (__tfind): Likewise.
2412         (__tdelete): Likewise.
2413         (__twalk): Likewise.
2414         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2415         Call __tdelete instead of tdelete.
2416         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2417         tfind.  Call __tsearch instead of tsearch.
2418         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2419         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2420         Remove variable.
2421         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2423         [BZ #18534]
2424         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2425         (dprintf): Define as a weak alias of __dprintf, not a strong
2426         alias.
2427         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
2428         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2429         dprintf.
2430         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2431         Remove variable.
2432         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2433         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2435         [BZ #18533]
2436         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2437         not a strong alias.
2438         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2439         Remove variable.
2441         [BZ #18532]
2442         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2443         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
2444         (in6addr_loopback): Rename to __in6addr_loopback and define as
2445         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
2446         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
2447         libc_hidden_proto.
2448         (__in6addr_any): Likewise.
2449         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2450         in6addr_any.
2451         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2452         variable.
2453         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2455 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2457         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2458         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2459         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2460         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2461         redirections for pow.
2462         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2463         * sysdeps/x86_64/fpu/Versions: New versions added.
2464         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2465         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2466         build of SSE, AVX2 and AVX512 IFUNC versions.
2467         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2468         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2469         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2470         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2471         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2472         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2473         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2474         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2475         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2476         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2477         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2478         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2479         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2480         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2481         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2482         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2483         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2484         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2485         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2486         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2487         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2488         * NEWS: Mention addition of x86_64 vector pow.
2490         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2491         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2492         redirections for expf.
2493         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2494         * sysdeps/x86_64/fpu/Versions: New versions added.
2495         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2496         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2497         build of SSE, AVX2 and AVX512 IFUNC versions.
2498         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2499         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2500         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2501         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2502         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2503         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2504         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2505         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2506         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2507         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2508         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2509         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2510         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2511         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2512         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2513         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2514         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2515         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2516         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2517         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2518         * NEWS: Mention addition of x86_64 vector expf.
2520         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2521         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2522         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2523         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2524         redirections for exp.
2525         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2526         * sysdeps/x86_64/fpu/Versions: New versions added.
2527         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2528         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2529         build of SSE, AVX2 and AVX512 IFUNC versions.
2530         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2531         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2532         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2533         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2534         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2535         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2536         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2537         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2538         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2539         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2540         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2541         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2542         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2543         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2544         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2545         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2546         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2547         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2548         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2549         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2550         * NEWS: Mention addition of x86_64 vector exp.
2552         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2553         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2554         redirections for logf.
2555         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2556         * sysdeps/x86_64/fpu/Versions: New versions added.
2557         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2558         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2559         build of SSE, AVX2 and AVX512 IFUNC versions.
2560         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2561         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2562         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2563         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2564         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2565         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2566         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2567         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2568         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2569         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2570         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2571         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2572         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2573         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2574         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2575         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2576         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2577         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2578         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2579         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2580         * NEWS: Mention addition of x86_64 vector logf.
2582         * bits/libm-simd-decl-stubs.h: Added stubs for log.
2583         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2584         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2585         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2586         redirections for log.
2587         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2588         * sysdeps/x86_64/fpu/Versions: New versions added.
2589         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2590         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2591         build of SSE, AVX2 and AVX512 IFUNC versions.
2592         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2593         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2594         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2595         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2596         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2597         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2598         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2599         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2600         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2601         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2602         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2603         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2604         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2605         test.
2606         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2607         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2608         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2609         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2610         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2611         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2612         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2613         * NEWS: Mention addition of x86_64 vector log.
2615 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2617         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2618         cfi_adjust_cfa_offset argument.
2619         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2620         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2622         [BZ #18034]
2623         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2624         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2625         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2626         ordering using ldar.
2627         (_dl_tlsdesc_dynamic): Likewise.
2628         (_dl_tlsdesc_return_lazy): Likewise.
2629         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2630         relaxed atomics instead of volatile and synchronize with release store.
2631         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2632         volatile.
2633         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2635 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
2637         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2638         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2639         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2640         * sysdeps/x86_64/fpu/Versions: New versions added.
2641         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2642         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2643         build of SSE, AVX2 and AVX512 IFUNC versions.
2644         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2645         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2646         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2647         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2648         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2649         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2650         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2651         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2652         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2653         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2654         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2655         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2656         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2657         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2658         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2659         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2660         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2661         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2662         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2663         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2664         * NEWS: Mention addition of x86_64 vector sinf.
2666 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
2668         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2669         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2670         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2671         Remove variable.
2672         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2673         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2675 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2677         [BZ #18530]
2678         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2679         strong alias of _IO_fputs.  Use libc_hidden_def.
2680         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2681         and define as weak alias of __fputs_unlocked.  Use
2682         libc_hidden_weak.
2683         * include/stdio.h (__fputs_unlocked): Declare.  Use
2684         libc_hidden_proto.
2685         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2686         fputs_unlocked.
2688         [BZ #18529]
2689         * resolv/netdb.h [__USE_POSIX]: Change condition to
2690         [__USE_XOPEN2K].
2691         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2692         not expect.
2693         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2694         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2695         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2696         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2697         [XPG4 || UNIX98] (AI_ALL): Likewise.
2698         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2699         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2700         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2701         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2702         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2703         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2704         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2705         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2706         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2707         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2708         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2709         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2710         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2711         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2712         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2713         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2714         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2715         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2716         [XPG4 || UNIX98] (gai_strerror): Likewise.
2717         [XPG4 || UNIX98] (getaddrinfo): Likewise.
2718         [XPG4 || UNIX98] (getnameinfo): Likewise.
2720         [BZ #18528]
2721         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2722         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2723         __USE_XOPEN2K8].
2724         (getgrent): Likewise.
2725         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2726         expect.
2727         [XPG3 || POSIX2008] (endgrent): Likewise.
2728         [XPG3] (setgrent): Likewise.
2729         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2730         variable.
2731         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2733         [BZ #18527]
2734         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2735         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
2736         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2737         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2738         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2739         * include/unistd.h (__getlogin_r): Declare.  Use
2740         libc_hidden_proto.
2741         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2742         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2743         variable.
2744         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2745         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2746         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2748 2015-06-12  Martin Sebor  <msebor@redhat.com>
2750         [BZ #18512]
2751         * Makerules (check-install-supported): New target.
2752         (install): Add check-install-supported as a dependency.
2753         * manual/install.texi (Installing the C Library): Document
2754         that overriding prefix and exec_prefix is not supported.
2755         Mention DESTDIR.
2756         * INSTALL: Regenerate from the above.
2758 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2760         [BZ #18519]
2761         * posix/Versions (libc): Export __libc_pread at version
2762         GLIBC_PRIVATE.
2763         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2764         instead of pread.
2765         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2766         variable.
2768         [BZ #18522]
2769         * misc/efgcvt_r.c
2770         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2771         (cvt_symbol): Use weak_alias instead of strong_alias.
2772         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2773         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2774         Remove variable.
2775         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2776         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2778         [BZ #18520]
2779         * inet/herrno.c (h_errno): Rename to __h_errno.
2780         (__libc_h_errno): Define as alias of __h_errno not h_errno.
2781         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2782         to __h_errno instead of h_errno.
2783         * nptl/herrno.c (h_errno): Rename to __h_errno.
2784         (__h_errno_location): Refer to __h_errno not h_errno.
2785         * resolv/Versions (h_errno): Rename to __h_errno.
2786         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2787         Remove variable.
2788         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2790 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
2792         * configure.ac: More strict check for AVX512 assembler support.
2793         * configure: Regenerated.
2795         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2796         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2797         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2798         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2799         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2800         * sysdeps/x86_64/fpu/Versions: New versions added.
2801         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2802         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2803         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2804         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2805         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2806         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2807         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2808         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2809         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2810         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2811         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2812         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2813         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2814         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2815         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2816         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2817         test.
2818         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2819         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2820         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2821         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2822         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2823         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2824         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2825         * NEWS: Mention addition of x86_64 vector sin.
2827 2015-06-11  Florian Weimer  <fweimer@redhat.com>
2829         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2830         comment.
2832 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2834         [BZ #18479]
2835         * nptl/pt-interp.c: New file.
2836         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2837         Add pt-interp.
2838         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2839         $(common-objpfx)runtime-linker.h.
2841 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
2843         * Makeconfig (+interp): Remove unused variable.
2844         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2845         only.  Depend on $(common-objpfx)runtime-linker.h instead of
2846         $(elf-objpfx)runtime-linker.h.
2847         ($(elf-objpfx)runtime-linker.h): Rename to
2848         $(common-objpfx)runtime-linker.h and move ...
2849         * Makerules [$(build-shared) = yes]: ... here.
2850         * elf/interp.c: Include <runtime-linker.h> instead of
2851         <elf/runtime-linker.h>.
2853 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2855         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2856         (__gettimeofday_syscall): Remove vsyscall fallback.
2857         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2858         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2859         Add syscall fallback function.
2860         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2861         if vDSO is not present.
2862         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2863         fallback function.
2864         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2865         present.
2866         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2867         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2869 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
2871         [BZ #18497]
2872         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2873         of wcscmp.
2874         (wcscmp): Define as weak alias of WCSCMP.
2875         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2876         wcscoll.
2877         (USE_HIDDEN_DEF): Define.
2878         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2879         __wcscoll.  Don't use libc_hidden_weak.
2880         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2881         wcscmp.
2882         * sysdeps/i386/i686/multiarch/wcscmp-c.c
2883         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2884         __GI_wcscmp.
2885         (weak_alias): Undefine and redefine.
2886         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2887         __wcscmp and define as weak alias of __wcscmp.
2888         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2889         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
2890         (__wcscoll): Likewise.
2891         (wcscmp): Don't use libc_hidden_proto.
2892         (wcscoll): Likewise.
2893         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2894         wcscoll.
2895         * posix/regexec.c (check_node_accept_bytes): Likewise.
2896         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2897         variable.
2898         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2899         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2901         [BZ #18507]
2902         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2903         __fstatvfs and define as weak alias of __fstatvfs.  Use
2904         libc_hidden_weak.
2905         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2906         and define as weak alias of __statvfs.  Use libc_hidden_weak.
2907         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2908         Define as alias of __fstatvfs, not fstatvfs.
2909         (fstatvfs64): Likewise.
2910         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2911         Define as alias of __statvfs, not statvfs.
2912         (statvfs64): Likewise.
2913         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2914         Remove variable.
2916 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2919         (HAVE_GETCPU_VSYSCALL): Define.
2920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2921         (HAVE_GETCPU_VSYSCALL): Likewise.
2922         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2923         * sysdeps/unix/sysv/linux/sched_getcpu.c
2924         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2925         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2926         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2927         prototype.
2928         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2929         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2930         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2931         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2932         Define.
2933         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2934         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2935         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2936         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2938 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
2940         * sysdeps/x86_64/fpu/Makefile: New file.
2941         * sysdeps/x86_64/fpu/Versions: New file.
2942         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2943         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2944         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2945         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2946         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2947         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2948         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2949         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2950         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2951         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2952         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2953         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2954         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2955         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2956         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2957         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2958         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2959         * sysdeps/x86_64/configure.ac: Options for libmvec build.
2960         * sysdeps/x86_64/configure: Regenerated.
2961         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2962         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2963         * manual/install.texi (Configuring and compiling): Document
2964         --disable-mathvec.
2965         * INSTALL: Regenerated.
2966         * NEWS: Mention addition of libmvec and x86_64 vector cos.
2968         * math/Makefile: Added rules for vector tests.
2969         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2970         declaration under condition.
2971         * math/test-double-vlen2.h: New file.
2972         * math/test-double-vlen4.h: New file.
2973         * math/test-double-vlen8.h: New file.
2974         * math/test-vec-loop.h: Added initialization macro.
2975         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2976         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2977         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2978         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2979         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2980         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2981         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2982         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2983         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2984         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2985         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2987         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2988         * sysdeps/x86_64/fpu/Versions: New versions added.
2989         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2990         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2991         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2992         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2993         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2994         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2995         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2996         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2997         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2998         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2999         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3000         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3001         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3002         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3003         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3004         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3005         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3006         * NEWS: Mention addition of x86_64 vector cosf.
3008         * math/Makefile: Added CFLAGS for new tests.
3009         * math/test-float-vlen16.h: New file.
3010         * math/test-float-vlen4.h: New file.
3011         * math/test-float-vlen8.h: New file.
3012         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3013         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3014         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3015         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3016         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3017         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3018         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3019         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3020         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3021         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3022         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3024 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3026         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3027         * locale/programs/ld-ctype.c: Likewise.
3029 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3031         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3032         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3033         bit_ZMM16_31_state): New macro.
3034         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3035         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3037 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3039         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3041 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3043         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3045 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3047         [BZ #18498]
3048         * libio/memstream.c (open_memstream): Rename to __open_memstream
3049         and define as weak alias of __open_memstream.
3050         * include/stdio.h (__open_memstream): Declare.  Use
3051         libc_hidden_proto.
3052         (open_memstream): Don't use libc_hidden_proto.
3053         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3054         open_memstream.
3055         * posix/getopt.c (_getopt_internal_r): Likewise.
3056         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3057         variable.
3058         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3059         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3060         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3062         [BZ #18496]
3063         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3064         instead of wcrtomb.
3066         [BZ #18483]
3067         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3068         [__USE_XOPEN2K8].  Remove redundant #endif.
3069         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3070         Remove redundant #if.
3071         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3072         Remove variable.
3073         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3074         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3076         [BZ #18495]
3077         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3078         (__iswlower): Likewise.
3079         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3080         (__iswlower): Likewise.
3081         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3082         instead of towlower.
3083         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3084         instead of iswlower.  Call __towupper instead of towupper.
3085         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3086         instead of iswalnum.
3088 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3090         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3091         errors to stderr.
3093 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3095         [BZ #15661]
3096         [BZ #17322]
3097         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3098         Check for overflow properly.  Check for O_APPEND.  Ignore large
3099         file system block sizes.  Add comments about problems.
3100         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3101         * manual/filesys.texi (Storage Allocation): New node.
3103 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3105         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3106         cancellable syscalls.
3107         (SYS_ify): Add guard to no redefine it.
3108         (INLINE_SYSCALL): Likewise.
3109         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3110         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3111         SYSCALL_CANCEL instead.
3112         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3113         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3114         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3115         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3116         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3117         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3118         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3119         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3120         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3121         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3122         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3123         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3124         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3125         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3126         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3127         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3128         Likewise.
3129         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3130         (__libc_pread64): Likewise.
3131         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3132         (__libc_preadv): Likewise.
3133         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3134         (__libc_readv64): Likewise.
3135         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3136         (__libc_pwrite): Likewise.
3137         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3138         (__libc_pwrite64): Likewise.
3139         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3140         (__libc_pwritev): Likewise.
3141         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3142         (__libc_pwritev64): Likewise.
3143         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3144         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3145         (sync_file_range): Likewise.
3146         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3147         Likewise.
3148         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3149         Likewise.
3150         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3151         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3152         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3153         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3154         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3155         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3156         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3157         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3159         Likewise.
3160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3161         (__libc_read64): Likewise.
3162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3163         Likewise.
3164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3165         Likewise.
3166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3167         Likewise.
3168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3169         Likewise.
3170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3171         (__libc_pread64): Likewise.
3172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3173         Likewise.
3174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3175         (__libc_pwrite64): Likewise.
3176         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3177         (sync_file_range): Likewise.
3178         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3179         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3180         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3181         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3182         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3183         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3184         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3185         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3186         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3187         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3188         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3189         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3190         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3191         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3192         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3193         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3194         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3195         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3196         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3197         Likewise.
3198         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3199         Likewise.
3200         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3201         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3202         Likewise.
3203         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3204         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3205         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3206         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3207         Likewise.
3208         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3209         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3210         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3211         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3212         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3214 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
3216         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3217         Include dl-vdso.
3218         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3219         Use VDSO routines for gettimeofday, clock_gettime if
3220         available.
3221         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3222         Declare VDSO symbols.
3223         * sysdeps/unix/sysv/linux/arm/sysdep.h:
3224         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3225         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3226         * sysdeps/unix/sysv/linux/arm/Versions: Add
3227         __vdso_clock_gettime.
3229 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3231         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3232         be an inline implementation regardless of library is built within.
3233         (open_not_cancel_2): Likewise.
3234         (__read_nocancel): Likewise.
3235         (__write_nocancel): Likewise.
3236         (openat_not_cancel): Likewise.
3237         (openat_not_cancel_3): Likewise.
3238         (openat64_not_cancel): Likewise.
3239         (openat64_not_cancel_3): Likewise.
3240         (__close_nocancel): Likewise.
3241         (pause_not_cancel): Likewise.
3242         (nanosleep_not_cancel): Likewise.
3243         (sigsuspend_not_cancel): Likewise.
3245 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3247         [BZ #14958]
3248         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3249         wake-up.
3250         (__pthread_rwlock_rdlock_slow): Likewise.
3251         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3252         Likewise.
3253         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3254         Likewise.
3255         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3256         * nptl/tst-rwlock16.c: New file.
3257         * nptl/Makefile (tests): Add new test.
3259 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3261         [BZ #18324]
3262         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3263         missing wake-up of readers.
3264         * nptl/tst-rwlock15.c: New file.
3265         * nptl/Makefile (tests): Add new test.
3267 2015-06-03  Roland McGrath  <roland@hack.frob.com>
3269         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3270         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3271         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3272         and __nacl_supply_interface_rtld.
3273         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3274         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
3275         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
3276         Add __nacl_supply_interface_rtld.
3277         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3279 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3281         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3282         isfinite.
3283         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3284         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3286 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3288         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3289         __signbit* with standard C99 macros.
3290         * math/e_exp10l.c: Likewise.
3291         * math/e_exp2l.c: Likewise.
3292         * math/e_scalb.c: Likewise.
3293         * math/e_scalbf.c: Likewise.
3294         * math/e_scalbl.c: Likewise.
3295         * math/s_ldexp.c: Likewise.
3296         * math/s_ldexpf.c: Likewise.
3297         * math/s_ldexpl.c: Likewise.
3298         * math/w_atan2.c: Likewise.
3299         * math/w_atan2f.c: Likewise.
3300         * math/w_atan2l.c: Likewise.
3301         * math/w_cosh.c: Likewise.
3302         * math/w_coshf.c: Likewise.
3303         * math/w_coshl.c: Likewise.
3304         * math/w_exp10.c: Likewise.
3305         * math/w_exp10f.c: Likewise.
3306         * math/w_exp10l.c: Likewise.
3307         * math/w_exp2.c: Likewise.
3308         * math/w_exp2f.c: Likewise.
3309         * math/w_exp2l.c: Likewise.
3310         * math/w_fmod.c: Likewise.
3311         * math/w_fmodf.c: Likewise.
3312         * math/w_fmodl.c: Likewise.
3313         * math/w_hypot.c: Likewise.
3314         * math/w_hypotf.c: Likewise.
3315         * math/w_hypotl.c: Likewise.
3316         * math/w_jnl.c: Likewise.
3317         * math/w_lgamma.c: Likewise.
3318         * math/w_lgamma_r.c: Likewise.
3319         * math/w_lgammaf.c: Likewise.
3320         * math/w_lgammaf_r.c: Likewise.
3321         * math/w_lgammal.c: Likewise.
3322         * math/w_lgammal_r.c: Likewise.
3323         * math/w_pow.c: Likewise.
3324         * math/w_powf.c: Likewise.
3325         * math/w_powl.c: Likewise.
3326         * math/w_remainder.c: Likewise.
3327         * math/w_remainderf.c: Likewise.
3328         * math/w_remainderl.c: Likewise.
3329         * math/w_scalb.c: Likewise.
3330         * math/w_scalbf.c: Likewise.
3331         * math/w_scalbl.c: Likewise.
3332         * math/w_scalbln.c: Likewise.
3333         * math/w_scalblnf.c: Likewise.
3334         * math/w_scalblnl.c: Likewise.
3335         * math/w_sinh.c: Likewise.
3336         * math/w_sinhf.c: Likewise.
3337         * math/w_sinhl.c: Likewise.
3338         * math/w_tgamma.c: Likewise.
3339         * math/w_tgammaf.c: Likewise.
3340         * math/w_tgammal.c: Likewise.
3341         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3342         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
3343         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3344         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3345         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3346         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3347         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3348         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3349         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3350         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3351         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3352         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3353         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3354         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3355         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3356         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3357         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3358         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3359         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3360         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3361         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3362         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3363         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3364         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3365         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3366         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3367         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3368         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3369         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3370         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3371         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
3372         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
3373         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
3374         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
3375         * stdio-common/printf_fp.c: Likewise.
3376         * stdio-common/printf_fphex.c: Likewise.
3377         * stdio-common/printf_size.c: Likewise.
3379 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
3381         [BZ #18470]
3382         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
3383         strnlen.
3384         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3385         Remove variable.
3386         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3387         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3388         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3389         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3390         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3391         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3392         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3393         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3394         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3395         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3397         [BZ #18468]
3398         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3399         weak alias of __wmemchr.  Use libc_hidden_weak.
3400         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
3401         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3402         instead of wmemchr.
3404 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3406         [BZ #18383]
3407         * elf/tst-tlsalign-extern.c: New file.
3408         * elf/tst-tlsalign-extern-static.c: New file.
3409         * elf/tst-tlsalign-vars.c: New file.
3410         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3411         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3412         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3413         ($(objpfx)tst-tlsalign-extern-static): Likewise.
3414         (test-xfail-tst-tlsalign-extern-static): New variable.
3416 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
3418         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3419         Use variable name _sc_err instead of err.
3420         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3421         instead of ret.
3422         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3423         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3424         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3425         (INLINE_SYSCALL): Likewise.
3427         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3428         * include/string.h (__strnlen): Use libc_hidden_proto.
3429         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3430         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3431         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3432         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3433         (libc_hidden_def): Undefine and redefine.
3434         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3435         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3436         __GI_strnlen.
3437         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3438         libc_hidden_def.
3439         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3441         [BZ #18469]
3442         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3443         weak alias of __towlower.  Use libc_hidden_weak.
3444         (towupper): Rename to __towupper and define as weak alias of
3445         __towupper.  Use libc_hidden_weak.
3446         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
3447         (__towupper): Likewise.
3448         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3449         __towlower instead of towlower.
3451 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3453         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3454         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3456 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3458         * sysdeps/aarch64/libm-test-ulps: Update.
3460 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3462         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3463         Define.
3464         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3465         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3466         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3467         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3468         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3469         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3470         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3472 2015-06-01  Martin Sebor  <msebor@redhat.com>
3474         [BZ #18116]
3475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3476         (__setcontext): Use extended four-operand version of mtsf whenever
3477         possible.
3478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3479         (__novec_swapcontext): Likewise.
3481 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3483         * benchtests/scripts/compare_bench.py: New file.
3484         * benchtests/scripts/import_bench.py (mean): New function.
3485         (split_list): Likewise.
3486         (do_for_all_timings): Likewise.
3487         (compress_timings): Likewise.
3489         * benchtests/scripts/import_bench.py: New file.
3490         * benchtests/scripts/validate_benchout.py: Import import_bench
3491         instead of jsonschema.
3492         (validate_bench): Remove function.
3493         (main): Use import_bench.
3495 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
3497         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3498         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3500 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3504 2015-05-28  Roland McGrath  <roland@hack.frob.com>
3506         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3507         set THREAD_SELF->tid to a magic value and futex-wake it.
3508         Pass its address to the thread_exit system call.
3509         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3510         bit is clear.
3511         * sysdeps/nacl/lowlevellock.h: New file.
3512         * sysdeps/nacl/lll_timedwait_tid.c: New file.
3514         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3515         Add TIMEOUT to current time, don't subtract it.
3517 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
3519         [BZ #2981]
3520         [BZ #18422]
3521         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3522         ($(objpfx)tst-audit2.out): Also depend on
3523         $(objpfx)tst-auditmod9b.so.
3524         * elf/tst-audit2.c: Include <dlfcn.h>.
3525         (calloc_called): New.
3526         (calloc): Allow to be called more than once.
3527         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3529 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
3531         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3532         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3534 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
3536         * stdlib/monetary.h: Fix comment.
3538 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
3540         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3541         Avoid using variables in #defines that might cause shadowing.
3542         (INTERNAL_VSYSCALL_CALL): Likewise.
3544 2015-05-26  Roland McGrath  <roland@hack.frob.com>
3546         * sysdeps/nacl/lll_timedlock_wait.c: New file.
3548         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3549         * nptl/lll_timedlock_wait.c: ... to this new file.
3550         * nptl/Makefile (libpthread-routines): Add it.
3551         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3552         * nptl/lll_timedwait_tid.c: ... to this new file.
3553         * nptl/Makefile (libpthread-routines): Add it.
3554         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3555         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3556         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3557         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3558         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3559         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3560         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3561         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3562         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3563         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3565 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3567         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3568         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3569         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3570         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3571         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3572         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3573         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3574         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3575         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3576         * sysdeps/unix/sysv/linux/tile/sysdep.h
3577         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3578         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3579         using vDSO syscall macro.
3581 2015-05-26  Andriy Rysin  <arysin@gmail.com>
3583         [BZ #17293]
3584         * uk_UA: Fix sorting order for Ukrainian locale
3586 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
3588         * stdlib/monetary.h: Fix comment.
3590 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3592         [BZ #18234]
3593         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3594         st_mtim and st_ctim members.
3595         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3596         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3597         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3598         (struct stat64): Likewise.
3599         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3600         (struct stat64): Likewise.
3601         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3602         (struct stat64): Likewise.
3604 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3606         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3607         Define and include sysdep-vdso.h.
3608         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3609         Likewise.
3610         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3611         Likewise.
3612         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3613         Define with VDSO_SYMBOL and use PTR_MANGLE.
3614         (__vdso_clock_gettime): Likewise.
3615         (__vdso_clock_getres): Likewise.
3616         (_libc_vdso_platform_setup): Likewise.
3617         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3618         Likewise.
3619         (_libc_vdso_platform_setup): Likewise.
3620         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3621         Likewise.
3622         (__vdso_clock_gettime): Likewise.
3623         (__vdso_clock_getres): Likewise.
3624         (__vdso_get_tbfreq): Likewise.
3625         (__vdso_getcpu): Likewise.
3626         (__vdso_time): Likewise.
3627         (__vdso_sigtramp_rt64): Likewise.
3628         (__vdso_signtramp32): Likewise.
3629         (__vdso_sigtramp_rt32): Likewise.
3630         (_libc_vdso_platform_setup): Likewise.
3631         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3632         Likewise.
3633         (__vdso_clock_gettime): Likewise.
3634         (__vdso_clock_getres): Likewise.
3635         (_libc_vdso_platform_setup): Likewise.
3636         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3637         Likewise.
3638         (__vdso_clock_gettime): Likewise.
3639         (_libc_vdso_platform_setup): Likewise.
3640         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3641         Likewise.
3642         (__vdso_getcpu): Likewise.
3643         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3644         Use VDSO_SYMBOL macro to define.
3645         (__vdso_clock_gettime): Likewise.
3646         (__vdso_clock_getres): Likewise.
3647         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3648         Likewise.
3649         (__vdso_clock_gettime): Likewise.
3650         (__vdso_clock_getres): Likewise.
3651         (__vdso_get_tbfreq): Likewise.
3652         (__vdso_getcpu): Likewise.
3653         (__vdso_time): Likewise.
3654         (__vdso_sigtramp_rt64): Likewise.
3655         (__vdso_signtramp32): Likewise.
3656         (__vdso_sigtramp_rt32): Likewise.
3657         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3658         Likewise.
3659         (__vdso_clock_gettime): Likewise.
3660         (__vdso_clock_getres): Likewise.
3661         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3662         Likewise.
3663         (__vdso_clock_gettime): Likewise.
3664         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3665         Likewise.
3666         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
3667         macro.
3668         (INTERNAL_VSYSCALL): Likewise.
3669         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3670         Remove macro.
3671         (INTERNAL_VSYSCALL): Likewise.
3672         (INTERNAL_VSYSCALL_NCS): Likewise.
3673         (INTERNAL_VSYSCALL_CALL): New macro.
3674         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3675         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3676         Likewise.
3677         (INTERNAL_VSYSCALL): Likewise.
3678         (INTERNAL_VSYSCALL_NCS): Likewise.
3679         (INTERNAL_VSYSCALL_CALL): New macro.
3680         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3682         (INLINE_VSYSCALL): Remove macro.
3683         (INTERNAL_VSYSCALL): Remove macro.
3684         (INTERNAL_VSYSCALL_NCS): Remove macro.
3685         (INTERNAL_VSYSCALL_CALL): New macro.
3686         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3687         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3688         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3689         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3690         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3692         (INLINE_VSYSCALL): Remove macro.
3693         (INTERNAL_VSYSCALL): Likewise.
3694         (INTERNAL_VSYSCALL_NCS): Likewise.
3695         (INTERNAL_VSYSCALL_CALL): New macro.
3696         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3697         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3698         PTR_DEMANGLE on vDSO pointer.
3699         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3700         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3701         macro.
3702         (INTERNAL_SYSCALL): Likewise.
3703         (INTERNAL_VSYSCALL_NCS): Remove macro.
3704         (INTERNAL_VSYSCALL_CALL): New macro.
3705         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3706         Remove macro.
3707         (INTERNAL_VSYSCALL): Likewise.
3708         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3709         sysdep-vdso.h instead of libc-vdso.h.
3710         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3711         definition.
3712         (INLINE_VSYSCALL): Likewise.
3713         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3714         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3715         definition.
3716         (INLINE_VSYSCALL): Likewise.
3717         (INTERNAL_VSYSCALL): Likewise.
3718         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3719         * sysdeps/unix/sysv/linux/timespec_get.c
3720         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3721         (timespec_get): Use ANSI prototype.
3722         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3723         and definition for Linux.
3725 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
3727         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3728         * include/libc-symbols.h: libmvec_hidden_* macro series added.
3730 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3732         [BZ #2981]
3733         [BZ #18410]
3734         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3735         for missing DT_PLTRELSZ.
3737 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3739         Remove obsolete aliases that broke 'locale -a'
3740         [BZ #18412]
3741         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3742         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3743         breaking some applications that use 'locale -a' output.
3744         Change the encoding of this file from Latin-1 to ASCII to avoid
3745         other potential problems with people grepping this file.
3747 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3749         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3750         -fasynchronous-unwind-tables.
3751         (CFLAGS-sendto.c): Likewise.
3752         (CFLAGS-sendmsg.c): Likewise.
3753         (CFLAGS-connect.c): Likewise.
3754         (CFLAGS-recvmsg.c): Likewise.
3755         (CFLAGS-recvfrom.c): Likewise.
3756         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3757         (SOCKETCALL): New macro: non-cancellable socketcall.
3758         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3759         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3760         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3761         * sysdeps/unix/sysv/linux/accept.c: New file.
3762         * sysdeps/unix/sysv/linux/bind.c: Likewise.
3763         * sysdeps/unix/sysv/linux/connect.c: Likewise.
3764         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3765         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3766         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3767         * sysdeps/unix/sysv/linux/listen.c: Likewise.
3768         * sysdeps/unix/sysv/linux/recv.c: Likewise.
3769         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3770         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3771         * sysdeps/unix/sysv/linux/send.c: Likewise.
3772         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3773         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3774         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3775         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3776         * sysdeps/unix/sysv/linux/socket.c: Likewise.
3777         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3778         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3779         prototype.
3780         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3781         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3782         instead of __internal_xxx function.
3783         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3784         prototype.
3785         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3786         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3787         instead of __internal_xxx function.
3788         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3789         prototype.
3790         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3791         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3792         instead of __internal_xxx function.
3793         * sysdeps/unix/sysv/linux/accept.S: Remove file.
3794         * sysdeps/unix/sysv/linux/bind.S: Likewise.
3795         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3796         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3797         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3798         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3799         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3800         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3801         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3802         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3803         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3804         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3805         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3806         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3807         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3808         * sysdeps/unix/sysv/linux/listen.S: Likewise.
3809         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3810         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3811         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3812         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3815         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3816         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3817         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3818         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3819         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3820         * sysdeps/unix/sysv/linux/send.S: Likewise.
3821         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3822         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3823         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3824         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3825         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3826         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3827         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3828         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3829         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3830         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3831         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3832         socketcall is implemented in GLIBC.
3834 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3836         * soft-fp/fmadf4.c: Include <libc-internal.h>.
3837         (__fma): Ignore uninitialized warnings around packing.
3838         * soft-fp/fmasf4.c: Include <libc-internal.h>.
3839         (__fmaf): Ignore uninitialized warnings around packing.
3840         * soft-fp/fmatf4.c: Include <libc-internal.h>.
3841         (__fmal): Ignore uninitialized warnings around packing.
3843         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3844         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3845         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3846         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3848         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3849         switch statement into default case.
3850         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3852         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3853         a conditional in forcing "inexact".
3854         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3855         Likewise.
3857 2015-05-22  Roland McGrath  <roland@hack.frob.com>
3859         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3860         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3861         for each INTERNAL_SYSCALL use.
3863 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3865         [BZ #438]
3866         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3867         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3868         variable.
3870         [BZ #18444]
3871         * string/basename.c (basename): Rename to __basename and define as
3872         weak alias of __basename.  Use libc_hidden_weak.
3873         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
3874         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3875         __basename instead of basename.
3876         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3877         Remove variable.
3878         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3880 2015-05-18  Florian Weimer  <fweimer@redhat.com>
3882         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3883         (_IO_JUMPS_FILE_plus): New.
3884         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3885         _IO_CAST_FIELD_ACCESS.
3886         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3887         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3888         * libio/freopen.c (freopen): Likewise.
3889         * libio/freopen64.c (freopen64): Likewise.
3890         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3891         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3892         * libio/iofwide.c (_IO_fwide): Likewise.
3893         * libio/memstream.c (open_memstream): Likewise.
3894         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3895         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3896         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3898 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
3900         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3901         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3902         NADJ.
3903         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3904         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3905         NADJ.
3906         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3907         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3908         NADJ.
3910         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3911         (p == 4) case.
3913         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3914         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3915         Remove variable.
3916         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3917         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3918         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3920 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3922         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3923         Adjust jump table label generation macros.
3925 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3927         * stdio-common/vfprintf.c (vfprintf): Move local variables
3928         args_malloced, specs, specs_malloced, and the code after
3929         do_positional to the printf_positional function.
3930         (printf_positional): New function.
3932 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3934         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3935         function.
3936         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3937         STEP4_TABLE, process_arg): Move macro definitions
3938         out of the vfprintf function.  (Cosmetic change only.)
3940 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
3942         * benchtests/Makefile (stdio-common-bench): Define.
3943         (benchset): Add stdio-common-bench.
3944         * sprintf-inputs: New file.
3945         * sprintf-source.c: New file.
3947 2015-05-21  Andreas Schwab  <schwab@suse.de>
3949         [BZ #13028]
3950         [BZ #17053]
3951         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3952         of struct __res_state.
3953         * resolv/res_send.c (__libc_res_nsend): Likewise.
3954         (get_nsaddr): New function.
3955         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3956         statp directly.
3958 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
3960         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3961         -D_POSIX_C_SOURCE=199506L.
3963         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3965         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3966         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3967         Do not mention otherwise.
3968         [POSIX] (_XOPEN_VERSION): Do not expect.
3969         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3970         [POSIX] (_POSIX2_C_BIND): Likewise.
3971         [POSIX] (_POSIX2_VERSION): Likewise.
3972         [POSIX] (_XOPEN_XPG2): Likewise.
3973         [POSIX] (_XOPEN_XPG3): Likewise.
3974         [POSIX] (_XOPEN_XPG4): Likewise.
3975         [POSIX] (_XOPEN_UNIX): Likewise.
3976         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3977         [POSIX] (_POSIX_BARRIERS): Likewise.
3978         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3979         [POSIX] (_POSIX_CPUTIME): Likewise.
3980         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3981         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3982         [POSIX] (_POSIX_SHELL): Likewise.
3983         [POSIX] (_POSIX_SPAWN): Likewise.
3984         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3985         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3986         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3987         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3988         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3989         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3990         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3991         [POSIX] (_XBS5_LP64_OFF64): Likewise.
3992         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3993         [POSIX] (_POSIX_TIMEOUTS): Likewise.
3994         [POSIX] (_POSIX2_PBS): Likewise.
3995         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3996         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3997         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3998         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3999         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4000         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4001         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4002         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4003         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4004         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4005         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4006         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4007         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4008         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4009         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4010         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4011         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4012         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4013         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4014         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4015         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4016         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4017         [POSIX] (_SC_2_C_BIND): Likewise.
4018         [POSIX] (_SC_2_C_VERSION): Likewise.
4019         [POSIX] (_SC_2_PBS): Likewise.
4020         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4021         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4022         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4023         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4024         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4025         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4026         [POSIX] (_SC_BARRIERS): Likewise.
4027         [POSIX] (_SC_BASE): Likewise.
4028         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4029         [POSIX] (_SC_DEVICE_IO): Likewise.
4030         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4031         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4032         [POSIX] (_SC_FD_MGMT): Likewise.
4033         [POSIX] (_SC_FIFO): Likewise.
4034         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4035         [POSIX] (_SC_FILE_LOCKING): Likewise.
4036         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4037         [POSIX] (_SC_IOV_MAX): Likewise.
4038         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4039         [POSIX] (_SC_NETWORKING): Likewise.
4040         [POSIX] (_SC_PAGE_SIZE): Likewise.
4041         [POSIX] (_SC_PASS_MAX): Likewise.
4042         [POSIX] (_SC_PIPE): Likewise.
4043         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4044         [POSIX] (_SC_REGEXP): Likewise.
4045         [POSIX] (_SC_SHELL): Likewise.
4046         [POSIX] (_SC_SIGNALS): Likewise.
4047         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4048         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4049         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4050         [POSIX] (_SC_USER_GROUPS): Likewise.
4051         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4052         [POSIX] (_SC_STREAMS): Likewise.
4053         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4054         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4055         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4056         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4057         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4058         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4059         [POSIX] (_PC_FILESIZEBITS): Likewise.
4060         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4061         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4062         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4063         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4064         [POSIX] (uid_t): Likewise.
4065         [POSIX] (gid_t): Likewise.
4066         [POSIX] (off_t): Likewise.
4067         [POSIX] (pid_t): Likewise.
4068         [POSIX] (cuserid): Allow.
4069         (_SC_2_CHAR_TERM): Require constant.
4070         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4071         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4072         variable.
4074 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4076         * sysdeps/nacl/pthread-pids.h: New file.
4077         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4078         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4080         * nptl/pthread-pids.h: New file.
4081         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4082         * nptl/nptl-init.c: Include <pthread-pids.h>.
4083         (__pthread_initialize_minimal_internal):
4084         Call __pthread_initialize_pids instead of set_tid_address syscall.
4086         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4087         * sysdeps/posix/usleep.c: ... here.
4089 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4091         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4092         call_pselect6 object.
4093         [$(subdir) = io]: Remove call_sync_file_range object.
4094         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4095         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4096         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4097         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4099 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4101         * math/s_cproj.c: Add include "math_private.h".
4102         * math/s_cprojf.c: Likewise.
4103         * math/s_cprojl.c: Likewise.
4105 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4107         [BZ #18244]
4108         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4109         high mantissa bit when testing whether P is a NaN.
4110         * math/libm-test.inc (remainder_test_data): Add more tests.
4111         (remquo_test_data): Likewise.
4113         [BZ #18049]
4114         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4115         below -32, return the argument, with underflow if subnormal.
4116         * math/auto-libm-test-in: Add more tests of atanh.
4117         * math/auto-libm-test-out: Regenerated.
4119 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4121         [BZ #18434]
4122         * nptl/tst-sem15.c: New file.
4123         * nptl/Makefile (tests): Add it.
4124         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4125         s/<</>>/ to fix typo in EOVERFLOW check.
4126         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4128 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4130         * manual/strings.texi (envz_remove): Fix typo in safety
4131         annotations.
4133 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4134             Steve Ellcey  <sellcey@imgtec.com>
4136         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4137         in order to avoid strict alias warnings.
4138         (iruserok_af): Ditto for ra.
4140 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4142         [BZ #17581]
4143         * malloc/hooks.c
4144         (magicbyte): Convert to a function and avoid returning 0x01.
4145         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4146         (mem2chunk_check): Fix unsigned comparisons to zero.
4147         Hoist defs of sz and magic.
4149 2015-05-19  Richard Henderson  <rth@redhat.com>
4151         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4153         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4155 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4157         [BZ #16159]
4158         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4159         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4160         (reused_arena): Find a non-corrupt arena.
4161         (heap_trim): Pass arena to unlink.
4162         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4163         malloc_printerr.
4164         (top_check): Likewise.
4165         (free_check): Likewise.
4166         (realloc_check): Likewise.
4167         * malloc/malloc.c (malloc_printerr): Add arena argument.
4168         (unlink): Likewise.
4169         (munmap_chunk): Adjust.
4170         (ARENA_CORRUPTION_BIT): New macro.
4171         (arena_is_corrupt): Likewise.
4172         (set_arena_corrupt): Likewise.
4173         (sysmalloc): Use mmap if there are no usable arenas.
4174         (_int_malloc): Likewise.
4175         (__libc_malloc): Don't fail if arena_get returns NULL.
4176         (_mid_memalign): Likewise.
4177         (__libc_calloc): Likewise.
4178         (__libc_realloc): Adjust for additional argument to
4179         malloc_printerr.
4180         (_int_free): Likewise.
4181         (malloc_consolidate): Likewise.
4182         (_int_realloc): Likewise.
4183         (_int_memalign): Don't touch corrupt arenas.
4184         * malloc/tst-malloc-backtrace.c: New test case.
4186         * Makefile (summarize-tests): Fix return value on success.
4188         * manual/string.texi (Envz Functions): Add envz_remove.
4190 2015-05-18  Roland McGrath  <roland@hack.frob.com>
4192         * sysdeps/posix/opendir.c: Include <stdbool.h>.
4193         (invalid_name): New function, broken out of ...
4194         (__opendirat): ... here.  Call it.
4195         (need_isdir_precheck): New function, broken out of ...
4196         (__opendirat): ... here.  Call it.
4197         Use __fxstatat64, not __xstatat64.
4198         (opendir_oflags): New function, broken out of ...
4199         (__opendirat): ... here.  Call it.
4200         (opendir_tail): New function, broken out of ...
4201         (__opendirat): ... here.  Call it.
4202         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4203         opendir_tail, rather than punting to __opendirat.
4204         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4206 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4208         * .gitignore: Ignore generated *.pyc.
4210 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
4212         * include/stdio.h: Define __need_wint_t.
4213         * test-skeleton.c: Avoid `for' loop initial declaration.
4214         * nptl/tst-initializers1.c: Use test-skeleton.c.
4216 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4218         [BZ #18418]
4219         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4221 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4223         [BZ #16352]
4224         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4225         (__ieee754_atanh): Force underflow exception for results with
4226         small absolute value.
4227         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4228         (__ieee754_atanhf): Force underflow exception for results with
4229         small absolute value.
4230         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4231         (__ieee754_atanh): Force underflow exception for results with
4232         small absolute value.
4233         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4234         (__ieee754_atanhf): Force underflow exception for results with
4235         small absolute value.
4236         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4237         (__ieee754_atanhl): Force underflow exception for results with
4238         small absolute value.
4239         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4240         (__ieee754_atanhl): Force underflow exception for results with
4241         small absolute value.
4242         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4243         (__ieee754_atanhl): Force underflow exception for results with
4244         small absolute value.
4245         * math/auto-libm-test-in: Do not allow missing underflow
4246         exceptions from atanh.
4247         * math/auto-libm-test-out: Regenerated.
4249         [BZ #18221]
4250         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4251         2**-28 as threshold for returning x or +/- 1/x.
4252         * math/auto-libm-test-in: Add more tests of tan.
4253         * math/auto-libm-test-out: Regenerated.
4255         [BZ #18220]
4256         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4257         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4258         * math/auto-libm-test-in: Add another test of lgamma.
4259         * math/auto-libm-test-out: Regenerated.
4261 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
4263         * stdio-common/printf_fp.c (___printf_fp): Use abs.
4264         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
4265         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4266         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4267         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
4268         (ADD2A): Use fabs.  (SUB2A): Use fabs.
4269         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4270         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4271         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4272         (log1): Use fabs.  (my_log2): Use fabs.
4273         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4274         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
4275         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
4276         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
4277         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4278         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
4279         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
4280         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
4281         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
4282         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4283         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4285 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4287         [BZ #18217]
4288         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4289         as threshold for returning 1 - x.
4290         * math/auto-libm-test-in: Add more tests of erfc.
4291         * math/auto-libm-test-out: Regenerated.
4293 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
4295         [BZ #18196]
4296         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4297         threshold for large arguments.
4298         * math/auto-libm-test-in: Add another test of atan.
4299         * math/auto-libm-test-out: Regenerated.
4301         [BZ #16339]
4302         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4303         (__log1p): Force underflow exception for results with small
4304         absolute value.
4305         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4306         (__log1pf): Force underflow exception for results with small
4307         absolute value.
4308         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4309         (__log1p): Force underflow exception for results with small
4310         absolute value.
4311         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4312         (__log1pf): Force underflow exception for results with small
4313         absolute value.
4314         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4315         (__log1pl): Force underflow exception for results with small
4316         absolute value.
4317         * math/auto-libm-test-in: Do not allow missing underflow
4318         exceptions from log1p.
4319         * math/auto-libm-test-out: Regenerated.
4321 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
4322             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4324         [BZ #16704]
4325         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
4327 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
4329         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
4330         (libmvec): New variable.
4331         * configure.ac: Added option for mathvec build.
4332         * configure: Regenerated.
4333         * mathvec/Depend: New file.
4334         * mathvec/Makefile: New file.
4335         * shlib-versions: Added libmvec.
4336         * math/Makefile: Added rule for libm.so installation.
4338         * bits/math-vector.h: New file.
4339         * bits/libm-simd-decl-stubs.h: New header.
4340         * math/Makefile (headers): Added new header
4341         libm-simd-decl-stubs.h.
4342         * math/math.h (__MATHCALL_VEC): New macro.
4344         * math/gen-libm-have-vector-test.sh: Script generates series of macros
4345         for conditions in testing functions.
4346         * math/Makefile: Added call of libm-have-vector-test.sh.
4347         * math/libm-test.inc (HAVE_VECTOR): New macros.
4349         * math/libm-test.inc: START refactored.
4350         * math/test-double.c (TEST_MATHVEC): Add define.
4351         * math/test-float.c: Likewise.
4352         * math/test-idouble.c: Likewise.
4353         * math/test-ifloat.c: Likewise.
4354         * math/test-ildoubl.c: Likewise.
4355         * math/test-ldouble.c: Likewise.
4356         * sysdeps/generic/math-tests-arch.h
4357         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
4358         architecture check.
4360         * math/test-double.c (FUNC_TEST): New macro.
4361         * math/test-float.c: Likewise.
4362         * math/test-idouble.c: Likewise.
4363         * math/test-ifloat.c: Likewise.
4364         * math/test-ildoubl.c: Likewise.
4365         * math/test-ldouble.c: Likewise.
4366         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
4368 2015-05-13  Roland McGrath  <roland@hack.frob.com>
4370         * sysdeps/nacl/fdopendir.c: New file.
4372         * dirent/scandir-tail.c: New file.
4373         * dirent/scandir64-tail.c: New file.
4374         * dirent/Makefile (routines): Add them.
4375         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
4376         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
4377         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
4378         [!SCANDIR] (SCANDIR_TAIL): New macro.
4379         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
4380         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
4381         (SCANDIRAT): Macro removed.
4382         (SCANDIR_TAIL): New macro.
4383         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
4384         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4385         (SCANDIRAT): Just call __opendirat and __scandir_tail.
4386         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4387         (READDIR): Macro removed.
4388         (SCANDIR_TAIL): New macro.
4389         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4390         (SCANDIR_TAIL): New macro.
4392         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4393         * dirent/scandir-cancel.c: ... to this new file.
4394         * dirent/Makefile (routines): Add it.
4395         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4396         * sysdeps/unix/sysv/linux/i386/scandir64.c
4397         (SKIP_SCANDIR_CANCEL): Macro removed.
4398         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4400         * dirent/tst-scandir.c: New file.
4401         * dirent/tst-scandir64.c: New file.
4402         * dirent/Makefile (tests): Add them.
4404 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4406         [BZ #18409]
4407         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4409 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4411         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4412         list.
4414 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
4416         * benchtests/bench-strcoll.c: New benchmark.
4417         * benchtests/Makefile: Generate locales and run benchmark.
4418         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4419         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4420         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4421         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4422         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4423         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4424         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4425         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4426         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4427         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4428         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4429         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4430         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4431         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4432         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4433         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4434         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4435         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4436         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4437         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4438         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4439         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4440         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4441         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4443 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
4445         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4446         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4448 2015-05-12  Roland McGrath  <roland@hack.frob.com>
4450         * posix/uname-values.h: New file.
4451         * posix/uname.c: Include that instead of <config-name.h>.
4452         * sysdeps/nacl/uname-values.h: New file.
4453         * sysdeps/arm/nacl/uname-values.h: New file.
4455 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
4457         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4458         splitting into fields.
4460 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
4462         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4463         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4464         * locale/localeinfo.h: Add enum collation_encoding_type.
4465         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4466         * programs/ld-collate.c (collate_output): Add encoding type info.
4467         * string/strcoll_l.c (STRDIFF): New function.
4468         * (STRCOLL): Use STRDIFF to skip over equal prefix.
4469         * wcsmbs/wcscoll_l.c: Define STRDIFF.
4471 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
4473         [BZ #18397]
4474         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4475         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
4476         <fpu_control.h> instead of <math/fpu_control.c>.
4477         * sysdeps/mips/mips32/fpu/Makefile: New file.
4479 2015-05-11  Andreas Schwab  <schwab@suse.de>
4481         [BZ #18007]
4482         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4483         nss_endgrent.
4484         (_nss_compat_endgrent): Call nss_endgrent.
4485         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4486         nss_endpwent.
4487         (_nss_compat_endpwent): Call nss_endpwent.
4488         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4489         needent, call nss_setspent only if non-zero.
4490         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4491         (internal_endspent): Don't call nss_endspent.
4492         (_nss_compat_endspent): Call nss_endspent.
4493         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4494         Remove.  All uses removed.
4495         (internal_setent): Remove parameter stayopen, add parameter
4496         stream.  Use it instead of global variable.
4497         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4498         (internal_endent, internal_getent): Add parameter stream.  Use it
4499         instead of global variable.
4500         (CONCAT(_nss_files_end,ENTNAME))
4501         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4502         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
4503         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
4504         uses removed.
4505         (internal_setent, internal_endent): Add parameter stream.  Use it
4506         instead of global variable.
4507         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4508         stream.
4509         (get_next_alias): Add parameter stream.
4510         (_nss_files_getaliasent_r): Pass global stream.
4511         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
4512         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4513         (_nss_files_gethostbyname4_r): Pass local stream to
4514         internal_setent, internal_getent and internal_endent.  Remove
4515         locking.
4517 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4519         * tst-strfmon1.c (tests): Update expected currency symbol.
4521 2015-05-08  Roland McGrath  <roland@hack.frob.com>
4523         * sysdeps/nacl/gethostname.c: New file.
4525 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
4527         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4528         and sinh.
4529         * math/auto-libm-test-out: Regenerated.
4530         * sysdeps/i386/fpu/libm-test-ulps: Update.
4531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4533 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
4535         [BZ #18125]
4536         * stdlib/tst-setcontext3.c: New file.
4537         * stdlib/tst-setcontext3.sh: New file.
4538         * stdlib/Makefile (tests): Add tst-setcontext3.
4539         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4540         to verify test program created output file.
4541         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4542         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4543         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4544         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4546 2015-05-06  Roland McGrath  <roland@hack.frob.com>
4548         [BZ #18383]
4549         * elf/tst-tlsalign.c: New file.
4550         * elf/tst-tlsalign-static.c: New file.
4551         * elf/tst-tlsalign-lib.c: New file.
4552         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4553         (tests-static): Add tst-tlsalign-static.
4554         (modules-names): Add tst-tlsalign-lib.
4555         (test-xfail-tst-tlsalign): New variable.
4556         (test-xfail-tst-tlsalign-static): New variable.
4558         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4559         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4561 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
4563         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4564         csqrt, erfc, sin and sincos.
4565         * math/auto-libm-test-out: Regenerated.
4566         * sysdeps/i386/fpu/libm-test-ulps: Update.
4567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4569 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4571         * sysdeps/aarch64/libm-test-ulps: Update.
4573 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
4575         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4576         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4577         * math/auto-libm-test-out: Regenerated.
4578         * sysdeps/i386/fpu/libm-test-ulps: Update.
4579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4581 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
4583         [BZ #18265]
4584         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4585         (wcsncpy): Likewise.
4587 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4589         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4590         Assume __ASSUME_FALLOCATE is always true.
4591         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4592         (__posix_fallocate64_l64): Likweise.
4593         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4594         (posix_fallocate): Likewise.
4595         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4596         (__posix_fallocate64_l64): Likewise.
4597         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4598         [!__ASSUME_FALLOCATE]: Add comment.
4600 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4602         * sysdeps/unix/sysv/linux/i386/Makefile
4603         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4604         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4605         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4606         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4607         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4608         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4609         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4611 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
4613         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4614         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4615         tgamma.
4616         * math/auto-libm-test-out: Regenerated.
4617         * sysdeps/i386/fpu/libm-test-ulps: Update.
4618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4620 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4622         * math/auto-libm-test-in: Add more tests of tgamma.
4623         * math/auto-libm-test-out: Regenerated.
4624         * sysdeps/i386/fpu/libm-test-ulps: Update.
4625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4627         * math/auto-libm-test-in: Add more tests of tanh.
4628         * math/auto-libm-test-out: Regenerated.
4629         * sysdeps/i386/fpu/libm-test-ulps: Update.
4630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4632         * math/auto-libm-test-in: Add more tests of tan.
4633         * math/auto-libm-test-out: Regenerated.
4634         * sysdeps/i386/fpu/libm-test-ulps: Update.
4635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4637         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4638         * math/auto-libm-test-out: Regenerated.
4639         * sysdeps/i386/fpu/libm-test-ulps: Update.
4640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4642         * math/auto-libm-test-in: Add another test of pow.
4643         * math/auto-libm-test-out: Regenerated.
4644         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4646         * math/auto-libm-test-in: Add more tests of lgamma.
4647         * math/auto-libm-test-out: Regenerated.
4648         * sysdeps/i386/fpu/libm-test-ulps: Update.
4649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4651         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4652         log1p.
4653         * math/auto-libm-test-out: Regenerated.
4654         * sysdeps/i386/fpu/libm-test-ulps: Update.
4655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4657 2015-05-01  Mark Wielaard  <mjw@redhat.com>
4659         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4660         Elf64_Chdr structs and ELFCOMPRESS constants.
4662 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4664         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4665         expm1.
4666         * math/auto-libm-test-out: Regenerated.
4667         * sysdeps/i386/fpu/libm-test-ulps: Update.
4668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4670         * math/auto-libm-test-in: Add more tests of erf and erfc.
4671         * math/auto-libm-test-out: Regenerated.
4672         * sysdeps/i386/fpu/libm-test-ulps: Update.
4673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4675 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4677         * config.h.in (HAVE_AARCH64_BE): Add.
4679 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
4681         * math/auto-libm-test-in: Add more tests of csqrt.
4682         * math/auto-libm-test-out: Regenerated.
4683         * sysdeps/i386/fpu/libm-test-ulps: Update.
4684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4686         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4693 2015-04-29  Roland McGrath  <roland@hack.frob.com>
4695         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4696         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4698         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4699         (euidaccess, eaccess): Define as weak aliases.
4701         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4702         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
4703         but __suseconds_t is often 'long int' so some sources assume that
4704         type is being used (e.g. they use %ld to print tv_usec).
4706 2015-04-29  Florian Weimer  <fweimer@redhat.com>
4708         [BZ #18007]
4709         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4710         (CVE-2014-8121)
4711         * nss/tst-nss-getpwent.c: New file.
4712         * nss/Makefile (tests): Add new test.
4714 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
4716         [BZ #18346]
4717         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4718         exponents less than 48 as cases where high part of mantissa needs
4719         examining to determine whether argument is integral.
4720         * math/libm-test.inc (round_test_data): Add more tests.
4722 2015-04-28  Mark Wielaard  <mjw@redhat.com>
4724         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4726 2015-04-27  David S. Miller  <davem@davemloft.net>
4728         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4729         __tls_get_addr.
4730         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4732 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
4734         [BZ#18333]
4735         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4737 2015-04-27  Florian Weimer  <fweimer@redhat.com>
4739         [BZ#18333]
4740         * time/tzset.c (parse_tzname): Return error on memory allocation
4741         failure.
4742         * test-skeleton.c (struct temp_name_list): Change type of name
4743         member to non-const.
4744         (add_temp_file): Create a copy of the file name.
4745         (delete_temp_files): Deallocate memory.
4746         (create_temp_file): Add comment.
4748 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4750         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4751         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4753 2015-04-24  Roland McGrath  <roland@hack.frob.com>
4755         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4756         * sysdeps/arm/configure: Regenerated.
4758 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4760         [BZ #17715]
4761         * time/tzfile.c (__tzfile_read): Check for large values of
4762         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
4763         * time/tzset.c (__tzstring_len): New function, based on the old
4764         __tzstring function.
4765         (__tzstring): Call __tzstring_len.
4766         (parse_tzname): New helper function extracted from
4767         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
4768         the input string.
4769         (parse_offset): New helper function extracted from
4770         __tzset_parse_tz.  Replace switch with fallthrough with
4771         initialization before sscanf.
4772         (parse_rule): Likewise.
4773         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
4774         new-style function definition.
4775         * timezone/Makefile (tests): Add tst-tzset.
4776         (tst-tzset.out): Dependencies on time zone files.
4777         (tst-tzset-ENV): Set TZDIR.
4778         (testdata/XT%): Copy crafted time zone files.
4779         * timezone/README: Mention crafted time zone files.
4780         * timezone/testdata/XT1, timezone/testdata/XT2,
4781         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4782         files.
4783         * timezone/tst-tzset.c: New test.
4785 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4787         * Makeconfig (+gccwarn): Remove -Winline.
4789 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4791         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4793 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4795         * NEWS: Mention sysconf() cache information support for s390.
4796         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4798 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
4800         * math/k_casinh.c (__kernel_casinh): Use __copysign.
4801         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4802         (__nearbyint): Likewise.
4803         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4804         (copysignl): Likewise.
4806 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
4808         [BZ #18287]
4809         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4810         based on padding.  (CVE-2015-1781)
4812 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4814         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4815         libc-vdso.h.
4816         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4817         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4818         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4819         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4820         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4821         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4822         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4823         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4824         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4825         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4826         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4827         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4828         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4829         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4830         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4831         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4832         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4833         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4834         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4835         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4836         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4837         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4838         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4840 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4842         * stdlib/setenv.c (__add_to_environ):
4843         Dump core quickly if setenv (..., NULL, ...) is called.
4844         This time, do it the right way, and pacify GCC with a pragma.
4846 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4848         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4849         IMAP->l_prev cannot be null, and #if out the code for the contrary
4850         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4851         believe that NS (&_dl_ns[NSID]) could point outside the array.
4853         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4854         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4855         before using NSID as an index.
4857 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
4859         [BZ #17825]
4860         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4861         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4862         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4864 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4866         Add preliminary port to Google Native Client on ARM.
4867         * abi-tags (.*-.*-nacl.*): New entry.
4868         * sysdeps/arm/nacl: New directory.
4869         * sysdeps/nacl: New directory.
4871 2015-04-16  David S. Miller  <davem@davemloft.net>
4873         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4874         lowlevellock-futex.h
4876 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
4878         * sysdeps/tile/configure.ac: New file.
4879         * sysdeps/tile/configure: Regenerated.
4881 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4883         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
4884         conditionals for weak_alias and libc_hidden_weak.
4885         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4886         libc_hidden_weak and weak_alias.
4887         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4888         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4889         and weak_alias for static one.
4891 2015-04-15  David S. Miller  <davem@davemloft.net>
4893         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4895 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4897         [BZ #18206]
4898         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4899           Use signed comparision instead of substraction to avoid
4900           overflow bug.
4901         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4902           Take the sign of ret.
4903         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4904           Do not expect precise return values. Only the sign matters.
4905         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4906         * wcsmbs/test-wcsncmp.c: New File.
4907         * string/test-strncmp.c: Add wcsncmp support.
4909 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4911         [BZ #6792]
4912         * math/w_log1p.c: New file.
4913         * math/w_log1pf.c: Likewise.
4914         * math/w_log1pl.c: Likewise.
4915         * math/Makefile (libm-calls): Add w_log1p.
4916         * math/s_log1pl.c (log1pl): Remove weak_alias.
4917         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4918         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4919         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4920         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4921         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4922         [NO_LONG_DOUBLE] (log1pl): Likewise.
4923         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4924         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4925         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4926         (log1p): Remove long_double_symbol.
4927         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4928         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4929         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4930         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4931         remove weak_alias for corresponding log1p function.
4932         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4933         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4934         * sysdeps/ia64/fpu/w_log1p.c: New file.
4935         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4936         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4937         * math/libm-test.inc (log1p_test_data): Add errno expectations.
4939 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
4941         [BZ #18247]
4942         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4943         decimal exponent by 1.
4944         * stdlib/tst-strtod-round-data: Add more tests.
4945         * stdlib/tst-strtod-round.c (tests): Regenerated.
4947 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
4949         * math/auto-libm-test-in: Add more tests of clog and clog10.
4950         * math/auto-libm-test-out: Regenerated.
4951         * sysdeps/i386/fpu/libm-test-ulps: Update.
4952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4954 2015-04-09  Roland McGrath  <roland@hack.frob.com>
4956         * Makeconfig (module-cppflags): Exclude all .v.i files.
4957         (skip-module-cppflags): Variable removed.
4959         * configure.ac (libc_config_ok): Initialize before reading
4960         preconfigure scripts, not after.
4961         * configure: Regenerated.
4963         * test-skeleton.c (TIMEOUT): Move #define to top level.
4964         (main): Grok environment variable TEST_DIRECT.  If set, print
4965         test expectation details into that file and then behave as if
4966         given --direct.
4968 2015-04-09  Florian Weimer  <fweimer@redhat.com>
4970         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4971         warning on 32-bit.
4973 2015-04-08  David S. Miller  <davem@davemloft.net>
4975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4977 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4979         * math/auto-libm-test-in: Add more tests of atanh.
4980         * math/auto-libm-test-out: Regenerated.
4981         * sysdeps/i386/fpu/libm-test-ulps: Update.
4982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4984         * math/auto-libm-test-in: Add more tests of atan.
4985         * math/auto-libm-test-out: Regenerated.
4986         * sysdeps/i386/fpu/libm-test-ulps: Update.
4987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4989 2015-04-08  Florian Weimer  <fweimer@redhat.com>
4991         * elf/pldd.c (main): Rewrite to use struct
4992         scratch_buffer instead of extend_alloca.
4993         * elf/pldd-xx.c (find_maps): Likewise.
4994         * grp/initgroups.c: Include <scratch_buffer.h> instead of
4995         <alloca.h>.
4996         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4997         scratch_buffer instead of extend_alloca.
4998         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4999         grp/compat-initgroups.c.
5000         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5001         Rewrite to use struct scratch_buffer instead of extend_alloca.
5002         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5003         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5005 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5007         * math/auto-libm-test-in: Add more tests of cbrt.
5008         * math/auto-libm-test-out: Regenerated.
5009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5011         * math/auto-libm-test-in: Add more tests of cabs.
5012         * math/auto-libm-test-out: Regenerated.
5013         * sysdeps/i386/fpu/libm-test-ulps: Update.
5014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5016         [BZ #18210]
5017         [BZ #18211]
5018         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5019         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5020         computations.
5021         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5022         clog10.
5023         * math/auto-libm-test-out: Regenerated.
5024         * sysdeps/i386/fpu/libm-test-ulps: Update.
5025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5027         [BZ #18197]
5028         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5029         (atan): Set FE_TONEAREST mode for internal computations.
5030         * math/auto-libm-test-in: Add more tests of atan.
5031         * math/auto-libm-test-out: Regenerated.
5033 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5035         [BZ #17930]
5036         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5038 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5040         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5042 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5044         * include/scratch_buffer.h: New file.
5045         * malloc/scratch_buffer_grow.c: Likewise.
5046         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5047         * malloc/scratch_buffer_set_array_size.c: Likewise.
5048         * malloc/tst-scratch_buffer.c: Likewise.
5049         * malloc/Makefile (routines): Add scratch_buffer_grow.
5050         (tests): Add test case.
5051         * malloc/Versions (GLIBC_PRIVATE): Export
5052         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5053         __libc_scratch_buffer_set_array_size.
5055 2015-04-06  Richard Henderson  <rth@redhat.com>
5057         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5058         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5060         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5061         unsigned int before printing.
5063 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5065         [BZ #17596]
5066         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5067         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5069 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5071         * include/libc-internal.h (libc_max_align_t): Define.
5073 2015-04-02  Andreas Schwab  <schwab@suse.de>
5075         [BZ #16850]
5076         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5078 2015-04-02  Mel Gorman  <mgorman@suse.de>
5080         [BZ #17195]
5081         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5082         as well as the main arena.
5084 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5086         [BZ #18185]
5087         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5088         sharing L2 cache to 2 for Silvermont/Knights Landing.
5090 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5092         [BZ #17711]
5093         * config.make.in (have-protected-data): New.
5094         * configure.ac: Check linker support for protected data symbol.
5095         * configure: Regenerated.
5096         * elf/Makefile (modules-names): Add tst-protected1moda and
5097         tst-protected1modb if $(have-protected-data) is yes.
5098         (tests): Add tst-protected1a and tst-protected1b if
5099         $(have-protected-data) is yes.
5100         ($(objpfx)tst-protected1a): New.
5101         ($(objpfx)tst-protected1b): Likewise.
5102         (tst-protected1modb.so-no-z-defs): Likewise.
5103         * elf/tst-protected1a.c: New file.
5104         * elf/tst-protected1b.c: Likewise.
5105         * elf/tst-protected1mod.h: Likewise.
5106         * elf/tst-protected1moda.c: Likewise.
5107         * elf/tst-protected1modb.c: Likewise.
5109 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5111         [BZ #17711]
5112         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5113         indicates it is called from do_lookup_x on relocation against
5114         protected data, skip the data definion in the executable from
5115         copy reloc.
5116         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5117         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5118         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5119         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5120         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5121         otherwise to 0.
5122         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5123         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5124         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5125         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5126         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5127         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5129 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5131         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5132         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5134 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5136         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5137         THREAD_SETMEM_NC.
5138         * sysdeps/x86_64/nptl/tls.h: Ditto.
5140 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5142         * dlfcn/tststatic.c (main): Converted to ...
5143         (do_test): ... this.
5144         (TEST_FUNCTION): New macro.
5145         Include test-skeleton.c.
5147 2015-03-26  Alan Modra  <amodra@gmail.com>
5149         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5150         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5151         zero for undefined weak.
5152         (elf_machine_plt_conflict): Similarly.
5154 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5156         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5157         atanh.
5158         * math/auto-libm-test-out: Regenerated.
5159         * sysdeps/i386/fpu/libm-test-ulps: Update.
5160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5162         * math/auto-libm-test-in: Add another test of asin.
5163         * math/auto-libm-test-out: Regenerated.
5164         * sysdeps/i386/fpu/libm-test-ulps: Update.
5165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5167         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5168         Remove macro.
5169         (LLL_EBX_REG): Likewise.
5170         (LLL_ENTER_KERNEL): Likewise.
5172         * math/auto-libm-test-in: Add more tests of asin.
5173         * math/auto-libm-test-out: Regenerated.
5174         * sysdeps/i386/fpu/libm-test-ulps: Update.
5175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5177         [BZ #18138]
5178         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5179         libc_do_syscall_args): New structure.
5180         (INTERNAL_SYSCALL_MAIN_0): New macro.
5181         (INTERNAL_SYSCALL_MAIN_1): Likewise.
5182         (INTERNAL_SYSCALL_MAIN_2): Likewise.
5183         (INTERNAL_SYSCALL_MAIN_3): Likewise.
5184         (INTERNAL_SYSCALL_MAIN_4): Likewise.
5185         (INTERNAL_SYSCALL_MAIN_5): Likewise.
5186         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
5187         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5188         Replace conditional definitions by conditional definitions of ....
5189         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
5190         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5191         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5192         (libpthread-sysdep_routines): Add libc-do-syscall.
5193         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5194         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5195         to __NR_futex not 240.
5197 2015-03-25  Alan Modra  <amodra@gmail.com>
5199         * NEWS: Advertise TLS optimization.
5200         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5201         (DT_PPC_NUM): Increment.
5202         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5203         (CHECK_STATIC_TLS): Use here.
5204         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5205         TLS descriptors.
5206         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5207         * sysdeps/powerpc/dl-tls.c: New file.
5208         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5209         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5210         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5211         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5216 2015-03-25  Alan Modra  <amodra@gmail.com>
5218         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5219         for overlapping .opd entries" to "support...".
5220         * sysdeps/powerpc/powerpc64/configure: Regenerate
5222 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5224         * math/auto-libm-test-in: Add more tests of acos.
5225         * math/auto-libm-test-out: Regenerated.
5226         * sysdeps/i386/fpu/libm-test-ulps: Update.
5227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5229         * math/auto-libm-test-in: Add more tests of expm1.
5230         * math/auto-libm-test-out: Regenerated.
5231         * sysdeps/i386/fpu/libm-test-ulps: Update.
5232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5234 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
5236         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5237         * math/auto-libm-test-out: Regenerated.
5238         * sysdeps/i386/fpu/libm-test-ulps: Update.
5239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5241         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5244         * math/auto-libm-test-in: Add more tests of log2.
5245         * math/auto-libm-test-out: Regenerated.
5246         * sysdeps/i386/fpu/libm-test-ulps: Update.
5247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5249 2015-03-23  Roland McGrath  <roland@hack.frob.com>
5251         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5252         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
5253         _IO_IS_APPENDING bit in READ_WRITE instead.
5255 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5257         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5258         (__determine_cpumask_size): Replace extend_alloca with a
5259         variable-length array.  Do not treat res == 0 as an error.
5261 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5263         [BZ #18100]
5264         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5265         and integer overflow.
5266         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5267         (main): Add integer overflow tests.
5268         * manual/pattern.texi (Calling Wordexp): Document additional use
5269         for WRDE_SYNTAX.
5271 2015-03-23  Alan Modra  <amodra@gmail.com>
5273         * config.h.in: Remove HAVE_ASM_PPC_REL16.
5274         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5275         and false branch of conditional.
5276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5277         Likewise.
5279 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
5281         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5282         libc-modules.h
5283         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5284         unused declaration of _hurd_intr_rpc_msg_in_trap.
5285         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5286         defined instead of whether it is non-zero.
5287         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5288         input constraint instead of both input and output constraint.  Use ecx
5289         clobber instead of %ecx.
5290         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5291         mutex_unlock): Use a statement expression instead of an expression list.
5292         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5293         type to vm_size_t instead of vm_address_t.
5294         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5295         defined instead of whether it is non-zero.
5296         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5297         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5298         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5299         comparisons with mapaddr.
5300         * nscd/nscd-client.h: Include <time.h>.
5301         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5302         9th parameter to __vm_region instead of int.
5303         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5304         * scripts/check-local-headers.sh (exclude): Add device/,
5305         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5306         cthreads.h.
5308 2015-03-19  Roland McGrath  <roland@hack.frob.com>
5310         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5311         to account for alignment padding.
5312         * sysdeps/arm/memmove.S: Likewise.
5314 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
5316         * sysdeps/unix/sysv/linux/generic/README: New file.
5318 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
5320         [BZ #18138]
5321         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
5322         (futex_abstimed_wait)
5323         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
5324         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
5325         of lll_futex_timed_wait.
5327 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
5329         [BZ #17542]
5330         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
5332 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
5334         [BZ #17090]
5335         [BZ #17620]
5336         [BZ #17621]
5337         [BZ #17628]
5338         * NEWS: Update.
5339         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
5340         entries with Static TLS too.  Skip entries past the end of the
5341         allocated DTV, from Alan Modra.
5342         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
5343         Static TLS DTV entry set up from...
5344         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
5345         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
5346         * nptl/allocatestack.c (init_one_static_tls): ... and here...
5347         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
5348         for Static TLS.
5349         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
5350         that the slot we find is associated with the given map before
5351         using its generation count.
5352         * nptl_db/db_info.c: Include ldsodefs.h.
5353         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
5354         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
5355         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
5356         (link_map::l_tls_offset): New struct field.
5357         (dtv_t::counter): Likewise.
5358         (rtld_global): New struct.
5359         (_rtld_global): New rtld variable.
5360         (dl_tls_dtv_slotinfo_list): New rtld global field.
5361         (dtv_slotinfo_list): New struct.
5362         (dtv_slotinfo): Likewise.
5363         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
5364         (td_lookup): Rename to...
5365         (td_mod_lookup): ... this.  Use new mod parameter instead of
5366         LIBPTHREAD_SO.
5367         * nptl_db/td_thr_tlsbase.c: Include link.h.
5368         (dtv_slotinfo_list, dtv_slotinfo): New functions.
5369         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
5370         addresses even if the DTV is out of date or missing them.
5371         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
5372         index zero-length arrays.
5373         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
5374         (td_lookup): Make it a macro implemented in terms of...
5375         (td_mod_lookup): ... this declaration.
5376         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
5377         (DB_MAIN_VARIABLE): Likewise.
5379 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5381         [BZ #18134]
5382         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5384 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
5386         * stdlib/setenv.c (__add_to_environ): Revert previous change.
5388 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5390         [BZ #18128]
5391         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5392         (atomic_add, atomic_increment_and_test)
5393         (atomic_decrement_and_test): Fix 64-bit arithmetic.
5395 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
5397         * stdlib/setenv.c (__add_to_environ):
5398         Dump core quickly if setenv (..., NULL, ...) is called.
5400 2015-03-13  Roland McGrath  <roland@hack.frob.com>
5402         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5403         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5404         all the necessary asm magic in one place.
5405         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5406         using those.
5408 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
5410         [BZ #14906]
5411         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5412         traced file mtime. Use consistent log message.
5413         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5414         (register_traced_file): Call install_watches. Always set mtime.
5415         (invalidate_cache): Iterate over all trace files. Call install_watches.
5416         (inotify_check_files): Don't inline. Handle watching parent
5417         directories and configuration file movement in and out.
5418         (handle_inotify_events): New function.
5419         (main_loop_poll): Call handle_inotify_events.
5420         (main_loop_epoll): Likewise.
5421         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5422         (struct traced_file): Use array of inotify fds. Add parent directory,
5423         and basename.
5424         (struct database_dyn): Remove unused file_mtime.
5425         (init_traced_file): New inline function.
5426         (define_traced_file): New macro.
5427         * nss/nss_db/db-init.c: Use define_traced_file.
5428         (_nss_db_init): Use init_traced_file.
5429         * nss/nss_files/files-init.c: Use define_traced_file.
5430         (_nss_files_init): Use init_traced_file.
5432 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
5434         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5435         [_LIBC]: Do not include <stdlib.h>.
5436         [!_LIBC] (abort): Remove declaration.
5437         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5438         _FP_STATIC_ASSERT instead of conditionally calling abort.
5439         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5440         (_FP_EXTEND_CNAN): Likewise.
5441         (FP_TRUNC): Likewise.
5442         (__FP_CLZ): Likewise.
5443         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5445 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
5447         * manual/string.texi (XPG basename): Fix prototype.
5449 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5451         [BZ #18080]
5452         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5453         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5454         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5455         (__setcontext): Likewise.
5456         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5457         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5458         Call rt_sigprocmask syscall one time to set new signal mask
5459         and retrieve the current signal mask instead of two calls.
5460         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5461         (__swapcontext): Likewise.
5462         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5463         * stdlib/tst-setcontext2.c: New file.
5465 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5467         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5469 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
5471         [BZ #18093]
5472         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5473         the wrong size.
5475 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5477         [BZ #18043]
5478         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5480 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5482         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5483         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5484         Remove define.
5485         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5486         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5487         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5488         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5489         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5490         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5491         define.
5492         * nptl_db/td_symbol_list.c (td_lookup): Remove
5493         HAVE_ASM_GLOBAL_DOT_NAME code.
5494         * sysdeps/powerpc/powerpc64/configure.ac: Remove
5495         HAVE_ASM_GLOBAL_DOT_NAME check.
5496         * sysdeps/powerpc/powerpc64/configure: Regenerate.
5497         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5498         (DOT_LABEL): Remove define.
5499         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5500         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5501         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5502         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5503         (__TLS_GET_ADDR): Likewise.
5504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5505         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5507 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
5509         [BZ #18111]
5510         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5511         (_FPU_SETCW): Initialize cw from fpsr before storing.
5512         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5513         (fesetexceptflag): Rewrite using fpu_control.h.
5514         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5516 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
5518         [BZ #18110]
5519         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5520         asms.
5521         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5523 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
5525         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5526         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5527         abort.
5528         (_FP_FMA): Likewise.
5529         (_FP_DIV): Likewise.
5531 2015-03-10  Roland McGrath  <roland@hack.frob.com>
5533         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5534         with 0 in that case.
5535         * Makefile (summarize-tests): New canned sequence, factored out of
5536         commands for targets tests and xtests.  Display summary lines that
5537         don't start with PASS: or XFAIL: rather than ones that do start with
5538         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
5539         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5540         do start with ERROR: or FAIL:.
5541         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5542         (except for [$(build-shared) = yes]).
5543         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5544         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5545         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5546         * nptl/Makefile: Revert 2015-03-04 changes.
5547         [$(CXX) empty] (tests-unsupported): New variable.
5548         * debug/Makefile: Likewise.
5550         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5551         gnulib file.  Replace __attribute with __attribute__ throughout.
5553 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
5555         * sysdeps/hppa/fpu/libm-test-ulps: Update.
5557 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5559         [BZ #18104]
5560         * math/auto-libm-test-in: Add another test of pow.
5561         * math/auto-libm-test-out: Regenerated.
5563 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5565         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5566         $(config-cflags-nofma).
5568 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5570         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5571         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5572         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5573         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5574         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5575         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5576         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5577         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5578         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5579         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5580         Add comment on closing #endif.
5582 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5584         * posix/wordexp.c (CHAR_IN_SET): New macro.
5585         (parse_param): Use it.
5587 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5589         * sysdeps/powerpc/fpu/libm-test-ulps: update.
5591 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5593         [BZ #18043]
5594         * posix/wordexp.c (parse_param): Fix buffer overflow.
5595         * posix/wordexp-test.c (test_case): Add test case.
5597 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5599         [BZ #18042]
5600         * posix/wordexp.c (parse_backtick): Fix off-by-one.
5601         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5603 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5605         [BZ #18043]
5606         * posix/wordexp-test.c (test_case): Add test for BZ #18043
5607         (do_bz18043): Delete.
5608         (at_page_end): New.
5609         (testit): Refactor to have words at the edge of unreadable page.
5611 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5613         [BZ #16734]
5614         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5615         Cleanup read-only streams as well.
5616         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5618 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5620         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5621         <bits/libc-lockP.h>
5623 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
5625         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
5626         on [__KERNEL__].
5627         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5628         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5629         * soft-fp/op-common.h (_FP_DECL): Likewise.
5631 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5633         * elf/ifuncdep2.c (global): Replace
5634         __attribute__((visibility("protected"))) with
5635         asm (".protected global").
5636         * elf/ifuncmod1.c (global): Likewise.
5637         * elf/ifuncmod5.c (global): Likewise.
5639 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
5641         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5642         <asm/sfp-machine.h> instead of <sfp-machine.h>.
5644 2015-03-06  Roland McGrath  <roland@hack.frob.com>
5646         * manual/install.texi (Configuring and compiling):
5647         Document test-wrapper-env-only.
5648         * INSTALL: Regenerated.
5650 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5652         [BZ #18043]
5653         * posix/wordexp.c (parse_param): Fix buffer overflow.
5654         * posix/wordexp-test.c (do_bz18043): Add test case.
5656 2015-03-06  Vincent Bernat  <vincent@bernat.im>
5658         * time/tst-strptime2.c (do_test): Ensure failing tests are
5659         reported correctly.
5660         * time/tst-strptime3.c (do_test): Likewise.
5662 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
5664         Fix aio_error thread-safety.
5665         * sysdeps/pthread/aio_error.c: New file
5666         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5667         synchronization.
5669 2015-03-06  Florian Weimer  <fweimer@redhat.com>
5671         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5672         (group_number, vfprintf): Use it.
5673         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5674         (JUMP, REF): Use it.
5675         (WORK_BUFFER_SIZE): New enum constant.
5676         (process_arg, vfprintf): Use it.
5678 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
5680         * manual/errno.texi (Error Messages): Complete example function
5681         by adding missing #define.
5682         (program_invocation_name): Add statement indicating GNU
5683         extension and reference which header file declares the variable.
5684         (program_invocation_short_name): Likewise.
5686 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
5688         * manual/errno.texi (Error Messages): Delete strerror ISO C89
5689         compatibility note.
5691 2015-03-05  Roland McGrath  <roland@hack.frob.com>
5693         * Makeconfig (test-wrapper-env-only): New variable.
5694         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5695         then use that with $(test-wrapper-env-only) rather than using
5696         $(test-wrapper-env) $(run-program-env) $($*-ENV).
5698 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
5700         [BZ #18082]
5701         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5702         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5703         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5704         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5705         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5706         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5707         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5708         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5709         Likewise.
5710         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5711         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5712         Likewise.
5713         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5714         Likewise.
5715         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5716         Likewise.
5717         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5718         Likewise.
5719         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5720         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5721         Likewise.
5722         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5723         Likewise.
5724         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5725         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5727 2015-03-04  Roland McGrath  <roland@hack.frob.com>
5729         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5730         (ETH_ALEN): New macro.
5731         (struct ether_addr): Use it for length of ether_addr_octet.
5733         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5734         (setdb): Don't call __nss_configure_lookup for "rpc".
5735         (do_test): Don't call test_rpc.
5736         (output_rpcent, test_rpc): Functions moved ...
5737         * sunrpc/test-rpcent.c: ... to this new file.
5738         * sunrpc/Makefile (tests): Add it.
5740         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5741         __xpg_sigpause.
5742         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5743         * nptl/tst-signal6.c: Likewise.
5744         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5745         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5747         * configure.ac (libc_cv_cxx_link_ok): New check.
5748         Reset CXX to empty if it fails to link.
5749         * configure: Regenerated.
5750         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5751         bug-atexit3-lib only if $(CXX) is nonempty.
5752         * nptl/Makefile (tests): Likewise for tst-cancel24.
5753         (tests, tests-static): Likewise for tst-cancel24-static.
5754         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5755         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5756         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5757         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5759 2015-03-04  Andreas Schwab  <schwab@suse.de>
5761         [BZ #17631]
5762         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5763         for non-GCC compilers.
5764         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5765         Likewise.
5767 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5769         [BZ #17776]
5770         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5771         integer before bitwise and assembly operations.
5772         (feclearexcept): Likewise.
5773         * math/test-fenvinline.c: New file.
5774         * math/Makefile: Add test-fenvinline test.
5776 2015-03-03  Alan Modra  <amodra@gmail.com>
5778         [BZ #16512]
5779         * scripts/localplt.awk: Strip off symbol version.
5780         * NEWS: Mention bug fix.
5782 2015-03-02  Roland McGrath  <roland@hack.frob.com>
5784         * sysdeps/pthread/timer_routines.c
5785         (timer_free_list, thread_free_list, thread_active_list): Make static.
5787 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
5789         [BZ #17779]
5790         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5791         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5792         Undefine.
5793         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5794         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5795         Likewise.
5796         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5797         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5798         Likewise.
5800 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5802         [BZ #18036]
5803         * posix/fnmatch_loop.c (END): Detect invalid pattern.
5804         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5806 2015-03-02  Andreas Schwab  <schwab@suse.de>
5808         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5809         variable name.
5811 2015-03-02  Florian Weimer  <fweimer@redhat.com>
5813         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5814         Return error status.
5816 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
5818         [BZ #15969]
5819         * locale/findlocale.c (_nl_find_locale): Introduce const
5820         version of loc_name and drop unsafe type casts.
5822 2015-02-27  Roland McGrath  <roland@hack.frob.com>
5824         * dlfcn/tststatic2.c (main): Converted to ...
5825         (do_test): ... this.
5826         (TEST_FUNCTION): New macro.
5827         Include test-skeleton.c.
5829 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
5831         [BZ #17711]
5832         * elf/Makefile (tests): Add vismain only if PIE is enabled.
5833         (tests-pie): Add vismain.
5834         (CFLAGS-vismain.c): New.
5835         * elf/vismain.c: Add comments for PIE requirement.
5837 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5839         [BZ #18046]
5840         [BZ #18047]
5841         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5842         0x1p-56L as threshold for just returning the argument.
5843         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5844         0x1p-32L as threshold for just returning the argument.
5845         * math/auto-libm-test-in: Add more tests of atanh.
5846         * math/auto-libm-test-out: Regenerated.
5847         * sysdeps/i386/fpu/libm-test-ulps: Update.
5848         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5850 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5852         * string/bcopy.c (bcopy): Call memmove for performance.
5854 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5856         * string/bzero.c (__bzero): Call memset for performance.
5858 2015-02-27  John David Anglin  <dave.anglin@bell.net>
5860         [BZ #18068]
5861         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5862         to 00100000.
5864 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5866         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5868 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5870         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5871         (__kernel_standard): Use CSTR macro when setting exc.name.
5872         * sysdeps/ieee754/Makefile [$(subdir) = math]
5873         (CFLAGS-k_standard.c): Remove variable.
5875         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5876         setting p and q from "else if" to "else".
5877         (qzero): Likewise.
5878         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5879         (qone): Likewise.
5880         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5881         (qzerof): Likewise.
5882         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5883         (qonef): Likewise.
5884         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5885         (qzero): Likewise.
5886         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5887         (qone): Likewise.
5889         [BZ #18038]
5890         [BZ #18039]
5891         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5892         return pi/2 for arguments below 0x1p-113L.
5893         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5894         return pi/2 for arguments below 0x1p-106L.
5895         * math/auto-libm-test-in: Add more tests of acos.
5896         * math/auto-libm-test-out: Regenerated.
5898         [BZ #16351]
5899         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5900         (MO): New macro.
5901         (__ieee754_asin): Force underflow exception for results with small
5902         absolute value.
5903         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5904         (MO): New macro.
5905         (__ieee754_asinf): Force underflow exception for results with
5906         small absolute value.
5907         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5908         (__ieee754_asin): Force underflow exception for results with small
5909         absolute value.
5910         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5911         (__ieee754_asinf): Force underflow exception for results with
5912         small absolute value.
5913         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5914         (__ieee754_asinl): Force underflow exception for results with
5915         small absolute value.
5916         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5917         (__ieee754_asinl): Force underflow exception for results with
5918         small absolute value.
5919         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5920         (__ieee754_asinl): Force underflow exception for results with
5921         small absolute value.
5922         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5923         Include <math.h>.
5924         * math/auto-libm-test-in: Do not mark underflow exceptions as
5925         possibly missing for bug 16351.
5926         * math/auto-libm-test-out: Regenerated.
5928         [BZ #18030]
5929         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5930         of power of 2 down when low part has opposite sign.
5931         * math/libm-test.inc (logb_test_data): Add more tests.
5933 2015-02-26  Andreas Schwab  <schwab@suse.de>
5935         [BZ #18032]
5936         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5937         over collating symbol inside a bracket expression.  Minor cleanup.
5938         * posix/tst-fnmatch3.c (do_test): Add test case.
5940 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5942         [BZ #18029]
5943         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5944         Adjust exponent of power of 2 down when low part has opposite
5945         sign.
5946         * math/libm-test.inc (ilogb_test_data): Add more tests.
5948 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
5950         [BZ #15969]
5951         * locale/findlocale.c (_nl_find_locale): Fix constness error in
5952         the previous change.
5954         [BZ #15969]
5955         * locale/findlocale.c (_nl_find_locale): Retry archive search
5956         after alias expansion.
5958 2015-02-25  Roland McGrath  <roland@hack.frob.com>
5960         * iconv/tst-iconv3.c (main): Converted to ...
5961         (do_test): ... this.
5962         (TEST_FUNCTION): New macro.
5963         Include test-skeleton.c.
5965         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5966         (convert): Make function static.
5967         (test_unalign): Likewise.  Add const to argument pointee types.
5968         (main): Replace with static function do_test.
5969         Print "Succeeded." only if RET is zero.
5970         (TEST_FUNCTION): New macro.
5971         Include test-skeleton.c.
5973         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5974         returns a null pointer.
5976 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5978         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5979         to __memcpy_ppc only for static builds.
5981 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
5983         [BZ #18020]
5984         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5985         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5986         * math/auto-libm-test-in: Add more tests of asinh.
5987         * math/auto-libm-test-out: Regenerated.
5988         * sysdeps/i386/fpu/libm-test-ulps: Update.
5989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5991 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
5993         [BZ #15850]
5994         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5995         and ip6_mtuinfo definitions here.
5996         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5997         in this define too.  Update comment.
5999 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6001         * elf/sprof.c (load_shobj): Tweak error message to match others.
6003 2015-02-24  Kevin Easton  <kevin@guarana.org>
6005         [BZ #16145] (partial fix)
6006         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6007         to reduce lock contention.
6009 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6011         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6012         (struct timex): Update time comment.
6013         (ADJ_SETOFFSET): Define.
6015 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6017         [BZ #18019]
6018         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6019         2**56 not 2**28 as threshold for log (2x) formula.
6020         * math/auto-libm-test-in: Add more tests of acosh.
6021         * math/auto-libm-test-out: Regenerated.
6022         * sysdeps/i386/fpu/libm-test-ulps: Update.
6023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6025 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6027         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6028         parenthesis around the buf assignment.
6029         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6031 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6033         [BZ #16783]
6034         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6035         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6036         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6037         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6038         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6039         * math/libm-test.inc (scalb_test_data): Add more tests.
6041 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6043         [BZ #17916]
6044         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6045         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6047 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6049         [BZ #17523]
6050         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6051         * io/bits/fcntl2.h (open): Use it.
6052         (openat): Likewise.
6053         * io/open.c (__libc_open): Likewise.
6054         * io/open64.c (__libc_open64): Likewise.
6055         * io/open64_2.c (__open64_2): Likewise.
6056         * io/open_2.c (__open_2): Likewise.
6057         * io/openat.c (__openat): Likewise.
6058         * io/openat64.c (__openat64): Likewise.
6059         * io/openat64_2.c (__openat64_2): Likewise.
6060         * io/openat_2.c (__openat_2): Likewise.
6061         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6062         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6063         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6064         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6065         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6066         (__open_nocancel): Likewise.
6067         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6068         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6069         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6071 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6073         [BZ #14841]
6074         * resolv/gethnamaddr.c (getanswer): Skip logging if
6075         RES_USE_DNSSEC is set.
6076         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6078 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6080         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6082 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6084         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6085         201304L, for Unicode 7.
6087 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6089         [BZ #17836]
6090         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6091         shared library.  Add gmon-start.os otherwise.
6092         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6093         $(objpfx)gmon-start.os if builing shared library.
6094         ($(objpfx)g$(static-start-installed-name)): Likewise.
6096 2015-02-23  Andreas Schwab  <schwab@suse.de>
6098         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6100 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6102         [BZ #17269]
6103         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6104         (enlarge_userbuf): Likewise.
6106 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6108         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6109         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6110         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6111         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6113 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6115         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6116         expression inside statement expression.
6118 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6120         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6121         <sysdeps/nptl/lowlevellock.h> and remove macros and
6122         functions that are now defined there.
6123         (SYS_futex): Remove.
6124         (lll_compare_and_swap): Remove.
6125         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6127 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6129         [BZ #17999]
6130         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6131         instead of scandirat.
6132         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6133         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6134         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6135         __scandirat.
6136         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6137         (__scandirat): Declare.  Use libc_hidden_proto.
6138         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6139         Remove variable.
6140         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6142 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6144         [BZ #15319]
6145         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6146         (MO): New macro.
6147         (__ieee754_atan2): For results with small absolute value, force
6148         underflow exception and remove excess range and precision from
6149         return value.
6150         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6151         (MO): New macro.
6152         (__ieee754_atan2f): For results with small absolute value, force
6153         underflow exception and remove excess range and precision from
6154         return value.
6155         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6156         (MO): New macro.
6157         (__atan): For results with small absolute value, force underflow
6158         exception and remove excess range and precision from return value.
6159         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6160         (MO): New macro.
6161         (__atanf): For results with small absolute value, force underflow
6162         exception and remove excess range and precision from return value.
6163         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6164         <math.h>.
6165         (__ieee754_atan2): Force underflow exception for results with
6166         small absolute value.
6167         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6168         <math_private.h>.
6169         (atan): Force underflow exception for results with small absolute
6170         value.
6171         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6172         (__atanf): Force underflow exception for results with small
6173         absolute value.
6174         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6175         <math.h>.
6176         (__atanl): Force underflow exception for results with small
6177         absolute value.
6178         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6179         (__atanl): Force underflow exception for results with small
6180         absolute value.
6181         * sysdeps/x86/fpu/bits/mathinline.h
6182         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6183         (__ieee754_atan2): Only define inline for long double.
6184         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6185         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6186         * math/auto-libm-test-in: Do not mark underflow exceptions as
6187         possibly missing for bug 15319.  Add more tests of atan2.
6188         * math/auto-libm-test-out: Regenerated.
6189         * math/libm-test.inc (casin_test_data): Do not mark underflow
6190         exceptions as possibly missing for bug 15319.
6191         (casinh_test_data): Likewise.
6192         * sysdeps/i386/fpu/libm-test-ulps: Update.
6194 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
6196         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6197         * sysdeps/mips/bits/endian.h: Fix comments.
6199 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6201         [BZ #17996]
6202         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6203         (hdestroy_r): Likewise.
6204         (hsearch_r): Likewise.
6205         (__hcreate_r): Declare and use libc_hidden_proto.
6206         (__hdestroy_r): Likewise.
6207         (__hsearch_r): Likewise.
6208         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6209         (hcreate): Call __hcreate_r instead of hcreate_r.
6210         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6211         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6212         as weak alias of __hcreate_r.
6213         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6214         __hdestroy_r.
6215         (hsearch_r): Rename to __hsearch_r and define as weak alias of
6216         __hsearch_r.
6217         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6218         Remove variable.
6219         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6220         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6221         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6222         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6224 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6226         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6227         arena_lock into a single arena_get.
6229 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
6231         * dl-reloc.c: Inlucde libc-internal.h.
6232         (_dl_try_allocate_static_tls): Call ALIGN_UP.
6233         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6234         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6235         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6236         (grow_heap): Likewise.
6237         * malloc/malloc.c: Include libc-internal.h.
6238         (do_check_malloc): Call powerof2.
6239         (sysmalloc): Use pagesize. Call ALIGN_UP.
6240         (systrim): Use pagesize.
6241         (mremap_chunk): Use pagesize. Call ALIGN_UP.
6242         (__libc_valloc): Use pagesize.
6243         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6245 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6247         [BZ #17991]
6248         * include/sys/resource.h (__getrlimit64): Declare.  Use
6249         libc_hidden_proto.
6250         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6251         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
6252         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6253         getrlimit64.
6254         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6255         __getrlimit64.
6256         [!getrlimit64] (getrlimit64): Define as weak alias of
6257         __getrlimit64.  Use libc_hidden_weak.
6258         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6259         using __getrlimit64 not __new_getrlimit64.
6260         (__GI_getrlimit64): Likewise.
6261         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6262         Likewise.
6263         (__GI_getrlimit64): Likewise.
6264         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6266         (getrlimit): Add __getrlimit64 alias.
6267         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6268         Likewise.
6269         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6270         Remove variable.
6271         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6272         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6274 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
6276         * libio/fileops.c: Add missing sys/mman.h
6277         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6279 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6281         * manual/math.texi (Errors in Math Functions): Clarify goals
6282         regarding inexact and underflow exceptions.
6284 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6286         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6287         * sysdeps/mips/memset.S: Ditto.
6289 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6291         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6293 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6295         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6296         (__v1longjmp): Remove versioned symbol.
6297         (__v1siglongjmp): Remove alias and versioned symbol.
6298         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6299         (__v2siglongjmp): Likewise.
6301 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6303         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6305 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
6307         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6309 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6311         [BZ #17987]
6312         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6313         zero result does not depend on the sign resulting from
6314         subtraction.
6315         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6316         Likewise.
6317         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6318         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6319         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6320         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6321         * math/libm-test.inc (remquo_test_data): Add more tests.
6323 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
6325         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
6326         Problem reported by J William Piggott.
6328 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6330         [BZ #17978]
6331         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
6332         products 4 * y and 2 * y where those would overflow.
6333         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6334         Likewise.
6335         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6336         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6337         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6338         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6339         * math/libm-test.inc (remquo_test_data): Add more tests.
6341         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
6343         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6344         [defined _COMPILING_NEWLIB].
6345         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
6346         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
6348         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
6349         [!defined __mips_isa_rev || __mips_isa_rev < 6].
6351 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6353         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
6354         acquired.
6356 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
6358         [BZ #17792]
6359         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
6360         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
6361         HOST_STACK_END_ADDR): Likewise.
6363 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
6365         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
6366         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
6367         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
6369 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6371         * sysdeps/generic/c++-types.data: New file.
6372         * sysdeps/generic/ld.abilist: New file.
6373         * sysdeps/generic/libBrokenLocale.abilist: New file.
6374         * sysdeps/generic/libanl.abilist: New file.
6375         * sysdeps/generic/libc.abilist: New file.
6376         * sysdeps/generic/libcrypt.abilist: New file.
6377         * sysdeps/generic/libdl.abilist: New file.
6378         * sysdeps/generic/libm.abilist: New file.
6379         * sysdeps/generic/libpthread.abilist: New file.
6380         * sysdeps/generic/libresolv.abilist: New file.
6381         * sysdeps/generic/librt.abilist: New file.
6383 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6385         [BZ #17569]
6386         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6387         Compute absolute value of x as modified by fmod, not original
6388         value of x.
6389         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6390         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
6391         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
6392         RUN_TEST_ffI_f1_mod8.
6393         (remquo_test_data): Add more tests.
6395 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6397         * sysdeps/init_array/pt-crti.S: New file.
6399 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6401         [BZ #17967]
6402         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6403         __builtin_fmaf instead of relying on contraction of a * b + c.
6405 2015-02-12  J William Piggott  <elseifthen@gmx.com>
6407         [BZ #17969]
6408         * manual/time.texi: correct the zoneinfo path in the TZ Variable
6409         node.
6411 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6413         [BZ #17964]
6414         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6415         __builtin_fma instead of relying on contraction of a * b + c.
6417 2015-02-12  Roland McGrath  <roland@hack.frob.com>
6419         * Makeconfig (ASFLAGS): Add -Werror=undef.
6420         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6421         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6422         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6424         * Makeconfig (after-link): New variable.
6425         (+link-pie, +link-pie-tests): Use it.
6426         (+link-static, +link-static-tests): Likewise.
6427         (+link, +link-tests): Likewise.
6428         * Makerules (build-module, build-module-asneeded): Likewise.
6429         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6430         Likewise.
6431         * elf/Makefile ($(objpfx)ld.so): Likewise.
6433 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
6435         [BZ #17965]
6436         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6437         both struct timeval and struct timespec.
6439 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6441         [BZ #16560]
6442         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6443         and redefine.
6444         (__ieee754_exp2l): Do not multiply small fractional parts by
6445         M_LN2l.
6446         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6447         small argument.
6448         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6449         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6450         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6451         * math/auto-libm-test-in: Add more tests of exp2.
6452         * math/auto-libm-test-out: Regenerated.
6454 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6456         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6457         unaligned path.
6459 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6461         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6462         little endian.
6464 2015-02-12  Andreas Schwab  <schwab@suse.de>
6466         [BZ #15790]
6467         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6468         Filter out elision flags from value returned in kind.
6469         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6470         * nptl/tst-pthread-mutexattr.c: New file.
6472 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6474         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6475         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6476         into gnu-gnu, and update comment to refer to abi-tags.
6478 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
6480         [BZ #15467]
6481         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6482         (__sincos): Set errno to EDOM for infinite argument.
6483         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6484         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6485         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6486         (__sincosl): Set errno to EDOM for infinite argument.
6487         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6488         (__sincosl): Set errno to EDOM for infinite argument.
6489         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6490         (__sincosl): Set errno to EDOM for infinite argument.
6491         * math/libm-test.inc (sincos_test_data): Test errno setting.
6493 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
6495         * string/strxfrm_l.c: Remove #define STRCMP.
6496         * string/strcoll_l.c: Remove #define STRLEN.
6497         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6498         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6500 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
6502         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6503         * sysdeps/mips/mips32/sfp-machine.h: ... here.
6504         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6505         * sysdeps/mips/mips64/Makefile: ... here.
6506         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6507         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6508         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6509         * sysdeps/mips/mips64/sfp-machine.h: ... here.
6510         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6511         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6512         * sysdeps/mips/mips64/n64/Implies: Likewise.
6514 2015-02-10  Roland McGrath  <roland@hack.frob.com>
6516         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6517         <sys/time.h>, <string.h>, and <errno.h>.
6518         (dest_offset, dest_address, value, zero): Remove unused variables.
6519         (ldouble): Remove typedef.
6520         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6521         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
6522         1).  Fix code style.
6523         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6524         (check): Function removed.
6525         (CHECK): New macro.
6526         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
6527         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6528         Don't call set_sigaction_FP and remove_sigaction_FP here.
6529         (ldouble_test): Just use 'long double' as macro argument, no need for
6530         the 'ldouble' typedef.
6531         (do_test): Set up SIGFPE handler at start, using plain signal rather
6532         than sigaction.  Fix code style.
6534 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
6536         [BZ #17949]
6537         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6538         jump label.
6540 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6542         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6543         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6545         * sysdeps/powerpc/configure.ac: Remove file.
6546         * sysdeps/powerpc/configure: Likewise.
6548         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6549         [sysdep_routines]: Remove wordcopy-power6 object.
6550         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6551         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6552         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6553         (__memmove_ppc32): Likewise.
6554         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6555         file.
6556         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6557         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6558         Remove preprocessor.
6560         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6561         [sysdep_routines]: Remove wide chars objects.
6562         [wcsmbs]: New rule for wide char objects.
6564         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6565         Remove wordcopy-power6 obejct.
6566         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6567         Use local call for wordcopy and memcpy symbols.
6568         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6569         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6570         implementation for loader.
6571         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6573         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6574         Remove wordcopy-power7 object.
6575         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6576         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6577         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6578         (_wordcopy_fwd_dest_aligned): Likewise.
6579         (_wordcopy_bwd_aligned): Likewise.
6580         (_wordcopy_bwd_dest_aligned): Likewise.
6582         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6583         Rewrite to call __memmove_ppc instead of include default
6584         implementation.
6586         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6587         Remove wide chars objects.
6588         [wcsmbs]: New rule for wide char objects.
6590 2015-02-09  Andreas Schwab  <schwab@suse.de>
6592         [BZ #17912]
6593         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6594         in terms of __O_DIRECTORY.
6596 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6598         * time/getdate.c: Include <stdbool.h>.
6599         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6600         call PTR_MANGLE.
6601         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6602         PTR_DEMANGLE.
6604 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6606         Add ersatz _Static_assert on older C hosts
6607         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6608         pre-C11 C platform that is not known to support _Static_assert.
6610 2015-02-07  Richard Braun  <rbraun@sceen.net>
6612         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6613         sigstate.
6614         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6616 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6618         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6619         priority against unexistent AIO_PRIO_DELTA_MAX.
6620         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6621         instead of int.
6622         * misc/fchflags.c (fchflags): Likewise.
6623         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6624         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6625         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6626         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6627         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6628         Declare macros.
6629         [__USE_MISC] (chflags, fchflags): Declare functions.
6630         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6631         EINVAL when nfds is greater than FD_SETSIZE.
6632         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6633         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6634         45.
6635         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6636         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6637         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6638         MACH_RCV_TIMED_OUT.
6639         * hurd/hurd/signal.h (_hurd_self_sigstate,
6640         _hurd_critical_section_lock, _hurd_critical_section_unlock):
6641         Explicit casts from void *.
6642         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6643         * abi-tags: Rename gnu-gnu os into gnu.
6645         [BZ #4719]
6646         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6647         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6648         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6649         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6650         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6651         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6653         [BZ #17944]
6654         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6655         duplicates ADDR->sun_path with sockaddr LEN limitation.
6656         * sysdeps/mach/hurd/connect.c: Include <string.h>
6657         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6658         * sysdeps/mach/hurd/sendmsg.c: Likewise.
6659         * sysdeps/mach/hurd/sendto.c: Likewise.
6660         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6661         implementing it by hand.
6663 2015-02-06  Roland McGrath  <roland@hack.frob.com>
6665         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6666         Use sfi_breg on ldr.
6667         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6668         Likewise.
6670         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6671         it's defined.
6672         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6673         Test SIGSETXID only if it's defined.
6675         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6677         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6678         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
6680         * nptl/tst-align2.c: Moved ...
6681         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6682         * nptl/Makefile (tests): Remove tst-align2.
6683         * sysdeps/unix/sysv/linux/Makefile
6684         [$(subdir) = nptl] (tests): Add tst-align-clone.
6685         * nptl/tst-getpid1.c: Moved ...
6686         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6687         * nptl/tst-getpid2.c: Moved ...
6688         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6689         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6690         * sysdeps/unix/sysv/linux/Makefile
6691         [$(subdir) = nptl] (tests): ... here.
6692         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6693         * sysdeps/unix/sysv/linux/Makefile
6694         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6696         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6697         Drop trailing \n from perror argument.  Use return rather than exit.
6699         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6700         on [SA_SIGINFO].
6701         * nptl/tst-cancel21.c (do_test): Likewise.
6702         * debug/tst-backtrace6.c: Include <signal.h> first thing.
6703         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6704         [!SA_SIGINFO]: Make it a stub test.
6706         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6707         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6709         * posix/tst-getlogin.c: Move to ...
6710         * login/tst-getlogin.c: ... here.
6711         * posix/Makefile (tests): Move tst-getlogin to ...
6712         * login/Makefile (tests): ... here.
6714         * libio/tst-atime.c (do_test): Move local variables SV and E
6715         inside [ST_NOATIME] conditional.
6717         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6719         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6721         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6722         (wait_code): New function replaces macro.
6723         Call nanosleep rather than syscall.
6725         * nptl/pt-system.c: Rewritten.  Put everything under
6726         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6727         Use IFUNC to redirect when possible.
6729         * nptl/pt-longjmp.c: Rewritten.  Put everything under
6730         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6731         Use IFUNC to redirect when possible.
6733         * nptl/pt-fork.c: Rewritten.  Put everything under
6734         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6735         Use IFUNC to redirect when possible.
6736         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6738         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6739         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6740         unconditionally nowadays.  This included the only reference to
6741         __vdso_clock_gettime that appears outside libc proper.
6742         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6743         Remove version set (containing only __vdso_clock_gettime).
6744         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6745         Add attribute_hidden.
6746         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6747         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6748         libc_hidden_data_def.
6749         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6750         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6752         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6753         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6754         setrpcent, and getrpcport to ...
6755         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6756         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6757         getrpcbynumber_r, and getrpcent_r to ...
6758         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6759         * inet/getrpcbyname.c: Moved ...
6760         * sunrpc/getrpcbyname.c: ... here.
6761         * inet/getrpcbyname_r.c: Moved ...
6762         * sunrpc/getrpcbyname_r.c: ... here.
6763         * inet/getrpcbynumber.c: Moved ...
6764         * sunrpc/getrpcbynumber.c: ... here.
6765         * inet/getrpcbynumber_r.c: Moved ...
6766         * sunrpc/getrpcbynumber_r.c: ... here.
6767         * inet/getrpcent.c: Moved ...
6768         * sunrpc/getrpcent.c: ... here.
6769         * inet/getrpcent_r.c: Moved ...
6770         * sunrpc/getrpcent_r.c: ... here.
6771         * inet/Makefile (routines): Move those to ...
6772         * sunrpc/Makefile (routines): ... here.
6773         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6774         the $(subdirs) list.
6775         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
6776         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6777         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6778         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6780         * elf/Makefile (routines): Include $(all-dl-routines), not just
6781         $(dl-routines).
6782         (rtld-routines): Likewise.  Use = rather than :=.
6783         * sysdeps/aarch64/Makefile [$(subdir) = elf]
6784         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6785         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6786         * sysdeps/arm/Makefile: Likewise.
6787         * sysdeps/i386/Makefile: Likewise.
6788         * sysdeps/x86_64/Makefile: Likewise.
6789         * sysdeps/hppa/Makefile [$(subdir) = elf]
6790         (sysdep_routines, sysdep-rtld-routines): Don't add
6791         $(sysdep-dl-routines) to these.
6792         * sysdeps/ia64/Makefile: Likewise.
6793         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6794         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6795         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6796         Don't add dl-static to these; sysdep-dl-routines alone is enough.
6797         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6798         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6799         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6800         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6801         * sysdeps/powerpc/Makefile [$(subdir) = elf]
6802         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6803         these; sysdep-dl-routines alone is enough.
6805 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
6807         [BZ #17932]
6808         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6809         where multiplication results in zero and third argument is finite
6810         and nonzero.
6811         * math/auto-libm-test-in: Add more tests of fma.
6812         * math/auto-libm-test-out: Regenerated.
6814         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6815         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6816         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6817         (_FP_CMP_EQ): Likewise.
6818         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6820         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6821         extra argument CHECK_NAN.  Redefine as wrapper around
6822         _FP_EXTEND_CNAN.
6824 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
6826         * version.h (RELEASE): Set to "stable".
6827         (VERSION): Set to "2.21"
6828         * include/features.h (__GLIBC_MINOR__): Set to 21.
6830         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6832 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6833             Paul Eggert  <eggert@cs.ucla.edu>
6835         [BZ #16618]
6836         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6837         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6838         size in bytes. Store needed elements in wpmax. Use needed size
6839         in bytes for extend_alloca.
6841 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
6843         * manual/install.texi: Latest tested versions are GCC 4.9.2,
6844         binutls 2.25, and texinfo 5.2.
6845         * INSTALL: Regenerate.
6846         * sysdeps/nios2/configure: Regenerate.
6847         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6848         * manual/contrib.texi: Update.
6849         * po/be.po: Update.
6850         * po/bg.po: Update.
6851         * po/ca.po: Update.
6852         * po/cs.po: Update.
6853         * po/da.po: Update.
6854         * po/de.po: Update.
6855         * po/el.po: Update.
6856         * po/eo.po: Update.
6857         * po/es.po: Update.
6858         * po/fi.po: Update.
6859         * po/fr.po: Update.
6860         * po/gl.po: Update.
6861         * po/hr.po: Update.
6862         * po/hu.po: Update.
6863         * po/ia.po: Update.
6864         * po/id.po: Update.
6865         * po/it.po: Update.
6866         * po/ja.po: Update.
6867         * po/ko.po: Update.
6868         * po/lt.po: Update.
6869         * po/nb.po: Update.
6870         * po/nl.po: Update.
6871         * po/pl.po: Update.
6872         * po/pt_BR.po: Update.
6873         * po/ru.po: Update.
6874         * po/rw.po: Update.
6875         * po/sk.po: Update.
6876         * po/sl.po: Update.
6877         * po/sv.po: Update.
6878         * po/tr.po: Update.
6879         * po/uk.po: Update.
6880         * po/vi.po: Update.
6881         * po/zh_CN.po: Update.
6882         * po/zh_TW.po: Update.
6884         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6885         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6886         * sysdeps/hppa/dl-irel.h: Remove #warning.
6887         * sysdeps/hppa/entry.h: Provide prototype for
6888         __canonicalize_funcptr_for_compare and cast argument.
6889         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6890         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6891         * sysdeps/hppa/sotruss-lib.c: New file.
6892         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6893         (atomic_compare_and_exchange_val_acq): Use __typeof__.
6894         (atomic_compare_and_exchange_bool_acq): Likewise.
6895         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6896         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6898         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6899         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6900         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6902 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6904         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6905         called function in non-PIC case.
6907 2015-01-31  David S. Miller  <davem@davemloft.net>
6909         * sysdeps/sparc/sparc32/bits/atomic.h
6910         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6911         unlock not after it.
6912         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6913         volatile register usage warnings from the compiler.
6915         * sysdeps/sparc/nptl/sem_init.c: Delete.
6916         * sysdeps/sparc/nptl/sem_post.c: Delete.
6917         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6918         * sysdeps/sparc/nptl/sem_wait.c: Delete.
6919         * sysdeps/sparc/sparc32/sem_init.c: New file.
6920         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6921         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6922         padding explicitly initialized.
6923         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6924         padding for in-semaphore spinlock.
6925         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6926         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6927         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6928         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6929         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6930         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6931         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6932         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6933         version.
6934         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6935         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6937 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6939         [BZ #17801]
6940         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6941         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6942         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6943         New.
6944         (index_AVX_Fast_Unaligned_Load): Likewise.
6945         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6946         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6947         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6948         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6949         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6950         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6951         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6952         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6953         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6955 2015-01-29  Andreas Schwab  <schwab@suse.de>
6957         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6959 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
6961         [BZ #17892]
6962         * nscd/nscd_stat.c (send_stats): Initialize DATA.
6964 2015-01-28  Martin Sebor  <msebor@redhat.com>
6966         * math/README.libm-test: Clarify. Add "How to read the test output."
6968 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
6970         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6971         Define to 0.
6973 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
6975         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6976         (__HAVE_64B_ATOMICS): Define to 0.
6978 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6980         [BZ #17885]
6981         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6982         value to set as new flag.
6984         [BZ #16576]
6985         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6986         and use _ARCH_PPCSQ instead.
6987         (__ieee754_sqrt): Likewise.
6988         (__ieee754_sqrtf): Likewise.
6989         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6990         _ARCH_PPCSQ is defined.
6991         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6992         fsqrt instruction.
6993         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6994         _ARCH_PPCSQ is defined.
6995         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6996         fsqrts instruction.
6997         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6999 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7001         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7002         bug (GCC BZ #64739).
7004 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7006         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7007         Mark _retval as used.
7008         (lll_futex_wake_unlock): Likewise.
7009         (lll_futex_timed_wait_requeue_pi): Likewise.
7011         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7012         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7013         register variables.
7015         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7016         libm_hidden_def.
7018         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7019         (__bswap_64): Mark as __always_inline.
7021 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7023         [BZ #15378]
7024         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7025         when none of the search directories exist.
7027 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7029         [BZ #17869]
7030         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7031         power8 in .machine directive.
7033         [BZ #17868]
7034         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7035         set dependency from opd value.
7037 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7039         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7040         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7041         architecture.
7043 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7045         [BZ #17870]
7046         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7047         with uint64_t.
7048         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7049         (uint64_t) 1.
7050         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7051         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7052         Replace 1UL with (uint64_t) 1.
7053         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7054         int with uint64_t.
7056 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7058         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7059         (if_freenameindex): Likewise.
7061         * resource/getrlimit64.c: Add missing libc_hidden_def.
7063 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7065         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7066         __label__.
7067         (_FP_FMA): Likewise.
7068         (_FP_TO_INT_ROUND): Likewise.
7069         (_FP_FROM_INT): Likewise.
7071 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7073         [BZ #16418]
7074         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7075         Make code racy and cancel safe.
7077 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7079         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7080         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7081         attribution.
7083         * pwd/tst-getpw.c: Rewrite.
7085         [BZ #17702]
7086         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7087         (modules-names): Add moddummy1 and moddummy2.
7088         ($(objpfx)tst-rec-dlopen): Define.
7089         * dlfcn/moddummy1.c: New file.
7090         * dlfcn/moddummy2.c: New file.
7091         * dlfcn/tst-rec-dlopen.c: New file.
7092         * elf/dl-cache.c (_dl_load_cache_lookup):
7093         Return char*. Copy result with alloca/strcpy/strdup.
7094         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7095         returns char*. Free cached. If not saving realname
7096         free cached.
7097         * elf/dl-open.c (dl_open_worker): Do not assert that
7098         _r_debug->r_state is RT_CONSISTENT.
7099         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7100         returns char*.
7102 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7103             Carlos O'Donell  <carlos@redhat.com>
7105         [BZ #12674]
7106         * nptl/sem_waitcommon.c: New file.
7107         * nptl/sem_wait.c: Include sem_waitcommon.c.
7108         (__sem_wait_cleanup, do_futex_wait): Remove.
7109         (__new_sem_wait): Adapt.
7110         (__new_sem_trywait): New function.
7111         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7112         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7113         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7114         (sem_timedwait): Adapt.
7115         * nptl/sem_post.c (__new_sem_post): Adapt.
7116         (futex_wake): New function.
7117         (__old_sem_post): Add release MO fence.
7118         * nptl/sem_open.c (sem_open): Adapt.
7119         * nptl/sem_init.c (__new_sem_init): Adapt.
7120         (futex_private_if_supported): New function.
7121         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7122         (__old_sem_getvalue): Add using previous code.
7123         * sysdeps/nptl/internaltypes.h: Adapt.
7124         * nptl/tst-sem13.c (do_test): Adapt.
7125         * nptl/tst-sem11.c (main): Adapt.
7126         * nptl/sem_trywait.c: Remove.
7127         * nptl/DESIGN-sem.txt: Remove.
7128         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7129         (gen-as-const-headers): Remove structsem.sym.
7130         * nptl/structsem.sym: Remove.
7131         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7132         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7133         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7134         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7135         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7136         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7137         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7138         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7139         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7140         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7141         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7142         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7143         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7144         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7145         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7146         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7147         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7148         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7149         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7150         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7151         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7152         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7154 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7156         * INSTALL: Regenerated.
7158         * po/libc.pot: Regenerated.
7160 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7161             Sandra Loosemore  <sandra@codesourcery.com>
7162             Andrew Jenner  <andrew@codesourcery.com>
7163             Joseph Myers  <joseph@codesourcery.com>
7164             Nathan Sidwell  <nathan@codesourcery.com>
7166         * NEWS: Mention new Nios II port.
7167         * sysdeps/nios2/Implies: New file.
7168         * sysdeps/nios2/Makefile: New file.
7169         * sysdeps/nios2/Subdirs: New file.
7170         * sysdeps/nios2/Versions: New file.
7171         * sysdeps/nios2/__longjmp.S: New file.
7172         * sysdeps/nios2/abort-instr.h: New file.
7173         * sysdeps/nios2/backtrace.c: New file.
7174         * sysdeps/nios2/bits/endian.h: New file.
7175         * sysdeps/nios2/bits/fenv.h: New file.
7176         * sysdeps/nios2/bits/link.h: New file.
7177         * sysdeps/nios2/bits/setjmp.h: New file.
7178         * sysdeps/nios2/bsd-_setjmp.S: New file.
7179         * sysdeps/nios2/bsd-setjmp.S: New file.
7180         * sysdeps/nios2/configure: New generated file.
7181         * sysdeps/nios2/configure.ac: New file.
7182         * sysdeps/nios2/crti.S: New file.
7183         * sysdeps/nios2/crtn.S: New file.
7184         * sysdeps/nios2/dl-init.c: New file.
7185         * sysdeps/nios2/dl-machine.h: New file.
7186         * sysdeps/nios2/dl-sysdep.h: New file.
7187         * sysdeps/nios2/dl-tls.h: New file.
7188         * sysdeps/nios2/dl-trampoline.S: New file.
7189         * sysdeps/nios2/gccframe.h: New file.
7190         * sysdeps/nios2/gmp-mparam.h: New file.
7191         * sysdeps/nios2/jmpbuf-offsets.h: New file.
7192         * sysdeps/nios2/jmpbuf-unwind.h: New file.
7193         * sysdeps/nios2/ldsodefs.h: New file.
7194         * sysdeps/nios2/libc-tls.c: New file.
7195         * sysdeps/nios2/libm-test-ulps: New file.
7196         * sysdeps/nios2/machine-gmon.h: New file.
7197         * sysdeps/nios2/math-tests.h: New file.
7198         * sysdeps/nios2/math_private.h: New file.
7199         * sysdeps/nios2/memusage.h: New file.
7200         * sysdeps/nios2/nptl/Makefile: New file.
7201         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7202         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7203         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7204         * sysdeps/nios2/nptl/pthreaddef.h: New file.
7205         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7206         * sysdeps/nios2/nptl/tls.h: New file.
7207         * sysdeps/nios2/preconfigure: New file.
7208         * sysdeps/nios2/s_fma.c: New file.
7209         * sysdeps/nios2/s_fmaf.c: New file.
7210         * sysdeps/nios2/setjmp.S: New file.
7211         * sysdeps/nios2/sfp-machine.h: New file.
7212         * sysdeps/nios2/sotruss-lib.c: New file.
7213         * sysdeps/nios2/stackguard-macros.h: New file.
7214         * sysdeps/nios2/stackinfo.h: New file.
7215         * sysdeps/nios2/start.S: New file.
7216         * sysdeps/nios2/sysdep.h: New file.
7217         * sysdeps/nios2/tls-macros.h: New file.
7218         * sysdeps/nios2/tst-audit.h: New file.
7219         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7220         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7221         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7222         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7223         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7224         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7225         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7226         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7227         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7228         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7229         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7230         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7231         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7232         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7233         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7234         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7235         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7236         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7237         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7238         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7239         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7240         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7241         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7242         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7243         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7244         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7245         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7246         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7247         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7248         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7249         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7250         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7251         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7252         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7253         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7254         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7255         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7256         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7257         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7258         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7259         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7260         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7261         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7262         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7264 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7266         [BZ #17844]
7267         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7268         (getutent): Use weak_alias in non SHARED case
7269         and default_symbol_version in SHARED case.
7270         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7271         (getutent_r, pututline): Likewise.
7272         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7273         (getutid): Likewise.
7274         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
7275         (getutid_r): Likewise.
7276         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
7277         (getutline): Likewise.
7278         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7279         (getutline_r): Likewise.
7280         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7281         (updwtmp): Likewise.
7283 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7285         [BZ #17848]
7286         * sysdeps/s390/s390-32/memcmp.S
7287         (memcmp_g5): Rename to __memcmp_g5.
7288         * sysdeps/s390/s390-32/memcpy.S
7289         (memcpy_g5): Rename to __memcpy_g5.
7290         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7291         (memcpy_mvcle) Rename to __memcpy_mvcle.
7292         * sysdeps/s390/s390-32/memset.S
7293         (memset_g5): Rename to __memset_g5.
7294         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7295         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7296         and use prefixed functions.
7297         * sysdeps/s390/s390-32/multiarch/memcmp.S
7298         (memcmp_z196): Rename to __memcmp_z196.
7299         (memcmp_z10): Rename to __memcmp_z10.
7300         (memcmp): Set alias to __memcmp_g5.
7301         (bcmp): Set alias to __memcmp_g5.
7302         * sysdeps/s390/s390-32/multiarch/memcpy.S
7303         (memcpy_z196): Rename to __memcpy_z196.
7304         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7305         (memcpy_z10): Rename to __memcpy_z10.
7306         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7307         (memcpy): Set alias to __memcpy_g5.
7308         * sysdeps/s390/s390-32/multiarch/memset.S
7309         (memset_z196): Rename to __memset_z196.
7310         Jump to __memset_mvcle instead of memset_mvcle.
7311         (memset_z10): Rename to __memset_z10.
7312         Jump to __memset_mvcle instead of memset_mvcle.
7313         (memset_mvcle) Rename to __memset_mvcle.
7314         (memset): Set alias to __memset_g5.
7315         * sysdeps/s390/s390-64/memcmp.S
7316         (memcmp_z900): Rename to __memcmp_z900.
7317         * sysdeps/s390/s390-64/memcpy.S
7318         (memcpy_z900): Rename to __memcpy_z900.
7319         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7320         (memcpy_mvcle) Rename to __memcpy_mvcle.
7321         * sysdeps/s390/s390-64/memset.S
7322         (memset_z900): Rename to __memset_z900.
7323         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
7324         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7325         and use prefixed functions.
7326         * sysdeps/s390/s390-64/multiarch/memcmp.S
7327         (memcmp_z196): Rename to __memcmp_z196.
7328         (memcmp_z10): Rename to __memcmp_z10.
7329         (memcmp): Set alias to __memcmp_z900.
7330         (bcmp): Set alias to __memcmp_z900.
7331         * sysdeps/s390/s390-64/multiarch/memcpy.S
7332         (memcpy_z196): Rename to __memcpy_z196.
7333         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7334         (memcpy_z10): Rename to __memcpy_z10.
7335         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7336         (memcpy): Set alias to __memcpy_z900.
7337         * sysdeps/s390/s390-64/multiarch/memset.S
7338         (memset_z196): Rename to __memset_z196.
7339         Jump to __memset_mvcle instead of memset_mvcle.
7340         (memset_z10): Rename to __memset_z10.
7341         Jump to __memset_mvcle instead of memset_mvcle.
7342         (memset_mvcle) Rename to __memset_mvcle.
7343         (memset): Set alias to __memset_z900.
7345 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
7347         [BZ #17748]
7348         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
7349         __fesetenv instead of fesetenv.
7351 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7353         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
7354         macro.
7356 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7358         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
7359         regression on LE.
7361         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
7362         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
7363         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7364         strncmp-power8 object.
7365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7366         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
7367         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
7368         * NEWS: Update.
7370 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7371             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7373         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
7374         trailing byte check.
7376 2015-01-13  David S. Miller  <davem@davemloft.net>
7378         * include/signal.h (__sigreturn): Guard with __USE_MISC.
7380 2015-01-13  Roland McGrath  <roland@hack.frob.com>
7382         * login/logout.c (logout): Use memset rather than bzero.
7383         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
7384         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7385         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7386         (_gethtbyaddr): Likewise.
7387         * locale/programs/simple-hash.c (bcopy): Macro removed.
7389 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7391         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7392         Add strcmp-power8 object.
7393         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7394         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7395         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7396         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7397         __strcmp_power8 implementation.
7398         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7399         * NEWS: Update.
7401         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7402         Add strncpy-power8 and stpncpy-power8 objects.
7403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7404         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7405         implementations.
7406         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7407         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7408         __stpncpy_power8 implementation.
7409         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7410         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7411         __strncpy_power8 implementation.
7412         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7413         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7414         * NEWS: Update.
7416         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7417         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7418         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7420         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7421         strncat-power8 object.
7422         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7423         __strcat_power8 implementation.
7424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7425         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7426         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7427         optimized strcat for power8.
7429         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7430         strcpy-power8 and stpcpy-power8 objects.
7431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7432         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7433         implementations.
7434         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7435         multiarch stpcpy implementation for POWER8.
7436         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7437         multiarch strcpy implementation for POWER8.
7438         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7439         __strcpy_power8 function.
7440         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7441         stpcpy for POWER8.
7442         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7443         strcpy for POWER8.
7444         * NEWS: Update.
7446 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
7448         [BZ #16009]
7449         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7450         weights and rules. Use do_xfrm_cached if data fits in cache,
7451         do_xfrm otherwise.  Moved former main loop to...
7452         * (do_xfrm_cached): New function.
7453         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7454         find_idx, find_position and stack_push.
7455         * (find_idx): New function.
7456         * (find_position): Likewise.
7457         * localedata/sort-test.sh: Added test run for do_xfrm.
7458         * localedata/xfrm-test.c (main): Added command line option
7459         -nocache to run the test with strings that are too large for
7460         the STRXFRM cache.
7462 2015-01-13  Torvald Riegel  <triegel@redhat.com>
7464         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7465         variable to lll_futex_wake call, not the value itself.
7467 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
7469         [BZ #17803]
7470         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7471         twom64.  Adjust value to 0x1p-64L.
7472         (__scalblnl): Only return standard underflowing result for K <=
7473         -64 not K <= -63; adjust exponent for underflowing result by 64
7474         not 63.
7475         * math/libm-test.inc (scalbn_test_data): Add more tests.
7476         (scalbln_test_data): Likewise.
7478         [BZ #17834]
7479         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7480         0x1p63L.
7481         (__scalblnl): Get new exponent of adjusted subnormal value from ES
7482         not HX.
7483         * math/libm-test.inc (scalbn_test_data): Add more tests.
7484         (scalbln_test_data): Likewise.
7486 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7487             Stefani Seibold  <stefani@seibold.net>
7489         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7490         (sysdep_routines): Add dl-vdso here, ...
7491         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7492         (sysdep_routines): ... not here.
7493         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7494         fallback when vDSO is not presented.
7495         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7496         Define with libc_hidden_proto/libc_hidden_data_def definitions.
7497         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7498         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7499         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7500         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7501         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7502         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7503         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7504         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7505         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
7506         fallback configurable symbol when vDSO is not available.
7507         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7508         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
7509         be able to redefine fallback symbol when vDSO is not available.
7510         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7511         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7513 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7515         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7516         (TLS_INIT_TP): Add tm_capable initialization.
7517         (TLS_DEFINE_INIT_TP): Likewise.
7518         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7519         TCB.
7520         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7521         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7522         calculation.
7523         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7524         transactoion is lock elision is built and TCB tm_capable is set.
7525         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7527         (INTERNAL_SYSCALL_NCS): Likewise.
7528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7529         (INTERNAL_SYSCALL_NCS): Likewise.
7530         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7532         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7533         for powerpc.
7534         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7535         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7536         and remove it for 32 bits case.
7537         [pthread_rwlock_t] (__rwelision): New field for lock elision.
7538         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7539         initialization.
7540         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7541         Disable lock elision with rdlocks if elision is not available.
7543         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7544         (sysdep_routines): Add lock elision objects.
7545         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7546         [pthread_mutex_t] (__spins): Rework to add lock elision field.
7547         [pthread_mutex_t] (__elision): Add field.
7548         [__PTHREAD_SPINS]: Adjust to init lock elision field.
7549         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7550         elision definitions for powerpc.
7551         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7552         implementation of lock elision for powerpc.
7553         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7554         implementation of timed lock elision for powerpc.
7555         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7556         implementation of trylock with lock elision for powerpc.
7557         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7558         implementaion of unlock for lock elision for powerpc.
7559         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7560         automatic enable lock elision for mutexes.
7561         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7562         transaction execution definitions for powerpc.
7563         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7564         definitions.
7565         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7566         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7567         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7568         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7569         * NEWS: Update.
7571 2015-01-09  Roland McGrath  <roland@hack.frob.com>
7573         * sysdeps/posix/shm-directory.c: Use <> rather than ""
7574         for #include of <shm-directory.h>.
7576 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
7578         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7579         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7581 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
7583         [BZ #17791]
7584         * NEWS: Mention bug fix.
7585         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7586         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7587         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7589 2015-01-09  Torvald Riegel <triegel@redhat.com>
7591         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7593 2015-01-09  Torvald Riegel <triegel@redhat.com>
7595         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7597 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7599         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7600         pointer and cast to uintptr_t.
7602 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7604         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7605         removed.
7606         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7608 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7610         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7611         of 0.
7613 2015-01-08  Roland McGrath  <roland@hack.frob.com>
7615         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7616         <nptl/pthreadP.h> instead.
7617         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7619         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7620         already defined.
7621         [__SIGRTMIN] (init): Function removed.
7622         [__SIGRTMIN] (initialized): Variable removed.
7623         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7624         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7625         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7626         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7627         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7628         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7629         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7630         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7631         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7632         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7633         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7634         * sysdeps/nptl/allocrtsig.c: New file.
7635         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7636         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7637         * sysdeps/generic/testrtsig.h: File removed.
7639         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7640         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7642         * nptl/nptl-init.c (pthread_functions): Conditionalize
7643         .ptr__nptl_setxid initialization on [SIGSETXID].
7645         * sysdeps/nptl/sys/procfs.h: New file.
7646         * nptl_db/Makefile (headers): Add it.
7647         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7649         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7650         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7651         * nptl/pthread_attr_setaffinity.c: Include it.
7652         * nptl/pthread_setattr_default_np.c: Likewise.
7653         * nptl/check-cpuset.h: New file.
7655 2015-01-08  Richard Henderson  <rth@redhat.com>
7657         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7658         (CFLAGS-tst-execstack-prog.c): Likewise.
7659         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7661 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
7662             Sandra Loosemore  <sandra@codesourcery.com>
7663             Andrew Jenner  <andrew@codesourcery.com>
7664             Joseph Myers  <joseph@codesourcery.com>
7665             Nathan Sidwell  <nathan@codesourcery.com>
7667         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7668         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7669         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7670         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7671         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7672         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7673         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7674         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7675         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7676         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7677         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7678         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7679         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7680         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7681         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7682         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7683         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7685 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7687         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7688         timespec struct member in syscall macro.
7689         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7690         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7691         first timeval struct member in syscall macro.
7692         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7694 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
7696         [BZ #17748]
7697         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7698         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7699         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7700         __feupdateenv and define as weak alias of __feupdateenv.  Use
7701         libm_hidden_weak.
7702         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7703         libm_hidden_def.
7704         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7705         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
7706         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7707         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7708         libm_hidden_def.
7709         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7710         __feupdateenv and define as weak alias of __feupdateenv.  Use
7711         libm_hidden_weak.
7712         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7713         libm_hidden_def.
7714         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7715         __feupdateenv and define as weak alias of __feupdateenv.  Use
7716         libm_hidden_weak.
7717         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7718         libm_hidden_def.
7719         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7720         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7721         (__feupdateenv): Likewise.
7722         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7723         __feupdateenv and define as weak alias of __feupdateenv.  Use
7724         libm_hidden_weak.
7725         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7726         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7727         libm_hidden_def.
7728         * sysdeps/tile/math_private.h (__feupdateenv): New inline
7729         function.
7730         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7731         libm_hidden_def.
7732         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7733         __feupdateenv instead of feupdateenv.
7734         (default_libc_feupdateenv_test): Likewise.
7735         (libc_feresetround_ctx): Likewise.
7737 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7739         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7740         prototype.
7742 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
7744         * posix/regcomp.c (parse_bracket_exp): Initialize type to
7745         COLL_SYM in a couple of places to avoid uninitialized variable
7746         wanings on tilegx gcc 4.8.2.
7748 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7750         * sysdeps/aarch64/strcpy.S: New file.
7751         * sysdeps/aarch64/stpcpy.S: New file.
7752         * NEWS: Updated.
7754 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7756         * sysdeps/aarch64/strrchr.S: New file.
7757         * NEWS: Updated.
7759 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
7761         [BZ #17658]
7762         * stdlib/setenv.c: Fix memory leak when setting large,
7763         duplicate string.
7765 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
7767         [BZ #17273]
7768         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7769         and tabs from buffer before parsing fstab entry.
7770         * misc/tst-mntent.c (main): Add test for mount entry with
7771         trailing spaces and tabs.
7773 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
7775         [BZ #17748]
7776         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
7777         * math/fesetround.c (fesetround): Rename to __fesetround and
7778         define as weak alias of __fesetround.  Use libm_hidden_weak.
7779         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7780         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7781         * sysdeps/arm/fesetround.c (fesetround): Likewise.
7782         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7783         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7784         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7785         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7786         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7787         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7788         __fesetround_inline.
7789         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7790         __fesetround_inline instead of __fesetround.
7791         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7792         __fesetround and define as weak alias of __fesetround.  Use
7793         libm_hidden_weak.  Call __fesetround_inline instead of
7794         __fesetround.
7795         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7796         __fesetround and define as weak alias of __fesetround.  Use
7797         libm_hidden_weak.
7798         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7799         Likewise.
7800         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7801         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7802         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7803         * sysdeps/tile/math_private.h (__fesetround): New inline function.
7804         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7805         __fesetround and define as weak alias of __fesetround.  Use
7806         libm_hidden_weak.
7807         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7808         __fesetround instead of fesetround.
7809         (default_libc_feholdexcept_setround): Likewise.
7810         (libc_feholdsetround_ctx): Likewise.
7811         (libc_feholdsetround_noex_ctx): Likewise.
7813         [BZ #17748]
7814         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7815         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7816         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7817         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7818         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7819         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7820         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7821         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7822         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7823         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7824         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7825         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7826         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7827         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7828         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7829         libm_hidden_def.
7830         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7831         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7832         Likewise.
7833         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7834         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7835         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7836         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7837         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7838         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7839         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7840         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7841         __fesetenv instead of fesetenv.
7842         (libc_feresetround_noex_ctx): Likewise.
7843         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7844         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7845         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7846         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7847         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7848         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7849         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7850         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7851         (__feupdateenv): Likewise.
7852         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7853         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7854         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7855         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7857 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7859         [BZ #17806]
7860         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7861         addresses have been freed.
7863 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7865         * resolv/res_init.c (__res_vinit): Improve comments about nserv
7866         and nservall.
7868 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
7870         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7871         Clean up check_pf allocation pattern. addresses
7873 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7875         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7876         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7877         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7878         * nptl/pthread_exit.c (__pthread_exit): Likewise.
7879         * nptl/pthread_join.c (pthread_join): Likewise.
7880         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7881         * sysdeps/posix/waitid.c (__waitid): Likewise.
7882         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7883         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7884         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7885         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7886         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7887         Likewise.
7888         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7889         (__libc_pread64): Likewise.
7890         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7891         (__libc_pwrite): Likewise.
7892         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7893         (__libc_pwrite64): Likewsie.
7894         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7895         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7896         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7897         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7898         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7899         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7900         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7902         Likewise.
7903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7904         (__libc_pread64): Likewise.
7905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7906         Likewise.
7907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7908         (__libc_pwrite64): Likewise.
7909         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7910         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7911         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7912         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7913         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7914         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7915         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7916         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7917         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7918         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7919         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7920         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7921         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7922         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7923         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7924         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7925         Likewise.
7927 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7929         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7930         (CFLAGS-test-double.c): Likewise.
7931         (CFLAGS-test-ldouble.c): Likewise.
7932         (CPPFLAGS-test-ifloat.c): Likewise.
7933         (CPPFLAGS-test-idouble.c): Likewise.
7934         (CPPFLAGS-test-ildoubl.c): Likewise.
7935         (CFLAGS-test-test-fenv.c): Remove variable.
7936         (CFLAGS-test-misc.c): Likewise.
7938 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
7940         [BZ #17797]
7941         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7942         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7943         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7944         CLOCKS_PER_SEC == 1000000.
7945         * time/clocktest.c (main): Replace %ld with %jd and cast to
7946         intmax_t.
7948 2015-01-05  Roland McGrath  <roland@hack.frob.com>
7950         * sysdeps/generic/unwind-resume.h: New file.
7951         * sysdeps/gnu/unwind-resume.c: Include it.
7952         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7953         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7954         argument list.
7955         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7956         global rather than static.
7957         (_Unwind_Resume): Update user.
7958         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7959         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
7960         rather than static.  Add __attribute__ ((cold)).
7961         (_Unwind_Resume, __gcc_personality_v0): Update callers.
7962         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7963         * sysdeps/arm/arm-unwind-resume.S: New file.
7964         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7965         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7966         * sysdeps/arm/Makefile [$(subdir) = csu]
7967         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7968         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7969         Add rt-arm-unwind-resume.
7970         [$(subdir) = nptl]
7971         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7972         Add pt-arm-unwind-resume.
7973         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7974         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7976 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7978         [BZ #17748]
7979         * include/fenv.h (__feholdexcept): Declare.  Use
7980         libm_hidden_proto.
7981         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7982         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
7983         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7984         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7985         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7986         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7987         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7988         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7989         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7990         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7991         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7992         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7993         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7994         (feholdexcept): Likewise.
7995         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7996         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7997         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7998         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7999         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8000         __feholdexcept instead of feholdexcept.
8001         (default_libc_feholdexcept_setround): Likewise.
8003 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8005         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8006         to avoid using stl/str to align destination.
8008 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8010         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8012 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8014         [BZ #17796]
8015         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8016         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8017         Define as weak alias not strong alias.
8019 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8021         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8022         bltzal with addiupc.
8023         (RTLD_START): Ditto.
8025 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8027         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8028         for __vdso_* functions in declarations.
8029         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8030         definitions.
8031         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8032         INTERNAL_VSYSCALL): Use struct return types to check for error.
8034         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8035         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8036         function with cast from llround().
8037         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8038         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8039         Define.
8041 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8043         [BZ #17793]
8044         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8045         Define as weak alias not strong alias.
8047         [BZ #17635]
8048         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8049         ...
8050         * ctype/ctype-extn.c: ... here.
8051         (__isblank_l): Move to ...
8052         * ctype/ctype-c99_l.c: ... here.  New file.
8053         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8054         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8055         Remove variable.
8056         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8057         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8058         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8059         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8060         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8062         [BZ #17777]
8063         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8064         (posix_fadvise64): Define as weak alias not strong alias.
8065         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8066         (posix_fallocate64): Likewise.
8067         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8068         Remove variable.
8069         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8070         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8071         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8072         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8073         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8075 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8077         [BZ #16191]
8078         * NEWS: Mention bug fix.
8079         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8080         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8081         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8082         (HOST_STACK_END_ADDR): Likewise.
8084 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8086         [BZ #17748]
8087         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8088         * math/fegetround.c (fegetround): Rename to __fegetround and
8089         define as weak alias of __fegetround.  Use libm_hidden_weak.
8090         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8091         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8092         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8093         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8094         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8095         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8096         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8097         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8098         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8099         Undefine after rather than before function definition; use
8100         parentheses around function name in definition.
8101         (__fegetround): Also undefine macro after function definition.
8102         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8103         __fegetround and define as weak alias of __fegetround.  Use
8104         libm_hidden_weak.  Do not undefine as macro.
8105         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8106         Likewise.
8107         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8108         __fegetround and define as weak alias of __fegetround.  Use
8109         libm_hidden_weak.
8110         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8111         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8112         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8113         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8114         __fegetround and define as weak alias of __fegetround.  Use
8115         libm_hidden_weak.
8116         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8117         __fegetround instead of fegetround.
8119         [BZ #17782]
8120         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8121         Condition macro definition on [__USE_MISC].
8123         [BZ #17781]
8124         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8125         (struct sigaction): Change type of sa_flags field to int.
8127         [BZ #17780]
8128         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8129         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8130         __glibc_reserved0.
8132         * nptl/version.c (banner): Use single year in copyright notice.
8134         * NEWS: Update copyright dates.
8135         * catgets/gencat.c (print_version): Likewise.
8136         * csu/version.c (banner): Likewise.
8137         * debug/catchsegv.sh: Likewise.
8138         * debug/pcprofiledump.c (print_version): Likewise.
8139         * debug/xtrace.sh (do_version): Likewise.
8140         * elf/ldconfig.c (print_version): Likewise.
8141         * elf/ldd.bash.in: Likewise.
8142         * elf/pldd.c (print_version): Likewise.
8143         * elf/sotruss.sh: Likewise.
8144         * elf/sprof.c (print_version): Likewise.
8145         * iconv/iconv_prog.c (print_version): Likewise.
8146         * iconv/iconvconfig.c (print_version): Likewise.
8147         * locale/programs/locale.c (print_version): Likewise.
8148         * locale/programs/localedef.c (print_version): Likewise.
8149         * login/programs/pt_chown.c (print_version): Likewise.
8150         * malloc/memusage.sh (do_version): Likewise.
8151         * malloc/memusagestat.c (print_version): Likewise.
8152         * malloc/mtrace.pl: Likewise.
8153         * manual/libc.texinfo: Likewise.
8154         * nptl/version.c (banner): Likewise.
8155         * nscd/nscd.c (print_version): Likewise.
8156         * nss/getent.c (print_version): Likewise.
8157         * nss/makedb.c (print_version): Likewise.
8158         * posix/getconf.c (main): Likewise.
8159         * scripts/test-installation.pl: Likewise.
8160         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8162 2015-01-02  Will Newton  <will.newton@linaro.org>
8164         * sysdeps/arm/armv7/configure: Removed.
8165         * sysdeps/arm/armv7/configure.ac: Likewise.
8167 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8169         * All files with FSF copyright notices: Update copyright dates
8170         using scripts/update-copyrights.
8171         * intl/plural.c: Regenerated.
8172         * locale/programs/charmap-kw.h: Likewise.
8173         * locale/programs/locfile-kw.h: Likewise.
8175 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8177         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8179 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8181         [BZ #17748]
8182         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8183         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8184         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8185         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8186         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8187         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8188         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8189         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8190         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8191         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8192         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8193         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8194         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8195         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8196         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8197         libm_hidden_def.
8198         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8199         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8200         Likewise.
8201         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8202         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8203         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8204         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8205         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8206         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8207         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8208         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8209         __fegetenv instead of fegetenv.
8210         (libc_feholdsetround_noex_ctx): Likewise.
8212 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8214         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8215         (Elf_MIPS_ABIFlags_v0): New structure.
8216         (EF_MIPS_FP64): Define.
8217         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8218         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8219         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8220         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8221         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8222         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8223         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8224         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8225         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8226         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8227         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8228         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8229         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8230         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8231         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8232         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8233         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8234         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8235         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8236         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8237         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8238         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8239         field.
8240         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8241         EF_MIPS_FP64.
8242         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8243         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8244         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8245         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8246         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8247         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8248         * sysdeps/mips/tst-abi-interlink.c: Likewise.
8249         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8250         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8251         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8252         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8253         record the current FP ABI extension.
8254         (mips-mode-switch): Define to show if kernel headers support mode
8255         switching.
8256         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8257         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8258         supported SYSV ABI version to 3.
8259         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8260         feature.
8262 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8263             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8265         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8266         path.
8267         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8269 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8271         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8272         __fegetround and redefine to call __fegetround.  Remove condition
8273         on [!__NO_MATH_INLINES].
8274         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
8275         function.
8276         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
8277         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8278         Remove macro.
8279         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8280         instead of <fenv_libc.h>.
8281         (__llrintl): Call fegetround instead of __fegetround.
8282         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8283         instead of <fenv_libc.h>.
8284         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8285         (__lrintl): Call fegetround instead of __fegetround.
8286         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8287         instead of <fenv_libc.h>.
8288         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8289         (__rintl): Call fegetround instead of __fegetround.
8291 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8293         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8294         arrays.
8296 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8298         [BZ #17775]
8299         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8300         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8301         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8303 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8305         * sysdeps/i386/tls-macros.h: Include <features.h>.
8306         (TLS_LE): Use non-PIC version for GCC >= 5.0.
8307         (TLS_IE): Likewise.
8308         (TLS_LD): Likewise.
8309         (TLS_GD): Likewise.
8310         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8311         define for GCC >= 5.0.
8313 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
8315         * math/test-fenv.c (test_single_exception, set_single_exc,
8316         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8317         feexcp_mask_test, feenable_test, fe_single_test): Add
8318         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
8319         case where they are not used.
8320         * math/libm-test.inc: Likewise.
8321         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
8322         unused in the absence of FP rounding/exception support.
8323         * stdio-common/tst-printf-round.c: Likewise.
8324         * stdlib/tst-strtod-round.c: Likewise.
8325         * stdlib/tst-strtod-underflow.c: Likewise.
8327 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
8329         [BZ #17723]
8330         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
8331         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
8332         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8333         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8334         libm_hidden_weak.
8335         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
8336         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8337         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
8338         libm_hidden_def.
8339         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8340         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8341         libm_hidden_weak.
8342         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
8343         Likewise.
8344         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
8345         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8346         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8347         libm_hidden_weak.
8348         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8349         libm_hidden_def.
8350         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8351         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
8352         (__feraiseexcept): Likewise.
8353         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8354         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8355         libm_hidden_weak.
8356         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8357         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8358         libm_hidden_def.
8359         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
8360         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
8361         Use libm_hidden_def.
8362         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
8363         libm_hidden_def.
8364         (feraiseexcept): Define as weak not strong alias.  Use
8365         libm_hidden_weak.
8366         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
8367         New inline function.  Factored out of ...
8368         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
8369         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
8370         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
8371         feraiseexcept.
8372         * math/w_acos.c (__acos): Likewise.
8373         * math/w_asin.c (__asin): Likewise.
8374         * math/w_ilogb.c (__ilogb): Likewise.
8375         * math/w_j0.c (y0): Likewise.
8376         * math/w_j1.c (y1): Likewise.
8377         * math/w_jn.c (yn): Likewise.
8378         * math/w_log.c (__log): Likewise.
8379         * math/w_log10.c (__log10): Likewise.
8380         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
8381         * sysdeps/aarch64/fpu/math_private.h
8382         (libc_feupdateenv_test_aarch64): Likewise.
8383         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8384         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8385         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8386         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8387         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8388         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8389         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8390         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8391         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8392         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8394 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8396         [BZ #17732]
8397         * io/test-utime.c (main): Replace %ld with %jd and cast to
8398         intmax_t.
8399         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8400         * nptl/tst-mutex5.c: Include <stdint.h>.
8401         (do_test): Replace %ld with %jd and cast to intmax_t.
8402         * posix/tst-regex.c (run_test): Likewise.
8403         (run_test_backwards): Likewise.
8404         * rt/tst-clock.c: Include <stdint.h>.
8405         (clock_test): Replace %ld with %jd and cast to intmax_t.
8406         * rt/tst-cpuclock1.c: Include <stdint.h>.
8407         (do_test): Replace %lu with %ju and cast to uintmax_t.
8408         * rt/tst-cpuclock2.c: Include <stdint.h>.
8409         (do_test): Replace %lu with %ju and cast to uintmax_t.
8410         * rt/tst-mqueue1.c: Include <stdint.h>.
8411         (check_attrs): Replace %ld with %jd and cast to intmax_t.
8412         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8413         intmax_t.
8414         * rt/tst-mqueue4.c (do_test): Likewise.
8415         * rt/tst-timer4.c: Include <stdint.h>.
8416         (check_ts): Replace %ld with %jd and cast to intmax_t.
8417         (do_test): Likewise.
8418         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8419         and cast to intmax_t.
8420         * sysdeps/pthread/tst-timer.c (main): Likewise.
8421         * time/clocktest.c (main): Likewise.
8422         * time/tst-posixtz.c (do_test): Likewise.
8423         * timezone/tst-timezone.c (main): Likewise.
8425 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8426             H.J. Lu  <hongjiu.lu@intel.com>
8428         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8429         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8430         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8431         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8432         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8433         version if bit_Fast_Unaligned_Load is set.
8434         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8435         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8436         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8437         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8438         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8439         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8440         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8441         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8442         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8443         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8444         to 4.
8445         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8446         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8447         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8448         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8450 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
8452         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8453         instead of #if to avoid a Wundef warning.
8454         * stdlib/tst-limits.c (do_test): Likewise.
8456         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8457         parallel other exception macros.
8458         (fegetenv): Convert from macro to extern inline so that it applies
8459         retroactively to inline functions already seen by the compiler.
8460         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8462         * posix/Makefile (before-compile): Use $(objpfx) for
8463         posix-conf-vars-def.h.
8465 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8467         * posix/getconf.c (main): Use size_t for type of I.
8468         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8469         NSPEC.
8471         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8472         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8473         * posix/posix-envs.def: Likewise.
8474         * sysdeps/posix/sysconf.c: Likewise.
8475         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8476         (specs): Remove array.
8477         * scripts/gen-posix-conf-vars.awk: Support generation of specs
8478         array.
8480         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8481         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8482         (__sysconf): Use CONF_IS_* macros.
8484         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8485         ($(objpfx)posix-conf-vars-def.h): New target.
8486         * posix/posix-conf-vars.list: New file.
8487         * posix/posix-conf-vars.h: New file.
8488         * posix/confstr.c: Include posix-conf-vars.h.
8489         (confstr): Use CONF_IS_* macros.
8490         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
8491         CONF_IS_* macros.
8492         * scripts/gen-posix-conf-vars.awk: New file.
8494 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
8496         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8497         fegetround): Add no-op macros to avoid linknamespace issues.
8499         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8500         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8502         * sysdeps/unix/sysv/linux/tile/sysdep.h
8503         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8504         assembly-specific section to avoid a redefinition warning.
8506         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8507         long before casting to pointer to avoid a cast warning.
8509 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
8511         * sysdeps/tile/tilegx/Implies: New file.
8513 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
8515         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8517 2014-12-23  Florian Weimer  <fweimer@redhat.com>
8519         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8521 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8523         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8524         not define.
8525         * sysdeps/unix/sysv/linux/utimes.c: Do not include
8526         <kernel-features.h>.
8527         (__utimes) [__NR_utimes]: Make code unconditional.
8528         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8529         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8530         (__ASSUME_UTIMES): Do not undefine.
8531         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8532         (__ASSUME_UTIMES): Likewise.
8533         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8534         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8535         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8536         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8538 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8540         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8542 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
8544         [BZ #17747]
8545         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8546         alias to weak alias for j0l, y0l.
8547         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8548         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8550         [BZ #17746]
8551         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8552         conversion.
8554 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8556         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8557         to zero if not already defined.
8559 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8561         [BZ #17724]
8562         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8563         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
8564         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
8565         (char *) casts added.
8566         * sysdeps/ieee754/k_standardf.c: New file.
8567         * sysdeps/ieee754/k_standardl.c: Likewise.
8568         * math/Makefile (libm-support): Remove k_standard.
8569         (libm-calls): Add k_standard.
8571 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8573         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8574         Optimize to avoid an unnecessary FPCR read.
8576 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8578         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8579         Optimize to reduce FPCR/FPSR accesses.
8581 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8583         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8584         Call libc_fetestexcept_aarch64.
8586 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8588         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8589         Call libc_fesetround_aarch64.
8591 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8593         [BZ #17733]
8594         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8595         (__bind): Do not define as weak alias.
8596         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8597         define.
8598         (__getsockname): Do not define as weak alias.
8600 2014-12-22  Will Newton  <will.newton@linaro.org>
8602         * manual/install.texi: Document that we require bison 2.7
8603         or above.
8604         * INSTALL: Regenerate.
8605         * configure.ac: Use AC_CHECK_PROG_VER instead of
8606         AC_PATH_PROG when checking for bison and check for
8607         version 2.7 or above.
8608         * configure: Regenerate.
8610 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
8612         [BZ #17745]
8613         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8614         * sysdeps/tile/ffsll.c (ffsll): To here.
8616         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8618 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8620         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8621         if not defined.
8622         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8623         definition.
8624         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8625         hidden ___tls_get_addr.
8626         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8627         hidden __tls_get_addr.
8628         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8629         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8630         Likewise.
8632 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
8634         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8635         _dl_init call.
8637 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8639         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8640         from "call _dl_init@PLT".
8641         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8643 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
8645         * manual/search.texi: (Array Sort Function): Clarify stable sorting
8646         guarantees.
8648 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
8650         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8652 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8654         [BZ #17744]
8655         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8656         strnlen.
8658 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8660         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8661         of multu on MIPSr6.
8662         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8663         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8664         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8665         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8666         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8668 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8670         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8671         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8672         (PTR_SUBU): Use subu for mips32r6/mips64r6.
8673         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8674         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8675         mips32r6/mips64r6.
8676         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8678 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
8680         * string/strncat.c (STRNCAT): Simplify implementation.
8682 2014-12-19  David S. Miller  <davem@davemloft.net>
8684         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8685         access the quad as both a long double and as a series of 4 words.
8687         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8688         link_map->l_info array access.
8690 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8692         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8694         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8695         * math/atest-exp2.c (TIMEOUT): Likewise.
8696         * math/atest-sincos.c (TIMEOUT): Likewise.
8698 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8700         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8701         -Wno-error with -fno-builtin-lround.
8703 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8705         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8706         Contains futex constants and functions moved over from ...
8707         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
8708         <lowlevellock-futex.h>.
8709         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8710         (lll_timedwait_tid): Add comments and parentheses around macro
8711         arguments.
8713 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8715         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8716         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
8717         (__lll_private_flag): Remove.
8718         (lll_futex_wait): Likewise.
8719         (lll_futex_timed_wait): Likewise.
8720         (lll_futex_wake): Likewise.
8721         (lll_futex_requeue): Likewise.
8722         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8723         (__lll_timedwait_tid): Spell out argument names.
8724         (lll_timedwait_tid): Add comments and parentheses around macro
8725         arguments.
8726         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8727         LLL_SHARED and LLL_PRIVATE usable from assembly code.
8729 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8731         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8732         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8733         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8734         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8735         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8736         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8737         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8738         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8739         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8740         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8741         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8742         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8743         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8744         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8745         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8746         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8747         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8748         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8749         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8751 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8753         * sysdeps/x86_64/x32/Makefile: New file.
8755 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8757         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8758         1L with (mp_limb_t) 1.
8760 2014-12-17  Roland McGrath  <roland@hack.frob.com>
8762         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8763         * nptl/libc_pthread_init.c: ... here.
8764         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8765         * nptl/register-atfork.c: ... here.
8767         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8768         Use pthread_sigmask rather than INTERNAL_SYSCALL.
8769         Use assert_perror to check its return value.
8770         (__gai_create_helper_thread): Likewise.
8772         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8774         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8776 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
8778         [BZ #17725]
8779         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8780         __profil_counter.
8781         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8782         Likewise.
8783         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8784         Likewise.
8785         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8786         Likewise.
8787         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8788         (profil_counter): Likewise.
8789         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8790         (profil_counter): Likewise.
8791         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8792         Likewise.
8793         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8794         Likewise.
8795         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8796         (profil_counter): Likewise.
8797         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8798         Likewise.
8799         [!__profil_counter] (profil_counter): Define as weak alias of
8800         __profil_counter.
8801         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8802         (profil_counter): Rename to __profil_counter.
8803         [!__profil_counter] (profil_counter): Define as weak alias of
8804         __profil_counter.
8805         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8806         (profil_counter): Rename to __profil_counter.
8807         [!__profil_counter] (profil_counter): Define as weak alias of
8808         __profil_counter.
8809         * sysdeps/posix/profil.c: Update comment referring to
8810         profil_counter.
8811         (__profil): Use __profil_counter instead of profil_counter.
8812         * sysdeps/posix/sprofil.c (profil_counter): Rename to
8813         __profil_counter.  Use __profil_counter_ushort and
8814         __profil_counter_uint in definitions.
8815         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8816         instead of profil_counter_uint and profil_counter_ushort.
8818         [BZ #17722]
8819         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8820         define as weak alias of __inet_makeaddr.
8821         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8822         as weak alias of __inet_addr.
8823         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8824         as weak alias of __inet_pton.  Use libc_hidden_weak.
8825         * include/arpa/inet.h (__inet_pton): Declare.  Use
8826         libc_hidden_proto.
8827         (inet_makeaddr): Don't use libc_hidden_proto.
8828         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
8829         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8830         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
8831         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8832         Remove variable.
8833         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8834         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8836 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
8838         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8840 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8842         * stdio-common/bug-vfprintf-nargs.c (do_test):
8843         Cast value to intptr_t to avoid format warning
8844         for usage with PRIdPTR printing macro.
8846 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8848         * libio/tst-widetext.c (do_test):
8849         Use format type %td instead of %Zd for ptrdiff_t
8850         in order to avoid format warning.
8852 2014-12-17  Andreas Schwab  <schwab@suse.de>
8854         * nscd/mem.c (gc): Add size_t cast to match printf format.
8856 2014-12-16  Roland McGrath  <roland@hack.frob.com>
8858         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8859         (init): Apply PTR_MANGLE to pointers before storing them.
8860         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8861         before using them.
8863 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
8865         [BZ #17719]
8866         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8867         define as weak alias of __memrchr.
8868         (__memrchr): Do not define as strong alias of memrchr.
8869         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8870         Remove variable.
8871         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8872         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8873         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8875         [BZ #17717]
8876         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8877         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
8878         (if_indextoname): Rename to __if_indextoname and define as weak
8879         alias of __if_indextoname.  Use libc_hidden_weak.
8880         (if_freenameindex): Rename to __if_freenameindex and define as
8881         weak alias of __if_freenameindex.
8882         (if_nameindex): Rename to __if_nameindex and define as weak alias
8883         of __if_nameindex.
8884         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8885         __if_nametoindex and define as weak alias of __if_nametoindex.
8886         Use libc_hidden_weak.
8887         (if_freenameindex): Rename to __if_freenameindex and define as
8888         weak alias of __if_freenameindex.
8889         (if_nameindex): Rename to __if_nameindex and define as weak alias
8890         of __if_nameindex.
8891         (if_indextoname): Rename to __if_indextoname and define as weak
8892         alias of __if_indextoname.  Use libc_hidden_weak.
8893         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8894         __if_nametoindex and define as weak alias of __if_nametoindex.
8895         Use libc_hidden_weak.
8896         (if_freenameindex): Rename to __if_freenameindex and define as
8897         weak alias of __if_freenameindex.  Use libc_hidden_weak.
8898         (if_nameindex_netlink): Use __if_freenameindex instead of
8899         if_freenameindex.
8900         (if_nameindex): Rename to __if_nameindex and define as weak alias
8901         of __if_nameindex.  Use libc_hidden_weak.
8902         (if_indextoname): Rename to __if_indextoname and define as weak
8903         alias of __if_indextoname.  Use libc_hidden_weak.
8904         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8905         libc_hidden_proto.
8906         [!_ISOMAC] (__if_freenameindex): Likewise.
8907         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8908         if_nametoindex.
8909         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8910         variable.
8911         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8912         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8913         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8914         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8915         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8916         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8917         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8919         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8920         Remove variable.
8921         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8922         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8924 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8926         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8927         subscript above bounds'
8929         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8930         bounds.
8932 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
8934         * libio/tst-fopenloc.c: Use test-skeleton.c.
8936         * stdlib/tst-bsearch.c: Use test-skeleton.c.
8937         (entry): Rename to ITEM.
8938         (do_test, comp): Adjust.
8940         * stdio-common/tst-fseek.c: Use test-skeleton.c.
8942 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8944         * string/tester.c: Include <libc-internal.h>.
8945         (test_memset): Ignore -Wmemset-transposed-args.
8947 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8949         * misc/tst-mntent2.c (do_test): Fix warning.
8951 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8953         * elf/tst-unique4lib.cc(a): Mark as used.
8955 2014-12-16  Florian Weimer  <fweimer@redhat.com>
8957         [BZ #17630]
8958         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8959         names.
8961 2014-12-16  Allan McRae  <allan@archlinux.org>
8963         * stdio-common/Makefile (tests): Re-add bug26.
8965 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
8967         [BZ #17657]
8968         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8969         static array.
8971 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
8973         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8974         (__lll_lock_wait): Likewise.
8975         (__lll_timedlock_wait): Likewise.
8976         (__lll_timedwait_tid): Likewise.
8977         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8978         (__lll_robust_timedlock_wait): Likewise.
8979         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8980         (lll_cond_trylock): Likewise.
8981         (__lll_lock): Likewise.
8982         (__lll_robust_lock): Likewise.
8983         (__lll_cond_lock): Likewise.
8984         (lll_robust_cond_lock): Likewise.
8985         (__lll_timedlock): Likewise.
8986         (__lll_robust_timedlock): Likewise.
8987         (__lll_unlock): Likewise.
8988         (__lll_robust_unlock): Likewise.
8989         (lll_wait_tid): Likewise.
8990         (lll_timedwait_tid): Likewise.
8992 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8994         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8996 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8998         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9000 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9002         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9003         * stdio-common/tst-sprintf.c: Likewise.
9005 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9007         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9009 2014-12-15  Jeff Law  <law@redhat.com>
9011         [BZ #16617]
9012         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9013         on the heap.  (CVE-2012-3406)
9014         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9015         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9016         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9018 2014-12-15  Will Newton  <will.newton@linaro.org>
9020         * manual/install.texi: Bump required version of texinfo
9021         to 4.7 from 4.5.
9022         * INSTALL: Regenerated.
9023         * configure.ac: Check for makeinfo version 4.7 and above.
9024         * configure: Regenerated.
9026 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9028         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9029         PREFIX, string constant to insert between directory and name.
9030         * sysdeps/posix/shm_open.c: Update caller.
9031         * sysdeps/posix/shm_unlink.c: Likewise.
9032         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9033         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9034         (SEM_SHM_PREFIX): New macro.
9035         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9036         [$(have-thread-library) = no].
9037         * nptl/Makefile (libpthread-routines): Add shm-directory.
9038         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9039         * sysdeps/nptl/shm-directory.h: New file.
9040         * sysdeps/posix/shm-directory.c
9041         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9042         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9043         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9044         INTERNAL_SYSCALL.
9045         (__where_is_shmfs): Function removed.
9046         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9047         Variables removed.
9048         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9049         Use SHM_GET_NAME.
9050         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9052         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9053         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9054         unconditional for use inside libpthread.
9055         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9057 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9059         * nptl/pthread_getaffinity.c: New file.
9060         * nptl/pthread_setaffinity.c: New file.
9061         * nptl/pthread_getname.c: New file.
9062         * nptl/pthread_setname.c: New file.
9064         * nptl/pthread_create.c (START_THREAD_DEFN)
9065         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9067 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9068             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9070         * resolv/res_send.c (send_vc): Disable warning resplen may
9071         be used uninitialized.
9073 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9075         * nptl/tst-mutex6.c
9076         (ATTR_NULL): New define checks ATTR against NULL.
9077         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9078         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9080 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9082         [BZ #17581]
9083         * malloc/hooks.c
9084         (mem2mem_check): Revert my previous change.
9085         (malloc_check_get_size): Revert my previous change.
9086         (mem2chunk_check): Revert my previous change.
9088 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9090         * sysdeps/posix/shm-directory.c: New file.
9091         * sysdeps/posix/shm-directory.h: New file.
9092         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9093         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9094         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9095         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9096         Transmute EPERM to EACCES.
9097         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9098         from ...
9099         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9100         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9102 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9104         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9105         pointer and cast to uintptr_t.
9106         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9107         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9108         Add cast to avoid warning.
9109         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9111 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9113         * nptl/semaphore.h: Move to ...
9114         * sysdeps/pthread/semaphore.h: ... here.
9115         * Makefile (installed-headers): Change nptl/semaphore.h to
9116         sysdeps/pthread/semaphore.h.
9118 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9120         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9121         generated error format strings.
9123         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9124         -Wformat-extra-args warnings for scanf formats.
9125         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9126         test of zero-length format (duh).
9127         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9128         corner-case scanf format test.
9129         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9130         generated fprintf format string.
9131         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9132         corner-case sprintf format tests.
9133         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9134         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9135         -Wformat-extra-args warnings throughout.
9136         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9137         (CFLAGS-scanf4.c): Likewise.
9138         (CFLAGS-scanf7.c): Likewise.
9139         (CFLAGS-tst-sprintf.c): Likewise.
9140         (CFLAGS-tst-printf.c): Likewise.
9141         (CFLAGS-tst-printfsz.c): Likewise.
9143 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9145         * include/cpio.h: New file.
9146         * include/fmtmsg.h: Likewise.
9148         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9149         corresponding format argument to size_t.
9150         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9151         arguments.
9152         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9153         corresponding format argument to size_t.
9154         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9155         arguments.
9156         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9157         corresponding format argument to size_t.
9158         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9159         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9160         (CFLAGS-tst-mbswcs2.c): Likewise.
9161         (CFLAGS-tst-mbswcs3.c): Likewise.
9162         (CFLAGS-tst-mbswcs4.c): Likewise.
9163         (CFLAGS-tst-mbswcs5.c): Likewise.
9164         (CFLAGS-tst-trans.c): Likewise
9166 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9168         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9169         rather than assuming they won't contain any '%'s.
9171 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9173         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9174         inhibit_loop_to_libcall to avoid recursive calls.
9175         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9176         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9178 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9180         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9181         prototype.
9183 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9185         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9186         integer value instead of boolean.
9188 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9190         * malloc/malloc.c: Fix powerof2 check.
9192 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9194         * locale/programs/locfile.h (maybe_swap_uint32):
9195         Remove inline and add unused attribute.
9197 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9199         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9200         Truncating assembler expression to a .long expression.
9202 2014-12-11  Andreas Schwab  <schwab@suse.de>
9204         * elf/rtld.c (struct map_args): Constify str member.
9205         (do_preload): Constify fname argument.
9207 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9209         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9210         constants definition.
9212 2014-12-11  Andreas Schwab  <schwab@suse.de>
9214         [BZ #16657]
9215         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9216         FORCE_ELISION instead of DO_ELISION.
9217         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9218         Remove.
9219         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9220         Likewise.
9222         * iconvdata/gconv-modules: Remove duplicate entry.
9224 2014-12-11  Will Newton  <will.newton@linaro.org>
9226         Merge gettext 0.19.3 into intl/.
9228         This involves a number of cosmetic changes to comments
9229         and ANSI function definitions and prototypes throughout
9230         all the files. The gettext copyright header is used but
9231         with the date ranges taken from the glibc copy.
9233         * NEWS: Add gettext merge to 2.21.
9234         * intl/bindtextdom.c: Switch to gettext copyright.
9235         Use ANSI definitions and prototypes.
9236         Use gl_* locking primitives rather than __libc_* ones.
9237         Use __builtin_expect rather than __glibc_likely/unlikely.
9238         * intl/dcgettext.c: Switch to gettext copyright.
9239         Use ANSI definitions and prototypes.
9240         * intl/dcigettext.c: Switch to gettext copyright.
9241         Use ANSI definitions and prototypes.
9242         (INTDIV0_RAISES_SIGFPE): New define.
9243         Use gl_* locking primitives rather than __libc_* ones.
9244         Include eval-plural.h instead of plural-eval.c.
9245         Use __builtin_expect rather than __glibc_likely/unlikely.
9246         * intl/dcngettext.c: Switch to gettext copyright.
9247         Use ANSI definitions and prototypes.
9248         * intl/dgettext.c: Likewise.
9249         * intl/dngettext.c: Likewise.
9250         * intl/plural-eval.c: Renamed to...
9251         * intl/eval-plural.h: ...this.
9252         * intl/explodename.c: Switch to gettext copyright.
9253         Use ANSI definitions and prototypes.
9254         (_nl_explode_name): Use strchr instead of __rawmemchr.
9255         * intl/finddomain.c: Switch to gettext copyright.
9256         Use ANSI definitions and prototypes.
9257         Use gl_* locking primitives rather than __libc_* ones.
9258         (_nl_find_domain): Use malloc rather than alloca for
9259         allocation of temporary locale name.
9260         * intl/gettext.c: Switch to gettext copyright.
9261         Use ANSI definitions and prototypes.
9262         * intl/gettextP.h: Switch to gettext copyright.
9263         Use ANSI definitions and prototypes.
9264         Use gl_* locking primitives rather than __libc_* ones.
9265         * intl/gmo.h: Switch to gettext copyright.
9266         (struct sysdep_string): Move struct segment_pair outside of
9267         struct definition.
9268         * intl/hash-string.c: Use ANSI definitions and prototypes.
9269         * intl/hash-string.h: Switch to gettext copyright.
9270         Use ANSI definitions and prototypes.
9271         * intl/l10nflist.c: Switch to gettext copyright.
9272         Use ANSI definitions and prototypes.
9273         (_nl_normalize_codeset): Avoid integer overflow.
9274         * intl/loadinfo.h: Switch to gettext copyright.
9275         Use ANSI definitions and prototypes.
9276         (LIBINTL_DLL_EXPORTED): New define.
9277         (PATH_SEPARATOR): New define.
9278         * intl/loadmsgcat.c: Switch to gettext copyright.
9279         * intl/localealias.c: Switch to gettext copyright.
9280         Use ANSI definitions and prototypes.
9281         (_nl_expand_alias): Use PATH_SEPARATOR.
9282         * intl/ngettext.c: Switch to gettext copyright.
9283         Use ANSI definitions and prototypes.
9284         * intl/plural-exp.c: Likewise.
9285         * intl/plural-exp.h: Switch to gettext copyright.
9286         Use ANSI definitions and prototypes.
9287         (struct expression): Move definition of enum operator outside
9288         of struct definition.
9289         * intl/plural.c: Regenerate.
9290         * intl/plural.y: Switch to gettext copyright.
9291         Use ANSI definitions and prototypes.
9292         Port to bison 3.0.
9293         * intl/textdomain.c: Switch to gettext copyright.
9294         Use ANSI definitions and prototypes.
9295         Use gl_* locking primitives rather than __libc_* ones.
9297 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
9299         * debug/warning-nop.c: Add used atrribute.
9301 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9303         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9305         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9306         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9307         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9309 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9310             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9312         [BZ #17634]
9313         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9314         Undefine after defining function.  Define as weak alias of
9315         __wcschr.  Use libc_hidden_weak.
9316         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
9317         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
9318         (libc_hidden_def): Also define __GI___wcschr alias.
9319         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
9320         __wcschr and define as weak alias of __wcschr.
9321         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
9322         __wcschr.
9323         [!WCSCHR] (DEFAULT_WCSCHR): Define.
9324         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
9325         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
9326         libc_hidden_weak.  Do not use libc_hidden_def.
9327         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
9328         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
9329         __GI___wcschr alias.
9330         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
9331         [IS_IN (libc)] (wcschr): Define as macro expanding to
9332         __redirect_wcschr.
9333         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
9334         [IS_IN (libc)] (__wcschr_power6): Likewise.
9335         [IS_IN (libc)] (__wcschr_power7): Likewise.
9336         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
9337         instead of wcschr.
9338         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
9339         __libc_wcschr.
9340         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
9341         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
9342         __wcschr and define as weak alias of __wcschr.  Use
9343         libc_hidden_builtin_def.
9344         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
9345         as weak alias of __wcschr.  Use libc_hidden_weak.
9346         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
9347         wcschr.
9348         * time/era.c (_nl_init_era_entries): Likewise.
9349         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
9350         variable.
9351         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9352         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9354 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9356         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
9357         format for long int variable.
9359 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
9361         [BZ #10672]
9362         * manual/search.texi: (Array Sort Function): Remove claim how to make
9363         qsort stable.
9365 2014-12-10  Andreas Schwab  <schwab@suse.de>
9367         [BZ #12847]
9368         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
9369         user-controlled locks.
9371 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
9373         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
9374         register.
9376 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9378         * configure.ac (--disable-werror): New configure option.
9379         (enable_werror): New AC_SUBST.
9380         * configure: Regenerated.
9381         * config.make.in (enable-werror): New variable.
9382         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
9383         -Wno-error=undef.
9384         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9385         * manual/install.texi (Configuring and compiling): Document
9386         --disable-werror.
9387         * INSTALL: Regenerated.
9388         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9389         (CFLAGS-tst-chk2.c): Likewise.
9390         (CFLAGS-tst-chk3.c): Likewise.
9391         (CFLAGS-tst-chk4.cc): Likewise.
9392         (CFLAGS-tst-chk5.cc): Likewise.
9393         (CFLAGS-tst-chk6.cc): Likewise.
9394         (CFLAGS-tst-lfschk1.c): Likewise.
9395         (CFLAGS-tst-lfschk2.c): Likewise.
9396         (CFLAGS-tst-lfschk3.c): Likewise.
9397         (CFLAGS-tst-lfschk4.cc): Likewise.
9398         (CFLAGS-tst-lfschk5.cc): Likewise.
9399         (CFLAGS-tst-lfschk6.cc): Likewise.
9401         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9402         (main): Disable -Wdeprecated-declarations around calls to
9403         register_printf_function.
9405         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9406         (do_test): Disable -Wdiv-by-zero around some calls to
9407         fwrite_unlocked and fread_unlocked.
9409         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9410         (DIAG_POP_NEEDS_COMMENT): Likewise.
9411         (_DIAG_STR1): Likewise.
9412         (_DIAG_STR): Likewise.
9413         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9414         * stdio-common/bug21.c: Include <libc-internal.h>.
9415         (do_test): Disable -Wformat around call to sscanf.
9416         * stdio-common/scanf14.c: Include <libc-internal.h>.
9417         (main): Disable -Wformat around some calls to scanf functions.
9419 2014-12-09  Torvald Riegel  <triegel@redhat.com>
9421         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9423 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9425         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9426         stack variable alignment.
9428 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
9430         [BZ #17682]
9431         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9432         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9433         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9434         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9435         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9436         __getrlimit instead of getrlimit.
9437         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9438         __gettimeofday instead of gettimeofday.
9439         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9440         Likewise.
9441         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9442         Likewise.
9443         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9444         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9445         Remove variable.
9446         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9447         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9449 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9451         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9452         for wide-character tests.
9454 2014-12-04  Roland McGrath  <roland@hack.frob.com>
9456         * io/openat64.c: #include <libc-internal.h>
9457         (__openat64): Prototypify.  Use ignore_value on MODE.
9458         * io/openat.c: Likewise.
9459         * misc/reboot.c: #include <libc-internal.h>
9460         (reboot): Prototypify.  Use ignore_value on HOWTO.
9461         * misc/ptrace.c: #include <libc-internal.h>
9462         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
9464 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
9466         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9467         XPG4, UNIX98 and XOPEN2K.
9468         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9469         Remove variable.
9470         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9472 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9474         * libio/fileops.c: Use ISO C style for function definitions.
9475         * libio/iofopen.c: Likewise.
9476         * libio/wfileops.c: Likewise.
9478         [BZ #17653]
9479         * libio/fileops.c (_IO_new_file_underflow): Unset cached
9480         offset on EOF.
9481         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9482         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9483         (fgets_func): Function pointer to fgets and fgetws.
9484         (do_ftell_test): Add test to verify ftell value after read
9485         EOF.
9486         (do_test): Set fgets_func.
9488         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9489         O_TRUNC flag for w and w+ modes.
9490         (do_rewind_test): Likewise.
9491         (do_ftell_test): Likewise.
9492         (do_write_test): Likewise.
9494         [BZ #17647]
9495         * libio/fileops.c (do_ftell): Seek only when there are
9496         unflushed writes.
9497         * libio/wfileops.c (do_ftell_wide): Likewise.
9498         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9499         test case.
9500         (do_one_test): Call it.
9502 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
9504         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9505         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9506         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9507         Remove variable.
9508         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9509         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9510         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9512 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9514         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9515         Remove variable.
9516         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9518         [BZ #17668]
9519         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9520         as weak alias of __getifaddrs.  Use libc_hidden_weak.
9521         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9522         __freeifaddrs.  Use libc_hidden_weak.
9523         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9524         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
9525         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9526         __freeifaddrs.  Use libc_hidden_weak.
9527         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9528         __getifaddrs and define as weak alias of __getifaddrs.  Use
9529         libc_hidden_weak.
9530         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9531         __freeifaddrs.  Use libc_hidden_weak.
9532         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9533         Remove variable.
9534         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9535         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9537 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9539         [BZ #17601]
9540         * sysdeps/mips/start.S (__start): Use indirect jump to call
9541         __libc_start_main.
9543 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9545         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9547         * nptl/tst-mutex1.c: Include <stdbool.h>.
9548         [!ATTR] (ATTR_NULL): New macro.
9549         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9550         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9551         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9553         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9554         to char *.
9556         [BZ #17665]
9557         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9558         Change conditional to [__USE_MISC].
9560         [BZ #17664]
9561         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9562         fgets_unlocked.
9563         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9564         __fgets_unlocked.
9565         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9566         fgets_unlocked.
9567         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9568         Remove variable.
9569         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9570         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9571         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9572         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9573         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9574         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9575         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9576         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9577         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9579         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9581 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9583         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9584         Remove strpbrk objects.
9585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9586         (__libc_ifunc_impl_list): Remove strpbrk implementation.
9587         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9588         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9589         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9590         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9592         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9593         Remove strcspn objects.
9594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9595         (__libc_ifunc_impl_list): Remove strcspn implementation.
9596         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9597         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9598         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9599         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9601         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9602         Remove strspn objetcs.
9603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9604         (__libc_ifunc_impl_list): Remove strspn implementation.
9605         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9606         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9607         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9608         * sysdeps/powerpc/powerpc64/strspn.S: New file.
9610 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
9612         [BZ #17581]
9613         * malloc/hooks.c
9614         (mem2mem_check): Add a terminator to the chain of checking blocks.
9615         (malloc_check_get_size): Use it here.
9616         (mem2chunk_check): Ditto.
9618 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9620         * sysdeps/powerpc/powerpc64/strtok.S: New file.
9621         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9623 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
9625         * bits/ioctl-types.h: Indent preprocessor directives correctly.
9627         * nptl/nptl-init.c: Include libc-internal.h.
9628         (__pthread_initialize_minimal_internal): Use ROUND_UP.
9630         * elf/ldconfig.c (search_dir): Expand comment.
9632 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
9634         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9635         variable.
9636         (linknamespace-symlist-stdlibs-tests): Likewise.
9637         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9638         instead of $(objpfx)symlist-stdlibs.
9639         (linknamespace-libs-isoc): New variable.
9640         (linknamespace-libs): Use $(linknamespace-libs-isoc).
9641         (linknamespace-libs-ISO): New variable.
9642         (linknamespace-libs-ISO99): Likewise.
9643         (linknamespace-libs-ISO11): Likewise.
9644         (linknamespace-libs-XPG3): Likewise.
9645         (linknamespace-libs-XPG4): Likewise.
9646         (linknamespace-libs-POSIX): Likewise.
9647         (linknamespace-libs-UNIX98): Likewise.
9648         (linknamespace-libs-XOPEN2K): Likewise.
9649         (linknamespace-libs-POSIX2008): Likewise.
9650         (linknamespace-libs-XOPEN2K8): Likewise.
9651         ($(objpfx)symlist-stdlibs): Replace by
9652         $(linknamespace-symlist-stdlibs-tests).  Use
9653         $(linknamespace-libs-$*) as set of libraries.
9654         ($(linknamespace-header-tests)): Update dependencies.  Use
9655         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9656         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9657         * conform/linknamespace.pl: Remove comment about considering
9658         definitions of symbols from irrelevant libraries.
9660 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9662         [BZ #13862]
9663         * elf/dl-tls.c: Include <atomic.h>.
9664         (oom): Remove #ifdef SHARED/#endif.
9665         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9666         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
9667         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9668         big enough.
9669         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9670         * nptl/Makefile (tests): Add tst-stack4.
9671         (modules-names): Add tst-stack4mod.
9672         ($(objpfx)tst-stack4): New.
9673         (tst-stack4mod.sos): Likewise.
9674         ($(objpfx)tst-stack4.out): Likewise.
9675         ($(tst-stack4mod.sos)): Likewise.
9676         (clean): Likewise.
9677         * nptl/tst-stack4.c: New file.
9678         * nptl/tst-stack4mod.c: Likewise.
9680 2014-11-27  J. Brown  <jb999@gmx.de>
9682         * sysdeps/x86/bits/string.h: Add recent CPUs.
9684 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9686         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9687         sigblock.
9689         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9690         feof.
9692         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9693         variable.
9695 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9697         * nscd/connections.c: Include libc-internal.h because of macro
9698         usage ignore_value.
9700 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9702         * string/bits/string3.h (__warn_memset_zero_len): Don't
9703         declare for gcc newer than 5.0.
9704         (memset): Don't test for zero-length __LEN for gcc newer than
9705         5.0.
9707 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9709         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9710         size_t for %zu format.
9712         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9713         difference, not %ju.
9715 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9717         * include/libc-internal.h (ignore_value): New macro.
9718         * nscd/connections.c (restart): Wrap calls to setuid and setgid
9719         with ignore_value.
9721         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9722         definition.
9724         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9725         pthread_cleanup_push to void *.
9727         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9728         Undefine.
9730         [BZ #16619]
9731         [BZ #16740]
9732         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9733         instead of 1L << 52.
9735         * libio/bug-rewind.c (do_test): Check fwscanf return values.
9736         * libio/bug-rewind2.c (do_test): Likewise.
9738         * debug/test-stpcpy_chk-ifunc.c: Remove file.
9739         * debug/test-strcpy_chk-ifunc.c: Likewise.
9740         * wcsmbs/test-wcschr-ifunc.c: Likewise.
9741         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9742         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9743         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9744         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9745         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9746         * Rules [$(multi-arch) = no] (tests): Do not filter out
9747         $(tests-ifunc).
9748         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9749         * debug/Makefile (tests-ifunc): Remove variable.
9750         (tests): Do not add $(tests-ifunc).
9751         * wcsmbs/Makefile (tests-ifunc): Remove variable.
9752         (tests): Do not add $(tests-ifunc).
9753         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9754         [TEST_IFUNC]: Remove conditionals.
9755         * string/test-string.h (TEST_IFUNC): Remove macro.
9756         [TEST_IFUNC]: Remove conditionals.
9758         * string/test-strchr.c [!WIDE] (L): New macro.
9759         [WIDE] (L): Likewise.
9760         (check1): Use CHAR instead of char.  Use L on string and character
9761         constants.
9763 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
9765         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9766         tests.
9767         * sysdeps/powerpc/bits/atomic.h
9768         (__arch_atomic_exchange_and_add_32_acq): Add definition.
9769         (__arch_atomic_exchange_and_add_32_rel): Likewise.
9770         (atomic_exchange_and_add_acq): Likewise.
9771         (atomic_exchange_and_add_rel): Likewise.
9772         * sysdeps/powerpc/powerpc32/bits/atomic.h
9773         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9774         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9775         * sysdeps/powerpc/powerpc64/bits/atomic.h
9776         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9777         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9779 2014-11-26  Torvald Riegel  <triegel@redhat.com>
9781         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9782         Change synchronization of __sched_fifo_min_prio and
9783         __sched_fifo_max_prio.
9784         * nptl/pthread_mutexattr_getprioceiling.c
9785         (pthread_mutexattr_getprioceiling): Likewise.
9786         * nptl/pthread_mutexattr_setprioceiling.c
9787         (pthread_mutexattr_setprioceiling): Likewise.
9788         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9789         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9790         Likewise.
9792 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9794         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9795         void.
9797 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9799         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9800         third argument const.
9802 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
9804         fnmatch: work around GCC compiler warning bug with uninit var
9805         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9806         This works around a bug with x86-64 GCC 4.9.2 and earlier
9807         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9808         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9809         used uninitialized in this function [-Wmaybe-uninitialized]".
9811 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9813         * posix/bug-regex31.c (main): Return RES not 0.
9815 2014-11-25  Anton Blanchard <anton@samba.org>
9817         * sysdeps/powerpc/bits/atomic.h
9818         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9820 2014-11-24  Sterling Augustine  <saugustine@google.com>
9822         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9824 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
9826         [BZ #17608]
9827         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9829 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
9831         [BZ #17633]
9832         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9833         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9834         variable.
9835         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9836         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9838 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9840         * string/strncpy.c (strncpy): Improve performance by using memset.
9842 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9844         * string/strcpy.c (strcpy):
9845         Improve performance by using strlen and memcpy.
9847 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
9849         * string/strcoll_l.c (get_next_seq): __always_inline.
9850         * string/strcoll_l.c (do_compare): __always_inline.
9852 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9854         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9855         defined.
9856         * include/mqueue.h: Likewise.
9857         * include/stdlib.h: Likewise.
9859         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9860         (get_null_defines): Adjust.
9861         * sunrpc/Makefile: Adjust comment.
9862         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9863         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9864         (CFLAGS-interp.c): Likewise.
9865         (CFLAGS-ldconfig.c): Likewise.
9866         (CPPFLAGS-.os): Likewise.
9867         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9868         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9869         * extra-modules.mk (extra-modules.mk): Likewise.
9870         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9871         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9872         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9873         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9874         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9875         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9876         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9877         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9878         * iconvdata/Makefile (CPPFLAGS): Likewise.
9879         (cpp-srcs-left): Add libof for all iconvdata routines.
9880         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9881         * include/assert.h: Likewise.
9882         * include/ctype.h: Likewise.
9883         * include/errno.h: Likewise.
9884         * include/libc-symbols.h: Likewise.
9885         * include/math.h: Likewise.
9886         * include/netdb.h: Likewise.
9887         * include/resolv.h: Likewise.
9888         * include/stdio.h: Likewise.
9889         * include/stdlib.h: Likewise.
9890         * include/string.h: Likewise.
9891         * include/sys/stat.h: Likewise.
9892         * include/wctype.h: Likewise.
9893         * intl/l10nflist.c: Likewise.
9894         * libidn/idn-stub.c: Likewise.
9895         * libio/libioP.h: Likewise.
9896         * nptl/libc_multiple_threads.c: Likewise.
9897         * nptl/pthreadP.h: Likewise.
9898         * posix/regex_internal.h: Likewise.
9899         * resolv/res_hconf.c: Likewise.
9900         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9901         * sysdeps/arm/memmove.S: Likewise.
9902         * sysdeps/arm/sysdep.h: Likewise.
9903         * sysdeps/generic/_itoa.h: Likewise.
9904         * sysdeps/generic/symbol-hacks.h: Likewise.
9905         * sysdeps/gnu/errlist.awk: Likewise.
9906         * sysdeps/gnu/errlist.c: Likewise.
9907         * sysdeps/i386/i586/memcpy.S: Likewise.
9908         * sysdeps/i386/i586/memset.S: Likewise.
9909         * sysdeps/i386/i686/memcpy.S: Likewise.
9910         * sysdeps/i386/i686/memmove.S: Likewise.
9911         * sysdeps/i386/i686/mempcpy.S: Likewise.
9912         * sysdeps/i386/i686/memset.S: Likewise.
9913         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9914         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9915         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9916         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9917         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9918         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9919         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9920         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9921         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9922         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9923         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9924         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9925         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9926         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9927         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9928         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9929         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9930         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9931         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9932         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9933         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9934         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9935         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9936         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9937         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9938         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9939         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9940         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9941         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9942         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9943         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9944         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9945         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9946         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9947         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9948         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9949         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9950         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9951         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9952         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9953         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9954         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9955         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9956         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9957         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9958         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9959         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9960         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9961         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9962         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9963         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9964         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9965         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9966         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9967         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9968         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9969         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9970         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9971         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9972         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9973         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9974         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9975         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9976         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9977         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9978         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9979         * sysdeps/posix/closedir.c: Likewise.
9980         * sysdeps/posix/opendir.c: Likewise.
9981         * sysdeps/posix/readdir.c: Likewise.
9982         * sysdeps/posix/rewinddir.c: Likewise.
9983         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9984         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9985         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9986         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9987         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9988         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9989         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9990         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9991         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9992         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9993         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9994         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9995         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9996         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9997         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9998         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9999         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10000         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10001         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10002         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10003         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10004         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10005         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10006         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10007         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10008         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10009         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10010         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10011         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10012         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10013         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10014         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10015         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10016         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10017         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10018         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10019         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10020         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10021         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10022         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10023         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10024         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10025         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10026         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10027         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10028         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10029         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10030         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10031         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10032         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10033         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10034         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10035         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10036         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10037         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10038         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10039         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10040         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10041         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10042         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10043         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10044         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10045         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10046         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10047         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10048         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10049         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10050         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10051         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10052         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10053         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10054         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10055         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10056         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10057         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10058         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10059         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10060         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10061         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10062         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10063         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10064         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10065         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10066         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10067         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10068         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10069         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10070         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10071         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10072         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10073         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10074         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10075         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10076         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10077         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10078         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10079         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10080         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10081         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10082         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10083         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10084         * sysdeps/unix/alpha/sysdep.S: Likewise.
10085         * sysdeps/unix/alpha/sysdep.h: Likewise.
10086         * sysdeps/unix/make-syscalls.sh: Likewise.
10087         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10088         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10089         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10090         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10091         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10092         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10093         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10094         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10095         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10096         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10097         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10098         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10099         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10100         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10101         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10102         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10103         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10104         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10105         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10106         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10107         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10108         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10109         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10110         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10111         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10112         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10113         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10116         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10117         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10118         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10119         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10120         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10121         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10122         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10123         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10124         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10125         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10126         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10127         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10128         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10129         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10130         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10131         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10132         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10133         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10134         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10135         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10136         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10137         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10138         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10139         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10140         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10141         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10142         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10143         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10144         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10145         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10146         * sysdeps/x86_64/memcpy.S: Likewise.
10147         * sysdeps/x86_64/memmove.c: Likewise.
10148         * sysdeps/x86_64/memset.S: Likewise.
10149         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10150         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10151         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10152         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10153         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10154         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10155         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10156         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10157         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10158         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10159         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10160         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10161         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10162         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10163         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10164         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10165         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10166         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10167         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10168         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10169         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10170         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10171         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10172         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10173         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10174         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10175         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10176         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10177         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10178         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10179         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10180         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10181         * sysdeps/x86_64/strcmp.S: Likewise.
10183         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10185         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10186         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10187         * elf/rtld-Rules: Likewise.
10188         * elf/setup-vdso.h: Likewise.
10189         * include/assert.h: Likewise.
10190         * include/bits/stdlib-float.h: Likewise.
10191         * include/errno.h: Likewise.
10192         * include/sys/stat.h: Likewise.
10193         * include/unistd.h: Likewise.
10194         * sysdeps/aarch64/setjmp.S: Likewise.
10195         * sysdeps/alpha/setjmp.S: Likewise.
10196         * sysdeps/arm/__longjmp.S: Likewise.
10197         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10198         * sysdeps/arm/setjmp.S: Likewise.
10199         * sysdeps/arm/sysdep.h: Likewise.
10200         * sysdeps/generic/_itoa.h: Likewise.
10201         * sysdeps/generic/dl-sysdep.h: Likewise.
10202         * sysdeps/generic/ldsodefs.h: Likewise.
10203         * sysdeps/i386/dl-tls.h: Likewise.
10204         * sysdeps/i386/setjmp.S: Likewise.
10205         * sysdeps/m68k/setjmp.c: Likewise.
10206         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10207         * sysdeps/mach/hurd/opendir.c: Likewise.
10208         * sysdeps/posix/getcwd.c: Likewise.
10209         * sysdeps/posix/opendir.c: Likewise.
10210         * sysdeps/posix/profil.c: Likewise.
10211         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10212         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10213         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10214         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10215         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10216         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10217         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10218         * sysdeps/s390/dl-tls.h: Likewise.
10219         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10220         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10221         * sysdeps/sh/sh3/setjmp.S: Likewise.
10222         * sysdeps/sh/sh4/setjmp.S: Likewise.
10223         * sysdeps/unix/alpha/sysdep.h: Likewise.
10224         * sysdeps/unix/arm/sysdep.S: Likewise.
10225         * sysdeps/unix/i386/sysdep.S: Likewise.
10226         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10227         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10228         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10229         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10230         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10231         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10232         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10233         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10234         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10235         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10236         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10237         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10238         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10241         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10242         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10243         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10244         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10245         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10246         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10247         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10248         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10249         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10250         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10251         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10252         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10253         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10254         * sysdeps/x86_64/setjmp.S: Likewise.
10256         * include/math.h: Use IS_IN instead of IS_IN_libm.
10257         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10258         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10259         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10260         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10261         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10262         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10263         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10264         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10265         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10266         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10267         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10268         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10269         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10270         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10271         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10272         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10273         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10274         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10275         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10276         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
10277         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10278         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10279         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10280         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10281         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10282         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10283         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10284         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10285         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10286         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10287         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10288         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10289         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10291         Likewise.
10292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10293         Likewise.
10294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10295         Likewise.
10296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10297         Likewise.
10298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10299         Likewise.
10300         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10301         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10302         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10303         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10304         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10305         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10311         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10312         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10313         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10314         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10315         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10316         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10317         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10318         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10319         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10320         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
10321         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
10322         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
10323         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
10324         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
10325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10326         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
10328         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
10329         * nptl/pthreadP.h: Likewise.
10330         * nptl_db/structs.def: Likewise.
10331         * sysdeps/arm/sysdep.h: Likewise.
10332         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10333         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10334         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
10335         * sysdeps/unix/alpha/sysdep.h: Likewise.
10336         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10337         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10338         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10339         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10340         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10341         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10342         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10343         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10344         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10345         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10346         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10347         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10348         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10349         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10352         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10353         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10354         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10355         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10356         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10357         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10358         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10359         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10360         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10361         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10363         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
10364         * nptl/pthreadP.h: Likewise.
10365         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10366         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10367         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10368         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10369         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10370         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10371         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10372         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10373         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10374         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10375         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10376         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10378         Likewise.
10379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10380         Likewise.
10381         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10382         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10383         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10384         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10385         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10386         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10387         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10388         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10390         * dlfcn/dladdr.c: Use IS_IN.
10391         * dlfcn/dladdr1.c: Likewise.
10392         * dlfcn/dlclose.c: Likewise.
10393         * dlfcn/dlerror.c: Likewise.
10394         * dlfcn/dlinfo.c: Likewise.
10395         * dlfcn/dlmopen.c: Likewise.
10396         * dlfcn/dlopen.c: Likewise.
10397         * dlfcn/dlsym.c: Likewise.
10398         * dlfcn/dlvsym.c: Likewise.
10400         * include/ifaddrs.h: Use IS_IN.
10401         * inet/check_pf.c: Likewise.
10402         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10403         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10405         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10406         IS_IN_ldconfig.
10407         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10408         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10410         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10411         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10412         IS_IN (libc).
10414         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10416         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10417         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10418         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10419         * include/libc-symbols.h (IS_IN_LIB): New macro.
10420         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10421         * include/netdb.h: Likewise.
10422         * include/stap-probe.h: Remove all uses of IN_LIB.
10424         * Makeconfig (module-cppflags-real): Define MODULE_NAME
10425         instead of IN_MODULE.
10426         * include/libc-symbols.h (IN_MODULE): Define using
10427         MODULE_NAME.
10428         (PASTE_NAME, PASTE_NAME1): New macros.
10429         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10430         of IN_LIB.
10431         (STAP_PROBE_ASM): Likewise.
10433 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10435         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10436         __mach_init in dlopened libc.
10438 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
10440         * sysdeps/arm/preconfigure.ac: Delete EABI check.
10441         * sysdeps/arm/preconfigure: Regenerate.
10443 2014-11-21  Roland McGrath  <roland@hack.frob.com>
10445         * nptl/pthread_create.c (__pthread_create_2_1): Set
10446         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10447         when copying values from IATTR into PD.
10449 2014-11-21  Will Newton  <will.newton@linaro.org>
10450             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10452         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10453         Refactor inline-asm.  Also add comment.
10455         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10456         ElfW macro instead of hardcoded Elf64 types.
10457         (la_aarch64_gnu_pltenter): Likewise.
10458         * sysdeps/aarch64/dl-machine.h
10459         (elf_machine_runtime_setup): Use ElfW(Addr).
10461         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10462         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10463         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10464         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10465         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10466         (R_AARCH64_TLS_DTPMOD64): Rename to ..
10467         (R_AARCH64_TLS_DTPMOD): This.
10468         (R_AARCH64_TLS_DTPREL64): Rename to ...
10469         (R_AARCH64_TLS_DTPREL): This.
10470         (R_AARCH64_TLS_TPREL64): Rename to ...
10471         (R_AARCH64_TLS_TPREL): This.
10472         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10473         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10474         R_AARCH64_TLS_TPREL64.
10475         (elf_machine_rela): Likewise.
10477 2014-11-21  Torvald Riegel  <triegel@redhat.com>
10479         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10480         by setting it to 0.  64b atomics are not supported currently.
10482 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10484         [BZ #16469]
10485         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10486         search domain names.
10488 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10490         [BZ #16469]
10491         * NEWS: Update.
10492         * resolv/res_query.c (__libc_res_nquerydomain): Retain
10493         trailing dot.
10494         * posix/tst-getaddrinfo5.c: New.
10495         * posix/Makefile (tests): Add it.
10497 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10499         [BZ #14498]
10500         * NEWS: Fixed.
10501         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10502         after parsing line but before break_if_match.
10503         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10504         if there is a protocol mismatch.
10506 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10508         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10509         because the potential race is on the user-supplied stream.
10511 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10513         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10514         string literal if not passed a buffer.
10515         * manual/job.texi (ctermid): Update reasoning, note deviation
10516         from posix, suggest mtasurace when not passed a buffer, for
10517         future non-preliminary safety notes.
10519 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10521         * manual/users.texi (cuserid): Fix MT-Safety note for the case
10522         of not passing it a buffer.
10523         Reported by Peng Haitao.
10525 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10527         * manual/Makefile ($(objpfx)stamp-summary): Require
10528         check-safety.sh to pass.
10529         * manual/check-safety.sh: Wish for verification that every
10530         @deftypefn and @deftypefun is followed by a @safety remark.
10532 2014-11-20  Roland McGrath  <roland@hack.frob.com>
10534         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10536         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10537         PTHREAD_CANCEL_ASYNCHRONOUS.
10538         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10539         send SIGCANCEL.
10541         * nptl/default-sched.h: New file.
10542         * sysdeps/unix/sysv/linux/default-sched.h: New file.
10543         * nptl/pthread_create.c: Include it.
10544         (__pthread_create_2_1): Use collect_default_sched instead of making
10545         Linux syscalls here directly.
10547 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10549         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10550         __pthread_once): Use C11 atomics.
10552 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10554         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10556 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10558         * include/atomic.h (__atomic_link_error, __atomic_check_size,
10559         atomic_thread_fence_acquire, atomic_thread_fence_release,
10560         atomic_thread_fence_seq_cst, atomic_load_relaxed,
10561         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10562         atomic_compare_exchange_weak_relaxed,
10563         atomic_compare_exchange_weak_acquire,
10564         atomic_compare_exchange_weak_release,
10565         atomic_exchange_acquire, atomic_exchange_release,
10566         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10567         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10568         atomic_fetch_and_acquire,
10569         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10571 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10573         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10574         USE_ATOMIC_COMPILER_BUILTINS): Define.
10575         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10576         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10577         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10578         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10579         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10580         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10581         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10582         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10583         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10584         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10585         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10586         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10587         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10588         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10589         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10590         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10591         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10592         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10593         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10594         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10595         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10596         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10597         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10598         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10599         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10600         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10601         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10602         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10603         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10604         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10605         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10606         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10607         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10608         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10609         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10610         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10611         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10612         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10613         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10614         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10616 2014-11-19  Roland McGrath  <roland@hack.frob.com>
10618         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10619         the sched_priority value here.  It was already checked when the user
10620         called pthread_attr_setschedparam.
10622         * nptl/tst-bad-schedattr.c: New file.
10623         * nptl/Makefile (tests): Add it.
10625 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
10626             Florian Weimer  <fweimer@redhat.com>
10627             Joseph Myers  <joseph@codesourcery.com>
10628             Adam Conrad  <adconrad@0c3.net>
10629             Andreas Schwab  <schwab@suse.de>
10630             Brooks  <bmoses@google.com>
10632         [BZ #17625]
10633         * wordexp-test.c (__dso_handle): Add prototype.
10634         (__register_atfork): Likewise.
10635         (__app_register_atfork): New function.
10636         (registered_forks): New global.
10637         (register_fork): New function.
10638         (test_case): Add 3 new tests for WRDE_CMDSUB.
10639         (main): Call __app_register_atfork.
10640         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10641         fork count is non-zero fail the test.
10642         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10643         is set.
10644         (parse_dollars): Remove check for WRDE_NOCMD.
10645         (parse_dquote): Likewise.
10647 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10649         * Makeconfig (built-modules): List non-library modules to be
10650         built.
10651         (module-cppflags): Include libc-modules.h for
10652         everything except shlib-versions.v.i.
10653         (CPPFLAGS): Use it.
10654         (before-compile): Add libc-modules.h.
10655         ($(common-objpfx)libc-modules.h,
10656         $(common-objpfx)libc-modules.stmp): New targets.
10657         (common-generated): Add libc-modules.h and libc-modules.stmp.
10658         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10659         * include/libc-symbols.h: Don't include libc-modules.h.
10660         * include/libc-modules.h: Remove file.
10661         * scripts/gen-libc-modules.awk: New script to generate
10662         libc-modules.h.
10663         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10664         Depend on libc-modules.stmp.
10666         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10668         * Makeconfig (in-module): Get value of libof set for the
10669         translation unit.
10670         (CPPFLAGS): Use $(in-module).
10671         * Makerules: Don't suffix routine names for nonlib.
10672         * include/libc-modules.h: New file.
10673         * include/libc-symbols.h: Include libc-modules.h
10674         (IS_IN): New macro to replace IS_IN_* macros.
10675         * elf/Makefile: Set libof-* for each routine.
10676         * elf/rtld-Rules: Likewise.
10677         * extra-modules.mk: Likewise.
10678         * iconv/Makefile: Likewise.
10679         * iconvdata/Makefile: Likewise.
10680         * locale/Makefile: Likewise.
10681         * malloc/Makefile: Likewise.
10682         * nss/Makefile: Likewise.
10683         * sysdeps/gnu/Makefile: Likewise.
10684         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10685         * sysdeps/unix/sysv/linux/Makefile: Likewise.
10686         * sysdeps/s390/s390-64/Makefile: Likewise.
10687         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
10688         CPPFLAGS for nscd instead of nonlib.
10690 2014-11-18  Roland McGrath  <roland@hack.frob.com>
10692         * nptl/createthread.c: New file.
10694         * nptl/createthread.c: Moved ...
10695         * sysdeps/unix/sysv/linux/createthread.c: ... here.
10697         * nptl/createthread.c: Add proper top-line comment.
10698         (do_clone): Folded into ...
10699         (create_thread): ... here.  Take new arguments STOPPED_START and
10700         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
10701         increment __nptl_threads, do event-reporting logic, do
10702         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10703         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
10704         resource cleanup if sched_setaffinity or sched_setscheduler fails,
10705         just send SIGCANCEL.
10706         * nptl/pthread_create.c: Forward-declare create_thread before
10707         including createthread.c.
10708         (start_thread): Use new macro START_THREAD_DEFN to replace defining
10709         declaration, and new macro START_THREAD_SELF to replace argument.
10710         Remove return statement.
10711         (report_thread_creation): New function.
10712         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
10713         synchronization logic, and __nptl_nthreads increment here, around
10714         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
10715         PD->parent_cancelhandling here, before create_thread.  When
10716         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10717         __deallocate_stack, and ENOMEM translation here.
10719 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
10721         [BZ #17616]
10722         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10723         (mptwo): Rename to __mptwo.
10724         (__inv): Use __mptwo instead of mptwo.
10725         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10726         (mptwo): Rename to __mptwo.
10727         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10728         of mpone and __mptwo instead of mptwo.
10729         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10730         instead of mpone.
10731         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10732         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10733         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10734         of mpone and __mptwo instead of mptwo.
10735         (__mpranred): Use __mpone instead of mpone.
10736         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10737         variable.
10738         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10739         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10740         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10741         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10742         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10743         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10744         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10745         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10746         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10747         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10748         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10749         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10750         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10751         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10752         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10753         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10754         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10755         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10756         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10758 2014-11-18  Tom de Vries  <tom@codesoucery.com>
10760         * manual/signal.texi (Primitives Interrupted by Signals): In section,
10761         replace BSD Handler xref with BSD Signal Handling.
10763 2014-11-17  Richard Henderson  <rth@redhat.com>
10765         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10766         (_FP_PACK_RAW_2): Remove.
10767         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10768         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10769         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10770         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10771         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10772         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10773         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10774         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10775         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10776         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10777         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10778         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10779         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10780         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10781         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10782         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10784 2014-11-14  Roland McGrath  <roland@hack.frob.com>
10786         * signal/signal.h [__USE_MISC]
10787         (struct sigvec): Remove type.
10788         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10789         (sigvec): Remove declaration.
10790         * sysdeps/posix/sigvec.c: Moved ...
10791         * signal/sigvec.c: ... here, replacing old file.
10792         (struct sigvec): New type, copied from old signal.h definition.
10793         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10794         (__sigvec): Convert definition to prototype.
10795         (sigvec): Replace weak_alias with compat_symbol.
10796         * signal/Versions (libc: GLIBC_2.21): New version set.
10797         * include/signal.h: Remove __sigvec declaration.
10798         * sysdeps/unix/bsd/sigvec.c: Remove file.
10799         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10800         * manual/signal.texi (BSD Handler): Remove subsection.
10801         Move siginterrupt up to ...
10802         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
10803         (Blocking in BSD): Fold subsection into its parent.
10804         * NEWS: Mention sigvec removal.
10806 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10808         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10809         (DLA_FMS): Make definition conditional only on [__FMA4__].
10810         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10811         definition.
10813         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10814         Make definition conditional only on [PROF].
10815         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10816         definition.
10817         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10818         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10820         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10821         !__GNUC__].
10822         * include/signal.h (__sigpause): Move declaration above call to
10823         libc_hidden_proto.
10824         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10825         variable.
10826         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10827         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10829 2014-11-14  David S. Miller  <davem@davemloft.net>
10831         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10832         Define before including <string/memcpy.c> and <string/mempcpy.c>.
10834 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10836         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10837         * configure: Regenerated.
10838         * manual/install.texi (Tools for Compilation): Document a
10839         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10840         compiler verified to work.
10841         * INSTALL: Regenerated.
10843         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10844         redeclare with asm name.
10845         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10846         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10847         including <string.h>.
10848         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10849         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10850         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10851         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10852         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10853         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10854         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10856 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
10858         * stdlib/strtol.c (__strtol): Use prototype definition.
10860         [BZ #17594]
10861         * stdlib/strtol.c (SYM__): New macro.
10862         (SYM__1): Likewise.
10863         (__strtol): Likewise.
10864         (strtol): Rename to __strtol and define as weak alias of
10865         __strtol.  Use libc_hidden_weak.
10867 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10869         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10870         Use numbered labels in inline assembly.
10872 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10874         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10875         Add setjmp LIBC_PROBE.
10876         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10877         Likewise.
10878         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10879         Add longjmp, longjmp_target LIBC_PROBE.
10880         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10881         Likewise.
10883 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10885         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10886         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10887         to get rid of unused variable warning.
10889 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10891         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10892         Check for unwind_backtrace ==  NULL only in SHARED case.
10893         (__backchain_backtrace): Compile only in SHARED case.
10894         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10895         Likewise.
10896         (__backchain_backtrace): Declare as static.
10898 2014-11-12  Roland McGrath  <roland@hack.frob.com>
10900         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10901         (__libc_multiple_threads_ptr): Variable moved ...
10902         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10904 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
10906         * conform/GlibcConform.pm: New file.
10907         * conform/conformtest.pl: Use GlibcConform module.
10908         * conform/linknamespace.pl: New file.
10909         * conform/list-header-symbols.pl: Likewise.
10910         * conform/Makefile (linknamespace-symlists-base): New variable.
10911         (linknamespace-symlists-tests): Likewise.
10912         (linknamespace-header-base): Likewise.
10913         (linknamespace-header-tests): Likewise.
10914         (tests-special): Add new tests.
10915         ($(linknamespace-symlists-tests)): New rule.
10916         (linknamespace-libs): New variable.
10917         ($(objpfx)symlist-stdlibs): New rule.
10918         ($(linknamespace-header-tests)): Likewise.
10919         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10920         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10921         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10922         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10923         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10924         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10925         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10926         (test-xfail-ISO/math.h/linknamespace): Likewise.
10927         (test-xfail-ISO/signal.h/linknamespace): Likewise.
10928         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10929         (test-xfail-ISO/time.h/linknamespace): Likewise.
10930         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10931         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10932         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10933         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10934         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10935         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10936         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10937         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10938         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10939         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10940         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10941         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10942         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10943         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10944         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10945         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10946         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10947         (test-xfail-XPG3/search.h/linknamespace): Likewise.
10948         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10949         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10950         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10951         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10952         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10953         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10954         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10955         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10956         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10957         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10958         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10959         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10960         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10961         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10962         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10963         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10964         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10965         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10966         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10967         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10968         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10969         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10970         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10971         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10972         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10973         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10974         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10975         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10976         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10977         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10978         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10979         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10980         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10981         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10982         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10983         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10984         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10985         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10986         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10987         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10988         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10989         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10990         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10991         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10992         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10993         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10994         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10995         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10996         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10997         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10998         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10999         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11000         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11001         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11002         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11003         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11004         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11005         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11006         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11007         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11008         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11009         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11010         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11011         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11012         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11013         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11014         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11015         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11016         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11017         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11018         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11019         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11020         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11021         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11022         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11023         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11024         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11025         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11026         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11027         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11028         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11029         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11030         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11031         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11032         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11033         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11034         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11035         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11036         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11037         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11038         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11039         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11040         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11041         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11042         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11043         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11044         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11045         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11046         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11047         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11048         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11049         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11050         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11051         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11052         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11053         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11054         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11055         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11056         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11057         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11058         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11059         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11060         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11061         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11062         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11063         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11064         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11065         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11066         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11067         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11068         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11069         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11070         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11071         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11072         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11073         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11074         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11075         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11076         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11077         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11078         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11079         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11081         [BZ #17589]
11082         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11083         of fgets_unlocked.
11085         [BZ #17585]
11086         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11087         (memmem): Rename to __memmem and define as weak alias of
11088         __memmem.  Use libc_hidden_weak.
11089         (__memmem): Use libc_hidden_def.
11090         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11091         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11092         memmem.
11094         [BZ #17582]
11095         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11096         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11097         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11098         and define as weak alias of __fgets_unlocked.  Use
11099         libc_hidden_weak.
11100         (__fgets_unlocked): Use libc_hidden_def.
11101         * include/stdio.h (__fgets_unlocked): Declare.  Use
11102         libc_hidden_proto.
11103         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11104         __fgets_unlocked instead of fgets_unlocked.
11105         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11106         (GET_NPROCS_CONF_PARSER): Likewise.
11107         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11108         (GET_NPROCS_CONF_PARSER): Likewise.
11110         [BZ #17574]
11111         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11112         weak alias of __wmemset.  Use libc_hidden_weak.
11113         (__wmemset): Use libc_hidden_def.
11114         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11115         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11116         of wmemset.
11118         [BZ #17573]
11119         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11120         with asm name __mempcpy.
11121         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11123         [BZ #17572]
11124         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11125         and define as weak alias of __rawmemchr.
11126         (__rawmemchr): Do not define as strong alias of rawmemchr.
11128         [BZ #17571]
11129         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11130         alias of __qsort_r.
11131         (qsort): Call __qsort_r instead of qsort_r.
11132         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11133         (__qsort_r): Declare.  Call libc_hidden_proto.
11134         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11135         instead of qsort_r.
11136         * nscd/gai.c (__qsort_r): Define to qsort_r.
11137         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11138         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11139         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11141         [BZ #17570]
11142         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11143         define as weak alias of __malloc_info.
11145         [BZ #17584]
11146         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11147         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11148         (__rewinddir): Use libc_hidden_def.
11149         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11150         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11151         (__rewinddir): Use libc_hidden_def.
11152         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11153         weak alias of __rewinddir.  Don't use libc_hidden_def.
11154         (__rewinddir): Use libc_hidden_def.
11155         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11156         (__rewinddir): Use libc_hidden_proto.
11157         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11158         rewinddir.
11159         (__getcwd): Use __rewinddir instead of rewinddir.
11161         [BZ #17583]
11162         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11163         alias of __fileno.  Use libc_hidden_weak.
11164         (__fileno): Use libc_hidden_def.
11165         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11166         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11167         alias of __ftello.
11168         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11169         __ftello.
11170         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11171         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11172         libc_hidden_def.
11173         (fread_unlocked): Don't use libc_hidden_ver.
11174         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11175         and define as weak alias of __fread_unlocked.  Don't use
11176         libc_hidden_def.
11177         (__fread_unlocked): Use libc_hidden_def.
11178         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
11179         (ftello): Don't use libc_hidden_proto.
11180         (__ftello): Declare.  Use libc_hidden_proto.
11181         (fread_unlocked): Don't use libc_hidden_proto.
11182         (__fread_unlocked): Declare.  Use libc_hidden_proto.
11183         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11184         and __ftello instead of fileno, fread_unlocked and ftello.
11186 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11188         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11189         GOT12.
11190         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11191         Likewise.
11192         (_dl_start_user): Likewise.
11193         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11195 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
11196             Siddhesh Poyarekar  <siddhesh@redhat.com>
11198         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11199         Move argv and envp down instead of moving argc up.
11200         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11202 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
11204         [BZ #17506]
11205         * test-skeleton.c (main): Return successful if one of
11206         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11207         * string/tst-strcoll-overflow.c: Define expected status.
11209 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
11211         [BZ #17475]
11212         * locale/iso-639.def: Define Bhili and Tulu language codes.
11214 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
11216         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11218 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
11220         [BZ #17555]
11221         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11223 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11225         * configure.ac: Updated check of minimal required version to
11226         2.22.
11227         * manual/install.texi (Tools for Compilation): Updated version
11228         number.
11229         * configure: Regenerated.
11230         * INSTALL: Likewise.
11232 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
11234         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11235         __tls_get_addr.
11237 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
11239         * include/sys/wait.h (__libc_waitpid): Remove declaration.
11240         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11241         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11242         libc_hidden_weak.
11243         (waitpid): Define as alias of __waitpid.
11244         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11245         __waitpid.
11246         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11247         libc_hidden_weak.
11248         (waitpid): Define as alias of __waitpid.
11249         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11250         __libc_waitpid alias.
11251         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11252         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11253         Likewise.
11254         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11255         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11256         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11257         alias.
11258         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11259         __waitpid.
11260         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11261         libc_hidden_weak.
11262         (waitpid): Define as alias of __waitpid.
11264 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
11266         * manual/llio.texi: Add comment that write safety has been
11267         fixed in Linux.
11269         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11270         (localplt-build-dso): Add elf/ld.so.
11271         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11272         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11273         and free for ld.so.
11274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
11275         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
11276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
11277         Likewise.
11278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11279         Likewise.
11280         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11281         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11282         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11283         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11284         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11285         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11286         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11287         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11288         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11289         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11290         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11292 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
11294         [BZ #14132]
11295         * include/libc-symbols.h (INTUSE): Remove macro.
11296         (INTDEF): Likewise.
11297         (INTVARDEF): Likewise.
11298         (_INTVARDEF): Likewise.
11299         (INTDEF2): Likewise.
11300         (INTVARDEF2): Likewise.
11301         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11302         rtld_hidden_def instead of INTVARDEF.
11303         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11304         (_dl_starting_up_internal): Remove declaration.
11305         (_dl_starting_up): Use rtld_hidden_proto.
11306         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11307         declaration.
11308         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11309         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11310         _dl_starting_up.
11311         * elf/dl-writev.h (_dl_writev): Likewise.
11312         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11313         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11314         _dl_starting_up_internal.
11316 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11318         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11319         test-skeleton.c.
11321 2014-11-05  Will Newton  <will.newton@linaro.org>
11323         * benchtests/Makefile: (bench-malloc): Add malloc thread
11324         scalability benchmark.
11325         * benchtests/bench-malloc-threads.c: New file.
11327 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
11329         * sysdeps/aarch64/strchrnul.S: New file.
11331 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11333         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
11334         definition.
11335         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11336         Likwise.
11337         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11338         Likewise.
11339         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11340         Likewise.
11341         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11342         Likewise.
11343         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11344         Likewise.
11346 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
11348         * catgets/test-gencat.c: Use test-skeleton.c.
11349         * catgets/tst-catgets.c: Likewise.
11350         * csu/tst-empty.c: Likewise.
11351         * elf/tst-audit2.c: Likewise.
11352         * elf/tst-global1.c: Likewise.
11353         * elf/tst-pathopt.c: Likewise.
11354         * elf/tst-piemod1.c: Likewise.
11355         * elf/tst-tls10.c: Likewise.
11356         * elf/tst-tls11.c: Likewise.
11357         * elf/tst-tls12.c: Likewise.
11358         * gnulib/tst-gcc.c: Likewise.
11359         * iconvdata/tst-e2big.c: Likewise.
11360         * iconvdata/tst-loading.c: Likewise.
11361         * iconv/tst-iconv1.c: Likewise.
11362         * iconv/tst-iconv2.c: Likewise.
11363         * inet/test-inet6_opt.c: Likewise.
11364         * inet/tst-gethnm.c: Likewise.
11365         * inet/tst-network.c: Likewise.
11366         * inet/tst-ntoa.c: Likewise.
11367         * intl/tst-codeset.c: Likewise.
11368         * intl/tst-gettext2.c: Likewise.
11369         * intl/tst-gettext3.c: Likewise.
11370         * intl/tst-ngettext.c: Likewise.
11371         * intl/tst-translit.c: Likewise.
11372         * io/test-stat.c: Likewise.
11373         * libio/test-fmemopen.c: Likewise.
11374         * libio/tst-freopen.c: Likewise.
11375         * libio/tst-sscanf.c: Likewise.
11376         * libio/tst-ungetwc1.c: Likewise.
11377         * libio/tst-ungetwc2.c: Likewise.
11378         * libio/tst-widetext.c: Likewise.
11379         * localedata/tst-ctype.c: Likewise.
11380         * localedata/tst-digits.c: Likewise.
11381         * localedata/tst-leaks.c: Likewise.
11382         * localedata/tst-mbswcs1.c: Likewise.
11383         * localedata/tst-mbswcs2.c: Likewise.
11384         * localedata/tst-mbswcs3.c: Likewise.
11385         * localedata/tst-mbswcs4.c: Likewise.
11386         * localedata/tst-mbswcs5.c: Likewise.
11387         * localedata/tst-setlocale.c: Likewise.
11388         * localedata/tst-trans.c: Likewise.
11389         * localedata/tst-wctype.c: Likewise.
11390         * localedata/tst-xlocale1.c: Likewise.
11391         * login/tst-grantpt.c: Likewise.
11392         * malloc/tst-calloc.c: Likewise.
11393         * malloc/tst-malloc.c: Likewise.
11394         * malloc/tst-mallocstate.c: Likewise.
11395         * malloc/tst-mcheck.c: Likewise.
11396         * malloc/tst-mtrace.c: Likewise.
11397         * malloc/tst-obstack.c: Likewise.
11398         * math/atest-exp2.c: Likewise.
11399         * math/atest-exp.c: Likewise.
11400         * math/atest-sincos.c: Likewise.
11401         * math/test-matherr.c: Likewise.
11402         * math/test-misc.c: Likewise.
11403         * math/test-powl.c: Likewise.
11404         * math/tst-definitions.c: Likewise.
11405         * misc/tst-dirname.c: Likewise.
11406         * misc/tst-efgcvt.c: Likewise.
11407         * misc/tst-fdset.c: Likewise.
11408         * misc/tst-hsearch.c: Likewise.
11409         * misc/tst-mntent2.c: Likewise.
11410         * nptl/tst-sem7.c: Likewise.
11411         * nptl/tst-sem8.c: Likewise.
11412         * nptl/tst-sem9.c: Likewise.
11413         * nss/test-netdb.c: Likewise.
11414         * posix/tst-fnmatch.c: Likewise.
11415         * posix/tst-getlogin.c: Likewise.
11416         * posix/tst-gnuglob.c: Likewise.
11417         * posix/tst-mmap.c: Likewise.
11418         * pwd/tst-getpw.c: Likewise.
11419         * resolv/tst-inet_ntop.c: Likewise.
11420         * rt/tst-timer.c: Likewise.
11421         * stdio-common/test-fseek.c: Likewise.
11422         * stdio-common/test-popen.c: Likewise.
11423         * stdio-common/test-vfprintf.c: Likewise.
11424         * stdio-common/tst-cookie.c: Likewise.
11425         * stdio-common/tst-fileno.c: Likewise.
11426         * stdio-common/tst-gets.c: Likewise.
11427         * stdio-common/tst-obprintf.c: Likewise.
11428         * stdio-common/tst-perror.c: Likewise.
11429         * stdio-common/tst-sprintf2.c: Likewise.
11430         * stdio-common/tst-sprintf3.c: Likewise.
11431         * stdio-common/tst-sprintf.c: Likewise.
11432         * stdio-common/tst-swprintf.c: Likewise.
11433         * stdio-common/tst-tmpnam.c: Likewise.
11434         * stdio-common/tst-unbputc.c: Likewise.
11435         * stdio-common/tst-wc-printf.c: Likewise.
11436         * stdlib/tst-environ.c: Likewise.
11437         * stdlib/tst-fmtmsg.c: Likewise.
11438         * stdlib/tst-limits.c: Likewise.
11439         * stdlib/tst-rand48-2.c: Likewise.
11440         * stdlib/tst-rand48.c: Likewise.
11441         * stdlib/tst-random2.c: Likewise.
11442         * stdlib/tst-random.c: Likewise.
11443         * stdlib/tst-strtol.c: Likewise.
11444         * stdlib/tst-strtoll.c: Likewise.
11445         * stdlib/tst-tls-atexit.c: Likewise.
11446         * stdlib/tst-xpg-basename.c: Likewise.
11447         * string/test-ffs.c: Likewise.
11448         * string/tst-bswap.c: Likewise.
11449         * string/tst-inlcall.c: Likewise.
11450         * string/tst-strtok.c: Likewise.
11451         * string/tst-strxfrm.c: Likewise.
11452         * sysdeps/x86_64/tst-audit10.c: Likewise.
11453         * sysdeps/x86_64/tst-audit3.c: Likewise.
11454         * sysdeps/x86_64/tst-audit4.c: Likewise.
11455         * sysdeps/x86_64/tst-audit5.c: Likewise.
11456         * time/tst-ftime_l.c: Likewise.
11457         * time/tst-getdate.c: Likewise.
11458         * time/tst-mktime3.c: Likewise.
11459         * time/tst-mktime.c: Likewise.
11460         * time/tst-posixtz.c: Likewise.
11461         * time/tst-strptime2.c: Likewise.
11462         * time/tst-strptime3.c: Likewise.
11463         * wcsmbs/tst-btowc.c: Likewise.
11464         * wcsmbs/tst-mbrtowc.c: Likewise.
11465         * wcsmbs/tst-mbsrtowcs.c: Likewise.
11466         * wcsmbs/tst-wchar-h.c: Likewise.
11467         * wcsmbs/tst-wcpncpy.c: Likewise.
11468         * wcsmbs/tst-wcrtomb.c: Likewise.
11469         * wcsmbs/tst-wcsnlen.c: Likewise.
11470         * wcsmbs/tst-wcstof.c: Likewise.
11472 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
11474         [BZ #14132]
11475         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11476         INTDEF.
11477         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11478         declaration.
11479         (_dl_mcount): Use rtld_hidden_proto.
11480         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11481         _dl_mcount.
11482         * elf/rtld.c (_rtld_global_ro): Likewise.
11484         [BZ #14132]
11485         * elf/dl-init.c (_dl_init): Don't use INTDEF.
11486         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11487         of _dl_init_internal.
11488         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11489         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11490         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11491         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11492         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11493         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11494         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11495         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11496         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11497         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11498         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11499         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11500         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11501         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11502         * sysdeps/tile/dl-start.S (_start): Likewise.
11503         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11504         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11506         [BZ #14132]
11507         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11508         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11509         (rtld_progname): Make macro definition unconditional.
11510         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11511         INTDEF.
11512         (dlmopen_doit): Do not use INTUSE with _dl_argv.
11513         (dl_main): Likewise.
11514         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11515         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11516         instead of _dl_argv_internal.
11517         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11518         __GI__dl_argv instead of INTUSE(_dl_argv).
11519         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11520         __GI__dl_argv instead of _dl_argv_internal.
11522         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11523         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11524         macro.
11525         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11526         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11527         New macro.
11528         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11529         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11530         macro.
11531         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11532         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11534 2014-11-04  Andreas Schwab  <schwab@suse.de>
11536         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11538 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11540         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11541         mtvsrd instruction in binary form.
11543 2014-11-03  Andreas Schwab  <schwab@suse.de>
11545         [BZ #17522]
11546         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11547         for less than MB_LEN_MAX use a local buffer of that size.
11548         * libio/tst-fputws.c: New file.
11549         * libio/Makefile (tests): Add tst-fputws.
11551 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
11553         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11554         the size of the fpu_fr.fpu_dregs[] array.
11556 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
11558         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11559         (__nanosleep): Do not define as alias.
11560         (nanosleep): Define as alias of __nanosleep.
11561         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11562         __libc_nanosleep name.
11564 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11566         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11567         install.texi in comment.
11569 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11571         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11572         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11573         ... add here and use lwsync or sync ...
11574         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11575         ... and add here using lwsync.
11577 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11579         * elf/dl-machine-reject-phdr.h: New file.
11580         * elf/dl-load.c: #include that.
11581         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11582         if that returned true.
11584 2014-10-31  Roland McGrath  <roland@hack.frob.com>
11586         [BZ #17496]
11587         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11588         gen-as-const-headers chunk.  Add a big scare comment after the last
11589         safe place to touch before-compile.
11591 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11593         * manual/install.texi (Tools for Compilation): Update autoconf
11594         version requirements.
11595         * INSTALL: Regenerated.
11597         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11598         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11599         (__libc_pselect): Likewise.
11601         [BZ #14138]
11602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11607 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11609         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11610         correct barrier instruction.
11611         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11612         Likewise.
11613         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11614         Likewise.
11616 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11618         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11619         after defining inlines.  Instead, just use parens to defeat macro
11620         expansion of __isctype in its declaration.
11622 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11624         * include/sys/uio.h (__libc_readv): Remove declaration.
11625         (__libc_writev): Likewise.
11626         * misc/readv.c (__libc_readv): Rename to __readv.
11627         (__readv): Do not define as alias.
11628         (readv): Define as alias of __readv.
11629         * misc/writev.c (__libc_writev): Rename to __writev.
11630         (__writev): Do not define as alias.
11631         (writev): Define as alias of __writev.
11632         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11633         (__readv): Do not define as alias.
11634         (readv): Define unconditionally as alias of __readv.
11635         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11636         (__writev): Do not define as alias.
11637         (writev): Define unconditionally as alias of __writev.
11638         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11639         name.
11640         (writev): Do not define __libc_writev name.
11642 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11644         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11645         (convert_charseq): New function, broken out of ...
11646         (use_from_charmap): ... here.  Call it.
11647         (use_to_charmap): Use convert_charseq and free instead of duplicating
11648         its code with a variable-length stack struct.
11650 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11652         * include/fcntl.h (__libc_creat): Remove declaration.
11653         * io/creat.c (__libc_creat): Rename to creat.
11654         (creat): Do not define as alias.
11655         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11656         of creat instead of __libc_creat.
11657         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11658         to creat.
11659         (creat): Do not define as alias.
11660         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11661         __libc_creat.
11662         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11663         __libc_creat name.
11664         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11665         Likewise.
11667 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
11669         * manual/llio.texi: Add comments discussing why write() may be
11670         considered MT-unsafe on Linux.
11672 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
11674         * dl-load.c (local_strdup): Remove.
11675         (expand_dynamic_string_token): Use __strdup.
11676         (decompose_rpath): Likewise.
11677         (_dl_map_object): Likewise.
11679 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
11681         [BZ #14132]
11682         * sysdeps/generic/unwind-dw2-fde.c
11683         (__register_frame_info_bases_internal): Do not declare.
11684         (__register_frame_info_table_bases_internal): Likewise.
11685         (__deregister_frame_info_bases_internal): Likewise.
11686         (__register_frame_info_bases): Declare and use hidden_proto before
11687         definition.  Use hidden_def instead of INTDEF.
11688         (__register_frame_info_table_bases): Likewise.
11689         (__deregister_frame_info_bases): Likewise.
11690         (__register_frame_info): Do not use INTUSE.
11691         (__register_frame): Likewise.
11692         (__register_frame_info_table): Likewise.
11693         (__register_frame_table): Likewise.
11694         (__deregister_frame_info): Likewise.
11695         (__deregister_frame): Likewise.
11697 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
11699         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11700         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11701         not undefine.
11702         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11703         Likewise.
11704         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11705         Likewise.
11707 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
11709         [BZ #14138]
11710         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11711         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11712         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11713         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11714         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11715         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11716         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11717         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11718         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11719         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11720         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11721         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11722         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11723         syscall.
11724         (setfsuid): Likewise.
11725         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11726         (setfsuid): Likewise.
11727         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11728         (setfsuid): Likewise.
11729         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11730         Likewise.
11731         (setfsuid): Likewise.
11732         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11733         (setfsuid): Likewise.
11734         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11735         Likewise.
11736         (setfsuid): Likewise.
11738 2014-10-27  Andreas Schwab  <schwab@suse.de>
11740         [BZ #17501]
11741         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11742         check for Slow_SSE4_2 feature bit.
11743         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11744         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11745         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11746         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
11748 2014-10-24  Roland McGrath  <roland@hack.frob.com>
11750         * configure.ac: Validate compiler version with a empirical test of
11751         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11752         $CC -v output.
11753         * configure: Regenerated.
11755         * inet/htons.c (htons): Prototypify.
11756         * inet/htonl.c (htonl): Likewise.
11758 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11760         * string/strncat.c (strncat): Improve performance by using strlen.
11762 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11764         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11766 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11768         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11769         Call libc_fetestexcept_aarch64.
11771 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11773         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11774         Call libc_feholdexcept_aarch64.
11776 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11778         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11779         Call get_rounding_mode.
11781 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11783         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11784         Simplify logic.
11786 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11788         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11789         Simplify logic.
11791 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
11793         [BZ #14138]
11794         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11795         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11796         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11797         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11798         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11799         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11800         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11801         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11802         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11803         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11804         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11805         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11806         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11807         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11808         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11809         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11810         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11811         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11812         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11813         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11814         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11815         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11816         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11817         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11818         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11819         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11820         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11821         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11822         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11823         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11824         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11825         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11826         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11827         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11828         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11829         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11830         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11831         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11832         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11833         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11834         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11835         syscall.
11836         (geteuid): Likewise.
11837         (getgid): Likewise.
11838         (getuid): Likewise.
11839         (getresgid): Likewise.
11840         (getresuid): Likewise.
11841         (getgroups): Likewise.
11842         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11843         (geteuid): Likewise.
11844         (getgid): Likewise.
11845         (getuid): Likewise.
11846         (getresgid): Likewise.
11847         (getresuid): Likewise.
11848         (getgroups): Likewise.
11849         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11850         (geteuid): Likewise.
11851         (getgid): Likewise.
11852         (getuid): Likewise.
11853         (getresgid): Likewise.
11854         (getresuid): Likewise.
11855         (getgroups): Likewise.
11856         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11857         Likewise.
11858         (geteuid): Likewise.
11859         (getgid): Likewise.
11860         (getuid): Likewise.
11861         (getresgid): Likewise.
11862         (getresuid): Likewise.
11863         (getgroups): Likewise.
11864         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11865         (geteuid): Likewise.
11866         (getgid): Likewise.
11867         (getuid): Likewise.
11868         (getresgid): Likewise.
11869         (getresuid): Likewise.
11870         (getgroups): Likewise.
11871         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11872         Likewise.
11873         (geteuid): Likewise.
11874         (getgid): Likewise.
11875         (getuid): Likewise.
11876         (getgroups): Likewise.
11878         [BZ #14138]
11879         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11880         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11881         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11882         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11883         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11884         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11885         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11886         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11887         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11888         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11889         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11890         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11891         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11892         __chown.
11893         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11894         (lchown): Likewise.
11895         (fchown): Likewise.
11896         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11897         Likewise.
11898         (lchown): Likewise.
11899         (fchown): Likewise.
11900         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11901         (lchown): Likewise.
11902         (fchown): Likewise.
11903         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11904         Likewise.
11905         (lchown): Likewise.
11906         (fchown): Likewise.
11908 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11910         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11911         Simplify logic.
11913 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11915         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11916         Cleanup logic.
11918 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11920         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11921         Remove unused include.
11923 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11925         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11926         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11927         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11928         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11930 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
11931             Helge Deller <deller@gmx.de>
11933         [BZ #17508]
11934         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11935         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11936         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11938 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
11940         [BZ #14132]
11941         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11942         Remove macro definition.
11943         (__ashrdi3_v_glibc20): Likewise.
11944         (__lshrdi3_v_glibc20): Likewise.
11945         (__cmpdi2_v_glibc20): Likewise.
11946         (__ucmpdi2_v_glibc20): Likewise.
11947         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11948         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11949         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11950         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11951         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11952         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11954 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11956         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11957         old GNU extension [0] syntax.
11958         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11959         alloca rather than an array member with variable length.
11960         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11961         * nscd/nscd.c (invalidate_db): New function, broken out of ...
11962         (parse_opt): ... here.  Likewise use alloca there.
11963         Validate the -i argument before checking for rootness.
11964         (send_shutdown): New function, broken out of ...
11965         (parse_opt): ... here.
11967 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11969         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11970         macro to get at the _rt_local_ro field.
11971         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11972         ([PIC] case) or _dl_hwcap ([!PIC] case).
11973         * sysdeps/arm/setjmp.S: Likewise.
11975         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11976         * sysdeps/arm/configure.ac: New check to define it.
11977         * sysdeps/arm/configure: Regenerated.
11978         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11979         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11980         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11981         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11982         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11983         Use move/movt pair instead of a load.
11984         (LDST_GLOBAL): Macro removed.
11985         (LDR_GLOBAL): New macro replaces it.
11986         (LDR_HIDDEN): New macro.
11987         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11988         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11990         * setjmp/tst-setjmp-static.c: New file.
11991         * setjmp/Makefile (tests): Add it.
11992         (tests-static): New variable.
11994 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
11996         [BZ #17485]
11997         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11999 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12001         [BZ #14132]
12002         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12004 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12006         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12008 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12010         * io/fts.c (dirent_not_directory): New function.
12011         (fts_build): Call it.
12013 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12015         * nptl/version.c (__nptl_main): Use normal __write rather than
12016         INTERNAL_SYSCALL.
12017         (banner): Update copyright years.
12019         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12020         gettimeofday.
12021         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12022         * nptl/pthread_cond_timedwait.c: Likewise.
12023         * nptl/pthread_mutex_timedlock.c: Likewise.
12024         * nptl/sem_timedwait.c: Likewise.
12026         * sysdeps/nptl/bits/libc-lock.h
12027         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12028         (__libc_lock_init_recursive): Return void, not 0.
12029         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12030         (__libc_rwlock_init): Likewise.
12031         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12033 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12035         [BZ #15215]
12036         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12037         (__pthread_once_slow): ... here.
12038         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12039         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12041 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12043         [BZ #15215]
12044         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12045         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12046         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12047         * nptl/pthread_once.c (__pthread_once): Likewise.
12048         Update comments.
12050 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12052         [BZ #14138]
12053         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12054         name.
12055         (writev): Use __libc_writev as strong name.
12056         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12057         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12059 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12061         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12063         * sysdeps/i386/nptl/tls.h
12064         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12065         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12066         New macros.
12067         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12068         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12069         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12070         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12071         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12072         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12074         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12075         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12076         on [__NR_futex].
12077         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12078         broken out of ...
12079         (__pthread_mutex_init): ... here.  Call it.
12080         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12081         Conditionalize PI cases on [__NR_futex].
12082         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12083         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12084         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12086         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12087         conditional on [SIGSETXID].
12088         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12089         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12090         is defined.  Likewise for SIGSETXID.
12091         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12092         Conditionalize definitions on [SIGSETXID].
12093         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12094         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12095         unblocking on [SIGCANCEL].
12097         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12098         [__NR_set_robust_list].
12100 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12102         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12103         (do_compare): Likewise.
12105 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12107         [BZ #15884]
12108         * string/strcoll_l.c: Don't include stdio.h.
12109         (coll_seq): Remove members idxarr and rulearr.
12110         (get_next_seq_cached): Remove function.
12111         (get_next_seq): Likewise.
12112         (get_next_seq_nocache): Rename to get_next_seq.
12113         (do_compare): Remove function.
12114         (do_compare_nocache): Rename to do_compare.
12115         (STRCOLL): Remove weight and rules cache.
12117 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12119         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12120         * sysdeps/arm/sfp-machine.h: ... to here.
12121         * sysdeps/arm/Implies: Remove arm/soft-fp.
12123 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12125         * conform/data/sys/utsname.h-data (*_t): Allow.
12126         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12127         [POSIX] (WEXITED): Do not expect constant.
12128         [POSIX] (WSTOPPED): Likewise.
12129         [POSIX] (WNOHANG): Likewise.
12130         [POSIX] (WNOWAIT): Likewise.
12131         [POSIX] (siginfo_t): Do not expect type or elements.
12132         [POSIX] (pid_t): Do not expect type.
12133         [POSIX] (signal.h): Do not allow header.
12134         [POSIX] (sys/resource.h): Likewise.
12135         [POSIX] (si_*): Do not allow pattern.
12136         [POSIX] (W*): Likewise.
12137         [POSIX] (P_*): Likewise.
12138         [POSIX] (BUS_*): Likewise.
12139         [POSIX] (CLD_*): Likewise.
12140         [POSIX] (FPE_*): Likewise.
12141         [POSIX] (ILL_*): Likewise.
12142         [POSIX] (POLL_*): Likewise.
12143         [POSIX] (SEGV_*): Likewise.
12144         [POSIX] (SI_*): Likewise.
12145         [POSIX] (TRAP_*): Likewise.
12146         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12147         variable.
12149 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12151         [BZ #12926]
12152         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12153         infinite loop when __recvmsg returns 0.
12155 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12157         * CANCEL-FCT-WAIVE: Remove file.
12158         * CANCEL-FILE-WAIVE: Likewise.
12160         [BZ #14132]
12161         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12162         instead of INTVARDEF.
12163         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12164         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12165         rtld_hidden_data_def instead of INTVARDEF.
12166         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12167         * elf/dl-deps.c (expand_dst): Likewise.
12168         * elf/dl-load.c (_dl_dst_count): Likewise.
12169         (_dl_dst_substitute): Likewise.
12170         (decompose_rpath): Likewise.
12171         (_dl_init_paths): Likewise.
12172         (open_path): Likewise.
12173         (_dl_map_object): Likewise.
12174         * elf/rtld.c (dl_main): Likewise.
12175         (process_dl_audit): Likewise.
12176         (process_envvars): Likewise.
12177         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12178         Remove declaration.
12179         (__libc_enable_secure): Use rtld_hidden_proto.
12181 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12183         * elf/dl-load.c
12184         (add_path): New function broken out of _dl_rtld_di_serinfo.
12185         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
12187 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12189         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12190         parentheses around macro arguments.
12191         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12192         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12193         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12194         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12195         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12196         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12197         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12198         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12199         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12200         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12201         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12202         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12203         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12204         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12205         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12206         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12207         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12208         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12209         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12210         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12211         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12212         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12213         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12214         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12215         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12216         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12217         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12218         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12219         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12220         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12221         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12222         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12223         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12224         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12225         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12226         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12227         Likewise.
12228         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12229         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12230         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12231         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12232         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12233         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12234         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12235         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12236         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12237         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12238         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12239         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12240         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12241         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12242         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12243         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12244         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12245         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12246         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12247         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12248         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12249         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12250         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12251         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12252         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12253         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12254         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12255         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12256         (_FP_FRAC_SRS_1): Likewise.
12257         (_FP_FRAC_CLZ_1): Likewise.
12258         (_FP_MUL_MEAT_1_imm): Likewise.
12259         (_FP_MUL_MEAT_1_wide): Likewise.
12260         (_FP_MUL_MEAT_1_hard): Likewise.
12261         (_FP_SQRT_MEAT_1): Likewise.
12262         (_FP_FRAC_ASSEMBLE_1): Likewise.
12263         (_FP_FRAC_DISASSEMBLE_1): Likewise.
12264         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12265         (__FP_CLZ_2): Likewise.
12266         (_FP_MUL_MEAT_2_wide): Likewise.
12267         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12268         (_FP_MUL_MEAT_2_gmp): Likewise.
12269         (_FP_MUL_MEAT_2_120_240_double): Likewise.
12270         (_FP_SQRT_MEAT_2): Likewise.
12271         (_FP_FRAC_ASSEMBLE_2): Likewise.
12272         (_FP_FRAC_DISASSEMBLE_2): Likewise.
12273         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12274         (_FP_FRAC_CLZ_4): Likewise.
12275         (_FP_MUL_MEAT_4_wide): Likewise.
12276         (_FP_MUL_MEAT_4_gmp): Likewise.
12277         (_FP_SQRT_MEAT_4): Likewise.
12278         (_FP_FRAC_ASSEMBLE_4): Likewise.
12279         (_FP_FRAC_DISASSEMBLE_4): Likewise.
12280         * soft-fp/op-common.h (_FP_CMP): Likewise.
12281         (_FP_CMP_EQ): Likewise.
12282         (_FP_CMP_UNORD): Likewise.
12283         (_FP_TO_INT): Likewise.
12284         (_FP_FROM_INT): Likewise.
12285         [!__FP_CLZ] (__FP_CLZ): Likewise.
12286         (_FP_DIV_HELP_imm): Likewise.
12287         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12288         Likewise.
12289         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12290         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12291         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12292         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12293         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12294         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12295         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12296         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12297         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12298         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12299         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12300         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12301         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12302         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12303         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12304         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12305         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12306         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12307         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12308         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12309         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12310         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12311         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12312         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12313         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12314         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12315         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12316         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12317         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
12318         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
12319         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
12320         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
12321         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
12322         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
12323         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
12324         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
12325         (FP_UNPACK_RAW_SP): Likewise.
12326         (FP_PACK_RAW_S): Likewise.
12327         (FP_PACK_RAW_SP): Likewise.
12328         (FP_UNPACK_S): Likewise.
12329         (FP_UNPACK_SP): Likewise.
12330         (FP_UNPACK_SEMIRAW_S): Likewise.
12331         (FP_UNPACK_SEMIRAW_SP): Likewise.
12332         (FP_PACK_S): Likewise.
12333         (FP_PACK_SP): Likewise.
12334         (FP_PACK_SEMIRAW_S): Likewise.
12335         (FP_PACK_SEMIRAW_SP): Likewise.
12336         (_FP_SQRT_MEAT_S): Likewise.
12337         (FP_CMP_S): Likewise.
12338         (FP_CMP_EQ_S): Likewise.
12339         (FP_CMP_UNORD_S): Likewise.
12340         (FP_TO_INT_S): Likewise.
12341         (FP_FROM_INT_S): Likewise.
12343         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
12345         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
12346         (FP_EX_INVALID_IMZ): Likewise.
12347         (FP_EX_INVALID_IMZ_FMA): Likewise.
12348         (FP_EX_INVALID_ISI): Likewise.
12349         (FP_EX_INVALID_ZDZ): Likewise.
12350         (FP_EX_INVALID_IDI): Likewise.
12351         (FP_EX_INVALID_SQRT): Likewise.
12352         (FP_EX_INVALID_CVI): Likewise.
12353         (FP_EX_INVALID_VC): Likewise.
12354         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
12355         "invalid" exceptions.
12356         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
12357         (_FP_ADD_INTERNAL): Likewise.
12358         (_FP_MUL): Likewise.
12359         (_FP_FMA): Likewise.
12360         (_FP_DIV): Likewise.
12361         (_FP_CMP_CHECK_NAN): Likewise.
12362         (_FP_SQRT): Likewise.
12363         (_FP_TO_INT): Likewise.
12364         (FP_EXTEND): Likewise.
12366 2014-10-09  Allan McRae  <allan@archlinux.org>
12368         * po/fr.po: Update French translation from translation project.
12370 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12372         [BZ #14132]
12373         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
12374         of INTDEF.
12375         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
12376         (__cxa_atexit): Use libc_hidden_proto.
12377         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
12379         [BZ #14132]
12380         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12381         declaration.
12382         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
12383         [!_ISOMAC] (__iswspace_l_internal): Likewise.
12384         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12385         [!_ISOMAC] (__iswctype_internal): Likewise.
12386         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12387         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12388         alias.
12389         (fcntl): Remove __fcntl_internal alias.
12390         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12391         __connect_internal alias.
12392         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12393         Likewise.
12395         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12396         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12397         FP_DENORM_ZERO.
12398         (_FP_CHECK_FLUSH_ZERO): New macro.
12399         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12400         (_FP_CMP): Likewise.
12401         (_FP_CMP_EQ): Likewise.
12402         (_FP_TO_INT): Do not set inexact for subnormal arguments if
12403         FP_DENORM_ZERO.
12404         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12405         (FP_TRUNC): Likewise.
12407         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12408         treated as invalid conversion, not as normal exponent.
12410         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12411         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
12412         (_FP_CMP_EQ): Likewise.
12413         (_FP_CMP_UNORD): Likewise.
12414         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12415         (FP_CMP_EQ_D): Likewise.
12416         (FP_CMP_UNORD_D): Likewise.
12417         * soft-fp/extended.h (FP_CMP_E): Likewise.
12418         (FP_CMP_EQ_E): Likewise.
12419         (FP_CMP_UNORD_E): Likewise.
12420         * soft-fp/quad.h (FP_CMP_Q): Likewise.
12421         (FP_CMP_EQ_Q): Likewise.
12422         (FP_CMP_UNORD_Q): Likewise.
12423         * soft-fp/single.h (FP_CMP_S): Likewise.
12424         (FP_CMP_EQ_S): Likewise.
12425         (FP_CMP_UNORD_S): Likewise.
12426         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12427         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12428         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12429         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12430         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12431         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12432         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12433         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12434         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12435         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12436         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12437         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12438         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12439         to FP_CMP_Q.
12440         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12441         FP_CMP_Q.
12442         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12443         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12444         FP_CMP_EQ_Q.
12445         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12446         FP_CMP_Q.
12447         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12448         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12449         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12450         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12451         FP_CMP_EQ_Q.
12452         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12453         FP_CMP_Q.
12454         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12455         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12456         FP_CMP_EQ_Q.
12457         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12458         FP_CMP_Q.
12459         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12460         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12461         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12462         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12463         FP_CMP_EQ_Q.
12465         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12466         a subnormal result, set the underflow exception if trapping on
12467         underflow is enabled.
12468         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12469         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12470         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12471         redefine to 0.
12472         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12473         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12474         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12475         * soft-fp/extendxftf2.c (__extendxftf2): Use
12476         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12478         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12479         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12480         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12481         FP_HANDLE_EXCEPTIONS.
12482         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12483         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12484         FP_HANDLE_EXCEPTIONS.
12485         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12486         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12487         FP_HANDLE_EXCEPTIONS.
12488         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12489         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12490         FP_HANDLE_EXCEPTIONS.
12492 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
12494         [BZ #14132]
12495         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12496         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12497         use INTUSE.
12498         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12499         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12500         Remove alias.
12501         (__adjtimex): Define using libc_hidden_ver.
12502         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12503         Remove declaration.
12504         (ntp_gettime): Call __adjtimex directly.
12505         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12506         Remove declaration.
12507         (ntp_gettimex): Call __adjtimex directly.
12508         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12509         __adjtimex_internal alias.
12511 2014-10-08  Roland McGrath  <roland@hack.frob.com>
12513         [BZ #17460]
12514         * nscd/nscd.c (more_help): Rewrite list of tables collection
12515         using xstrdup and asprintf.
12517         * nscd/nscd_conf.c: Remove local xstrdup declaration.
12519 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12520             Roland McGrath  <roland@hack.frob.com>
12522         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12523         (do_lookup_unique): ... local function 'enter' here; update callers.
12525 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
12527         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12528         compat_symbol calls on [SHARED].
12529         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12530         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12531         Remove.
12532         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12533         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12534         (oldsetrlimit): Remove.
12535         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12537         (lchown): New syscall entry.
12538         (oldsetrlimit): Remove.
12539         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12540         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12541         (oldsetrlimit): Remove.
12542         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12544         [BZ #14138]
12545         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12546         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12547         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12548         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12549         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12550         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12551         (fchown): Likewise.
12552         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12553         (fchown): Likewise.
12554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12555         Likewise.
12557 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12559         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12560         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12561         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12562         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12563         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12564         Likewise.
12565         (__old_sem_post): Likewise.
12567 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
12569         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12570         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12571         HAVE_CLOCK_GETTIME_VSYSCALL macros.
12572         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12573         Use INLINE_VSYSCALL macro.
12574         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12575         __vdso_clock_gettime.
12576         * sysdeps/unix/sysv/linux/tile/init-first.c
12577         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12578         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12579         __vdso_clock_gettime.
12581         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12582         to set up frame more cleanly.
12584         * sysdeps/tile/memcmp.c: New file.
12586         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12588         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12589         * sysdeps/tile/tilegx/strcasestr.c: New file.
12590         * sysdeps/tile/tilegx/strnlen.c: New file.
12591         * sysdeps/tile/tilegx/strstr.c: New file.
12593         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12595 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
12597         * nptl/tst-setuid3.c: Write errors to stdout.
12599 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12601         * elf/dl-deps.c
12602         (preload): New functions broken out of _dl_map_object_deps.
12603         (_dl_map_object_deps):  Remove a nested function. Update call sites.
12605 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
12607         [BZ #14138]
12608         * sysdeps/unix/sysv/linux/execve.c: Remove file.
12609         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12611 2014-10-01  Steve Ellcey  <sellcey@mips.com>
12613         * sysdeps/mips/strcmp.S: New.
12615 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
12617         [BZ #14138]
12618         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12619         (linkat): Likewise.
12620         (mkdirat): Likewise.
12621         (readlinkat): Likewise.
12622         (renameat): Likewise.
12623         (symlinkat): Likewise.
12624         (unlinkat): Likewise.
12625         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12626         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12627         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12628         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12629         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12630         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12631         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12633 2014-09-30  Will Newton  <will.newton@linaro.org>
12635         * math/math.h: Define long double math functions if
12636         _LIBC_TEST is defined.
12637         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12639         * localedata/Makefile: Move assignment to tests-special
12640         into an ifdef testing run-built-tests.
12641         * timezone/Makefile: Likewise.
12643 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
12645         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12646         with $(BASH) not $(SHELL).
12648 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
12649             Matthew LeGendre  <legendre1@llnl.gov>
12651         [BZ #17411]
12652         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12653         l_reloc_result.
12655 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12657         * stdio-common/printf_fp.c
12658         (hack_digit): New function, broken out of ...
12659         (__printf_fp): ... local function here.  Update call sites.
12660         hack_digit now takes an additional parameter that is a pointer
12661         to a struct of the referenced locals.  Those locals moved inside
12662         the struct and references updated.
12664 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
12666         * aclocal.m4: Require autoconf 2.69.
12667         * configure: Regenerated.
12668         * sysdeps/aarch64/configure: Likewise.
12669         * sysdeps/alpha/configure: Likewise.
12670         * sysdeps/arm/armv7/configure: Likewise.
12671         * sysdeps/arm/configure: Likewise.
12672         * sysdeps/ia64/configure: Likewise.
12673         * sysdeps/mach/configure: Likewise.
12674         * sysdeps/mips/configure: Likewise.
12675         * sysdeps/s390/configure: Likewise.
12676         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12679         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12680         file.
12681         * sysdeps/ia64/configure.ac: Likewise.
12683 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
12685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12686         specify symbol version for ld.so.  Do not include entry for
12687         libpthread.
12688         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12689         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12690         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12692         [BZ #14171]
12693         * Makeconfig [$(build-shared) = yes]
12694         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12695         makefiles.
12696         [$(build-shared) = yes && $(soversions.mk-done) = t]
12697         ($(common-objpfx)gnu/lib-names.h): Remove rule.
12698         [$(build-shared) = yes && $(soversions.mk-done) = t]
12699         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
12700         to Makerules.
12701         [$(build-shared) = yes && $(soversions.mk-done) = t]
12702         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12703         here.
12704         [$(build-shared) = yes && $(soversions.mk-done) = t]
12705         (common-generated): Don't append gnu/lib-names.h and
12706         gnu/lib-names.stmp here.
12707         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12708         (lib-names-h-abi): New variable.
12709         [$(build-shared) = yes && $(soversions.mk-done) = t]
12710         (lib-names-stmp-abi): Likewise.
12711         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12712         abi-variants] (before-compile): Append
12713         $(common-objpfx)$(lib-names-h-abi).
12714         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12715         abi-variants] (common-generated): Append gnu/lib-names.h.
12716         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12717         abi-variants] (install-others-nosubdir): Depend on
12718         $(inst_includedir)/$(lib-names-h-abi).
12719         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12720         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12721         [$(build-shared) = yes && $(soversions.mk-done) = t]
12722         ($(common-objpfx)$(lib-names-h-abi)): New rule.
12723         [$(build-shared) = yes && $(soversions.mk-done) = t]
12724         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12725         [$(build-shared) = yes && $(soversions.mk-done) = t]
12726         (common-generated): Append $(lib-names-h-abi) and
12727         $(lib-names-stmp-abi).
12728         * scripts/lib-names.awk: Do not handle multi being set.
12729         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12730         Remove variable.
12731         (abi-lp64_be-ld-soname): Likewise.
12732         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12733         Likewise.
12734         (abi-hard-ld-soname): Likewise.
12735         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12736         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12737         Remove variable.
12738         (abi-o32_hard-ld-soname): Likewise.
12739         (abi-o32_soft_2008-ld-soname): Likewise.
12740         (abi-o32_hard_2008-ld-soname): Likewise.
12741         (abi-n32_soft-ld-soname): Likewise.
12742         (abi-n32_hard-ld-soname): Likewise.
12743         (abi-n32_soft_2008-ld-soname): Likewise.
12744         (abi-n32_hard_2008-ld-soname): Likewise.
12745         (abi-n64_soft-ld-soname): Likewise.
12746         (abi-n64_hard-ld-soname): Likewise.
12747         (abi-n64_soft_2008-ld-soname): Likewise.
12748         (abi-n64_hard_2008-ld-soname): Likewise.
12749         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12750         Likewise.
12751         (abi-64-v2-ld-soname): Likewise.
12752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12753         ld.so entries.
12754         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12755         variable.
12756         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12757         entry.
12758         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12759         variable.
12760         (abi-64-ld-soname): Likewise.
12761         (abi-x32-ld-soname): Likewise.
12762         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12763         entry.
12764         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12766 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
12768         [BZ #14138]
12769         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12770         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12771         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12772         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12773         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12774         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12775         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12776         syscall entry for GLIBC_2.2 symbol version.
12777         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12778         Likewise.
12779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12780         (setrlimit): Likewise.
12781         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12782         Likewise.
12784 2014-09-23  Will Newton  <will.newton@linaro.org>
12786         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12787         _LINUX_ARM_SYSDEP_H include guard too.
12788         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12789         define.
12791 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12793         * sysdeps/unix/sysv/linux/eventfd.c:
12794         Make first argument unsigned.
12795         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12796         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12798 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
12800         * socket/recvmmsg.c (recvmmsg): Drop const argument.
12801         * socket/sys/socket.h: Likewise
12802         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12804 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12806         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12808 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
12810         * time/tst-ftime.c: New test.
12811         * time/Makefile (tests): Add tst-ftime.
12813 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
12815         * soft-fp/extended.h: Fix comment formatting.
12816         * soft-fp/op-1.h: Likewise.
12817         * soft-fp/op-2.h: Likewise.
12818         * soft-fp/op-4.h: Likewise.
12819         * soft-fp/op-8.h: Likewise.
12820         * soft-fp/op-common.h: Likewise.
12821         * soft-fp/soft-fp.h: Likewise.
12823         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12825 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
12827         [BZ #6652]
12828         * Makeconfig (soversions-default-setname): Remove variable.
12829         ($(common-objpfx)soversions.i): Don't pass default_setname to
12830         soversions.awk.
12831         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12832         oldest_abi to abi-versions.awk.
12833         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12834         * config.make.in (oldest-abi): Remove variable.
12835         * configure.ac (--enable-oldest-abi): Remove configure option.
12836         * configure: Regenerated.
12837         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12838         text.
12839         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12840         * scripts/soversions.awk: Do not handle default_setname variable.
12841         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12842         variable.
12843         * sysdeps/mach/hurd/configure: Regenerated.
12844         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12845         variable.
12846         * sysdeps/unix/sysv/linux/configure: Regenerated.
12848 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12850         * elf/Makefile (CFLAGS-interp.c): Remove.
12851         ($(elf-objpfx)runtime-linker.h): Generate header with linker
12852         path string.
12853         * elf/interp.c: Include generated runtime-linker.h
12855         * Makerules (lib%.so): Don't include $(+interp) in
12856         prerequisites.
12857         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12858         * dlfcn/eval.c: Remove file.
12860         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12861         macros.
12863         [BZ #17266]
12864         * misc/sys/cdefs.h: Define __extern_always_inline for clang
12865         4.2 and newer.
12867         [BZ #17370]
12868         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12870 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12871             Jakub Jelinek  <jakub@redhat.com>
12873         [BZ #17266]
12874         * libio/stdio.h: Check definition of __fortify_function
12875         instead of __extern_always_inline to include bits/stdio2.h.
12876         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12877         check if __extern_always_inline is defined.
12878         [__USE_MISC || __USE_XOPEN]: Likewise.
12879         [__USE_ISOC99] Likewise.
12880         * misc/sys/cdefs.h (__fortify_function): Define only if
12881         __extern_always_inline is defined.
12882         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12883         __extern_always_inline and __extern_inline only for g++-4.3
12884         and newer or a compatible gcc.
12886 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
12888         [BZ #17371]
12889         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12890         last change to handle zero prefix length.
12892 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12894         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12895         _SC_REGEX_VERSION.
12897         * posix/getconf.c (vars): Add _POSIX_IPV6 and
12898         _POSIX_RAW_SOCKETS.
12900 2014-09-13  Allan McRae  <allan@archlinux.org>
12902         * po/ru.po: Update Russian translation from translation project.
12904 2014-09-12  Roland McGrath  <roland@hack.frob.com>
12906         * locale/programs/locale.c (show_locale_vars): Inline local function
12907         into its sole call site.  Clean up some style nits.
12908         (print_item): New function, broken out of ...
12909         (show_info): ... local function here.  Clean up style nits.
12911         * locale/programs/ld-ctype.c (set_one_default): New function, broken
12912         out of ...
12913         (set_class_defaults): ... local function set_default here.
12914         Define set_default as a macro locally to pass constant parameters.
12915         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12916         rather than a shared local.
12918         * stdlib/rpmatch.c (try): New function, broken out of ...
12919         (rpmatch): ... local function here.  Also, prototypify definition.
12921 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
12923         * scripts/soversions.awk: Do not handle configuration names.
12924         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12925         vendor and os variables to soversions.awk.
12926         * configure.ac: Do not modify gnu-* host_os.
12927         * configure: Regenerated
12928         * shlib-versions: Remove first column with configuration names.
12929         * nptl/shlib-versions: Likewise.
12930         * nptl_db/shlib-versions: Likewise.
12931         * sysdeps/hppa/shlib-versions: Likewise.
12932         * sysdeps/m68k/shlib-versions: Likewise.
12933         * sysdeps/mach/hurd/shlib-versions: Likewise.
12934         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12935         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12936         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12937         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12938         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12939         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12940         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12941         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12943         Likewise.
12944         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12945         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12946         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12947         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12948         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12949         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12950         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12951         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12954         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12956         Regenerated.
12957         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12959         Condition symbol version definitions on [HAVE_ELFV2_ABI].
12961         * shlib-versions: Remove OS-specific entries.  Moved to files in
12962         sysdeps.
12963         * sysdeps/mach/hurd/shlib-versions: New file.
12964         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12966         * nptl/shlib-versions: Remove architecture-specific entries.
12967         Moved to files in sysdeps.
12968         * shlib-versions: Likewise.
12969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12970         file.
12971         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12972         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12973         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12974         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12976         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12977         (UDP_NO_CHECK6_RX): Likewise.
12979 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12981         * sysdeps/posix/sysconf.c (__sysconf): Spell
12982         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12984 2014-08-12  Florian Weimer  <fweimer@redhat.com>
12986         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12987         loading.
12988         * iconv/Versions (__gconv_transliterate): Export for use from
12989         gconv modules.
12990         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12991         (struct __gconv_trans_data, __gconv_trans_fct,
12992         __gconv_trans_context_fct, __gconv_trans_query_fct,
12993         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12994         definitions.
12995         (struct __gconv_step_data): Remove __trans member.
12996         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
12997         longer hidden.  Remove unused trans_data argument.
12998         * iconv/gconv_int.h (struct trans_struct): Remove definition.
12999         (__gconv_translit_find): Remove declaration.
13000         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13001         prototype.
13002         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13003         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13004         trans_data argument.  Add hidden definition.
13005         (__gconv_translit_find): Remove.
13006         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13007         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13008         * iconv/skeleton.c: Remove transliteration initialization.
13009         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13010         __gconv_step_data initialization.
13011         * libio/iofwide.c (__libio_translit_): Remove.
13012         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13013         * wcsmbs/btowc.c (__btowc): Likewise.
13014         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13015         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13016         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13017         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13018         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13019         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13020         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13021         * wcsmbs/wctob.c (wctob): Likewise.
13023 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13025         [BZ #16194]
13026         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13027         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13028         register usage.
13029         * sysdeps/x86/Makefile: Adjust.
13031 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13032             Roland McGrath  <roland@hack.frob.com>
13034         * locale/weight.h: Add include guard.
13035         (findidx): Make static rather than auto; take new parameters
13036         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13037         * locale/weightwc.h: Likewise.
13038         * posix/fnmatch_loop.c
13039         (FCT): Change type of EXTRA from int32_t to wint_t.
13040         Don't include either header inside the function.
13041         Call FINDIDX rather than findidx, and pass new arguments.
13042         #undef FINDIDX at the end of the file.
13043         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13044         FINDIDX before including fnmatch_loop.c for the non-wide version.
13045         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13046         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13047         for the wide version.
13048         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13049         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13050         Pass new arguments to findidx.
13051         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13052         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13053         Don't #include it inside the function.  Pass new arguments to findidx.
13054         * posix/regex_internal.h
13055         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13056         (re_string_elem_size_at): Don't #include it inside the function.
13057         Pass new arguments to findidx.
13058         * string/strcoll_l.c: #include WEIGHT_H at top level.
13059         (get_next_seq): Don't #include it inside the function.
13060         Pass new arguments to findidx.
13061         (get_next_seq_nocache): Likewise.
13062         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13063         (STRXFRM): Don't #include it inside the function.
13064         Pass new arguments to findidx.
13066 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13068         [BZ #17344]
13069         * malloc/malloc.c (unlink): Turn asserts into a call to
13070         malloc_printerr.
13072 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13074         [BZ #17370]
13075         * libio/wfileops (do_ftell_wide): Free OUT.
13077 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13079         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13081 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13083         [BZ #17363]
13084         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13085         group if the current group is empty.
13087 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13089         * benchtests/bench-memset.c (test_main): Add more test from size
13090         from 32 to 512 bytes.
13091         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13092         Add POWER8 memset object.
13093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13094         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13095         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13096         implementation.
13097         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13098         Likewise.
13099         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13100         multiarch POWER8 memset optimization.
13101         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13102         POWER8 memset optimization.
13104         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13105         Remove bzero multiarch objects.
13106         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13107         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13108         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13109         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13110         Remove define.
13111         [__bzero]: Redefine to specific name.
13112         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13113         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13114         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13115         define.
13116         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13117         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13119 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13121         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13122         warnings into errors.
13124         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13125         __cxa_thread_atexit_impl prototype.
13127 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13129         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13130         Fix capitalization of error message.
13132 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13134         * sysdeps/mips/preconfigure: Modify ABI tests.
13136 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13138         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13140 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13141             Carlos O'Donell  <carlos@systemhalted.org>
13143         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13144         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13145         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13146         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13147         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13148         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13149         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13150         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13151         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13152         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13153         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13154         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13155         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13156         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13157         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13158         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13159         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13160         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13161         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13162         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13163         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13164         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13165         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13166         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13167         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13168         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13169         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13170         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13171         Deconditionalize the code that was previously under [RESET_PID].
13172         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13173         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13174         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13175         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13176         include sysdep.h.
13178 2014-09-08  Allan McRae  <allan@archlinux.org>
13180         * version.h (RELEASE): Set to "development".
13181         (VERSION): Set to "2.20.90"
13183 2014-09-07  Allan McRae  <allan@archlinux.org
13185         * version.h (RELEASE): Set to "stable".
13186         (VERSION): Set to "2.20"
13187         * include/features.h (__GLIBC_MINOR__): Set to 20.
13189         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13190         Liebler.
13192         * po/ko.po: Update Korean translation from translation project.
13194 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
13196         [BZ #17354]
13197         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13198         macro for handling signed relocations.
13200 2014-09-03  Florian Weimer  <fweimer@redhat.com>
13202         [BZ #17325]
13203         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13204         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13205         assert.
13206         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13207         * iconvdata/ibm935.c (BODY): Likewise.
13208         * iconvdata/ibm937.c (BODY): Likewise.
13209         * iconvdata/ibm939.c (BODY): Likewise.
13210         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13211         assert.
13212         * iconvdata/Makefile (iconv-test.out): Pass module list to test
13213         script.
13214         * iconvdata/run-iconv-test.sh: New test loop for checking for
13215         decoder crashers.
13217 2014-09-02  Khem Raj  <raj.khem@gmail.com>
13219         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13220         libm_hidden_ver.
13222 2014-09-01  Allan McRae  <allan@archlinux.org>
13224         * po/eo.po: Update Esperanto translation from translation project.
13226         * po/ca.po: Update Catalan translation from translation project.
13228 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13230         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13231         __proc_dostop call.
13233 2014-08-27  Mark Wielaard  <mjw@redhat.com>
13235         [BZ #17319]
13236         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13237         to call set_thread_area instead of hand written asm.
13238         (__NR_set_thread_area): Removed define.
13239         (TLS_FLAG_WRITABLE): Likewise.
13240         (__ASSUME_SET_THREAD_AREA): Remove check.
13241         (TLS_EBX_ARG): Remove define.
13242         (TLS_LOAD_EBX): Likewise.
13244 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13246         Simplify atomicity of socket creation in bind.
13248         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13249         looking up the name after linking the file.
13251 2014-08-27  Allan McRae  <allan@archlinux.org>
13253         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13255 2014-08-26  Florian Weimer  <fweimer@redhat.com>
13257         [BZ #17187]
13258         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13259         trans_compare, open_translit, __gconv_translit_find):
13260         Remove module loading code.
13262 2014-08-26  Allan McRae  <allan@archlinux.org>
13264         * po/vi.po: Update Vietnamese translation from translation project.
13266         * po/uk.po: Update Ukrainian translation from translation project.
13268         * po/fr.po: Update French translation from translation project.
13270         * po/ru.po: Update Russian translation from translation project.
13272         * po/pl.po: Update Polish translation from translation project.
13274         * po/cs.po: Update Czech translation from translation project.
13276         * po/de.po: Update German translation from translation project.
13278         * po/bg.po: Update Bulgarian translation from translation project.
13280         * po/sv.po: Update Sweedish translation from translation project.
13282         * po/nl.po: Update Dutch translation from translation project.
13284         * po/es.po: Update Spanish translation from translation project.
13286 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13288         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13290         * catgets/Makefile (CPPFLAGS-gencat): Remove.
13291         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13292         (CPPFLAGS-iconvconfig): Likewise.
13293         * timezone/Makefile (CPPFLAGS-zic): Likewise.
13295         * include/libc-symbols.h: Remove unnecessary check for
13296         NOT_IN_libc.
13297         * nptl/pthreadP.h: Likewise.
13298         * sysdeps/aarch64/setjmp.S: Likewise.
13299         * sysdeps/alpha/setjmp.S: Likewise.
13300         * sysdeps/arm/sysdep.h: Likewise.
13301         * sysdeps/i386/setjmp.S: Likewise.
13302         * sysdeps/m68k/setjmp.c: Likewise.
13303         * sysdeps/posix/getcwd.c: Likewise.
13304         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13305         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13306         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13307         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13308         * sysdeps/sh/sh3/setjmp.S: Likewise.
13309         * sysdeps/sh/sh4/setjmp.S: Likewise.
13310         * sysdeps/unix/alpha/sysdep.h: Likewise.
13311         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13312         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13313         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13314         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13317         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13318         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13319         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13320         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13321         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13322         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13323         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13324         * sysdeps/x86_64/setjmp.S: Likewise.
13326 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
13328         [BZ #17263]
13329         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
13330         <stdint.h>.
13331         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
13332         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
13334 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13336         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
13338         [BZ #17262]
13339         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
13340         and __x86_64__ when disabling x87 inline functions.
13342 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
13344         [BZ #17259]
13345         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13346         asm statement with __cpuid_count.
13348 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
13350         * configure.ac: Change __ehdr_start code to dereference the struct.
13351         Run readelf on the output to look for relocations.
13352         * configure: Regenerated.
13354 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
13356         [BZ #17261]
13357         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
13358         value to 0.
13359         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
13361 2014-08-12  Roland McGrath  <roland@hack.frob.com>
13363         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
13365 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
13367         [BZ #16892]
13368         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
13369         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
13371 2014-08-12  Sean Anderson  <seanga2@gmail.com>
13373         * malloc/malloc.c: Fix typo in comment.
13375 2014-08-09  Allan McRae  <allan@archlinux.org>
13377         * Regenerate libc.po.
13379 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
13381         * intl/tst-gettext2.sh: Check every lang file for creation.
13383 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13385         * sysdeps/aarch64/fpu/math_private.h
13386         (libc_feholdsetround_noex_aarch64_ctx): New function.
13388 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13390         * sysdeps/arm/armv6/strcpy.S (strcpy):
13391         Fix performance issue in misaligned cases.
13393 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13395         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13396         Move definition from termios.h.
13397         (struct termio): Likewise.
13398         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13399         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13400         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13401         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13402         Likewise.
13403         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13404         Move definition to ioctl-types.h
13405         (struct termio): Likewise.
13406         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13407         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13408         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13409         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13410         Likewise.
13412 2014-08-05  Richard Henderson  <rth@redhat.com>
13414         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13415         exceptions.
13416         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13417         Add fraiseexcpt.
13418         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13419         Use __feraiseexcept.
13420         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13421         Protect libm symbols with IS_IN_libm.
13423         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13425 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
13427         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13429 2014-08-04  Will Newton  <will.newton@linaro.org>
13431         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13432         file.
13434 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
13436         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13437         variants for each function.
13439 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13441         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13442         appended ...
13443         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13444         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13445         appended ...
13446         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13447         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13448         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13449         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13450         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13451         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13452         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13453         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13454         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13455         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13456         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13457         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13458         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13459         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13460         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13461         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13462         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13463         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13464         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13465         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13466         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13467         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13468         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13469         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13470         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13471         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13472         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13473         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13474         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13475         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13476         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13477         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13478         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13479         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13480         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13481         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13482         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13483         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13484         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13485         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13486         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13487         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13488         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13489         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13490         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13491         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13492         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13493         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13494         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13495         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13496         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13497         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13498         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13499         Update #include.
13500         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13501         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13503 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13505         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13506         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13507         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13508         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13509         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13510         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13512 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13514         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13515         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13516         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13517         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13519 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13521         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13522         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13523         (__libc_vfork): Define function under this name.
13524         (__vfork): Define as an alias.
13525         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13526         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13528 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13530         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13531         that was previously under [RESET_PID].
13532         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13534 2014-08-04  Andreas Schwab  <schwab@suse.de>
13536         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13538 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
13540         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13541         (main): Likewise.
13543 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13545         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13547 2014-08-01  Richard Henderon  <rth@redhat.com>
13549         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13550         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13551         typo in exact zero test.
13552         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13553         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13554         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13556 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13558         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13559         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13560         * sysdeps/arm/sysdep.h: ... here.
13561         [!__ASSEMBLER__]: Include <stdint.h>.
13563 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13565         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13566         (HAVE_WCTYPE_H): Likewise.
13567         (HAVE_ISWCTYPE): Likewise.
13568         (ENABLE_NLS): Likewise.
13569         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13570         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13572         * posix/regex_internal.c: Check if DEBUG is defined and is
13573         set.
13575         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13576         (HAVE_MBSRTOWCS): Likewise.
13577         * posix/fnmatch.c: Include string.h unconditionally.
13579 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13581         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13582         reversal.
13584 2014-07-31  Roland McGrath  <roland@hack.frob.com>
13586         * sysdeps/generic/safe-fatal.h: New file.
13587         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13588         * nptl/forward.c: Include it.
13589         (__pthread_unwind): Use __safe_fatal as default action, rather
13590         than a bogus use of INTERNAL_SYSCALL that could never work.
13592         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13593         * configure.ac (libc_cv_builtin_trap): New test.
13594         * configure: Regenerated.
13595         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13596         (ABORT_INSTRUCTION): Define using __builtin_trap.
13598         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13599         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13600         * sysdeps/nptl/nptl-signals.h: New file.
13601         * nptl/pthreadP.h: Include <nptl-signals.h>.
13603 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13605         * sysdeps/s390/s390-64/utf16-utf32-z9.c
13606         (ONE_DIRECTION): Define.
13607         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13608         (ONE_DIRECTION): Define.
13609         * sysdeps/s390/s390-64/utf8-utf32-z9.c
13610         (ONE_DIRECTION): Define.
13612 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13614         * sysdeps/s390/Makefile: Delete file.
13615         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13616         * sysdeps/s390/__longjmp.c: Delete file.
13617         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13618         Remove fields __flags and __reserved.
13619         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13620         and add versioning.
13621         * sysdeps/s390/rtld-__longjmp.c: Delete file.
13622         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13623         * sysdeps/s390/rtld-setjmp.S: Likewise.
13624         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13625         * sysdeps/s390/s390-32/__longjmp.c: ... here.
13626         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13627         * sysdeps/s390/s390-32/setjmp.S: ... here.
13628         Add versioning.
13629         (__sigsetjmp): Remove setting __flags field.
13630         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13631         * sysdeps/s390/s390-64/__longjmp.c: ... here.
13632         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13633         * sysdeps/s390/s390-64/setjmp.S: ... here.
13634         Add versioning.
13635         (__sigsetjmp): Remove setting __flags field.
13636         * sysdeps/s390/setjmp.S: Delete file.
13637         * sysdeps/s390/sigjmp.c: Likewise.
13638         * sysdeps/s390/v1-longjmp.c: Likewise.
13639         * sysdeps/s390/v1-setjmp.h: Likewise.
13640         * sysdeps/s390/v1-sigjmp.c: Likewise.
13641         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13642         Remove v1-longjmp_chk.
13643         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13644         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13645         Include debug/longjmp_chk.c and add versioning.
13646         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13647         Include nptl/pt-longjmp.c and add versioning.
13648         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13649         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13650         Include __longjmp.c.
13651         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13652         Move to ...
13653         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13654         (__getcontext): Remove setting __flags field.
13655         Add versioning.
13656         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13657         Don't restore upper high grps.
13658         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13659         Likewise.
13660         (__swapcontext): Remove setting uc_flags field.
13661         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13662         Delete file.
13663         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13664         Include __longjmp.c.
13665         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13666         Move to ...
13667         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13668         (__getcontext): Remove setting __flags field.
13669         Add versioning.
13670         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13671         (__swapcontext): Remove setting uc_flags field.
13672         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13673         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13674         Remove fields uc_high_gprs and __reserved.
13675         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13676         New file with reverted content.
13677         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13678         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13679         Regenerated.
13680         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13681         Regenerated.
13683 2014-07-31  Andreas Schwab  <schwab@suse.de>
13685         * config.h.in (HAVE_IFUNC): Define to 0.
13686         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13687         definedness.
13689 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
13691         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13692         memmove-avx-unaligned, memcpy-avx-unaligned and
13693         mempcpy-avx-unaligned.
13694         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13695         Add tests for AVX memcpy functions.
13696         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13697         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13698         memcpy_chk.
13699         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13700         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13701         memmove_chk.
13702         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13703         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13704         mempcpy_chk.
13705         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13706         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13707         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13709 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13711         [BZ #17213]
13712         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13713         powerpc64le.
13715 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
13717         [BZ #16839]
13718         * manual/llio.texi: Add section about open file description locks.
13719         * manual/examples/ofdlocks.c: Example of open file description
13720         lock usage.
13721         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13722         F_OFD_SETLK, and F_OFD_SETLKW.
13724 2014-07-23  Allan McRae  <allan@archlinux.org>
13726         * po/es.po: Update Spanish translation from translation project.
13728 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
13730         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13732 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
13734         [BZ #17078]
13735         * sysdeps/arm/dl-machine.h (elf_machine_rela)
13736         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13737         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13739 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
13741         [BZ #17088]
13742         * math/fesetenv.c (__fesetenv)
13743         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13744         * math/feupdateenv.c (__feupdateenv)
13745         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13747         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13748         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13749         (__ASSUME_SOCKETCALL): Do not define.
13751         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13752         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13753         (__ASSUME_SOCKETCALL): Do not define.
13754         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13755         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13756         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13757         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13758         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13759         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13760         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13761         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13763         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13764         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13765         (__ASSUME_SOCKETCALL): Do not define.
13766         (__ASSUME_IPC64): Define unconditionally.
13767         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13768         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13769         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13770         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13771         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13772         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13773         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13774         Likewise.
13776         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13777         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13778         (__ASSUME_SOCKETCALL): Do not define.
13779         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13780         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13781         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13782         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13783         (__ASSUME_REQUEUE_PI): Define unconditionally.
13784         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13785         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13786         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13787         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13788         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13789         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13791         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13792         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13793         (__ASSUME_SOCKETCALL): Do not define.
13794         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13795         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13796         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13797         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13798         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13799         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13801         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13802         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13803         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13804         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13805         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13806         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13807         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13808         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13809         (__ASSUME_GETCPU_SYSCALL): Likewise.
13811         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13812         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
13813         cases for individual architectures.
13814         * sysdeps/gnu/configure: Regenerated.
13815         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13816         LIBC_SLIBDIR_RTLDDIR.
13817         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13818         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13819         LIBC_SLIBDIR_RTLDDIR.
13820         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13822         LIBC_SLIBDIR_RTLDDIR.
13823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13824         Regenerated.
13825         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13826         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13827         file.
13828         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13829         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13830         file.
13831         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13832         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13833         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13834         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13836         * sysdeps/aarch64/shlib-versions: Move to ...
13837         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13838         * sysdeps/alpha/shlib-versions: Move to ...
13839         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13840         * sysdeps/arm/shlib-versions: Move to ...
13841         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13842         * sysdeps/hppa/shlib-versions: Move all contents except for
13843         libgcc_s entry to ...
13844         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
13845         entry from ...
13846         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
13847         * sysdeps/ia64/shlib-versions: Move to ...
13848         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
13849         entry from ...
13850         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
13851         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13852         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13853         * sysdeps/microblaze/shlib-versions: Move to ...
13854         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13855         * sysdeps/mips/shlib-versions: Move to ...
13856         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
13857         entry from ...
13858         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
13859         * sysdeps/tile/shlib-versions: Move to ...
13860         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13861         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13862         from ...
13863         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
13864         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13865         entry from ...
13866         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
13868 2014-07-17  Will Newton  <will.newton@linaro.org>
13870         * sysdeps/arm/bits/atomic.h
13871         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13872         (__arch_compare_and_exchange_bool_16_int): Likewise.
13873         (__arch_compare_and_exchange_bool_64_int): Likewise.
13875         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13876         into an #else block.
13878 2014-07-16  Roland McGrath  <roland@hack.frob.com>
13880         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13881         just Linux configurations.  Test empirically that the compiler sets
13882         __ARM_EABI__, rather than using the tuple to decide.
13883         * sysdeps/arm/preconfigure: Regenerated.
13884         * sysdeps/unix/sysv/linux/arm/configure: File removed.
13885         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13886         contents appended ...
13887         * sysdeps/arm/configure.ac: ... here.
13888         * sysdeps/arm/configure: Regenerated.
13890 2014-07-15  Roland McGrath  <roland@hack.frob.com>
13892         * nptl/pthread_kill.c: New file.
13893         * nptl/pthread_sigmask.c: New file.
13894         * nptl/pthread_sigqueue.c: New file.
13896         * sysdeps/nptl/lowlevellock.h: New file.
13897         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13898         * sysdeps/nptl/lowlevellock-futex.h: New file.
13900         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13901         Remove dead declarations.
13903 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
13905         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13906         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13907         config-cflags-avx2.
13908         * sysdeps/x86_64/configure.ac: Likewise.
13909         * sysdeps/i386/configure: Regenerated.
13910         * sysdeps/x86_64/configure: Likewise.
13911         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13912         memset-avx2 only if config-cflags-avx2 is yes.
13913         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13914         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13915         defined.
13916         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13917         only if HAVE_AVX2_SUPPORT is defined.
13918         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13920 2014-07-14  Alan Modra  <amodra@gmail.com>
13922         [BZ #17153]
13923         * elf/elf.h (DT_PPC64_NUM): Correct value.
13924         * NEWS: Add to fixed bug list.
13926 2014-07-13  Jim Meyering  <meyering@fb.com>
13928         [BZ 17150]
13929         regex: don't deref NULL upon heap allocation failure
13930         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13931         failure in one more place.
13932         To trigger the segfault, configure grep -with-included-regex,
13933         build it, and run these commands:
13934         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13936 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
13938         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13940 2014-07-11  Richard Henderson  <rth@redhat.com>
13942         * sysdeps/aarch64/libm-test-ulps: Update.
13944 2014-07-10  Florian Weimer  <fweimer@redhat.com>
13946         [BZ #17135]
13947         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13948         * nptl/allocatestack.c (__nptl_setxid_error): New function.
13949         (__nptl_setxid): Initialize error member.  Call
13950         __nptl_setxid_error.
13951         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13952         * nptl/descr.h (struct xid_command): Add error member.
13953         * nptl/tst-setuid3.c: New file.
13954         * nptl/Makefile (tests): Add it.
13956 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13958         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13959         New define.
13960         (__lll_trylock): Use __lll_base_trylock.
13961         (__lll_cond_trylock): Likewise.
13963 2014-07-10  Roland McGrath  <roland@hack.frob.com>
13965         * nptl/pthread_create.c (start_thread): Use atomic_or and
13966         lll_futex_wake directly rather than lll_robust_dead.
13967         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13968         (lll_robust_dead): Macro removed.
13969         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13970         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13971         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13972         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13973         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13974         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13975         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13976         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13977         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13978         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13979         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13980         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13981         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13982         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13983         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13985         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13986         Use atomic_compare_and_exchange_val_acq directly rather than
13987         lll_robust_trylock.
13988         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13989         (__lll_robust_trylock, lll_robust_trylock): Removed.
13990         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13991         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13992         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13993         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13994         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13995         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13996         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13997         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13998         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13999         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14000         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14001         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14002         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14003         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14005 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14007         * manual/locale.texi (Locale Names): New section documenting
14008         locale name syntax.  Adjust menu and node chaining accordingly.
14009         (Choosing Locale): Reference Locale Names, Locale Categories.
14010         Mention setting LC_ALL=C.  Reflect that name syntax is now
14011         documented.
14012         (Locale Categories): New section title.  Reference Locale Names.
14013         LC_ALL is an environment variable, but not a category.
14014         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14015         description, now in Locale Name.  Reference that section.  Locale
14016         name syntax is now documented.
14018 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14020         [BZ #17137]
14021         * locale/findlocale.c (name_present, valid_locale_name): New
14022         functions.
14023         (_nl_find_locale): Use the loc_name variable to store name
14024         candidates.  Call name_present and valid_locale_name to check and
14025         validate locale names.  Return an error if the locale is invalid.
14027 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14029         * locale/setlocale.c (setlocale): Use strdup for allocating
14030         composite name copy.
14032 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14034         Sync up with gnulib.
14035         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14036         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14037         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14038         and _GL_ARG_NONNULL.
14039         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14040         [!_LIBC]: Include code for Windows and Cygwin.
14041         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14042         Include prototype for int strerror_r.
14043         [!_LIBC] (is_open): New function.
14044         (flush_stdout): New function.
14045         (print_errno_message): Use it.
14046         (error): Likewise.
14047         (error_at_line): Likewise.
14048         (error_tail) Add function attribute macros.  Use
14049         __builtin_expect.
14051         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14053         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14055         * io/ftw.c: Include sys/param.h unconditionally.
14057         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14059         [BZ #17125]
14060         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14061         libc_freeres_ptr.
14062         (freecache): New function to free CACHE on exit.
14064         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14065         initialization.
14067 2014-07-09  David S. Miller  <davem@davemloft.net>
14069         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14071         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14072         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14073         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14074         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14075         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14076         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14077         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14078         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14079         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14080         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14081         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14082         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14083         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14085 2014-07-09  Andreas Schwab  <schwab@suse.de>
14087         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14088         output.
14089         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14090         (do_test): Likewise.
14092         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14094 2014-07-09  Will Newton  <will.newton@linaro.org>
14096         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14097         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14098         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14099         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14100         * sysdeps/hppa/start.S (_start): Likewise.
14102 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14104         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14106         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14107         defined.
14109 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14111         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14112         after checking that it is non-NULL.
14114         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14116 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14118         * sysdeps/powerpc/memmove.c: Remove file.
14119         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14120         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14121         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14122         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14123         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14124         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14125         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14126         string memmove instead of removed powerpc one.
14128         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14129         [weak_alias]: Fix compiler warning due trailing data.
14130         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14131         [weak_alias]: Likewise.
14132         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14133         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14135         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14136         (__libc_ifunc_impl_list): Add memmove functions.
14138 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14140         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14141         Remove code.
14142         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14143         Likewise
14144         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14145         Likewise
14146         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14147         Likewise
14148         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14149         Likewise
14150         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14151         Likewise
14152         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14153         Likewise
14154         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14155         Likewise
14156         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14157         Likewise
14158         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14159         Likewise
14160         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14161         Likewise
14162         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14163         Likewise
14164         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14165         Likewise
14166         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14167         Likewise
14168         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14169         Likewise
14170         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14171         Likewise
14172         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14173         Likewise
14175 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14177         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14178         to avoid alignment traps in non-cacheable memory.
14179         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14181         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14182         multiarch objects.
14183         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14184         file: multiarch power7 memmove.
14185         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14186         multiarch default memmove.
14187         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14188         multiarch memove for powerpc32/power4.
14190         * string/bcopy.c: Use full path to include memmove.c.
14191         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14192         multiarch objects.
14193         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14194         bcopy for powerpc64.
14195         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14196         bcopy for powerpc64.
14197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14198         and memmove implementations.
14199         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14200         optimized multiarch memmove for POWER7/powerpc64.
14201         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14202         default multiarch memmove for powerpc64.
14203         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14204         multiarch for powerpc64.
14205         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14206         for POWER7/powerpc64.
14207         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14208         memmove for POWER7/powerpc64.
14210         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14211         glibc default one.
14213         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14214         __ELF_NATIVE_CLASS equal to 64.
14216 2014-07-07  Roland McGrath  <roland@hack.frob.com>
14218         * sysdeps/nptl/lowlevellock.h: File removed.
14220         * NEWS: NPTL is no longer an add-on!
14221         * nptl/internaltypes.h: Moved ...
14222         * sysdeps/nptl/internaltypes.h: ... here.
14223         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14224         * sysdeps/nptl/fork.c: Likewise.
14225         * sysdeps/nptl/gai_misc.h: Likewise.
14226         * sysdeps/nptl/librt-cancellation.c: Likewise.
14227         * sysdeps/nptl/jmp-unwind.c: Likewise.
14228         * sysdeps/nptl/setxid.h: Likewise.
14229         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14230         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14231         * sysdeps/unix/sysv/linux/arm/Implies: New file.
14232         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14233         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14234         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14235         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14236         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14237         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14238         * sysdeps/unix/sysv/linux/mips/Implies: New file.
14239         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14240         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14241         * sysdeps/unix/sysv/linux/sh/Implies: New file.
14242         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14243         * sysdeps/unix/sysv/linux/tile/Implies: New file.
14244         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14245         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14246         * nptl/Makeconfig: Moved ...
14247         * sysdeps/nptl/Makeconfig: ... here.
14248         * nptl/configure: File removed.
14249         * nptl/ANNOUNCE: File removed.
14250         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14251         * sysdeps/unix/sysv/linux/configure: Regenerated.
14253         * nptl/Makefile (routines): Add libc_pthread_init,
14254         libc_multiple_threads, register-atfork and unregister-atfork.
14255         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14256         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14257         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14258         pthread-pi-defines.sym, structsem.sym.
14259         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14260         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14261         [$(subdir) = nptl] (tests): Add tst-setgetname.
14262         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14263         * sysdeps/unix/sysv/linux/sigaction.c: Just include
14264         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14265         [!LIBC_SIGACTION]: Remove aliases.
14266         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14267         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14268         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14269         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14270         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14271         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14272         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14273         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14274         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14275         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
14276         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
14277         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14278         __libc_allocate_rtsig_private.
14279         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14280         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14281         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14282         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14283         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14284         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14285         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14286         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14287         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14288         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14289         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14290         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14291         * nptl/internaltypes.h: ... here.
14292         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14293         * sysdeps/nptl/jmp-unwind.c: ... here.
14294         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14295         * nptl/libc-lowlevellock.c: ... here.
14296         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14297         * nptl/libc_multiple_threads.c: ... here.
14298         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14299         * nptl/libc_pthread_init.c: ... here.
14300         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14301         * nptl/lowlevelbarrier.sym: ... here.
14302         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14303         * nptl/lowlevelcond.sym: ... here.
14304         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14305         * nptl/lowlevellock.c: ... here.
14306         * nptl/lowlevellock.h: Moved ...
14307         * sysdeps/nptl/lowlevellock.h: ... here.
14308         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14309         * nptl/lowlevelrobustlock.c: ... here.
14310         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14311         * nptl/lowlevelrobustlock.sym: ... here.
14312         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14313         * nptl/lowlevelrwlock.sym: ... here.
14314         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14315         * nptl/pt-fork.c: ... here.
14316         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14317         * nptl/pthread-pi-defines.sym: ... here.
14318         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
14319         * nptl/pthread_attr_getaffinity.c: ... here.
14320         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
14321         * nptl/pthread_attr_setaffinity.c: ... here.
14322         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
14323         * nptl/pthread_mutex_cond_lock.c: ... here.
14324         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14325         Update #include.
14326         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
14327         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
14328         * nptl/pthread_once.c: ... here, replacing old file.
14329         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
14330         * nptl/pthread_yield.c: ... here.
14331         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
14332         * nptl/register-atfork.c: ... here.
14333         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
14334         * nptl/sem_post.c: ... here.
14335         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
14336         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
14337         * nptl/sem_timedwait.c: ... here.
14338         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
14339         * nptl/sem_trywait.c: ... here.
14340         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
14341         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
14342         * nptl/sem_wait.c: ... here.
14343         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
14344         * nptl/structsem.sym: ... here.
14345         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
14346         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
14347         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
14348         * nptl/unregister-atfork.c: ... here.
14349         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
14350         * nptl/unwindbuf.sym: ... here.
14351         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
14352         * sysdeps/nptl/fork.c: ... here.
14353         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
14354         * sysdeps/nptl/fork.h: ... here.
14355         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
14356         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
14357         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
14358         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
14359         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
14360         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
14361         * sysdeps/unix/sysv/linux/getpid.c: ... here.
14362         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
14363         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
14364         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
14365         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
14366         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
14367         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
14368         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
14369         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
14370         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
14371         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
14372         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
14373         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
14374         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
14375         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
14376         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
14377         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
14378         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
14379         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
14380         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
14381         * sysdeps/unix/sysv/linux/raise.c: ... here.
14382         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
14383         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
14384         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14385         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14386         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14387         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14388         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14389         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14390         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14391         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14392         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14393         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14394         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14395         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14396         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14398 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14400         * sysdeps/generic/memcopy.h: Add comment for
14401         MEMCPY_OK_FOR_FWD_MEMMOVE.
14403 2014-07-04  Will Newton  <will.newton@linaro.org>
14405         * string/memchr.c: Merge from gnulib.
14406         [_LIBC]: Remove conditionals.
14407         (__ptr_t): Remove define.
14408         (LONG_MAX_32_BITS): Likewise.
14409         (LONG_MAX): Likewise.
14410         (MEMCHR): Use ANSI prototype and optimize algorithm.
14412         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14414 2014-07-03  Roland McGrath  <roland@hack.frob.com>
14416         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14417         (lll_futex_timed_wait_bitset): Fix syscall argument count.
14419         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14420         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14421         in a bare environment with no <stdlib.h> installed.
14422         * sysdeps/nptl/configure: Regenerated.
14424         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14426         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14427         AC_EGREP_CPP for kernel header checks, so they only succeed if
14428         including <linux/version.h> actually works right.
14429         * sysdeps/unix/sysv/linux/configure: Regenerated.
14431         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14432         value so it's not diagnosed as unused.
14434         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14435         thing) with "ifeq ($(subdir),rt)".
14437 2014-07-03  Richard Henderson  <rth@redhat.com>
14439         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14440         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14441         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14443         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14444         (math_force_eval): New.
14446         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14447         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14449         * sysdeps/alpha/fpu/s_round.c: Remove file.
14450         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14452         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14453         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14454         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14455         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14456         (_dl_start, print_statistics): Likewise.
14457         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14458         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14460         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14461         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14462         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14463         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14464         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14465         (HP_SMALL_TIMING_AVAIL): Define.
14466         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14467         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14468         (HP_SMALL_TIMING_AVAIL): Define.
14469         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14470         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14472         * sysdeps/aarch64/hp-timing.h: New file.
14474         * sysdeps/generic/hp-timing.h: Remove dead comment.
14475         * sysdeps/generic/hp-timing-common.h: New file.
14476         * sysdeps/alpha/hp-timing.h: Include it.
14477         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14478         * sysdeps/i386/i686/hp-timing.h: Likewise.
14479         * sysdeps/ia64/hp-timing.h: Likewise.
14480         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14481         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14482         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14483         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14484         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14485         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14486         (hp_timing_t): New.
14488         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14489         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14490         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14491         * elf/rtld.c (_dl_start_final): Likewise.
14492         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14493         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14494         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14495         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14496         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14497         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14498         (HP_TIMING_DIFF_INIT): Remove.
14499         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14500         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14501         (HP_TIMING_DIFF_INIT): Remove.
14502         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14503         * sysdeps/i386/i686/hp-timing.c: Remove file.
14504         * sysdeps/x86_64/hp-timing.c: Remove file.
14505         * sysdeps/ia64/hp-timing.c: Remove file.
14506         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14507         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14508         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14509         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14511         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14512         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14513         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14514         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14515         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14516         (HP_TIMING_ACCUM): Remove.
14517         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14518         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14519         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14521         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14522         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14523         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14524         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14525         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14526         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14527         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14528         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14530         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14532 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
14534         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14536 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14538         Sync up with gettext.
14539         * intl/loadmsgcat.c: Define O_BINARY if not defined.
14540         [_MSC_VER]: Include malloc.h
14541         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14542         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14543         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
14544         TEMP_FAILURE_RETRY.  Cast return of alloca.
14545         [!_LIBC] Call gl_rwlock_init.
14546         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14548 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14550         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14551         before checking its value.
14553 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14555         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14557         * debug/memcpy_chk.c: Don't include pagecopy.h.
14558         * debug/mempcpy_chk.c: Likewise.
14559         * string/memcpy.c: Likewise.
14560         * string/memmove.c: Likewise.
14561         * sysdeps/powerpc/memmove.c: Likewise.
14562         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
14563         definition of PAGE_COPY_FWD_MAYBE here...
14564         * sysdeps/generic/pagecopy.h: ... from here.
14565         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14567 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14568             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14570         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14572         optimizations.
14573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14574         (__libc_ifunc_impl_list): Likewise.
14575         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14576         multiarch strcat for PPC64.
14577         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14578         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14580 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14582         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14584 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14586         * intl/loadmsgcat.c: Remove declaration of
14587         get_sysdep_segment_value.
14588         (get_sysdep_segment_value): Use ISO C style.
14589         (_nl_load_domain): Use ISO C style.  Get rid of redundant
14590         semicolon.  Fix typo and formatting in comment.
14591         (_nl_unload_domain): Use ISO C style.
14593         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14595 2014-07-02  Will Newton  <will.newton@linaro.org>
14597         * malloc/obstack.c: Merge from gnulib master.
14598         [HAVE_CONFIG_H]: Remove conditional code.
14599         [!_LIBC]: Include config.h.
14600         [!ELIDE_CODE]: Don't include inttypes.h, include
14601         stdint.h unconditionally.
14602         (print_and_abort): Mark as _Noreturn.
14603         (_obstack_allocated_p): Mark as __attribute_pure__.
14604         (obstack_free): Rename to __obstack_free.
14605         [!__attribute__]: Remove conditional code.
14606         * malloc/obstack.h: Merge from gnulib master.
14607         [__cplusplus]: Move conditional down.
14608         [!__attribute_pure__]: Define __attribute_pure__ here
14609         if it is not already defined.
14610         (_obstack_memory_used): Mark as __attribute_pure__.
14611         [!__obstack_free]: Define as obstack_free.
14612         [__GNUC__]: Remove check for ancient NeXT gcc.
14614 2014-07-02  Will Newton  <will.newton@linaro.org>
14615             Paul Eggert  <eggert@cs.ucla.edu>
14617         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14619 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14621         * resolv/gethnamaddr.c: Add comment warning that the file is
14622         not maintained.
14624 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
14626         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14627         entries.
14629         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14630         entry for aio_cancel and aio_cancel64.
14631         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14632         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14633         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14634         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14635         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14636         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14637         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14638         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14639         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14640         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14641         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14642         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14643         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14645 2014-07-01  Roland McGrath  <roland@hack.frob.com>
14647         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14648         * nptl/pthread_mutex_lock.c: Likewise.
14649         * nptl/pthread_mutex_timedlock.c: Likewise.
14650         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14652 2014-07-01  Richard henderson  <rth@redhat.com>
14654         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14655         (__isnan, __isnanl): Remove.
14656         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14658         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14660 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14662         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14664 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14666         * resolv/nss_dns/dns-host.c (getanswer_r)
14667         [MULTI_PTRS_ARE_ALIASES]: Remove code.
14669 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
14671         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14672         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14673         undefine.
14674         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14675         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14677 2014-07-01  Roland McGrath <roland@hack.frob.com>
14679         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14680         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14682         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14683         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14685         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14686         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14687         ... here.
14688         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14689         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14691         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14692         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14693         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14694         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14696         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14697         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14698         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14699         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14700         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14701         Moved ...
14702         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14703         ... here.
14704         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14705         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14706         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14707         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14708         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14709         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14710         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14711         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14712         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14713         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14714         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14715         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14716         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14717         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14718         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14719         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14720         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14721         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14722         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14723         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14724         ... here.
14725         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14726         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14727         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14728         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14729         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14730         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14731         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14732         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14734 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
14736         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14737         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14738         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14739         Add sysdep.
14741 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14745 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14747         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14748         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14750         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14752         * sysdeps/arm/libm-test-ulps: Regenerated.
14754 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14755             Roland McGrath <roland@hack.frob.com>
14757         * test-skeleton.c (signal_handler): Kill the whole process group
14758         before killing the child individually.
14759         (main): Report any failure on `setpgid'.
14761 2014-06-30  Roland McGrath  <roland@hack.frob.com>
14763         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14764         from _TLS_H to _ARM_NPTL_TLS_H.
14765         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14766         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14768 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14770         [BZ #16539]
14771         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14772         (__expm1l): Return argument unchanged when small but not
14773         subnormal.
14775         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14776         include macro name.
14777         (_FP_UNPACK_RAW_1_P): Likewise.
14778         (_FP_PACK_RAW_1): Likewise.
14779         (_FP_PACK_RAW_1_P): Likewise.
14780         (_FP_MUL_MEAT_1_wide): Likewise.
14781         (_FP_MUL_MEAT_DW_1_hard): Likewise.
14782         (_FP_MUL_MEAT_1_hard): Likewise.
14783         (_FP_DIV_MEAT_1_imm): Likewise.
14784         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14785         (_FP_DIV_MEAT_1_udiv): Likewise.
14786         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14787         (_FP_UNPACK_RAW_2): Likewise.
14788         (_FP_UNPACK_RAW_2_P): Likewise.
14789         (_FP_PACK_RAW_2): Likewise.
14790         (_FP_PACK_RAW_2_P): Likewise.
14791         (_FP_MUL_MEAT_DW_2_wide): Likewise.
14792         (_FP_MUL_MEAT_2_wide): Likewise.
14793         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14794         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14795         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14796         (_FP_MUL_MEAT_2_gmp): Likewise.
14797         (_FP_DIV_MEAT_2_udiv): Likewise.
14798         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14799         (_FP_FRAC_SRL_4): Likewise.
14800         (_FP_FRAC_SRST_4): Likewise.
14801         (_FP_FRAC_SRS_4): Likewise.
14802         (_FP_UNPACK_RAW_4): Likewise.
14803         (_FP_UNPACK_RAW_4_P): Likewise.
14804         (_FP_PACK_RAW_4): Likewise.
14805         (_FP_PACK_RAW_4_P): Likewise.
14806         (_FP_MUL_MEAT_DW_4_wide): Likewise.
14807         (_FP_MUL_MEAT_4_wide): Likewise.
14808         (_FP_MUL_MEAT_4_gmp): Likewise.
14809         (umul_ppppmnnn): Likewise.
14810         (_FP_DIV_MEAT_4_udiv): Likewise.
14811         (__FP_FRAC_ADD_4): Likewise.
14812         (__FP_FRAC_SUB_3): Likewise.
14813         (__FP_FRAC_SUB_4): Likewise.
14814         (__FP_FRAC_DEC_3): Likewise.
14815         (__FP_FRAC_DEC_4): Likewise.
14816         (__FP_FRAC_ADDI_4): Likewise.
14817         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14818         (_FP_FRAC_SRL_8): Likewise.
14819         (_FP_FRAC_SRS_8): Likewise.
14821         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14822         include macro name.
14823         (FP_UNPACK_RAW_EP): Likewise.
14824         (FP_PACK_RAW_E): Likewise.
14825         (FP_PACK_RAW_EP): Likewise.
14826         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14827         (_FP_ISSIGNAN): Likewise.
14828         (_FP_ADD_INTERNAL): Likewise.
14829         (_FP_FMA): Likewise.
14830         (_FP_CMP): Likewise.
14831         (_FP_SQRT): Likewise.
14832         (_FP_TO_INT): Likewise.
14833         (_FP_FROM_INT): Likewise.
14834         (FP_EXTEND): Likewise.
14835         (_FP_DIV_MEAT_N_loop): Likewise.
14837 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14839         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14840         throughout.
14842 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
14844         [BZ #17097]
14845         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14846         result with correct sign in case of exponents that produce
14847         overflow except for X very close to 1.
14849 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
14851         mktime: merge #if/#ifdef usage from glibc
14852         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14853         as that works with both Glibc's and Gnulib's style.
14854         See thread starting at Siddhesh Poyarekar's bug report at:
14855         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14857 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14859         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14860         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14861         * sysdeps/tile/tilegx/memmove.c: Remove file.
14863 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14865         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14866         abi-name definition.
14867         * scripts/soversions.awk: Do not handle or generate ABI lines.
14868         * shlib-versions: Remove ABI entries.
14869         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14870         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14872 2014-06-27  Roland McGrath  <roland@hack.frob.com>
14874         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14875         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14876         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14877         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14878         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14879         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14880         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14881         Moved ...
14882         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14883         ... here.
14884         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14885         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14886         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14887         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14888         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14889         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14890         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14891         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14892         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14893         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14894         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14895         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14896         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14897         Moved ...
14898         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14899         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14900         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14901         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14902         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14903         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14904         Moved ...
14905         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14906         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14907         Moved ...
14908         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14909         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14910         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14911         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14912         Moved ...
14913         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14914         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14915         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14916         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14917         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14918         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14919         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14920         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14921         Moved ...
14922         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14923         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14924         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14925         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14926         Moved ...
14927         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14928         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14929         Moved ...
14930         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14931         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14932         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14933         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14934         Moved ...
14935         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14936         ... here.
14937         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14938         Identical file removed.
14939         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14940         Moved ...
14941         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14942         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14943         Identical file removed.
14944         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14945         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14946         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14947         Moved ...
14948         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14949         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14950         Identical file removed.
14951         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14952         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14953         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14954         Identical file removed.
14955         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14956         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14957         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14958         Identical file removed.
14959         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14960         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14961         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14962         Identical file removed.
14963         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14964         Moved ...
14965         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14966         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14967         Identical file removed.
14968         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14969         Moved ...
14970         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14971         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14972         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14973         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14974         Identical file removed.
14975         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14976         Moved ...
14977         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14978         ... here.
14979         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14980         Identical file removed.
14981         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14982         Moved ...
14983         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14984         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14985         Identical file removed.
14986         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14987         Moved ...
14988         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14989         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14990         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14991         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14992         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14993         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14994         Moved ...
14995         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14996         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14997         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14999         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15000         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15001         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15002         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15003         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15005 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15007         [BZ #17092]
15008         * nscd/nscd.c (monitor_child): Return exit status of child
15009         instead of return value from wait syscall.
15011 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15013         * configure.ac (libc_commonpagesize): Remove variable.
15014         (libc_relro_required): Likewise.
15015         (libc_cv_z_relro): Remove configure test.
15016         * configure: Regenerated.
15017         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15018         variable.
15019         (libc_relro_required): Likewise.
15020         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15021         (libc_relro_required): Likewise.
15022         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15023         (libc_relro_required): Likewise.
15024         * sysdeps/arm/preconfigure: Regenerated.
15025         * sysdeps/ia64/preconfigure: Remove file.
15026         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15027         variable.
15028         (libc_relro_required): Likewise.
15030         [BZ #16561]
15031         [BZ #16562]
15032         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15033         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15034         recompute overflowing results in original rounding mode.
15035         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15036         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15037         recompute overflowing results in original rounding mode.
15038         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15039         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15040         recompute overflowing results in original rounding mode.
15041         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15042         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15043         recompute overflowing results in original rounding mode.
15044         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15045         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15046         recompute overflowing results in original rounding mode.
15047         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15048         (libc_feholdsetround_ctx): New macro.
15049         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15050         * sysdeps/i386/fpu/libm-test-ulps: Update.
15051         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15053 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15055         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15056         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15057         corresponding .cpsetup call.
15059 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15061         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15062         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15063         * sysdeps/arm/Makefile [$(subdir) = csu]
15064         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15065         (static-only-routines): Add aeabi_read_tp here.
15066         (shared-only-routines): Add libc-aeabi_read_tp here.
15067         (CFLAGS-libc-start.c): Add -fexceptions here.
15068         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15069         (sysdep_routines, static-only-routines, shared-only-routines):
15070         Don't add to these here.
15071         (CFLAGS-libc-start.c): Likewise.
15073         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15074         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15075         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15076         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15077         * sysdeps/arm/Makefile [$(subdir) = rt]
15078         (librt-sysdep_routines, librt-shared-only-routines):
15079         Append rt-aeabi_unwind_cpp_pr1 here.
15080         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15081         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15082         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15083         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15084         Append nptl-aeabi_unwind_cpp_pr1 here.
15085         (tests): Filter out tst-cleanupx4 here.
15086         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15087         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15088         Don't do those here.
15090 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15092         * scripts/list-sources.sh: Do not handle ports specially.
15094 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15096         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15097         * sysdeps/arm/feupdateenv.c: Likewise.
15099         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15101 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15103         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15104         trailing whitespace removed.
15105         * scripts/config.guess: Update to version 2014-03-23.
15106         * scripts/config.sub: Update to version 2014-05-01
15107         * scripts/install-sh: Update to version 2013-12-25.23.
15108         * scripts/move-if-change: Update from gnulib.
15110 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15112         * debug/memmove_chk.c: Remove pagecopy.h include.
15114 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15116         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15117         identical to gnulib mktime.
15119 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15121         * configure.ac: Do not test for machine being rs6000.  Do not test
15122         for powerpc*-*soft.
15123         * configure: Regenerated.
15125         [BZ #11505]
15126         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15127         test.
15128         * configure: Regenerated.
15129         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15130         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15131         Remove configure test.
15132         * sysdeps/arm/configure: Regenerated.
15133         * sysdeps/nptl/configure.ac: Do not check
15134         libc_cv_asm_cfi_directives.
15135         * sysdeps/nptl/configure: Regenerated.
15136         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15137         * sysdeps/x86_64/nptl/configure: Remove generated file.
15138         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15139         unconditional.
15140         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15142 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15144         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15145         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15146         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15147         it is defined.
15149         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15150         instead of whether it is defined.
15151         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15152         * sysdeps/hppa/dl-machine.h: Likewise.
15153         * sysdeps/ia64/dl-machine.h: Likewise.
15154         * sysdeps/m68k/dl-machine.h: Likewise.
15155         * sysdeps/microblaze/dl-machine.h: Likewise.
15156         * sysdeps/mips/dl-machine.: Likewise.
15157         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15158         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15159         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15160         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15161         * sysdeps/sh/dl-machine.h: Likewise.
15162         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15163         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15164         * sysdeps/tile/dl-machine.h: Likewise.
15165         * sysdeps/x86_64/dl-machine.h: Likewise.
15167         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15168         code.
15169         (verify_persistent_db): Likewise.
15171 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15174         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15176         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15178         Moved ...
15179         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15180         ... here.
15181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15182         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15184         Identical file removed.
15185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15186         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15188         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15190         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15192         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15194         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15196         Moved ...
15197         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15199         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15201         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15203         Moved ...
15204         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15206         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15208         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15210         Identical file removed.
15211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15212         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15214         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15216         Moved ...
15217         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15218         ... here.
15219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15220         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15222         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15223         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15224         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15226         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15228         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15230         Moved ...
15231         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15233         Moved ...
15234         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15236         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15238         Moved ...
15239         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15241         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15243         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15244         folded into ...
15245         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15246         * sysdeps/unix/sysv/linux/s390/Versions
15247         (libpthread: GLIBC_2.19): New version set.
15248         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15249         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15250         (librt: GLIBC_2.3.3): New version set.
15251         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15252         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15253         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15254         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15255         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15256         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15257         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15258         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15259         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15260         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15261         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15262         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15263         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15264         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15265         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15266         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15267         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15268         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15269         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15270         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15271         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15272         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15273         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15274         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
15275         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
15276         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
15277         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15278         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15279         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15280         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15281         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15282         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15283         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15284         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15285         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15286         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15287         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15288         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15289         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15290         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15291         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15292         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15293         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15294         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15295         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15297         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15298         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15299         (__libc_vfork): Define the function under this name.
15300         [!NOT_IN_libc] (__vfork): Make this an alias.
15301         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15302         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15303         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15304         (__libc_vfork): Define the function under this name.
15305         [!NOT_IN_libc] (__vfork): Make this an alias.
15306         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15307         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15308         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15309         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15310         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15311         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15313         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15314         code that was previously under [RESET_PID].
15315         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15316         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15317         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
15319         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
15320         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
15321         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
15322         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
15323         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
15324         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15325         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
15326         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
15327         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
15328         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
15329         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
15330         Moved ...
15331         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
15332         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
15333         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
15334         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
15335         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
15336         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
15337         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
15338         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
15339         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
15340         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
15341         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
15342         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
15343         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
15344         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
15345         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
15346         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
15347         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
15348         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
15349         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
15350         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
15351         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
15352         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
15353         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
15354         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
15355         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
15356         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
15357         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
15358         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
15359         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
15361 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15363         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
15364         that was previously under [RESET_PID].
15365         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
15367 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15369         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
15370         not undefine and redefine.
15371         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
15372         [O_CLOEXEC]: Make code unconditional.
15373         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
15374         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15375         <kernel-features.h>.
15376         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
15377         conditional variable definition.
15378         (shm_open) [O_CLOEXEC]: Make code unconditional.
15379         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
15380         code.
15382         * configure.ac (USE_REGPARMS): Don't define here.
15383         * configure: Regenerated.
15384         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15385         * sysdeps/i386/configure: Regenerated.
15387         * nptl/createthread.c: Don't include kernel-features.h.
15388         * nptl/pthread_cancel.c: Likewise.
15389         * nptl/pthread_condattr_setclock.c: Likewise.
15390         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15391         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15392         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15393         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15394         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15395         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15396         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15397         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15398         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15399         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15400         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15401         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15402         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15403         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15404         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15405         * nscd/gai.c: Likewise.
15406         * nss/nss_db/db-open.c: Likewise.
15407         * sysdeps/generic/ldsodefs.h: Likewise.
15408         * sysdeps/sh/nptl/tls.h: Likewise.
15409         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15410         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15411         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15412         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15413         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15414         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15415         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15416         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15417         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15418         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15419         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15420         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15421         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15422         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15423         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15424         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15425         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15426         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15427         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15428         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15429         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15430         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15431         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15432         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15433         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15434         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15435         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15436         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15437         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15438         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15439         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15440         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15441         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15442         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15443         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15444         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15445         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15446         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15447         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15448         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15449         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15450         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15451         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15452         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15453         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15454         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15455         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15456         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15457         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15458         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15459         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15460         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15461         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15462         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15463         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15464         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15465         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15466         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15489         * sysdeps/unix/sysv/linux/pread.c: Likewise.
15490         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15491         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15492         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15493         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15494         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15495         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15496         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15497         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15498         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15499         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15500         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15501         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15502         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15503         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15504         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15505         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15506         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15507         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15508         * sysdeps/unix/sysv/linux/system.c: Likewise.
15509         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15510         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15511         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15512         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15513         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15514         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15515         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15517         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15518         * configure: Regenerated.
15519         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15521         * configure.ac (base_machine): Do not set specially for particular
15522         machines here.
15523         * configure: Regenerated.
15524         * sysdeps/powerpc/preconfigure: Move machine and base_machine
15525         settings from configure.ac.
15526         * sysdeps/i386/preconfigure: New file.
15527         * sysdeps/s390/preconfigure: Likewise.
15528         * sysdeps/sh/preconfigure: Likewise.
15529         * sysdeps/sparc/preconfigure: Likewise.
15531 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15533         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15534         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15535         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15536         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15537         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15538         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15539         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15540         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15541         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15542         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15543         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15544         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15545         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15546         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15547         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15548         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15549         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15550         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15551         * sysdeps/sparc/sparc64/Makefile: ... appended here.
15553         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15554         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15555         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15556         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15557         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15558         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15559         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15560         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15561         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15562         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15563         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15564         * sysdeps/sparc/sparc32/sem_post.c: ... here.
15565         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15566         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15567         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15568         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15569         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15570         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15571         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15572         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15573         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15574         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15575         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15576         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15577         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15578         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15579         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15580         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15581         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15582         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15583         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15584         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15585         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15586         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15587         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15588         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15589         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15590         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15593         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15595         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15597         Moved ...
15598         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15599         ... here.
15600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15601         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15603         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15605         Moved ...
15606         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15608         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15610         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15612         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15614         Moved ...
15615         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15616         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15617         Moved ...
15618         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15620         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15621         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15622         Moved ...
15623         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15625         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15627         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15629         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15631         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15633         Moved ...
15634         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15635         ... here.
15636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15637         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15638         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15639         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15640         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15641         Moved ...
15642         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15644         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15645         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15646         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15648         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15650         Moved ...
15651         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15653         Moved ...
15654         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15655         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15656         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15658         Moved ...
15659         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15661         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15663         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15665 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15667         * timezone/checktab.awk: Update from tzcode 2014e.
15668         * timezone/private.h: Likewise.
15669         * timezone/tzfile.h: Likewise.
15670         * timezone/zdump.c: Likewise.
15671         * timezone/zic.c: Likewise.
15673         * sysdeps/unix/sysv/linux/kernel-features.h
15674         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15675         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15676         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15677         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15678         Remove conditional code.
15680 2014-06-25  Will Newton  <will.newton@linaro.org>
15682         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15683         (_dl_arm_cap_flags): Add HWCAP2 values.
15684         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15685         (_DL_HWCAP_COUNT): Increase to 37.
15686         (_DL_HWCAP_LAST): New define.
15687         (_DL_HWCAP2_LAST): New define.
15688         (_dl_procinfo): Add support for printing
15689         AT_HWCAP2 entries.
15690         (_dl_string_hwcap): Use _dl_hwcap_string.
15692 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15696 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15698         * README: Do not mention ports directory.
15700         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15701         Remove macro.
15702         * sysdeps/unix/sysv/linux/futimes.c: Do not include
15703         <kernel-features.h>.
15704         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15705         conditional variable definition.
15706         (__futimes): Update comment.
15707         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15708         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15710         [BZ #16560]
15711         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15712         arguments close to 0.
15713         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15714         Likewise.
15715         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15716         Likewise.
15717         * math/auto-libm-test-in: Add more tests of exp10.
15718         * math/auto-libm-test-out: Regenerated.
15719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15721         * sysdeps/unix/sysv/linux/kernel-features.h
15722         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15723         * sysdeps/unix/sysv/linux/readv.c: Do not include
15724         <kernel-features.h>.
15725         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15726         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15727         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15728         unconditional.
15729         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15730         conditional code.
15731         * sysdeps/unix/sysv/linux/writev.c: Do not include
15732         <kernel-features.h>.
15733         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15734         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15735         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15736         unconditional.
15737         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15738         conditional code.
15740 2014-06-25  Will Newton  <will.newton@linaro.org>
15742         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15743         comment changes throughout the file.  Remove checks
15744         for HAVE_*_H definitions that are not required.
15745         (__gen_tempname): Call abort if an unknown kind value is
15746         passed.
15748 2014-06-25  Andreas Schwab  <schwab@suse.de>
15750         [BZ #17086]
15751         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15752         scalbln, scalblnf, scalblnl in libc.
15754 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15756         [BZ #17086]
15757         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15758         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15759         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15761 2014-06-24  Roland McGrath  <roland@hack.frob.com>
15763         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15764         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15765         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15766         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15767         Update #include.
15768         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15769         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15770         Update #include.
15771         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15772         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15773         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15774         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15775         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15776         * sysdeps/x86/bits/pthreadtypes.h: ... here.
15777         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15778         * sysdeps/x86/bits/semaphore.h: ... here.
15779         * sysdeps/x86/nptl/elide.h: Moved ...
15780         * sysdeps/x86/elide.h: ... here.
15781         * sysdeps/x86_64/nptl/Implies: File removed.
15782         * sysdeps/i386/nptl/Implies: File removed.
15784 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
15786         [BZ #16539]
15787         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15788         return the argument for normal arguments with exponent below -64.
15789         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15790         Likewise.
15791         * math/auto-libm-test-in: Add another test of expm1.
15792         * math/auto-libm-test-out: Regenerated.
15794         [BZ #16287]
15795         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15796         calling __erfcl for arguments at least 16.
15797         * math/auto-libm-test-in: Add more tests of erf.
15798         * math/auto-libm-test-out: Regenerated.
15800         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15801         individual architectures.
15802         * sysdeps/unix/sysv/linux/configure: Regenerated.
15803         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15804         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15805         * sysdeps/unix/sysv/linux/powerpc/configure.ac
15806         (ldd_rewrite_script): Define variable.
15807         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15809         file.
15810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15811         generated file.
15812         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15813         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15814         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15815         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15816         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15817         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15818         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15819         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15821 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15823         [BZ #17084]
15824         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15825         Rename member __data.d to __data.__elision_data.
15827 2014-06-24  Wilco  <wdijkstr@arm.com>
15829         * NEWS: Add 16918 to fixed bug list.
15831 2014-06-24  Wilco  <wdijkstr@arm.com>
15833         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15835 2014-06-24  Wilco  <wdijkstr@arm.com>
15837         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15838         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15839         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15840         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15841         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15842         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15843         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15844         Use _FPU_MASK_RM.
15846 2014-06-24  Wilco  <wdijkstr@arm.com>
15848         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15850 2014-06-24  Wilco  <wdijkstr@arm.com>
15852         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15853         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15854         * sysdeps/arm/fesetround.c (fesetround): Remove space.
15855         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15857 2014-06-24  Wilco  <wdijkstr@arm.com>
15859         [BZ #16918]
15860         * sysdeps/arm/feupdateenv.c (feupdateenv):
15861         Rewrite to reduce FPSCR accesses and fix return value.
15863 2014-06-24  Wilco  <wdijkstr@arm.com>
15865         * sysdeps/arm/fclrexcpt.c (feclearexcept):
15866         Optimize to avoid unnecessary FPSCR writes.
15867         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15868         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15869         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15870         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15872 2014-06-24  Wilco  <wdijkstr@arm.com>
15874         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15875         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15876         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15877         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15878         Call libc_fetestexcept_vfp.
15879         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15880         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15881         __SOFTFP__ ifdef so that they can be built for softfp.
15883 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15885         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15886         argument type signed char.
15888         * Makerules (check-abi): Dump diff of symlist if the test
15889         fails.
15891 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15893         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15894         using abort.
15896         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15897         Remove unused variable ST.
15899 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15901         [BZ #16354]
15902         [BZ #17061]
15903         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15904         small arguments before calling __expm1.
15905         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15906         small arguments before calling __expm1f.
15907         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15908         small arguments before calling __expm1l.
15909         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15910         Likewise.
15911         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15912         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
15913         spurious underflow for some cosh tests.
15914         * math/auto-libm-test-out: Regenerated.
15915         * sysdeps/i386/fpu/libm-test-ulps: Update.
15917         [BZ #17050]
15918         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15919         (__ieee754_y1): Set errno if return value overflows.
15920         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15921         (__ieee754_y1f): Set errno if return value overflows.
15922         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15923         (__ieee754_y1l): Set errno if return value overflows.
15924         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15925         (__ieee754_y1l): Set errno if return value overflows.
15926         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15927         * math/auto-libm-test-out: Regenerated.
15929         * math/gen-auto-libm-tests.c: Document use of
15930         ignore-zero-inf-sign.
15931         (input_flag_type): Add value flag_ignore_zero_inf_sign.
15932         (input_flags): Add ignore-zero-inf-sign.
15933         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15934         * math/gen-libm-test.pl (generate_testfile): Handle
15935         ignore-zero-inf-sign.
15936         * math/auto-libm-test-in: Mark some cpow tests with
15937         ignore-zero-inf-sign and some with xfail-rounding.
15938         * math/auto-libm-test-out: Regenerated.
15939         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15940         * sysdeps/i386/fpu/libm-test-ulps: Update.
15941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15943         [BZ #16315]
15944         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15945         overflowing or underflowing operations take place with sign of
15946         result.
15947         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15948         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15949         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15950         (__ieee754_pow): Recompute overflowing and underflowing results in
15951         original rounding mode.
15952         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15953         (__powl_helper): Allow negative argument X and scale negated value
15954         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
15955         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15956         overflowing or underflowing operations take place with sign of
15957         result.
15958         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15959         Include <math.h>.
15960         * math/auto-libm-test-in: Add more tests of pow.
15961         * math/auto-libm-test-out: Regenerated.
15962         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15963         (pow_tonearest_test_data): Remove.
15964         (pow_test_tonearest): Likewise.
15965         (pow_towardzero_test_data): Likewise.
15966         (pow_test_towardzero): Likewise.
15967         (pow_downward_test_data): Likewise.
15968         (pow_test_downward): Likewise.
15969         (pow_upward_test_data): Likewise.
15970         (pow_test_upward): Likewise.
15971         (main): Don't call removed functions.
15972         * sysdeps/i386/fpu/libm-test-ulps: Update.
15973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15975 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15978         Moved ...
15979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15981         Moved ...
15982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15984         Moved ...
15985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15987         Moved ...
15988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15990         File removed.
15991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15992         File removed.
15993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15994         File removed.
15995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15996         File removed.
15997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15998         File removed.
15999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16000         File removed.
16001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16002         File removed.
16003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16004         File removed.
16005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16006         File removed.
16007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16008         File removed.
16009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16010         File removed.
16011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16012         File removed.
16013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16014         Moved ...
16015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16017         Moved ...
16018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16019         ... here.
16020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16021         Moved ...
16022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16024         Moved ...
16025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16027         Moved ...
16028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16030         Moved ...
16031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16033         Moved ...
16034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16036         Moved ...
16037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16039         Moved ...
16040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16043         ... here.
16044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16045         Moved ...
16046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16048         Moved ...
16049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16050         ... here.
16051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16052         Moved ...
16053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16054         ... here.
16055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16056         Moved ...
16057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16058         ... here.
16059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16060         Moved ...
16061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16063         Moved ...
16064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16068         Moved ...
16069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16070         ... here.
16071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16072         Moved ...
16073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16074         ... here.
16075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16076         Moved ...
16077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16079         Moved ...
16080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16082         Moved ...
16083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16085         Moved ...
16086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16088         Moved ...
16089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16090         ... here.
16091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16092         Moved ...
16093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16095         Moved ...
16096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16098         Moved ...
16099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16101         Moved ...
16102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16106         Moved ...
16107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16109         Moved ...
16110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16112         Moved ...
16113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16114         ... here.
16115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16116         Moved ...
16117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16118         ... here.
16119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16120         Moved ...
16121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16122         ... here.
16123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16124         Moved ...
16125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16127         Moved ...
16128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16130         Moved ...
16131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16133         Moved ...
16134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16135         ... here.
16136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16137         Moved ...
16138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16139         ... here.
16140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16141         Moved ...
16142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16143         ... here.
16144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16145         Moved ...
16146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16148         Moved ...
16149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16151 2014-06-23  Will Newton  <will.newton@linaro.org>
16152             Wilco  <wdijkstr@arm.com>
16154         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16155         implementation.  Include get-rounding-mode.h.
16156         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16157         [!libc_feholdsetround_noex_ctx]: Define
16158         libc_feholdsetround_noex_ctx.
16159         [!libc_feholdsetround_noexf_ctx]: Define
16160         libc_feholdsetround_noexf_ctx.
16161         [!libc_feholdsetround_noexl_ctx]: Define
16162         libc_feholdsetround_noexl_ctx.
16163         (libc_feholdsetround_ctx): New function.
16164         (libc_feresetround_ctx): New function.
16165         (libc_feholdsetround_noex_ctx): New function.
16166         (libc_feresetround_noex_ctx): New function.
16168 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16170         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16171         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16172         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16173         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16174         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16175         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16177         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16178         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16179         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16180         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16181         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16182         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16183         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16184         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16185         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16186         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16187         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16188         Moved ...
16189         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16190         ... here.
16191         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16192         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16193         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16194         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16195         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16196         Moved ...
16197         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16198         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16199         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16200         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16201         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16202         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16203         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16204         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16205         Moved ...
16206         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16207         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16208         Moved ...
16209         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16210         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16211         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16212         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16213         Moved ...
16214         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16215         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16216         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16217         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16218         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16219         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16220         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16221         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16222         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16223         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16224         Moved ...
16225         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16226         ... here.
16227         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16228         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16229         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16230         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16231         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16232         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16233         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16234         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16235         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16236         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16237         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16238         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16239         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16240         Moved ...
16241         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16242         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16243         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16244         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16245         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16246         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16247         Moved ...
16248         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16249         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16250         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16251         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16252         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16254         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16255         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16256         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16257         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16258         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16259         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16260         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16261         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16262         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16263         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16264         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16265         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16266         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16267         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16268         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16269         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16270         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16271         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16272         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16273         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16274         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
16275         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
16276         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
16277         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16278         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16279         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16280         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16281         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16283 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16285         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16286         (FALLOC_FL_COLLAPSE_RANGE): New macro.
16287         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16288         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16289         (IPV6_PMTUDISC_INTERFACE): Likewise.
16290         (IPV6_PMTUDISC_OMIT): Likewise.
16292 2014-06-23  Andreas Schwab  <schwab@suse.de>
16294         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16295         Remove unused errout label.
16297 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16299         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16300         macro: hardware supports Vector Crypto instructions.
16302 2014-06-23  Will Newton  <will.newton@linaro.org>
16304         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16305         rather than __builtin_expect.
16307         * elf/dl-lookup.c (undefined_msg): Remove variable.
16308         (_dl_lookup_symbol_x): Replace undefined_msg with string
16309         literal.
16311         * elf/dl-lookup.c (do_lookup_unique): New function.
16312         (do_lookup_x): Move STB_GNU_UNIQUE handling code
16313         to a separate function.
16315 2014-06-23  Andreas Schwab  <schwab@suse.de>
16317         [BZ #17079]
16318         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
16319         before reading the next line.
16321 2014-06-23  Will Newton  <will.newton@linaro.org>
16323         * test-skeleton.c (signal_handler): Use printf and %m
16324         rather than perror.  Use printf rather than fprintf to
16325         stderr.  Use puts rather than fputs to stderr.
16326         (main): Likewise.
16328 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
16330         * nscd/nscd.c (thread_info_t): Remove typedef.
16331         (thread_info): Remove variable.
16333 2014-06-21  Allan McRae  <allan@archlinux.org>
16335         * NEWS: Mention CVE-2014-4043.
16337 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16339         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
16340         * nptl/smp.h: ... here.
16342         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
16344         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
16345         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
16346         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
16347         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
16349         * nptl/allocatestack.c: Include <stack-aliasing.h>.
16350         * nptl/stack-aliasing.h: New file.
16351         * sysdeps/i386/i686/stack-aliasing.h: New file.
16352         * sysdeps/i386/i686/nptl/Makefile: File removed.
16353         * sysdeps/x86_64/stack-aliasing.h: New file.
16354         * sysdeps/x86_64/nptl/Makefile
16355         (CFLAGS-pthread_create.c): Variable removed.
16357         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
16358         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
16359         old file.
16360         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
16361         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16362         old file.
16364 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
16366         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16367         (__ASSUME_SIGFRAME_V2): Remove macro.
16368         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
16369         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16370         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
16371         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
16372         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
16373         Declare as function.  Remove conditional macro definitions.
16374         (__default_rt_sa_restorer): Likewise.
16375         (__default_sa_restorer_v1): Remove declaration.
16376         (__default_sa_restorer_v2): Likewise.
16377         (__default_rt_sa_restorer_v1): Likewise.
16378         (__default_rt_sa_restorer_v2): Likewise.
16379         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
16380         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
16381         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
16383 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16385         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16386         (libpthread-routines): Add sysdep.
16387         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16388         * sysdeps/unix/sysv/linux/sparc/Versions
16389         (libpthread: GLIBC_2.3.3): New version set.
16390         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16391         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16392         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16393         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16394         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
16395         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16396         Moved ...
16397         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16398         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16399         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16400         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16401         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16402         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16403         * sysdeps/sparc/nptl/sem_init.c: ... here.
16404         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16405         * sysdeps/sparc/nptl/sem_post.c: ... here.
16406         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16407         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16408         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16409         * sysdeps/sparc/nptl/sem_wait.c: ... here.
16410         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16411         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16412         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16413         (libpthread-routines): Add cpu_relax.
16414         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16415         File removed.
16416         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16417         (librt: GLIBC_2.3.3): New version set.
16418         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16419         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16420         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16421         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16422         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16424         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16426         Moved ...
16427         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16429         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16431         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16432         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16433         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16434         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16435         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16437         Moved ...
16438         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16439         Update #include.
16440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16441         Moved ...
16442         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16443         Update #include.
16444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16445         Moved ...
16446         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16447         Update #include.
16448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16449         Moved ...
16450         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16451         Update #include.
16452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16453         Moved ...
16454         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16455         Update #include.
16456         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16457         Moved ...
16458         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16459         Update #include.
16460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16461         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16462         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16463         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16464         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16465         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16467         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16468         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16469         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16471         Moved ...
16472         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16473         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16474         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16476         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16478 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16480         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16481         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16482         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16483         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16484         * nscd/nscd.c: Likewise.
16485         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16486         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16487         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16488         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16490         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16491         <kernel-features.h>.
16492         (init_mq_netlink): Remove conditional have_sock_cloexec
16493         definitions.  Remove code conditional on have_sock_cloexec < 0.
16494         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16495         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16496         * sysdeps/unix/sysv/linux/opensock.c: Do not include
16497         <kernel-features.h>.
16498         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16499         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16501 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16503         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16504         Add tests for memset_chk and memset.
16506         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16507         with AVX2_Usable.
16509 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16511         [BZ #16046]
16512         * elf/tst-dl-iter-static.c: New file.
16513         * elf/Makefile (tests-static): Add tst-dl-iter-static.
16515         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16516         error.
16518 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16520         * sysdeps/unix/sysv/linux/kernel-features.h
16521         (__ASSUME_F_GETOWN_EX): Remove macro.
16522         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16523         <kernel-features.h>.
16524         (miss_F_GETOWN_EX): Remove variable or macro.
16525         (do_fcntl): Do not check miss_F_GETOWN_EX.
16526         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16528         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16529         Remove macro.
16530         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16531         [!__ASSUME_AT_RANDOM]: Remove conditional code.
16532         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16534         * sysdeps/unix/sysv/linux/kernel-features.h
16535         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16536         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16537         [ADJ_OFFSET_SS_READ]: Make code unconditional.
16538         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16540 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16542         [BZ #17075]
16543         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16544         Fix calculation of the symbol's value.
16545         * sysdeps/arm/tst-armtlsdescloc.c: New file.
16546         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16547         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16548         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16549         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16550         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16551         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16552         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16553         (modules-names): Add `tst-armtlsdescmod',
16554         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16555         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16556         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16557         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16558         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16559         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16560         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16561         ($(objpfx)tst-armtlsdescloc): New dependency.
16562         ($(objpfx)tst-armtlsdescextnow): Likewise.
16563         ($(objpfx)tst-armtlsdescextlazy): Likewise.
16564         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16565         TLS scheme support.
16566         * sysdeps/arm/configure: Regenerate.
16568 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16570         * include/fcntl.h (__atfct_seterrno): Remove prototype.
16571         (__atfct_seterrno_2): Likewise.
16572         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16573         <kernel-features.h>.
16574         (__ASSUME_ATFCTS): Do not undefine and redefine.
16575         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16576         (__have_atfcts): Remove conditional definition.
16577         (__fxstatat([__NR_fstatat64]: Make code unconditional.
16578         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16579         unreachable if [__ASSUME_ATFCTS].
16580         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16581         not undefine and redefine.
16582         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16583         <kernel-features.h>.
16584         (faccessat) [__NR_faccessat]: Make code unconditional.
16585         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16586         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16587         <kernel-features.h>.
16588         (fchmodat) [__NR_fchmodat]: Make code unconditional.
16589         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16590         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16591         <kernel-features.h>.
16592         (fchownat) [__NR_fchownat]: Make code unconditional.
16593         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16594         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16595         <kernel-features.h>.
16596         (futimesat) [__NR_futimesat]: Make code unconditional.
16597         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16598         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16599         <kernel-features.h>.
16600         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16601         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16602         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16603         <kernel-features.h>.
16604         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16605         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16606         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16607         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16608         <kernel-features.h>.
16609         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16610         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16611         * sysdeps/unix/sysv/linux/linkat.c: Do not include
16612         <kernel-features.h>.
16613         (linkat) [__NR_linkat]: Make code unconditional.
16614         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16615         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16616         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16617         <kernel-features.h>.
16618         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16619         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16620         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16621         <kernel-features.h>.
16622         (mkdirat) [__NR_mkdirat]: Make code unconditional.
16623         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16624         * sysdeps/unix/sysv/linux/openat.c: Do not include
16625         <kernel-features.h>.
16626         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16627         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16628         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16629         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16630         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16631         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16632         <kernel-features.h>.
16633         (readlinkat) [__NR_readlinkat]: Make code unconditional.
16634         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
16635         result of INLINE_SYSCALL directly, not via int variable.
16636         * sysdeps/unix/sysv/linux/renameat.c: Do not include
16637         <kernel-features.h>.
16638         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16639         (renameat) [__NR_renameat]: Make code unconditional.
16640         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16641         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16642         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16643         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16644         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16645         (__ASSUME_ATFCTS): Do not undefine and redefine.
16646         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16647         <kernel-features.h>.
16648         (symlinkat) [__NR_symlinkat]: Make code unconditional.
16649         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16650         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16651         <kernel-features.h>.
16652         (unlinkat) [__NR_unlinkat]: Make code unconditional.
16653         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16654         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16655         (__ASSUME_ATFCTS): Do not undefine and redefine.
16656         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16657         <kernel-features.h>.
16658         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16659         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16660         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16661         <kernel-features.h>.
16662         (__xmknodat) [__NR_mknodat]: Make code unconditional.
16663         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16665 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16667         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16669 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
16671         [BZ #17069]
16672         * posix/regcomp.c (parse_reg_exp): Deallocate partially
16673         constructed tree before returning error.
16674         * posix/bug-regexp36.c: Expand test case.
16676 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16678         [BZ #6803]
16679         * math/libm-test.inc (scalbln_test_date):
16680         Add errno expectations.
16681         * math/w_scalblnf.c: New File.
16682         Add wrapper which checks for setting errno to ERANGE.
16683         Add weak_alias for corresponding scalbln function.
16684         * math/w_scalbln.c: Likewise.
16685         * math/w_scalblnl.c: Likewise.
16686         * math/Makefile (libm-calls): Add w_scalbln.
16687         * sysdeps/ieee754/flt-32/s_scalblnf.c:
16688         Remove weak_alias for corresponding scalbln function.
16689         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16690         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16691         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16692         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16693         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16694         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16695         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16696         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16697         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16698         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16699         Remove long_double_symbol for scalblnl function in libm, libc.
16700         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16701         Add wrapper which checks for setting errno to ERANGE.
16702         Add long_double_symbol for scalblnl function in libm, libc.
16703         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16704         Remove long_double_symbol for scalblnl in libm.
16705         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16706         Add wrapper which checks for setting errno to ERANGE.
16707         Add long_double_symbol for scalblnl function in libm.
16708         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16709         Do not use wrapper because of own implementation.
16711 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
16713         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16714         3 bytes for __pad1 for x32.
16715         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16717 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
16718             H.J. Lu  <hongjiu.lu@intel.com>
16720         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16721         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16722         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16723         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16724         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16726 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
16728         [BZ #17069]
16729         * posix/regcomp.c (parse_expression): Deallocate partially
16730         constructed tree before returning error.
16731         * posix/Makefile.c (tests): Add bug-regex36.
16732         (generated): Add bug-regex36.mtrace.
16733         (tests-special): Add $(objpfx)bug-regex36-mem.out
16734         (bug-regex36-ENV): New variable.
16735         ($(objpfx)bug-regex36-mem.out): New rule.
16736         * posix/bug-regex36.c: New file.
16738 2014-06-19  Will Newton  <will.newton@linaro.org>
16740         * malloc/malloc.c (systrim): If extra is zero then return
16741         early.
16743 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16745         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16747 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
16749         * sysdeps/aarch64/strchr.S: New file.
16751 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16753         [BZ #17022]
16754         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16755         from arguments -2 or below.
16756         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16757         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16759 2014-06-18  Andreas Schwab  <schwab@suse.de>
16761         [BZ #17062]
16762         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16763         of a bracket expr not to run off the end of the string.
16764         * posix/Makefile (tests): Add tst-fnmatch3.
16765         * posix/tst-fnmatch3.c: New file.
16767 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16769         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16770         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16771         [$(cross-compiling) = no]: Likewise.
16772         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16773         [$(cross-compiling) = no]: Likewise.
16775 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16777         [BZ #17031]
16778         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16779         double, adjusted for any remainder from the high double.
16780         * math/libm-test.inc (nearbyint): Add tests.
16781         (rint): Likewise.
16783 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16785         * nptl/sysdeps/powerpc/Makefile: Moved ...
16786         * sysdeps/powerpc/nptl/Makefile: ... here.
16787         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16788         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16789         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16790         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16791         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16792         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16793         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16794         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16795         * nptl/sysdeps/powerpc/tls.h: Moved ...
16796         * sysdeps/powerpc/nptl/tls.h: ... here.
16798 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
16800         [BZ #16681]
16801         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16802         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16803         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16804         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16805         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16806         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16807         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16808         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16809         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16811 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
16813         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16815 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
16817         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16818         defined operator.
16820         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16821         $TIMEOUTFACTOR.
16823 2014-06-16  Florian Weimer  <fweimer@redhat.com>
16825         [BZ #17058]
16826         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16827         non-executed part of the test.
16829 2014-06-16  Andreas Schwab  <schwab@suse.de>
16831         * string/bits/string2.h (strdup, strndup): Update feature guard.
16833 2014-06-14  David S. Miller  <davem@davemloft.net>
16835         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16837 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
16839         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16840         that was previously under [RESET_PID].
16841         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16843         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16844         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16845         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16846         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16847         (__libc_vfork): New strong alias.
16848         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16850 2014-06-14 Andi Kleen  <ak@linux.intel.com>
16852         * sysdeps/generic/elide.h: New file.
16854 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16856         * Makefile (installed-headers): Adjust path of pthread.h header.
16858 2014-06-13  Roland McGrath  <roland@hack.frob.com>
16860         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16861         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16862         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16863         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16865         * nptl/sysdeps/s390/Makefile: Moved ...
16866         * sysdeps/s390/nptl/Makefile: ... here.
16867         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16868         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16869         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16870         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16871         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16872         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16873         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16874         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16875         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16876         * sysdeps/s390/nptl/pthreaddef.h: ... here.
16877         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16878         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16879         * nptl/sysdeps/s390/tls.h: Moved ...
16880         * sysdeps/s390/nptl/tls.h: ... here.
16882         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16883         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16885 2014-06-13  David S. Miller  <davem@davemloft.net>
16887         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16890         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16894         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16895         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16896         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16897         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16898         Remove RESET_PID cpp guards.
16899         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16900         Remove RESET_PID cpp guards.
16901         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16903 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
16905         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16906         __sp to uintptr_t.
16908 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16910         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16911         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16912         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16913         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16914         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16915         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16916         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16917         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16918         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16919         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16920         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16921         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16922         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16923         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16924         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16925         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16926         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16927         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16928         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16929         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16931         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16932         (pthread_rwlock_rdlock): Add elision.
16933         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16934         (pthread_rwlock_wrlock): Add elision.
16935         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16936         (pthread_rwlock_trywrlock): Add elision.
16937         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16938         (pthread_rwlock_tryrdlock): Add elision.
16939         * nptl/pthread_rwlock_unlock.c: Include elide.h.
16940         (pthread_rwlock_tryrdlock): Add elision unlock.
16941         * nptl/sysdeps/pthread/pthread.h:
16942         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16943         (PTHREAD_RWLOCK_INITIALIZER,
16944         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16945         Handle new elision field.
16946         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16947         * sysdeps/arm/nptl/bits/pthreadtypes.h
16948         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16949         * sysdeps/sh/nptl/bits/pthreadtypes.h
16950         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16951         * sysdeps/tile/nptl/bits/pthreadtypes.h
16952         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16953         * sysdeps/a/nptl/bits/pthreadtypes.h
16954         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16955         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16956         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16957         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16958         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16959         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16960         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16961         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16962         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16963         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16964         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16965         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16966         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16967         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16968         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16969         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16970         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16971         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16972         (elision_init): Set try_xbegin to zero when no RTM.
16973         * sysdeps/x86/nptl/bits/pthreadtypes.h
16974         (pthread_rwlock_t): Change __pad1 to __rwelision.
16975         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16977 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16979         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16980         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16981         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16982         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16984 2014-06-13  Meador Inge  <meadori@codesourcery.com>
16986         [BZ #16996]
16987         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16988         that the cached result has been set before returning it.
16990 2014-06-12  Roland McGrath  <roland@hack.frob.com>
16992         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16993         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16994         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16995         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16996         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16997         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16999         * nptl/sysdeps/sparc/Makefile: Moved ...
17000         * sysdeps/sparc/nptl/Makefile: ... here.
17001         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17002         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17003         * nptl/sysdeps/sparc/tls.h: Moved ...
17004         * sysdeps/sparc/nptl/tls.h: ... here.
17005         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17006         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17007         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17008         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17009         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17010         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17011         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17012         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17013         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17014         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17015         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17016         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17017         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17018         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17019         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17020         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17021         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17022         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17023         Update #include.
17024         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17025         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17026         Update #include.
17027         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17028         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17029         Update #include.
17030         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17031         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17032         Update #include.
17034         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17036         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17037         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17039         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17040         (struct list_links): Type removed.
17041         (struct thread_node, struct timer_node): Replace struct list_links
17042         with struct list_head.
17043         (list_unlink_ip): Likewise.
17044         * sysdeps/pthread/timer_routines.c
17045         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17046         (list_append, list_insbefore): Likewise.
17047         (list_init): Function removed.
17048         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17049         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17050         * sysdeps/pthread/Makefile: ... here, new file.
17052         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17053         * sysdeps/nptl/Implies: ... here.
17054         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17055         * nptl/sysdeps/pthread/list.h: Moved ...
17056         * include/list.h: ... here.
17057         * nptl/sysdeps/pthread/createthread.c: Moved ...
17058         * nptl/createthread.c: ... here.
17059         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17060         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17061         * nptl/pt-longjmp.c: ... here.
17062         * nptl/sysdeps/pthread/Makefile: Moved ...
17063         * sysdeps/nptl/Makefile: ... here.
17064         * nptl/sysdeps/pthread/Subdirs: Moved ...
17065         * sysdeps/nptl/Subdirs: ... here.
17066         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17067         * sysdeps/nptl/aio_misc.h: ... here.
17068         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17069         * sysdeps/nptl/bits/libc-lock.h: ... here.
17070         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17071         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17072         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17073         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17074         * nptl/sysdeps/pthread/configure: Moved ...
17075         * sysdeps/nptl/configure: ... here.
17076         * nptl/sysdeps/pthread/configure.ac: Moved ...
17077         * sysdeps/nptl/configure.ac: ... here.
17078         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17079         * sysdeps/nptl/gai_misc.h: ... here.
17080         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17081         * sysdeps/nptl/librt-cancellation.c: ... here.
17082         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17083         * sysdeps/nptl/malloc-machine.h: ... here.
17084         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17085         * sysdeps/nptl/pthread-functions.h: ... here.
17086         * nptl/sysdeps/pthread/pthread.h: Moved ...
17087         * sysdeps/nptl/pthread.h: ... here.
17088         * nptl/sysdeps/pthread/setxid.h: Moved ...
17089         * sysdeps/nptl/setxid.h: ... here.
17090         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17091         * sysdeps/nptl/sigfillset.c: ... here.
17092         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17093         * sysdeps/nptl/tcb-offsets.h: ... here.
17094         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17095         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17096         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17097         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17098         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17099         * sysdeps/pthread/allocalim.h: ... here.
17100         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17101         * sysdeps/pthread/bits/sigthread.h: ... here.
17102         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17103         * sysdeps/pthread/flockfile.c: ... here.
17104         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17105         * sysdeps/pthread/ftrylockfile.c: ... here.
17106         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17107         * sysdeps/pthread/funlockfile.c: ... here.
17108         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17109         * sysdeps/pthread/posix-timer.h: ... here.
17110         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17111         * sysdeps/pthread/timer_create.c: ... here.
17112         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17113         * sysdeps/pthread/timer_delete.c: ... here.
17114         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17115         * sysdeps/pthread/timer_getoverr.c: ... here.
17116         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17117         * sysdeps/pthread/timer_gettime.c: ... here.
17118         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17119         * sysdeps/pthread/timer_routines.c: ... here.
17120         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17121         * sysdeps/pthread/timer_settime.c: ... here.
17122         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17123         * sysdeps/pthread/tst-timer.c: ... here.
17124         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17125         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17127         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17128         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17130         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17131         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17132         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17133         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17134         Update #include target.
17135         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17136         * sysdeps/i386/i686/nptl/Makefile: ... here.
17137         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17138         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17139         Update #include target.
17140         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17141         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17142         * nptl/sysdeps/i386/Makefile: Moved ...
17143         * sysdeps/i386/nptl/Makefile: ... here.
17144         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17145         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17146         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17147         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17148         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17149         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17150         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17151         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17152         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17153         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17154         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17155         * nptl/sysdeps/i386/tls.h: Moved ...
17156         * sysdeps/i386/nptl/tls.h: ... here.
17158         * sysdeps/sh/Makefile [$(subdir) = csu]
17159         (gen-as-const-headers): Add tcb-offsets.sym.
17160         * nptl/sysdeps/sh/Makefile: File removed.
17161         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17162         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17163         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17164         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17165         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17166         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17167         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17168         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17169         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17170         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17171         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17172         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17173         * nptl/sysdeps/sh/tls.h: Moved ...
17174         * sysdeps/sh/nptl/tls.h: ... here.
17175         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17176         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17177         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17178         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17179         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17180         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17181         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17182         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17183         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17184         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17185         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17186         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17187         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17188         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17189         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17190         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17191         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17192         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17193         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17194         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17195         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17196         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17197         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17198         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17199         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17200         Moved ...
17201         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17202         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17203         Moved ...
17204         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17205         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17206         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17207         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17208         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17209         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17210         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17211         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17212         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17213         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17214         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17215         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17216         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17217         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17218         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17219         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17220         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17221         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17222         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17224 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17226         * posix/spawn_faction_addopen.c: Include string.h.
17228 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17230         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17231         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17232         * nptl/sysdeps/x86_64/Makefile: Moved ...
17233         * sysdeps/x86_64/nptl/Makefile: ... here.
17234         * nptl/sysdeps/x86_64/configure: Moved ...
17235         * sysdeps/x86_64/nptl/configure: ... here.
17236         * nptl/sysdeps/x86_64/configure.ac: Moved ...
17237         * sysdeps/x86_64/nptl/configure.ac: ... here.
17238         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17239         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17240         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17241         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17242         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17243         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17244         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17245         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17246         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17247         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17248         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17249         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17250         * nptl/sysdeps/x86_64/tls.h: Moved ...
17251         * sysdeps/x86_64/nptl/tls.h: ... here.
17252         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17253         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17254         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17255         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17257         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17259 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17263 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
17265         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17266         type.
17267         [POSIX] (off_t): Likewise.
17268         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17269         [POSIX] (S_ISBLK): Require macro.
17270         [POSIX] (S_ISCHR): Likewise.
17271         [POSIX] (S_ISDIR): Likewise.
17272         [POSIX] (S_ISFIFO): Likewise.
17273         [POSIX] (S_ISREG): Likewise.
17274         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
17275         optional-macro.
17276         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
17277         type.
17278         [POSIX] (time_t): Likewise.
17279         [POSIX] (timer_t): Likewise.
17281 2014-06-11  Florian Weimer  <fweimer@redhat.com>
17283         [BZ #17048]
17284         * posix/spawn_int.h (struct __spawn_action): Make the path string
17285         non-const to support deallocation.
17286         * posix/spawn_faction_addopen.c
17287         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17288         * posix/spawn_faction_destroy.c
17289         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
17290         path in all spawn_do_open actions.
17291         * posix/tst-spawn.c (do_test): Exercise the copy operation in
17292         posix_spawn_file_actions_addopen.
17294 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
17296         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17297         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17298         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17299         conditional code always true.
17300         (__libc_vfork): New alias.
17302 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17304         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17305         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17307         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17309         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17310         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17312         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17313         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17315         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17316         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17318 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17320         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17321         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
17322         multiarch strcmp for PPC64.
17323         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
17324         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
17325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
17326         multiarch optimizations.
17327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17328         (__libc_ifunc_impl_list): Likewise.
17330 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17332         * benchtests/scripts/validate_benchout.py: New script.
17333         * benchtests/Makefile (bench-func): Call it.
17334         * benchtests/scripts/benchout.schema.json: New file.
17336 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
17338         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
17339         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
17340         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
17341         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
17342         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
17343         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17344         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
17345         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17346         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
17347         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
17348         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
17349         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
17350         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
17351         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
17352         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
17353         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
17354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
17355         Moved ...
17356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
17357         ... here.
17358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
17359         Moved ...
17360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
17361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
17362         Moved ...
17363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
17364         ... here.
17365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
17366         Moved ...
17367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
17368         ... here.
17369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
17370         Moved ...
17371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
17372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
17373         Moved ...
17374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
17375         ... here.
17376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
17377         Moved ...
17378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
17379         ... here.
17380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
17381         Moved ...
17382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
17383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
17384         Moved ...
17385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17386         ... here.
17387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17388         Moved ...
17389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17390         ... here.
17391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17392         Moved ...
17393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17394         ... here.
17395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17396         Moved ...
17397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17399         Moved ...
17400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17401         ... here.
17402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17403         Moved ...
17404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17405         ... here.
17406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17407         Moved ...
17408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17409         ... here.
17410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17411         Moved ...
17412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17414         Moved ...
17415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17416         ... here.
17417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17418         Moved ...
17419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17420         ... here.
17421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17422         Moved ...
17423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17425         Moved ...
17426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17427         ... here.
17428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17429         Moved ...
17430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17432         Moved ...
17433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17435         Moved ...
17436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17437         ... here.
17438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17439         Moved ...
17440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17441         ... here.
17442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17443         Moved ...
17444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17445         ... here.
17446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17447         Moved ...
17448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17450         Moved ...
17451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17452         ... here.
17453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17454         Moved ...
17455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17456         ... here.
17457         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17458         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17459         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17460         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17461         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17462         Moved ...
17463         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17464         ... here.
17465         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17466         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17467         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17468         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17469         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17470         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17471         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17472         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17473         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17474         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17475         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17476         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17477         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17478         Moved ...
17479         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17480         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17481         Moved ...
17482         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17483         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17484         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17485         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17486         Moved ...
17487         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17488         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17489         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17490         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17491         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17492         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17493         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17495 2014-06-10  Wilco  <wdijkstr@arm.com>
17497         * math/test-fenv-return.c: New file.
17498         * math/Makefile: Add new test test-fenv-return.
17500 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
17502         [BZ #17042]
17503         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17504         when x - 1 is zero.
17505         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17506         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17507         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17508         0.0L for an argument of 1.0L.
17509         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17510         Likewise.
17511         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17512         value when x - 1 is zero.
17513         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17514         * sysdeps/i386/fpu/libm-test-ulps: Update.
17515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17517 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
17519         [BZ #15119]
17520         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17522 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17524         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17525         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17527 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17529         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17530         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17532         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17533         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17535         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17536         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17538         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17539         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17541         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17542         if not already defined.
17543         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17544         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17545         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17546         (TLS_INIT_TP): Use it.
17547         (TLS_DEFINE_INIT_TP): New macro.
17548         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17550 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
17552         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17553         constant.
17554         [POSIX] (IXANY): Likewise.
17555         [POSIX] (OLCUC): Likewise.
17556         [POSIX || POSIX2008] (CBAUD): Do not allow.
17557         [POSIX || POSIX2008] (DEFECHO): Likewise.
17558         [POSIX || POSIX2008] (ECHOCTL): Likewise.
17559         [POSIX || POSIX2008] (ECHOKE): Likewise.
17560         [POSIX || POSIX2008] (ECHOPRT): Likewise.
17561         [POSIX || POSIX2008] (EXTA): Likewise.
17562         [POSIX || POSIX2008] (EXTB): Likewise.
17563         [POSIX || POSIX2008] (FLUSHO): Likewise.
17564         [POSIX || POSIX2008] (LOBLK): Likewise.
17565         [POSIX || POSIX2008] (PENDIN): Likewise.
17566         [POSIX || POSIX2008] (SWTCH): Likewise.
17567         [POSIX || POSIX2008] (VDISCARD): Likewise.
17568         [POSIX || POSIX2008] (VDSUSP): Likewise.
17569         [POSIX || POSIX2008] (VLNEXT): Likewise.
17570         [POSIX || POSIX2008] (VREPRINT): Likewise.
17571         [POSIX || POSIX2008] (VSTATUS): Likewise.
17572         [POSIX || POSIX2008] (VWERASE): Likewise.
17573         (B*): Change to B[0123456789]*.
17574         * conform/data/time.h-data [POSIX || UNIX98]
17575         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17576         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17577         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17578         [POSIX] (tm_*): Do not allow.
17580 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
17582         * Makefile (install): Don't set LANGUAGE.
17583         * Makefile.in (install): Likewise.
17584         * assert/Makefile (test-assert-ENV): Remove variable.
17585         (test-assert-perr-ENV): Likewise.
17586         * elf/Makefile (neededtest4-ENV): Likewise.
17587         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17588         [$(cross-compiling) = no]: Don't set LANGUAGE.
17589         * io/ftwtest-sh (LANG): Remove variable.
17590         * libio/Makefile (tst-widetext-ENV): Likewise.
17591         * manual/install.texi (Running make install): Don't refer to
17592         environment settings for make install.
17593         * INSTALL: Regenerated.
17594         * nptl/tst-tls6.sh: Don't set LANG.
17595         * posix/globtest.sh (LANG): Remove variable.
17596         * string/Makefile (tester-ENV): Likewise.
17597         (inl-tester-ENV): Likewise.
17598         (noinl-tester-ENV): Likewise.
17599         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17600         [$(cross-compiling) = no]: Don't set LANGUAGE.
17601         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17602         without explicit environment settings.
17604 2014-06-06  Roland McGrath  <roland@hack.frob.com>
17606         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17607         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17608         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17609         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17611 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
17613         * crypt/crypt-private.h [DOS]: Add some includes taken from the
17614         other files in the crypt directory.
17615         * crypt/crypt.c: Remove duplicate includes.
17616         * crypt/crypt-entry.c: Likewise.
17617         * crypt/crypt_util.c: Likewise.
17619 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
17621         * Makeconfig (run-program-env): New variable.
17622         (run-program-prefix-before-env): Likewise.
17623         (run-program-prefix-after-env): Likewise.
17624         (run-program-prefix): Define in terms of new variables.
17625         (built-program-cmd-before-env): New variable.
17626         (built-program-cmd-after-env): Likewise.
17627         (built-program-cmd): Define in terms of new variables.
17628         (test-program-prefix-before-env): New variable.
17629         (test-program-prefix-after-env): Likewise.
17630         (test-program-prefix): Define in terms of new variables.
17631         (test-program-cmd-before-env): New variable.
17632         (test-program-cmd-after-env): Likewise.
17633         (test-program-cmd): Define in terms of new variables.
17634         * Rules (make-test-out): Use $(run-program-env).
17635         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17636         (help): Do not mention environment variables.  Mention
17637         --timeoutfactor option.
17638         (timeoutfactor): New variable.
17639         (blacklist_exports): Remove function.
17640         (exports): Remove variable.
17641         (command): Do not include ${exports}.
17642         * manual/install.texi (Configuring and compiling): Do not mention
17643         test wrappers preserving environment variables.  Mention that last
17644         assignment to a variable must take precedence.
17645         * INSTALL: Regenerated.
17646         * benchtests/Makefile (run-bench): Use $(run-program-env).
17647         * catgets/Makefile ($(objpfx)test1.cat): Use
17648         $(built-program-cmd-before-env), $(run-program-env) and
17649         $(built-program-cmd-after-env).
17650         ($(objpfx)test2.cat): Do not specify environment variables
17651         explicitly.
17652         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17653         $(run-program-env) and $(built-program-cmd-after-env).
17654         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17655         $(run-program-env) and $(test-program-cmd-after-env).
17656         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17657         explicitly.
17658         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17659         run_program_env and test_program_cmd_after_env arguments.
17660         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17661         * elf/tst-pathopt.sh: Use run_program_env argument.
17662         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17663         $(test-wrapper-env) and $(run-program-env).
17664         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17665         run_program_env arguments.
17666         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17667         * intl/Makefile ($(objpfx)tst-gettext.out): Use
17668         $(test-program-prefix-before-env), $(run-program-env) and
17669         $(test-program-prefix-after-env).
17670         ($(objpfx)tst-gettext2.out): Likewise.
17671         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17672         run_program_env and test_program_prefix_after_env arguments.
17673         * intl/tst-gettext2.sh: Likewise.
17674         * intl/tst-gettext4.sh: Do not set environment variables
17675         explicitly.
17676         * intl/tst-gettext6.sh: Likewise.
17677         * intl/tst-translit.sh: Likewise.
17678         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17679         $(test-program-prefix-before-env), $(run-program-env) and
17680         $(test-program-prefix-after-env).
17681         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17682         run_program_env and test_program_prefix_after_env arguments.
17683         * math/Makefile (run-regen-ulps): Use $(run-program-env).
17684         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17685         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
17686         explicitly with each use of ${test_wrapper_env}.
17687         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17688         $(test-program-prefix-before-env), $(run-program-env) and
17689         $(test-program-prefix-after-env).
17690         * posix/tst-getconf.sh: Do not set environment variables
17691         explicitly.
17692         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17693         run_program_env and test_program_prefix_after_env arguments.
17694         * stdio-common/tst-printf.sh: Do not set environment variables
17695         explicitly.
17696         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17697         $(test-program-prefix-before-env), $(run-program-env) and
17698         $(test-program-prefix-after-env).
17699         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17700         run_program_env and test_program_prefix_after_env arguments.
17701         Split $test calls into $test_pre and $test.
17702         * timezone/Makefile (build-testdata): Use
17703         $(built-program-cmd-before-env), $(run-program-env) and
17704         $(built-program-cmd-after-env).
17706 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17708         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17709         strlen for non SHARED builds.
17711 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17713         * nptl/allocatestack.c (check_list): Inlined function...
17714         (__reclaim_stacks): ... here.
17716 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17718         [BZ #15698]
17719         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17720         memory overrun.
17722 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
17724         * Rules (make-test-out): Include
17725         LOCPATH=$(common-objpfx)localedata in default environment.
17726         * debug/Makefile (tst-chk1-ENV): Remove variable.
17727         (tst-chk2-ENV): Likewise.
17728         (tst-chk3-ENV): Likewise.
17729         (tst-chk4-ENV): Likewise.
17730         (tst-chk5-ENV): Likewise.
17731         (tst-chk6-ENV): Likewise.
17732         (tst-lfschk1-ENV): Likewise.
17733         (tst-lfschk2-ENV): Likewise.
17734         (tst-lfschk3-ENV): Likewise.
17735         (tst-lfschk4-ENV): Likewise.
17736         (tst-lfschk5-ENV): Likewise.
17737         (tst-lfschk6-ENV): Likewise.
17738         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17739         (tst-iconv7-ENV): Likewise.
17740         * intl/Makefile (LOCPATH-ENV): Likewise.
17741         (tst-codeset-ENV): Likewise.
17742         (tst-gettext3-ENV): Likewise.
17743         (tst-gettext5-ENV): Likewise.
17744         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17745         (tst-fopenloc-ENV): Likewise.
17746         (tst-fgetws-ENV): Remove variable.
17747         (tst-ungetwc1-ENV): Likewise.
17748         (tst-ungetwc2-ENV): Likewise.
17749         (bug-ungetwc2-ENV): Likewise.
17750         (tst-swscanf-ENV): Likewise.
17751         (bug-ftell-ENV): Likewise.
17752         (tst-fgetwc-ENV): Likewise.
17753         (tst-fseek-ENV): Likewise.
17754         (tst-ftell-partial-wide-ENV): Likewise.
17755         (tst-ftell-active-handler-ENV): Likewise.
17756         (tst-ftell-append-ENV): Likewise.
17757         * posix/Makefile (tst-fnmatch-ENV): Likewise.
17758         (tst-regexloc-ENV): Likewise.
17759         (bug-regex1-ENV): Likewise.
17760         (tst-regex-ENV): Likewise.
17761         (tst-regex2-ENV): Likewise.
17762         (bug-regex5-ENV): Likewise.
17763         (bug-regex6-ENV): Likewise.
17764         (bug-regex17-ENV): Likewise.
17765         (bug-regex18-ENV): Likewise.
17766         (bug-regex19-ENV): Likewise.
17767         (bug-regex20-ENV): Likewise.
17768         (bug-regex22-ENV): Likewise.
17769         (bug-regex23-ENV): Likewise.
17770         (bug-regex25-ENV): Likewise.
17771         (bug-regex26-ENV): Likewise.
17772         (bug-regex30-ENV): Likewise.
17773         (bug-regex32-ENV): Likewise.
17774         (bug-regex33-ENV): Likewise.
17775         (bug-regex34-ENV): Likewise.
17776         (bug-regex35-ENV): Likewise.
17777         (tst-rxspencer-ENV): Likewise.
17778         (tst-rxspencer-no-utf8-ENV): Likewise.
17779         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17780         (tst-sscanf-ENV): Likewise.
17781         (tst-swprintf-ENV): Likewise.
17782         (tst-swscanf-ENV): Likewise.
17783         (test-vfprintf-ENV): Likewise.
17784         (scanf13-ENV): Likewise.
17785         (bug14-ENV): Likewise.
17786         (tst-grouping-ENV): Likewise.
17787         * stdlib/Makefile (tst-strtod-ENV): Likewise.
17788         (tst-strtod3-ENV): Likewise.
17789         (tst-strtod4-ENV): Likewise.
17790         (tst-strtod5-ENV): Likewise.
17791         (testmb2-ENV): Likewise./
17792         * string/Makefile (tst-strxfrm-ENV): Likewise.
17793         (tst-strxfrm2-ENV): Likewise.
17794         (bug-strcoll1-ENV): Likewise.
17795         (test-strcasecmp-ENV): Likewise.
17796         (test-strncasecmp-ENV): Likewise.
17797         * time/Makefile (tst-strptime-ENV): Likewise.
17798         (tst-ftime_l-ENV): Likewise.
17799         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17800         (tst-mbrtowc-ENV): Likewise.
17801         (tst-wcrtomb-ENV): Likewise.
17802         (tst-mbrtowc2-ENV): Likewise.
17803         (tst-c16c32-1-ENV): Likewise.
17804         (tst-mbsnrtowcs-ENV): Likewise.
17806 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17808         * manual/resource.texi (How to get information about the memory
17809         subsystem?): Fix typo.
17810         Reported by Peon de la Parra Ivan <peon@keba.com>
17812 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
17814         [BZ #16882]
17815         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17816         (pthread_spin_lock): Branch out of spin loop to proper location.
17817         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17818         (pthread_spin_lock): Likewise.
17820         * nptl/tst-spin4.c: New test.
17821         * nptl/Makefile (tests): Add tst-spin4.
17823 2014-06-03  Andreas Schwab  <schwab@suse.de>
17825         [BZ #15946]
17826         * resolv/res_send.c (send_dg): Reload file descriptor after
17827         calling reopen.
17829 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
17831         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17833 2014-06-03  Richard Henderson  <rth@redhat.com>
17835         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17836         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17837         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17838         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
17839         in the SAVE_PID block.
17840         (__libc_vfork): New alias.
17841         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17843         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17844         child in registers, not on the stack.  Remove RESET_PID conditionals.
17845         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17847 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17849         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17851 2014-06-03  Wilco  <wdijkstr@arm.com>
17853         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17854         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17855         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17856         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17857         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17858         Likewise.
17860 2014-06-03  Wilco  <wdijkstr@arm.com>
17862         * sysdeps/aarch64/fpu/math_private.h
17863         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17864         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17865         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17866         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17867         Fix declarations.
17869 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17871         * crypt/crypt-private.h: Include ufc-crypt.h.
17872         (__b64_from_24bit): Declare extern.
17873         * crypt/crypt_util.c(__b64_from_24bit): New function.
17874         (b64t): New static const variable.
17875         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17876         (b64t): Remove variable.
17877         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17878         * crypt/sha256-crypt.c: Include crypt-private.h.
17879         (b64t): Remove variable.
17880         (__sha256_crypt_r): Remove b64_from_24bit and replace
17881         with __b64_from_24bit.
17882         * crypt/sha512-crypt.c: Likewise.
17884 2014-06-02  Roland McGrath  <roland@hack.frob.com>
17886         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17887         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17888         Label the code __libc_vfork rather than __vfork.
17889         [!NOT_IN_libc] (vfork): Define as weak alias.
17890         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17891         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17892         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17894 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17896         * malloc/malloc.c (malloc_info): Fix format specifier for
17897         n_mmaps.
17899 2014-06-02  Wilco  <wdijkstr@arm.com>
17901         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17902         FPCR write.
17904 2014-06-02  Wilco  <wdijkstr@arm.com>
17906         [BZ #17009]
17907         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17908         Rewrite to reduce FPCR/FPSR accesses.
17910 2014-06-01  David S. Miller  <davem@davemloft.net>
17912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17914 2014-05-31  David S. Miller  <davem@davemloft.net>
17916         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17917         to occur in round to nearest mode when |x| >= 2.0
17919 2014-05-30  Richard Henderson  <rth@twiddle.net>
17921         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17922         (PSEUDO_RET_NOERRNO): Remove.
17923         (ret): Don't redefine.
17924         (ret_NOERRNO): Define in terms of ret.
17925         (ret_ERRVAL): Likewise.
17927         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17928         use of PSEUDO_RET; perform the error check directly.
17930 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
17932         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17933         with __int128_t.
17935 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17937         * malloc/malloc (malloc_info): Fix formatting.
17939 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17940             Roland McGrath  <roland@hack.frob.com>
17942         * malloc/malloc (malloc_info): Also print mmapped statistics.
17944 2014-05-30  Roland McGrath  <roland@hack.frob.com>
17946         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17947         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17949 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
17951         * malloc/malloc.c (malloc_info): Inline mi_arena.
17953 2014-05-29  Richard Henderson  <rth@twiddle.net>
17955         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17956         Remove comma before expanding ASM_ARGS_##nr.
17957         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17958         Make _x0 a strict output; make _x8 a strict input; adjust expansion
17959         of ASM_ARGS_##nr.
17960         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17961         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17962         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17963         (ASM_ARGS_1): Add leading comma.
17965         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17966         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17967         to __errno_location.
17968         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17969         Remove the expected plt for __errno_location.
17971         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17972         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17973         call to __read_tp.
17975         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17976         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
17977         it and break it down.
17978         (DOCARGS_0, DOCARGS_1): Do nothing.
17979         (DOCARGS_2): Update to store into the new stack frame.
17980         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17981         (UNDOCARGS_1): Update to restore from the new stack frame.
17982         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17983         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17985         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17986         (SINGLE_THREAD_P): New parameter for result regno.
17987         (PSEUDO): Update to match; use cbz instead of beq.
17989         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17990         Use ENTRY to define the _nocancel entry point.  Share the syscall
17991         and syscall error check paths with the cancel path.
17992         (PSEUDO_END): New.
17994         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17995         whitespace; tabs before and after asm mnemonics.
17997 2014-05-29  Eric Wong  <normalperson@yhbt.net>
17999         [BZ #15132]
18000         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18001         Call fstat64 or stat64 internally, depending on arguments passed.
18002         Replace stat buffer argument with file descriptor argument.
18003         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18004         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18005         Pass fd to __internal_statvfs instead of calling fstat64.
18006         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18007         Pass fd to __internal_statvfs64 instead of calling fstat64.
18008         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18009         Pass -1 to __internal_statvfs instead of calling stat64.
18010         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18011         Pass -1 to __internal_statvfs64 instead of calling stat64.
18013 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18015         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18016         that was previously under [RESET_PID].
18017         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18019         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18020         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18022 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18024         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18026         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18027         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18029 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18031         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18033 2014-05-27  Andreas Schwab  <schwab@suse.de>
18035         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18036         TLS_INIT_TP macro.
18037         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18038         * elf/rtld.c (init_tls, dl_main): Likewise.
18039         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18040         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18041         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18042         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18043         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18044         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18045         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18046         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18047         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18048         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18049         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18050         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18051         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18052         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18053         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18054         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18055         * sysdeps/generic/tls.h: Update description.
18057 2014-05-27  Will Newton  <will.newton@linaro.org>
18059         [BZ #16990]
18060         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18061         and restore r2 rather than just restoring.
18063 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18065         [BZ #16724]
18066         * libio/tst-ftell-append.c: New test case.
18067         * libio/Makefile (tests): Add test case.
18068         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18069         append mode.
18070         * libio/wfileops.c (do_ftell_wide): Likewise.
18072 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18076         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18077         ...
18078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18080         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18081         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18082         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18083         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18084         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18085         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18086         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18087         Moved ...
18088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18089         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18090         Moved ...
18091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18092         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18093         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18094         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18095         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18096         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18097         ...
18098         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18099         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18100         Moved ...
18101         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18102         here.
18103         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18104         ...
18105         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18106         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18107         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18109         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18110         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18111         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18112         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18114         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18115         merge into ...
18116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18117         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18118         ...
18119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18120         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18121         ...
18122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18123         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18124         Moved ...
18125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18126         here.
18127         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18128         Moved ...
18129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18130         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18131         Moved ...
18132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18135         conditional [RESET_PID].
18136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18137         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18138         removed.
18139         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18140         removed.
18142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18143         <tcb-offsets.h>.
18144         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18145         (__libc_vfork): New strong alias.
18146         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18147         removed.
18148         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18149         Removed.
18151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18152         <tcb-offsets.h>.
18153         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18154         (__libc_vfork): New strong alias.
18155         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18156         removed.
18157         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18158         removed.
18160 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18162         * malloc/malloc.c (mi_arena): New function.
18163         (malloc_info): Remove nested function mi_arena. Call non-nosted
18164         function mi_arena.
18166 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18168         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18169         by insrwi.
18170         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18171         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18172         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18173         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18174         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18175         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18176         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18178 2014-05-26  Andreas Schwab  <schwab@suse.de>
18180         [BZ #16984]
18181         * locale/programs/repertoire.c (repertoire_read): Add slash
18182         between I18NPATH element and file name.
18183         * locale/programs/locfile.c (locfile_read): Likewise.
18185 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18187         * nptl/pthread_mutexattr_settype.c
18188         (__pthread_mutexattr_settype):
18189         Disable lock elision for PTHREAD_MUTEX_NORMAL.
18191 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18193         * nptl/tst-mutex5 (do_test):
18194         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18196 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18198         * benchtests/README: Document 'init' directive.
18199         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18200         BENCH_INIT.
18201         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18202         (parse_file): Recognize 'init' directive.
18204 2014-05-26  Kyle McMartin  <kyle@redhat.com>
18206         [BZ #16796]
18207         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18208         alignment of struct pthread.
18210 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18212         [BZ #16878]
18213         * nscd/netgroupcache.c (addgetnetgrentX): Look for
18214         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18215         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18216         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18218 2014-05-25  Richard Henderson  <rth@twiddle.net>
18220         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18221         (SINGLE_THREAD_P_PIC): Remove.
18222         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18223         (SINGLE_THREAD_P_PIC): Remove.
18225         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18226         branch to syscall error ...
18227         (PSEUDO): ... here.
18228         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18229         from __local_syscall_error to .Lsyscall_error.
18230         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18231         (SYSCALL_ERROR): Update label name.
18233         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18234         Do not use DOARGS/UNDOARGS.
18235         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18236         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18237         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18238         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18239         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18241         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18242         block comment.
18244         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18245         define if !NOT_IN_libc.
18246         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18247         define with non-default symbol versions.
18249 2014-05-23  Richard Henderson  <rth@twiddle.net>
18251         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18252         (vfork, __vfork): Define via compat_symbol.
18254         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18255         [!HAVE_IFUNC] (vfork_compat): Remove.
18256         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18258 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18260         [BZ #16978]
18261         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18262         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18263         variable.
18265 2014-05-23  Richard Henderson  <rth@twiddle.net>
18267         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18268         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18269         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18270         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18272         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18273         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18274         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
18275         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
18276         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
18277         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18278         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18279         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18280         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18281         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18282         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18283         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18284         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18285         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18286         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18287         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18288         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18289         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18290         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18291         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18292         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18293         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18294         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18295         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18296         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18297         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18298         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18299         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18300         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18301         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18302         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18303         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18304         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18305         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18306         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18307         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18308         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18309         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18310         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18311         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18312         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18313         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18314         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18315         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18316         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18317         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
18318         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
18319         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
18320         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
18321         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
18322         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
18323         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
18324         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
18325         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
18326         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
18327         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
18329         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
18330         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
18331         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
18332         before exiting on error.
18333         (__libc_vfork): New strong alias.
18334         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
18335         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
18337         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
18338         that was previously under [RESET_PID].
18339         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
18341         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
18343 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18345         [BZ #16977]
18346         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
18347         value when x - 1 is zero.
18348         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
18349         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18350         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
18351         0.0L for an argument of 1.0L.
18352         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
18353         Likewise.
18354         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
18355         value when x - 1 is zero.
18356         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
18357         * sysdeps/i386/fpu/libm-test-ulps: Update.
18358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18360 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18362         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
18363         alphasort and versionsort.
18365 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18367         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
18368         macro.
18369         [copysignf]: Likewise.
18371 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18373         * crypt/md5-crypt.c: Fix formatting.
18375 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18377         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
18378         (b64_from_24bit): New function.
18380 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18382         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
18383         libc_hidden_builtin_def to ifunc.
18384         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18385         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18387 2014-05-21  Roland McGrath  <roland@hack.frob.com>
18389         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18390         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18392 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
18394         * nscd/Depend (linuxthreads): Remove.
18395         (nptl): Add.
18396         * resolv/Depend (linuxthreads): Remove.
18397         * rt/Depend (linuxthreads): Remove.
18399         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18400         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18401         $(common-objpfx)elf/.
18402         (link-libc-before-gnulib): Likewise.
18403         (elfobjdir): Remove variable.
18404         * Makefile (install): Use $(elf-objpfx) instead of
18405         $(common-objpfx)elf/.
18406         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18407         $(elfobjdir)/.
18408         (link-libc-deps): Likewise.
18409         ($(common-objpfx)libc.so): Likewise.
18410         ($(common-objpfx)linkobj/libc.so): Likewise.
18411         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18412         instead of $(common-objpfx)elf/.
18413         (symbolic-link-list): Likewise.
18414         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18415         [$(cross-compiling) = no]: Likewise.
18416         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18417         $(elfobjdir)/.
18418         (static-gnulib-arch): Likewise.
18419         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18420         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18421         $(common-objpfx)elf/.
18423 2014-05-21  Richard Henderson  <rth@redhat.com>
18425         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18426         (SINGLE_THREAD_P): Use the correct width load.  Fold
18427         into the ldr offset.
18429         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18430         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18432 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
18434         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18435         (libgcc_s_resume): Use __attribute_used__.
18436         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18437         Likewise.
18439 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18441         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18442         optimization when used with float constants.
18444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18446 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
18448         [BZ #16915]
18449         * locale/nl_langinfo_l.c: Make direct reference to every
18450         _nl_current_CATEGORY symbol.
18451         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18452         (tests-static): Add tst-langinfo-static.
18453         (tests-special): Add tst-langinfo-static.out.
18454         ($(objpfx)tst-langinfo.out): Redirect output.
18455         ($(objpfx)tst-langinfo-static.out): New.
18456         * localedata/tst-langinfo.sh: Send output to stdout.
18457         * localedata/tst-langinfo-static.c: New file.
18459         [BZ #16965]
18460         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18461         when the shift amount is modulo the limb size.
18463 2014-05-20  Richard Henderson  <rth@redhat.com>
18465         [BZ #16967]
18466         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18467         Change type of sa_flags from unsigned int to int.
18469         [BZ #16966]
18470         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18472         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18474 2014-05-20  Will Newton  <will.newton@linaro.org>
18476         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18477         Test the return value of the system call in the nocancel case.
18479 2014-05-20  Will Newton  <will.newton@linaro.org>
18480             Yvan Roux  <yvan.roux@linaro.org>
18482         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18483         #include of asm/ptrace.h.
18484         (PTRACE_GET_THREAD_AREA): Remove #undef.
18485         (PTRACE_GETHBPREGS): Likewise.
18486         (PTRACE_SETHBPREGS): Likewise.
18487         (struct user_regs_struct): New structure.
18488         (struct user_fpsimd_struct): New structure.
18489         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18490         #include of asm/ptrace.h and second #include of sys/user.h.
18491         (PTRACE_GET_THREAD_AREA): Remove #undef.
18492         (PTRACE_GETHBPREGS): Likewise.
18493         (PTRACE_SETHBPREGS): Likewise.
18494         (ELF_NGREG): Use new struct user_regs_struct.
18495         (elf_fpregset_t): Use new struct user_fpsimd_struct.
18497 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18499         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18500         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18502 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
18504         [BZ #16958]
18505         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18506         membar to avoid block loads/stores to overlap previous stores.
18508 2014-05-17  Richard Henderson  <rth@redhat.com>
18510         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18511         Create the __##syscall_name##_nocancel entry point.
18512         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18513         Remove; let the sysdep-cancel.h code create it.
18515 2014-05-17  David S. Miller  <davem@davemloft.net>
18517         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18518         Protect with __USE_GNU.
18519         (TIOCSET_TEMPT): Likewise.
18520         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18521         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18522         these are already provided in bits/ioctl-types.h
18524 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18526         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18527         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18529         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18530         Use wait4 regardless of [__NR_waitpid].
18532 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18534         PR libgcc/60166
18535         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18536         (_FP_NANSIGN_Q): Set the quiet bit.
18538 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
18540         * benchtests/Makefile
18541         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18542         not $(common-objpfx)math/libm.so.
18543         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18544         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18545         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18546         $(common-objpfx)dlfcn/libdl.so.
18547         ($(objpfx)tst-audit8): Depend on $(libm), not
18548         $(common-objpfx)math/libm.so.
18549         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18550         not $(common-objpfx)dlfcn/libdl.so.
18551         * math/Makefile
18552         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18553         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
18554         [$(build-shared) = yes].
18555         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18556         $(common-objpfx)nptl/libpthread.so.
18557         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18558         $(common-objpfx)math/libm.so$(libm.so-version) or
18559         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18560         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18561         $(common-objpfx)dlfcn/libdl.so.
18562         * setjmp/Makefile (link-libm): Remove variable.
18563         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18564         * stdio-common/Makefile (link-libm): Remove variable.
18565         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18566         * stdlib/Makefile (link-libm): Remove variable.
18567         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18568         ($(objpfx)tst-strtod-round): Likewise.
18569         ($(objpfx)tst-tininess): Likewise.
18570         ($(objpfx)tst-strtod-underflow): Likewise.
18571         ($(objpfx)tst-strtod6): Likewise.
18572         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18573         $(libdl), not $(common-objpfx)nptl/libpthread.so and
18574         $(common-objpfx)dlfcn/libdl.so.
18576 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18578         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18579         BSD terminal modes definitions.
18581 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18583         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18584         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18586         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18587         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18588         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18589         Don't do #include_next.
18590         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18591         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18592         Don't do #include_next.
18593         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18594         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18595         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18596         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18598 2014-05-16  Allan McRae  <allan@archlinux.org>
18600         * po/sv.po: Update Swedish translation from translation project.
18602         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18603         in sed expression.
18605 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
18607         [BZ #16917]
18608         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18609         errno if the TIOCGPTN ioctl fails with an error different than
18610         EINVAL.
18611         * login/tst-ptsname.c: New file.
18612         * login/Makefile (tests): Add tst-ptsname.
18614         [BZ #16943]
18615         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18616         and prlimit64.
18618 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18620         [BZ #16849]
18621         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18622         herrno to return EAI_AGAIN.
18624 2014-05-14  Roland McGrath  <roland@hack.frob.com>
18626         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18627         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18628         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18629         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18630         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18631         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18632         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18633         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18634         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18635         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18636         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18637         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18638         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18639         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18640         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18641         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18642         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18643         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18644         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18645         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18646         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18647         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18648         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18649         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18650         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18651         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18652         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18653         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18654         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18655         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18657         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18658         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18659         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18661         Moved ...
18662         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18663         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18664         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18666         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18667         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18668         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18670         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18672         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18674         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18675         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18676         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18678         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18680         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18681         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18682         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18684         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18686         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18688         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18689         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18690         Moved ...
18691         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18692         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18693         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18695         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18696         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18697         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18699         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18701         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18703         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18705         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18707         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18708         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18709         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18711         Moved ...
18712         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18714         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18716         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18717         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18718         (libpthread-sysdep_routines): Add elision-related stuff here instead.
18719         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18720         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18721         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18722         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18723         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18724         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18725         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18726         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18727         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18728         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18729         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18730         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18731         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18732         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18733         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18734         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18735         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18736         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18737         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18738         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18739         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18740         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18741         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18742         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18743         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18744         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18745         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18746         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18748         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18749         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18751         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18752         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18753         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18754         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18755         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18756         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18757         Moved ...
18758         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18759         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18760         Moved ...
18761         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18762         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18763         Moved ...
18764         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18765         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18766         Moved ...
18767         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18768         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18769         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18770         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18771         Moved ...
18772         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18773         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18774         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18775         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18776         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18777         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18778         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18779         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18780         Moved ...
18781         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18782         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18783         Moved ...
18784         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18785         ... here.
18786         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18787         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18788         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18789         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18790         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18791         Moved ...
18792         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18793         ... here.
18794         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18795         Moved ...
18796         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18797         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18798         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18799         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18800         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18801         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18802         Moved ...
18803         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18804         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18805         Moved ...
18806         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18807         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18808         Moved ...
18809         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18810         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18811         Moved ...
18812         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18813         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18814         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18815         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18816         Moved ...
18817         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18818         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18819         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18820         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18821         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18822         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18823         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18824         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18825         Moved ...
18826         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18827         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18828         Moved ...
18829         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18830         ... here.
18831         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18832         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18833         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18834         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18835         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18836         Moved ...
18837         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18838         ... here.
18839         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18840         Moved ...
18841         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18842         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18843         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18844         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18845         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18846         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18847         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18848         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18849         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18850         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18851         Moved ...
18852         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18853         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18854         Moved ...
18855         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18856         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18857         Moved ...
18858         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18859         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18860         Moved ...
18861         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18862         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18863         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18864         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18865         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18866         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18867         Moved ...
18868         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18869         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18870         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18871         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18872         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18873         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18874         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18875         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18876         Moved ...
18877         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18878         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18879         Moved ...
18880         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18881         ... here.
18882         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18883         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18884         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18885         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18886         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18887         Moved ...
18888         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18889         ... here.
18890         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18891         Moved ...
18892         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18893         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18894         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18895         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18896         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18897         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18898         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18899         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18900         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18901         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18902         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18904         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18905         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18907         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18908         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18910         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18911         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18912         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18913         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18914         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18915         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18916         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18917         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18918         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18919         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18920         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18921         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18922         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18923         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18924         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18925         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18926         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18927         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18928         Moved ...
18929         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18930         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18931         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18932         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18933         Moved ...
18934         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18935         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18936         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18937         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18938         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18939         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18940         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18941         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18942         Moved ...
18943         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18944         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18945         Moved ...
18946         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18947         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18948         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18949         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18950         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18951         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18952         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18953         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18954         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18955         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18956         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18957         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18958         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18959         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18960         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18961         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18962         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18964         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18965         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18966         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18967         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18968         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18970         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18971         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18972         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18973         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18974         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18975         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18976         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18977         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18978         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18979         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18981         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18982         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18984         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18985         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18986         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18987         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18988         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18989         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18990         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18991         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18992         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18993         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18994         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18995         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18996         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18997         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18998         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18999         Update #include.
19000         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19001         Likewise.
19002         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19003         Likewise.
19004         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19005         Likewise.
19006         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19007         Likewise.
19008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19009         Likewise.
19010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19011         Likewise.
19012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19013         Likewise.
19014         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19015         Likewise.
19016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19017         Likewise.
19018         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19019         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19020         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19021         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19022         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19023         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19024         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19025         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19026         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19027         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19028         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19029         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19030         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19031         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19032         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19034         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19035         that was previously under [RESET_PID].
19036         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19037         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19038         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19040         * sysdeps/i386/nptl/Implies: New file.
19041         * sysdeps/x86_64/nptl/Implies: New file.
19042         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19043         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19044         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19045         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19047         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19048         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19049         (__libc_vfork): New strong alias.
19050         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19051         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19053         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19054         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19055         (__libc_vfork): New strong alias.
19056         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19057         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19059         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19060         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19061         (__libc_vfork): New strong alias.
19062         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19063         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19064         * nptl/pt-vfork.c: New file.
19065         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19066         (libpthread: GLIBC_2.20): New version set (empty).
19068 2014-05-14  Will Newton  <will.newton@linaro.org>
19070         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19071         rather than #if.
19073 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19075         [BZ #16564]
19076         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19077         arguments with exponent 65 or above.
19078         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19079         arguments 0x1p113L or above.
19080         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19081         to arguments 0x1p107L or above.
19082         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19083         positive arguments with exponent 65 or above.
19084         * math/auto-libm-test-in: Add more tests of log1p.
19085         * math/auto-libm-test-out: Regenerated.
19087         [BZ #16928]
19088         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19089         non-finite arguments is +0.
19090         * math/s_cacosf.c (__cacosf): Likewise.
19091         * math/s_cacosl.c (__cacosl): Likewise.
19092         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19093         * sysdeps/i386/fpu/libm-test-ulps: Update.
19094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19096         [BZ #16927]
19097         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19098         value.
19099         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19100         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19101         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19102         for explicit high bit of mantissa when testing for argument equal
19103         to 1.
19104         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19105         * sysdeps/i386/fpu/libm-test-ulps: Update.
19106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19108         [BZ #16516]
19109         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19110         (__erf): Scale by 16 instead of 8 in potentially underflowing
19111         case.  Ensure exception if result actually underflows.
19112         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19113         (__erff): Scale by 16 instead of 8 in potentially underflowing
19114         case.  Ensure exception if result actually underflows.
19115         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19116         (efx8): Remove variable.
19117         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19118         case.  Ensure exception if result actually underflows.
19119         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19120         (efx8): Remove variable.
19121         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19122         case.  Ensure exception if result actually underflows.
19123         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19124         (efx8): Remove variable.
19125         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19126         case.  Ensure exception if result actually underflows.
19127         * math/auto-libm-test-in: Add more tests of erf.
19128         * math/auto-libm-test-out: Regenerated.
19130 2014-05-14  Andreas Schwab  <schwab@suse.de>
19132         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19133         Remove code conditionalized on USE___THREAD.
19135         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19136         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19137         not definedness.
19139 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19141         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19142         Define unconditionally.
19143         (__ASSUME_O_CLOEXEC): Likewise.
19144         (__ASSUME_SOCK_CLOEXEC): Likewise.
19145         (__ASSUME_IN_NONBLOCK): Likewise.
19146         (__ASSUME_PIPE2): Likewise.
19147         (__ASSUME_EVENTFD2): Likewise.
19148         (__ASSUME_SIGNALFD4): Likewise.
19149         (__ASSUME_DUP3): Likewise.
19150         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19151         (__ASSUME_DUP3): Do not define.
19152         (__ASSUME_EVENTFD2): Likewise.
19153         (__ASSUME_IN_NONBLOCK): Likewise.
19154         (__ASSUME_O_CLOEXEC): Likewise.
19155         (__ASSUME_PIPE2): Likewise.
19156         (__ASSUME_SIGNALFD4): Likewise.
19157         (__ASSUME_SOCK_CLOEXEC): Likewise.
19158         (__ASSUME_UTIMES): Undefine.
19159         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19160         (__ASSUME_UTIMES): Do not define.
19161         (__ASSUME_O_CLOEXEC): Likewise.
19162         (__ASSUME_SOCK_CLOEXEC): Likewise.
19163         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19164         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19165         0x020621].
19166         (__ASSUME_PIPE2): Likewise.
19167         (__ASSUME_EVENTFD2): Likewise.
19168         (__ASSUME_SIGNALFD4): Likewise.
19169         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19170         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19171         Do not define.
19172         (__ASSUME_EVENTFD2): Likewise.
19173         (__ASSUME_SIGNALFD4): Likewise.
19174         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19175         (__ASSUME_32BITUIDS): Likewise.
19176         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19177         (__ASSUME_IPC64): Likewise.
19178         (__ASSUME_ST_INO_64_BIT): Likewise.
19179         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19180         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19181         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19182         (__ASSUME_UTIMES): Do not define.
19183         (__ASSUME_PSELECT): Likewise.
19184         (__ASSUME_PPOLL): Likewise.
19185         (__ASSUME_O_CLOEXEC): Likewise.
19186         (__ASSUME_SOCK_CLOEXEC): Likewise.
19187         (__ASSUME_IN_NONBLOCK): Likewise.
19188         (__ASSUME_PIPE2): Likewise.
19189         (__ASSUME_EVENTFD2): Likewise.
19190         (__ASSUME_SIGNALFD4): Likewise.
19191         (__ASSUME_DUP3): Likewise.
19192         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19193         (__ASSUME_UTIMES): Likewise.
19194         (__ASSUME_O_CLOEXEC): Likewise.
19195         (__ASSUME_SOCK_CLOEXEC): Likewise.
19196         (__ASSUME_IN_NONBLOCK): Likewise.
19197         (__ASSUME_PIPE2): Likewise.
19198         (__ASSUME_EVENTFD2): Likewise.
19199         (__ASSUME_SIGNALFD4): Likewise.
19200         (__ASSUME_DUP3): Likewise.
19201         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19202         (__ASSUME_UTIMES): Likewise.
19203         (__ASSUME_O_CLOEXEC): Likewise.
19204         (__ASSUME_SOCK_CLOEXEC): Likewise.
19205         (__ASSUME_IN_NONBLOCK): Likewise.
19206         (__ASSUME_PIPE2): Likewise.
19207         (__ASSUME_EVENTFD2): Likewise.
19208         (__ASSUME_SIGNALFD4): Likewise.
19209         (__ASSUME_DUP3): Likewise.
19210         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19211         Likewise.
19212         (__ASSUME_UTIMES): Likewise.
19213         (__ASSUME_EVENTFD2): Likewise.
19214         (__ASSUME_SIGNALFD4): Likewise.
19215         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19216         (__ASSUME_O_CLOEXEC): Likewise.
19217         (__ASSUME_SOCK_CLOEXEC): Likewise.
19218         (__ASSUME_IN_NONBLOCK): Likewise.
19219         (__ASSUME_PIPE2): Likewise.
19220         (__ASSUME_EVENTFD2): Likewise.
19221         (__ASSUME_SIGNALFD4): Likewise.
19222         (__ASSUME_DUP3): Likewise.
19223         (__ASSUME_UTIMES): Undefine.
19225         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19226         feclearexcept.  Remove symbol versioning code.
19227         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
19228         symbol versioning code.
19229         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
19230         symbol versioning code.
19231         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19232         feupdateenv.  Remove symbol versioning code.
19233         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19234         fegetexceptflag.  Remove symbol versioning code.
19235         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19236         fesetexceptflag.  Remove symbol versioning code.
19237         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19238         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
19239         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19240         (__posix_fadvise64_l32): Remove prototype.
19241         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19242         code.
19244 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19246         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19247         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19248         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19249         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19251 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
19253         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19254         current working directory
19256 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19258         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19259         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19260         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19261         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19262         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19263         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19264         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19265         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19266         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19267         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19268         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19269         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19270         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19271         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19272         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19273         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19274         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
19275         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
19276         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
19277         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19278         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19279         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19280         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19281         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19282         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19283         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19284         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19285         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19286         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19287         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19288         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19289         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19290         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19291         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19292         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19293         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19294         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19295         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19296         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19297         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19298         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19299         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19301         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19302         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19304         * sysdeps/unix/sysv/linux/arm/Makefile
19305         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19306         Add rt-aeabi_unwind_cpp_pr1.
19307         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19308         Add nptl-aeabi_unwind_cpp_pr1.
19309         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19310         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19311         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19312         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19313         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19314         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19316         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19317         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
19318         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
19319         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
19321         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
19322         Deconditionalize the code that was previously under [RESET_PID].
19323         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
19325         * sysdeps/generic/exit-thread.h: New file.
19326         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
19327         * include/unistd.h (__exit_thread): Remove declaration.
19328         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
19329         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
19330         * csu/libc-start.c: Include <exit-thread.h>.
19331         (LIBC_START_MAIN): Pass no argument to __exit_thread.
19332         * nptl/pthread_create.c: Include <exit-thread.h>.
19333         (start_thread): Call __exit_thread in place of __exit_thread_inline.
19334         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
19335         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
19336         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19337         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
19338         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
19339         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
19340         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
19341         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
19342         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
19343         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
19344         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
19345         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
19346         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
19347         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
19348         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
19349         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
19351 2014-05-13  Andreas Schwab  <schwab@suse.de>
19353         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
19355 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
19357         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19358         (__ASSUME_UTIMES): Do not condition on kernel version.
19359         (__ASSUME_PSELECT): Define unconditionally.
19360         (__ASSUME_PPOLL): Likewise.
19361         (__ASSUME_ATFCTS): Likewise.
19362         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
19363         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
19364         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
19365         (__ASSUME_UTIMENSAT): Define unconditionally.
19366         (__ASSUME_PRIVATE_FUTEX): Likewise.
19367         (__ASSUME_FALLOCATE): Likewise.
19368         (__ASSUME_O_CLOEXEC): Likewise.
19369         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
19370         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
19371         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
19372         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
19373         (__ASSUME_IN_NONBLOCK): Likewise.
19374         (__ASSUME_PIPE2): Likewise.
19375         (__ASSUME_EVENTFD2): Likewise.
19376         (__ASSUME_SIGNALFD4): Likewise.
19377         (__ASSUME_DUP3): Likewise.
19378         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19379         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
19380         (__ASSUME_AT_RANDOM): Likewise.
19381         (__ASSUME_PREADV): Likewise.
19382         (__ASSUME_PWRITEV): Likewise.
19383         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
19384         (__ASSUME_F_GETOWN_EX): Define unconditionally.
19385         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19386         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19387         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19388         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19389         (__ASSUME_O_CLOEXEC): Define unconditionally.
19390         (__ASSUME_PSELECT): Do not undefine conditionally.
19391         (__ASSUME_PPOLL): Likewise.
19392         (__ASSUME_ATFCTS): Likewise.
19393         (__ASSUME_SET_ROBUST_LIST): Likewise.
19394         (__ASSUME_UTIMENSAT): Likewise.
19395         (__ASSUME_FDATASYNC): Define unconditionally.
19396         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19397         (__ASSUME_SIGFRAME_V2): Likewise.
19398         )__ASSUME_EVENTFD2): Likewise.
19399         (__ASSUME_SIGNALFD4): Likewise.
19400         (__ASSUME_PSELECT): Do not undefine conditionally.
19401         (__ASSUME_PPOLL): Likewise.
19402         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19403         (__ASSUME_PSELECT): Define unconditionally.
19404         (__ASSUME_PPOLL): Likewise.
19405         (__ASSUME_O_CLOEXEC): Likewise.
19406         (__ASSUME_SOCK_CLOEXEC): Likewise.
19407         (__ASSUME_IN_NONBLOCK): Likewise.
19408         (__ASSUME_PIPE2): Likewise.
19409         (__ASSUME_EVENTFD2): Likewise.
19410         (__ASSUME_SIGNALFD4): Likewise.
19411         (__ASSUME_DUP3): Likewise.
19412         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19413         (__ASSUME_O_CLOEXEC): Likewise.
19414         (__ASSUME_SOCK_CLOEXEC): Likewise.
19415         (__ASSUME_IN_NONBLOCK): Likewise.
19416         (__ASSUME_PIPE2): Likewise.
19417         (__ASSUME_EVENTFD2): Likewise.
19418         (__ASSUME_SIGNALFD4): Likewise.
19419         (__ASSUME_DUP3): Likewise.
19420         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19421         (__ASSUME_EVENTFD2): Likewise.
19422         (__ASSUME_SIGNALFD4): Likewise.
19423         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19425 2014-05-12  Andreas Schwab  <schwab@suse.de>
19427         [BZ #16932]
19428         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19429         (_nss_nis_gethostbyname4_r): Return error if item length is larger
19430         than maximum RPC packet size.
19431         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19432         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19433         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19434         (_nss_nis_getservbyport_r): Likewise.
19436 2014-05-12  Will Newton  <will.newton@linaro.org>
19438         * malloc/Makefile (tests): Add tst-mallopt.
19439         * malloc/tst-mallopt.c: New file.
19441 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19443         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19444         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19446 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19448         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19449         (tst-tlsmod6.so): Likewise.
19451 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19453         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19455 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
19457         [BZ #16064]
19458         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19459         and <dl-procinfo.h>.
19460         (__fegetenv): Save SSE state in envp->__eip if supported.
19461         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19462         envp->__eip if supported.
19463         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19464         and <dl-procinfo.h>.
19465         (__fesetenv): Always set __eip, __cs_selector, __opcode,
19466         __data_offset and __data_selector in environment to 0.  Set SSE
19467         state if supported.
19468         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19469         test-fenv-sse.
19470         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19471         -mfpmath=sse.
19472         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19474 2014-05-09  Will Newton  <will.newton@linaro.org>
19476         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19477         and libc_relro_required for ARM.
19478         * sysdeps/arm/preconfigure: Regenerate.
19480 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
19481             Stefan Liebler  <stli@linux.vnet.ibm.com>
19483         * config.make.in (enable-lock-elision): New Makefile variable.
19484         * configure.ac: Likewise.
19485         * configure: Regenerate.
19486         * sysdeps/s390/configure.ac:
19487         Add check for gcc transactions support.
19488         * sysdeps/s390/configure: Regenerate.
19489         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19490         Build elision files if enabled.
19491         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19492         Add lock elision support for s390.
19493         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19494         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19495         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19496         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19497         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19498         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19499         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19500         Likewise.
19501         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19502         Likewise.
19503         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19504         Likewise.
19505         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19506         Likewise.
19507         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19508         (__lll_timedlock_elision, __lll_lock_elision)
19509         (__lll_unlock_elision, __lll_trylock_elision)
19510         (lll_timedlock_elision, lll_lock_elision)
19511         (lll_unlock_elision, lll_trylock_elision): Add.
19512         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19513         (pthread_mutex_t): Add lock elision support for s390.
19515 2014-05-14  Wilco  <wdijkstr@arm.com>
19517         * sysdeps/arm/fclrexcpt.c: Cleanup.
19518         * sysdeps/arm/fedisblxcpt.c: Cleanup.
19519         * sysdeps/arm/feenablxcpt.c: Cleanup.
19520         * sysdeps/arm/fegetenv.c: Cleanup.
19521         * sysdeps/arm/fegetexcept.c: Cleanup.
19522         * sysdeps/arm/fegetround.c: Cleanup.
19523         * sysdeps/arm/feholdexcpt.c: Cleanup.
19524         * sysdeps/arm/fesetenv.c: Cleanup.
19525         * sysdeps/arm/fesetround.c: Cleanup.
19526         * sysdeps/arm/feupdateenv.c: Cleanup.
19527         * sysdeps/arm/fgetexcptflg.c: Cleanup.
19528         * sysdeps/arm/fraiseexcpt.c: Cleanup.
19529         * sysdeps/arm/fsetexcptflg.c: Cleanup.
19530         * sysdeps/arm/ftestexcept.c: Cleanup.
19531         * sysdeps/arm/get-rounding-mode.h: Cleanup.
19532         * sysdeps/arm/setfpucw.c: Cleanup.
19534 2014-05-09  Will Newton  <will.newton@linaro.org>
19536         * sysdeps/arm/armv7/strcmp.S: New file.
19537         * NEWS: Mention addition of ARMv7 optimized strcmp.
19539 2014-05-08  Roland McGrath  <roland@hack.frob.com>
19541         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19542         look for %.ac rather than %.in.
19544         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19545         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19546         * sysdeps/mach/hurd/configure: Regenerated.
19547         * sysdeps/unix/sysv/linux/configure: Regenerated.
19549         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19551 2014-05-07  Steve Ellcey  <sellcey@mips.com>
19553         [BZ# 16922]
19554         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19555         (LONG_SUB): Ditto.
19556         (PTR_SUB): Ditto.
19558 2014-05-07  Andreas Schwab  <schwab@suse.de>
19560         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19561         when skipping over non-matching result from nscd.
19563 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
19565         [BZ #16876]
19566         * nptl/sockperf.c (client): Check socket return value.
19568         [BZ #16877]
19569         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19570         nscd security class.
19572 2014-05-06  Roland McGrath  <roland@hack.frob.com>
19574         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19575         * sysdeps/arm/unwind.h: ... here.
19577 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
19579         [BZ# 16916]
19580         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19581         Define.
19583 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19585         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19586         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19587         multiarch strncpy for PPC64.
19588         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19589         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19591         multiarch optimizations.
19592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19593         (__libc_ifunc_impl_list): Likewise.
19594         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19595         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19596         multiarch stpncpy for PPC64.
19597         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19598         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19600 2014-05-06  Andreas Schwab  <schwab@suse.de>
19602         [BZ #16912]
19603         * gmon/mcount.c (_MCOUNT_DECL): Use
19604         atomic_compare_and_exchange_bool_acq instead of
19605         catomic_compare_and_exchange_bool_acq.
19607 2014-05-05  Roland McGrath  <roland@hack.frob.com>
19609         * elf/Makefile (others, install-bin): Remove pldd.
19610         (pldd-modules): Variable removed.
19611         ($(objpfx)pldd): Target removed.
19612         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19613         (others, install-bin): Append pldd here.
19614         ($(objpfx)pldd): New target.
19616         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19617         to 0, so the first #if test emitted later doesn't see it undefined.
19618         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19619         * sysdeps/gnu/errlist.c: Regenerated.
19621 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19623         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19624         [libc_hidden_builtin_def]: Define to empty value.
19625         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19626         [libc_hidden_builtin_def]: Likewise.
19627         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19628         [libc_hidden_builtin_def]: Likewise.
19629         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19630         [libc_hidden_builtin_def]: Likewise.
19631         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19632         __redirect_memcpy and define ifunc as default hidden symbol.
19633         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19634         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19636 2014-05-04  Adam Conrad  <adconrad@0c3.net>
19638         * locale/iso-4217.def: Reintroduce XDR currency.
19640 2014-05-04  Allan McRae  <allan@archlinux.org>
19642         * po/eo.po: Update Esperanto translation from translation project.
19644 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
19646         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19647         and FEATURE_INDEX_MAX to 1.
19648         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19650 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19652         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19653         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19654         * iconvdata/big5.c (ONE_DIRECTION): Define.
19655         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19656         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19657         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19658         * iconvdata/cp932.c (ONE_DIRECTION): Define.
19659         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19660         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19661         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19662         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19663         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19664         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19665         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19666         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19667         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19668         * iconvdata/gbk.c (ONE_DIRECTION): Define.
19669         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19670         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19671         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19672         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19673         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19674         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19675         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19676         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19677         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19678         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19679         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19680         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19681         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19682         * iconvdata/iso646.c (ONE_DIRECTION): Define.
19683         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19684         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19685         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19686         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19687         * iconvdata/johab.c (ONE_DIRECTION): Define.
19688         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19689         * iconvdata/sjis.c (ONE_DIRECTION): Define.
19690         * iconvdata/t.61.c (ONE_DIRECTION): Define.
19691         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19692         * iconvdata/tscii.c (ONE_DIRECTION): Define.
19693         * iconvdata/uhc.c (ONE_DIRECTION): Define.
19694         * iconvdata/unicode.c (ONE_DIRECTION): Define.
19695         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19696         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19697         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19699 2014-05-01  Roland McGrath  <roland@hack.frob.com>
19701         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19702         (_IO_JUMPS_OFFSET): Define to 0.
19704         * nptl/sysdeps/pthread/bits/libc-lock.h
19705         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19706         (__libc_lock_define_initialized_recursive): Always define using
19707         initializer.  Modern compilers treat uninitialized (implicit zero) and
19708         explicit zero initializers the same (i.e. put the datum in bss).
19710 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19712         * nscd/nscd-client.h: Include <string.h>.
19714 2014-05-01  David S. Miller  <davem@davemloft.net>
19716         [BZ #16885]
19717         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19718         multiple zero bytes exist at the end of a string.
19719         Reported by Aurelien Jarno <aurelien@aurel32.net>
19721         * string/test-strcmp.c (check): Add explicit test for situations where
19722         there are multiple zero bytes after the first.
19724 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19726         [BZ #16890]
19727         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19728         when compiling wprintf.
19729         * stdio-common/tstdiomisc.c (t3): New function.
19730         (main): Call it.
19732 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19734         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19735         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19736         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19737         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19739 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19741         * stdlib/longlong.h: Updated from GCC.
19743 2014-05-01  Will Newton  <will.newton@linaro.org>
19744             Bernard Ogden  <bernie.ogden@linaro.org>
19746         * NEWS: Update fixed bug list.
19748         [BZ #15119]
19749         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19751 2014-04-30  David S. Miller  <davem@davemloft.net>
19753         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19754         (libc_feholdexcept_setround_sparc_ctx): New function.
19755         (libc_fesetenv_sparc_ctx): Likewise.
19756         (libc_feupdateenv_sparc_ctx): Likewise.
19757         (libc_feholdsetround_sparc_ctx): Likewise.
19758         (libc_feholdexcept_setround_ctx): Define.
19759         (libc_feholdexcept_setroundf_ctx): Likewise.
19760         (libc_feholdexcept_setroundl_ctx): Likewise.
19761         (libc_fesetenv_ctx): Likewise.
19762         (libc_fesetenvf_ctx): Likewise.
19763         (libc_fesetenvl_ctx): Likewise.
19764         (libc_feupdateenv_ctx): Likewise.
19765         (libc_feupdateenvf_ctx): Likewise.
19766         (libc_feupdateenvl_ctx): Likewise.
19767         (libc_feresetround_ctx): Likewise.
19768         (libc_feresetroundf_ctx): Likewise.
19769         (libc_feresetroundl_ctx): Likewise.
19770         (libc_feholdsetround_ctx): Likewise.
19771         (libc_feholdsetroundf_ctx): Likewise.
19772         (libc_feholdsetroundl_ctx): Likewise.
19774         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19775         with __USE_GNU instead of XOPEN cpp guards.
19777         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19778         0.
19780         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19781         with XOPEN cpp guards.
19783 2014-04-30  Julian Brown  <julian@codesourcery.com>
19785         [BZ #16888]
19786         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19787         handling.
19789 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
19791         [BZ #9894]
19792         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19793         Change to 2.6.32.
19794         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19795         * sysdeps/unix/sysv/linux/configure: Regenerated.
19796         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19797         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19798         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19799         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19800         * README: Update reference to required Linux kernel version.
19801         * manual/install.texi (Linux): Update reference to required Linux
19802         kernel headers version.
19803         * INSTALL: Regenerated.
19805         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19806         header inclusion.
19807         [POSIX] (limits.h): Likewise.
19808         [POSIX] (math.h): Likewise.
19809         [POSIX] (sys/wait.h): Likewise.
19810         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19811         function.
19812         [POSIX] (stddef.h): Do not allow header inclusion.
19814 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19816         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19818 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
19820         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19821         Return immediately after lll_futex_wake.
19823 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19825         [BZ #16791]
19826         * nscd/nscd-client.h (datahead_init_common): Initialize entire
19827         structure.
19828         (datahead_init_pos): Call datahead_init_common early.
19829         (datahead_init_neg): Likewise.
19831         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19832         datahead_init_neg): New functions.
19833         * nscd/aicache.c (addhstaiX): Use them.
19834         * nscd/grpcache.c (cache_addgr): Likewise.
19835         * nscd/hstcache.c (cache_addhst): Likewise.
19836         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19837         * nscd/netgroupcache.c (do_notfound): Likewise.
19838         (addgetnetgrentX): Likewise.
19839         (addinnetgrX): Likewise.
19840         * nscd/pwdcache.c (cache_addpw): Likewise.
19841         * nscd/servicescache.c (cache_addserv): Likewise.
19843 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19844             Atsushi Onoe  <atsushi@onoe.org>
19846         [BZ #14308]
19847         [BZ #12994]
19848         [BZ #13651]
19849         * resolv/res_query.c (__libc_res_nsearch): Return if at least
19850         one response is valid.
19851         * resolv/res_send.c (send_dg): Check for validity of other
19852         response if the current response is a referral.
19854 2014-04-29  Steve Ellcey  <sellcey@mips.com>
19856         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19858 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
19860         [BZ #16823]
19861         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19862         Always divide by positive zero when computing -Inf result.
19863         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19864         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19866 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19868         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19869         FPSCR if value do not change.
19870         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19871         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19872         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19873         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19874         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19875         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19876         function.
19878 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
19880         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19881         * sysdeps/unix/sysv/linux/hppa: Move directory from
19882         ports/systeps/unix/sysv/linux/hppa.
19883         * README: Update listing for hppa-*-linux-gnu.
19885 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
19887         [BZ #16754]
19888         * manual/stdio.texi (Hook functions): Fix types of stream hook
19889         functions.
19890         [BZ #16854]
19891         * socket/sys/socket.h: Fix typo in comment.
19893 2014-04-28  Wilco  <wdijkstr@arm.com>
19895         * sysdeps/arm/fenv_private.h: New file.
19896         * sysdeps/arm/math_private.h: New file.
19897         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19899 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
19901         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19902         with __int128_t.
19903         (La_x86_64_retval): Likewise.
19905 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
19907         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19908         fpsr if value didn't change.
19909         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19910         to fpcr if value didn't change.
19911         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19912         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19913         fpsr or fpcr if value didn't change.
19914         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19915         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19916         fpcr if value didn't change.
19917         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19918         to fpsr if value didn't change.
19920 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19922         * nptl/tst-sem3.c: Use test-skeleton.c
19923         (main): Rename to do_test.  Use return instead of
19924         exit.
19925         * nptl/tst-sem4.c: Use test-skeleton.c
19926         (main): Rename to do_test.
19928 2014-04-22  David S. Miller  <davem@davemloft.net>
19930         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19931         (struct sigaction): New struct member __glibc_reserved0, change
19932         type of sa_flags to int.
19934 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
19936         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19937         (COUNT_LEADING_ZEROS_0): Define for AArch64.
19939 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19941         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19942         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19944 2014-04-22  Will Newton  <will.newton@linaro.org>
19945             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
19947         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19948         (__longjmp): Add longjmp and longjmp_target SystemTap
19949         probes.
19950         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19951         (__sigsetjmp): Add setjmp SystemTap probe.
19953 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
19955         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19956         match manual order.
19958 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19960         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19962         * sysdeps/powerpc/fpu/fenv_private.h
19963         (libc_feholdexcept_setroundl_ctx): Define to
19964         libc_feholdexcept_setround_ppc_ctx.
19965         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19966         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19967         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19968         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19970 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19972         * sysdeps/aarch64/math-tests.h: New file.
19974 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
19976         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19977         New.
19978         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19979         Check and set bit_AVX2_Usable.
19980         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19981         macro.
19982         (bit_AVX2): Likewise.
19983         (index_AVX2_Usable): Likewise.
19984         (CPUID_AVX2): Likewise.
19985         (HAS_AVX2): Likewise.
19987 2014-04-17  Will Newton  <will.newton@linaro.org>
19989         * manual/setjmp.texi (System V contexts): Add note that
19990         calling setcontext on a context created by a call to a
19991         signal handler is undefined.  Update text to note that
19992         setcontext from a signal handler is possible but not
19993         recommended.
19995         [BZ #16629]
19996         * stdlib/tst-setcontext.c: Include signal.h.
19997         (main): Check that the signal stack before and
19998         after swapcontext is the same.
20000         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20001         Re-implement to restore registers in user code and avoid
20002         rt_sigreturn system call.
20004 2014-04-17  Wilco  <wdijkstr@arm.com>
20006         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20007         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20008         * math/test-fenv.c: Skip exception trap tests on targets which only
20009         support non-stop mode.
20011 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20012             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20014         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20015         (libc_feholdsetround_aarch64_ctx)
20016         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20017         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20018         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20019         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20020         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20021         (libc_feresetround_noexl_ctx): Define.
20023 2014-04-16  Richard Henderson  <rth@redhat.com>
20025         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20027         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20028         unwind tables.
20030         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20031         const from the non-libc, non-ldso copy.
20033         * sysdeps/alpha/libm-test-ulps: Regenerate.
20035 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20036             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20038         * sysdeps/aarch64/fpu/math_private.h: New file.
20040 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20042         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20044 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20046         [BZ #16275]
20047         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20048         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20049         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20050         Intel MPX bound registers before _dl_profile_fixup.
20051         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20052         registers after _dl_profile_fixup.  Save and restore bound
20053         registers bnd0/bnd1 when calling _dl_call_pltexit.
20054         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20055         (LR_BND_OFFSET): Likewise.
20056         (LRV_BND0_OFFSET): Likewise.
20057         (LRV_BND1_OFFSET): Likewise.
20059 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20061         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20062         to...
20063         * sysdeps/mach/hurd/i386/tls.h: ... here.
20064         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20065         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20066         fields.
20068 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20070         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20072 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20074         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20076 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20078         [BZ #14770]
20079         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20080         * sysdeps/s390/configure: Regenerate.
20082         [BZ #16824]
20083         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20084         Set round-to-nearest internally to reduce error accumulation.
20086 2014-04-16  Alan Modra  <amodra@gmail.com>
20088         [BZ #16740]
20089         [BZ #16619]
20090         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20091         * math/libm-test.inc (frexp_test_data): Add tests.
20092         * NEWS: Update fixed bug list.
20094 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20096         * benchtests/Makefile: Depend on libraries in build directory.
20097         (bench-math): Separate out math tests.
20098         (bench-pthread): Separate out pthread tests.
20099         (bench): Include math and pthread tests.
20101 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20103         [BZ #16831]
20104         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20105         _dl_debug_initialize.
20107         * configure.ac: Remove SELinux header check.
20108         * configure: Regenerate.
20109         * nscd/selinux.c (perms): Array of const char* to permission names.
20110         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20111         default policy. Call string_to_security_class and string_to_av_perm to
20112         translate strings. Enforce default policy and call avs_has_perm with
20113         results of translated strings.
20115 2014-04-13  David S. Miller  <davem@davemloft.net>
20117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20119 2014-04-12  Allan McRae  <allan@archlinux.org>
20121         [BZ #16838]
20122         * manual/string.texi (Collation Functions): Fix qsort argument
20123         order in example.
20124         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20126 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20128         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20129         Make the test a no-op if there are no exceptions defined.
20131 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20133         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20134         enable-hardcoded-path-in-tests
20136 2014-04-11  Will Newton  <will.newton@linaro.org>
20138         * benchtests/Makefile (extra-objs): Add json-lib.o.
20139         (bench-func): Tidy up JSON output.
20140         * benchtests/bench-skeleton.c: Include json-lib.h.
20141         (main): Use JSON library functions to do output of
20142         benchmark results.
20143         * benchtests/bench-timing-type.c (main): Output the
20144         timing type simply, leaving formatting to the user.
20145         * benchtests/json-lib.c: New file.
20146         * benchtests/json-lib.h: Likewise.
20148 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20150         [BZ #15215]
20151         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20152         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20153         memory barriers.  Add comments.
20154         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20155         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20156         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20157         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20158         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20159         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20161 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20163         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20164         * sysdeps/s390/s390-64/configure.ac: ... this ...
20165         * sysdeps/s390/configure.ac: ... to here.
20166         * sysdeps/s390/s390-32/configure: Delete file.
20167         * sysdeps/s390/s390-64/configure: Delete file.
20168         * sysdeps/s390/configure: Regenerate.
20170 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20172         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20174 2014-04-11  Will Newton  <will.newton@linaro.org>
20176         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20177         to zero if it is not defined elsewhere.  (mtrim): Test
20178         the value of MALLOC_DEBUG with #if rather than #ifdef.
20180 2014-04-10 Torvald Riegel  <triegel@redhat.com>
20182         * benchtests/pthread_once-inputs: New file.
20183         * benchtests/pthread_once-source.c: New file.
20184         * benchtests/README: Update documentation.
20186 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20187             H.J. Lu  <hongjiu.lu@intel.com>
20189         [BZ #16275]
20190         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20191         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20192         * sysdeps/x86_64/configure: Regenerated.
20193         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20194         macro.
20195         (REGISTER_SAVE_RAX): Likewise.
20196         (REGISTER_SAVE_RCX): Likewise.
20197         (REGISTER_SAVE_RDX): Likewise.
20198         (REGISTER_SAVE_RSI): Likewise.
20199         (REGISTER_SAVE_RDI): Likewise.
20200         (REGISTER_SAVE_R8): Likewise.
20201         (REGISTER_SAVE_R9): Likewise.
20202         (REGISTER_SAVE_BND0): Likewise.
20203         (REGISTER_SAVE_BND1): Likewise.
20204         (REGISTER_SAVE_BND2): Likewise.
20205         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
20206         bound registers when calling _dl_fixup.
20208 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20210         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20211         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20212         of its definition.
20213         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20214         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20215         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20216         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20217         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20218         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20219         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20221 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
20223         [BZ #15514]
20224         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20225         pathconf(_PC_NAME_MAX).
20227 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20229         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20230         Remove macro usage.
20231         (__PTHREAD_SPINS): Move definition to ...
20232         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20233         (__PTHREAD_SPINS): ... here.
20234         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20235         (__PTHREAD_SPIN): Likewise.
20236         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20237         (__PTHREAD_SPIN): Likewise.
20238         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20239         (__PTHREAD_SPIN): Likewise.
20240         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20241         (__PTHREAD_SPIN): Likewise.
20242         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20243         (__PTHREAD_SPIN): Likewise.
20244         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20245         (__PTHREAD_SPIN): Likewise.
20246         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20247         (__PTHREAD_SPIN): Likewise.
20248         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20249         (__PTHREAD_SPIN): Likewise.
20250         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20251         (__PTHREAD_SPIN): Likewise.
20252         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20253         (__PTHREAD_SPIN): Likewise.
20254         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20255         (__PTHREAD_SPIN): Likewise.
20256         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20257         (__PTHREAD_SPIN): Likewise.
20259         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20260         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20261         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20262         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20263         imply folder.
20264         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20265         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20266         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20267         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20268         correct imply path.
20269         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20270         strlen symbol for non multi-arch builds.
20271         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20272         missing hidden_def and weak_alias.
20274 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
20276         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20278 2014-04-07  Will Newton  <will.newton@linaro.org>
20280         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20281         and contents.  [!_LIBC] Remove #ifndef and contents.
20282         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
20283         * string/memccpy.c (__memccpy): Use ANSI prototype.
20284         * string/memfrob.c (memfrob): Likewise.
20285         * string/strcoll.c (STRCOLL): Likewise.
20286         * string/strlen.c (strlen): Likewise.
20287         * string/strtok.c (STRTOK): Likewise.
20288         * string/strcat.c: Remove unused #include of memcopy.h.
20289         (strcat): Use ANSI prototype.
20290         * string/strchr.c: Remove unused #include of memcopy.h.
20291         (strchr): Use ANSI prototype.
20292         * string/strcmp.c: Remove unused #include of memcopy.h.
20293         (strcmp): Use ANSI prototype.
20294         * string/strcpy.c: Remove unused #include of memcopy.h.
20295         (strcpy): Use ANSI prototype.
20297 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20299         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20300         * config.make.in (config-extra-cppflags): Set it from
20301         libc_extra_cppflags.
20302         * configure.ac (libc_extra_cflags): Make it accumulate over
20303         configure fragments.
20304         (libc_extra_cppflags): New flag.
20305         * configure. Regenerate.
20306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20307         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20308         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20311         [BZ #16815]
20312         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20313         result for FE_DOWNWARD rounding mode.
20314         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20315         Likewise.
20316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20318 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
20320         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
20321         in function argument name.
20323 2014-04-03  David Svoboda  <svoboda@cert.org>
20325         [BZ #5666]
20326         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
20327         explicitly.
20329 2014-04-03  Roland McGrath  <roland@hack.frob.com>
20331         * elf/dl-unmap-segments.h: New file.
20332         * sysdeps/generic/ldsodefs.h
20333         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
20334         * elf/dl-close.c: Include <dl-unmap-segments.h>.
20335         * elf/dl-fptr.c: Likewise.
20336         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20337         * sysdeps/aarch64/tlsdesc.c: Likewise.
20338         * sysdeps/arm/tlsdesc.c: Likewise.
20339         * sysdeps/i386/tlsdesc.c: Likewise.
20340         * sysdeps/tile/dl-runtime.c: Likewise.
20341         * sysdeps/x86_64/tlsdesc.c: Likewise.
20342         * elf/dl-load.h: New file.
20343         * elf/dl-load.c: Include it.
20344         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
20345         Macros moved to dl-load.h.
20346         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
20347         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
20348         Use _dl_unmap_segments in place of __munmap.
20349         Break out segment-mapping loop into ...
20350         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
20352 2014-04-03  Will Newton  <will.newton@linaro.org>
20354         * elf/dl-lookup.c (do_lookup_x): Remove comment
20355         referring to nested function and move variable
20356         declarations down to before first use.
20358 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
20360         [BZ #16799]
20361         [BZ #16800]
20362         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
20363         with 0 numerator.
20364         * math/s_catanf.c (__catanf): Likewise.
20365         * math/s_catanh.c (__catanh): Likewise.
20366         * math/s_catanhf.c (__catanhf): Likewise.
20367         * math/s_catanhl.c (__catanhl): Likewise.
20368         * math/s_catanl.c (__catanl): Likewise.
20369         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
20370         by positive zero when computing -Inf result.
20371         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
20372         (catanh_test): Likewise.
20373         * sysdeps/i386/fpu/libm-test-ulps: Update.
20374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20376         [BZ #16789]
20377         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
20378         instead of using underflowing value in computing result.
20379         * math/s_clog10.c (__clog10): Likewise.
20380         * math/s_clog10f.c (__clog10f): Likewise.
20381         * math/s_clog10l.c (__clog10l): Likewise.
20382         * math/s_clogf.c (__clogf): Likewise.
20383         * math/s_clogl.c (__clogl): Likewise.
20384         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20385         (clog10_test): Likewise.
20386         * sysdeps/i386/fpu/libm-test-ulps: Update.
20387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20389 2014-04-02  Alan Modra  <amodra@gmail.com>
20391         [BZ #16739]
20392         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20393         output when value is near a power of two.  Use int64_t for lx and
20394         remove casts.  Use decimal rather than hex exponent constants.
20395         Don't use long double multiplication when double will suffice.
20396         * math/libm-test.inc (nextafter_test_data): Add tests.
20397         * NEWS: Add 16739 and 16786 to bug list.
20399         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20401         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20403 2014-04-01  Will Newton  <will.newton@linaro.org>
20405         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20406         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
20408 2014-04-01  Florian Weimer  <fweimer@redhat.com>
20410         [BZ #13347]
20411         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20412         * nptl/tst-setuid2.c: New file.
20413         * nptl/Makefile (xtests): Add tst-setuid2.
20415 2014-04-01  Alan Modra  <amodra@gmail.com>
20417         [BZ #16786]
20418         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20420 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20422         [BZ #6803]
20423         [BZ #6804]
20424         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20425         set errno as appropriate.
20426         * math/w_scalbf.c (__scalbf): Likewise.
20427         * math/w_scalbl.c (__scalbl): Likewise.
20428         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20429         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20430         * math/libm-test.inc (scalb_test_data): Add errno expectations.
20431         Add more NaN tests.
20433         [BZ #16349]
20434         * math/w_atan2.c: Include <errno.h>.
20435         (__atan2): Set errno for result underflowing to zero.
20436         * math/w_atan2f.c: Include <errno.h>.
20437         (__atan2f): Set errno for result underflowing to zero.
20438         * math/w_atan2l.c: Include <errno.h>.
20439         (__atan2l): Set errno for result underflowing to zero.
20440         * math/auto-libm-test-in: Don't allow missing errno for some atan2
20441         tests.
20442         * math/auto-libm-test-out: Regenerated.
20444 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20446         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20447         Encode instruction correctly in little endian.
20448         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20449         Likewise.
20450         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20451         Likewise.
20452         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20453         Likewise.
20454         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20455         Likewise.
20457 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20459         [BZ #9894]
20460         * sysdeps/unix/sysv/linux/kernel-features.h
20461         [__sparc__ && !__arch64__ && !__sparc_v9__]
20462         (__ASSUME_SET_ROBUST_LIST): Do not define.
20463         [__sparc__ && !__arch64__ && !__sparc_v9__]
20464         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20465         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20466         Likewise.
20467         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20468         (__ASSUME_FUTEX_LOCK_PI): Undefine.
20469         (__ASSUME_REQUEUE_PI): Likewise.
20470         (__ASSUME_SET_ROBUST_LIST): Likewise.
20471         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20472         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20473         Undefine.
20474         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20475         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20476         Likewise.
20477         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20478         Likewise.
20479         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20480         Likewise.
20481         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20482         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20483         Undefine.
20484         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20485         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20486         Likewise.
20488         [BZ #16648]
20489         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20490         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20491         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20493 2014-03-31  Will Newton  <will.newton@linaro.org>
20495         * benchtests/Makefile (bench): Add ffs and ffsll to list
20496         of tests.
20497         * benchtests/ffs-inputs: New file.
20498         * benchtests/ffsll-inputs: Likewise.
20500 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
20502         [BZ #16770]
20503         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20504         too large before casting to int.
20505         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20506         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20507         * math/libm-test.inc (scalb_test_data): Add more tests.
20509 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20511         * benchtests/Makefile (DETAILED_OPT): New make option.
20512         (bench-func): Run benchmark program with -d if DETAILED_OPT is
20513         set.
20514         * benchtests/bench-skeleton.c: Include stdbool.h.
20515         (main): Store and print timings per input.
20516         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20517         member to each argument value.
20518         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20519         (_print_arg_data): Initialize per-input timing to 0.
20521         * benchtests/Makefile (timing-type): New binary.
20522         (bench-clean): Also remove bench-timing-type.
20523         (bench): New target for timing-type.
20524         (bench-func): Print output in JSON format.
20525         * benchtests/bench-skeleton.c (main): Print output in JSON
20526         format.
20527         * benchtests/bench-timing-type.c: New file.
20528         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20529         (TIMING_PRINT_STATS): Remove.
20530         * benchtests/scripts/bench.py (_print_arg_data): Store variant
20531         name separately.
20533         * benchtests/bench-modf.c: Remove.
20534         * benchtests/modf-inputs: New inputs file.
20536 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
20538         [BZ #16362]
20539         * math/s_clog10.c (M_PI_LOG10E): New macro.
20540         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20541         imaginary parts are 0.
20542         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20543         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20544         imaginary parts are 0.
20545         * math/s_clog10l.c (M_PI_LOG10El): New macro.
20546         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20547         imaginary parts are 0.
20548         * math/libm-test.inc (clog10_test_data): Update expected results
20549         for when real and imaginary parts are 0.
20551 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
20553         * elf/dl-load.c: Finish conversion of __builtin_expect into
20554         __glibc_{un}likely.
20556 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
20558         [BZ #16348]
20559         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20560         1+x for argument with exponent below -67.
20561         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20562         Likewise.
20563         * math/auto-libm-test-in: Add more tests of exp.
20564         * math/auto-libm-test-out: Regenerated.
20566 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20568         [BZ #16759]
20569         * inet/getnetgrent_r.c (get_nonempty_val): New function.
20570         (nscd_getnetgrent): Use it.
20572         [BZ #16760]
20573         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20574         of stpcpy.
20576 2014-03-27  Andi Kleen  <ak@linux.intel.com>
20578         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20579         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20580         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20581         (lll_robust_unlock): Remove out of line section. Use cfi
20582         intrinsics.
20583         (LLL_STUB_UNWIND_INFO*): Remove.
20584         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20585         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20586         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20587         (lll_robust_unlock): Remove out of line section. Use cfi
20588         intrinsics.
20589         (LLL_STUB_UNWIND_INFO*): Remove.
20591 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20593         [BZ #16758]
20594         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20595         blank values.
20597 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20599         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20601 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
20603         [BZ #16198]
20604         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20605         fnstenv.
20606         * math/test-fenv-preserve.c: New file.
20607         * math/Makefile (tests): Add test-fenv-preserve.
20609 2014-03-26  Will Newton <will.newton@linaro.org>
20611         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20613 2014-03-25  Roland McGrath  <roland@hack.frob.com>
20615         * scripts/versionlist.awk: Partition the version sets and emit all
20616         GLIBC_* (sorted) before all others (sorted).
20618 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20620         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20621         GLIBC_2.2.5 version.
20623 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20625         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20626         calls.
20628         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20629         previous change.
20631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20633 2014-03-25  Andreas Schwab  <schwab@suse.de>
20635         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20636         label to be used after in6ailist is initialized.
20638 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20640         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20641         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20643 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20645         [BZ #16357]
20646         [BZ #16599]
20647         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20648         min_plus_half.
20649         (fp_formats): Update initializers.
20650         (init_fp_formats): Initialize new field.
20651         (output_for_one_input_case): Allow underflow for results up to
20652         min_plus_half.
20653         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20654         * math/auto-libm-test-in: Don't mark some underflows from asin and
20655         atanh as spurious.
20656         * math/auto-libm-test-out: Regenerated.
20657         * sysdeps/i386/fpu/libm-test-ulps: Update.
20658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20660 2014-03-25  Andreas Schwab  <schwab@suse.de>
20662         * libio/Makefile (tst-ftell-partial-wide-ENV)
20663         (tst-ftell-active-handler-ENV): Define.
20665 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
20667         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20669 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20671         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20673 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20675         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20676         * sysdeps/x86_64/fpu/multiarch/e_exp.c
20677         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20679 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20681         [BZ #16634]
20682         * elf/dl-load.c (open_verify): Add mode parameter.
20683         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20684         (open_path): Change from boolean 'secure' to complete flag 'mode'
20685         (_dl_map_object): Adjust.
20686         * elf/Makefile (tests): Add tst-dlopen-aout.
20687         * elf/tst-dlopen-aout.c: New test.
20689 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
20691         [BZ #16714]
20692         * sysdeps/unix/sysv/linux/s390/bits/stat.h
20693         (struct stat): Rename member pad0 to __glibc_reserved0.
20695         [BZ #16712]
20696         * sysdeps/s390/s390-32/bits/wordsize.h
20697         (__WORDSIZE32_SIZE_ULONG): New define.
20698         * sysdeps/s390/s390-64/bits/wordsize.h
20699         (__WORDSIZE32_SIZE_ULONG): Likewise.
20700         * sysdeps/generic/stdint.h (SIZE_MAX):
20701         Define as UL if __WORDSIZE32_SIZE_ULONG.
20703         [BZ #16713]
20704         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20705         (__glibc_reserved0): New variable.
20706         (sa_flags): Change type to int.
20708         * posix/Makefile (before-compile): Use += before-compile instead
20709         of a :=.
20711         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20712         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20714 2014-03-20  Andreas Schwab  <schwab@suse.de>
20716         [BZ #16743]
20717         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20718         non-matching result from nscd.
20720 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20722         * scripts/bench.py: Moved to ...
20723         * benchtests/scripts/bench.py: ... here.
20724         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20726 2014-03-24  Andreas Schwab  <schwab@suse.de>
20728         [BZ #16002]
20729         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20730         alloca_account and account alloca use for struct in6ailist.
20732 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20734         [BZ #16284]
20735         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20736         rounding mode to recompute results that overflow to infinity or
20737         underflow to zero.
20738         * math/auto-libm-test-in: Don't mark tests as expected to fail for
20739         bug 16284.
20740         * math/auto-libm-test-out: Regenerated.
20741         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20742         (ccosh_test): Likewise.
20743         (csin_test_data): Use plus_oflow.
20744         (csin_test): Use ALL_RM_TEST.
20745         (csinh_test_data): Use plus_oflow.
20746         (csinh_test): Use ALL_RM_TEST.
20747         * sysdeps/i386/fpu/libm-test-ulps: Update.
20748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20750 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
20752         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20753         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20754         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20756         [BZ #16731]
20757         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20758         when x - 1 is zero.
20759         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20760         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20761         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20762         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20763         argument is 1.
20764         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20765         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20766         zero.
20767         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20768         * sysdeps/i386/fpu/libm-test-ulps: Update.
20769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20771 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20773         * scripts/bench.pl: Remove file.
20774         * scripts/bench.py: New benchmark script.
20775         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20776         * benchtests/README: Mention python dependency.
20777         * scripts/pylintrc: New file.
20778         * scripts/pylint: New file.
20780         * bits/mathdef.h: Use #ifdef instead of #if.
20781         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20782         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20783         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20784         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20785         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20786         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20788 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20789             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20791         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20793         and strpbrk-ppc64 objects.
20794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20795         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20796         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20797         multiarch strpbrk for POWER7.
20798         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20799         multiarch strpbrk for PPC64.
20800         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20801         ifunc selector.
20802         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20803         strpbrk for POWER7.
20805 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20807         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20808         (atan_test): Likewise.
20809         (atanh_test_data): Use NO_TEST_INLINE for two tests.
20810         (atanh_test): Use ALL_RM_TEST.
20811         (atan2_test_data): Likewise.
20812         (cabs_test): Likewise.
20813         (cacosh_test): Likewise.
20814         (carg_test): Likewise.
20815         (casin_test): Likewise.
20816         (casinh_test): Likewise.
20817         (cbrt_test): Likewise.
20818         (csqrt_test): Likewise.
20819         (erf_test): Likewise.
20820         (erfc_test): Likewise.
20821         (pow10_test): Likewise.
20822         (exp2_test): Likewise.
20823         (hypot_test): Likewise.
20824         (j0_test): Likewise.
20825         (j1_test): Likewise.
20826         (lgamma_test): Likewise.
20827         (gamma_test): Likewise.
20828         (sincos_test): Likewise.
20829         (tanh_test): Likewise.
20830         (y0_test): Likewise.
20831         (y1_test): Likewise.
20832         * sysdeps/i386/fpu/libm-test-ulps: Update.
20833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20835 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20837         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20838         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20839         and strcspn-ppc64 objects.
20840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20841         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20842         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20843         multiarch strcspn for POWER7.
20844         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20845         multiarch strcspn for PPC64.
20846         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20847         ifunc selector.
20848         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20849         strcspn for POWER7.
20851 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20853         * math/gen-libm-test.pl (generate_testfile): Expect only function
20854         name as argument to AUTO_TESTS_* and pass results for all rounding
20855         modes to parse_args.
20856         (parse_auto_input): Separate inputs of automatic tests from
20857         outputs before storing in %auto_tests.
20858         * math/libm-test.inc (acos_test_data): Update call to
20859         AUTO_TESTS_f_f.
20860         (acos_test): Use ALL_RM_TEST.
20861         (acos_tonearest_test_data): Remove.
20862         (acos_test_tonearest): Likewise.
20863         (acos_towardzero_test_data): Likewise.
20864         (acos_test_towardzero): Likewise.
20865         (acos_downward_test_data): Likewise.
20866         (acos_test_downward): Likewise.
20867         (acos_upward_test_data): Likewise.
20868         (acos_test_upward): Likewise.
20869         (acosh_test_data): Update call to AUTO_TESTS_f_f.
20870         (asin_test_data): Likewise.
20871         (asin_test): Use ALL_RM_TEST.
20872         (asin_tonearest_test_data): Remove.
20873         (asin_test_tonearest): Likewise.
20874         (asin_towardzero_test_data): Likewise.
20875         (asin_test_towardzero): Likewise.
20876         (asin_downward_test_data): Likewise.
20877         (asin_test_downward): Likewise.
20878         (asin_upward_test_data): Likewise.
20879         (asin_test_upward): Likewise.
20880         (asinh_test_data): Update call to AUTO_TESTS_f_f.
20881         (atan_test_data): Likewise.
20882         (atanh_test_data): Likewise.
20883         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20884         (cabs_test_data): Update call to AUTO_TESTS_c_f.
20885         (carg_test_data): Likewise.
20886         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20887         (ccos_test_data): Update call to AUTO_TESTS_c_c.
20888         (ccosh_test_data): Likewise.
20889         (cexp_test_data): Likewise.
20890         (clog_test_data): Likewise.
20891         (clog10_test_data): Likewise.
20892         (cos_test_data): Update call to AUTO_TESTS_f_f.
20893         (cos_test): Use ALL_RM_TEST.
20894         (cos_tonearest_test_data): Remove.
20895         (cos_test_tonearest): Likewise.
20896         (cos_towardzero_test_data): Likewise.
20897         (cos_test_towardzero): Likewise.
20898         (cos_downward_test_data): Likewise.
20899         (cos_test_downward): Likewise.
20900         (cos_upward_test_data): Likewise.
20901         (cos_test_upward): Likewise.
20902         (cosh_test_data): Update call to AUTO_TESTS_f_f.
20903         (cosh_test): Use ALL_RM_TEST.
20904         (cosh_tonearest_test_data): Remove.
20905         (cosh_test_tonearest): Likewise.
20906         (cosh_towardzero_test_data): Likewise.
20907         (cosh_test_towardzero): Likewise.
20908         (cosh_downward_test_data): Likewise.
20909         (cosh_test_downward): Likewise.
20910         (cosh_upward_test_data): Likewise.
20911         (cosh_test_upward): Likewise.
20912         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20913         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20914         (ctan_test_data): Likewise.
20915         (ctan_test): Use ALL_RM_TEST.
20916         (ctan_tonearest_test_data): Remove.
20917         (ctan_test_tonearest): Likewise.
20918         (ctan_towardzero_test_data): Likewise.
20919         (ctan_test_towardzero): Likewise.
20920         (ctan_downward_test_data): Likewise.
20921         (ctan_test_downward): Likewise.
20922         (ctan_upward_test_data): Likewise.
20923         (ctan_test_upward): Likewise.
20924         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20925         (ctanh_test): Use ALL_RM_TEST.
20926         (ctanh_tonearest_test_data): Remove.
20927         (ctanh_test_tonearest): Likewise.
20928         (ctanh_towardzero_test_data): Likewise.
20929         (ctanh_test_towardzero): Likewise.
20930         (ctanh_downward_test_data): Likewise.
20931         (ctanh_test_downward): Likewise.
20932         (ctanh_upward_test_data): Likewise.
20933         (ctanh_test_upward): Likewise.
20934         (erf_test_data): Update call to AUTO_TESTS_f_f.
20935         (erfc_test_data): Likewise.
20936         (exp_test_data): Likewise.
20937         (exp_test): Use ALL_RM_TEST.
20938         (exp_tonearest_test_data): Remove.
20939         (exp_test_tonearest): Likewise.
20940         (exp_towardzero_test_data): Likewise.
20941         (exp_test_towardzero): Likewise.
20942         (exp_downward_test_data): Likewise.
20943         (exp_test_downward): Likewise.
20944         (exp_upward_test_data): Likewise.
20945         (exp_test_upward): Likewise.
20946         (exp10_test_data): Update call to AUTO_TESTS_f_f.
20947         (exp10_test): Use ALL_RM_TEST.
20948         (exp10_tonearest_test_data): Remove.
20949         (exp10_test_tonearest): Likewise.
20950         (exp10_towardzero_test_data): Likewise.
20951         (exp10_test_towardzero): Likewise.
20952         (exp10_downward_test_data): Likewise.
20953         (exp10_test_downward): Likewise.
20954         (exp10_upward_test_data): Likewise.
20955         (exp10_test_upward): Likewise.
20956         (exp2_test_data): Update call to AUTO_TESTS_f_f.
20957         (expm1_test_data): Likewise.
20958         (expm1_test): Use ALL_RM_TEST.
20959         (expm1_tonearest_test_data): Remove.
20960         (expm1_test_tonearest): Likewise.
20961         (expm1_towardzero_test_data): Likewise.
20962         (expm1_test_towardzero): Likewise.
20963         (expm1_downward_test_data): Likewise.
20964         (expm1_test_downward): Likewise.
20965         (expm1_upward_test_data): Likewise.
20966         (expm1_test_upward): Likewise.
20967         (fma_test_data): Update call to AUTO_TESTS_fff_f.
20968         (fma_test): Use ALL_RM_TEST.
20969         (fma_towardzero_test_data): Remove.
20970         (fma_test_towardzero): Likewise.
20971         (fma_downward_test_data): Likewise.
20972         (fma_test_downward): Likewise.
20973         (fma_upward_test_data): Likewise.
20974         (fma_test_upward): Likewise.
20975         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20976         (j0_test_data): Update call to AUTO_TESTS_f_f.
20977         (j1_test_data): Likewise.
20978         (jn_test_data): Update call to AUTO_TESTS_if_f.
20979         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20980         (log_test_data): Update call to AUTO_TESTS_f_f.
20981         (log10_test_data): Likewise.
20982         (log1p_test_data): Likewise.
20983         (log2_test_data): Likewise.
20984         (pow_test_data): Update call to AUTO_TESTS_ff_f.
20985         (pow_tonearest_test_data): Likewise.
20986         (sin_test_data): Update call to AUTO_TESTS_f_f.
20987         (sin_test): Use ALL_RM_TEST.
20988         (sin_tonearest_test_data): Remove.
20989         (sin_test_tonearest): Likewise.
20990         (sin_towardzero_test_data): Likewise.
20991         (sin_test_towardzero): Likewise.
20992         (sin_downward_test_data): Likewise.
20993         (sin_test_downward): Likewise.
20994         (sin_upward_test_data): Likewise.
20995         (sin_test_upward): Likewise.
20996         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20997         (sinh_test_data): Update call to AUTO_TESTS_f_f.
20998         (sinh_test): Use ALL_RM_TEST.
20999         (sinh_tonearest_test_data): Remove.
21000         (sinh_test_tonearest): Likewise.
21001         (sinh_towardzero_test_data): Likewise.
21002         (sinh_test_towardzero): Likewise.
21003         (sinh_downward_test_data): Likewise.
21004         (sinh_test_downward): Likewise.
21005         (sinh_upward_test_data): Likewise.
21006         (sinh_test_upward): Likewise.
21007         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21008         (sqrt_test): Use ALL_RM_TEST.
21009         (sqrt_tonearest_test_data): Remove.
21010         (sqrt_test_tonearest): Likewise.
21011         (sqrt_towardzero_test_data): Likewise.
21012         (sqrt_test_towardzero): Likewise.
21013         (sqrt_downward_test_data): Likewise.
21014         (sqrt_test_downward): Likewise.
21015         (sqrt_upward_test_data): Likewise.
21016         (sqrt_test_upward): Likewise.
21017         (tan_test_data): Update call to AUTO_TESTS_f_f.
21018         (tan_test): Use ALL_RM_TEST.
21019         (tan_tonearest_test_data): Remove.
21020         (tan_test_tonearest): Likewise.
21021         (tan_towardzero_test_data): Likewise.
21022         (tan_test_towardzero): Likewise.
21023         (tan_downward_test_data): Likewise.
21024         (tan_test_downward): Likewise.
21025         (tan_upward_test_data): Likewise.
21026         (tan_test_upward): Likewise.
21027         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21028         (tgamma_test_data): Likewise.
21029         (y0_test_data): Likewise.
21030         (y1_test_data): Likewise.
21031         (yn_test_data): Update call to AUTO_TESTS_if_f.
21032         (main): Do not call removed functions.
21034 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21036         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21037         (ldexp_test_data): Remove.
21038         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21039         scalbn_test_data.
21040         (scalb_test): Use ALL_RM_TEST.
21042 2014-03-19  Andreas Schwab  <schwab@suse.de>
21044         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21046 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21048         [BZ #16649]
21049         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21050         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21051         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21052         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21053         (__ASSUME_PREADV): Undefine.
21054         (__ASSUME_PWRITEV): Likewise.
21056 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21058         * bits/mman-linux.h: Add comment about non-Linux use.
21059         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21060         bits/mman-linux.h resting place.
21062         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21063         * bits/mman-linux.h: ... here.
21065 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21067         * conform/conformtest.pl: Add standard definition when calling C
21068         preprocessor on data files.
21069         (checknamespace): Remove unused variable.
21071 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21073         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21074         minus_oflow, plus_uflow and minus_uflow in expected results.
21075         * math/libm-test.inc (scalbn_test_data): Add more tests of
21076         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21077         minus_uflow.
21078         (scalbn_test): Use ALL_RM_TEST.
21079         (scalbln_test_data): Add more tests of negative arguments.  Use
21080         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21081         (scalbln_test): Use ALL_RM_TEST.
21083 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21085         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21087 2014-03-18  Will Newton  <will.newton@linaro.org>
21089         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21090         inaccurate comment.
21092 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21094         * Makerules [!subdir] (check-abi): Exit with error status if a
21095         test failed.
21097 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21099         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21100         for rint.  Include results for all rounding modes.
21101         (nearbyint_test): Use ALL_RM_TEST.
21102         (rint_test_data): Include all tests used for nearbyint.
21104 2014-03-17  Will Newton  <will.newton@linaro.org>
21106         * nptl/sysdeps/pthread/pthread.h: Revert previous
21107         change.
21109         * sysdeps/generic/ldsodefs.h: Revert previous
21110         change.
21112         * libio/genops.c: Revert previous change.
21113         * libio/libioP.h: Likewise.
21114         * stdio-common/vfprintf.c: Likewise.
21116         * sysdeps/generic/math_private.h: Revert previous
21117         change.
21119         * sysdeps/generic/math_private.h: Check whether
21120         HAVE_RM_CTX is defined with #ifdef rather
21121         than #if.
21123         * argp/argp-fmtstream.h: Check whether
21124         __STRICT_ANSI__ is defined with #ifdef rather
21125         than #if.
21126         * argp/argp.h: Likewise.
21128         * libio/genops.c: Check whether
21129         _IO_JUMPS_OFFSET is defined with #ifdef rather
21130         than #if.
21131         * libio/libioP.h: Likewise.
21132         * stdio-common/vfprintf.c: Likewise.
21134         * sysdeps/generic/ldsodefs.h: Check whether
21135         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21136         than #if.
21138         * nptl/sysdeps/pthread/pthread.h: Check
21139         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21140         its value.
21142 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21144         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21145         setting O_APPEND.
21146         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21147         test case.
21149         [BZ #16680]
21150         * libio/fileops.c (_IO_file_open): Seek to end of file but
21151         don't cache the offset.
21152         (get_file_offset): Remove function.
21153         (do_ftell): Use cached offset when available.
21154         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21155         don't cache the offset.
21156         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21157         case.
21158         (do_one_test): Call it.
21159         (do_ftell_test): Fix up expected old offset for a+ mode.
21160         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21161         available.
21163         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21164         up test status with function return status.
21165         (do_write_test): Likewise.
21166         (do_append_test): Likewise.
21168         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21169         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21170         Remove.
21172 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21174         * math/gen-libm-test.pl (parse_args): Handle results specified for
21175         each rounding mode separately.
21176         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21177         tests and results from lrint_tonearest_test_data,
21178         lrint_towardzero_test_data, lrint_downward_test_data and
21179         lrint_upward_test_data.
21180         (lrint_test): Use ALL_RM_TEST.
21181         (lrint_tonearest_test_data): Remove.
21182         (lrint_test_tonearest): Likewise.
21183         (lrint_towardzero_test_data): Likewise.
21184         (lrint_test_towardzero): Likewise.
21185         (lrint_downward_test_data): Likewise.
21186         (lrint_test_downward): Likewise.
21187         (lrint_upward_test_data): Likewise.
21188         (lrint_test_upward): Likewise.
21189         (llrint_test_data): Merge in per-rounding-mode tests and results
21190         from llrint_tonearest_test_data, llrint_towardzero_test_data,
21191         llrint_downward_test_data and llrint_upward_test_data.
21192         (llrint_test): Use ALL_RM_TEST.
21193         (llrint_tonearest_test_data): Remove.
21194         (llrint_test_tonearest): Likewise.
21195         (llrint_towardzero_test_data): Likewise.
21196         (llrint_test_towardzero): Likewise.
21197         (llrint_downward_test_data): Likewise.
21198         (llrint_test_downward): Likewise.
21199         (llrint_upward_test_data): Likewise.
21200         (llrint_test_upward): Likewise.
21201         (rint_test_data): Merge in per-rounding-mode tests and results
21202         from rint_tonearest_test_data, rint_towardzero_test_data,
21203         rint_downward_test_data and rint_upward_test_data.  Add
21204         per-rounding-mode results for tests not in those arrays.
21205         (rint_test): Use ALL_RM_TEST.
21206         (rint_tonearest_test_data): Remove.
21207         (rint_test_tonearest): Likewise.
21208         (rint_towardzero_test_data): Likewise.
21209         (rint_test_towardzero): Likewise.
21210         (rint_downward_test_data): Likewise.
21211         (rint_test_downward): Likewise.
21212         (rint_upward_test_data): Likewise.
21213         (rint_test_upward): Likewise.
21214         (main): Don't call removed functions.
21216 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21218         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21219         "Compiled on ..." crapola.  It is anti-useful.
21221 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
21223         * scripts/evaluate-test.sh: Handle fourth argument to determine
21224         whether test run should stop on failure.
21225         * Makeconfig (stop-on-test-failure): New variable.
21226         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21227         $(stop-on-test-failure).
21228         * Makefile (tests): Give a summary of results from testing and
21229         exit with failure status if they include an ERROR or FAIL.
21230         (xtests): Likewise.
21231         * manual/install.texi (Configuring and compiling): Mention
21232         stop-on-test-failure=y.
21233         * INSTALL: Regenerated.
21235 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21237         * scripts/versionlist.awk: New file.
21238         * Makerules [$(build-shared) = yes]
21239         (postclean-generated): Add Versions.def, not Versions.def.v and
21240         Versions.def.v.i.
21241         ($(common-objpfx)Versions.def.v.i): Target removed.
21242         ($(common-objpfx)Versions.def): New target.
21243         ($(common-objpfx)Versions.all): Depend on that rather that
21244         $(common-objpfx)Versions.def.v.
21245         * Versions.def: File removed.
21247         * Makeconfig (+gccwarn): Add -Wundef.
21248         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21249         a dl-sysdep.h breaking its contract.
21250         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21251         * include/stackinfo.h: New file.
21252         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21253         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21254         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21255         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21256         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21257         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21258         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21259         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21260         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21261         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21262         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21263         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21264         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21265         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21266         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21268 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21270         [BZ #16707]
21271         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21272         implementation.
21273         * math/libm-test.inc (round_test_data): Add more tests.
21275         [BZ #16706]
21276         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
21277         implementation.
21278         * math/libm-test.inc (nearbyint_test_data): Add more tests.
21280         [BZ #16701]
21281         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21282         implementation.
21283         * math/libm-test.inc (ceil_test_data): Add more tests.
21285         * math/libm-test.inc (trunc_test_data): Add more tests related to
21286         BZ#16414.
21288 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21290         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21291         with #if rather than #ifdef.
21292         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21294 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
21296         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21297         first.  Disable AVX-512 GCC support if assembler doesn't support
21298         it.
21299         * sysdeps/x86_64/configure: Regenerated.
21301 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
21303         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21304         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21305         (__old_pthread_attr_setstack): Likewise.
21306         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21307         [!_STACK_GROWS_DOWN]: Likewise.
21309 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
21311         * config.make.in (have-bash2): Delete.
21312         * configure.ac (libc_cv_have_bash2): Delete.
21313         * configure: Regenerate.
21314         * elf/Makefile (common-ldd-rewrite): Rename to ...
21315         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
21316         (sh-ldd-rewrite): Delete.
21317         (bash-ldd-rewrite): Delete.
21318         (have-bash2): Delete checks.
21319         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
21320         ldd-rewrite.
21322         * config.make.in (have-ksh): Delete.
21323         (KSH): Delete.
21324         * configure.ac (libc_cv_have_ksh): Delete.
21325         * configure: Regenerate.
21327         * elf/Makefile: Delete $(have-ksh) check.
21328         ($(objpfx)sotruss): Change KSH to BASH.
21329         * elf/sotruss.ksh: Rename to ...
21330         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
21331         function style to match POSIX.  Drop ksh vim mode setting.
21333         * manual/time.texi (Specifying the Time Zone with TZ): Change
21334         Tuesday to Thursday.
21336         * debug/tst-longjmp_chk2.c: Update header comment.
21337         (stackoverflow_handler): Add comment.  Call assert on pass value.
21339 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
21341         [BZ #16194]
21342         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
21343         (HAVE_AVX512_ASM_SUPPORT): Likewise.
21344         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
21345         (La_x86_64_vector): Add zmm.
21346         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
21347         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
21348         ($(objpfx)tst-audit10): New target.
21349         ($(objpfx)tst-audit10.out): Likewise.
21350         (tst-audit10-ENV): New.
21351         (AVX512-CFLAGS): Likewise.
21352         (CFLAGS-tst-audit10.c): Likewise.
21353         (CFLAGS-tst-auditmod10a.c): Likewise.
21354         (CFLAGS-tst-auditmod10b.c): Likewise.
21355         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
21356         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
21357         * sysdeps/x86_64/configure: Regenerated.
21358         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
21359         AVX-512 zmm register support.
21360         (_dl_x86_64_save_sse): Likewise.
21361         (_dl_x86_64_restore_sse): Likewise.
21362         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
21363         size vector registers.
21364         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
21365         (ZMM_SIZE): Likewise.
21366         * sysdeps/x86_64/tst-audit10.c: New file.
21367         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
21368         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
21370 2014-03-13  Roland McGrath  <roland@hack.frob.com>
21372         * configure.ac (HAVE_EHDR_START): New check.
21373         * configure: Regenerated.
21374         * config.h.in (HAVE_EHDR_START): New #undef.
21375         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
21376         assuming the lowest-addressed segment maps the start of the file.
21378 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
21380         * INSTALL: Regenerated.
21382 2014-03-13  Will Newton  <will.newton@linaro.org>
21384         * manual/setjmp.texi (System V contexts): Improve
21385         clarity and grammar of documentation.
21387 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21389         [BZ #16381]
21390         * elf/Makefile (tests): Add tst-pie2.
21391         (tests-pie): Add tst-pie2.
21392         * elf/tst-pie2.c: New file.
21393         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21394         for ET_EXEC.
21395         * elf/rtld.c (map_doit): Load executable as lt_executable.
21396         (dl_main): Likewise.
21398 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
21400         [BZ #16642]
21401         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21402         (__ASSUME_PSELECT): Undefine.
21404 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21406         [BZ #16689]
21407         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21408         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21409         static build.
21410         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21411         selector for static builds.
21413 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21415         [BZ #16695]
21416         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21417         key in the buffer.
21419 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21421         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21422         IFUNC selector for static builds.
21424 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
21426         * sysdeps/mips/math_private.h [__mips_hard_float]
21427         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21428         libc_feresetround_mips_ctx.
21429         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21430         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21431         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21433         [BZ #16677]
21434         * math/s_nextafter.c (__nextafter): Do not return value from
21435         overflowing computation.
21436         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21437         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21438         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21439         Likewise.
21440         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21441         Likewise.
21442         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21443         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21445 2014-03-11  Roland McGrath  <roland@hack.frob.com>
21447         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21448         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21449         Move sfi_sp use from the load-multiple (that no longer sets sp) to
21450         the new mov targetting sp.
21452 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21454         [BZ #16683]
21455         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21456         Define it for static builds as well.
21457         (NO_BZERO_IMPL): Likewise.
21459 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21461         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21462         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21463         multiarch strspn for PPC64.
21464         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21465         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21467         (__libc_ifunc_impl_list): Likewise.
21468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21469         multiarch optimizations
21470         * string/strspn.c (strspn): Using macro to redefine symbol name.
21472 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21473             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21475         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21476         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21477         multiarch strncat for PPC64.
21478         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21479         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21481         (__libc_ifunc_impl_list): Likewise.
21482         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21483         multiarch optimizations
21485 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21487         [BZ #16639]
21488         * nscd/nscd.service: Make service type forking.
21490 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21492         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21493         sign in non default rounding modes.
21494         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21496 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
21498         * math/libm-test.inc (ALL_RM_TEST): New macro.
21499         (ceil_test): Use ALL_RM_TEST.
21500         (cimag_test): Likewise.
21501         (conj_test): Likewise.
21502         (copysign_test): Likewise.
21503         (cproj_test): Likewise.
21504         (creal_test): Likewise.
21505         (fabs_test): Likewise.
21506         (floor_test): Likewise.
21507         (fmax_test): Likewise.
21508         (fmin_test): Likewise.
21509         (fmod_test): Likewise.
21510         (fpclassify_test): Likewise.
21511         (frexp_test): Likewise.
21512         (ilogb_test): Likewise.
21513         (isfinite_test): Likewise.
21514         (finite_test): Likewise.
21515         (isgreater_test): Likewise.
21516         (isgreaterequal_test): Likewise.
21517         (isinf_test): Likewise.
21518         (isless_test): Likewise.
21519         (islessequal_test): Likewise.
21520         (islessgreater_test): Likewise.
21521         (isnan_test): Likewise.
21522         (isnormal_test): Likewise.
21523         (issignaling_test): Likewise.
21524         (isunordered_test): Likewise.
21525         (logb_test): Likewise.
21526         (logb_downward_test_data): Remove.
21527         (logb_test_downward): Likewise.
21528         (lround_test): Use ALL_RM_TEST.
21529         (llround_test): Likewise.
21530         (modf_test): Likewise.
21531         (nexttoward_test): Likewise.
21532         (remainder_test): Likewise.
21533         (drem_test): Likewise.
21534         (remainder_tonearest_test_data): Likewise.
21535         (remainder_test_tonearest): Likewise.
21536         (drem_test_tonearest): Likewise.
21537         (remainder_towardzero_test_data): Likewise.
21538         (remainder_test_towardzero): Likewise.
21539         (drem_test_towardzero): Likewise.
21540         (remainder_downward_test_data): Likewise.
21541         (remainder_test_downward): Likewise.
21542         (drem_test_downward): Likewise.
21543         (remainder_upward_test_data): Likewise.
21544         (remainder_test_upward): Likewise.
21545         (drem_test_upward): Likewise.
21546         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
21547         (round_test): Use ALL_RM_TEST.
21548         (signbit_test): Likewise.
21549         (trunc_test): Likewise.
21550         (significand_test): Likewise.
21551         (main): Don't call removed functions.
21553 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21555         [BZ #16674]
21556         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21557         || __USE_XOPEN2K8].
21558         (ILL_ILLOPN): Likewise.
21559         (ILL_ILLADR): Likewise.
21560         (ILL_ILLTRP): Likewise.
21561         (ILL_PRVOPC): Likewise.
21562         (ILL_PRVREG): Likewise.
21563         (ILL_COPROC): Likewise.
21564         (ILL_BADSTK): Likewise.
21565         (FPE_INTDIV): Likewise.
21566         (FPE_INTOVF): Likewise.
21567         (FPE_FLTDIV): Likewise.
21568         (FPE_FLTOVF): Likewise.
21569         (FPE_FLTUND): Likewise.
21570         (FPE_FLTRES): Likewise.
21571         (FPE_FLTINV): Likewise.
21572         (FPE_FLTSUB): Likewise.
21573         (SEGV_MAPERR): Likewise.
21574         (SEGV_ACCERR): Likewise.
21575         (BUS_ADRALN): Likewise.
21576         (BUS_ADRERR): Likewise.
21577         (BUS_OBJERR): Likewise.
21578         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21579         (TRAP_TRACE): Likewise.
21580         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21581         __USE_XOPEN2K8].
21582         (CLD_KILLED): Likewise.
21583         (CLD_DUMPED): Likewise.
21584         (CLD_TRAPPED): Likewise.
21585         (CLD_STOPPED): Likewise.
21586         (CLD_CONTINUED): Likewise.
21587         (POLL_IN): Likewise.
21588         (POLL_OUT): Likewise.
21589         (POLL_MSG): Likewise.
21590         (POLL_ERR): Likewise.
21591         (POLL_PRI): Likewise.
21592         (POLL_HUP): Likewise.
21593         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21594         Likewise.
21595         (ILL_ILLOPN): Likewise.
21596         (ILL_ILLADR): Likewise.
21597         (ILL_ILLTRP): Likewise.
21598         (ILL_PRVOPC): Likewise.
21599         (ILL_PRVREG): Likewise.
21600         (ILL_COPROC): Likewise.
21601         (ILL_BADSTK): Likewise.
21602         (FPE_INTDIV): Likewise.
21603         (FPE_INTOVF): Likewise.
21604         (FPE_FLTDIV): Likewise.
21605         (FPE_FLTOVF): Likewise.
21606         (FPE_FLTUND): Likewise.
21607         (FPE_FLTRES): Likewise.
21608         (FPE_FLTINV): Likewise.
21609         (FPE_FLTSUB): Likewise.
21610         (SEGV_MAPERR): Likewise.
21611         (SEGV_ACCERR): Likewise.
21612         (BUS_ADRALN): Likewise.
21613         (BUS_ADRERR): Likewise.
21614         (BUS_OBJERR): Likewise.
21615         (BUS_MCEERR_AR): Likewise.
21616         (BUS_MCEERR_AO): Likewise.
21617         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21618         (TRAP_TRACE): Likewise.
21619         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21620         __USE_XOPEN2K8].
21621         (CLD_KILLED): Likewise.
21622         (CLD_DUMPED): Likewise.
21623         (CLD_TRAPPED): Likewise.
21624         (CLD_STOPPED): Likewise.
21625         (CLD_CONTINUED): Likewise.
21626         (POLL_IN): Likewise.
21627         (POLL_OUT): Likewise.
21628         (POLL_MSG): Likewise.
21629         (POLL_ERR): Likewise.
21630         (POLL_PRI): Likewise.
21631         (POLL_HUP): Likewise.
21632         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21633         (ILL_ILLOPN): Likewise.
21634         (ILL_ILLADR): Likewise.
21635         (ILL_ILLTRP): Likewise.
21636         (ILL_PRVOPC): Likewise.
21637         (ILL_PRVREG): Likewise.
21638         (ILL_COPROC): Likewise.
21639         (ILL_BADSTK): Likewise.
21640         (FPE_INTDIV): Likewise.
21641         (FPE_INTOVF): Likewise.
21642         (FPE_FLTDIV): Likewise.
21643         (FPE_FLTOVF): Likewise.
21644         (FPE_FLTUND): Likewise.
21645         (FPE_FLTRES): Likewise.
21646         (FPE_FLTINV): Likewise.
21647         (FPE_FLTSUB): Likewise.
21648         (SEGV_MAPERR): Likewise.
21649         (SEGV_ACCERR): Likewise.
21650         (BUS_ADRALN): Likewise.
21651         (BUS_ADRERR): Likewise.
21652         (BUS_OBJERR): Likewise.
21653         (BUS_MCEERR_AR): Likewise.
21654         (BUS_MCEERR_AO): Likewise.
21655         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21656         (TRAP_TRACE): Likewise.
21657         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21658         __USE_XOPEN2K8].
21659         (CLD_KILLED): Likewise.
21660         (CLD_DUMPED): Likewise.
21661         (CLD_TRAPPED): Likewise.
21662         (CLD_STOPPED): Likewise.
21663         (CLD_CONTINUED): Likewise.
21664         (POLL_IN): Likewise.
21665         (POLL_OUT): Likewise.
21666         (POLL_MSG): Likewise.
21667         (POLL_ERR): Likewise.
21668         (POLL_PRI): Likewise.
21669         (POLL_HUP): Likewise.
21670         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21671         Likewise.
21672         (ILL_ILLOPN): Likewise.
21673         (ILL_ILLADR): Likewise.
21674         (ILL_ILLTRP): Likewise.
21675         (ILL_PRVOPC): Likewise.
21676         (ILL_PRVREG): Likewise.
21677         (ILL_COPROC): Likewise.
21678         (ILL_BADSTK): Likewise.
21679         (ILL_BADIADDR): Likewise.
21680         (ILL_BREAK): Likewise.
21681         (FPE_INTDIV): Likewise.
21682         (FPE_INTOVF): Likewise.
21683         (FPE_FLTDIV): Likewise.
21684         (FPE_FLTOVF): Likewise.
21685         (FPE_FLTUND): Likewise.
21686         (FPE_FLTRES): Likewise.
21687         (FPE_FLTINV): Likewise.
21688         (FPE_FLTSUB): Likewise.
21689         (FPE_DECOVF): Likewise.
21690         (FPE_DECDIV): Likewise.
21691         (FPE_DECERR): Likewise.
21692         (FPE_INVASC): Likewise.
21693         (FPE_INVDEC): Likewise.
21694         (SEGV_MAPERR): Likewise.
21695         (SEGV_ACCERR): Likewise.
21696         (SEGV_PSTKOVF): Likewise.
21697         (BUS_ADRALN): Likewise.
21698         (BUS_ADRERR): Likewise.
21699         (BUS_OBJERR): Likewise.
21700         (BUS_MCEERR_AR): Likewise.
21701         (BUS_MCEERR_AO): Likewise.
21702         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21703         (TRAP_TRACE): Likewise.
21704         (TRAP_BRANCH): Likewise.
21705         (TRAP_HWBKPT): Likewise.
21706         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21707         __USE_XOPEN2K8].
21708         (CLD_KILLED): Likewise.
21709         (CLD_DUMPED): Likewise.
21710         (CLD_TRAPPED): Likewise.
21711         (CLD_STOPPED): Likewise.
21712         (CLD_CONTINUED): Likewise.
21713         (POLL_IN): Likewise.
21714         (POLL_OUT): Likewise.
21715         (POLL_MSG): Likewise.
21716         (POLL_ERR): Likewise.
21717         (POLL_PRI): Likewise.
21718         (POLL_HUP): Likewise.
21719         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21720         (ILL_ILLOPN): Likewise.
21721         (ILL_ILLADR): Likewise.
21722         (ILL_ILLTRP): Likewise.
21723         (ILL_PRVOPC): Likewise.
21724         (ILL_PRVREG): Likewise.
21725         (ILL_COPROC): Likewise.
21726         (ILL_BADSTK): Likewise.
21727         (FPE_INTDIV): Likewise.
21728         (FPE_INTOVF): Likewise.
21729         (FPE_FLTDIV): Likewise.
21730         (FPE_FLTOVF): Likewise.
21731         (FPE_FLTUND): Likewise.
21732         (FPE_FLTRES): Likewise.
21733         (FPE_FLTINV): Likewise.
21734         (FPE_FLTSUB): Likewise.
21735         (SEGV_MAPERR): Likewise.
21736         (SEGV_ACCERR): 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         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21745         __USE_XOPEN2K8].
21746         (CLD_KILLED): Likewise.
21747         (CLD_DUMPED): Likewise.
21748         (CLD_TRAPPED): Likewise.
21749         (CLD_STOPPED): Likewise.
21750         (CLD_CONTINUED): Likewise.
21751         (POLL_IN): Likewise.
21752         (POLL_OUT): Likewise.
21753         (POLL_MSG): Likewise.
21754         (POLL_ERR): Likewise.
21755         (POLL_PRI): Likewise.
21756         (POLL_HUP): Likewise.
21757         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21758         (ILL_ILLOPN): Likewise.
21759         (ILL_ILLADR): Likewise.
21760         (ILL_ILLTRP): Likewise.
21761         (ILL_PRVOPC): Likewise.
21762         (ILL_PRVREG): Likewise.
21763         (ILL_COPROC): Likewise.
21764         (ILL_BADSTK): Likewise.
21765         (FPE_INTDIV): Likewise.
21766         (FPE_INTOVF): Likewise.
21767         (FPE_FLTDIV): Likewise.
21768         (FPE_FLTOVF): Likewise.
21769         (FPE_FLTUND): Likewise.
21770         (FPE_FLTRES): Likewise.
21771         (FPE_FLTINV): Likewise.
21772         (FPE_FLTSUB): Likewise.
21773         (SEGV_MAPERR): Likewise.
21774         (SEGV_ACCERR): Likewise.
21775         (BUS_ADRALN): Likewise.
21776         (BUS_ADRERR): Likewise.
21777         (BUS_OBJERR): Likewise.
21778         (BUS_MCEERR_AR): Likewise.
21779         (BUS_MCEERR_AO): Likewise.
21780         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21781         (TRAP_TRACE): Likewise.
21782         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21783         __USE_XOPEN2K8].
21784         (CLD_KILLED): Likewise.
21785         (CLD_DUMPED): Likewise.
21786         (CLD_TRAPPED): Likewise.
21787         (CLD_STOPPED): Likewise.
21788         (CLD_CONTINUED): Likewise.
21789         (POLL_IN): Likewise.
21790         (POLL_OUT): Likewise.
21791         (POLL_MSG): Likewise.
21792         (POLL_ERR): Likewise.
21793         (POLL_PRI): Likewise.
21794         (POLL_HUP): Likewise.
21795         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21796         (ILL_ILLOPN): Likewise.
21797         (ILL_ILLADR): Likewise.
21798         (ILL_ILLTRP): Likewise.
21799         (ILL_PRVOPC): Likewise.
21800         (ILL_PRVREG): Likewise.
21801         (ILL_COPROC): Likewise.
21802         (ILL_BADSTK): Likewise.
21803         (FPE_INTDIV): Likewise.
21804         (FPE_INTOVF): Likewise.
21805         (FPE_FLTDIV): Likewise.
21806         (FPE_FLTOVF): Likewise.
21807         (FPE_FLTUND): Likewise.
21808         (FPE_FLTRES): Likewise.
21809         (FPE_FLTINV): Likewise.
21810         (FPE_FLTSUB): Likewise.
21811         (SEGV_MAPERR): Likewise.
21812         (SEGV_ACCERR): Likewise.
21813         (BUS_ADRALN): Likewise.
21814         (BUS_ADRERR): Likewise.
21815         (BUS_OBJERR): Likewise.
21816         (BUS_MCEERR_AR): Likewise.
21817         (BUS_MCEERR_AO): Likewise.
21818         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21819         (TRAP_TRACE): Likewise.
21820         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21821         __USE_XOPEN2K8].
21822         (CLD_KILLED): Likewise.
21823         (CLD_DUMPED): Likewise.
21824         (CLD_TRAPPED): Likewise.
21825         (CLD_STOPPED): Likewise.
21826         (CLD_CONTINUED): Likewise.
21827         (POLL_IN): Likewise.
21828         (POLL_OUT): Likewise.
21829         (POLL_MSG): Likewise.
21830         (POLL_ERR): Likewise.
21831         (POLL_PRI): Likewise.
21832         (POLL_HUP): Likewise.
21833         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21834         (ILL_ILLOPN): Likewise.
21835         (ILL_ILLADR): Likewise.
21836         (ILL_ILLTRP): Likewise.
21837         (ILL_PRVOPC): Likewise.
21838         (ILL_PRVREG): Likewise.
21839         (ILL_COPROC): Likewise.
21840         (ILL_BADSTK): Likewise.
21841         (ILL_DBLFLT): Likewise.
21842         (ILL_HARDWALL): 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/x86/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         (FPE_INTDIV): Likewise.
21882         (FPE_INTOVF): Likewise.
21883         (FPE_FLTDIV): Likewise.
21884         (FPE_FLTOVF): Likewise.
21885         (FPE_FLTUND): Likewise.
21886         (FPE_FLTRES): Likewise.
21887         (FPE_FLTINV): Likewise.
21888         (FPE_FLTSUB): Likewise.
21889         (SEGV_MAPERR): Likewise.
21890         (SEGV_ACCERR): Likewise.
21891         (BUS_ADRALN): Likewise.
21892         (BUS_ADRERR): Likewise.
21893         (BUS_OBJERR): Likewise.
21894         (BUS_MCEERR_AR): Likewise.
21895         (BUS_MCEERR_AO): Likewise.
21896         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21897         (TRAP_TRACE): Likewise.
21898         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21899         __USE_XOPEN2K8].
21900         (CLD_KILLED): Likewise.
21901         (CLD_DUMPED): Likewise.
21902         (CLD_TRAPPED): Likewise.
21903         (CLD_STOPPED): Likewise.
21904         (CLD_CONTINUED): Likewise.
21905         (POLL_IN): Likewise.
21906         (POLL_OUT): Likewise.
21907         (POLL_MSG): Likewise.
21908         (POLL_ERR): Likewise.
21909         (POLL_PRI): Likewise.
21910         (POLL_HUP): Likewise.
21911         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21912         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21914         [BZ #16670]
21915         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21916         before #include of <time.h>.
21917         [!__USE_XOPEN2K] (__need_timespec): Likewise.
21918         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21919         (test-xfail-UNIX98/sched.h/conform): Likewise.
21921 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21923         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21924         error absence of trapping exception support.
21925         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21927 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21929         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21930         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21931         * timezone/Makefile (testdata): Move definition above include of
21932         Rules.
21933         (test-zones): New variable.
21934         (tests-special): Add zone files.
21935         (build-testdata): Use $(evaluate-test).
21937         * elf/Makefile (tests-special): Rename tests to end with .out.
21938         ($(objpfx)noload-mem): Likewise.
21939         ($(objpfx)tst-leaks1-mem): Likewise.
21940         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21941         * iconv/Makefile (xtests-special): Change test-iconvconfig to
21942         $(objpfx)test-iconvconfig.out.
21943         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
21944         set -e inside subshell and redirect output to file.
21945         * iconvdata/Makefile (generated): Rename tests to end with .out.
21946         Correct type.
21947         (tests-special): Rename tests to end with .out.
21948         ($(objpfx)mtrace-tst-loading): Likewise.
21949         * intl/Makefile (generated): Likewise.
21950         (tests-special): Likewise.
21951         ($(objpfx)mtrace-tst-gettext): Likewise.
21952         * misc/Makefile (generated): Likewise.
21953         (tests-special): Likewise.
21954         ($(objpfx)tst-error1-mem): Likewise.
21955         * nptl/Makefile (tests-special): Likewise.
21956         ($(objpfx)tst-stack3-mem): Likewise.
21957         (generated): Likewise.
21958         * posix/Makefile (generated): Likewise.
21959         (tests-special): Likewise.
21960         (xtests-special): Likewise.
21961         ($(objpfx)tst-fnmatch-mem): Likewise.
21962         ($(objpfx)bug-regex2-mem): Likewise.
21963         ($(objpfx)bug-regex14-mem): Likewise.
21964         ($(objpfx)bug-regex21-mem): Likewise.
21965         ($(objpfx)bug-regex31-mem): Likewise.
21966         ($(objpfx)tst-vfork3-mem): Likewise.
21967         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21968         ($(objpfx)tst-pcre-mem): Likewise.
21969         ($(objpfx)tst-boost-mem): Likewise.
21970         ($(objpfx)bug-ga2-mem): Likewise.
21971         ($(objpfx)bug-glob2-mem): Likewise.
21972         * resolv/Makefile (generate): Likewise.
21973         (tests-special): Likewise.
21974         (xtests-special): Likewise.
21975         (generated): Likewise.
21976         ($(objpfx)mtrace-tst-leaks): Likewise.
21977         ($(objpfx)mtrace-tst-leaks2): Likewise.
21979         * scripts/merge-test-results.sh: New file.
21980         * Makefile (tests-special-notdir): New variable.
21981         (tests): Run merge-test-results.sh.
21982         (xtests): Likewise.
21983         * Rules (tests-special-notdir): New variable.
21984         (xtests-special-notdir): Likewise.
21985         (tests): Run merge-test-results.sh
21986         (xtests): Likewise.
21988         * Makeconfig (test-xfail-name): New variable.
21989         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21990         compute variable name for expected failures.
21991         * conform/Makefile (conformtest-headers-data): New variable.
21992         (conformtest-standards): Likewise.
21993         (conformtest-headers-ISO): Likewise.
21994         (conformtest-headers-ISO99): Likewise.
21995         (conformtest-headers-ISO11): Likewise.
21996         (conformtest-headers-POSIX): Likewise.
21997         (conformtest-headers-XPG3): Likewise.
21998         (conformtest-headers-XPG4): Likewise.
21999         (conformtest-headers-UNIX98): Likewise.
22000         (conformtest-headers-XOPEN2K): Likewise.
22001         (conformtest-headers-POSIX2008): Likewise.
22002         (conformtest-headers-XOPEN2K8): Likewise.
22003         (conformtest-header-list-base): Likewise.
22004         (conformtest-header-list-tests): Likewise.
22005         (conformtest-header-base): Likewise.
22006         (conformtest-header-tests): Likewise.
22007         (tests-special): Add $(conformtest-header-list-tests).  If
22008         [$(fast-check) && !$(cross-compiling)], add
22009         $(conformtest-header-tests) instead of
22010         $(objpfx)run-conformtest.out.
22011         (generated): Add $(conformtest-header-list-base).  If
22012         [$(fast-check) && !$(cross-compiling)], add
22013         $(conformtest-header-base).  Remove previous setting.
22014         ($(conformtest-header-list-tests)): New target.
22015         (test-xfail-run-conformtest): Remove variable.
22016         ($(objpfx)run-conformtest.out): Remove target.
22017         (test-xfail-ISO11/complex.h/conform): New variable.
22018         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22019         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22020         (test-xfail-XPG3/varargs.h/conform): Likewise.
22021         (test-xfail-XPG4/varargs.h/conform): Likewise.
22022         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22023         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22024         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22025         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22026         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22027         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22028         (test-xfail-XPG3/ftw.h/conform): Likewise.
22029         (test-xfail-XPG3/grp.h/conform): Likewise.
22030         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22031         (test-xfail-XPG3/limits.h/conform): Likewise.
22032         (test-xfail-XPG3/pwd.h/conform): Likewise.
22033         (test-xfail-XPG3/search.h/conform): Likewise.
22034         (test-xfail-XPG3/signal.h/conform): Likewise.
22035         (test-xfail-XPG3/stdio.h/conform): Likewise.
22036         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22037         (test-xfail-XPG3/string.h/conform): Likewise.
22038         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22039         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22040         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22041         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22042         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22043         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22044         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22045         (test-xfail-XPG3/termios.h/conform): Likewise.
22046         (test-xfail-XPG3/time.h/conform): Likewise.
22047         (test-xfail-XPG3/unistd.h/conform): Likewise.
22048         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22049         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22050         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22051         (test-xfail-XPG4/netdb.h/conform): Likewise.
22052         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22053         (test-xfail-XPG4/signal.h/conform): Likewise.
22054         (test-xfail-XPG4/stdio.h/conform): Likewise.
22055         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22056         (test-xfail-XPG4/stropts.h/conform): Likewise.
22057         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22058         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22059         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22060         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22061         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22062         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22063         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22064         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22065         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22066         (test-xfail-XPG4/termios.h/conform): Likewise.
22067         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22068         (test-xfail-XPG4/unistd.h/conform): Likewise.
22069         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22070         (test-xfail-POSIX/sched.h/conform): Likewise.
22071         (test-xfail-POSIX/signal.h/conform): Likewise.
22072         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22073         (test-xfail-POSIX/tar.h/conform): Likewise.
22074         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22075         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22076         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22077         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22078         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22079         (test-xfail-UNIX98/sched.h/conform): Likewise.
22080         (test-xfail-UNIX98/signal.h/conform): Likewise.
22081         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22082         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22083         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22084         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22085         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22086         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22087         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22088         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22089         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22090         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22091         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22092         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22093         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22094         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22095         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22096         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22097         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22098         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22099         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22100         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22101         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22102         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22103         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22104         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22105         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22106         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22107         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22108         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22109         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22110         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22111         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22112         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22113         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22114         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22115         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22116         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22117         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22118         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22119         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22120         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22121         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22122         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22123         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22124         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22125         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22126         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22127         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22128         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22129         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22130         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22131         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22132         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22133         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22134         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22135         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22136         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22137         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22138         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22139         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22140         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22141         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22142         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22143         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22144         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22145         (conformtest-cc-flags): Likewise.
22146         ($(conformtest-header-tests): New target.
22147         * conform/check-header-lists.sh: New file.
22148         * conform/run-conformtest.sh: Remove.
22150         * conform/conformtest.pl: Allow ' and \ in values given for
22151         constants.
22152         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22153         inclusion.
22154         [POSIX] (sys/types.h): Likewise.
22155         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22156         inclusion.
22157         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22158         inclusion.
22159         * conform/data/signal.h-data (SIGIO): Remove expectation.
22160         [XPG3] (SIGBUS): Do not expect.
22161         [POSIX || XPG3] (SIGPOLL): Likewise.
22162         [POSIX || XPG3] (SIGPROF): Likewise.
22163         [POSIX || XPG3] (SIGSYS): Likewise.
22164         [XPG3] (SIGTRAP): Likewise.
22165         [POSIX || XPG3] (SIGURG): Likewise.
22166         [POSIX || XPG3] (SIGVTALRM): Likewise.
22167         [POSIX || XPG3] (SIGXCPU): Likewise.
22168         [POSIX || XPG3] (SIGXFSZ): Likewise.
22169         [POSIX] (SA_SIGINFO): Expect.
22170         [XPG3] (siginfo_t): Do not expect type or contents.
22171         [POSIX] (si_pid): Do not expect element.
22172         [POSIX] (si_uid): Likewise.
22173         [POSIX] (si_addr): Likewise.
22174         [POSIX] (si_status): Likewise.
22175         [POSIX] (si_band): Likewise.
22176         [XPG4] (si_value): Likewise.
22177         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22178         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22179         [POSIX || XPG3] (ILL_ILLADR): Likewise.
22180         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22181         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22182         [POSIX || XPG3] (ILL_PRVREG): Likewise.
22183         [POSIX || XPG3] (ILL_COPROC): Likewise.
22184         [POSIX || XPG3] (ILL_BADSTK): Likewise.
22185         [POSIX || XPG3] (FPE_INTDIV): Likewise.
22186         [POSIX || XPG3] (FPE_INTOVF): Likewise.
22187         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22188         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22189         [POSIX || XPG3] (FPE_FLTUND): Likewise.
22190         [POSIX || XPG3] (FPE_FLTRES): Likewise.
22191         [POSIX || XPG3] (FPE_FLTINV): Likewise.
22192         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22193         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22194         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22195         [POSIX || XPG3] (BUS_ADRALN): Likewise.
22196         [POSIX || XPG3] (BUS_ADRERR): Likewise.
22197         [POSIX || XPG3] (BUS_OBJERR): Likewise.
22198         [POSIX || XPG3] (CLD_EXITED): Likewise.
22199         [POSIX || XPG3] (CLD_KILLED): Likewise.
22200         [POSIX || XPG3] (CLD_DUMPED): Likewise.
22201         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22202         [POSIX || XPG3] (CLD_STOPPED): Likewise.
22203         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22204         [POSIX || XPG3] (POLL_IN): Likewise.
22205         [POSIX || XPG3] (POLL_OUT): Likewise.
22206         [POSIX || XPG3] (POLL_MSG): Likewise.
22207         [POSIX || XPG3] (POLL_ERR): Likewise.
22208         [POSIX || XPG3] (POLL_PRI): Likewise.
22209         [POSIX || XPG3] (POLL_HUP): Likewise.
22210         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22211         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22212         (SIG*): Do not allow.
22213         [XPG3] (si_*): Likewise.
22214         [XPG3] (SI_*): Likewise.
22215         [XPG3 || XPG4] (sigev_*): Likewise.
22216         [XPG3 || XPG4] (SIGEV_*): Likewise.
22217         [XPG3 || XPG4] (sival_*): Likewise.
22218         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22219         [POSIX || XPG3] (BUS_*): Likewise.
22220         [POSIX || XPG3] (CLD_*): Likewise.
22221         [POSIX || XPG3] (FPE_*): Likewise.
22222         [POSIX || XPG3] (ILL_*): Likewise.
22223         [POSIX || XPG3] (POLL_*): Likewise.
22224         [POSIX || XPG3] (SEGV_*): Likewise.
22225         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22226         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22227         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22228         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22229         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22230         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22231         Specify type and value.
22232         (TVERSLEN): Likewise.
22233         (REGTYPE): Likewise.
22234         (AREGTYPE): Likewise.
22235         (LNKTYPE): Likewise.
22236         (SYMTYPE): Likewise.
22237         (CHRTYPE): Likewise.
22238         (BLKTYPE): Likewise.
22239         (DIRTYPE): Likewise.
22240         (FIFOTYPE): Likewise.
22241         (CONTTYPE): Likewise.
22242         (TSUID): Likewise.
22243         (TSGID): Likewise.
22244         (TSVTX): Likewise.
22245         (TUREAD): Likewise.
22246         (TUWRITE): Likewise.
22247         (TUEXEC): Likewise.
22248         (TGREAD): Likewise.
22249         (TGWRITE): Likewise.
22250         (TGEXEC): Likewise.
22251         (TOREAD): Likewise.
22252         (TOWRITE): Likewise.
22253         (TOEXEC): Likewise.
22254         [POSIX] (TSVTX): Expect constant.
22256 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
22258         * Makefile (tests): Change dependencies to ....
22259         (tests-special): ... additions to this variable.
22260         (tests): Depend on $(tests-special).
22261         * Makerules (check-abi-list): New variable.
22262         (check-abi): Depend on $(check-abi-list).
22263         [$(subdir) = elf] (tests-special): Add
22264         $(objpfx)check-abi-libc.out.
22265         [$(build-shared) = yes && subdir] (tests-special): Add
22266         $(check-abi-list).
22267         [$(build-shared) = yes && subdir] (tests): Do not depend on
22268         check-abi.
22269         * Rules (tests): Depend on $(tests-special).
22270         (xtests): Depend on $(xtests-special).
22271         * catgets/Makefile (tests): Change dependencies to ....
22272         (tests-special): ... additions to this variable.
22273         * conform/Makefile (tests): Change dependencies to ....
22274         (tests-special): ... additions to this variable.
22275         * elf/Makefile (tests): Change dependencies to ....
22276         (tests-special): ... additions to this variable.
22277         * grp/Makefile (tests): Change dependencies to ....
22278         (tests-special): ... additions to this variable.
22279         * iconv/Makefile (xtests): Change dependencies to ....
22280         (xtests-special): ... additions to this variable.
22281         * iconvdata/Makefile (tests): Change dependencies to ....
22282         (tests-special): ... additions to this variable.
22283         * intl/Makefile (tests): Change dependencies to ....
22284         (tests-special): ... additions to this variable.  Also add
22285         $(objpfx)tst-gettext.out.
22286         * io/Makefile (tests): Change dependencies to ....
22287         (tests-special): ... additions to this variable.
22288         * libio/Makefile (tests): Change dependencies to ....
22289         (tests-special): ... additions to this variable.
22290         * malloc/Makefile (tests): Change dependencies to ....
22291         (tests-special): ... additions to this variable.
22292         * misc/Makefile (tests): Change dependencies to ....
22293         (tests-special): ... additions to this variable.
22294         * nptl/Makefile (tests): Change dependencies to ....
22295         (tests-special): ... additions to this variable.
22296         * nptl_db/Makefile (tests): Change dependencies to ....
22297         (tests-special): ... additions to this variable.
22298         * posix/Makefile (tests): Change dependencies to ....
22299         (tests-special): ... additions to this variable.
22300         (xtests): Change dependencies to ....
22301         (xtests-special): ... additions to this variable.
22302         * resolv/Makefile (tests): Change dependencies to ....
22303         (tests-special): ... additions to this variable.
22304         (xtests): Change dependencies to ....
22305         (xtests-special): ... additions to this variable.
22306         * stdio-common/Makefile (tests): Change dependencies to ....
22307         (tests-special): ... additions to this variable.
22308         (do-tst-unbputc): Remove target.
22309         (do-tst-printf): Likewise.
22310         * stdlib/Makefile (tests): Change dependencies to ....
22311         (tests-special): ... additions to this variable.
22312         * string/Makefile (tests): Change dependencies to ....
22313         (tests-special): ... additions to this variable.
22314         * sysdeps/x86/Makefile (tests): Change dependencies to ....
22315         (tests-special): ... additions to this variable.
22317         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
22318         whole file.
22319         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
22320         whole file.
22321         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
22322         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
22324         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
22325         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
22326         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
22327         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
22328         * conform/data/libgen.h-data [XPG3]: Likewise.
22329         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
22330         * conform/data/ndbm.h-data [XPG3]: Likewise.
22331         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22332         * conform/data/netdb.h-data [XPG3]: Likewise.
22333         * conform/data/netinet/in.h-data [XPG3]: Likewise.
22334         * conform/data/poll.h-data [XPG3]: Likewise.
22335         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22336         * conform/data/strings.h-data [XPG3]: Likewise.
22337         * conform/data/stropts.h-data [XPG3]: Likewise.
22338         * conform/data/sys/mman.h-data [XPG3]: Likewise.
22339         * conform/data/sys/resource.h-data [XPG3]: Likewise.
22340         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
22341         Likewise.
22342         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22343         * conform/data/sys/time.h-data [XPG3]: Likewise.
22344         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
22345         * conform/data/sys/uio.h-data [XPG3]: Likewise.
22346         * conform/data/sys/un.h-data [XPG3]: Likewise.
22347         * conform/data/syslog.h-data [XPG3]: Likewise.
22348         * conform/data/ucontext.h-data [XPG3]: Likewise.
22349         * conform/data/utmpx.h-data [XPG3]: Likewise.
22350         * conform/data/varargs.h-data [UNIX98]: Enable file.
22352         * manual/Makefile (INSTALL_INFO): Remove variable setting.
22354         * math/libm-test.inc (struct test_f_f_data): Move expected results
22355         into structure for each rounding mode.
22356         (struct test_ff_f_data): Likewise.
22357         (struct test_ff_f_data_nexttoward): Likewise.
22358         (struct test_fi_f_data): Likewise.
22359         (struct test_fl_f_data): Likewise.
22360         (struct test_if_f_data): Likewise.
22361         (struct test_fff_f_data): Likewise.
22362         (struct test_c_f_data): Likewise.
22363         (struct test_f_f1_data): Likewise.
22364         (struct test_fF_f1_data): Likewise.
22365         (struct test_ffI_f1_data): Likewise.
22366         (struct test_c_c_data): Likewise.
22367         (struct test_cc_c_data): Likewise.
22368         (struct test_f_i_data): Likewise.
22369         (struct test_ff_i_data): Likewise.
22370         (struct test_f_l_data): Likewise.
22371         (struct test_f_L_data): Likewise.
22372         (struct test_fFF_11_data): Likewise.
22373         (RM_): New macro.
22374         (RM_FE_DOWNWARD): Likewise.
22375         (RM_FE_TONEAREST): Likewise.
22376         (RM_FE_TOWARDZERO): Likewise.
22377         (RM_FE_UPWARD): Likewise.
22378         (RUN_TEST_LOOP_f_f): Update references to expected results.
22379         (RUN_TEST_LOOP_2_f): Likewise.
22380         (RUN_TEST_LOOP_fff_f): Likewise.
22381         (RUN_TEST_LOOP_c_f): Likewise.
22382         (RUN_TEST_LOOP_f_f1): Likewise.
22383         (RUN_TEST_LOOP_fF_f1): Likewise.
22384         (RUN_TEST_LOOP_fI_f1): Likewise.
22385         (RUN_TEST_LOOP_ffI_f1): Likewise.
22386         (RUN_TEST_LOOP_c_c): Likewise.
22387         (RUN_TEST_LOOP_cc_c): Likewise.
22388         (RUN_TEST_LOOP_f_i): Likewise.
22389         (RUN_TEST_LOOP_f_i_tg): Likewise.
22390         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22391         (RUN_TEST_LOOP_f_b): Likewise.
22392         (RUN_TEST_LOOP_f_b_tg): Likewise.
22393         (RUN_TEST_LOOP_f_l): Likewise.
22394         (RUN_TEST_LOOP_f_L): Likewise.
22395         (RUN_TEST_LOOP_fFF_11): Likewise.
22396         * math/gen-libm-test.pl (parse_args): Output four copies of
22397         expected results for each test.
22399         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22400         (__ASSUME_UTIMES): Remove.
22401         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22402         (__ASSUME_UTIMES): Likewise.
22404         * math/gen-auto-libm-tests.c: Update comment on output format.
22405         (output_for_one_input_case): Generate before-rounding and
22406         after-rounding information as conditions on output flags not
22407         floating-point format.
22408         * math/auto-libm-test-out: Regenerated.
22409         * math/gen-libm-test.pl (cond_value): New function.
22410         (or_cond_value): Use cond_value.
22411         (generate_testfile): Handle conditional exceptions.
22413 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
22415         * math/libm-test.inc (max_valid_error): New variable.
22416         (init_max_error): Take new argument specifying whether function
22417         results are exactly determined.  Set max_valid_error and bound
22418         other variables for errors based on this argument.
22419         (set_max_error): Do not record results above max_valid_error.
22420         (check_float_internal): Only accept errors of up to 0.5ulps if
22421         also at most max_valid_error.
22422         (START): Take new argument EXACT and pass it to init_max_error.
22423         (acos_test): Update call to START.
22424         (acos_test_tonearest): Likewise.
22425         (acos_test_towardzero): Likewise.
22426         (acos_test_downward): Likewise.
22427         (acos_test_upward): Likewise.
22428         (acosh_test): Likewise.
22429         (asin_test): Likewise.
22430         (asin_test_tonearest): Likewise.
22431         (asin_test_towardzero): Likewise.
22432         (asin_test_downward): Likewise.
22433         (asin_test_upward): Likewise.
22434         (asinh_test): Likewise.
22435         (atan_test): Likewise.
22436         (atanh_test): Likewise.
22437         (atan2_test): Likewise.
22438         (cabs_test): Likewise.
22439         (cacos_test): Likewise.
22440         (cacosh_test): Likewise.
22441         (carg_test): Likewise.
22442         (casin_test): Likewise.
22443         (casinh_test): Likewise.
22444         (catan_test): Likewise.
22445         (catanh_test): Likewise.
22446         (cbrt_test): Likewise.
22447         (ccos_test): Likewise.
22448         (ccosh_test): Likewise.
22449         (ceil_test): Likewise.
22450         (cexp_test): Likewise.
22451         (cimag_test): Likewise.
22452         (clog_test): Likewise.
22453         (clog10_test): Likewise.
22454         (conj_test): Likewise.
22455         (copysign_test): Likewise.
22456         (cos_test): Likewise.
22457         (cos_test_tonearest): Likewise.
22458         (cos_test_towardzero): Likewise.
22459         (cos_test_downward): Likewise.
22460         (cos_test_upward): Likewise.
22461         (cosh_test): Likewise.
22462         (cosh_test_tonearest): Likewise.
22463         (cosh_test_towardzero): Likewise.
22464         (cosh_test_downward): Likewise.
22465         (cosh_test_upward): Likewise.
22466         (cpow_test): Likewise.
22467         (cproj_test): Likewise.
22468         (creal_test): Likewise.
22469         (csin_test): Likewise.
22470         (csinh_test): Likewise.
22471         (csqrt_test): Likewise.
22472         (ctan_test): Likewise.
22473         (ctan_test_tonearest): Likewise.
22474         (ctan_test_towardzero): Likewise.
22475         (ctan_test_downward): Likewise.
22476         (ctan_test_upward): Likewise.
22477         (ctanh_test): Likewise.
22478         (ctanh_test_tonearest): Likewise.
22479         (ctanh_test_towardzero): Likewise.
22480         (ctanh_test_downward): Likewise.
22481         (ctanh_test_upward): Likewise.
22482         (erf_test): Likewise.
22483         (erfc_test): Likewise.
22484         (exp_test): Likewise.
22485         (exp_test_tonearest): Likewise.
22486         (exp_test_towardzero): Likewise.
22487         (exp_test_downward): Likewise.
22488         (exp_test_upward): Likewise.
22489         (exp10_test): Likewise.
22490         (exp10_test_tonearest): Likewise.
22491         (exp10_test_towardzero): Likewise.
22492         (exp10_test_downward): Likewise.
22493         (exp10_test_upward): Likewise.
22494         (pow10_test): Likewise.
22495         (exp2_test): Likewise.
22496         (expm1_test): Likewise.
22497         (expm1_test_tonearest): Likewise.
22498         (expm1_test_towardzero): Likewise.
22499         (expm1_test_downward): Likewise.
22500         (expm1_test_upward): Likewise.
22501         (fabs_test): Likewise.
22502         (fdim_test): Likewise.
22503         (floor_test): Likewise.
22504         (fma_test): Likewise.
22505         (fma_test_towardzero): Likewise.
22506         (fma_test_downward): Likewise.
22507         (fma_test_upward): Likewise.
22508         (fmax_test): Likewise.
22509         (fmin_test): Likewise.
22510         (fmod_test): Likewise.
22511         (fpclassify_test): Likewise.
22512         (frexp_test): Likewise.
22513         (hypot_test): Likewise.
22514         (ilogb_test): Likewise.
22515         (isfinite_test): Likewise.
22516         (finite_test): Likewise.
22517         (isgreater_test): Likewise.
22518         (isgreaterequal_test): Likewise.
22519         (isinf_test): Likewise.
22520         (isless_test): Likewise.
22521         (islessequal_test): Likewise.
22522         (islessgreater_test): Likewise.
22523         (isnan_test): Likewise.
22524         (isnormal_test): Likewise.
22525         (issignaling_test): Likewise.
22526         (isunordered_test): Likewise.
22527         (j0_test): Likewise.
22528         (j1_test): Likewise.
22529         (jn_test): Likewise.
22530         (ldexp_test): Likewise.
22531         (lgamma_test): Likewise.
22532         (gamma_test): Likewise.
22533         (lrint_test): Likewise.
22534         (lrint_test_tonearest): Likewise.
22535         (lrint_test_towardzero): Likewise.
22536         (lrint_test_downward): Likewise.
22537         (lrint_test_upward): Likewise.
22538         (llrint_test): Likewise.
22539         (llrint_test_tonearest): Likewise.
22540         (llrint_test_towardzero): Likewise.
22541         (llrint_test_downward): Likewise.
22542         (llrint_test_upward): Likewise.
22543         (log_test): Likewise.
22544         (log10_test): Likewise.
22545         (log1p_test): Likewise.
22546         (log2_test): Likewise.
22547         (logb_test): Likewise.
22548         (logb_test_downward): Likewise.
22549         (lround_test): Likewise.
22550         (llround_test): Likewise.
22551         (modf_test): Likewise.
22552         (nearbyint_test): Likewise.
22553         (nextafter_test): Likewise.
22554         (nexttoward_test): Likewise.
22555         (pow_test): Likewise.
22556         (pow_test_tonearest): Likewise.
22557         (pow_test_towardzero): Likewise.
22558         (pow_test_downward): Likewise.
22559         (pow_test_upward): Likewise.
22560         (remainder_test): Likewise.
22561         (drem_test): Likewise.
22562         (remainder_test_tonearest): Likewise.
22563         (drem_test_tonearest): Likewise.
22564         (remainder_test_towardzero): Likewise.
22565         (drem_test_towardzero): Likewise.
22566         (remainder_test_downward): Likewise.
22567         (drem_test_downward): Likewise.
22568         (remainder_test_upward): Likewise.
22569         (drem_test_upward): Likewise.
22570         (remquo_test): Likewise.
22571         (rint_test): Likewise.
22572         (rint_test_tonearest): Likewise.
22573         (rint_test_towardzero): Likewise.
22574         (rint_test_downward): Likewise.
22575         (rint_test_upward): Likewise.
22576         (round_test): Likewise.
22577         (scalb_test): Likewise.
22578         (scalbn_test): Likewise.
22579         (scalbln_test): Likewise.
22580         (signbit_test): Likewise.
22581         (sin_test): Likewise.
22582         (sin_test_tonearest): Likewise.
22583         (sin_test_towardzero): Likewise.
22584         (sin_test_downward): Likewise.
22585         (sin_test_upward): Likewise.
22586         (sincos_test): Likewise.
22587         (sinh_test): Likewise.
22588         (sinh_test_tonearest): Likewise.
22589         (sinh_test_towardzero): Likewise.
22590         (sinh_test_downward): Likewise.
22591         (sinh_test_upward): Likewise.
22592         (sqrt_test): Likewise.
22593         (sqrt_test_tonearest): Likewise.
22594         (sqrt_test_towardzero): Likewise.
22595         (sqrt_test_downward): Likewise.
22596         (sqrt_test_upward): Likewise.
22597         (tan_test): Likewise.
22598         (tan_test_tonearest): Likewise.
22599         (tan_test_towardzero): Likewise.
22600         (tan_test_downward): Likewise.
22601         (tan_test_upward): Likewise.
22602         (tanh_test): Likewise.
22603         (tgamma_test): Likewise.
22604         (trunc_test): Likewise.
22605         (y0_test): Likewise.
22606         (y1_test): Likewise.
22607         (yn_test): Likewise.
22608         (significand_test): Likewise.
22610         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22611         individual tests in comment.
22612         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22613         (prev_max_error): New variable.
22614         (prev_real_max_error): Likewise.
22615         (prev_imag_max_error): Likewise.
22616         (compare_ulp_data): Don't refer to test names in comment.
22617         (find_test_ulps): Remove function.
22618         (find_function_ulps): Likewise.
22619         (find_complex_function_ulps): Likewise.
22620         (init_max_error): Take function name as argument.  Look up ulps
22621         for that function.
22622         (print_ulps): Remove function.
22623         (print_max_error): Use prev_max_error instead of calling
22624         find_function_ulps.
22625         (print_complex_max_error): Use prev_real_max_error and
22626         prev_imag_max_error instead of calling find_complex_function_ulps.
22627         (check_float_internal): Take max_ulp parameter instead of calling
22628         find_test_ulps.  Don't call print_ulps.
22629         (check_float): Update call to check_float_internal.
22630         (check_complex): Update calls to check_float_internal.
22631         (START): Pass argument to init_max_error.
22632         * math/gen-libm-test.pl (%results): Don't include "kind"
22633         information.
22634         (parse_ulps): Don't handle ulps of individual tests.
22635         (print_ulps_file): Likewise.
22636         (output_ulps): Likewise.
22637         * math/README.libm-test: Update.
22638         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22639         individual tests.
22640         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22641         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22642         * sysdeps/arm/libm-test-ulps: Likewise.
22643         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22644         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22645         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22646         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22647         * sysdeps/microblaze/libm-test-ulps: Likewise.
22648         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22649         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22650         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22651         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22652         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22653         * sysdeps/sh/libm-test-ulps: Likewise.
22654         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22655         * sysdeps/tile/libm-test-ulps: Likewise.
22656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22658 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
22660         * math/libm-test.inc (print_complex_max_error): Check separately
22661         whether real and imaginary errors are within allowed range and
22662         pass 0 to print_complex_function_ulps instead of value within
22663         allowed range.
22665 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22667         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22668         formatting.
22669         (get_handles_fopen): Likewise.
22670         (do_write_test): Likewise.
22672         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22674         * libio/fileops.c (do_ftell): Use cached offset when
22675         available.
22676         * libio/iofwide.c (do_ftell_wide): Likewise.
22677         * libio/iofdopen.c (_IO_new_fdopen): Don't use
22678         _IO_file_attach.
22679         * libio/wfileops.c (_IO_fwide): Don't cache offset.
22681         [BZ #16532]
22682         * libio/libioP.h (get_file_offset): New function.
22683         * libio/fileops.c (get_file_offset): Likewise.
22684         (do_ftell): Likewise.
22685         (_IO_new_file_seekoff): Split out ftell logic.
22686         * libio/wfileops.c (do_ftell_wide): Likewise.
22687         (_IO_wfile_seekoff): Split out ftell logic.
22688         * libio/tst-ftell-active-handler.c: New test case.
22689         * libio/Makefile (tests): Add it.
22691 2014-03-03  Roland McGrath  <roland@hack.frob.com>
22693         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22694         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22696 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22698         [BZ #16639]
22699         * nscd/connections.c (nscd_init): Call do_exit.
22700         (start_threads): Call do_exit and notify_parent.
22701         (begin_drop_privileges): Call do_exit.
22702         (finish_drop_privileges): Likewise.
22703         * nscd/selinux.c (preserve_capabilities): Likewise.
22704         (install_real_capabilities): Likewise.
22705         (nscd_selinux_enabled): Likewise.
22706         (avc_create_thread): Likewise.
22707         (avc_alloc_lock): Likewise.
22708         (nscd_avc_init): Likewise.
22709         * nscd/nscd.c (parent_fd): New static variable.
22710         (main): Create a pipe between parent and child processes.
22711         Skip closing parent_fd.
22712         (monitor_child): New function.
22713         (do_exit): Likewise.
22714         (notify_parent): Likewise.
22715         * nscd/nscd.h (notify_parent): Likewise.
22716         (do_exit): Likewise.
22718 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
22720         * malloc/malloc.c (__libc_calloc): Revert last change.
22722 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22726 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22728         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22730         implementation.
22731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22732         (__libc_ifunc_impl_list): Likewise.
22733         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22734         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22735         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22736         * string/strrchr.c: Define STRRCHR.
22738 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
22740         * benchtest/bench-strtok.c (simple_strtok): Delete.
22741         (strtok_string): Use as benchmark.
22742         * string/strtok (STRTOK): New macro.
22744 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
22746         * manual/threads.texi: Add header and standard comments to all
22747         functions.
22749         * elf/dl-lookup.c (check_match): New function.
22750         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22751         (do_lookup_x): Remove nested function check_match. Use non-nested
22752         function check_match.
22754 2014-02-28  Roland McGrath  <roland@hack.frob.com>
22756         * csu/Makefile (generated, before-compile): Use += rather than =.
22757         * catgets/Makefile (generated, generated-dirs): Likewise.
22758         * debug/Makefile (generated): Likewise.
22759         * dlfcn/Makefile (generated): Likewise.
22760         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22761         * iconvdata/Makefile (before-compile, generated): Likewise.
22762         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22763         * libio/Makefile (generated): Likewise.
22764         * malloc/Makefile (generated): Likewise.
22765         * manual/Makefile (generated, generated-dirs): Likewise.
22766         * misc/Makefile (generated): Likewise.
22767         * posix/Makefile (generated): Likewise.
22768         * resolv/Makefile (generated): Likewise.
22769         * sunrpc/Makefile (generated, generated-dirs): Likewise.
22770         * timezone/Makefile (generated, generated-dirs): Likewise.
22772         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22774 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22776         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22777         power8 implementation.
22778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22779         file: POWER8 llround ifunc implementation.
22780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22781         (__lllround): Add POWER8 implementation.
22782         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22783         POWER8 llround implementation.
22785         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22786         power8 implementation.
22787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22788         file: POWER8 llrint ifunc implementation.
22789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22790         Add POWER8 implementation.
22791         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22792         POWER8 llrint implementation.
22794         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22795         power8 implementation.
22796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22797         file: POWER8 finite ifunc implementation.
22798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22799         Add POWER8 implementation.
22800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22801         Likewise.
22802         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22803         POWER8 finite implementation.
22804         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22806         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22807         power8 implementation.
22808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22809         file: POWER8 isinf ifunc implementation.
22810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22811         POWER8 implementation.
22812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22813         Likewise.
22814         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22815         isinf implementation.
22816         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22818         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22819         (INIT_ARCH): Add hwcap2 initialization.
22820         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22821         power8 implementation.
22822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22823         file: POWER8 isnan ifunc implementation.
22824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22825         POWER8 implementation.
22826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22827         Likewise.
22828         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22829         isnan implementation.
22830         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22832 2014-02-27  Joey Ye  <joey.ye@arm.com>
22834         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22835         (_FP_NANFRAC_Q): Set to zero.
22837 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22839         [BZ #16623]
22840         * math/auto-libm-test-in: New test inputs.
22841         * math/auto-libm-test-out: Regenerate.
22842         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22843         and DA.
22844         (__cos): Likewise.
22845         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22847 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
22849         * scripts/evaluate-test.sh: Take new argument indicating whether
22850         failure is expected.
22851         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22852         indicating whether failure is expected.
22853         * conform/Makefile (test-xfail-run-conformtest): New variable.
22854         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22855         level.
22856         * posix/Makefile (test-xfail-annexc): New variable.
22857         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22859 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
22861         * argp/Makefile: Include Makeconfig immediately after defining
22862         subdir.
22863         * assert/Makefile: Likewise.
22864         * benchtests/Makefile: Likewise.
22865         * catgets/Makefile: Likewise.
22866         * conform/Makefile: Likewise.
22867         * crypt/Makefile: Likewise.
22868         * csu/Makefile: Likewise.
22869         (all): Remove target.
22870         * ctype/Makefile: Include Makeconfig immediately after defining
22871         subdir.
22872         * debug/Makefile: Likewise.
22873         * dirent/Makefile: Likewise.
22874         * dlfcn/Makefile: Likewise.
22875         * gmon/Makefile: Likewise.
22876         * gnulib/Makefile: Likewise.
22877         * grp/Makefile: Likewise.
22878         * gshadow/Makefile: Likewise.
22879         * hesiod/Makefile: Likewise.
22880         * hurd/Makefile: Likewise.
22881         (all): Remove target.
22882         * iconvdata/Makefile: Include Makeconfig immediately after
22883         defining subdir.
22884         * inet/Makefile: Likewise.
22885         * intl/Makefile: Likewise.
22886         * io/Makefile: Likewise.
22887         * libio/Makefile: Likewise.
22888         (all): Remove target.
22889         * locale/Makefile: Include Makeconfig immediately after defining
22890         subdir.
22891         * login/Makefile: Likewise.
22892         * mach/Makefile: Likewise.
22893         (all): Remove target.
22894         * malloc/Makefile: Include Makeconfig immediately after defining
22895         subdir.
22896         (all): Remove target.
22897         * manual/Makefile: Include Makeconfig immediately after defining
22898         subdir.
22899         * math/Makefile: Likewise.
22900         * misc/Makefile: Likewise.
22901         * nis/Makefile: Likewise.
22902         * nss/Makefile: Likewise.
22903         * po/Makefile: Likewise.
22904         (all): Remove target.
22905         * posix/Makefile: Include Makeconfig immediately after defining
22906         subdir.
22907         * pwd/Makefile: Likewise.
22908         * resolv/Makefile: Likewise.
22909         * resource/Makefile: Likewise.
22910         * rt/Makefile: Likewise.
22911         * setjmp/Makefile: Likewise.
22912         * shadow/Makefile: Likewise.
22913         * signal/Makefile: Likewise.
22914         * socket/Makefile: Likewise.
22915         * soft-fp/Makefile: Likewise.
22916         * stdio-common/Makefile: Likewise.
22917         * stdlib/Makefile: Likewise.
22918         * streams/Makefile: Likewise.
22919         * string/Makefile: Likewise.
22920         * sunrpc/Makefile: Likewise.
22921         (all): Remove target.
22922         * sysvipc/Makefile: Include Makeconfig immediately after defining
22923         subdir.
22924         * termios/Makefile: Likewise.
22925         * time/Makefile: Likewise.
22926         * timezone/Makefile: Likewise.
22927         (all): Remove target.
22928         * wcsmbs/Makefile: Include Makeconfig immediately after defining
22929         subdir.
22930         * wctype/Makefile: Likewise.
22932 2014-02-26  Steve Ellcey  <sellcey@mips.com>
22934         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22935         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22936         (libc_feholdexcept_setround_mips): Ditto.
22937         (libc_feholdsetround): New.
22938         (libc_feholdsetroundf): New.
22939         (libc_feholdsetroundl): New.
22940         (libc_feupdateenv_test_mips): New.
22941         (libc_feupdateenv_test): New.
22942         (libc_feupdateenv_testf): New.
22943         (libc_feupdateenv_testl): New.
22944         (libc_feresetround): New.
22945         (libc_feresetroundf): New.
22946         (libc_feresetroundl): New.
22947         (libc_fetestexcept_mips): New.
22948         (libc_fetestexcept): New.
22949         (libc_fetestexceptf): New.
22950         (libc_fetestexceptl): New.
22951         (HAVE_RM_CTX): New.
22952         (libc_feholdexcept_setround_mips_ctx): New.
22953         (libc_feholdexcept_setround_ctx): New.
22954         (libc_feholdexcept_setroundf_ctx): New.
22955         (libc_feholdexcept_setroundl_ctx): New.
22956         (libc_fesetenv_mips_ctx): New.
22957         (libc_fesetenv_ctx): New.
22958         (libc_fesetenv_ctxf): New.
22959         (libc_fesetenv_ctxl): New.
22960         (libc_feupdateenv_mips_ctx): New.
22961         (libc_feupdateenv_ctx): New.
22962         (libc_feupdateenvf_ctx): New.
22963         (libc_feupdateenvl_ctx): New.
22964         (libc_feholdsetround_mips_ctx): New.
22965         (libc_feholdsetround_ctx): New.
22966         (libc_feholdsetroundf_ctx): New.
22967         (libc_feholdsetroundl_ctx): New.
22968         (libc_feresetround_mips_ctx): New.
22969         (libc_feresetround_ctx): New.
22970         (libc_feresetroundf_ctx): New.
22971         (libc_feresetroundl_ctx): New.
22973 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
22975         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22977         * manual/ipc.texi: New file.
22978         * manual/Makefile (chapters): Add ipc.
22979         * manual/job.texi: Add "Inter-Process Communication" to next.
22980         * manual/process.texi: Add "Inter-Process Communication" to prev.
22982 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22986 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
22988         * malloc/malloc.c (__libc_calloc): Simplify implementation.
22990         * manual/arith.texi: Fix spaces after sentences.
22991         * manual/charset.texi: Likewise.
22992         * manual/errno.texi: Likewise.
22993         * manual/install.texi: Likewise.
22994         * manual/llio.texi: Likewise.
22995         * manual/locale.texi: Likewise.
22996         * manual/maint.texi: Likewise.
22997         * manual/math.texi: Likewise.
22998         * manual/memory.texi: Likewise.
22999         * manual/message.texi: Likewise.
23000         * manual/probes.texi: Likewise.
23001         * manual/resource.texi: Likewise.
23002         * manual/signal.texi: Likewise.
23003         * manual/socket.texi: Likewise.
23004         * manual/stdio.texi: Likewise.
23005         * manual/string.texi: Likewise.
23006         * manual/time.texi: Likewise.
23007         * manual/users.texi: Likewise.
23009 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23011         [BZ #16632]
23012         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23013         _DEFAULT_SOURCE is defined.
23015 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23016             Carlos O'Donell  <carlos@redhat.com>
23018         [BZ #16613]
23019         * elf/dl-tls.c (_dl_count_modids): New function.
23020         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23021         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23022         audit library and increment generation counter.
23023         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23024         * elf/tst-audit9.c: New file.
23025         * elf/tst-auditmod9a.c: New file.
23026         * elf/tst-auditmod9b.c: New file.
23027         * elf/Makefile: Add rules to build and run tst-audit9.
23029 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23031         [BZ #15347]
23032         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23034 2014-02-25  Will Newton  <will.newton@linaro.org>
23036         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23037         (__longjmp): Restore sp and lr before restoring callee
23038         saved registers.  Add longjmp and longjmp_target
23039         SystemTap probe point.
23040         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23041         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23042         Define to zero to match jmpbuf layout.
23043         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23044         (__sigsetjmp): Save sp and lr before saving callee
23045         saved registers.  Add setjmp SystemTap probe point.
23047 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23049         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23051 2014-02-24  Andreas Schwab  <schwab@suse.de>
23053         [BZ #15804]
23054         * elf/pldd.c (wait_for_ptrace_stop): New function.
23055         (main): Call it after attaching.
23057 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23059         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23060         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23061         Versions files is now verboten.
23062         * hurd/Versions (libc: GLIBC_2.0):
23063         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23064         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23065         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23066         * mach/Versions: Likewise.
23068         * csu/Versions: Remove unused %include.
23069         * resolv/Versions: Likewise.
23071 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23073         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23074         ($(objpfx)check-local-headers.out): Likewise.
23075         ($(objpfx)begin-end-check.out): Likewise.
23076         * Makerules (check-abi-%.out): Likewise.
23077         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23078         ($(objpfx)test2.cat): Likewise.
23079         ($(objpfx)de/libc.cat): Likewise.
23080         ($(objpfx)test-gencat.out): Likewise.
23081         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23082         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23083         ($(objpfx)noload-mem): Likewise.
23084         ($(objpfx)tst-pathopt.out): Likewise.
23085         ($(objpfx)tst-rtld-load-self.out): Likewise.
23086         ($(objpfx)tst-array1-cmp.out): Likewise.
23087         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23088         ($(objpfx)tst-array2-cmp.out): Likewise.
23089         ($(objpfx)tst-array3-cmp.out): Likewise.
23090         ($(objpfx)tst-array4-cmp.out): Likewise.
23091         ($(objpfx)tst-array5-cmp.out): Likewise.
23092         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23093         ($(objpfx)check-textrel.out): Likewise.
23094         ($(objpfx)check-execstack.out): Likewise.
23095         ($(objpfx)check-localplt.out): Likewise.
23096         ($(objpfx)order2-cmp.out): Likewise.
23097         ($(objpfx)tst-leaks1-mem): Likewise.
23098         ($(objpfx)tst-leaks1-static-mem): Likewise.
23099         ($(objpfx)tst-initorder-cmp.out): Likewise.
23100         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23101         ($(objpfx)tst-unused-dep.out): Likewise.
23102         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23103         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23104         * iconv/Makefile (test-iconvconfig): Likewise.
23105         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23106         ($(objpfx)iconv-test.out): Likewise.
23107         ($(objpfx)tst-tables.out): Likewise.
23108         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23109         ($(objpfx)tst-gettext.out): Likewise.
23110         ($(objpfx)tst-translit.out): Likewise.
23111         ($(objpfx)tst-gettext2.out): Likewise.
23112         ($(objpfx)tst-gettext4.out): Likewise.
23113         ($(objpfx)tst-gettext6.out): Likewise.
23114         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23115         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23116         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23117         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23118         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23119         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23120         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23121         ($(objpfx)wordexp-tst.out): Likewise.
23122         ($(objpfx)annexc.out): Likewise.
23123         ($(objpfx)tst-fnmatch-mem): Likewise.
23124         ($(objpfx)bug-regex2-mem): Likewise.
23125         ($(objpfx)bug-regex14-mem): Likewise.
23126         ($(objpfx)bug-regex21-mem): Likewise.
23127         ($(objpfx)bug-regex31-mem): Likewise.
23128         ($(objpfx)tst-vfork3-mem): Likewise.
23129         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23130         ($(objpfx)tst-pcre-mem): Likewise.
23131         ($(objpfx)tst-boost-mem): Likewise.
23132         ($(objpfx)tst-getconf.out): Likewise.
23133         ($(objpfx)bug-ga2-mem): Likewise.
23134         ($(objpfx)bug-glob2-mem): Likewise.
23135         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23136         ($(objpfx)mtrace-tst-leaks2): Likewise.
23137         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23138         ($(objpfx)tst-printf.out): Likewise.
23139         ($(objpfx)tst-setvbuf1.out): Likewise.
23140         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23141         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23142         ($(objpfx)tst-fmtmsg.out): Likewise.
23143         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23144         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23146         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23147         * bits/sigaction.h [__USE_MISC]: Likewise.
23148         * bits/waitstatus.h: Update #endif comments.
23149         * ctype/ctype.h: Likewise.
23150         * dirent/dirent.h: Likewise.
23151         [__USE_MISC]: Remove redundant conditionals.
23152         * grp/grp.h: Update #endif comments.
23153         [__USE_GNU]: Remove redundant conditionals.
23154         [__USE_MISC]: Likewise.
23155         * inet/netinet/in.h [__USE_GNU]: Likewise.
23156         * io/sys/stat.h [__USE_MISC]: Likewise.
23157         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23158         * libio/bits/stdio.h: Update #endif comments.
23159         [__USE_MISC]: Remove redundant conditionals.
23160         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23161         * libio/stdio.h: Update #endif comments.
23162         [__USE_MISC]: Remove redundant conditionals.
23163         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23164         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23165         * math/math.h: Update #else and #endif comments.
23166         [__USE_MISC]: Remove redundant conditionals.
23167         * misc/sys/uio.h: Update #endif comments.
23168         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23169         * posix/glob.h [__USE_MISC]: Likewise.
23170         * posix/sys/types.h: Update #endif comments.
23171         [__USE_MISC]: Remove redundant conditionals.
23172         * posix/sys/wait.h: Update #endif comments.
23173         [__USE_MISC]: Remove redundant conditionals.
23174         * posix/unistd.h: Update #endif comments.
23175         [__USE_MISC]: Remove redundant conditionals.
23176         * pwd/pwd.h [__USE_GNU]: Likewise.
23177         [__USE_MISC]: Likewise.
23178         * resolv/netdb.h [__USE_GNU]: Likewise.
23179         * signal/signal.h: Update #endif comments.
23180         [__USE_MISC]: Remove redundant conditionals.
23181         * stdlib/stdlib.h: Update #else and #endif comments.
23182         [__USE_MISC]: Remove redundant conditionals.
23183         [__USE_GNU]: Likewise.
23184         * string/bits/string2.h [__USE_MISC]: Likewise.
23185         * string/string.h: Update #endif comments.
23186         [__USE_MISC]: Remove redundant conditionals.
23187         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23188         Likewise.
23189         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23190         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23191         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23192         Likewise.
23193         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23194         Likewise.
23195         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23196         comments.
23197         [__USE_MISC]: Remove redundant conditionals.
23198         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23199         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23200         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23201         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23202         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23203         Likewise.
23204         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23205         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23206         Likewise.
23207         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23208         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23209         Likewise.
23210         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23211         Likewise.
23212         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23213         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23214         Likewise.
23215         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23216         Likewise.
23217         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23218         * sysdeps/x86/bits/string.h: Update #endif comments.
23219         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23220         conditionals.
23221         * time/sys/time.h: Update #endif comments.
23222         * time/time.h: Likewise.
23223         [__USE_MISC]: Remove redundant conditionals.
23225 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
23227         [BZ #16600]
23228         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23230 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
23232         * Versions.def (librt): Add GLIBC_2.17.
23234 2014-02-21  Adam Conrad  <adconrad@0c3.net>
23236         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23237         synonym for _SYS_AUXV_H to allow direct inclusion.
23238         * sysdeps/sparc/bits/hwcap.h: Likewise.
23239         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23240         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23241         * sysdeps/sparc/sysdep.h: Likewise.
23243 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23245         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23247 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23249         * benchtests/bench-strrchr.c: Print length instead of position.
23251 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
23253         [BZ #16611]
23254         * sysdeps/unix/sysv/linux/kernel-features.h
23255         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23256         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23257         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23258         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23259         Likewise.
23260         [__i386__ || __powerpc__ || __sh__ || __sparc__]
23261         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23262         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23263         (__ASSUME_SENDMMSG): Define instead of using previous
23264         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23265         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23266         (__ASSUME_SENDMMSG_SYSCALL): Define.
23267         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23268         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23269         Likewise.
23270         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23271         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23272         Likewise.
23273         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23274         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23275         Likewise.
23276         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
23277         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23278         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23279         [__ASSUME_SENDMMSG]: Change conditionals to
23280         [__ASSUME_SENDMMSG_SOCKETCALL].
23281         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23282         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23283         Define.
23284         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23285         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23286         Likewise.
23287         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23288         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23289         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23290         [!__ASSUME_SENDMMSG]: Change conditional to
23291         [!__ASSUME_SENDMMSG_SOCKETCALL].
23292         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23293         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23294         Define.
23296         [BZ #16610]
23297         * sysdeps/unix/sysv/linux/kernel-features.h
23298         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23299         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23300         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23301         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23302         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23303         [__i386__ || __sparc__]
23304         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23305         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23306         (__ASSUME_RECVMMSG): Define instead of using previous
23307         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23308         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23309         (__ASSUME_RECVMMSG_SYSCALL): Define.
23310         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23311         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23312         Likewise.
23313         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23314         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23315         Likewise.
23316         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23317         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23318         Likewise.
23319         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
23320         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23321         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23322         [__ASSUME_RECVMMSG]: Change condition to
23323         [__ASSUME_RECVMMSG_SOCKETCALL].
23324         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23325         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23326         Define.
23327         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23328         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23329         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23330         Likewise.
23331         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
23332         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23333         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23334         [!__ASSUME_RECVMMSG]: Change condition to
23335         [!__ASSUME_RECVMMSG_SOCKETCALL].
23336         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23337         (__ASSUME_RECVMMSG_SYSCALL): Define.
23339         [BZ #16609]
23340         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
23341         __powerpc__ || __s390__ || __sh__ || __sparc__]
23342         (__ASSUME_SOCKETCALL): Define.
23343         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
23344         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
23345         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
23346         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
23347         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23348         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23349         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
23350         (__ASSUME_ACCEPT4): Define instead of using previous
23351         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
23352         __powerpc__ || __sparc__ || __s390__)] condition.
23353         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23354         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23355         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
23356         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23357         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23358         [!__ASSUME_ACCEPT4]: Change condition to
23359         [!__ASSUME_ACCEPT4_SOCKETCALL].
23360         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23361         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
23362         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
23363         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23364         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
23365         __ASSUME_ACCEPT4_SYSCALL.
23366         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
23367         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
23368         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23369         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
23370         __ASSUME_ACCEPT4_SYSCALL.
23371         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
23372         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23373         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23374         [__ASSUME_ACCEPT4]: Change condition to
23375         [__ASSUME_ACCEPT4_SOCKETCALL].
23376         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23377         (__ASSUME_SOCKETCALL): Define.
23378         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
23379         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23380         (__ASSUME_SOCKETCALL): Define.
23381         (__ASSUME_ACCEPT4): Remove.
23382         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
23383         Define.
23384         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23385         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23386         Likewise.
23387         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23388         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23390         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23391         macro.
23392         (HWCAP_ARM_LPAE): Likewise.
23393         (HWCAP_ARM_EVTSTRM): Likewise.
23394         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23395         Add vpfd32, lpae and evtstrm.
23396         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23397         Increase to 22.
23399 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
23401         * math/auto-libm-test-in: Add tests of clog10.
23402         * math/auto-libm-test-out: Regenerated.
23403         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23404         * sysdeps/i386/fpu/libm-test-ulps: Update.
23405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23407 2014-02-18  Andreas Schwab  <schwab@suse.de>
23409         [BZ #16574]
23410         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23411         Store non-zero if the second buffer was newly allocated.
23412         (send_dg): Likewise.
23413         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23414         to send_vc and send_dg.
23415         (res_nsend): Pass NULL for ansp2_malloced.
23416         * resolv/res_query.c (__libc_res_nquery): Add parameter
23417         answerp2_malloced and pass it down to __libc_res_nsend.
23418         (res_nquery): Pass additional NULL to __libc_res_nquery.
23419         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23420         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
23421         second answer buffer if answerp2_malloced was set.
23422         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23423         (__libc_res_nquerydomain): Add parameter
23424         answerp2_malloced and pass it down to __libc_res_nquery.
23425         (res_nquerydomain): Pass additional NULL to
23426         __libc_res_nquerydomain.
23427         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23428         additional NULL to __libc_res_nsend and __libc_res_nquery.
23429         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23430         additional NULL to __libc_res_nsearch.
23431         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
23432         parameter of __libc_res_nsearch to check for separately allocated
23433         second buffer.
23434         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23435         __libc_res_nquery.
23436         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23437         additional NULL to __libc_res_nquery.
23438         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23439         __libc_res_nsearch.
23440         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23441         * include/resolv.h: Update prototypes of __libc_res_nquery,
23442         __libc_res_nsearch, __libc_res_nsend.
23444 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
23446         * math/auto-libm-test-in: Add tests of fma.
23447         * math/auto-libm-test-out: Regenerated.
23448         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23449         (fma_towardzero_test_data): Likewise.
23450         (fma_downward_test_data): Likewise.
23451         (fma_upward_test_data): Likewise.
23452         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23453         mpc_mode.
23454         (rounding_modes): Add values for new field.
23455         (func_calc_method): Add value mpfr_fff_f.
23456         (func_calc_desc): Add mpfr_fff_f union field.
23457         (test_function): Add field exact_args.
23458         (FUNC): Add macro argument EXACT_ARGS.
23459         (FUNC_mpfr_f_f): Update call to FUNC.
23460         (FUNC_mpfr_f_f): Likewise.
23461         (FUNC_mpfr_ff_f): Likewise.
23462         (FUNC_mpfr_if_f): Likewise.
23463         (FUNC_mpc_c_f): Likewise.
23464         (FUNC_mpc_c_c): Likewise.
23465         (test_functions): Add fma.  Update calls to FUNC.
23466         (handle_input_arg): Add argument exact_args.
23467         (add_test): Update call to handle_input_arg.
23468         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
23469         (output_for_one_input_case): Update call to calc_generic_results.
23470         Recalculate exact zero results in each rounding mode.
23472         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23473         non-negative before setting low bit.
23474         * math/auto-libm-test-in: Mark one asin test possibly having
23475         spurious underflow.
23476         * math/auto-libm-test-out: Regenerated.
23477         * sysdeps/i386/fpu/libm-test-ulps: Update.
23478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23480 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
23482         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23483         * sysdeps/unix/sysv/linux/microblaze: Move directory from
23484         ports/sysdeps/unix/sysv/linux/microblaze.
23485         * README: Add missing listing for microblaze*-*-linux-gnu.
23487 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
23489         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23490         duplicate code
23492 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
23494         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23495         * sysdeps/unix/sysv/linux/ia64: Move directory from
23496         ports/sysdeps/unix/sysv/linux/ia64.
23497         * README: Update listing for ia64-*-linux-gnu.
23499 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
23500             Joseph Myers  <joseph@codesourcery.com>
23502         * Makeconfig (test-name): New variable.
23503         (evaluate-test): Likewise.
23504         * Makerules (do-test-clean): Remove .test-result files.
23505         (common-mostlyclean): Likewise.
23506         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23507         * scripts/evaluate-test.sh: New file.
23509 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
23511         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23512         separate $(objpfx)tst-fopenloc-cmp.out and
23513         $(objpfx)tst-fopenloc-mem.out targets.
23514         (tests): Update dependencies.
23515         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23516         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23517         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23518         (tst-rxspencer-no-utf8-ARGS): New variable.
23519         (tst-rxspencer-no-utf8-ENV): Likewise.
23520         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23521         instead of $(objpfx)tst-rxspencer-mem.
23522         ($(objpfx)tst-rxspencer-mem): Change target to
23523         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
23524         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23525         * posix/tst-rxspencer-no-utf8.c: New file.
23527         * elf/Makefile ($(objpfx)order.out): Remove rule.
23528         [$(run-built-tests) = yes] (tests): Depend on
23529         $(objpfx)order-cmp.out.
23530         ($(objpfx)order-cmp.out): New rule.
23531         [$(run-built-tests) = yes] (tests): Depend on
23532         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23533         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23534         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23535         $(objpfx)tst-array5-static-cmp.out.
23536         ($(objpfx)tst-array1.out): Remove rule.
23537         ($(objpfx)tst-array1-cmp.out): New rule.
23538         ($(objpfx)tst-array1-static.out): Remove rule.
23539         ($(objpfx)tst-array1-static-cmp.out): New rule.
23540         ($(objpfx)tst-array2.out): Remove rule.
23541         ($(objpfx)tst-array2-cmp.out): New rule.
23542         ($(objpfx)tst-array3.out): Remove rule.
23543         ($(objpfx)tst-array3-cmp.out): New rule.
23544         ($(objpfx)tst-array4.out): Remove rule.
23545         ($(objpfx)tst-array4-cmp.out): New rule.
23546         ($(objpfx)tst-array5.out): Remove rule.
23547         ($(objpfx)tst-array5-cmp.out): New rule.
23548         ($(objpfx)tst-array5-static.out): Remove rule.
23549         ($(objpfx)tst-array5-static-cmp.out): New rule.
23550         [$(run-built-tests) = yes] (tests): Depend on
23551         $(objpfx)order2-cmp.out.
23552         ($(objpfx)order2.out): Remove rule.
23553         ($(objpfx)order2-cmp.out): New rule.
23554         ($(objpfx)tst-initorder.out): Remove rule.
23555         [$(run-built-tests) = yes] (tests): Depend on
23556         $(objpfx)tst-initorder-cmp.out.
23557         ($(objpfx)tst-initorder-cmp.out): New rule.
23558         ($(objpfx)tst-initorder2.out): Remove rule.
23559         [$(run-built-tests) = yes] (tests): Depend on
23560         $(objpfx)tst-initorder2-cmp.out.
23561         ($(objpfx)tst-initorder2-cmp.out): New rule.
23562         [$(run-built-tests) = yes] (tests): Depend on
23563         $(objpfx)tst-unused-dep-cmp.out.
23564         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23565         ($(objpfx)tst-unused-dep-cmp.out): New rule.
23566         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23567         on $(objpfx)tst-setvbuf1-cmp.out.
23568         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23569         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23570         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23571         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23572         ($(objpfx)tst-svc.out): Remove rule.
23573         ($(objpfx)tst-svc-cmp.out): New rule.
23575 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
23577         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23578         * ctype/ctype.h [__USE_MISC]: Likewise.
23579         * dirent/dirent.h [__USE_MISC]: Likewise.
23580         * grp/grp.h [__USE_MISC]: Likewise.
23581         * io/fcntl.h [__USE_MISC]: Likewise.
23582         * io/sys/stat.h [__USE_MISC]: Likewise.
23583         * libio/stdio.h [__USE_MISC]: Likewise.
23584         * posix/unistd.h [__USE_MISC]: Likewise.
23585         * pwd/pwd.h [__USE_MISC]: Likewise.
23586         * stdlib.h [__USE_MISC]: Likewise.
23587         * string/bits/string2.h [__USE_MISC]: Likewise.
23588         * string/string.h [__USE_MISC]: Likewise.
23589         * time/time.h [__USE_MISC]: Likewise.
23591 2014-02-13  Andreas Schwab  <schwab@suse.de>
23593         [BZ #16574]
23594         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23595         second answer buffer if it was separately allocated.
23597 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
23599         * sysdeps/mips/math-tests.h: Include <features.h>.
23600         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23601         (ROUNDING_TESTS_long_double): Do not define.
23602         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23603         (EXCEPTION_TESTS_long_double): Likewise.
23604         * sysdeps/mips/mips64/libm-test-ulps: Update.
23606         * include/features.h (__USE_BSD): Remove macro definitions.
23607         (__USE_SVID): Likewise.
23608         (_BSD_SOURCE): Likewise.
23609         (_SVID_SOURCE): Likewise.
23610         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23611         from definition of _DEFAULT_SOURCE.
23612         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23613         [_DEFAULT_SOURCE].
23614         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23615         * bits/mman.h [__USE_BSD]: Likewise.
23616         * bits/termios.h [__USE_BSD]: Likewise.
23617         * bits/waitstatus.h [__USE_BSD]: Likewise.
23618         * ctype/ctype.h [__USE_SVID]: Likewise.
23619         * dirent/dirent.h [__USE_BSD]: Likewise.
23620         * grp/grp.h [__USE_SVID]: Likewise.
23621         [__USE_BSD]: Likewise.
23622         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23623         * io/fcntl.h [__USE_BSD]: Likewise.
23624         * io/ftw.h [__USE_BSD]: Likewise.
23625         * io/sys/stat.h [__USE_BSD]: Likewise.
23626         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23627         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23628         * libio/stdio.h [__USE_SVID]: Likewise.
23629         [__USE_BSD]: Likewise.
23630         * math/math.h [__USE_SVID]: Likewise.
23631         [__USE_BSD]: Likewise.
23632         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23633         * misc/bits/syslog.h [__USE_BSD]: Likewise.
23634         * misc/search.h [__USE_SVID]: Likewise.
23635         * misc/sys/mman.h [__USE_BSD]: Likewise.
23636         * misc/sys/syslog.h [__USE_BSD]: Likewise.
23637         * misc/sys/uio.h [__USE_BSD]: Likewise.
23638         * posix/bits/unistd.h [__USE_BSD]: Likewise.
23639         * posix/glob.h [__USE_BSD]: Likewise.
23640         * posix/regex.h [__USE_BSD]: Likewise.
23641         * posix/sys/types.h [__USE_BSD]: Likewise.
23642         [__USE_SVID]: Likewise.
23643         * posix/sys/utsname.h [__USE_SVID]: Likewise.
23644         * posix/sys/wait.h [__USE_BSD]: Likewise.
23645         [__USE_SVID]: Likewise.
23646         * posix/unistd.h [__USE_BSD]: Likewise.
23647         [__USE_SVID]: Likewise.
23648         * pwd/pwd.h [__USE_SVID]: Likewise.
23649         * resolv/netdb.h [__USE_BSD]: Likewise.
23650         * setjmp/setjmp.h [__USE_BSD]: Likewise.
23651         * signal/signal.h [__USE_BSD]: Likewise.
23652         [__USE_SVID]: Likewise.
23653         * socket/sys/socket.h [__USE_BSD]: Likewise.
23654         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23655         * stdlib/stdlib.h [__USE_BSD]: Likewise.
23656         [__USE_SVID]: Likewise.
23657         * string/bits/string2.h [__USE_BSD]: Likewise.
23658         [__USE_SVID]: Likewise.
23659         * string/bits/string3.h [__USE_BSD]: Likewise.
23660         * string/endian.h [__USE_BSD]: Likewise.
23661         * string/string.h [__USE_SVID]: Likewise.
23662         [__USE_BSD]: Likewise.
23663         * string/strings.h [__USE_BSD]: Likewise.
23664         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23665         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23666         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23667         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23668         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23669         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23670         Likewise.
23671         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23672         Likewise.
23673         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23674         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23675         Likewise.
23676         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23677         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23678         Likewise.
23679         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23680         Likewise.
23681         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23682         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23683         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23684         Likewise.
23685         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23686         Likewise.
23687         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23688         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23689         * termios/termios.h [__USE_BSD]: Likewise.
23690         * time/sys/time.h [__USE_BSD]: Likewise.
23691         * time/time.h [__USE_BSD]: Likewise.
23692         [__USE_SVID]: Likewise.
23694         * Makefile (subdir_targets): Remove subdir_lint.out.
23696         * stdio-common/Makefile (do-tst-unbputc): Remove target.
23697         (do-tst-printf): Likewise.
23698         (tests): Depend directly on $(objpfx)tst-unbputc.out and
23699         $(objpfx)tst-printf.out.
23701         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23703         * Makerules (check-abi-%): Change target to
23704         $(objpfx)check-abi-%.out.
23705         (check-abi target): Update dependencies.
23706         (check-abi-pattern variable): Redirect output of diff to $@.
23707         (check-abi variable): Likewise.
23708         * elf/Makefile (check-abi): Update dependencies.
23710         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23711         unused.
23712         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23713         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23714         subnormal range.
23715         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23716         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23717         value has largest subnormal exponent.
23718         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23719         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23720         * sysdeps/aarch64/soft-fp/sfp-machine.h
23721         (_FP_TININESS_AFTER_ROUNDING): New macro.
23722         * sysdeps/alpha/soft-fp/sfp-machine.h
23723         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23724         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23725         Likewise.
23726         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23727         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23728         * sysdeps/mips/soft-fp/sfp-machine.h
23729         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23730         * sysdeps/powerpc/soft-fp/sfp-machine.h
23731         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23732         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23733         Likewise.
23734         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23735         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23736         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23737         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23738         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23739         Likewise.
23741 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
23743         [BZ #16545]
23744         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23745         model 1.
23747 2014-02-12  Richard Henderson  <rth@redhat.com>
23749         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23750         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23751         * sysdeps/unix/sysv/linux/alpha: Move directory from
23752         ports/sysdeps/unix/sysv/linux/alpha.
23753         * README: Update listing for alpha-*-linux-gnu.
23755 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
23757         * include/features.h: Update comment documenting feature test
23758         macros.
23759         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
23760         _DEFAULT_SOURCE.
23761         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23762         (_SVID_SOURCE): Likewise.
23763         (_DEFAULT_SOURCE): Update description of default features.
23764         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23765         with _GNU_SOURCE.
23766         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23767         (S_ISVTX): Likewise.
23768         * manual/math.texi (Mathematical Constants): Likewise.
23769         * manual/signal.texi (Interrupted Primitives): Likewise.
23770         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23771         * math/test-matherr.c (_SVID_SOURCE): Do not define.
23772         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23773         Don't refer to _SVID_SOURCE in warning text.
23775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23777         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23778         already defined.
23779         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23780         * sysdeps/mips/dl-lookup.c: Remove.
23781         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23783 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23785         [BZ #16447]
23786         * math/auto-libm-test-in: Add testcase for expl.
23787         * math/auto-libm-test-out: Regenerate.
23788         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23789         calculation of unsafe.
23790         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23792 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23794         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23795         * sysdeps/unix/sysv/linux/aarch64: Move directory from
23796         ports/sysdeps/unix/sysv/linux/aarch64.
23797         * README: Update listing for aarch64*-*-linux-gnu.
23799 2014-02-11  Will Newton  <will.newton@linaro.org>
23801         * manual/probes.texi (Mathematical Function Probes): Use
23802         "triggered" instead of "hit".
23804         * manual/probes.texi (Internal Probes): Add documentation
23805         of setjmp, longjmp and longjmp_target probes.
23807         * include/stap-probe.h: Add comment about probe argument
23808         format.
23810         * malloc/mtrace.c (attribute_hidden): Remove unused macro
23811         definition.  (tr_where, tr_freehook, tr_mallochook,
23812         tr_reallochook, tr_memalignhook): Use ANSI protoype.
23814 2014-02-11  David S. Miller  <davem@davemloft.net>
23816         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23817         processing int_tests.
23819 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
23821         * sysdeps/mips: Move directory from ports/sysdeps/mips.
23822         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23823         * sysdeps/unix/sysv/linux/mips: Move directory from
23824         ports/sysdeps/unix/sysv/linux/mips.
23825         * README: Update listing for mips-*-linux-gnu and
23826         mips64-*-linux-gnu.
23828 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
23830         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23831         * sysdeps/unix/sysv/linux/m68k: Move directory from
23832         ports/sysdeps/unix/sysv/linux/m68k.
23833         * README: Update listing for m68k-*-linux-gnu.
23835 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
23837         * sysdeps/tile: Move directory from ports/sysdeps/tile.
23838         * sysdeps/unix/sysv/linux/generic: Move directory from
23839         ports/sysdeps/unix/sysv/linux/generic.
23840         * sysdeps/unix/sysv/linux/tile: Move directory from
23841         ports/sysdeps/unix/sysv/linux/tile.
23842         * README: Update listing for tile*-*-linux-gnu.
23844 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
23846         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23847         __builtin_expect.
23848         * benchtests/bench-memmem.c (simple_memmem): Likewise.
23849         * catgets/open_catalog.c (__open_catalog): Likewise.
23850         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23851         * debug/confstr_chk.c: Likewise.
23852         * debug/fread_chk.c (__fread_chk): Likewise.
23853         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23854         * debug/getgroups_chk.c: Likewise.
23855         * debug/mbsnrtowcs_chk.c: Likewise.
23856         * debug/mbsrtowcs_chk.c: Likewise.
23857         * debug/mbstowcs_chk.c: Likewise.
23858         * debug/memcpy_chk.c: Likewise.
23859         * debug/memmove_chk.c: Likewise.
23860         * debug/mempcpy_chk.c: Likewise.
23861         * debug/memset_chk.c: Likewise.
23862         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23863         * debug/strcat_chk.c (__strcat_chk): Likewise.
23864         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23865         * debug/strncat_chk.c (__strncat_chk): Likewise.
23866         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23867         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23868         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23869         * debug/wcpncpy_chk.c: Likewise.
23870         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23871         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23872         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23873         * debug/wcsncpy_chk.c: Likewise.
23874         * debug/wcsnrtombs_chk.c: Likewise.
23875         * debug/wcsrtombs_chk.c: Likewise.
23876         * debug/wcstombs_chk.c: Likewise.
23877         * debug/wmemcpy_chk.c: Likewise.
23878         * debug/wmemmove_chk.c: Likewise.
23879         * debug/wmempcpy_chk.c: Likewise.
23880         * debug/wmemset_chk.c: Likewise.
23881         * dirent/scandirat.c (SCANDIRAT): Likewise.
23882         * dlfcn/dladdr1.c (dladdr1): Likewise.
23883         * dlfcn/dladdr.c (dladdr): Likewise.
23884         * dlfcn/dlclose.c (dlclose_doit): Likewise.
23885         * dlfcn/dlerror.c (__dlerror): Likewise.
23886         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23887         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23888         * dlfcn/dlopen.c (dlopen_doit): Likewise.
23889         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23890         * dlfcn/dlsym.c (dlsym_doit): Likewise.
23891         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23892         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23893         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23894         Likewise.
23895         * elf/dl-conflict.c: Likewise.
23896         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23897         * elf/dl-dst.h: Likewise.
23898         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23899         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23900         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23901         * elf/dl-init.c (call_init, _dl_init): Likewise.
23902         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23903         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23904         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23905         Likewise.
23906         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23907         Likewise.
23908         * elf/dl-minimal.c (__libc_memalign): Likewise.
23909         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23910         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23911         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23912         * elf/dl-sym.c (do_sym): Likewise.
23913         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23914         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23915         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23916         * elf/dl-writev.h (_dl_writev): Likewise.
23917         * elf/ldconfig.c (search_dir): Likewise.
23918         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23919         (dl_main): Likewise.
23920         * elf/setup-vdso.h (setup_vdso): Likewise.
23921         * grp/compat-initgroups.c (compat_call): Likewise.
23922         * grp/fgetgrent.c (fgetgrent): Likewise.
23923         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23924         * grp/putgrent.c (putgrent): Likewise.
23925         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23926         Likewise.
23927         * hurd/hurdinit.c: Likewise.
23928         * iconvdata/8bit-gap.c (struct): Likewise.
23929         * iconvdata/ansi_x3.110.c : Likewise.
23930         * iconvdata/big5.c : Likewise.
23931         * iconvdata/big5hkscs.c : Likewise.
23932         * iconvdata/cp1255.c: Likewise.
23933         * iconvdata/cp1258.c : Likewise.
23934         * iconvdata/cp932.c : Likewise.
23935         * iconvdata/euc-cn.c: Likewise.
23936         * iconvdata/euc-jisx0213.c : Likewise.
23937         * iconvdata/euc-jp.c: Likewise.
23938         * iconvdata/euc-jp-ms.c : Likewise.
23939         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23940         * iconvdata/gb18030.c : Likewise.
23941         * iconvdata/gbbig5.c (const): Likewise.
23942         * iconvdata/gbgbk.c: Likewise.
23943         * iconvdata/gbk.c : Likewise.
23944         * iconvdata/ibm1364.c : Likewise.
23945         * iconvdata/ibm930.c : Likewise.
23946         * iconvdata/ibm932.c: Likewise.
23947         * iconvdata/ibm933.c : Likewise.
23948         * iconvdata/ibm935.c : Likewise.
23949         * iconvdata/ibm937.c : Likewise.
23950         * iconvdata/ibm939.c : Likewise.
23951         * iconvdata/ibm943.c: Likewise.
23952         * iconvdata/iso_11548-1.c: Likewise.
23953         * iconvdata/iso-2022-cn.c : Likewise.
23954         * iconvdata/iso-2022-cn-ext.c : Likewise.
23955         * iconvdata/iso-2022-jp-3.c: Likewise.
23956         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23957         * iconvdata/iso-2022-kr.c : Likewise.
23958         * iconvdata/iso646.c (gconv_end): Likewise.
23959         * iconvdata/iso_6937-2.c : Likewise.
23960         * iconvdata/iso_6937.c : Likewise.
23961         * iconvdata/iso8859-1.c: Likewise.
23962         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23963         * iconvdata/shift_jisx0213.c : Likewise.
23964         * iconvdata/sjis.c : Likewise.
23965         * iconvdata/t.61.c : Likewise.
23966         * iconvdata/tcvn5712-1.c : Likewise.
23967         * iconvdata/tscii.c: Likewise.
23968         * iconvdata/uhc.c : Likewise.
23969         * iconvdata/unicode.c (gconv_end): Likewise.
23970         * iconvdata/utf-16.c (gconv_end): Likewise.
23971         * iconvdata/utf-32.c (gconv_end): Likewise.
23972         * iconvdata/utf-7.c (base64): Likewise.
23973         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23974         * iconv/gconv_close.c (__gconv_close): Likewise.
23975         * iconv/gconv_open.c (__gconv_open): Likewise.
23976         * iconv/gconv_simple.c (internal_ucs4_loop_single)
23977         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23978         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23979         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23980         (ucs4le_internal_loop_single): Likewise.
23981         * iconv/iconv.c (iconv): Likewise.
23982         * iconv/iconv_close.c: Likewise.
23983         * iconv/loop.c (SINGLE): Likewise.
23984         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23985         * include/atomic.h: Likewise.
23986         * inet/inet6_option.c (option_alloc): Likewise.
23987         * intl/bindtextdom.c (set_binding_values): Likewise.
23988         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23989         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23990         * intl/localealias.c (read_alias_file): Likewise.
23991         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23992         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23993         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23994         * libio/fmemopen.c (fmemopen): Likewise.
23995         * libio/iofgets.c (_IO_fgets): Likewise.
23996         * libio/iofgets_u.c (fgets_unlocked): Likewise.
23997         * libio/iofgetws.c (fgetws): Likewise.
23998         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23999         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24000         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24001         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24002         * locale/findlocale.c (_nl_find_locale): Likewise.
24003         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24004         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24005         Likewise.
24006         * locale/setlocale.c (setlocale): Likewise.
24007         * login/programs/pt_chown.c (main): Likewise.
24008         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24009         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24010         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24011         (mmap, mmap64, mremap, munmap): Likewise.
24012         * math/e_exp2l.c: Likewise.
24013         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24014         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24015         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24016         * math/s_catan.c (__catan): Likewise.
24017         * math/s_catanf.c (__catanf): Likewise.
24018         * math/s_catanh.c (__catanh): Likewise.
24019         * math/s_catanhf.c (__catanhf): Likewise.
24020         * math/s_catanhl.c (__catanhl): Likewise.
24021         * math/s_catanl.c (__catanl): Likewise.
24022         * math/s_ccosh.c (__ccosh): Likewise.
24023         * math/s_ccoshf.c (__ccoshf): Likewise.
24024         * math/s_ccoshl.c (__ccoshl): Likewise.
24025         * math/s_cexp.c (__cexp): Likewise.
24026         * math/s_cexpf.c (__cexpf): Likewise.
24027         * math/s_cexpl.c (__cexpl): Likewise.
24028         * math/s_clog10.c (__clog10): Likewise.
24029         * math/s_clog10f.c (__clog10f): Likewise.
24030         * math/s_clog10l.c (__clog10l): Likewise.
24031         * math/s_clog.c (__clog): Likewise.
24032         * math/s_clogf.c (__clogf): Likewise.
24033         * math/s_clogl.c (__clogl): Likewise.
24034         * math/s_csin.c (__csin): Likewise.
24035         * math/s_csinf.c (__csinf): Likewise.
24036         * math/s_csinh.c (__csinh): Likewise.
24037         * math/s_csinhf.c (__csinhf): Likewise.
24038         * math/s_csinhl.c (__csinhl): Likewise.
24039         * math/s_csinl.c (__csinl): Likewise.
24040         * math/s_csqrt.c (__csqrt): Likewise.
24041         * math/s_csqrtf.c (__csqrtf): Likewise.
24042         * math/s_csqrtl.c (__csqrtl): Likewise.
24043         * math/s_ctan.c (__ctan): Likewise.
24044         * math/s_ctanf.c (__ctanf): Likewise.
24045         * math/s_ctanh.c (__ctanh): Likewise.
24046         * math/s_ctanhf.c (__ctanhf): Likewise.
24047         * math/s_ctanhl.c (__ctanhl): Likewise.
24048         * math/s_ctanl.c (__ctanl): Likewise.
24049         * math/w_pow.c: Likewise.
24050         * math/w_powf.c: Likewise.
24051         * math/w_powl.c: Likewise.
24052         * math/w_scalb.c (sysv_scalb): Likewise.
24053         * math/w_scalbf.c (sysv_scalbf): Likewise.
24054         * math/w_scalbl.c (sysv_scalbl): Likewise.
24055         * misc/error.c (error_tail): Likewise.
24056         * misc/pselect.c (__pselect): Likewise.
24057         * nis/nis_callback.c (__nis_create_callback): Likewise.
24058         * nis/nis_call.c (__nisfind_server): Likewise.
24059         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24060         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24061         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24062         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24063         * nis/nis_lookup.c (nis_lookup): Likewise.
24064         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24065         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24066         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24067         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24068         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24069         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24070         * nis/nss_compat/compat-initgroups.c (add_group)
24071         (internal_getgrent_r): Likewise.
24072         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24073         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24074         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24075         (internal_getspnam_r): Likewise.
24076         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24077         (_nss_nis_getaliasbyname_r): Likewise.
24078         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24079         (_nss_nis_getntohost_r): Likewise.
24080         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24081         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24082         (_nss_nis_getgrgid_r): Likewise.
24083         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24084         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24085         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24086         (_nss_nis_gethostbyname4_r): Likewise.
24087         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24088         (initgroups_netid): Likewise.
24089         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24090         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24091         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24092         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24093         (_nss_nis_getprotobynumber_r): Likewise.
24094         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24095         (_nss_nis_getsecretkey): Likewise.
24096         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24097         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24098         (_nss_nis_getpwuid_r): Likewise.
24099         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24100         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24101         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24102         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24103         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24104         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24105         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24106         Likewise.
24107         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24108         (_nss_nisplus_getntohost_r): Likewise.
24109         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24110         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24111         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24112         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24113         Likewise.
24114         * nis/nss_nisplus/nisplus-initgroups.c
24115         (_nss_nisplus_initgroups_dyn): Likewise.
24116         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24117         (_nss_nisplus_getnetbyaddr_r): Likewise.
24118         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24119         (_nss_nisplus_getprotobynumber_r): Likewise.
24120         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24121         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24122         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24123         Likewise.
24124         * nis/nss_nisplus/nisplus-service.c
24125         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24126         (_nss_nisplus_getservbyport_r): Likewise.
24127         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24128         (_nss_nisplus_getspnam_r): Likewise.
24129         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24130         Likewise.
24131         * nscd/aicache.c (addhstaiX): Likewise.
24132         * nscd/cache.c (cache_search, prune_cache): Likewise.
24133         * nscd/connections.c (register_traced_file, send_ro_fd)
24134         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24135         (main_loop_epoll): Likewise.
24136         * nscd/grpcache.c (addgrbyX): Likewise.
24137         * nscd/hstcache.c (addhstbyX): Likewise.
24138         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24139         * nscd/mem.c (gc, mempool_alloc): Likewise.
24140         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24141         (addinnetgrX): Likewise.
24142         * nscd/nscd-client.h (__nscd_acquire_maplock)
24143         (__nscd_drop_map_ref): Likewise.
24144         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24145         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24146         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24147         Likewise.
24148         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24149         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24150         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24151         (__nscd_get_map_ref): Likewise.
24152         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24153         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24154         Likewise.
24155         * nscd/pwdcache.c (addpwbyX): Likewise.
24156         * nscd/selinux.c (preserve_capabilities): Likewise.
24157         * nscd/servicescache.c (addservbyX): Likewise.
24158         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24159         * posix/fnmatch.c (fnmatch): Likewise.
24160         * posix/getopt.c (_getopt_internal_r): Likewise.
24161         * posix/glob.c (glob, glob_in_dir): Likewise.
24162         * posix/wordexp.c (exec_comm_child): Likewise.
24163         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24164         (getanswer_r, gaih_getanswer_slice): Likewise.
24165         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24166         * resolv/res_init.c: Likewise.
24167         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24168         * resolv/res_query.c (__libc_res_nquery): Likewise.
24169         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24170         Likewise.
24171         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24172         * stdio-common/perror.c (perror): Likewise.
24173         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24174         * stdio-common/tmpnam.c (tmpnam): Likewise.
24175         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24176         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24177         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24178         Likewise.
24179         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24180         * stdlib/putenv.c (putenv): Likewise.
24181         * stdlib/setenv.c (__add_to_environ): Likewise.
24182         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24183         * stdlib/strtol_l.c (INTERNAL): Likewise.
24184         * string/memmem.c (memmem): Likewise.
24185         * string/strerror.c (strerror): Likewise.
24186         * string/strnlen.c (__strnlen): Likewise.
24187         * string/test-memmem.c (simple_memmem): Likewise.
24188         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24189         * sunrpc/pm_getport.c (__get_socket): Likewise.
24190         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24191         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24192         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24193         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24194         Likewise.
24195         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24196         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24197         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24198         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24199         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24200         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24201         Likewise.
24202         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24203         Likewise.
24204         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24205         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24206         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24207         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24208         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24209         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24210         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24211         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24212         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24213         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24214         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24215         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24216         Likewise.
24217         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24218         Likewise.
24219         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24220         Likewise.
24221         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24222         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24223         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24224         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24225         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24226         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24227         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24228         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24229         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24230         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24231         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24232         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24233         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24234         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24235         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24236         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24237         Likewise.
24238         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24239         Likewise.
24240         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24241         Likewise.
24242         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24243         Likewise.
24244         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24245         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24246         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24247         Likewise.
24248         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24249         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24250         * sysdeps/posix/opendir.c (__opendirat): Likewise.
24251         * sysdeps/posix/sleep.c: Likewise.
24252         * sysdeps/posix/tempname.c: Likewise.
24253         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24254         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24255         Likewise.
24256         * sysdeps/powerpc/powerpc32/dl-machine.h
24257         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24258         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24259         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24260         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24261         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24262         Likewise.
24263         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24264         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24265         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24266         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24267         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24268         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24269         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24270         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24271         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24272         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24273         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24274         (elf_machine_lazy_rel): Likewise.
24275         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24276         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
24277         (elf_machine_lazy_rel): Likewise.
24278         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24279         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24280         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24281         * sysdeps/unix/grantpt.c (grantpt): Likewise.
24282         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24283         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24284         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24285         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24286         Likewise.
24287         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24288         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24289         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24290         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24291         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24292         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24293         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24294         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24295         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24296         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24297         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24298         Likewise.
24299         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24300         (__posix_fallocate64_l64): Likewise.
24301         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24302         (posix_fallocate): Likewise.
24303         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24304         Likewise.
24305         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24306         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24307         (getifaddrs_internal): Likewise.
24308         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24309         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24310         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24311         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24312         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24313         (__posix_fallocate64_l64): Likewise.
24314         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24315         Likewise.
24316         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24317         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
24318         (__get_clockfreq): Likewise.
24319         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
24320         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24321         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
24322         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24323         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24324         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
24325         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
24326         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
24327         Likewise.
24328         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
24329         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
24330         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24331         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
24332         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24333         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
24334         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
24335         Likewise.
24336         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24337         (posix_fallocate): Likewise.
24338         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24339         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24340         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
24341         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
24342         (elf_machine_rela, elf_machine_rela_relative)
24343         (elf_machine_lazy_rel): Likewise.
24344         * time/asctime.c (asctime_internal): Likewise.
24345         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
24346         * time/tzset.c (__tzset_parse_tz): Likewise.
24347         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24348         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24349         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
24350         * wcsmbs/wcsmbsload.h: Likewise.
24352         [BZ #15894]
24353         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
24355         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
24356         (arena_get2): Remove THREAD_STATS conditionals.
24357         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
24358         (__malloc_stats, int): Likewise.
24360 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
24362         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
24363         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
24365         * manual/setjmp.texi: Fix typos/grammar errors.
24367         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
24368         Only return early when n is <= 0.  Delete unused return statement.
24370         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
24371         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24372         * debug/tst-longjmp_chk3.c: New file.
24374         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
24375         (test_main): Replace code with set_fortify_handler call.
24376         * debug/test-strcpy_chk.c: Likewise.
24377         * debug/tst-chk1.c: Likewise.
24378         * debug/tst-longjmp_chk.c: Likewise.
24379         * test-skeleton.c: Include fcntl.h & paths.h
24380         (set_fortify_handler): Define.
24382         * debug/tst-longjmp_chk.c: Add header comment and include
24383         ../test-skeleton.c.
24384         (do_test): Mark static.
24385         (TEST_FUNCTION): Define.
24387         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24388         (IP_PMTUDISC_INTERFACE): Likewise.
24389         (IP_MULTICAST_IF): Likewise.
24390         (IP_MULTICAST_TTL): Likewise.
24391         (IP_MULTICAST_LOOP): Likewise.
24392         (IP_ADD_MEMBERSHIP): Likewise.
24393         (IP_DROP_MEMBERSHIP): Likewise.
24394         (IP_UNBLOCK_SOURCE): Likewise.
24395         (IP_BLOCK_SOURCE): Likewise.
24396         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24397         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24398         (IP_MSFILTER): Likewise.
24399         (MCAST_JOIN_GROUP): Likewise.
24400         (MCAST_BLOCK_SOURCE): Likewise.
24401         (MCAST_UNBLOCK_SOURCE): Likewise.
24402         (MCAST_LEAVE_GROUP): Likewise.
24403         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24404         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24405         (MCAST_MSFILTER): Likewise.
24406         (IP_MULTICAST_ALL): Likewise.
24407         (IP_UNICAST_IF): Likewise.
24409         * timezone/Makefile: Delete $(have-ksh) check.
24410         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24411         * timezone/tzselect.ksh: Add +x mode bits.
24413         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24414         (ANON_INODE_FS_MAGIC): Likewise.
24415         (BDEVFS_MAGIC): Likewise.
24416         (BINFMTFS_MAGIC): Likewise.
24417         (BTRFS_TEST_MAGIC): Likewise.
24418         (CRAMFS_MAGIC_WEND): Likewise.
24419         (DEBUGFS_MAGIC): Likewise.
24420         (ECRYPTFS_SUPER_MAGIC): Likewise.
24421         (EXT3_SUPER_MAGIC): Likewise.
24422         (EXT4_SUPER_MAGIC): Likewise.
24423         (FUTEXFS_SUPER_MAGIC): Likewise.
24424         (HOSTFS_SUPER_MAGIC): Likewise.
24425         (HUGETLBFS_MAGIC): Likewise.
24426         (MINIX3_SUPER_MAGIC): Likewise.
24427         (MTD_INODE_FS_MAGIC): Likewise.
24428         (NILFS_SUPER_MAGIC): Likewise.
24429         (OPENPROM_SUPER_MAGIC): Likewise.
24430         (PIPEFS_MAGIC): Likewise.
24431         (PSTOREFS_MAGIC): Likewise.
24432         (QNX6_SUPER_MAGIC): Likewise.
24433         (RAMFS_MAGIC): Likewise.
24434         (REISERFS_SUPER_MAGIC_STRING): Likewise.
24435         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24436         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24437         (SECURITYFS_MAGIC): Likewise.
24438         (SELINUX_MAGIC): Likewise.
24439         (SMACK_MAGIC): Likewise.
24440         (SOCKFS_MAGIC): Likewise.
24441         (SQUASHFS_MAGIC): Likewise.
24442         (STACK_END_MAGIC): Likewise.
24443         (TMPFS_MAGIC): Likewise.
24444         (USBDEVICE_SUPER_MAGIC): Likewise.
24445         (V9FS_MAGIC): Likewise.
24446         (XENFS_SUPER_MAGIC): Likewise.
24447         (CRAMFS_MAGIC): Fix typo in comment.
24448         (EXT2_SUPER_MAGIC): Update comment.
24449         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24451 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
24453         * sysdeps/arm: Move directory from ports/sysdeps/arm.
24454         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24455         * sysdeps/unix/sysv/linux/arm: Move directory from
24456         ports/sysdeps/unix/sysv/linux/arm.
24457         * README: Update listing for arm-*-linux-gnueabi.
24459         * README: Remove mention of am33.
24461 2014-02-07  Roland McGrath  <roland@hack.frob.com>
24463         * bits/sigset.h (__sigemptyset): Use a statement expression rather
24464         than the comma operator, to avoid "rhs of comma has no effect"
24465         compiler warnings.
24466         (__sigfillset, __sigandset, __sigorset): Likewise.
24467         * include/signal.h (__sigemptyset): Likewise.
24468         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24470 2014-02-07  Allan McRae  <allan@archlinux.org>
24472         * version.h (RELEASE): Set to "development".
24473         (VERSION): Set to "2.19.90"
24474         * NEWS: Add 2.20 section.
24476 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
24478         [BZ #16529]
24479         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24481 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24483         * manual/contrib.texi: Update entry for Carlos O'Donell,
24484         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24486 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
24488         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24490         * sysdeps/unix/sysv/linux/kernel-features.h
24491         [__LINUX_KERNEL_VERSION >= 0x020621]
24492         (__ASSUME_PROC_PID_TASK_COMM): Define.
24494 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24496         [BZ #16398]
24497         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24498         conversion when destination buffer does not have enough space.
24499         * libio/tst-ftell-partial-wide.c: New test case.
24500         * libio/Makefile (tests): Add tst-ftell-partial-wide.
24502         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24503         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
24504         Leonard and Allan McRae.
24506 2014-02-04  David S. Miller  <davem@davemloft.net>
24508         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24509         32-bit.
24511 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24514         New file
24515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24516         New file
24517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24518         New file.
24519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24520         New file.
24521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24522         New file.
24523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24524         New file.
24525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24526         New file.
24527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24528         New file.
24529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24530         New file.
24531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24532         New file.
24533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24534         New file.
24535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24536         New file.
24537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24538         New file.
24540 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24542         * nptl/shlib-versions: Change powerpc*le start to 2.17.
24543         * shlib-versions: Likewise.
24545 2014-02-04  Roland McGrath  <roland@hack.frob.com>
24546             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24548         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24549         (abilist-pattern): New variable, set to %-le.abilist.
24551         * Makerules (abilist-pattern): New variable.
24552         (vpath): Use $(abilist-pattern) in place of %.abilist.
24553         (check-abi-% pattern rule): Likewise.
24554         (check-abi, update-abi): Likewise.
24556 2014-02-04  Eric Wong  <normalperson@yhbt.net>
24558         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24560 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
24562         * manual/startup.texi: Add next, previous, and top entries for
24563         the `Program Arguments' and `Environment Variables' nodes.
24565 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
24567         * manual/macros.texi: Add comments before MTASC-safety macros.
24569         * manual/users.texi: Document MTASC-safety properties.
24571         * manual/threads.texi (pthread_key_create, pthread_key_delete)
24572         (pthread_getspecific, pthread_setspecific): Format with
24573         @deftypefun, and add @safety note.
24574         * manual/signal.texi: Move comments that analyze the above
24575         functions to their home place.
24577 2014-02-03  Allan McRae  <allan@archlinux.org>
24579         * po/sl.po: Update Slovenian translation from translation project.
24581 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
24583         * manual/time.texi (timegm): Add missing blank after @c.
24584         Reported by Joseph Myers <joseph@codesourcery.com>.
24586 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
24588         * manual/check-safety.sh: New.
24589         * manual/Makefile ($(objpfx)stamp-summary): Run it.
24591         * manual/terminal.texi: Document MTASC-safety properties.
24593         * manual/filesys.texi: Document MTASC-safety properties.
24595         * manual/errno.texi: Document MTASC-safety properties.
24597         * manual/intro.texi: Document safety identifiers and
24598         conditionals.
24600         * manual/string.texi (wcstok): Fix prototype.
24601         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24603         * manual/time.texi: Document MTASC-safety properties.
24605         * manual/string.texi: Document MTASC-safety properties.
24607         * manual/threads.texi: Document MTASC-safety properties.
24609         * manual/stdio.texi: Document MTASC-safety properties.
24611         * manual/syslog.texi: Document MTASC-safety properties.
24613         * manual/sysinfo.texi: Document MTASC-safety properties.
24615         * manual/startup.texi: Document MTASC-safety properties.
24617         * manual/socket.texi: Document MTASC-safety properties.
24619         * manual/signal.texi: Document MTASC-safety properties.
24621 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
24623         * manual/setjmp.texi: Document MTASC-safety properties.
24625         * manual/search.texi: Document MTASC-safety properties.
24627         * manual/resource.texi: Document MTASC-safety properties.
24629         * manual/process.texi: Document MTASC-safety properties.
24631         * manual/platform.texi: Document MTASC-safety properties.
24633         * manual/pipe.texi: Document MTASC-safety properties.
24635         * manual/pattern.texi: Document MTASC-safety properties.
24637         * manual/message.texi: Document MTASC-safety properties.
24639         [BZ #12751]
24640         * manual/memory.texi: Document MTASC-safety properties.
24642         * manual/math.texi: Document MTASC-safety properties.
24644         * manual/locale.texi: Document MTASC-safety properties.
24646         * manual/llio.texi: Document MTASC-safety properties.
24648         * manual/libdl.texi: New.
24650         * manual/lang.texi: Document MTASC-safety properties.
24652         * manual/job.texi: Document MTASC-safety properties.
24654         * manual/getopt.texi: Document MTASC-safety properties.
24656         * manual/ctype.texi: Document MTASC-safety properties.
24658 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
24660         [BZ #16046]
24661         * csu/libc-tls.c (static_map): Remove variable.
24662         (__libc_setup_tls): Use main executable's link map for TLS data.
24663         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24664         casing for LM_ID_BASE and GL(dl_nns).
24665         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24666         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
24667         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24668         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24669         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24670         member.
24671         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24672         l_phnum members.
24674 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
24676         * manual/debug.texi: Document MTASC-safety properties.
24678 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
24680         [BZ #16510]
24681         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24682         of __x86_64__ when disabling x87 inline functions.
24684 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
24686         * manual/charset.texi: Document MTASC-safety properties.
24688         * manual/crypt.texi: Document MTASC-safety properties.
24690         * manual/conf.texi: Document MTASC-safety properties.
24692         * manual/arith.texi: Document MTASC-safety properties.
24694         * manual/argp.texi: Document MTASC-safety properties.
24696         * manual/macros.texi: Introduce macros to document multi
24697         thread, asynchronous signal and asynchronous cancellation
24698         safety properties.
24699         * manual/intro.texi: Introduce the properties themselves.
24701 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24703         * sysdeps/sh/sh4/Makefile: New file.
24705 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
24707         * math/gen-libm-test.pl ($srcdir): New variable.
24708         ($auto_input): Use it.
24710 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24712         [BZ #16506]
24713         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24714         access beyond array bounds when parsing netgroups file.
24716         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24717         the old buffer before realloc.
24719 2014-01-27  Allan McRae  <allan@archlinux.org>
24721         * po/fr.po: Update French translation from translation project.
24723 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24725         * sysdeps/sh/libm-test-ulps: Regenerate.
24727 2014-01-24  David S. Miller  <davem@davemloft.net>
24729         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24731 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24733         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24734         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24736 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24738         [BZ #16474]
24739         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24740         string pointers after reallocation.
24742 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24744         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24745         __SH4A__ instead of __SH_FPU_ANY__.
24747 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24749         * sysdeps/sh/fpu_control.h: New file.
24750         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24751         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24752         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24753         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24754         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24755         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24756         * sysdeps/sh/sys/ucontext.h: Remove.
24757         * sysdeps/sh/sys: Remove directory.
24759 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24761         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24762         s390/sys/ucontext.h.
24763         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24764         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24766 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
24768         [BZ #15605]
24769         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24771 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24773         [BZ#16431]
24774         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24775         Adjust the vDSO correctly for internal calls.
24776         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24778 2014-01-20  Allan McRae  <allan@archlinux.org>
24780         * po/ca.po: Update Catalan translation from translation project.
24782 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
24784         * sysdeps/s390/sotruss-lib.c: New file.
24786 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24788         [BZ#16430]
24789         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24790         (__GI___gettimeofday): Alias for a different internal symbol to avoid
24791         local calls issues by not having a PLT stub required for IFUNC calls.
24792         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24794 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
24796         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24797         * math/test-fpucw-static.c: Likewise.
24799 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24801         [BZ #16453]
24802         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24804 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24806         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24807         implementation for powerpc.
24809 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
24811         [BZ #14782]
24812         * sysdeps/posix/system.c (__libc_system): Do not enable
24813         asynchronous cancellation.
24815 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24817         [BZ #16427]
24818         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24819         handling only for numbers special also in the IEEE case.
24821 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24823         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24825 2014-01-11  Allan McRae  <allan@archlinux.org>
24827         * po/bg.po: Update Bulgarian translation from translation project.
24829         * po/de.po: Update German translation from translation project.
24831 2014-01-10  Roland McGrath  <roland@hack.frob.com>
24833         * sysdeps/generic/gcc-compat.h: New file.
24835 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24837         * benchtests/asin-inputs: Correct slow inputs.
24838         * benchtests/acos-inputs: Likewise.
24840 2014-01-10  Allan McRae  <allan@archlinux.org>
24842         * po:sv.po: Update Swedish translation from translation project.
24844         * po/vi.po: Update Vietnamese translation from translation project.
24846         * po/eo.po: Update Esperanto translation from translation project.
24848         * po/cs.po: Update Czech translation from translation project.
24850         * po/nl.po: Update Dutch translation from translation project.
24852         * po/pl.po: Update Polish translation from translation project.
24854         * po/ru.po: Update Russian translation from translation project.
24856         * po/uk.po: Update Ukrainian translation from translation project.
24858 2014-01-08  Brooks Moses  <bmoses@google.com>
24860         * elf/dl-load.c: Fix comment typo.
24862 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
24864         * po/header.pot: Rename to...
24865         * po/pot.header: ... this.
24866         * po/Makefile: Use pot.header.
24868 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
24869             Maxim Kuvyrkov  <maxim@kugelworks.com>
24871         [BZ #16394]
24872         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24873         SRC and DEST against LEN.
24875 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24877         [BZ #16414]
24878         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24879         implementation.
24880         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24882 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24886 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
24888         [BZ #16408]
24889         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24890         for large positive arguments.
24892 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
24894         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24896         * math/auto-libm-test-in: Mark various tests with
24897         xfail-rounding:ldbl-128ibm.
24898         * math/auto-libm-test-out: Regenerated.
24900         [BZ #16407]
24901         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24902         Increase overflow threshold.
24904 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
24906         [BZ #14286]
24907         * stdio-common/vfprintf.c: Check for integer overflow.
24909 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24911         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24912         the first argument and return value of __tls_get_addr_internal.
24914 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24916         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24917         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24919 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24921         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24922         * sysdeps/s390/rtld-global-offsets.sym: New file.
24923         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24924         GLIBC_2.19 symbol.
24925         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24926         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24927         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24928         ... this.
24929         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24930         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24931         ... this.
24932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24933         Regenerate.
24934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24935         Regenerate.
24936         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24937         halfs of GPRs for high_gprs contexts.
24938         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24939         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
24940         field.
24941         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24942         uc_flags field.
24943         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24944         64 bit versions:
24945         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24946         for high GPRs (uc_high_gprs) and for future extensions
24947         (__reserved).
24948         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24949         for future extensions (__reserved).
24950         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24951         64 bit versions:
24952         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24953         SC_HIGHGPRS offset definition.
24954         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24955         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24957         * Versions.def: Add GLIBC_2.19 for libpthread.
24958         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24959         siglongjmp for libpthread with GLIBC_2.19 symver.
24960         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24961         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24962         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24963         * sysdeps/s390/__longjmp.c: New file.
24964         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24965         * sysdeps/s390/longjmp.c: New file.
24966         * sysdeps/s390/setjmp.S: New file.
24967         * sysdeps/s390/sigjmp.S: New file.
24968         * sysdeps/s390/v1-longjmp.c: New file.
24969         * sysdeps/s390/v1-setjmp.h: New file.
24970         * sysdeps/s390/v1-sigjmp.c: New file.
24971         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24972         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24973         GLIBC_2.19 version.
24974         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24975         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24976         versioned symbols for ____longjmp_chk.
24977         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24978         Likewise.
24979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24980         Regenerate.
24981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24982         Regenerate.
24983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24984         Regenerate.
24985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24986         Regenerate.
24987         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24988         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24989         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24990         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24991         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24992         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24993         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24994         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24995         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24996         * sysdeps/s390/rtld-__longjmp.c: New file.
24997         * sysdeps/s390/rtld-setjmp.S: New file.
24999 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25001         [BZ #16400]
25002         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25003         Return -__logl (x) for small positive arguments without evaluating
25004         a polynomial.
25006 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25008         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25009         Rename to ...
25010         (__ptrace_peeksiginfo_args): ... this.
25011         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25012         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25013         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25015 2014-01-06  Allan McRae  <allan@archlinux.org>
25017         * inet/netinet/in.h: Fix typo in comment.
25019 2014-01-05  Andreas Jaeger  <aj@suse.de>
25021         * sysdeps/i386/fpu/libm-test-ulps: Update.
25023 2014-01-05  Allan McRae  <allan@archlinux.org>
25025         * po/libc.pot: Regenerated.
25027         * malloc/memusagestat.c: Fix gettext call formatting.
25029 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25031         * nscd/nscd.c: Improve usage() output.
25033 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25035         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25036         * sysdeps/unix/sysv/linux/configure: Regenerated.
25037         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25038         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25040 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25042         [BZ #16390]
25043         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25044         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25046 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25048         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25049         extra tokens at end of #undef directive.
25050         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25051         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25052         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25054 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25056         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25058         * math/auto-libm-test-in: Mark various tests with
25059         xfail-rounding:ldbl-128ibm.
25060         * math/auto-libm-test-out: Regenerated.
25062 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25064         [BZ #16386]
25065         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25066         numbers with subnormal high part when calculating exponent.
25068         [BZ #16385]
25069         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25070         fabs.
25072         [BZ #16384]
25073         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25074         M_LN2l.
25075         (__ieee754_acoshl): Use __log1pl not __log1p.
25077 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25079         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25080         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25081         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25082         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25083         (reused_arena, arena_get2): Convert to GNU style.
25084         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25085         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25086         (memalign_check, __malloc_set_state): Likewise.
25087         * malloc/mallocbug.c (main): Likewise.
25088         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25089         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25090         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25091         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25092         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25093         (__posix_memalign, malloc_info): Likewise.
25094         * malloc/malloc.h: Likewise.
25095         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25096         (mallochook, memalignhook, reallochook, mabort): Likewise.
25097         * malloc/mcheck.h: Likewise.
25098         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25099         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25100         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25101         * malloc/morecore.c (__default_morecore): Likewise.
25102         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25103         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25104         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25105         (print_and_abort): Likewise.
25106         * malloc/obstack.h: Likewise.
25107         * malloc/set-freeres.c (__libc_freeres): Likewise.
25108         * malloc/tst-mallocstate.c (main): Likewise.
25109         * malloc/tst-mtrace.c (main): Likewise.
25110         * malloc/tst-realloc.c (do_test): Likewise.
25112 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25114         [BZ #16366]
25115         * nscd/netgroupcache.c (do_notfound): New function.
25116         (addgetnetgrentX): Use it.
25118         [BZ # 16365]
25119         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25120         NSS_STATUS_NOTFOUND.
25122 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25124         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25127 2014-01-01  Allan McRae  <allan@archlinux.org>
25129         * scripts/update-copyrights: Update configure input file suffix.
25131         * NEWS: Update copyright year.
25132         * catgets/gencat.c: Likewise.
25133         * csu/version.c: Likewise.
25134         * debug/catchsegv.sh: Likewise.
25135         * debug/pcprofiledump.c: Likewise.
25136         * debug/xtrace.sh: Likewise.
25137         * elf/ldconfig.c: Likewise.
25138         * elf/ldd.bash.in: Likewise.
25139         * elf/pldd.c: Likewise.
25140         * elf/sotruss.ksh: Likewise.
25141         * elf/sprof.c: Likewise.
25142         * iconv/iconv_prog.c: Likewise.
25143         * iconv/iconvconfig.c: Likewise.
25144         * locale/programs/locale.c: Likewise.
25145         * locale/programs/localedef.c: Likewise.
25146         * login/programs/pt_chown.c: Likewise.
25147         * malloc/memusage.sh: Likewise.
25148         * malloc/memusagestat.c: Likewise.
25149         * malloc/mtrace.pl: Likewise.
25150         * manual/libc.texinfo: Likewise.
25151         * nscd/nscd.c: Likewise.
25152         * nss/getent.c: Likewise.
25153         * nss/makedb.c: Likewise.
25154         * posix/getconf.c: Likewise.
25155         * scripts/test-installation.pl: Likewise.
25157         * All files with FSF copyright notices: Update copyright dates
25158         using scripts/update-copyrights.
25159         * intl/plural.c: Regenerated.
25160         * locale/programs/charmap-kw.h: Likewise.
25161         * locale/programs/locfile-kw.h: Likewise.
25163 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25165         * sysdeps/unix/sysv/linux/configure: Regenerated.
25166         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25167         the linux/fanotify.h header.
25168         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25169         HAVE_LINUX_FANOTIFY_H is defined.
25171 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25173         * benchtests/cos-inputs: New inputs.
25174         * benchtests/sin-inputs: Likewise.
25176         * benchtests/atan-inputs: New inputs. Fix name of multiple
25177         precision fallback inputs.
25179         * benchtests/atanh-inputs: New inputs.
25180         * benchtests/tanh-inputs: Likewise.
25182         * benchtests/acosh-inputs: New inputs.
25183         * benchtests/asinh-inputs: Likewise.
25185         * benchtests/cosh-inputs: New inputs.
25186         * benchtests/sinh-inputs: Likewise.
25188         * benchtests/acos-inputs: Add more inputs.
25189         * benchtests/asin-inputs: Likewise.
25191 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
25193         [BZ #16375]
25194         * manual/arith.texi: Fix spelling.
25195         * manual/charset.texi: Likewise.
25196         * manual/errno.texi: Likewise.
25197         * manual/filesys.texi: Likewise.
25198         * manual/lang.texi: Likewise.
25199         * manual/llio.texi: Likewise.
25200         * manual/locale.texi: Likewise.
25201         * manual/message.texi: Likewise.
25202         * manual/resource.texi: Likewise.
25203         * manual/search.texi: Likewise.
25204         * manual/setjmp.texi: Likewise.
25205         * manual/stdio.texi: Likewise.
25206         * manual/string.texi: Likewise.
25207         * manual/sysinfo.texi: Likewise.
25208         * manual/time.texi: Likewise.
25210 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
25212         * po/sl.po: New file.
25214 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
25216         * .gitignore: Add core/.gdbinit/.gdb_history.
25218 2013-12-27  Allan McRae  <allan@archlinux.org>
25220         [BZ #16369]
25221         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25222         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25224 2013-12-24  Brooks Moses  <bmoses@google.com>
25226         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25227         all compilers that claim C++98 compliance, not just GCC.
25228         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25229         Likewise.
25231 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25233         * NEWS: Restore accidentally deleted bug-fix entries.
25235 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25236             Ondřej Bílka  <neleai@seznam.cz>
25238         [BZ #15073]
25239         * malloc/malloc.c (_int_free): Perform sanity check only if we
25240         have_lock.
25242 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
25244         [BZ #12986]
25245         * manual/stdio.texi (String Input Conversions): Clarify that character
25246         classes are not supported.
25248 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25252 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
25254         [BZ #16337]
25255         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25256         Calculate results for small negative arguments directly rather
25257         than using reflection formula with special underflow handling.
25259         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25260         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25261         sysdeps/unix/bsd/bsd4.4/syscalls.list.
25262         (fchflags): Likewise.
25263         (revoke): Likewise.
25264         (setlogin): Likewise.
25265         (sigaltstack): Likewise.
25266         (wait4): Likewise.
25267         (sigblock): Remove.
25268         (sigsetmask): Likewise.
25269         (wait3): Likewise.
25270         (waitpid): Likewise.
25271         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25272         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25273         file.
25274         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
25275         * sysdeps/unix/bsd/Makefile: ... here.
25276         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
25277         * sysdeps/unix/bsd/Versions: ... here.
25278         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25279         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25280         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25281         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25282         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25283         * sysdeps/unix/bsd/sigblock.c: ... here.
25284         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25285         * sysdeps/unix/bsd/sigsetmask.c: ... here.
25286         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25287         * sysdeps/unix/bsd/sigvec.c: ... here.
25288         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25289         * sysdeps/unix/bsd/tcdrain.c: ... here.
25290         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25291         * sysdeps/unix/bsd/tcgetattr.c: ... here.
25292         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25293         * sysdeps/unix/bsd/tcsetattr.c: ... here.
25294         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25295         * sysdeps/unix/bsd/wait.c: ... here.
25296         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25297         * sysdeps/unix/bsd/wait3.c: ... here.
25298         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25299         * sysdeps/unix/bsd/waitpid.c: ... here.
25301 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
25303         [BZ #16356]
25304         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25305         round-to-nearest for [!USE_AS_EXPM1L].
25306         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25307         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
25308         more tests of exp and exp10.  Expect some exp10 tests to miss
25309         exceptions or fail in directed rounding modes.
25310         * math/auto-libm-test-out: Regenerated.
25311         * math/libm-test.inc (exp10_tonearest_test_data): New array.
25312         (exp10_test_tonearest): New function.
25313         (exp10_towardzero_test_data): New array.
25314         (exp10_test_towardzero): New function.
25315         (exp10_downward_test_data): New array.
25316         (exp10_test_downward): New function.
25317         (exp10_upward_test_data): New array.
25318         (exp10_test_upward): New function.
25319         (main): Call the new functions.
25320         * sysdeps/i386/fpu/libm-test-ulps: Update.
25321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25323 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
25325         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25326         asinh, atan, atan2, atanh, cbrt, cos and cosh.
25327         * math/auto-libm-test-out: Regenerated.
25328         * math/libm-test.inc (acosh_test_data): Add more tests.
25329         (atanh_test_data): Likewise.
25330         (ceil_test_data): Likewise.
25331         (copysign_test_data): Likewise.
25332         * sysdeps/i386/fpu/libm-test-ulps: Update.
25333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25335         * timezone/checktab.awk: Update from tzcode 2013i.
25336         * timezone/private.h: Likewise.
25337         * timezone/scheck.c: Likewise.
25338         * timezone/tzfile.h: Likewise.
25339         * timezone/tzselect.ksh: Likewise.
25340         * timezone/zdump.c: Likewise.
25341         * timezone/zic.c: Likewise.
25343         * math/auto-libm-test-in: Add tests of cpow.
25344         * math/auto-libm-test-out: Regenerated.
25345         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
25346         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25347         mpc_cc_c.
25348         (func_calc_desc): Add mpc_cc_c union field.
25349         (test_functions): Add cpow.
25350         (special_fill_2pi): New function.
25351         (special_real_inputs): Add 2pi.
25352         (calc_generic_results): Handle mpc_cc_c.
25353         * sysdeps/i386/fpu/libm-test-ulps: Update.
25354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25356         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
25357         csqrt, ctan and ctanh.
25358         * math/auto-libm-test-out: Regenerated.
25359         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25360         (TEST_COND_x86): Likewise.
25361         (ccos_test_data): Use AUTO_TESTS_c_c.
25362         (ccosh_test_data): Likewise.
25363         (cexp_test_data): Likewise.
25364         (clog_test_data): Likewise.
25365         (csqrt_test_data): Likewise.
25366         (ctan_test_data): Likewise.
25367         (ctan_tonearest_test_data): Likewise.
25368         (ctan_towardzero_test_data): Likewise.
25369         (ctan_downward_test_data): Likewise.
25370         (ctan_upward_test_data): Likewise.
25371         (ctanh_test_data): Likewise.
25372         (ctanh_tonearest_test_data): Likewise.
25373         (ctanh_towardzero_test_data): Likewise.
25374         (ctanh_downward_test_data): Likewise.
25375         (ctanh_upward_test_data): Likewise.
25376         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25377         mpc_c_c.
25378         (func_calc_desc): Add mpc_c_c union field.
25379         (FUNC_mpc_c_c): New macro.
25380         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
25381         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
25382         ctanh.
25383         (special_fill_min_subnorm_p120): New function.
25384         (special_real_inputs): Add min_subnorm_p120.
25385         (calc_generic_results): Handle mpc_c_c.
25386         * sysdeps/i386/fpu/libm-test-ulps: Update.
25387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25389 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25391         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25392         (do_sin_slow): New functions.
25393         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25394         (cslow2, csloww1, csloww2): Use the new functions.
25396         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25397         Use M to change sign of result instead of X.  Assume X is
25398         positive.
25399         (csloww1): Likewise.
25400         (__sin): Adjust.
25401         (__cos): Adjust.
25403         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25404         arguments A and DA.
25405         (__sin): Adjust.
25406         (__cos): Likewise.
25408         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25409         (__cos): Likewise.
25410         (sloww1): Don't adjust sign of DX.
25411         (csloww1): Likewise.
25412         (sloww2): Use X directly and don't adjust sign of DX.
25413         (csloww2): Likewise.
25415 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25417         * math/auto-libm-test-in: Add tests of cabs and carg.
25418         * math/auto-libm-test-out: Regenerated.
25419         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25420         (carg_test_data): Likewise.
25421         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25422         mpc_c_f.
25423         (func_calc_desc): Add mpc_c_f union field.
25424         (test_functions): Add cabs and carg.
25425         (calc_generic_results): Handle mpc_c_f.
25427         * sysdeps/powerpc/powerpc32/libgcc-compat.S
25428         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25429         as a macro and a compat symbol.
25430         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25431         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25432         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25433         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25434         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25435         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25436         not use .hidden.
25437         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25438         Likewise.
25439         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25440         Likewise.
25441         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25442         Likewise.
25443         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25444         Likewise.
25445         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25446         Likewise.
25447         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25448         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25449         from GLIBC_2.3.2.
25451 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25455 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25457         * manual/texinfo.tex: Update to version 2013-11-26.10 with
25458         trailing whitespace removed.
25459         * scripts/config.guess: Update to version 2013-11-29.
25460         * scripts/config.sub: Update to version 2013-10-01.
25462         * math/auto-libm-test-in: Add tests of sincos.
25463         * math/auto-libm-test-out: Regenerated.
25464         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25465         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25466         mpfr_f_11.
25467         (func_calc_desc): Add mpfr_f_11 union field.
25468         (test_functions): Add sincos.
25469         (calc_generic_results): Handle mpfr_f_11.
25470         * sysdeps/i386/fpu/libm-test-ulps: Update.
25471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25473 2013-12-19  Andreas Schwab  <schwab@suse.de>
25475         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25476         CALL_MCOUNT.
25477         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25478         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25479         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25481 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25483         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25484         * sysdeps/i386/fpu/libm-test-ulps: Update.
25485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25487         [BZ #16293]
25488         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25489         round-to-nearest mode when using frndint.
25490         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25491         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25492         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25493         Likewise.
25494         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
25495         sinh test to fail.
25496         * math/auto-libm-test-out: Regenerated.
25497         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25498         (TEST_COND_x86): Likewise.
25499         (expm1_tonearest_test_data): New array.
25500         (expm1_test_tonearest): New function.
25501         (expm1_towardzero_test_data): New array.
25502         (expm1_test_towardzero): New function.
25503         (expm1_downward_test_data): New array.
25504         (expm1_test_downward): New function.
25505         (expm1_upward_test_data): New array.
25506         (expm1_test_upward): New function.
25507         (main): Run the new test functions.
25508         * sysdeps/i386/fpu/libm-test-ulps: Update.
25509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25511         * include/features.h: Update comment documenting feature test
25512         macros.  Mention _DEFAULT_SOURCE in comment.
25513         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25514         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25515         _BSD_SOURCE and _SVID_SOURCE.
25516         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25517         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25518         !_SVID_SOURCE]: Likewise.
25519         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25520         (__USE_POSIX_IMPLICITLY): Define.
25521         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25522         (_POSIX_SOURCE): Undefine and redefine.
25523         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25524         (_POSIX_C_SOURCE): Likewise.
25525         * manual/creature.texi (_DEFAULT_SOURCE): Document.
25526         (Feature Test Macros): Update documentation of default features.
25528 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25530         * benchtests/Makefile: Add bench-strtok.
25531         * benchtests/bench-strtok.c: New file: strtok benchtest.
25533 2013-12-19  Allan McRae  <allan@archlinux.org>
25535         * manual/install.texi: Suppress menu for plain text output.
25536         * INSTALL: Regenerated.
25538 2013-12-18  Brooks Moses  <bmoses@google.com>
25540         [BZ #15846]
25541         * misc/getauxval.c: Include errno.h.
25542         (__getauxval): Set errno to ENOENT if the requested type is not
25543         found.
25544         * misc/sys/auxv.h (getauxval): Document that it may set errno;
25545         don't declare with __attribute_const__.
25546         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25547         * manual/startup.texi: Document that getauxval sets errno.
25549 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25551         * math/auto-libm-test-in: Add tests of jn and yn.
25552         * math/auto-libm-test-out: Regenerated.
25553         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25554         (yn_test_data): Likewise.
25555         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25556         mpfr_if_f.
25557         (func_calc_desc): Add mpfr_if_f union field.
25558         (FUNC_mpfr_if_f): New macro.
25559         (test_functions): Add jn and yn.
25560         (calc_generic_results): Assert type of second input for
25561         mpfr_ff_f.  Handle mpfr_if_f.
25562         (output_for_one_input_case): Disable all checking for arguments
25563         fitting floating-point types in case of an integer argument.
25564         * sysdeps/i386/fpu/libm-test-ulps: Update.
25565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25568         Don't expect fegetround reference in libm.so.
25570 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25572         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25573         $(config-cflags-nofma).
25575 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25577         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25578         * math/auto-libm-test-out: Regenerated.
25580         [BZ #16338]
25581         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25582         to determine exponent and adjust argument to have exponent of -1.
25583         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25584         log2.
25585         * math/auto-libm-test-out: Regenerated.
25586         * sysdeps/i386/fpu/libm-test-ulps: Update.
25587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25589 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
25591         * manual/probes.texi: Remove cases when per-thread arenas are
25592         disabled.
25594 2013-12-18  Andreas Schwab  <schwab@suse.de>
25596         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25597         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25598         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25599         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25600         * sysdeps/i386/i686/multiarch/Makefile: Update.
25601         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25603 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25605         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25606         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25608 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
25610         [BZ #15968]
25611         Support TZ transition times < 00:00:00.
25612         This is needed for version-3 tz-format files; it supports time
25613         stamps past 2037 for America/Godthab (the only entry in the tz
25614         database for which this change is relevant).
25615         * manual/time.texi (TZ Variable): Document transition times
25616         from -167:59:59 through -00:00:01.
25617         * time/tzset.c (tz_rule): Time of day is now signed.
25618         (__tzset_parse_tz): Parse negative time of day.
25620         Document TZ transition times >= 25:00:00.
25621         * manual/time.texi (TZ Variable): Document transition times from
25622         25:00:00 through 167:59:59.  These are already supported, and this
25623         support will help with version-3 tz-format files.
25625         * manual/time.texi (TZ Variable): Modernize North America example
25626         to reflect current (i.e., 2007-and-later) daylight saving rules.
25628         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25630 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25632         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25633         * sysdeps/unix/bsd/bits/stat.h: Likewise.
25634         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25635         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25636         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25637         * sysdeps/unix/bsd/bsdstat.h: Likewise.
25638         * sysdeps/unix/bsd/clock.c: Likewise.
25639         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25640         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25641         * sysdeps/unix/bsd/init-posix.c: Likewise.
25642         * sysdeps/unix/bsd/poll.c: Likewise.
25643         * sysdeps/unix/bsd/ptsname.c: Likewise.
25644         * sysdeps/unix/bsd/seekdir.c: Likewise.
25645         * sysdeps/unix/bsd/setegid.c: Likewise.
25646         * sysdeps/unix/bsd/seteuid.c: Likewise.
25647         * sysdeps/unix/bsd/setgid.c: Likewise.
25648         * sysdeps/unix/bsd/setrgid.c: Likewise.
25649         * sysdeps/unix/bsd/setruid.c: Likewise.
25650         * sysdeps/unix/bsd/setsid.c: Likewise.
25651         * sysdeps/unix/bsd/setuid.c: Likewise.
25652         * sysdeps/unix/bsd/sigaction.c: Likewise.
25653         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25654         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25655         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25656         * sysdeps/unix/bsd/telldir.c: Likewise.
25657         * sysdeps/unix/bsd/times.c: Likewise.
25658         * sysdeps/unix/bsd/usleep.c: Likewise.
25660         * misc/Makefile (install-lib): Remove libbsd-compat.a.
25661         ($(objpfx)libbsd-compat.a): Remove rule.
25663         * include/features.h (__FAVOR_BSD): Do not define.
25664         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25665         features conflicting with POSIX.
25666         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25667         (_BSD_SOURCE): Remove description of not being a subset of other
25668         feature test macros.
25669         * manual/job.texi (getpgrp): Do not document BSD version.
25670         (getpgid): Do not document by reference to BSD getpgrp.
25671         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25672         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25673         * signal/signal.h [__FAVOR_BSD]: Likewise.
25674         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25675         instead of making contents conditional on [__FAVOR_BSD].
25676         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25678 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25682 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25684         [BZ #16314]
25685         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25686         values below 2**-450, not 2**-500.
25687         * math/auto-libm-test-in: Don't allow spurious underflow from
25688         hypot.
25689         * math/auto-libm-test-out: Regenerated.
25691         [BZ #16316]
25692         [BZ #16330]
25693         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25694         values of ha and hb and sort them after adjusting subnormal
25695         arguments.
25696         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25697         Likewise.
25698         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25699         values of ea and eb and sort them after adjusting subnormal
25700         arguments.
25701         * math/auto-libm-test-in: Do not expect some hypot tests of
25702         subnormals to fail.  Add more hypot tests.
25703         * math/auto-libm-test-out: Regenerated.
25705 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25707         [BZ #13304]
25708         * sysdeps/sh/s_fma.c: New file.
25709         * sysdeps/sh/s_fmaf.c: New file.
25710         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
25711         version.
25712         * sysdeps/sh/Implies: Add sh/soft-fp.
25714 2013-12-16  Roland McGrath  <roland@hack.frob.com>
25716         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
25717         level of indirection to members `objname', `errstring', `malloced'.
25718         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25719         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
25720         it as the __longjmp argument (just pass 1 instead).
25721         (_dl_catch_error): Initialize C with argument pointers and address of
25722         volatile local ERRCODE rather than copying values out of C at return.
25724 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
25726         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25727         * math/auto-libm-test-out: Regenerated.
25728         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25729         (hypot_test_data): Likewise.
25730         (pow_test_data): Likewise.
25731         (pow_tonearest_test_data): Likewise.
25732         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25733         mpfr_ff_f.
25734         (func_calc_desc): Add mpfr_ff_f union field.
25735         (FUNC_mpfr_ff_f): New macro.
25736         (test_functions): Add atan2, hypot and pow.
25737         (special_fill_min): New function.
25738         (special_fill_minus_min): Likewise.
25739         (special_fill_min_subnorm): Likewise.
25740         (special_fill_minus_min_subnorm): Likewise.
25741         (special_real_inputs): Add min, -min, min_subnorm and
25742         -min_subnorm.
25743         (calc_generic_results): Handle mpfr_ff_f.
25744         * sysdeps/i386/fpu/libm-test-ulps: Update.
25745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25747 2013-12-16  Will Newton  <will.newton@linaro.org>
25749         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25750         (Aligned Memory Blocks): Add documentation for aligned_alloc
25751         and suggest it as an alternative to posix_memalign.
25752         (Hooks for Malloc): Document __memalign_hook is also called
25753         for aligned_alloc.  (Summary of Malloc): Add summary for
25754         aligned alloc.  Document __memalign_hook is also called
25755         for aligned_alloc.
25757 2013-12-16  Will Newton  <will.newton@linaro.org>
25759         * manual/memory.texi (Malloc Examples): Clarify default
25760         alignment documentation.  Suggest posix_memalign rather
25761         than memalign or valloc.
25762         (Aligned Memory Blocks): Remove suggestion to use memalign
25763         or valloc.  Remove obsolete comment about BSD.
25764         Document memalign errno values and mark the function obsolete.
25765         Document posix_memalign returned error codes.  Mark valloc
25766         as obsolete.  (Hooks for Malloc): __memalign_hook is also
25767         called for posix_memalign and valloc.
25768         (Summary of Malloc): Add posix_memalign to function summary.
25769         __memalign_hook is also called for posix_memalign and valloc.
25771 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25773         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25774         TAYLOR_SIN.
25775         (__sin): Adjust.
25776         (__cos): Likewise.
25777         (sloww): Use mynumber union.  Expand ternary operator into
25778         if-else statements.
25779         (cslow): use mynumber union.
25781 2013-12-16  Allan McRae  <allan@archlinux.org>
25783         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25784         * configure: Regenerated.
25786         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25788         [BZ #14120]
25789         * configure.ac: Added --enable-maintainer-mode. Check for
25790         autoconf when enabled.
25791         * configure: Regenerated.
25793         * nscd/nscd.service: New file.
25794         * nscd/nscd.tmpfiles: New file.
25796 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
25798         [BZ #12100]
25799         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25800         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25801         * sysdeps/x86_64/multiarch/strstr.c: ... here.
25802         (strstr): Add __strstr_sse2_unaligned ifunc.
25803         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25804         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25805         (strcasestr): Remove __strcasestr_sse42 ifunc.
25806         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25807         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25808         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25810 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25812         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25813         * sysdeps/sh/bits/fenv.h: ... here.
25814         * sysdeps/sh/sh4/fpu/bits: Remove directory.
25816 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25818         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25820         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25821         hypotf multiarch implementations.
25822         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25823         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25824         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25825         multiarch hypot for PPC64.
25826         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25827         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25828         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25829         multiarch hypotf for PPC64.
25831         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25832         modff multiarch implementations.
25833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25836         multiarch modf for PPC64.
25837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25840         multiarch modff for PPC64.
25842         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25843         and logl multiarch implementations.
25844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25847         multiarch logb for PPC64.
25848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25851         multiarch logb for PPC64.
25852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25855         multiarch logb for PPC64.
25857         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25858         isinff multiarch implementation.
25859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25860         file.
25861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25863         multiarch isinf for PPC64.
25864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25865         file.
25866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25867         multiarch isinff for PPC64.
25869         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25870         finitef multiarch implementation.
25871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25872         file.
25873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25875         multiarch finite for PPC64.
25876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25877         file.
25878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25879         multiarch finitef for PPC64.
25881         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25882         lrint multiarch implementation.
25883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25884         file.
25885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25887         multiarch llrint for PPC64.
25888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25889         multiarch lrint for PPC64.
25891         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25892         copysignf multiarch implementation.
25893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25894         file.
25895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25896         file.
25897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25898         multiarch copysign for PPC64.
25899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25900         multiarch copysignf for PPC64.
25902         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25903         multiarch implementation.
25904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25905         file.
25906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25907         file.
25908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25909         file.
25910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25911         file.
25912         multiarch llround for PPC64.
25913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25914         multiarch trunc for PPC64.
25915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25916         multiarch truncf for PPC64.
25918         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25919         multiarch implementation.
25920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25921         file.
25922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25923         file.
25924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25925         file.
25926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25927         file.
25928         multiarch llround for PPC64.
25929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25930         multiarch round for PPC64.
25931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25932         multiarch roundf for PPC64.
25934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25935         multiarch implementation.
25936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25937         file.
25938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25939         file.
25940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25941         file.
25942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25943         file.
25944         multiarch llround for PPC64.
25945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25946         multiarch floor for PPC64.
25947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25948         multiarch floorf for PPC64.
25950         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25951         multiarch implementation.
25952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25953         file.
25954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25955         file.
25956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25957         file.
25958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25959         file.
25960         multiarch llround for PPC64.
25961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25962         multiarch ceil for PPC64.
25963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25964         multiarch ceilf for PPC64.
25966         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25967         multiarch implementation.
25968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25969         file.
25970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25971         file.
25972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25973         file.
25974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25975         multiarch llround for PPC64.
25976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25977         multiarch lround for PPC64.
25979         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25980         multiarch implementation.
25981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25984         file.
25985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25988         multiarch isnan for PPC64.
25989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25990         multiarch isnanf for PPC64.
25992         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25993         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25994         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25995         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25996         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25999         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26000         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26001         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26002         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26005         multiarch implementations.
26006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26007         (__libc_ifunc_impl_list): Likewise.
26008         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26009         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26010         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26011         multiarch stpcpy for PPC64.
26013         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26014         multiarch implementations.
26015         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26016         (__libc_ifunc_impl_list): Likewise.
26017         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26018         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26019         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26020         multiarch strcpy for PPC64.
26022         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26023         redefine function name.
26024         (_wordcopy_fwd_dest_aligned): Likewise.
26025         (_wordcopy_bwd_aligned): Likewise.
26026         (_wordcopy_bwd_dest_aligned): Likewise.
26027         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26028         multiarch implementations.
26029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26030         (__libc_ifunc_impl_list): Likewise.
26031         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26032         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26033         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26034         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26035         multiarch wcscpy for PPC64.
26037         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26038         multiarch implementations.
26039         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26040         (__libc_ifunc_impl_list): Likewise.
26041         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26042         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26043         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26044         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26045         multiarch wcscpy for PPC64.
26047         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26048         multiarch implementations.
26049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26050         (__libc_ifunc_impl_list): Likewise.
26051         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26052         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26053         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26054         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26055         multiarch wcsrchr for PPC64.
26057         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26058         multiarch implementations.
26059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26060         (__libc_ifunc_impl_list): Likewise.
26061         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26062         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26063         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26064         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26065         multiarch wcschr for PPC64.
26067         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26068         multiarch implementations.
26069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26070         (__libc_ifunc_impl_list): Likewise.
26071         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26072         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26073         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26074         multiarch strchrnul for PPC64.
26076         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26077         implementations.
26078         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26079         (__libc_ifunc_impl_list): Likewise.
26080         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26081         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26082         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26083         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26084         strchr for PPC64.
26086         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26087         implementations.
26088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26089         (__libc_ifunc_impl_list): Likewise.
26090         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26091         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26092         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26093         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26094         strncmp for PPC64.
26096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26097         multiarch implementations.
26098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26099         (__libc_ifunc_impl_list): Likewise.
26100         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26101         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26102         strncasecmp for PPC64.
26103         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26104         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26105         multiarch strncasecmp_l for PPC64.
26107         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26108         multiarch implementations.
26109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26110         (__libc_ifunc_impl_list): Likewise.
26111         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26112         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26113         multiarch strcasecmp for PPC64.
26114         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26115         file.
26116         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26117         multiarch strcasecmp_l for PPC64.
26119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26120         implementations.
26121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26122         (__libc_ifunc_impl_list): Likewise.
26123         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26124         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26125         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26126         strnlen for PPC64.
26128         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26129         implementations.
26130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26131         (__libc_ifunc_impl_list): Likewise.
26132         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26133         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26134         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26135         strlen for PPC64.
26137         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26138         implementations.
26139         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26140         (__libc_ifunc_impl_list): Likewise.
26141         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26142         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26143         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26144         rawmemrchr for PPC64.
26146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26147         implementation.
26148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26149         (__libc_ifunc_impl_list): Likewise.
26150         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26151         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26152         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26153         memrchr for PPC64.
26155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26156         implementation.
26157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26158         (__libc_ifunc_impl_list): Likewise.
26159         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26160         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26161         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26162         memchr for PPC64.
26164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26165         implementation.
26166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26167         (__libc_ifunc_impl_list): Likewise.
26168         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26169         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26170         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26171         mempcpy for PPC64.
26173         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26174         avoid cretion of __bzero symbol.
26175         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26176         Likewise.
26177         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26178         Likewise.
26179         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26180         Likewise.
26181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26182         multiarch implementations.
26183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26184         (__libc_ifunc_impl_list): Likewise.
26185         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26186         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26187         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26188         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26189         bzero for PPC32.
26190         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26191         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26192         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26193         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26194         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26195         memset for PPC64.
26196         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26198         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26200         implementations.
26201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26202         (__libc_ifunc_impl_list): Likewise.
26203         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26204         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26205         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26206         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26207         memcmp for PPC64.
26209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26210         multiarch for POWER/PPC64.
26211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26212         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26213         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26214         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26215         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26216         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26217         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26218         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26219         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26220         memcpy for PPC64.
26222         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26223         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26224         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26225         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26226         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26227         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26228         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26229         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26230         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26231         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26232         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26233         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26234         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26235         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26236         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26245 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26247         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26249 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26251         * benchtests/Makefile (bench): Add exp2 and log2.
26252         (LDLIBS-bench-exp2): Add -lm.
26253         (LDLIBS-bench-log2): Likewise.
26254         * benchtests/exp2-inputs: New inputs file.
26255         * benchtests/log2-inputs: New inputs file.
26256         * benchtests/log-inputs: Add new inputs.
26257         * benchtests/tan-inputs: Likewise.
26259 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26261         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26262         definition...
26263         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26264         (csloww2): ... from here.
26266         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26267         instead of structures.
26268         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26269         (POLYNOMIAL): Likewise.
26270         (TAYLOR_SLOW): Likewise.
26271         (__sin): Likewise.
26272         (__cos): Likewise.
26273         (slow1): Likewise.
26274         (slow2): Likewise.
26275         (sloww): Likewise.
26276         (sloww1); Likewise.
26277         (sloww2): Likewise.
26278         (bsloww1): Likewise.
26279         (bsloww2): Likewise.
26280         (cslow2): Likewise.
26281         (csloww): Likewise.
26282         (csloww1): Likewise.
26283         (csloww2): Likewise.
26285 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
26287         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26288         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26289         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26290         * malloc/hooks.c (realloc_check): Likewise.
26292         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26293         * malloc/arena.c: Remove PER_THREAD conditional.
26294         [!PER_THREAD]: Remove code.
26295         (ptmalloc_unlock_all2): Likewise.
26296         (ptmalloc_init): Likewise.
26297         (_int_new_arena): Likewise.
26298         (arena_get2): Likewise.
26299         * malloc/hooks.c (__malloc_get_state): Likewise.
26300         (__malloc_set_state): Likewise.
26301         * malloc/malloc.c: Likewise.
26302         (struct malloc_state): Likewise.
26303         (struct malloc_par): Likewise.
26304         (__libc_realloc): Likewise.
26305         (__libc_mallopt): Likewise.
26307 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26309         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26311 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
26313         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26314         macro to a function.  Check for zero perturb_byte.
26315         (_int_malloc, _int_free): Remove zero perturb_byte checks.
26317         * malloc/malloc.c: (force_reg): Remove.
26318         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
26319         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
26320         force_reg by atomic_forced_read.
26321         * malloc/arena.c (ptmalloc_init): Likewise.
26322         * malloc/hooks.c (top_check): Likewise.
26324 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26328 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
26330         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26332 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
26334         * math/auto-libm-test-in: Add tests of lgamma.
26335         * math/auto-libm-test-out: Regenerated.
26336         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
26337         (M_LOG_2_SQRT_PIl): Likewise.
26338         (lgamma_test_data): Use AUTO_TESTS_f_f1.
26339         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26340         mpfr_f_f1.
26341         (func_calc_desc): Add mpfr_f_f1 union field.
26342         (ARGS1): New macro.
26343         (ARGS2): Likewise.
26344         (ARGS3): Likewise.
26345         (ARGS4): Likewise.
26346         (RET1): Likewise.
26347         (RET2): Likewise.
26348         (CALC): Likewise.
26349         (FUNC): Likewise.
26350         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
26351         (test_functions): Add lgamma.
26352         (calc_generic_results): Handle mpfr_f_f1.
26353         * sysdeps/i386/fpu/libm-test-ulps: Update.
26354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26356 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26358         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
26359         __mpn_add_n for PowerPC64/POWER7.
26360         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
26361         __mpn_sub_n for PowerPC64/POWER7.
26363         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
26364         __mpn_addmul_1 for PowerPC64.
26365         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
26366         __mpn_submul_1 for PowerPC64.
26367         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
26368         for PowerPC64.
26369         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
26370         for PowerPC64.
26372 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
26374         [BZ #15089]
26375         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
26377 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26379         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
26381         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
26382         add multiarch folders.
26383         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
26384         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26385         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26386         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26387         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26388         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26389         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26390         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26391         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26392         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26393         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26402         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26404         New file.
26405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26406         New file.
26407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26408         multiarch __ieee754_hypot for PowerPC32.
26409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26410         New file.
26411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26412         New file.
26413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26414         multiarch __ieee754_hypotf for PowerPC32.
26416         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26417         long_double_symbol only if __logbl is defined.
26418         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26419         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26420         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26421         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26422         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26423         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26424         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26425         path for implementation.
26426         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26427         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26429         logb, and logbl multiarch implementations for PowerPC32.
26430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26431         file.
26432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26433         file.
26434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26435         multiarch logb for PowerPC32.
26436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26437         file.
26438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26439         file.
26440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26441         multiarch logbf for PowerPC32.
26442         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26444         file.
26445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26446         multiarch logbl implementation for PowerPC32.
26448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26449         and modff multiarch implementations.
26450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26451         New file.
26452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26453         New file.
26454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26455         multiarch modf for PowerPC32.
26456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26457         New file.
26458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26459         New file.
26460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26461         multiarch modff for PowerPC32.
26463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26464         and lrintf multiarch implementations.
26465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26466         New file.
26467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26468         New file.
26469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26470         multiarch lrint for PowerPC32.
26471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26472         file: multiarch lrintf for PowerPC32.
26474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26475         and lroundf multiarch implementations.
26476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26477         New file.
26478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26479         New file.
26480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26481         New file.
26482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26483         multiarch lround for PowerPC32.
26484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26485         file: multiarch lroundf for PowerPC32.
26487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26488         copysign and copysignf multiarch implementations.
26489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26490         New file.
26491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26492         New file.
26493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26494         file: multiarch copysign for PowerPC32.
26495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26496         file: multiarch copysignf for PowerPC32.
26498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26499         and truncf multiarch implementations.
26500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26501         New file.
26502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26503         file.
26504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26505         multiarch trunc for PowerPC32.
26506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26507         New file.
26508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26509         New file.
26510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26511         multiarch truncf for PowerPC32.
26513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26514         and roundf multiarch implementations.
26515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26516         New file.
26517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26518         file.
26519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26520         multiarch round for PowerPC32.
26521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26522         New file.
26523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26524         New file.
26525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26526         multiarch roundf for PowerPC32.
26528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26529         and floorf multiarch implementations.
26530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26531         New file.
26532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26533         file.
26534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26535         multiarch floor for PowerPC32.
26536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26537         New file.
26538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26539         New file.
26540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26541         multiarch floorf for PowerPC32.
26543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26544         and ceilf multiarch implementations.
26545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26546         New file.
26547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26548         file.
26549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26550         multiarch ceil for PowerPC32.
26551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26552         New file.
26553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26554         file.
26555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26556         multiarch ceilf for PowerPC32.
26558         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26559         is defined.
26560         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26561         FINITEF is defined.
26562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26563         and finitef multiarch implementations.
26564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26565         New file.
26566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26567         file.
26568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26569         multiarch finite for PowerPC32.
26570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26571         New file.
26572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26573         file: multiarch finitef for PowerPC32.
26575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26576         and isinff multiarch implementations.
26577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26578         file.
26579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26580         file.
26581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26582         multiarch isinf for PowerPC32.
26583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26584         New file.
26585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26586         multiarch isinff for PowerPC32.
26588         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26589         alias when __isnan is defined.
26590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26591         and isnanf multiarch implementations.
26592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26593         file.
26594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26595         file.
26596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26597         file.
26598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26599         file.
26600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26601         multiarch isnan for PowerPC32.
26602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26603         New file.
26604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26605         New file.
26606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26607         multiarch isnanf for PowerPC32.
26609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26610         and sqrtf multiarch implementations.
26611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26612         file.
26613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26614         file.
26615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26616         multiarch sqrt for PowerPC32.
26617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26618         file.
26619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26620         file.
26621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26622         multiarch sqrtf for PowerPC32.
26624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26625         and llroundf multiarch implementations.
26626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26627         New file.
26628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26629         New file.
26630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26631         New file.
26632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26633         file: multiarch llround for PowerPC32.
26634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26635         file: multiarch llroundf for PowerPC32.
26637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26638         multiarch PowerPC32 fpu implementations.
26639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26640         New file.
26641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26642         New file.
26643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26644         multiarch llrint for PowerPC32.
26645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26646         New file.
26647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26648         New file.
26649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26650         file.
26652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26654         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26655         file.
26656         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26657         file.
26658         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26659         file.
26660         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26661         multiarch wordcopy for PPC32.
26662         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26663         wordcopy objects.
26664         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26665         (__libc_ifunc_impl_list): Likewise.
26666         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26667         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26668         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26669         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26670         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26671         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26673         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26674         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26675         file.
26676         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26677         file.
26678         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26679         file.
26680         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26681         multiarch wcscpy for PPC32.
26682         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26683         multiarch objects.
26684         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26685         (__libc_ifunc_impl_list): Likewise.
26686         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26687         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26688         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26689         sysdeps/powerpc/power6/wcscpy.c.
26691         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26692         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26693         file.
26694         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26695         file.
26696         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26697         file.
26698         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26699         multiarch wcsrchr for PPC32.
26700         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26701         multiarch objects.
26702         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26703         (__libc_ifunc_impl_list): Likewise.
26704         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26705         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26706         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26707         sysdeps/powerpc/power6/wcsrchr.c.
26709         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26710         file.
26711         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26712         file.
26713         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26714         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26715         multiarch wcschr for PPc32.
26716         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26717         multiarch objects.
26718         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26719         (__libc_ifunc_impl_list): Likewise.
26720         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26721         * sysdeps/powerpc/power6/wcschr.c: ... to here.
26722         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26723         sysdeps/powerpc/power6/wcschr.c.
26725         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26726         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26727         file.
26728         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26729         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26730         file: multiarch strchr for PPC32.
26731         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26732         multiarch objects.
26733         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26734         (__libc_ifunc_impl_list): Likewise.
26736         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26737         name.
26738         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26739         file.
26740         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26741         file.
26742         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26743         multiarch strchrnul for PPC32.
26744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26745         multiarch objects.
26746         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26747         (__libc_ifunc_impl_list): Likewise.
26749         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26750         file.
26751         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26752         multiarch strncasecmp for PPC32.
26753         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26754         file.
26755         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26756         multiarch strncasecmp_l for PPC32.
26757         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26758         strncasecmp multiarch objects.
26759         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26760         (__libc_ifunc_impl_list): Likewise.
26762         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26763         file.
26764         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26765         multiarch strncasecmp for PPC32.
26766         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26767         New file.
26768         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26769         multiarch strcasecmp_l for PPC32.
26770         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26771         multiarch objects.
26772         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26773         (__libc_ifunc_impl_list): Likewise.
26775         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26776         file.
26777         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26778         file.
26779         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26780         multiarch strncmp for PPC32.
26781         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26782         multiarch objects.
26783         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26784         (__libc_ifunc_impl_list): Likewise.
26786         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26787         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26788         file.
26789         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26790         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26791         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26792         multiarch objects.
26793         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26794         (__libc_ifunc_impl_list): Likewise.
26796         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26797         file.
26798         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26799         file.
26800         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26801         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26802         multiarch objects.
26803         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26804         (__libc_ifunc_impl_list): Likewise.
26806         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26807         file.
26808         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26809         file.
26810         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26811         multiarch rawmemchr for PPC32.
26812         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26813         multiarch objects.
26814         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26815         (__libc_ifunc_impl_list): Likewise.
26817         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26818         file.
26819         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26820         file.
26821         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26822         file: memrchr multiarch for PPC32.
26823         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26824         multiarch objects.
26825         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26826         (__libc_ifunc_impl_list): Likewise.
26828         * string/memchr.c (__memchr): Using macro to redefine symbol name.
26829         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26830         file.
26831         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26832         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26833         multiarch memchr for PPC32.
26834         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26835         multiarch objects.
26836         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26837         (__libc_ifunc_impl_list): Likewise.
26839         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26840         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26841         file.
26842         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26843         file.
26844         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26845         file: multiarch mempcpy for PPC32.
26846         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26847         multiarch objects.
26848         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26849         (__libc_ifunc_impl_list): Likewise.
26851         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26852         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26853         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26854         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26855         multiarch bzero for PPC32.
26856         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26857         file.
26858         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26859         file.
26860         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26861         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26862         file: multiarch memset for PPC32.
26863         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26864         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26865         memset multiarch objects.
26866         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26867         (__libc_ifunc_impl_list): Likewise.
26869         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26870         file.
26871         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26872         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26873         memcmp for PPC32.
26874         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26875         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26876         multiarch objects.
26877         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26878         (__libc_ifunc_impl_list): Likewise.
26880         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26881         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26882         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26883         file.
26884         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26885         file.
26886         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26887         file.
26888         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26889         multiarch memcpy for PPC32.
26890         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26891         multiarch objects.
26892         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26893         (__libc_ifunc_impl_list): Likewise.
26895         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26896         support multiarch for POWER/PPC32.
26897         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26898         Likewise.
26899         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26901         Implies file to make multiarch folder appers before the fpu and
26902         default folder for power4 configuration.
26904 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26906         * scripts/bench.pl: Append volatile keyword to type.
26908 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26910         * sysdeps/sh/sotruss-lib.c: New file.
26911         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26913 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26917 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
26919         [BZ #6810]
26920         * math/w_tgamma.c: Include <errno.h>.
26921         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
26922         * math/w_tgammaf.c: Include <errno.h>.
26923         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
26924         * math/w_tgammal.c: Include <errno.h>.
26925         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
26926         * math/auto-libm-test-in: Do not allow missing errno on tgamma
26927         underflow.  Add more tgamma tests.
26928         * math/auto-libm-test-out: Regenerated.
26929         * sysdeps/i386/fpu/libm-test-ulps: Update.
26930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26932         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26933         sin, sinh, tan, tanh, tgamma, y0 and y1.
26934         * math/auto-libm-test-out: Regenerated.
26935         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26936         (TEST_COND_x86): Likewise.
26937         (M_E2l): Remove macro.
26938         (M_E3l): Likewise.
26939         (M_2_SQRT_PIl): Likewise.
26940         (M_SQRT_PIl): Likewise.
26941         (M_1_DIV_El): Likewise.
26942         (log_test_data): Use AUTO_TESTS_f_f.
26943         (log10_test_data): Likewise.
26944         (log1p_test_data): Likewise.
26945         (log2_test_data): Likewise.
26946         (sin_test_data): Likewise.
26947         (sin_tonearest_test_data): Likewise.
26948         (sin_towardzero_test_data): Likewise.
26949         (sin_downward_test_data): Likewise.
26950         (sin_upward_test_data): Likewise.
26951         (sinh_test_data): Likewise.
26952         (sinh_tonearest_test_data): Likewise.
26953         (sinh_towardzero_test_data): Likewise.
26954         (sinh_downward_test_data): Likewise.
26955         (sinh_upward_test_data): Likewise.
26956         (tan_test_data): Likewise.
26957         (tan_tonearest_test_data): Likewise.
26958         (tan_towardzero_test_data): Likewise.
26959         (tan_downward_test_data): Likewise.
26960         (tan_upward_test_data): Likewise.
26961         (tanh_test_data): Likewise.
26962         (tgamma_test_data): Likewise.
26963         (y0_test_data): Likewise.
26964         (y1_test_data): Likewise.
26965         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26966         (special_real_inputs): Add pi/4.
26967         * sysdeps/i386/fpu/libm-test-ulps: Update.
26968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26970 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26972         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26973         "longjmp_target" static probes.
26974         (__longjmp): Rename to __longjmp_symbol.
26975         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26976         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26977         on which longjmp to generate.
26978         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26979         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26980         probe.
26981         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26982         (__sigjmp_save): Rename to __sigjmp_save_symbol.
26983         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26984         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26985         and __sigjmp_save_symbol based on which sigsetjmp to generated.
26986         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26988         __longjmp_symbol based on which __longjmp to generate.
26989         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26990         probe.
26991         (setjmp): Rename to setjmp_symbol.
26992         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26993         (_setjmp): Rename to _setjmp_symbol.
26994         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26995         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26996         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26997         which setjmp to generate.
26998         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26999         "longjmp_target" static probes.
27001 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27003         * benchtests/README: Add note about output arguments.
27004         * benchtests/bench-sincos.c: Remove file.
27005         * benchtests/sincos-inputs: New file.
27006         * scripts/bench.pl: Identify output arguments and define
27007         static variables for them.
27009         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27011         [BZ #15941]
27012         * Makefile (INSTALL): Add install-plain.texi as the primary
27013         dependency.
27014         * manual/install-plain.texi: New file.
27015         * manual/install.texi: Include node directive only for
27016         non-plaintext output.
27018 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27020         * stdlib/longlong.h: Update from GCC.
27022         [BZ #6807]
27023         [BZ #15901]
27024         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27025         * math/w_j0f.c (y0f): Likewise.
27026         * math/w_j0l.c (__y0l): Likewise.
27027         * math/w_j1.c (y1): Likewise.
27028         * math/w_j1f.c (y1f): Likewise.
27029         * math/w_j1l.c (__y1l): Likewise
27030         * math/w_jn.c (yn): Likewise.
27031         * math/w_jnf.c (ynf): Likewise.
27032         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27033         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27034         value for Bessel function domain errors outside _SVID_ mode.
27035         Adjust sign of return value for yn (negative integer, 0).
27036         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27037         by zero in return for negative x and set sign appropriately for
27038         negative n.
27039         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27040         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27041         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27042         expectations in error cases.
27043         (y1_test_data): Likewise.
27044         (yn_test_data): Likewise.
27045         * sysdeps/i386/fpu/libm-test-ulps: Update.
27046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27048 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27050         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27051         "64" to "64-v1".  Add "64-v2".
27052         (abi-64-options): Rename to ...
27053         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27054         (abi-64-condition): Rename to ...
27055         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27056         (abi-64-ld-soname): Rename to ...
27057         (abi-64-v1-ld-soname): ... this.
27058         (abi-64-v2-options): Define.
27059         (abi-64-v2-condition): Likewise.
27060         (abi-64-v2-ld-soname): Likewise.
27061         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27062         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27067 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27068             Alan Modra  <amodra@gmail.com>
27070         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27071         New versions for use with the ELFv2 ABI.
27072         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27073         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27074         declaration.
27075         (struct La_ppc64v2_retval): Likewise.
27076         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27077         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27078         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27079         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27080         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27081         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27082         Do not save or restore CR.
27083         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27084         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27085         return values for ELFv2 ABI.  Fix location of FPR return registers.
27086         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27087         updated values for _CALL_ELF == 2.
27088         (La_regs, La_retval, int_retval): Likewise.
27090 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27092         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27093         (FRAME_MIN_SIZE_PARM): Likewise.
27094         (FRAME_BACKCHAIN): Likewise.
27095         (FRAME_CR_SAVE): Likewise.
27096         (FRAME_LR_SAVE): Likewise.
27097         (FRAME_TOC_SAVE): Likewise.
27098         (FRAME_PARM_SAVE): Likewise.
27099         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27100         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27101         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27102         (call_mcount_parm_offset): New macro.
27103         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27104         (PROF): Use symbolic stack frame offsets.
27105         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27106         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27107         Redefine in terms of FRAME_MIN_SIZE.
27108         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27109         (_dl_profile_resolve): Likewise.  Update comment.
27110         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27111         symbols stack frame offsets.
27112         (__sigsetjmp): Likewise.
27113         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27114         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27115         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27116         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27119         (FRAME_BACKCHAIN): Remove.
27120         (FRAME_CR_SAVE): Likewise.
27121         (FRAME_LR_SAVE): Likewise.
27122         (FRAME_COMPILER_DW): Likewise.
27123         (FRAME_LINKER_DW): Likewise.
27124         (FRAME_TOC_SAVE): Likewise.
27125         (FRAME_PARM_SAVE): Likewise.
27126         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27127         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27128         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27130         (CHECK_SP): Use symbolic stack frame offsets.
27131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27132         zone" instead of caller's parameter save area for temp storage.
27133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27134         Likewise.  Also, use symbolic stack frame offsets.
27135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27136         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27137         our own stack frame instead of the caller's.
27138         (__socket): Use symbolic stack frame offsets.
27140 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27141             Alan Modra  <amodra@gmail.com>
27143         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27144         Define.
27145         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27146         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27147         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27148         New function.
27149         (elf_machine_fixup_plt): Call it.
27150         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27151         reloc arguments.
27152         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27153         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27154         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27155         r2 before calling target.
27157 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27158             Alan Modra  <amodra@gmail.com>
27160         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27161         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27162         versions of macros to support ELFv2 ABI.
27163         (LOCALENTRY): New macro.
27164         (ENTRY, EALIGN): Use it.
27165         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27166         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27167         fall through into ENTRY entry point.
27168         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27169         Only define if _CALL_ELF != 2.
27171         (elf_machine_matches_host): Verify ABI version matches.
27172         (RTLD_START): Use LOCALENTRY.
27173         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27174         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27175         (PLT_ENTRY_WORDS): New macro.
27176         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27177         (elf_machine_runtime_setup): Support ELFv2 ABI.
27178         (elf_machine_fixup_plt): Likewise.
27179         (elf_machine_plt_conflict): Likewise.
27180         (resolve_ifunc): Likewise.
27181         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27182         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27183         Likewise.
27184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27185         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27187         (makecontext): Support ELFv2 ABI.
27188         * elf/elf.h (EF_PPC64_ABI): Define.
27190 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27192         * sysdeps/powerpc/powerpc64/sysdep.h
27193         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27194         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27195         (ENTRY) [ASSEMBLER]: ... but instead here ...
27196         (EALIGN) [ASSEMBLER]: ... and here.
27197         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27198         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27199         (ENTRY_2) [!ASSEMBLER]: Use it.
27200         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27201         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
27202         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27203         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27204         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27206         Use PPC64_LOAD_FUNCPTR.
27208         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27210 2013-12-04  Alan Modra  <amodra@gmail.com>
27212         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27213         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27214         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27215         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27217         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27218         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27219         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27220         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27221         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27222         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27224 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27227         (__makecontext): Fix incorrect CFI when backtracing out of
27228         context created via makecontext.
27229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27230         (__setcontext): Fix incorrect CFI during switch to new context.
27231         (__novec_setcontext): Likewise.
27233 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27235         [BZ #4772]
27236         * time/strptime_l.c (__strptime_internal): Allow modifiers
27237         in strptime.
27238         * time/tst-strptime.c (day_tests): Add testcase.
27240 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27242         * scripts/bench.pl: Skip over blank lines.
27244 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
27246         [BZ #926]
27247         * manual/time.texi (Calendar Time): Clarify what timezone functions
27248         use.
27250 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27254 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27256         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27257         implementation.
27258         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27259         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27260         * debug/memset_chk.c (__memset_chk): Likewise.
27261         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27262         * debug/strncpy_chk.c: Likewise.
27264 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27266         [BZ #15268]
27267         [BZ #15425]
27268         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27269         (__ieee754_exp): For possibly underflowing results, check size of
27270         result and force underflow exception if required.
27271         * math/auto-libm-test-in: Add more tests of exp.
27272         * math/auto-libm-test-out: Regenerated.
27273         * sysdeps/i386/fpu/libm-test-ulps: Update.
27274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27276         [BZ #16283]
27277         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27278         * math/w_exp2f.c (__exp2f): Likewise.
27279         * math/w_exp2l.c (__exp2l): Likewise.
27280         * math/auto-libm-test-in: Do not allow missing errno on exp2
27281         underflow.
27282         * math/auto-libm-test-out: Regenerated.
27284 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
27286         [BZ #16274]
27287         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27288         handle filename validation.
27289         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27290         (do_open): Delete.
27292 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27294         [BZ #6786]
27295         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27296         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27297         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27298         <float.h>.
27299         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27300         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27301         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27302         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27303         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27304         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27305         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27306         * math/auto-libm-test-in: Don't allow missing errno from erfc.
27307         Add more erfc tests.
27308         * math/auto-libm-test-out: Regenerated.
27309         * sysdeps/i386/fpu/libm-test-ulps: Update.
27310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27312         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27313         exp2, expm1, j0 and j1.
27314         * math/auto-libm-test-out: Regenerated.
27315         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27316         (erfc_test_data): Likewise.
27317         (exp_test_data): Likewise.
27318         (exp_tonearest_test_data): Likewise.
27319         (exp_towardzero_test_data): Likewise.
27320         (exp_downward_test_data): Likewise.
27321         (exp_upward_test_data): Likewise.
27322         (exp10_test_data): Likewise.
27323         (exp2_test_data): Likewise.
27324         (expm1_test_data): Likewise.
27325         (j0_test_data): Likewise.
27326         (j1_test_data): Likewise.
27327         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
27328         (input_flag_type): Add flag_xfail_rounding.
27329         (input_flags): Add xfail-rounding.
27330         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
27331         (output_for_one_input_case): Handle flag_xfail_rounding.
27332         * sysdeps/i386/fpu/libm-test-ulps: Update.
27333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27335 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
27337         [BZ #16289]
27338         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
27339         division by 0.
27341 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27343         [BZ #16195]
27344         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
27345         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
27346         (STAP_PROBE0): New macro.
27347         (STAP_PROBE1): Likewise.
27348         (STAP_PROBE2): Likewise.
27349         (STAP_PROBE3): Likewise.
27350         (STAP_PROBE4): Likewise.
27352 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
27354         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
27356 2013-12-02  Steve Ellcey  <sellcey@mips.com>
27358         * benchtests/Makefile (bench): Add sqrt.
27359         (LDLIBS-bench-sqrt): New.
27360         * benchtests/sqrt-input: New.
27362 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
27364         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
27365         (GAIH_EAI): Likewise.
27366         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27367         (gaih_inet): Likewise.
27368         (getaddrinfo): Don't use GAIH_EAI.
27370         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
27371         (struct gaih): Remove definition.
27373 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27375         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
27376         Use HERRNOP directly.
27378 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27382 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
27384         * math/gen-auto-libm-tests.c (test_functions): Add more
27385         single-argument functions.
27386         (special_fill_pi_2): New function.
27387         (special_fill_minus_pi_2): Likewise.
27388         (special_fill_pi_6): Likewise.
27389         (special_fill_minus_pi_6): Likewise.
27390         (special_fill_pi_3): Likewise.
27391         (special_fill_2pi_3): Likewise.
27392         (special_fill_e): Likewise.
27393         (special_fill_1_e): Likewise.
27394         (special_fill_e_minus_1): Likewise.
27395         (special_real_inputs): Add more special inputs.
27396         (output_for_one_input_case): Do not require ERANGE on underflow to
27397         zero if round-to-nearest result does not underflow to zero, unless
27398         exact results required.
27399         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27400         atan, atanh, cbrt, cos and cosh.
27401         * math/auto-libm-test-out: Regenerated.
27402         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27403         (acos_tonearest_test_data): Likewise.
27404         (acos_towardzero_test_data): Likewise.
27405         (acos_downward_test_data): Likewise.
27406         (acos_upward_test_data): Likewise.
27407         (acosh_test_data): Likewise.
27408         (asin_test_data): Likewise.
27409         (asin_tonearest_test_data): Likewise.
27410         (asin_towardzero_test_data): Likewise.
27411         (asin_upward_test_data): Likewise.
27412         (asinh_test_data): Likewise.
27413         (atan_test_data): Likewise.
27414         (atanh_test_data): Likewise.
27415         (cbrt_test_data): Likewise.
27416         (cos_test_data): Likewise.
27417         (cos_tonearest_test_data): Likewise.
27418         (cos_towardzero_test_data): Likewise.
27419         (cos_downward_test_data): Likewise.
27420         (cos_upward_test_data): Likewise.
27421         (cosh_test_data): Likewise.
27422         (cosh_tonearest_test_data): Likewise.
27423         (cosh_towardzero_test_data): Likewise.
27424         (cosh_downward_test_data): Likewise.
27425         (cosh_upward_test_data): Likewise.
27426         * sysdeps/i386/fpu/libm-test-ulps: Update.
27427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27429 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
27431         [BZ #6787]
27432         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27433         * math/w_exp10f.c (__exp10f): Likewise.
27434         * math/w_exp10l.c (__exp10l): Likewise.
27435         * math/libm-test.inc (exp10_test_data): Add more tests and expect
27436         errno settings in existing tests.
27438         [BZ #14032]
27439         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27440         precision control set to double precision.
27441         * sysdeps/i386/fpu/w_sqrt.c: New file.
27442         * math/auto-libm-test-in: Add more tests.
27443         * math/auto-libm-test-out: Update.
27445         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27446         (sqrt_test_tonearest): New function.
27447         (sqrt_towardzero_test_data): New variable.
27448         (sqrt_test_towardzero): New function.
27449         (sqrt_downward_test_data): New variable.
27450         (sqrt_test_downward): New function.
27451         (sqrt_upward_test_data): New variable.
27452         (sqrt_test_upward): New function.
27453         (main): Call the new functions.
27455         * math/gen-auto-libm-tests.c: New file.
27456         * math/auto-libm-test-in: Likewise.
27457         * math/auto-libm-test-out: New generated file.
27458         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27459         variables.
27460         (%beautify): Add generated representations of zero.
27461         (top level): Set $auto_input and call parse_auto_input.
27462         (beautify): Remove trailing "f" from hex float constants.
27463         (parse_args): Handle XFAIL_TEST.
27464         (convert_condition): New function.
27465         (or_value): Likewise.
27466         (or_cond_value): Likewise.
27467         (generate_testfile): Handle AUTO_TESTS_* lines.
27468         (parse_auto_input): New function.
27469         * math/libm-test.inc (XFAIL_TEST): New macro.
27470         (ERRNO_UNCHANGED): Update value.
27471         (ERRNO_EDOM): Likewise.
27472         (ERRNO_ERANGE): Likewise.
27473         (IGNORE_RESULT): Likewise.
27474         (TEST_COND_flt_32): New macro.
27475         (TEST_COND_dbl_64): Likewise.
27476         (TEST_COND_ldbl_96_intel): Likewise.
27477         (TEST_COND_ldbl_96_m68k): Likewise.
27478         (TEST_COND_ldbl_128): Likewise.
27479         (TEST_COND_ldbl_128ibm): Likewise.
27480         (TEST_COND_long32): Likewise.
27481         (TEST_COND_long64): Likewise.
27482         (TEST_COND_before_rounding): Likewise.
27483         (TEST_COND_after_rounding): Likewise.
27484         (enable_test): Handle XFAIL_TEST flag.
27485         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27486         with finite results.
27487         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27488         auto-libm-test-out.
27490 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27491             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27493         [BZ #16214]
27494         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27495         __tls_get_addr_internal instead of __tls_get_offset in order to
27496         avoid GOT pointer dependency.  Make rtld export
27497         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27498         __tls_get_addr since we are a __tls_get_offset platform.
27499         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27500         GOT pointer being set up before.
27501         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27503 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
27505         * manual/math.texi (Errors in Math Functions): Document accuracy
27506         goals.
27508         [BZ #15004]
27509         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27510         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27511         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27512         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27513         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27514         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27515         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27516         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27517         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27518         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27519         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27520         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27521         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27522         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27523         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27524         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27526         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27527         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27528         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27529         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27530         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27531         Likewise.
27532         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27533         Likewise.
27534         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27535         Likewise.
27536         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27537         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27538         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27539         atomic-feupdateenv and flt-rounds.
27540         * sysdeps/powerpc/nofpu/Versions (libc): Add
27541         __atomic_feholdexcept, __atomic_feclearexcept,
27542         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27543         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27544         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27545         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27546         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27547         here.
27548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27549         Update.
27551         * manual/arith.texi (FP Exceptions): Document that exceptions may
27552         not be raised when matherr is used.
27553         (Math Error Reporting): Document overflow in directed rounding
27554         modes.  Document that errno may not be set when finite values are
27555         returned on overflow.  Document intent to set errno on underflow
27556         only for underflow to zero.
27558         [BZ #16271]
27559         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27560         round-to-nearest then adjust result for other rounding modes.
27561         * include/fenv.h (fegetround): Use libm_hidden_proto.
27562         * math/fegetround.c (fegetround): Use libm_hidden_def.
27563         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27564         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27565         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27566         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27567         Likewise.
27568         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27569         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27570         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27571         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27573 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27575         [BZ #16077]
27576         * nss/Versions (libnss_files): Add
27577         _nss_files_gethostbyname3_r.
27578         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27579         New function.
27580         (HOST_DB_LOOKUP): Remove macro.
27581         (_nss_files_gethostbyname_r): Implement function without the
27582         HOST_DB_LOOKUP macro.
27583         (_nss_files_gethostbyname2_r): Likewise.
27585 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
27587         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27589 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
27591         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27592         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27593         warning.
27595 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27597         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27598         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27599         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27600         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27601         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27602         __fe_nomask_env_priv and attribute_hidden.
27603         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27604         (libc_feupdateenv_test_ppc): Likewise.
27605         (libc_feresetround_ppc): Likewise.
27606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27607         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27608         compat_symbol macro.
27609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27610         (__fe_nomask_env): Likewise.
27611         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27613 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27615         * string/Makefile: Remove ifunc tests.
27616         * string/test-string.h: Define TEST_IFUNC.
27617         * string/test-bcopy-ifunc.c: Remove.
27618         * string/test-bzero-ifunc.c: Likewise.
27619         * string/test-memccpy-ifunc.c: Likewise.
27620         * string/test-memchr-ifunc.c: Likewise.
27621         * string/test-memcmp-ifunc.c: Likewise.
27622         * string/test-memcpy-ifunc.c: Likewise.
27623         * string/test-memmem-ifunc.c: Likewise.
27624         * string/test-memmove-ifunc.c: Likewise.
27625         * string/test-mempcpy-ifunc.c: Likewise.
27626         * string/test-memrchr-ifunc.c: Likewise.
27627         * string/test-memset-ifunc.c: Likewise.
27628         * string/test-rawmemchr-ifunc.c: Likewise.
27629         * string/test-stpcpy-ifunc.c: Likewise.
27630         * string/test-stpncpy-ifunc.c: Likewise.
27631         * string/test-strcasecmp-ifunc.c: Likewise.
27632         * string/test-strcasestr-ifunc.c: Likewise.
27633         * string/test-strcat-ifunc.c: Likewise.
27634         * string/test-strchr-ifunc.c: Likewise.
27635         * string/test-strchrnul-ifunc.c: Likewise.
27636         * string/test-strcmp-ifunc.c: Likewise.
27637         * string/test-strcpy-ifunc.c: Likewise.
27638         * string/test-strcspn-ifunc.c: Likewise.
27639         * string/test-strlen-ifunc.c: Likewise.
27640         * string/test-strncasecmp-ifunc.c: Likewise.
27641         * string/test-strncat-ifunc.c: Likewise.
27642         * string/test-strncmp-ifunc.c: Likewise.
27643         * string/test-strncpy-ifunc.c: Likewise.
27644         * string/test-strnlen-ifunc.c: Likewise.
27645         * string/test-strpbrk-ifunc.c: Likewise.
27646         * string/test-strrchr-ifunc.c: Likewise.
27647         * string/test-strspn-ifunc.c: Likewise.
27648         * string/test-strstr-ifunc.c: Likewise.
27650 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27652         * benchtests/Makefile: Remove ifunc tests.
27653         * benchtests/bench-string.h: Define TEST_IFUNC.
27654         * benchtests/bench-bcopy-ifunc.c: Remove.
27655         * benchtests/bench-bzero-ifunc.c: Likewise.
27656         * benchtests/bench-memccpy-ifunc.c: Likewise.
27657         * benchtests/bench-memchr-ifunc.c: Likewise.
27658         * benchtests/bench-memcmp-ifunc.c: Likewise.
27659         * benchtests/bench-memcpy-ifunc.c: Likewise.
27660         * benchtests/bench-memmem-ifunc.c: Likewise.
27661         * benchtests/bench-memmove-ifunc.c: Likewise.
27662         * benchtests/bench-mempcpy-ifunc.c: Likewise.
27663         * benchtests/bench-memrchr-ifunc.c: Likewise.
27664         * benchtests/bench-memset-ifunc.c: Likewise.
27665         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27666         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27667         * benchtests/bench-stpcpy-ifunc.c: Likewise.
27668         * benchtests/bench-stpncpy-ifunc.c: Likewise.
27669         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27670         * benchtests/bench-strcasestr-ifunc.c: Likewise.
27671         * benchtests/bench-strcat-ifunc.c: Likewise.
27672         * benchtests/bench-strchr-ifunc.c: Likewise.
27673         * benchtests/bench-strchrnul-ifunc.c: Likewise.
27674         * benchtests/bench-strcmp-ifunc.c: Likewise.
27675         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27676         * benchtests/bench-strcpy-ifunc.c: Likewise.
27677         * benchtests/bench-strcspn-ifunc.c: Likewise.
27678         * benchtests/bench-strlen-ifunc.c: Likewise.
27679         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27680         * benchtests/bench-strncat-ifunc.c: Likewise.
27681         * benchtests/bench-strncmp-ifunc.c: Likewise.
27682         * benchtests/bench-strncpy-ifunc.c: Likewise.
27683         * benchtests/bench-strnlen-ifunc.c: Likewise.
27684         * benchtests/bench-strpbrk-ifunc.c: Likewise.
27685         * benchtests/bench-strrchr-ifunc.c: Likewise.
27686         * benchtests/bench-strsep-ifunc.c: Likewise.
27687         * benchtests/bench-strspn-ifunc.c: Likewise.
27688         * benchtests/bench-strstr-ifunc.c: Likewise.
27690 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27692         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27694 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27696         * resolv/netdb.h: Use __glibc_reserved instead __unused.
27697         * rt/aio.h: Likewise.
27698         * sysdeps/gnu/bits/utmp.h: Likewise.
27699         * sysdeps/gnu/bits/utmpx.h: Likewise.
27700         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27701         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27702         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27703         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27704         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27705         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27706         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27707         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27708         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27709         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27710         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27711         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27712         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27714         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27715         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27716         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27717         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27718         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27719         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27720         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27721         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27722         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27723         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27724         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27725         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27726         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27727         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27728         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27729         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27730         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27731         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27732         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27733         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27734         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27735         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27736         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27737         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27738         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27739         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27740         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27741         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27743 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
27745         [BZ #16245]
27746         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27747         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27749 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
27751         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27752         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27753         Likewise.
27755 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27757         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27758         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27759         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27760         (__fesetround): Remove define.
27761         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27762         rounding and exceptions handling.
27763         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27764         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27765         (__fe_nomask_env): Likewise.
27766         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27767         __fegetround instead of fegetround.
27768         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27769         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27771 2013-11-21  Roland McGrath  <roland@hack.frob.com>
27773         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27774         it's there.
27776         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27778 2013-11-21  Meador Inge  <meadori@codesourcery.com>
27780         [BZ #11157]
27781         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27782         (encrypt_r): Likewise.
27783         * malloc/obstack.h (obstack_free): Likewise.
27784         * posix/unistd.h (encrypt): Likewise.
27786 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
27788         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27789         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27790         DL_CALL_DT_FINI() that call the functions directly.
27791         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27792         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27793         * elf/dl-fini.c: Likewise.
27795 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
27797         * malloc/hooks.c (memalign_check): Add alignment rounding.
27798         * malloc/malloc.c (_mid_memalign): New function.
27799         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27800         Implement by calling _mid_memalign.
27801         * manual/probes.texi (Memory Allocation Probes): Remove
27802         memory_valloc_retry and memory_pvalloc_retry.
27804 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27806         * locale/programs/locarchive.c (open_archive): Add const
27807         qualifier to ARCHIVEFNAME and copy default fname to
27808         DEFAULT_FNAME.
27810         [BZ #15601]
27811         * libio/tst-widetext.input: Rename Oriya to Odia.
27812         * locale/iso-639.def: Likewise.
27814         * manual/probes.texi (Mathematical Function Probes): Add
27815         documentation for sin, cos, asin and acos probes.
27816         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27817         (__sin32): Add slowasin probe.
27818         (__cos32): Add slowacos probe.
27819         (__mpsin): Add slowsin probe.
27820         (__mpcos): Add slowcos probe.
27822 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
27824         [BZ #15483]
27825         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27826         thread-local __sim_exceptions_thread and global
27827         __sim_exceptions_global.
27828         (__sim_disabled_exceptions): Change to thread-local
27829         __sim_disabled_exceptions_thread and global
27830         __sim_disabled_exceptions_global.
27831         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27832         and global __sim_round_mode_global.
27833         (__simulate_exceptions): Use thread-local floating-point state and
27834         set global state from it as needed.
27835         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27836         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27837         __sim_round_mode_thread.
27838         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27839         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27840         and global __sim_exceptions_global.
27841         (__sim_disabled_exceptions): Change to thread-local
27842         __sim_disabled_exceptions_thread and global
27843         __sim_disabled_exceptions_global.
27844         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27845         and global __sim_round_mode_global.
27846         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27847         (SIM_SET_GLOBAL): Likewise.
27848         * sysdeps/powerpc/soft-fp/sfp-machine.h
27849         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27850         __sim_round_mode_thread.
27851         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27852         __sim_disabled_exceptions_thread.
27853         (__sim_exceptions): Change to __sim_exceptions_thread.
27854         (__sim_disabled_exceptions): Change to
27855         __sim_disabled_exceptions_thread.
27856         (__sim_round_mode): Change to __sim_round_mode_thread.
27857         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27858         thread-local floating-point state and set global state from it as
27859         needed.
27860         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27861         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27862         (__sim_disabled_exceptions): Remove extern declaration.
27863         (feenableexcept): Use thread-local floating-point state and set
27864         global state from it as needed.
27865         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27866         extern declaration.
27867         (__sim_disabled_exceptions): Likewise.
27868         (__sim_round_mode): Likewise.
27869         (__fegetenv): Use thread-local floating-point state.
27870         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27871         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27872         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27873         floating-point state and set global state from it as needed.
27874         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27875         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27876         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27877         Likewise.
27878         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27879         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27880         Likewise.
27881         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27882         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27883         Use __sim_round_mode_thread.
27884         * math/test-fenv-tls.c: New file.
27885         * math/Makefile (tests): Add test-fenv-tls.
27886         ($(objpfx)test-fenv-tls): Depend on
27887         $(common-objpfx)nptl/libpthread.so.
27889 2013-11-19  Andreas Schwab  <schwab@suse.de>
27891         * locale/programs/locale.c (show_info): Decode wordarray elements.
27892         * locale/categories.def (LC_MONETARY): Add element for
27893         _NL_MONETARY_CRNCYSTR.
27894         * locale/C-monetary.c (conversion_rate): New variable.
27895         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27896         element.
27898 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
27900         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27901         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27903 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27905         * elf/Makefile (tst-auxv): New test.
27906         * elf/tst-auxv.c: New
27907         * elf/rtld.c (dl_main): Adjust AT_EXECFN
27909 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
27911         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27912         (hidden_proto): Caller changed.
27913         (hidden_tls_proto): New macro.
27914         (libc_hidden_tls_proto): Likewise.
27915         (rtld_hidden_tls_proto): Likewise.
27916         (libm_hidden_tls_proto): Likewise.
27917         (libresolv_hidden_tls_proto): Likewise.
27918         (librt_hidden_tls_proto): Likewise.
27919         (libdl_hidden_tls_proto): Likewise.
27920         (libnss_files_hidden_tls_proto): Likewise.
27921         (libnsl_hidden_tls_proto): Likewise.
27922         (libnss_nisplus_hidden_tls_proto): Likewise.
27923         (libutil_hidden_tls_proto): Likewise.
27925 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
27927         [BZ #10253]
27928         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27929         (decompose_rpath): Defer expansion to fillin_rpath.
27930         (_dl_init_paths): Pass linkmap to fillin_rpath.
27932 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27934         * benchtests/Makefile: Add strsep.
27935         * benchtests/bench-strsep.c: New file: strsep benchtest.
27936         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27938 2013-11-18  Andreas Schwab  <schwab@suse.de>
27940         * locale/programs/locale.c (show_info) [case byte]: Check for
27941         '\377' instead of '\177'.
27942         * locale/C-monetary.c (not_available): Always use "\377".
27943         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27944         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
27945         detect unavailable sign_posn locale elements.
27946         * locale/localeconv.c (__localeconv): For grouping and
27947         mon_grouping handle "\177" and "\377" like no grouping.
27948         (INT_ELEM): New macro.  Use it to set all numeric members.
27949         * locale/programs/ld-monetary.c (monetary_read)
27950         <tok_mon_grouping>: Normalize single -1 to the empty string.
27951         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27952         Likewise.
27954 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27956         [BZ #16055]
27957         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27958         when we match (nil).
27959         * stdio-common/tst-sscanf.c (struct test): Add testcase.
27961 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
27963         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27964         (NO_TEST_INLINE): Update value.
27965         (ERRNO_UNCHANGED): Likewise.
27966         (ERRNO_EDOM): Likewise.
27967         (ERRNO_ERANGE): Likewise.
27968         (IGNORE_RESULT): Likewise.
27969         (check_float_internal): Check signs of NaN results if
27970         TEST_NAN_SIGN used.
27971         (check_complex): Pass TEST_NAN_SIGN flag through to second
27972         check_float_internal call.
27973         (copysign_test_data): Add tests with quiet NaNs as second
27974         argument.  Use TEST_NAN_SIGN.
27975         (fabs_test_data): Add test of negative quiet NaN argument.  Use
27976         TEST_NAN_SIGN.
27977         (signbit_test_data): Add tests of quiet NaN argument.
27978         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27980         * math/gen-libm-test.pl (show_exceptions): Take extra argument
27981         $ignore_result.
27982         (parse_args): Handle function results specified as IGNORE.
27983         * math/libm-test.inc (IGNORE_RESULT): New macro.
27984         (check_float_internal): Do not check numerical result if flag
27985         IGNORE_RESULT set.
27986         (check_complex): Pass through IGNORE_RESULT to second
27987         check_float_internal call.
27988         (check_int): Do not check numerical result if flag IGNORE_RESULT
27989         set.
27990         (check_long): Likewise.
27991         (check_bool): Likewise.
27992         (check_longlong): Likewise.
27993         (lrint_test_data): Add tests of infinite and NaN arguments.
27994         (lrint_tonearest_test_data): Likewise.
27995         (lrint_towardzero_test_data): Likewise.
27996         (lrint_downward_test_data): Likewise.
27997         (lrint_upward_test_data): Likewise.
27998         (llrint_test_data): Likewise.
27999         (llrint_tonearest_test_data): Likewise.
28000         (llrint_towardzero_test_data): Likewise.
28001         (llrint_downward_test_data): Likewise.
28002         (llrint_upward_test_data): Likewise.
28003         (lround_test_data): Likewise.
28004         (llround_test_data): Likewise.
28006         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28007         (ERRNO_UNCHANGED): Update value.
28008         (ERRNO_EDOM): Likewise.
28009         (ERRNO_ERANGE): Likewise.
28010         (NO_TEST_INLINE_FLOAT): New macro.
28011         (NO_TEST_INLINE_DOUBLE): Likewise.
28012         (enable_test): New function.
28013         (RUN_TEST_f_f): Check enable_test before running test.
28014         (RUN_TEST_2_f): Likewise.
28015         (RUN_TEST_fff_f): Likewise.
28016         (RUN_TEST_c_f): Likewise.
28017         (RUN_TEST_f_f1): Likewise.
28018         (RUN_TEST_fF_f1): Likewise.
28019         (RUN_TEST_fI_f1): Likewise.
28020         (RUN_TEST_ffI_f1): Likewise.
28021         (RUN_TEST_c_c): Likewise.
28022         (RUN_TEST_cc_c): Likewise.
28023         (RUN_TEST_f_i): Likewise.
28024         (RUN_TEST_f_i_tg): Likewise.
28025         (RUN_TEST_ff_i_tg): Likewise.
28026         (RUN_TEST_f_b): Likewise.
28027         (RUN_TEST_f_b_tg): Likewise.
28028         (RUN_TEST_f_l): Likewise.
28029         (RUN_TEST_f_L): Likewise.
28030         (RUN_TEST_fFF_11): Likewise.
28031         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28032         conditionals.
28033         (cosh_test_data): Likewise.
28034         (exp_test_data): Likewise.
28035         (expm1_test_data): Likewise.
28036         (hypot_test_data): Likewise.
28037         (pow_test_data): Likewise.
28038         (sinh_test_data): Likewise.
28039         (tanh_test_data): Likewise.
28040         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28041         flags argument.
28043         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28044         tests with quiet NaN input and output.
28045         (acosh_test_data): Likewise.
28046         (asin_test_data): Likewise.
28047         (asinh_test_data): Likewise.
28048         (atan_test_data): Likewise.
28049         (atanh_test_data): Likewise.
28050         (atan2_test_data): Likewise.
28051         (cbrt_test_data): Likewise.
28052         (cos_test_data): Likewise.
28053         (cosh_test_data): Likewise.
28054         (erf_test_data): Likewise.
28055         (erfc_test_data): Likewise.
28056         (exp_test_data): Likewise.
28057         (exp10_test_data): Likewise.
28058         (exp2_test_data): Likewise.
28059         (expm1_test_data): Likewise.
28060         (hypot_test_data): Likewise.
28061         (j0_test_data): Likewise.
28062         (j1_test_data): Likewise.
28063         (jn_test_data): Likewise.
28064         (lgamma_test_data): Likewise.
28065         (log_test_data): Likewise.
28066         (log10_test_data): Likewise.
28067         (log1p_test_data): Likewise.
28068         (log2_test_data): Likewise.
28069         (pow_test_data): Likewise.
28070         (scalb_test_data): Likewise.
28071         (sin_test_data): Likewise.
28072         (sincos_test_data): Likewise.
28073         (sinh_test_data): Likewise.
28074         (tan_test_data): Likewise.
28075         (tanh_test_data): Likewise.
28076         (tgamma_test_data): Likewise.
28077         (y0_test_data): Likewise.
28078         (y1_test_data): Likewise.
28079         (yn_test_data): Likewise.
28081         [BZ #16167]
28082         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28083         argument being NaN and avoid computations with second argument in
28084         that case.
28085         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28086         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28087         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28089 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28091         * locale/iso-639.def: Add Chitwani Tharu (the).
28093 2013-11-14  Andreas Schwab  <schwab@suse.de>
28095         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28096         word instead of empty string.
28098 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28101         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28103         (__fe_nomask_env): Likewise.
28105 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28107         * benchtests/bench-timing.h: Include time.h.
28109 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28111         [BZ #15997]
28112         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28113         to 3.4.0 for x32.
28114         * sysdeps/unix/sysv/linux/configure: Regenerated.
28116 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28118         [BZ #16151]
28119         * stdlib/strtod_l.c (round_and_return): Do not consider
28120         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28121         exponent one less than half the least subnormal exponent.
28122         * stdlib/test-strtod-round-data: Add more tests.
28123         * stdlib/tst-strtod-round.c (tests): Regenerated.
28125 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28127         [BZ #14143]
28128         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28129         (__fe_mask_env): Likewise.
28130         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28131         libm_hidden_proto and add function prototype.
28132         (__fe_mask_env): Add function prototype.
28133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28134         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28136         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28138         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28140 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28142         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28143         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28145 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28147         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28148         of htab_find_slot().
28150 2013-11-11  David S. Miller  <davem@davemloft.net>
28152         [BZ #16150]
28153         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28154         symbol in the non-vis3 case in static builds.
28155         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28156         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28157         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28158         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28160 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28162         [BZ #387]
28163         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28164         it is empty.
28166 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28168         * benchtests/Makefile: Add bench-strtod.
28169         * benchtests/bench-strtod.c: New file: strtod benchtest
28171 2013-11-11  Andreas Schwab  <schwab@suse.de>
28173         [BZ #16153]
28174         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28175         terminating NUL in key length.
28177 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28179         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28180         Add artificial ODP entry for vDSO symbol for PPC64.
28181         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28182         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28184 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28186         [BZ #15374]
28187         * nss/getent.c (services_keys): Recognize services starting with digit.
28189 2013-11-06  David S. Miller  <davem@davemloft.net>
28191         [BZ #15985]
28192         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28193         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28195 2013-11-06  Will Newton  <will.newton@linaro.org>
28197         * manual/memory.texi (Malloc Examples): Remove register
28198         keyword from examples.
28200 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
28202         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28204 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
28206         [BZ #6981]
28207         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28208         depending on [__GCC_IEC_559 > 0].
28209         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28210         depending on [__GCC_IEC_559_COMPLEX > 0].
28212 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
28214         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28215         to iso-639.def.
28217 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
28219         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28221 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
28223         [BZ #16112]
28224         * malloc/malloc (malloc_info): Do not handle first bin as
28225         special case.
28227 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
28229         * locale/iso-639.def: Add Central Nahuatl (nhn).
28231 2013-11-01  Bruno Haible  <bruno@clisp.org>
28233         [BZ #7003]
28234         * manual/math.texi (BSD Random): Specify range upper bound as
28235         in POSIX.
28237 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
28239         * locale/iso-639.def: Add Meadow Mari (mhr).
28241 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
28243         [BZ #14752], [BZ #15763]
28244         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28245         Validate name.
28246         * rt/tst_shm.c: Add test for escaping directory.
28248 2013-10-31  Andreas Schwab  <schwab@suse.de>
28250         [BZ #15917]
28251         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28252         followed by 'x' as part of digit sequence.
28253         * stdio-common/tst-sscanf.c (double_tests2): New tests.
28255 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28257         [BZ #16037]
28258         * configure.ac: allow GNU Make 4.0 and greater.
28259         * configure: Regenerated.
28261 2013-10-30  Will Newton  <will.newton@linaro.org>
28263         [BZ #16038]
28264         * malloc/hooks.c (memalign_check): Limit alignment to the
28265         maximum representable power of two.
28266         * malloc/malloc.c (__libc_memalign): Likewise.
28267         * malloc/tst-memalign.c (do_test): Add test for very
28268         large alignment values.
28269         * malloc/tst-posix_memalign.c (do_test): Likewise.
28271 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28273         [BZ #11087]
28274         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28275         (munmap_chunk): Likewise.
28276         (mremap_chunk): Likewise.
28278 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28280         [BZ #15799]
28281         * stdlib/div.c (div): Remove obsolete code.
28282         * stdlib/ldiv.c (ldiv): Likewise.
28283         * stdlib/lldiv.c (lldiv): Likewise.
28285 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28287         [BZ #16071]
28288         * nss/nss_files/files-XXX.c (get_contents_ret): New
28289         enumerator.
28290         (get_contents): New function.
28291         (internal_getent): Use it.  Expand size of LINEBUFLEN.
28293 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
28295         * configure.in: Moved to ...
28296         * configure.ac: ... here. Change reference to configure.in
28297         to configure.ac.
28298         * sysdeps/arm/preconfigure.ac: ... here.
28299         configure.in to configure.ac.
28300         * sysdeps/gnu/configure.in: Moved to ...
28301         * sysdeps/gnu/configure.ac: ... here.
28302         * sysdeps/i386/configure.in: Moved to ...
28303         * sysdeps/i386/configure.ac: ... here.
28304         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28305         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28306         * sysdeps/mach/configure.in: Moved to ...
28307         * sysdeps/mach/configure.ac: ... here.
28308         * sysdeps/mach/hurd/configure.in: Moved to ...
28309         * sysdeps/mach/hurd/configure.ac: ... here.
28310         * sysdeps/powerpc/configure.in: Moved to ...
28311         * sysdeps/powerpc/configure.ac: ... here.
28312         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28313         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28314         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28315         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28316         * sysdeps/s390/s390-32/configure.in: Moved to ...
28317         * sysdeps/s390/s390-32/configure.ac: ... here.
28318         * sysdeps/s390/s390-64/configure.in: Moved to ...
28319         * sysdeps/s390/s390-64/configure.ac: ... here.
28320         * sysdeps/sh/configure.in: Moved to ...
28321         * sysdeps/sh/configure.ac: ... here.
28322         * sysdeps/sparc/configure.in: Moved to ...
28323         * sysdeps/sparc/configure.ac: ... here.
28324         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
28325         * sysdeps/unix/sysv/linux/configure.ac: ... here.
28326         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
28327         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
28328         * sysdeps/x86_64/configure.in: Moved to ...
28329         * sysdeps/x86_64/configure.ac: ... here.
28330         * sysdeps/x86_64/preconfigure.in: Moved to ...
28331         * sysdeps/x86_64/preconfigure.ac: ... here.
28332         * aclocal.m4: Change reference to configure.in to configure.ac.
28333         * config.h.in: Likewise.
28334         * manual/install.texi: Likewise.
28335         * manual/maint.texi: Likewise.
28336         * Makefile: Likewise.
28337         * malloc/Makefile: Likewise.
28338         * nscd/Makefile: Likewise.
28339         * Makeconfig: Change reference to configure.in and
28340         preconfigure.in to configure.ac and preconfigure.ac
28341         respectively.
28342         * INSTALL: Regenerated.
28343         * configure: Likewise.
28344         * sysdeps/gnu/configure: Likewise.
28345         * sysdeps/i386/configure: Likewise.
28346         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
28347         * sysdeps/mach/configure: Likewise.
28348         * sysdeps/mach/hurd/configure: Likewise.
28349         * sysdeps/powerpc/configure: Likewise.
28350         * sysdeps/powerpc/powerpc32/configure: Likewise.
28351         * sysdeps/powerpc/powerpc64/configure: Likewise.
28352         * sysdeps/s390/s390-32/configure: Likewise.
28353         * sysdeps/s390/s390-64/configure: Likewise.
28354         * sysdeps/sh/configure: Likewise.
28355         * sysdeps/sparc/configure: Likewise.
28356         * sysdeps/unix/sysv/linux/configure: Likewise.
28357         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
28358         * sysdeps/x86_64/configure: Likewise.
28359         * sysdeps/x86_64/preconfigure: Likewise.
28361 2013-10-29  Andreas Schwab  <schwab@suse.de>
28363         * stdio-common/Makefile (tst-swscanf-ENV): Define.
28365 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28367         * benchtests/pow-inputs: Add new inputs.
28369         * benchtests/exp-inputs: Add new inputs.
28371         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
28372         conditional check for return value.
28373         (__cos32): Likewise.
28375 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28377         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
28378         to provide a boost for large inputs with word alignment.
28379         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
28380         implementation based on optimized PPC64 strcpy.
28381         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
28382         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
28383         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
28384         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28386 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28388         [BZ #2801]
28389         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28391 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28393         [BZ #14876]
28394         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28395         * time/tst-strptime.c (day_tests): Add testcase.
28397 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28399         [BZ #14029]
28400         * manual/pattern.texi: Acknowledge that fnmatch can fail.
28402 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
28404         [BZ #16074]
28405         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28406         MAP_FAILED on error.
28408 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28410         [BZ #16072]
28411         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28412         heap for large requests.
28414 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
28416         [BZ #9954]
28417         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28418         result if the result has no associated interface.
28419         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28420         interface for all 127.X.Y.Z addresses.
28422 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
28424         * locale/iso-639.def: Add Ligurian (lij)
28426 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
28428         [BZ #15825]
28429         * sunrpc/rpc_main.c: Document rpcgen -5.
28431 2013-10-19  Michael Stahl  <mstahl@redhat.com>
28433         * elf/rtld.c (do_preload): Print the reason why preloading failed.
28435 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28437         [BZ #10278]
28438         * posix/glob.c: Match only directories when trailing slash is present.
28439         * posix/tst-gnuglob.c (my_opendir): Do not open files.
28440         (main): Add testcase.
28442 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28444         [BZ #15670]
28445         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28447 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
28449         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28450         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28451         AUTH_DES and cindex for FIPS 140-2.
28452         (DES Encryption): Add cindex FIPS 46-3.
28454         * locale/locarchive.h (struct locarhandle): Add fname.
28455         * locale/programs/localedef.c (main): Pass ARGV[remaining]
28456         if an optional argument was specified to --list-archive,
28457         otherwise NULL.
28458         * locale/programs/locarchive.c (show_archive_content): Take new
28459         argument fname and pass it via ah.fname to open_archive.
28460         * locale/programs/localedef.h: Update decl.
28461         (open_archive): If AH->fname is non-null, open that file
28462         rather than the default file name, and don't ignore ENOENT.
28463         (create_archive): Set AH.fname to NULL.
28464         (delete_locales_from_archive): Likewise.
28465         (add_locales_to_archive): Likewise.
28466         * locale/programs/locfile.c (write_all_categories): Likewise.
28468 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
28469             Aldy Hernandez  <aldyh@redhat.com>
28471         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28472         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28473         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28474         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28475         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28476         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28477         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28478         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28479         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28480         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28481         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28482         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28483         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28484         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28485         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28486         Likewise.
28487         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28488         Likewise.
28489         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28490         Likewise.
28491         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28492         Likewise.
28493         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28494         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28495         Likewise.
28496         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28497         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28498         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28499         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28500         Likewise.
28501         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28502         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28503         * sysdeps/powerpc/preconfigure: Likewise.
28504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28505         Likewise.
28506         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28507         Replace contents of file by #include of <fenv_libc.h>.
28508         * sysdeps/powerpc/soft-fp/sfp-machine.h
28509         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28510         and <sys/prctl.h>.
28511         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28512         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28513         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28514         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28515         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28516         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28518         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28519         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28520         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28521         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28522         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28524         Allow copysignl PLT reference to be missing.
28526 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
28527             Joseph Myers  <joseph@codesourcery.com
28529         [BZ #15948]
28530         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28531         single character.
28532         (add_to_tablewc): Assert sequence of wide characters is nonempty.
28534 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28536         * elf/tst-tls-dlinfo.c: Don't include tls.h.
28537         * elf/tst-tls1.c: Likewise.
28538         * elf/tst-tls10.h: Likewise.
28539         * elf/tst-tls14.c: Likewise.
28540         * elf/tst-tls2.c: Likewise.
28541         * elf/tst-tls3.c: Likewise.
28542         * elf/tst-tls4.c: Likewise.
28543         * elf/tst-tls5.c: Likewise.
28544         * elf/tst-tls6.c: Likewise.
28545         * elf/tst-tls7.c: Likewise.
28546         * elf/tst-tls8.c: Likewise.
28547         * elf/tst-tls9.c: Likewise.
28548         * elf/tst-tlsmod1.c: Likewise.
28549         * elf/tst-tlsmod13.c: Likewise.
28550         * elf/tst-tlsmod13a.c: Likewise.
28551         * elf/tst-tlsmod14a.c: Likewise.
28552         * elf/tst-tlsmod16a.c: Likewise.
28553         * elf/tst-tlsmod16b.c: Likewise.
28554         * elf/tst-tlsmod2.c: Likewise.
28555         * elf/tst-tlsmod3.c: Likewise.
28556         * elf/tst-tlsmod4.c: Likewise.
28557         * elf/tst-tlsmod5.c: Likewise.
28558         * elf/tst-tlsmod6.c: Likewise.
28560 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
28562         [BZ #12486]
28563         * malloc/malloc.c: remove checks for statistics.
28565 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28567         [BZ #15277]
28568         * inet/inet_net.c (inet_network): Detect additional invalid strings.
28569         * inet/tst-network.c: Add testcase.
28571 2013-10-17  Andreas Schwab  <schwab@suse.de>
28573         [BZ #15218]
28574         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28575         to determine canonical name.
28577 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28579         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28580         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28581         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28582         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28583         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28584         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28585         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28586         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28587         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28588         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28589         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28590         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28591         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28592         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28593         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28594         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28595         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28596         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28597         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28598         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28599         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28600         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28601         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28602         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28603         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28604         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28605         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28606         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28607         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28608         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28609         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28610         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28611         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28612         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28613         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28614         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28615         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28616         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28617         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28618         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28619         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28620         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28621         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28622         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28623         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28624         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28625         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28626         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28627         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28628         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28629         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28630         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28631         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28632         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28633         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28634         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28635         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28636         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28638 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
28640         [BZ #16041]
28641         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28642         make result into a quiet NaN.
28644 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
28646         * soft-fp/adddf3.c: Fix horizontal whitespace.
28647         * soft-fp/addsf3.c: Likewise.
28648         * soft-fp/addtf3.c: Likewise.
28649         * soft-fp/divdf3.c: Likewise.
28650         * soft-fp/divsf3.c: Likewise.
28651         * soft-fp/divtf3.c: Likewise.
28652         * soft-fp/double.h: Likewise.
28653         * soft-fp/eqdf2.c: Likewise.
28654         * soft-fp/eqsf2.c: Likewise.
28655         * soft-fp/eqtf2.c: Likewise.
28656         * soft-fp/extenddftf2.c: Likewise.
28657         * soft-fp/extended.h: Likewise.
28658         * soft-fp/extendsfdf2.c: Likewise.
28659         * soft-fp/extendsftf2.c: Likewise.
28660         * soft-fp/extendxftf2.c: Likewise.
28661         * soft-fp/fixdfdi.c: Likewise.
28662         * soft-fp/fixdfsi.c: Likewise.
28663         * soft-fp/fixdfti.c: Likewise.
28664         * soft-fp/fixsfdi.c: Likewise.
28665         * soft-fp/fixsfsi.c: Likewise.
28666         * soft-fp/fixsfti.c: Likewise.
28667         * soft-fp/fixtfdi.c: Likewise.
28668         * soft-fp/fixtfsi.c: Likewise.
28669         * soft-fp/fixtfti.c: Likewise.
28670         * soft-fp/fixunsdfdi.c: Likewise.
28671         * soft-fp/fixunsdfsi.c: Likewise.
28672         * soft-fp/fixunsdfti.c: Likewise.
28673         * soft-fp/fixunssfdi.c: Likewise.
28674         * soft-fp/fixunssfsi.c: Likewise.
28675         * soft-fp/fixunssfti.c: Likewise.
28676         * soft-fp/fixunstfdi.c: Likewise.
28677         * soft-fp/fixunstfsi.c: Likewise.
28678         * soft-fp/fixunstfti.c: Likewise.
28679         * soft-fp/floatdidf.c: Likewise.
28680         * soft-fp/floatdisf.c: Likewise.
28681         * soft-fp/floatditf.c: Likewise.
28682         * soft-fp/floatsidf.c: Likewise.
28683         * soft-fp/floatsisf.c: Likewise.
28684         * soft-fp/floatsitf.c: Likewise.
28685         * soft-fp/floattidf.c: Likewise.
28686         * soft-fp/floattisf.c: Likewise.
28687         * soft-fp/floattitf.c: Likewise.
28688         * soft-fp/floatundidf.c: Likewise.
28689         * soft-fp/floatundisf.c: Likewise.
28690         * soft-fp/floatunditf.c: Likewise.
28691         * soft-fp/floatunsidf.c: Likewise.
28692         * soft-fp/floatunsisf.c: Likewise.
28693         * soft-fp/floatunsitf.c: Likewise.
28694         * soft-fp/floatuntidf.c: Likewise.
28695         * soft-fp/floatuntisf.c: Likewise.
28696         * soft-fp/floatuntitf.c: Likewise.
28697         * soft-fp/fmadf4.c: Likewise.
28698         * soft-fp/fmasf4.c: Likewise.
28699         * soft-fp/fmatf4.c: Likewise.
28700         * soft-fp/gedf2.c: Likewise.
28701         * soft-fp/gesf2.c: Likewise.
28702         * soft-fp/getf2.c: Likewise.
28703         * soft-fp/ledf2.c: Likewise.
28704         * soft-fp/lesf2.c: Likewise.
28705         * soft-fp/letf2.c: Likewise.
28706         * soft-fp/muldf3.c: Likewise.
28707         * soft-fp/mulsf3.c: Likewise.
28708         * soft-fp/multf3.c: Likewise.
28709         * soft-fp/negdf2.c: Likewise.
28710         * soft-fp/negsf2.c: Likewise.
28711         * soft-fp/negtf2.c: Likewise.
28712         * soft-fp/op-1.h: Likewise.
28713         * soft-fp/op-2.h: Likewise.
28714         * soft-fp/op-4.h: Likewise.
28715         * soft-fp/op-8.h: Likewise.
28716         * soft-fp/op-common.h: Likewise.
28717         * soft-fp/quad.h: Likewise.
28718         * soft-fp/single.h: Likewise.
28719         * soft-fp/soft-fp.h: Likewise.
28720         * soft-fp/sqrtdf2.c: Likewise.
28721         * soft-fp/sqrtsf2.c: Likewise.
28722         * soft-fp/sqrttf2.c: Likewise.
28723         * soft-fp/subdf3.c: Likewise.
28724         * soft-fp/subsf3.c: Likewise.
28725         * soft-fp/subtf3.c: Likewise.
28726         * soft-fp/truncdfsf2.c: Likewise.
28727         * soft-fp/trunctfdf2.c: Likewise.
28728         * soft-fp/trunctfsf2.c: Likewise.
28729         * soft-fp/trunctfxf2.c: Likewise.
28730         * soft-fp/unorddf2.c: Likewise.
28731         * soft-fp/unordsf2.c: Likewise.
28732         * soft-fp/unordtf2.c: Likewise.
28734 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
28736         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28737         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28739 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
28741         * elf/dl-libc.c: Clear initfini list after freeing.
28743 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
28745         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28746         * soft-fp/addsf3.c: Likewise.
28747         * soft-fp/addtf3.c: Likewise.
28748         * soft-fp/divdf3.c: Likewise.
28749         * soft-fp/divsf3.c: Likewise.
28750         * soft-fp/divtf3.c: Likewise.
28751         * soft-fp/double.h: Likewise.
28752         * soft-fp/eqdf2.c: Likewise.
28753         * soft-fp/eqsf2.c: Likewise.
28754         * soft-fp/eqtf2.c: Likewise.
28755         * soft-fp/extenddftf2.c: Likewise.
28756         * soft-fp/extended.h: Likewise.
28757         * soft-fp/extendsfdf2.c: Likewise.
28758         * soft-fp/extendsftf2.c: Likewise.
28759         * soft-fp/extendxftf2.c: Likewise.
28760         * soft-fp/fixdfdi.c: Likewise.
28761         * soft-fp/fixdfsi.c: Likewise.
28762         * soft-fp/fixdfti.c: Likewise.
28763         * soft-fp/fixsfdi.c: Likewise.
28764         * soft-fp/fixsfsi.c: Likewise.
28765         * soft-fp/fixsfti.c: Likewise.
28766         * soft-fp/fixtfdi.c: Likewise.
28767         * soft-fp/fixtfsi.c: Likewise.
28768         * soft-fp/fixtfti.c: Likewise.
28769         * soft-fp/fixunsdfdi.c: Likewise.
28770         * soft-fp/fixunsdfsi.c: Likewise.
28771         * soft-fp/fixunsdfti.c: Likewise.
28772         * soft-fp/fixunssfdi.c: Likewise.
28773         * soft-fp/fixunssfsi.c: Likewise.
28774         * soft-fp/fixunssfti.c: Likewise.
28775         * soft-fp/fixunstfdi.c: Likewise.
28776         * soft-fp/fixunstfsi.c: Likewise.
28777         * soft-fp/fixunstfti.c: Likewise.
28778         * soft-fp/floatdidf.c: Likewise.
28779         * soft-fp/floatdisf.c: Likewise.
28780         * soft-fp/floatditf.c: Likewise.
28781         * soft-fp/floatsidf.c: Likewise.
28782         * soft-fp/floatsisf.c: Likewise.
28783         * soft-fp/floatsitf.c: Likewise.
28784         * soft-fp/floattidf.c: Likewise.
28785         * soft-fp/floattisf.c: Likewise.
28786         * soft-fp/floattitf.c: Likewise.
28787         * soft-fp/floatundidf.c: Likewise.
28788         * soft-fp/floatundisf.c: Likewise.
28789         * soft-fp/floatunsidf.c: Likewise.
28790         * soft-fp/floatunsisf.c: Likewise.
28791         * soft-fp/floatuntidf.c: Likewise.
28792         * soft-fp/floatuntisf.c: Likewise.
28793         * soft-fp/floatuntitf.c: Likewise.
28794         * soft-fp/fmadf4.c: Likewise.
28795         * soft-fp/fmasf4.c: Likewise.
28796         * soft-fp/fmatf4.c: Likewise.
28797         * soft-fp/gedf2.c: Likewise.
28798         * soft-fp/gesf2.c: Likewise.
28799         * soft-fp/getf2.c: Likewise.
28800         * soft-fp/ledf2.c: Likewise.
28801         * soft-fp/lesf2.c: Likewise.
28802         * soft-fp/letf2.c: Likewise.
28803         * soft-fp/muldf3.c: Likewise.
28804         * soft-fp/mulsf3.c: Likewise.
28805         * soft-fp/multf3.c: Likewise.
28806         * soft-fp/negdf2.c: Likewise.
28807         * soft-fp/negsf2.c: Likewise.
28808         * soft-fp/negtf2.c: Likewise.
28809         * soft-fp/op-1.h: Likewise.
28810         * soft-fp/op-2.h: Likewise.
28811         * soft-fp/op-4.h: Likewise.
28812         * soft-fp/op-8.h: Likewise.
28813         * soft-fp/op-common.h: Likewise.
28814         * soft-fp/quad.h: Likewise.
28815         * soft-fp/single.h: Likewise.
28816         * soft-fp/soft-fp.h: Likewise.
28817         * soft-fp/sqrtdf2.c: Likewise.
28818         * soft-fp/sqrtsf2.c: Likewise.
28819         * soft-fp/sqrttf2.c: Likewise.
28820         * soft-fp/subdf3.c: Likewise.
28821         * soft-fp/subsf3.c: Likewise.
28822         * soft-fp/subtf3.c: Likewise.
28823         * soft-fp/truncdfsf2.c: Likewise.
28824         * soft-fp/trunctfdf2.c: Likewise.
28825         * soft-fp/trunctfsf2.c: Likewise.
28826         * soft-fp/trunctfxf2.c: Likewise.
28827         * soft-fp/unorddf2.c: Likewise.
28828         * soft-fp/unordsf2.c: Likewise.
28829         * soft-fp/unordtf2.c: Likewise.
28831 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
28833         [BZ #15672]
28834         * misc/error.c (error_tail): Fix possible buffer overflow.
28836 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
28838         [BZ #13028]
28839         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28840         address.
28842 2013-10-14  P. J. McDermott  <pj@pehjota.net>
28844         [BZ #832]
28845         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
28846         testing pipefail option.
28848 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28850         * soft-fp/double.h: Indent preprocessor directives inside #if.
28851         * soft-fp/extended.h: Likewise.
28852         * soft-fp/op-2.h: Likewise.
28853         * soft-fp/op-4.h: Likewise.
28854         * soft-fp/op-common.h: Likewise.
28855         * soft-fp/quad.h: Likewise.
28856         * soft-fp/single.h: Likewise.
28857         * soft-fp/soft-fp.h: Likewise.
28859 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
28861         * iconv/iconv_prog.c: Fix typos.
28862         * stdio-common/psiginfo-data.h: Likewise.
28864 2013-10-12   Reuben Thomas <rrt@sc3d.org>
28866         [BZ #15764]
28867         * locale/setlocale.c: Fix typo.
28869 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28871         [BZ #16036]
28872         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28873         signaling NaN arguments.
28874         * soft-fp/unordsf2.c (__unordsf2): Likewise.
28875         * soft-fp/unordtf2.c (__unordtf2): Likewise.
28877         [BZ #14910]
28878         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28879         unordered operands.
28880         * soft-fp/gesf2.c (__gesf2): Likewise.
28881         * soft-fp/getf2.c (__getf2): Likewise.
28882         * soft-fp/ledf2.c (__ledf2): Likewise.
28883         * soft-fp/lesf2.c (__lesf2): Likewise.
28884         * soft-fp/letf2.c (__letf2): Likewise.
28886         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28887         * soft-fp/eqsf2.c (__eqsf2): Likewise.
28888         * soft-fp/eqtf2.c (__eqtf2): Likewise.
28889         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28890         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28891         * soft-fp/fixdfti.c (__fixdfti): Likewise.
28892         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28893         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28894         * soft-fp/fixsfti.c (__fixsfti): Likewise.
28895         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28896         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28897         * soft-fp/fixtfti.c (__fixtfti): Likewise.
28898         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28899         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28900         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28901         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28902         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28903         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28904         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28905         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28906         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28907         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28908         * soft-fp/floatdisf.c (__floatdisf): Likewise.
28909         * soft-fp/floatsisf.c (__floatsisf): Likewise.
28910         * soft-fp/floattidf.c (__floattidf): Likewise.
28911         * soft-fp/floattisf.c (__floattisf): Likewise.
28912         * soft-fp/floattitf.c (__floattitf): Likewise.
28913         * soft-fp/floatundidf.c (__floatundidf): Likewise.
28914         * soft-fp/floatundisf.c (__floatundisf): Likewise.
28915         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28916         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28917         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28918         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28919         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
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/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28927         Undefine and redefine.
28928         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28929         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28930         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28931         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28932         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28933         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28934         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28935         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28936         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28937         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28938         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28939         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28940         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28941         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28942         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28944         [BZ #16032]
28945         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28946         without decrementing exponent if mantissa >= that for the
28947         denominator, not >.
28948         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28949         denominator, not >.  Decrement exponent in < case instead of
28950         incrementing in >= case.
28951         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28952         without decrementing exponent if mantissa >= that for the
28953         denominator, not >.
28955         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28956         computing saturated result for unsigned overflow.
28958 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28959             Jeff Law  <law@redhat.com>
28961         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28962         (atan2Mp): Add systemtap probe marker.
28963         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28964         (__ieee754_log): Add systemtap probe marker.
28965         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28966         (atanMp): Add systemtap probe marker.
28967         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28968         (tanMp): Add systemtap probe marker.
28969         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28970         (__slowexp): Add systemtap probe marker.
28971         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28972         (__slowpow): Add systemtap probe marker.
28973         * manual/probes.texi: Document probes.
28975 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
28977         [BZ #15362]
28978         * libio/fileops.c (_IO_new_file_write): Return count of bytes
28979         written.
28980         (_IO_new_file_xsputn): Don't return EOF if nothing has been
28981         written.
28982         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28983         written to buffer but not flushed.
28984         * libio/iofwrite_u.c:  Likewise.
28985         * libio/iopadn.c:  Return bytes returned even if EOF was
28986         encountered.
28987         * libio/iowpadn.c:  Likewise.
28988         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28989         if _IO_padn does not write the whole buffer.
28990         [!COMPILE_WPRINTF] (PAD): Likewise.
28992 2013-10-10  David S. Miller  <davem@davemloft.net>
28994         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28995         directory block.
28997 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28999         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29000         instead of FSF address.
29001         * soft-fp/fixdfti.c: Likewise.
29002         * soft-fp/fixsfti.c: Likewise.
29003         * soft-fp/fixtfti.c: Likewise.
29004         * soft-fp/fixunsdfti.c: Likewise.
29005         * soft-fp/fixunssfti.c: Likewise.
29006         * soft-fp/fixunstfti.c: Likewise.
29007         * soft-fp/floattidf.c: Likewise.
29008         * soft-fp/floattisf.c: Likewise.
29009         * soft-fp/floattitf.c: Likewise.
29010         * soft-fp/floatuntidf.c: Likewise.
29011         * soft-fp/floatuntisf.c: Likewise.
29012         * soft-fp/floatuntitf.c: Likewise.
29013         * soft-fp/trunctfxf2.c: Likewise.
29015         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29016         * soft-fp/fixdfti.c: Likewise.
29017         * soft-fp/fixsfti.c: Likewise.
29018         * soft-fp/fixtfti.c: Likewise.
29019         * soft-fp/fixunsdfti.c: Likewise.
29020         * soft-fp/fixunssfti.c: Likewise.
29021         * soft-fp/fixunstfti.c: Likewise.
29022         * soft-fp/floattidf.c: Likewise.
29023         * soft-fp/floattisf.c: Likewise.
29024         * soft-fp/floattitf.c: Likewise.
29025         * soft-fp/floatuntidf.c: Likewise.
29026         * soft-fp/floatuntisf.c: Likewise.
29027         * soft-fp/floatuntitf.c: Likewise.
29028         * soft-fp/trunctfxf2.c: Likewise.
29030 2013-10-10  David S. Miller  <davem@davemloft.net>
29032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29034 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29036         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29037         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29038         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29039         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29040         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29041         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29042         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29044         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29045         for NaNs before doing comparisons on argument.
29046         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29047         Likewise.
29049 2013-10-10  Will Newton  <will.newton@linaro.org>
29051         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29052         passed to _int_memalign does not overflow.
29054 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29056         * scripts/bench.pl: Add include-sources directive.
29057         * benchtests/README: Update documentation.
29059 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29061         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29062         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29063         instead of FP_INIT_ROUNDMODE.
29064         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29065         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29067         [BZ #16034]
29068         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29069         copy class of input value.
29070         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29071         not handle exceptions.
29072         * soft-fp/negsf2.c (__negsf2): Likewise.
29073         * soft-fp/negtf2.c (__negtf2): Likewise.
29074         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29076 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29078         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29079         semicolon.  From Linux kernel.
29081 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29083         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29085 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29087         [BZ #156]
29088         * manual/socket.texi: Added statement about buffer
29089         for gethostbyname2_r.
29091 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29093         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29094         Use .p2align directive instead, throughout.
29095         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29096         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29097         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29098         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29099         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29100         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29101         * sysdeps/x86_64/strchr.S: Likewise.
29102         * sysdeps/x86_64/strrchr.S: Likewise.
29104 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29106         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29108         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29110         * sysdeps/generic/math_private.h (__mpsin1): Remove
29111         declaration.
29112         (__mpcos1): Likewise.
29113         (__mpsin): New argument __range_reduce.
29114         (__mpcos): Likewise.
29115         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29116         (slow): Use __mpsin and __mpcos.
29117         (slow1): Likewise.
29118         (slow2): Likewise.
29119         (sloww): Likewise.
29120         (sloww1): Likewise.
29121         (sloww2): Likewise.
29122         (bsloww): Likewise.
29123         (bsloww1): Likewise.
29124         (bsloww2): Likewise.
29125         (cslow2): Likewise.
29126         (csloww): Likewise.
29127         (csloww1): Likewise.
29128         (csloww2): Likewise.
29129         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29130         range_reduce.  Merge in __mpsin1.
29131         (__mpcos): Likewise.
29132         (__mpsin1): Remove.
29133         (__mpcos1): Likewise.
29135 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29137         * locale/loadlocale.c (_nl_intern_locale_data): Use
29138         LOCFILE_ALIGNED_P.
29139         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29140         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29141         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29142         obstack data is appropriately aligned.
29143         (obstack_int32_grow_fast): Likewise.
29144         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29145         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29146         (add_locale_uint32_array): Likewise.
29148 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29150         * benchtests/Makefile: Remove ARGLIST and RET variables.
29151         ($(objpfx)bench-%.c): Pass only function name to the script.
29152         * benchtests/README: Update documentation.
29153         * benchtests/acos-inputs: Add new directives.
29154         * benchtests/acosh-inputs: Likewise.
29155         * benchtests/asin-inputs: Likewise.
29156         * benchtests/asinh-inputs: Likewise.
29157         * benchtests/atan-inputs: Likewise.
29158         * benchtests/atanh-inputs: Likewise.
29159         * benchtests/cos-inputs: Likewise.
29160         * benchtests/cosh-inputs: Likewise.
29161         * benchtests/exp-inputs: Likewise.
29162         * benchtests/log-inputs: Likewise.
29163         * benchtests/pow-inputs: Likewise.
29164         * benchtests/rint-inputs: Likewise.
29165         * benchtests/sin-inputs: Likewise.
29166         * benchtests/sinh-inputs: Likewise.
29167         * benchtests/tan-inputs: Likewise.
29168         * benchtests/tanh-inputs: Likewise.
29169         * scripts/bench.pl: Add support for new directives.
29171 2013-10-07  Alan Modra  <amodra@gmail.com>
29173         * README: Fix careless merge.
29175 2013-10-05  Alan Modra  <amodra@gmail.com>
29177         * NEWS: Mention powerpc64le support and bugs fixed.
29178         * README: Both big-endian and little-endian powerpc64 supported.
29180 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29182         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29183         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29184         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29185         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29187 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
29189         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29190         match prototype.
29192 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
29194         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29195         Move -mhard-float appending from
29196         ports/sysdeps/powerpc/powerpc32/Makefile.
29197         [$(with-fp) = yes] (ASFLAGS): Likewise.
29198         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29199         * sysdeps/powerpc/nofpu: Move directory from
29200         ports/sysdeps/powerpc/nofpu.
29201         * sysdeps/powerpc/soft-fp: Move directory from
29202         ports/sysdeps/powerpc/soft-fp.
29203         * sysdeps/powerpc/powerpc32/405: Move directory from
29204         ports/sysdeps/powerpc/powerpc32/405.
29205         * sysdeps/powerpc/powerpc32/440: Move directory from
29206         ports/sysdeps/powerpc/powerpc32/440.
29207         * sysdeps/powerpc/powerpc32/464: Move directory from
29208         ports/sysdeps/powerpc/powerpc32/464.
29209         * sysdeps/powerpc/powerpc32/476: Move directory from
29210         ports/sysdeps/powerpc/powerpc32/476.
29211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29212         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29214         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29216         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29218         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29220         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29221         * README: Update for powerpc-*-linux-gnu software floating point
29222         support in libc.
29224         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29225         case to powerpc/powerpc32*.
29226         * sysdeps/unix/sysv/linux/configure: Regenerated.
29228         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29229         (_FPU_MASK_OM): Define as 0x04.
29230         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29231         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29232         0x00c10080.
29233         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29234         0x0000003c.
29235         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29238         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29239         getcontext_e500.
29240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29241         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29242         setcontext_e500.
29243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29244         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29245         and setcontext_e500.
29247 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
29249         * locale/iso-3166.def: Update iso-1366.def and related occurrences
29251 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29253         * manual/threads.texi (Default Thread Attributes): Fix typo.
29255 2013-10-04  Will Newton  <will.newton@linaro.org>
29257         * malloc/Makefile: Add tst-memalign.
29258         * malloc/tst-memalign.c: New file.
29260         * malloc/tst-posix_memalign.c: Add comments.
29261         (do_test): Add comments and call free on all potentially
29262         allocated pointers. Add space after cast.
29264         * malloc/tst-pvalloc.c: Add comments.
29265         (do_test): Add comments and call free on all potentially
29266         allocated pointers. Remove duplicate check for NULL pointer.
29267         Add space after cast.
29269         * malloc/tst-valloc.c: Add comments.
29270         (do_test): Add comments and call free on all potentially
29271         allocated pointers. Remove duplicate check for NULL pointer.
29272         Add space after cast.
29274 2013-10-04  Alan Modra  <amodra@gmail.com>
29276         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29277         Use stdint types in rather than __attribute__((mode())).
29278         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29280 2013-10-04  Alan Modra  <amodra@gmail.com>
29282         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29283         Correct handling of unaligned relocs for little-endian.
29284         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29286 2013-10-04  Alan Modra  <amodra@gmail.com>
29288         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29289         * configure: Regenerate.
29290         * nptl/shlib-versions: Powerpc*le starts at 2.18.
29291         * shlib-versions: Likewise.
29293 2013-10-04  Alan Modra  <amodra@gmail.com>
29295         * string/tester.c (test_memrchr): Increment reported test cycle.
29297 2013-10-04  Alan Modra  <amodra@gmail.com>
29299         * string/test-memcpy.c (do_one_test): When reporting errors, print
29300         string address and don't overrun end of string.
29302 2013-10-04  Alan Modra  <amodra@gmail.com>
29304         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29305         insrdi.  Make better use of reg selection to speed exit slightly.
29306         Schedule entry path a little better.  Remove useless "are we done"
29307         checks on entry to main loop.  Handle wrapping around zero address.
29308         Correct main loop count.  Handle single left-over word from main
29309         loop inline rather than by using loop_small.  Remove extra word
29310         case in loop_small caused by wrong loop count.  Add little-endian
29311         support.
29312         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29313         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
29314         cache hint.
29315         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29316         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29317         support.  Avoid rlwimi.
29318         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
29320 2013-10-04  Alan Modra  <amodra@gmail.com>
29322         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
29323         insrdi.  Formatting.
29324         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
29325         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29326         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29327         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29328         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29329         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
29331 2013-10-04  Alan Modra  <amodra@gmail.com>
29333         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
29334         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29335         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29336         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
29337         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29338         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29339         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29340         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29341         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
29342         use of regs.  Use power7 mtocrf.  Tidy function tails.
29344 2013-10-04  Alan Modra  <amodra@gmail.com>
29346         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
29347         Formatting.  Consistently use rXXX register defines or rN defines.
29348         Use early exit labels that avoid restoring unused non-volatile regs.
29349         Make cr field use more consistent with rWORDn compares.  Rename
29350         regs used as shift registers for unaligned loop, using rN defines
29351         for short lifetime/multiple use regs.
29352         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29353         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
29354         addi 1,1,64 to pop stack frame.  Simplify return value code.
29355         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29357 2013-10-04  Alan Modra  <amodra@gmail.com>
29359         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
29360         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
29361         rather than rlwimi.
29362         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
29363         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
29364         little-endian support.  Correct typos.
29365         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
29366         rather than rlwimi.
29367         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
29368         in loop and entry code to keep "and." results.
29369         (strchr): Add little-endian support.  Comment.  Move cntlzd
29370         earlier in tail.
29371         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
29373 2013-10-04  Alan Modra  <amodra@gmail.com>
29375         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
29376         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
29377         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29378         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
29380 2013-10-04  Alan Modra  <amodra@gmail.com>
29382         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
29383         (rTMP): Define as r11.
29384         (strcmp): Add little-endian support.  Optimise tail.
29385         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29386         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29387         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29388         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29389         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29390         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29391         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29393 2013-10-04  Alan Modra  <amodra@gmail.com>
29395         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29396         little-endian support.  Remove unnecessary "are we done" tests.
29397         Handle "s" wrapping around zero and extremely large "size".
29398         Correct main loop count.  Handle single left-over word from main
29399         loop inline rather than by using small_loop.  Correct comments.
29400         Delete "zero" tail, use "end_max" instead.
29401         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29403 2013-10-04  Alan Modra  <amodra@gmail.com>
29405         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29406         support.  Don't branch over align.
29407         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29408         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29409         support.  Rearrange tmp reg use to suit.  Comment.
29410         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29412 2013-10-04  Alan Modra  <amodra@gmail.com>
29414         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29416 2013-10-04  Alan Modra  <amodra@gmail.com>
29418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29419         conditional form of branch and link when obtaining pc.
29420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29422 2013-10-04  Alan Modra  <amodra@gmail.com>
29424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29425         HIWORD/LOWORD.
29426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29429 2013-10-04  Alan Modra  <amodra@gmail.com>
29431         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29432         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29433         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29434         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29435         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29436         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29437         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29438         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29439         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29440         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29442 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29443             Alistair Popple <alistair@ozlabs.au.ibm.com>
29444             Alan Modra <amodra@gmail.com>
29446         [BZ #15723]
29447         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29448         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29449         _dl_hwcap access for little-endian.
29450         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
29451         destroy vmx regs when saving unaligned.
29452         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29453         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
29454         destroy vmx regs when saving unaligned.
29456 2013-10-04  Alan Modra  <amodra@gmail.com>
29458         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29459         Don't use a union to pack hi/low value.
29461 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29463         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29464         for little-endian.
29465         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29466         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29467         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29468         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29469         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29471 2013-10-04  Alan Modra  <amodra@gmail.com>
29473         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29474         constants to usual value for .cst8 section, and remove redundant
29475         high address load.
29476         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29477         constant for 0x1p52.  Load little-endian words of double from
29478         correct stack offsets.
29480 2013-10-04  Alan Modra  <amodra@gmail.com>
29482         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29483         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29484         words of double from correct stack offsets.
29485         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29486         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29487         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29488         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29489         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29490         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29491         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29492         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29493         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29494         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29495         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29496         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29497         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29498         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29499         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29500         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29501         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29503 2013-10-04  Alan Modra  <amodra@gmail.com>
29505         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29506         64-bit int/double union.
29507         (_FPU_SETCW): Likewise.
29508         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29509         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29511 2013-10-04  Alan Modra  <amodra@gmail.com>
29513         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29514         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29516 2013-10-04  Alan Modra  <amodra@gmail.com>
29518         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29519         use vector int constants.
29520         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29522 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29524         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29525         array with long long.
29526         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29527         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29528         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29529         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29530         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29531         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29532         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29533         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29534         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29535         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29536         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29537         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29538         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29540 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29542         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29543         (__signbit): Likewise.  Correct for little-endian.
29544         (__signbitl): Call __signbit.
29545         (lrint): Correct for little-endian.
29546         (lrintf): Call lrint.
29548 2013-10-04  Alan Modra  <amodra@gmail.com>
29550         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29551         union 32-bit int array member with 64-bit int array.
29552         (t515, tm256): Double rather than long double.
29553         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29555 2013-10-04  Alan Modra  <amodra@gmail.com>
29557         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29558         Delete.
29559         (IEEE854_LONG_DOUBLE_BIAS): Delete.
29560         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29561         version of math_ldbl.h.
29563 2013-10-04  Alan Modra  <amodra@gmail.com>
29565         [BZ #15734], [BZ #15735]
29566         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29567         all uses of ieee875 long double macros and unions.  Simplify test
29568         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
29569         ldbl_extract_mantissa value for ix,iy exponents.  Properly
29570         normalize after ldbl_extract_mantissa, and don't add hidden bit
29571         already handled.  Don't treat low word of ieee854 mantissa like
29572         low word of IBM long double and mask off bit when testing for
29573         zero.
29574         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29575         all uses of ieee875 long double macros and unions.  Simplify tests
29576         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
29577         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
29578         two1022, instead use their values.  Recognise that tests for large
29579         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
29580         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29581         Rewrite all uses of ieee875 long double macros and unions.  Simplify
29582         test for 0.0L and nan.  Correct negation.
29583         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29584         ieee875 long double macros and unions.  Correct output for large
29585         magnitude x.  Correct absolute value calculation.
29586         (__erfcl): Likewise.
29587         * math/libm-test.inc: Add tests for errors discovered in IBM long
29588         double versions of fmodl, remainderl, erfl and erfcl.
29590 2013-10-04  Alan Modra  <amodra@gmail.com>
29592         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29593         all uses of ieee854 long double macros and unions.  Simplify tests
29594         for long doubles that are fully specified by the high double.
29595         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29596         Likewise.
29597         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29598         Remove dead code too.
29599         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29600         (__ieee754_ynl): Likewise.
29601         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29602         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29603         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29604         Remove dead code too.
29605         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29606         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29607         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29608         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29609         Simplify.
29610         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29611         Simplify.
29612         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29613         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29614         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29615         Comment on variable precision.
29616         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29617         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29618         Likewise.
29619         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29620         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29621         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29622         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29623         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29625 2013-10-04  Alan Modra  <amodra@gmail.com>
29627         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29628         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29629         all uses of ieee854 long double macros and unions.
29630         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29631         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29632         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29633         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29634         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29635         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29636         Likewise.
29637         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29638         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29639         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29640         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29641         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29642         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29643         Simplify sign and nan test too.
29644         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29645         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29646         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29647         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29648         Likewise.
29649         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29650         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29651         Likewise.
29652         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29653         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29654         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29655         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29656         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29657         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29659 2013-10-04  Alan Modra  <amodra@gmail.com>
29661         * stdio-common/printf_size.c (__printf_size): Don't use
29662         union ieee854_long_double in fpnum union.
29663         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
29664         signbit macro to retrieve sign from long double.
29665         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29666         retrieve sign from long double.
29667         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29668         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29669         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29670         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29671         * math/test-misc.c (main): Don't use union ieee854_long_double.
29673 2013-10-04  Alan Modra  <amodra@gmail.com>
29675         [BZ #15680]
29676         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29677         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29678         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29679         calculation.  Remove unnecessary test for denormal exponent.
29680         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29681         Correct handling of denormals.  Avoid undefined shift behaviour.
29682         Correct normalisation of low mantissa when low double is denormal.
29683         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29684         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
29685         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29686         Correct normalisation of low mantissa.  Test for overflow of high
29687         mantissa and normalise.
29688         (ldbl_nearbyint): Use more readable constant for two52.
29689         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29690         (__mpn_construct_long_double): Fix test for overflow of high
29691         mantissa and correct normalisation.  Avoid undefined shift.
29693 2013-10-04  Alan Modra  <amodra@gmail.com>
29695         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29696         (union ibm_extended_long_double): Define as an array of ieee754_double.
29697         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29698         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29699         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29700         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29701         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29702         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29703         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29704         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29705         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29706         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29707         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29709 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
29711         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29712         page size instead of calling getpagesize.
29714         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29715         (LOCFILE_ALIGN_MASK): Likewise.
29716         (LOCFILE_ALIGN_UP): Likewise.
29717         (LOCFILE_ALIGNED_P): Likewise.
29718         * locale/programs/ld-collate.c (collate_output): Use the new
29719         macros instead of __alignof__ (int32_t).
29720         * locale/weight.h (findidx): Likewise.
29722 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
29724         [BZ #431]
29725         * manual/string.texi: Fix strncat and wcsncat.
29727 2013-10-03  Brooks Moses  <bmoses@google.com>
29729         [BZ #15915]
29730         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29731         * Makerules: ...here, and adjust associated comments.
29733 2013-10-02  Will Newton  <will.newton@linaro.org>
29735         * malloc/Makefile: Add tst-pvalloc.
29736         * malloc/tst-pvalloc.c: New file.
29738 2013-10-02  Will Newton  <will.newton@linaro.org>
29740         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29741         improve test coverage.
29743 2013-10-02  Will Newton  <will.newton@linaro.org>
29745         * malloc/Makefile: Add tst-posix_memalign.
29746         * malloc/tst-posix_memalign.c: New file.
29748 2013-10-01  Eric Blake  <eblake@redhat.com>
29750         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29751         Use __THROWNL rather than __THROW on static functions.
29753 2013-09-30  Petr Machata  <pmachata@redhat.com>
29755         * elf/elf.h (R_AARCH64_ABS16): New macro.
29756         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29757         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29758         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29759         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29760         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29761         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29762         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29763         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29764         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29765         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29766         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29767         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29768         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29769         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29770         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29771         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29772         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29773         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29774         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29775         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29776         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29777         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29778         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29779         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29780         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29781         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29782         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29783         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29784         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29785         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29786         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29787         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29788         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29789         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29790         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29791         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29792         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29793         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29794         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29795         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29796         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29797         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29798         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29799         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29800         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29801         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29802         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29803         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29804         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29805         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29806         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29807         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29808         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29809         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29810         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29811         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29812         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29813         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29814         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29815         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29816         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29817         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29818         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29819         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29820         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29821         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29822         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29823         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29824         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29825         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29826         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29827         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29828         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29829         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29830         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29831         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29832         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29833         (R_AARCH64_TLSDESC_LDR): Likewise.
29834         (R_AARCH64_TLSDESC_ADD): Likewise.
29835         (R_AARCH64_TLSDESC_CALL): Likewise.
29837 2013-09-30  Andreas Schwab  <schwab@suse.de>
29839         [BZ #15048]
29840         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29841         the nss database lookup.
29842         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29843         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29845 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
29847         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29849 2013-09-28  P. J. McDermott  <pj@pehjota.net>
29851         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29852         ${Bash-specific parameter/pattern/string} parameter expansion.
29853         * sysdeps/unix/make-syscalls.sh: Likewise.
29855 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29857         * sysdeps/sh/stackguard-macros.h: New file.
29859 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
29861         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29862         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29863         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29864         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29865         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29866         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29868 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29870         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29871         Fix thread ID register.
29873 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
29875         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29876         [POSIX || UNIX98]: Require rather than permitting all symbols from
29877         <time.h>.
29878         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29879         element of struct sched_param.
29880         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29881         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29882         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29883         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29884         constant.
29886 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
29888         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29889         argument calculation.
29891 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29893         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29894         Expect macro.
29895         [POSIX] (pthread_attr_t): Do not require type.
29896         [POSIX] (pthread_cond_t): Likewise.
29897         [POSIX] (pthread_condattr_t): Likewise.
29898         [POSIX] (pthread_key_t): Likewise.
29899         [POSIX] (pthread_mutex_t): Likewise.
29900         [POSIX] (pthread_mutexattr_t): Likewise.
29901         [POSIX] (pthread_once_t): Likewise.
29902         [POSIX] (pthread_t): Likewise.
29903         [POSIX-based standards] (pthread_atfork): Expect function.
29905 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29906             Richard Sandiford  <richard@codesourcery.com>
29908         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29909         (swap_endianness_p): New extern variable.
29910         (set_big_endian): New inline function.
29911         (maybe_swap_uint32): Likewise.
29912         (maybe_swap_uint32_array): Likewise.
29913         (maybe_swap_uint32_obstack): Likewise.
29914         * locale/programs/locfile.c: Include <stdbool.h>.
29915         (swap_endianness_p): New variable.
29916         (add_locale_uint32): Call maybe_swap_uint32.
29917         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29918         (write_locale_data): Call maybe_swap_uint32_array.
29919         * locale/programs/ld-collate.c (obstack_int32_grow): Call
29920         maybe_swap_uint32.
29921         (obstack_int32_grow_fast): Likewise.
29922         (output_weightwc): Call maybe_swap_uint32_obstack.
29923         (collate_output): Likewise.
29924         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29925         (OPT_LITTLE_ENDIAN): Likewise.
29926         (options): Add --little-endian and --big-endian options.
29927         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29928         * locale/programs/locarchive.c: Include "locfile.h".
29929         (GET): New macro.
29930         (SET): Likewise.
29931         (INC): Likewise.
29932         (create_archive): Use the new macros to access fields of
29933         structures directly mapped from or written to locale archives.
29934         (oldlocrecentcmp): Likewise.
29935         (enlarge_archive): Likewise.
29936         (insert_name): Likewise.
29937         (add_alias): Likewise.
29938         (add_locale): Likewise.
29939         (delete_locales_from_archive): Likewise.
29940         (show_archive_content): Likewise.
29941         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
29942         locale data.
29944 2013-09-24  Roland McGrath  <roland@hack.frob.com>
29946         * manual/freemanuals.texi: Updated from (newly) canonical copy at
29947         http://www.gnu.org/doc/freemanuals.texi.
29948         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29950 2013-09-24  Will Newton  <will.newton@linaro.org>
29952         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29953         macro.
29955 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
29957         * locale/hashval.h (compute_hashval): Interpret bytes of key as
29958         unsigned char.
29960 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
29962         * manual/threads.texi (POSIX Threads): Fix a typo.
29964 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29966         [BZ #14547]
29967         * string/tst-strcoll-overflow.c: New test case.
29968         * string/Makefile (xtests): Add tst-strcoll-overflow.
29969         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29970         cache if string sizes may cause integer overflow.
29972         [BZ #14547]
29973         * string/strcoll_l.c (coll_seq): New members rule, idx,
29974         save_idx and back_us.
29975         (get_next_seq_nocache): New function.
29976         (do_compare_nocache): New function.
29977         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29978         when malloc fails.
29980 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
29982         [BZ #15754]
29983         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29984         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29985         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29987         [BZ #15754]
29988         * elf/Makefile (tests): Add tst-ptrguard1.
29989         (tests-static): Add tst-ptrguard1-static.
29990         (tst-ptrguard1-ARGS): Define.
29991         (tst-ptrguard1-static-ARGS): Define.
29992         * elf/tst-ptrguard1.c: New file.
29993         * elf/tst-ptrguard1-static.c: New file.
29994         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29995         * sysdeps/i386/stackguard-macros.h: Likewise.
29996         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29997         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29998         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29999         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30000         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30001         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30003 2013-09-23  Hector Marco  <hecmargi@upv.es>
30004             Ismael Ripoll  <iripoll@disca.upv.es>
30005             Carlos O'Donell  <carlos@redhat.com>
30007         [BZ #15754]
30008         * sysdeps/generic/stackguard-macros.h: Define
30009         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30010         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30011         Define __pointer_chk_guard_local.
30012         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30013         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30015 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30017         [BZ #15859]
30018         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30020 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30022         * include/string.h (__ffs): Declare as hidden.
30023         * string/ffs.c (__ffs): Define as hidden.
30024         * sysdeps/i386/ffs.c (__ffs): Likewise.
30025         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30026         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30027         * sysdeps/s390/ffs.c (__ffs): Likewise.
30028         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30030 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30032         * NEWS: Mention malloc probes.
30034         * malloc/arena.c (new_heap): New memory_heap_new probe.
30035         (grow_heap): New memory_heap_more probe.
30036         (shrink_heap): New memory_heap_less probe.
30037         (heap_trim): New memory_heap_free probe.
30038         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30039         (systrim): New memory_sbrk_less probe.
30040         * manual/probes.texi: Document them.
30042         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30043         * manual/probes.texi: Document it.
30045         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30046         (__libc_realloc): Add memory_realloc_retry probe.
30047         (__libc_memalign): Add memory_memalign_retry probe.
30048         (__libc_valloc): Add memory_valloc_retry probe.
30049         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30050         (__libc_calloc): Add memory_calloc_retry probe.
30051         * manual/probes.texi: Document them.
30053         * malloc/arena.c (get_free_list): Add probe
30054         memory_arena_reuse_free_list.
30055         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30056         and memory_arena_reuse.
30057         (arena_get2) [!PER_THREAD]: Likewise.
30058         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30059         memory_arena_reuse_realloc.
30060         * manual/probes.texi: Document them.
30062         * malloc/malloc.c (__libc_free): Add
30063         memory_mallopt_free_dyn_thresholds probe.
30064         (__libc_mallopt): Add multiple memory_mallopt probes.
30065         * manual/probes.texi: Document them.
30067         * malloc/malloc.c: Include stap-probe.h.
30068         (__libc_mallopt): Add memory_mallopt probe.
30069         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30070         * manual/probes.texi: New.
30071         * manual/Makefile (chapters): Add probes.
30072         * manual/threads.texi: Set next node.
30074 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30076         [BZ #15963, #13985]
30077         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30078         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30079         Add `Chinese' to `nan' entry name.
30081 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30083         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30084         (POLYNOMIAL): Likewise.
30085         (TAYLOR_SINCOS): Likewise.
30086         (TAYLOR_SLOW): Likewise.
30087         (__sin): Use TAYLOR_SINCOS.
30088         (__cos): Likewise.
30089         (slow): Use TAYLOR_SLOW.
30090         (sloww): Likewise.
30091         (bsloww): Likewise.
30092         (csloww): Likewise.
30094 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30096         * stdlib/strtod_l.c: Fix buffer overrun.
30098 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30100         * benchtests/Makefile (bench): Add sincos.
30101         * benchtests/bench-sincos.c: New file.
30103         * math/libm-test.inc (cos_test_data): New test inputs.
30104         (sin_test_data): Likewise.
30106         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30107         macro.
30108         (__sin): Use it.
30109         (__cos): Likewise.
30110         (slow1): Likewise.
30111         (slow2): Likewise.
30112         (sloww1): Likewise.
30113         (sloww2): Likewise.
30114         (bsloww1): Likewise.
30115         (bsloww2): Likewise.
30116         (cslow2): Likewise.
30117         (csloww1): Likewise.
30118         (csloww2): Likewise.
30120         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30121         function.
30122         (__sin): Use it.
30123         (__cos): Likewise.
30125         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30126         gotos.
30127         (__cos): Likewise.
30129 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30131         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30132         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30133         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30134         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30135         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30136         * elf/cache.c (print_entry): Handle the new cache flags.
30138 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30139             Aldy Hernandez  <aldyh@redhat.com>
30141         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30142         Change condition to [_SOFT_FLOAT].
30143         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30144         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30145         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30146         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30147         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30148         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30149         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30150         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30151         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30154         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30155         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30156         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30157         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30158         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30159         declaration.
30161 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30163         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30164         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30165         (__longjmp): Use LOAD_GP to load saved GPRs.
30166         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30167         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30168         (__sigsetjmp): Use SAVE_GP to save GPRs.
30170         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30171         Do not append -msoft-float.
30172         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30174 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30176         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30178 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
30180         [BZ #15966]
30181         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30182         (_FPU_GETCW): Use initial "__" on variable and field names but not
30183         on macro parameter name.
30184         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
30185         parentheses around reference to macro parameter.
30187 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
30189         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30190         prototype.
30191         (ctype_startup): Use uint32_t in cast and sizeof for
30192         ctype->charnames.
30194 2013-09-11  Jia Liu  <proljc@gmail.com>
30196         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30197         __daddr_t_defined.
30198         [__FreeBSD__]: Likewise.
30200 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
30202         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30203         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30204         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30205         (strchr): Remove __strchr_sse42 ifunc selection.
30206         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30207         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30209 2013-09-11  Will Newton  <will.newton@linaro.org>
30211         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30212         parameter to RES. Remove hardcoded 1000 value.
30213         * benchtests/bench-skeleton.c (main): Pass RES parameter
30214         to TIMING_INIT and multiply result by 1000.
30216 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30220 2013-09-11  Andreas Schwab  <schwab@suse.de>
30222         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30223         if not defined.
30224         (O_TMPFILE) [__USE_GNU]: Define.
30225         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30226         Define.
30228 2013-09-11  Will Newton  <will.newton@linaro.org>
30230         [BZ #15857]
30231         * malloc/malloc.c (__libc_memalign): Check the value of bytes
30232         does not overflow.
30234 2013-09-11  Will Newton  <will.newton@linaro.org>
30236         [BZ #15856]
30237         * malloc/malloc.c (__libc_valloc): Check the value of bytes
30238         does not overflow.
30240 2013-09-11  Will Newton  <will.newton@linaro.org>
30242         [BZ #15855]
30243         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30244         does not overflow.
30246 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
30248         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30249         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30250         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30251         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30252         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30254 2013-09-10  Allan McRae  <allan@archlinux.org>
30256         [BZ #15748]
30257         * manual/arith.texi (Parsing of Floats): Clarify
30258         cross-reference.
30260         [BZ #15849]
30261         * manual/install.texi (Running make install): Mention
30262         --enable-pt-chown.
30263         * INSTALL: Regenerated.
30265 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
30267         * csu/init-first.c (_init): Remove the !SHARED condition around
30268         FPU control word initialization.
30269         * elf/dl-support.c (_dl_fpu_control): New variable.
30270         (_dl_aux_init) <AT_FPUCW>: Initialize it.
30271         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30272         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30273         * math/test-fpucw-static.c: New file.
30274         * math/test-fpucw-ieee.c: New file.
30275         * math/test-fpucw-ieee-static.c: New file.
30276         * math/Makefile (tests): Add `test-fpucw-ieee' and
30277         `$(tests-static)'.
30278         (tests-static): New variable.
30279         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30280         dependency to...
30281         [($(build-shared),yes)]
30282         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30283         ... this.
30284         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30285         New dependency.
30287 2013-09-09  Allan McRae  <allan@archlinux.org>
30289         [BZ #15939]
30290         * manual/string.texi (Collation Functions): Fix typo in
30291         strcoll example.
30292         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30294         [BZ #15893]
30295         * stdlib/isomac.c (get_null_defines): Fix memory leak.
30297         [BZ #15892]
30298         * libio/memstream.c (open_memstream): Fix memory leak.
30299         * libio/wmemstream.c (open_wmemstream): Likewise.
30301         [BZ #15895]
30302         * nscd/netgroupcache.c: Fix nesting of ifdefs.
30304 2013-09-09  Will Newton  <will.newton@linaro.org>
30306         * malloc/Makefile: Add tst-realloc to tests.
30307         * malloc/tst-realloc.c: New file.
30309 2013-09-09  Allan McRae  <allan@archlinux.org>
30311         [BZ #15844]
30312         * COPYING: Update from GNU website to fix FSF address.
30313         * COPYING.LIB: Likewise.
30315 2013-09-06  David S. Miller  <davem@davemloft.net>
30317         * po/zh_TW.po: Update Chinese (traditional) translation from
30318         translation project.
30320 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
30321             Joseph Myers  <joseph@codesourcery.com>
30323         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
30324         "localeinfo.h".
30325         (obstack_chunk_alloc): New macro.
30326         (obstack_chunk_free): Likewise.
30327         (record_offset): New function.
30328         (init_locale_data): Likewise.
30329         (align_locale_data): Likewise.
30330         (add_locale_empty): Likewise.
30331         (add_locale_raw_data): Likewise.
30332         (add_locale_raw_obstack): Likewise.
30333         (add_locale_string): Likewise.
30334         (add_locale_wstring): Likewise.
30335         (add_locale_uint32): Likewise.
30336         (add_locale_uint32_array): Likewise.
30337         (add_locale_char): Likewise.
30338         (start_locale_structure): Likewise.
30339         (end_locale_structure): Likewise.
30340         (start_locale_prelude): Likewise.
30341         (end_locale_prelude): Likewise.
30342         (write_locale_data): Take locale_file structure rather than an
30343         iovec.
30344         * locale/programs/locfile.h: Include "obstack.h".
30345         (struct locale_file): Change to store locale file contents instead
30346         of header.
30347         (init_locale_data): New prototype.
30348         (align_locale_data): Likewise.
30349         (add_locale_empty): Likewise.
30350         (add_locale_raw_data): Likewise.
30351         (add_locale_raw_obstack): Likewise.
30352         (add_locale_string): Likewise.
30353         (add_locale_wstring): Likewise.
30354         (add_locale_uint32): Likewise.
30355         (add_locale_uint32_array): Likewise.
30356         (add_locale_char): Likewise.
30357         (start_locale_structure): Likewise.
30358         (end_locale_structure): Likewise.
30359         (start_locale_prelude): Likewise.
30360         (end_locale_prelude): Likewise.
30361         (write_locale_data): Update prototype.
30362         * locale/programs/3level.h (struct TABLE): Remove result field.
30363         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
30364         Use new locale_file interface.
30365         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
30366         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
30367         * locale/programs/ld-address.c (address_output): Use new
30368         locale_file interface.
30369         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
30370         NO_ADD_LOCALE.
30371         (collate_finish): Don't call collseq_table_finalize.
30372         (collate_output): Use new locale_file interface.
30373         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
30374         in file.
30375         (NO_FINALIZE): Change to NO_ADD_LOCALE.
30376         (TABLE): Move defines earlier in file.
30377         (ELEMENT): Likewise.
30378         (DEFAULT): Likewise.
30379         (wctrans_table_add): Move macro and inline function earlier in
30380         file.
30381         (struct wctype_table): Move type earlier in file.
30382         (add_locale_wctype_table): New static prototype.
30383         (struct locale_ctype_t): Use logical types instead of struct iovec
30384         pointers for members.
30385         (ctype_output): Use new locale_file interface.
30386         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
30387         new locale_file interface.
30388         (allocate_arrays): Update for use of new locale_file interface.
30389         * locale/programs/ld-identification.c (identification_output): Use
30390         new locale_file interface.
30391         * locale/programs/ld-measurement.c (measurement_output): Likewise.
30392         * locale/programs/ld-messages.c (messages_output): Likewise.
30393         * locale/programs/ld-monetary.c (monetary_output): Likewise.
30394         * locale/programs/ld-name.c (name_output): Likewise.
30395         * locale/programs/ld-numeric.c (numeric_output): Likewise.
30396         * locale/programs/ld-paper.c (paper_output): Likewise.
30397         * locale/programs/ld-telephone.c (telephone_output): Likewise.
30398         * locale/programs/ld-time.c (time_output): Likewise.
30400 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30402         * benchtests/Makefile: Add memrchr benchmark.
30403         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30404         benchmark as memrchr.
30405         * benchtests/bench-memrchr-ifunc.c: New file.
30406         * benchtests/bench-memrchr.c: New file.
30408 2013-09-06   Will Newton  <will.newton@linaro.org>
30410         * benchtests/Makefile (string-bench): Add memcpy.
30412 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
30413             Cong Wang  <amwang@redhat.com>
30415         [BZ #15850]
30416         * sysdeps/unix/sysv/linux/bits/in.h
30417         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30418         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30419         before __USE_KERNEL_IPV6_DEFS uses.
30420         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30421         IPPROTO_BEETPH.
30422         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30423         sockaddr_in6, or ipv6_mreq.
30425 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30427         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30428         memory access for final bytes in some large inputs.
30429         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30431 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30433         * string/test-memrchr.c: New file.
30434         * string/test-memrchr-ifunc.c: New file.
30435         * string/Makefile: Add new memrchr testcase.
30437 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
30439         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30440         fanotify_init returns EPERM.
30442 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30444         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30445         errors.
30446         (top level): Treat second token from macro or constant entries for
30447         allowed headers as allowed.
30448         * include/complex.h: Condition internal declarations on
30449         [!_ISOMAC].
30450         * include/fenv.h: Condition include of <stdbool.h> and internal
30451         declarations on [!_ISOMAC].
30453 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
30455         [BZ #15923]
30456         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30458 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30460         * configure.in (--enable-versioning): Remove configure option.
30461         (libc_cv_asm_symver_directive): Remove configure test.
30462         (libc_cv_ld_version_script_option): Likewise.
30463         (VERSIONING): Remove variable and AC_SUBST.
30464         (DO_VERSIONING): Remove AC_DEFINE.
30465         * configure: Regenerated.
30466         * config.h.in (DO_VERSIONING): Remove macro.
30467         * Makerules [$(versioning) = yes]: Change conditionals to
30468         [$(build-shared) = yes].
30469         * config.make.in (versioning): Remove variable.
30470         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30471         [$(build-shared) = yes].
30472         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30473         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30474         * elf/Makefile [$(versioning) = yes]: Change conditionals to
30475         [$(build-shared) = yes].
30476         * extra-lib.mk [$(versioning) = yes]: Likewise.
30477         * hurd/Makefile [$(versioning) = yes]: Likewise.
30478         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30479         [SHARED].
30480         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30481         [SHARED].
30482         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30483         [SHARED && !NO_HIDDEN].
30484         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30485         [SHARED].
30486         [SHARED && DO_VERSIONING]: Likewise..
30487         * libio/Makefile [$(versioning) = yes]: Change conditionals to
30488         [$(build-shared) = yes].
30489         * manual/install.texi (--disable-versioning): Remove
30490         documentation.
30491         * INSTALL: Regenerated.
30492         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30493         to [SHARED].
30494         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30495         [$(build-shared) = yes].
30496         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30497         * sysdeps/i386/i686/multiarch/strstr-c.c
30498         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30499         [SHARED && !NO_HIDDEN].
30500         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30501         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30502         * sysdeps/powerpc/powerpc32/dl-machine.c
30503         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30504         * sysdeps/powerpc/powerpc32/sysdep.h
30505         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30506         to [SHARED && PIC && !NO_HIDDEN].
30507         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30508         conditional to [SHARED].
30510 2013-09-04   Will Newton  <will.newton@linaro.org>
30512         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30513         * benchtests/bench-string.h: Include bench-timing.h instead
30514         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30515         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30516         call to HP_TIMING_DIFF_INIT.
30517         * benchtests/bench-memccpy.c: Use bench-timing.h macros
30518         instead of hp-timing.h macros.
30519         * benchtests/bench-memchr.c: Likewise.
30520         * benchtests/bench-memcmp.c: Likewise.
30521         * benchtests/bench-memcpy.c: Likewise.
30522         * benchtests/bench-memmem.c: Likewise.
30523         * benchtests/bench-memmove.c: Likewise.
30524         * benchtests/bench-memset.c: Likewise.
30525         * benchtests/bench-rawmemchr.c: Likewise.
30526         * benchtests/bench-strcasecmp.c: Likewise.
30527         * benchtests/bench-strcasestr.c: Likewise.
30528         * benchtests/bench-strcat.c: Likewise.
30529         * benchtests/bench-strchr.c: Likewise.
30530         * benchtests/bench-strcmp.c: Likewise.
30531         * benchtests/bench-strcpy.c: Likewise.
30532         * benchtests/bench-strcpy_chk.c: Likewise.
30533         * benchtests/bench-strlen.c: Likewise.
30534         * benchtests/bench-strncasecmp.c: Likewise.
30535         * benchtests/bench-strncat.c: Likewise.
30536         * benchtests/bench-strncmp.c: Likewise.
30537         * benchtests/bench-strncpy.c: Likewise.
30538         * benchtests/bench-strnlen.c: Likewise.
30539         * benchtests/bench-strpbrk.c: Likewise.
30540         * benchtests/bench-strrchr.c: Likewise.
30541         * benchtests/bench-strspn.c: Likewise.
30542         * benchtests/bench-strstr.c: Likewise.
30544 2013-09-04  Will Newton  <will.newton@linaro.org>
30546         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30548 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
30550         [BZ #15427]
30551         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30552         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30553         * math/libm-test.inc (lgamma_test_data): Add more tests.
30554         * sysdeps/i386/fpu/libm-test-ulps: Update.
30555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30557 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
30559         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30560         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30561         Add ifunc.
30562         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30563         Add strcmp-sse2-unaligned
30564         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30566 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30568         * Versions.def (libc): Add GLIBC_2.19.
30570 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30572         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30573         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30575 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
30577         [BZ #14155]
30578         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30579         intermediate calculations in recurrence.
30580         (__ieee754_ynf): Likewise.
30581         * math/libm-test.inc (jn_test_data): Do not allow spurious
30582         underflow exception.  Add more tests.
30583         (yn_test_data): Add more tests.
30584         * sysdeps/i386/fpu/libm-test-ulps: Update.
30585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30587 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
30589         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30591 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30593         * csu/init-first.c: Fix then/than typos.
30594         * locale/programs/ld-collate.c: Likewise.
30595         * locale/programs/linereader.h: Likewise.
30596         * manual/charset.texi: Likewise.
30597         * manual/filesys.texi: Likewise.
30598         * manual/stdio.texi: Likewise.
30599         * manual/string.texi: Likewise.
30600         * stdlib/fmtmsg.c: Likewise.
30601         * sysdeps/i386/stpncpy.S: Likewise.
30602         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30603         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30604         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30605         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30607 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30609         * elf/dl-open.c: Fix typos.
30610         * iconvdata/gbbig5.c: Likewise.
30611         * iconvdata/iso-2022-jp.c: Likewise.
30612         * iconv/gconv_int.h: Likewise.
30613         * iconv/loop.c: Likewise.
30614         * nis/rpcsvc/nis.h: Likewise.
30615         * resolv/ns_name.c: Likewise.
30616         * stdio-common/vfscanf.c: Likewise.
30617         * streams/stropts.h: Likewise.
30618         * sunrpc/rpc_thread.c: Likewise.
30619         * sysdeps/i386/strpbrk.S: Likewise.
30620         * sysdeps/ieee754/k_standard.c: Likewise.
30621         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30622         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30623         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30624         * sysdeps/mach/hurd/profil.c: Likewise.
30625         * sysdeps/s390/dl-procinfo.h: Likewise.
30626         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30627         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30628         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30629         * sysdeps/x86_64/dl-trampoline.S: Likewise.
30630         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30632 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
30634         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30635         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30637 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
30639         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30640         aix specific files.
30641         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30642         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30643         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30644         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30645         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30646         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30647         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30648         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30650 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30651             Roland McGrath  <roland@hack.frob.com>
30653         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30654         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30656 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30658         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30659         __executable_start symbol instead of _start.
30661 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30663         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30664         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30665         Move macros to...
30666         * sysdeps/gnu/ldsodefs.h: ... this new file.
30668         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30669         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30670         instead of ELFOSABI_LINUX.
30672         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30673         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30674         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30675         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30676         Likewise.
30677         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30678         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30679         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30680         Likewise.
30681         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30682         (ibm_extended_long_double): Add ieee_nan member.
30683         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30684         (do_test): New function.
30686         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30687         TEST_TRUNC.
30688         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30689         functions, renamed from truncdfsf_test, trunctfsf_test,
30690         trunctfdf_test.
30691         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30692         functions.
30693         (do_test): Run all these.
30695 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
30697         * argp/argp-help.c: Fix typos.
30698         * argp/argp-parse.c: Likewise.
30699         * debug/backtracesyms.c: Likewise.
30700         * elf/elf.h: Likewise.
30701         * malloc/malloc.c: Likewise.
30702         * nis/nis_print.c: Likewise.
30703         * resolv/res_comp.c: Likewise.
30704         * stdlib/stdlib.h: Likewise.
30705         * sunrpc/clnt_tcp.c: Likewise.
30706         * sunrpc/clnt_udp.c: Likewise.
30707         * sunrpc/clnt_unix.c: Likewise.
30708         * sysdeps/unix/bsd/ptsname.c: Likewise.
30709         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30710         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30712         Likewise.
30713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30714         Likewise.
30715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30716         Likewise.
30717         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30719 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30721         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30722         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30724 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
30726         [BZ #15897]
30727         * dlfcn/Makefile (tests): Add bug-dl-leaf.
30728         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30729         ($(objpfx)bug-dl-leaf): New rule.
30730         ($(objpfx)bug-dl-leaf.so): Likewise.
30731         ($(objpfx)bug-dl-leaf.out): Likewise.
30732         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30733         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30734         * dlfcn/bug-dl-leaf.c: New test.
30735         * dlfcn/bug-dl-leaf-lib.c: Likewise.
30736         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30737         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30738         (dlclose): Likewise.
30739         (dlmopen): Likewise.
30741 2013-08-27  Roland McGrath  <roland@hack.frob.com>
30743         * include/netdb.h [!_ISOMAC]:
30744         Don't include <tls.h>.
30745         (h_errno, __libc_h_errno): Move declaration and macros out of
30746         [_LIBC_REENTRANT].
30748         * include/resolv.h [_RESOLV_H_]:
30749         Don't include <tls.h>.
30750         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30751         * resolv/res_libc.c: Don't include <tls.h>.
30752         (_res): Use __attribute__ ((nocommon)) in place of
30753         __attribute__ ((section (".bss"))).
30755         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30756         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30758         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30760         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30761         only under [SIOCGIFCONF && SIOCGIFNETMASK].
30763         * resolv/res_mkquery.c: Include <sys/time.h>.
30765         * inet/ifreq.c: Moved to ...
30766         * sysdeps/unix/ifreq.c: ... here.
30767         * inet/ifreq.c: New file, true stub version.
30769         * socket/sa_len.c: New file.
30770         * socket/Makefile (aux): Add it.
30771         * sysdeps/unix/sysv/linux/Makefile
30772         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30773         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30774         and #include <socket/sa_len.c>.
30775         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30776         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30778         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30779         * bits/socket.h: ... here.
30781         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30782         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30783         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30785 2013-08-27  Andreas Schwab  <schwab@suse.de>
30787         [BZ #15736]
30788         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30789         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30790         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30791         * string/test-strcasecmp.c (test_main): Run tests in several
30792         locales.
30793         * string/test-strncasecmp.c (test_main): Likewise.
30795         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30796         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30797         to __strcasecmp_nonascii and __strncasecmp_nonascii.
30798         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30799         (__strncasecmp_ssse3) [PIC]: Likewise.
30801 2013-08-26  Roland McGrath  <roland@hack.frob.com>
30803         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30805         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30806         instead of explicitly declaring xdecrypt.
30807         * nis/nss_nis/nis-publickey.c: Likewise.
30809 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30811         [BZ #15890]
30812         * nscd/aicache.c: Include res_hconf.h.
30813         (addhstaiX): Initialize res_hconf.
30815 2013-08-26  Andreas Schwab  <schwab@suse.de>
30817         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30818         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30820 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30822         * nscd/aicache.c (addhstaiX): Fix indentation.
30824 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
30826         * configure.ac: Quote $build_pt_chown test.
30827         * configure: Regenerated.
30829 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
30831         [BZ #15532]
30832         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30833         * math/s_cexpf.c (__cexpf): Likewise.
30834         * math/s_cexpl.c (__cexpl): Likewise.
30835         * math/libm-test.inc (cexp_test_data): Correct expected return
30836         value for NaN + i0.  Add another test.
30838 2013-08-22  David S. Miller  <davem@davemloft.net>
30840         * po/ca.po: Update Catalan translation from translation project.
30841         * po/uk.po: Add Ukrainian translations from translation project.
30843 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
30845         [BZ #15797]
30846         * math/s_fdim.c (__fdim): Check for infinite arguments if result
30847         is infinite, not alongside NaN test.
30848         * math/s_fdimf.c (__fdimf): Likewise.
30849         * math/s_fdiml.c (__fdiml): Likewise.
30850         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
30851         errno is unchanged.
30853 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
30855         * argp/argp-help.c: Fix typos.
30856         * crypt/speeds.c: Likewise.
30857         * csu/check_fds.c: Likewise.
30858         * elf/dl-load.c: Likewise.
30859         * elf/dl-open.c: Likewise.
30860         * elf/reldep3.c: Likewise.
30861         * elf/reldep.c: Likewise.
30862         * elf/sprof.c: Likewise.
30863         * iconv/iconv_charmap.c: Likewise.
30864         * iconv/skeleton.c: Likewise.
30865         * iconv/strtab.c: Likewise.
30866         * io/lockf64.c: Likewise.
30867         * libio/libioP.h: Likewise.
30868         * resolv/gai_notify.c: Likewise.
30869         * resolv/ns_name.c: Likewise.
30870         * resolv/ns_samedomain.c: Likewise.
30871         * resolv/res_send.c: Likewise.
30872         * stdlib/random.c: Likewise.
30873         * sunrpc/rpc/xdr.h: Likewise.
30874         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30875         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30876         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30877         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30878         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30879         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30880         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30881         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30882         * sysdeps/mach/hurd/check_fds.c: Likewise.
30883         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30884         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30885         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30886         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30887         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30888         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30889         * sysdeps/pthread/aio_notify.c: Likewise.
30890         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30891         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30892         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30893         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30894         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30896 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30898         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30899         version if bit_Slow_SSE4_2 is set.
30900         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30901         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30903 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30905         [BZ #15867]
30906         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30907         trampoline stack frame information.
30908         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30909         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30910         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30911         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30912         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30913         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30914         (_libc_vdso_platform_setup): Initialize the signal trampolines.
30915         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30916         sa_flags value.
30917         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30918         interrupting a syscall and set with option SA_SIGINFO.
30920 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30922         [BZ #15531]
30923         * math/s_cproj.c (__cproj): Only return an infinity if one part of
30924         argument is infinite.
30925         * math/s_cprojf.c (__cprojf): Likewise.
30926         * math/s_cprojl.c (__cprojl): Likewise.
30927         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30928         * math/libm-test.inc (cproj_test_data): Add more tests.
30930         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30932         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30933         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30934         size.  Use __ffs to determine corresponding shift.
30936 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30937             Roland McGrath  <roland@hack.frob.com>
30939         * Makefile (INSTALL): Remove trailing blank lines from output of
30940         makeinfo.
30942 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30944         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30945         Align 32 bit compat elf_greg to 8 bytes.
30947 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
30949         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30951 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30953         * string/strcoll_l.c (coll_seq): New structure.
30954         (get_next_seq_cached): New function.
30955         (get_next_seq): New function.
30956         (do_compare): New function.
30957         (STRCOLL): Use GNU style definition.  Simplify implementation
30958         by using get_next_seq, get_next_seq_cached and do_compare.
30960 2013-08-16  Florian Weimer  <fweimer@redhat.com>
30962         [BZ #14699]
30963         CVE-2013-4237
30964         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30965         member.
30966         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30967         member.
30968         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30969         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30970         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
30971         conditional.
30972         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30973         GETDENTS_64BIT_ALIGNED.
30974         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30975         * manual/filesys.texi (Reading/Closing Directory): Document
30976         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
30977         strongly.
30978         * manual/conf.texi (Limits for Files): Add portability note to
30979         NAME_MAX, PATH_MAX.
30980         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30982 2013-08-13  Andreas Schwab  <schwab@suse.de>
30984         [BZ #15749]
30985         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30986         of fabs.
30987         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30988         LDBL_MAX_EXP >= 16384]: Add tests for it.
30990 2013-08-12  David S. Miller  <davem@davemloft.net>
30992         * version.h (RELEASE): Set to "development".
30993         (VERSION): Set to "2.18.90".
30994         * NEWS: Add 2.19 section.
30996 2013-08-03  David S. Miller  <davem@davemloft.net>
30998         * po/ko.po: Update Korean translation from translation project.
31000 2013-08-01  David S. Miller  <davem@davemloft.net>
31002         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31003         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31004         Bilka.
31006 2013-07-30  David S. Miller  <davem@davemloft.net>
31008         * po/fr.po: Update French translation from translation project.
31010 2013-07-28  David S. Miller  <davem@davemloft.net>
31012         * po/cs.po: Update Czech translation from translation project.
31014         * po/sv.po: Update Swedish translation from translation project.
31016 2013-07-27  David S. Miller  <davem@davemloft.net>
31018         * po/eo.po: Update Esperanto translation from translation project.
31020         * po/vi.po: Update Vietnamese translation from translation project.
31022         * po/de.po: Update German translation from translation project.
31024 2013-07-26  David S. Miller  <davem@davemloft.net>
31026         * po/bg.po: Update Bulgarian translation from translation project.
31028         * po/nl.po: Update Dutch translation from translation project.
31029         * po/pl.po: Update Polish translation from translation project.
31030         * po/ru.po: Update Russian translation from translation project.
31032 2013-07-24  David S. Miller  <davem@davemloft.net>
31034         * po/libc.pot: Update.
31036 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31038         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31039         variable page size.
31040         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31041         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31042         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31044 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31046         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31048 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31049             Andreas Schwab  <schwab@suse.de>
31050             Roland McGrath  <roland@hack.frob.com>
31051             Joseph Myers  <joseph@codesourcery.com>
31052             Carlos O'Donell  <carlos@redhat.com>
31054         [BZ #15755]
31055         * config.h.in: Define HAVE_PT_CHOWN.
31056         * config.make.in (build-pt-chown): New variable.
31057         * configure.in (--enable-pt_chown): New configure option.
31058         * configure: Regenerate.
31059         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31060         build-pt-chown is enabled.
31061         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31062         pt_chown to fix pty ownership.
31063         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31064         CLOSE_ALL_FDS.
31065         * manual/install.texi (Configuring and compiling): Mention
31066         --enable-pt_chown. Add @findex for grantpt.
31067         * INSTALL: Regenerate.
31069 2013-07-20  David S. Miller  <davem@davemloft.net>
31071         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31072         difference between 32-bit and 64-bit.
31074 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31076         [BZ #15711]
31077         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31078         Avoid system header dependency with -ffreestanding.
31079         ($(objpfx)bits/syscall%d): Likewise.
31081 2013-07-13  David S. Miller  <davem@davemloft.net>
31083         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31084         underflows from atanl/atan2l due to bug 15319.
31085         (casinh_test_data): Likewise.
31087 2013-07-07  David S. Miller  <davem@davemloft.net>
31089         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31091 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31093         * sysdeps/i386/fpu/libm-test-ulps: Update.
31094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31096 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31098         * configure.in (--enable-lock-elision): Fix message text.
31099         * INSTALL: Regenerate.
31100         * configure: Regenerate.
31102 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31106 2013-07-03  Andreas Jaeger  <aj@suse.de>
31108         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31109         define.
31110         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31111         (ptrace_peeksiginfo_args): Add.
31112         (__ptrace_peeksiginfo_flags): Add.
31113         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31114         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31115         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31117 2013-07-03  Allan McRae  <allan@archlinux.org>
31119         * sysdeps/i386/fpu/libm-test-ulps: Update.
31121 2013-07-02  David S. Miller  <davem@davemloft.net>
31123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31125 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31127         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31129 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31131         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31134 2013-07-02  Andi Kleen <ak@linux.intel.com>
31136         * config.h.in (ENABLE_LOCK_ELISION): Add.
31137         * configure.in (--enable-lock-elision): Add option.
31138         * manual/install.texi: Document --enable lock elision.
31139         * configure: Regenerate
31140         * INSTALL: Regenerate.
31142 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31144         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31145         SSE4.2 strcasecmp for libc.a.
31146         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31148 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31150         [BZ #13304]
31151         * soft-fp/op-common.h (_FP_FMA): New macro.
31152         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31153         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31154         (_FP_MUL_MEAT_1_imm): ... here.
31155         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31156         (_FP_MUL_MEAT_1_wide): ... here.
31157         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31158         (_FP_MUL_MEAT_1_hard): ... here.
31159         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31160         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31161         (_FP_MUL_MEAT_2_wide): ... here.
31162         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31163         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31164         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31165         (_FP_MUL_MEAT_2_gmp): ... here.
31166         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31167         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31168         (_FP_MUL_MEAT_4_wide): ... here.
31169         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31170         (_FP_MUL_MEAT_4_gmp): ... here.
31171         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31172         (_FP_WFRACBITS_DW_S): Likewise.
31173         (_FP_WFRACXBITS_DW_S): Likewise.
31174         (_FP_HIGHBIT_DW_S): Likewise.
31175         (FP_FMA_S): Likewise.
31176         (_FP_FRAC_HIGH_DW_S): Likewise.
31177         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31178         (_FP_WFRACBITS_DW_D): Likewise.
31179         (_FP_WFRACXBITS_DW_D): Likewise.
31180         (_FP_HIGHBIT_DW_D): Likewise.
31181         (FP_FMA_D): Likewise.
31182         (_FP_FRAC_HIGH_DW_D): Likewise.
31183         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31184         (_FP_WFRACBITS_DW_E): Likewise.
31185         (_FP_WFRACXBITS_DW_E): Likewise.
31186         (_FP_HIGHBIT_DW_E): Likewise.
31187         (FP_FMA_E): Likewise.
31188         (_FP_FRAC_HIGH_DW_E): Likewise.
31189         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31190         (_FP_WFRACBITS_DW_Q): Likewise.
31191         (_FP_WFRACXBITS_DW_Q): Likewise.
31192         (_FP_HIGHBIT_DW_Q): Likewise.
31193         (FP_FMA_Q): Likewise.
31194         (_FP_FRAC_HIGH_DW_Q): Likewise.
31195         * soft-fp/fmasf4.c: New file.
31196         * soft-fp/fmadf4.c: Likewise.
31197         * soft-fp/fmatf4.c: Likewise.
31199 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31201         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31202         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31203         Silvermont.
31204         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31205         macro.
31206         (index_Slow_SSE4_2): Likewise.
31207         (index_Prefer_PMINUB_for_stringop): Likewise.
31208         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31209         bit_Slow_SSE4_2 is set.
31210         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31211         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31213 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31215         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31216         rtld_global._dl_hwcap2.
31217         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31218         POWER8.
31219         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31220         POWER8 feature descriptions defined in _dl_hwcap2.
31221         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31222         string handling for POWER8 feature bits.
31223         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31224         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31225         _dl_powerpc_cap_flags.
31226         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31227         * sysdeps/powerpc/rtld-global-offsets.sym
31228         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31229         _dl_hwcap2 in the rtld_global_ro structure.
31231 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31233         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31234         hardware capabilities in support of AT_HWCAP2.
31235         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31236         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31237         GLRO(dl_hwcap2).
31238         (_dl_show_auxv): Add support for calling _dl_procinfo to display
31239         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
31240         explicitly the unknown a_type display mechanism is used.
31241         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31242         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31243         struct member.
31244         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31245         to macro prototype for AT_HWCAP2 support.
31246         * sysdeps/i386/dl-procinfo.h: Likewise.
31247         * sysdeps/s390/dl-procinfo.h: Likewise.
31248         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31249         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
31250         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
31251         return -1 for unknown a_type display fallback.
31252         * sysdeps/sparc/dl-procinfo.h: Likewise.
31253         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31254         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31256 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
31258         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31259         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31261 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
31263         [BZ #12492]
31264         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31265         mprotect making __stack_prot writable.
31267 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
31268             Joseph Myers  <joseph@codesourcery.com>
31270         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31271         as being properly aligned.
31273 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
31275         * dlfcn/modstatic5.c: New file.
31276         * dlfcn/tststatic5.c: New file.
31277         * dlfcn/Makefile (tests): Add tststatic5.
31278         (tests-static): Likewise.
31279         (modules-names): Add modstatic5.
31280         (tststatic5-ENV): New variable.
31281         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31283         [BZ #15022]
31284         * elf/dl-support.c (_dl_main_map): New variable.
31285         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31286         (_dl_nns, _dl_load_adds): Set to 1.
31287         (_dl_initial_searchlist): Refer to _dl_main_map.
31288         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31289         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31290         call to _dl_get_origin.
31291         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31292         around call_map.
31293         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31294         * dlfcn/modstatic3.c: New file.
31295         * dlfcn/tststatic3.c: New file.
31296         * dlfcn/tststatic4.c: New file.
31297         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31298         (tests-static): Likewise.
31299         (modules-names): Add modstatic3.
31300         (tststatic3-ENV, tststatic4-ENV): New variables.
31301         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31302         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31304 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
31306         * configure.in (CC): Require GCC version 4.4 or later.
31307         * configure: Regenerated.
31308         * manual/install.texi (Tools for Compilation): Update GCC version
31309         requirement.
31310         * INSTALL: Regenerated.
31312 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31314         [BZ #15674]
31315         * string/test-memcmp.c (check2): New.
31316         (main): Call check2.
31318         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
31320 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
31322         [BZ #15022]
31323         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
31324         over to...
31325         (dl_open_worker) [!SHARED]: ... here.
31327 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31329         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
31331 2013-06-25  Richard Henderson  <rth@redhat.com>
31333         * locale/programs/locarchive.c: Include <libc-internal.h>
31335 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
31337         * manual/texinfo.tex: Update to version 2013-06-21.17, with
31338         trailing whitespace removed.
31340 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31342         [BZ #10283]
31343         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
31344         * locale/programs/locarchive.c: Include libc-mmap.h.
31345         (prepare_address_space): Take two new outputs (the mmap base and len).
31346         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
31347         values.
31348         (create_archive): Declare new mmap base and len values for
31349         prepare_address_space, and store the result in ah.
31350         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
31351         (enlarge_archive): If ah->mmap_base is not NULL, use that and
31352         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31353         Declare new mmap base and len values for
31354         prepare_address_space, and store the result in new_ah.
31355         (open_archive): Declare new mmap base and len values for
31356         prepare_address_space, and store the result in ah.
31357         (close_archive): If ah->mmap_base is not NULL, use that and
31358         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31359         * sysdeps/generic/libc-mmap.h: New file.
31361 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31363         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
31364         (ALIGN_UP): Likewise.
31365         (PTR_ALIGN_DOWN): Likewise.
31366         (PTR_ALIGN_UP): Likewise.
31368 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31370         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
31371         entry mapped to PPC_PLATFORM_POWER8.
31372         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
31373         POWER8.
31374         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
31375         (_dl_string_platform): Add case for exporting platform position for
31376         POWER8.
31377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
31378         search path to sysdeps/powerpc/powerpc32/power8 directory.
31379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
31380         search path to sysdeps/powerpc/powerpc64/power8 directory.
31381         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
31382         power7 directories.
31383         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
31384         power7 directories.
31386 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31388         * INSTALL: Regenerate.
31390         * nscd/connections.c (nscd_init): Fix comment.
31392 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
31394         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31396         [BZ #15667]
31397         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31398         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31400 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31402         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31403         DL_DST_REQ_STATIC.
31404         (DL_DST_REQ_STATIC): Remove macro.
31406 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
31408         [BZ #7006]
31409         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31410         with a shift of 0 bits.
31412 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31414         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31415         $(tststatic-ENV).
31417 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31419         [BZ #15655]
31420         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31422 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31424         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31425         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31426         accepts -fno-tree-loop-distribute-patterns.
31427         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31428         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31429         recursive call.
31430         * string/memset.c (memset): Likewise.
31431         * string/test-memmove.c (simple_memmove): Disable loop transformation
31432         to library calls.
31433         * string/test-memset.c (simple_memset): Likewise.
31434         * benchtests/bench-memmove.c (simple_memmove): Likewise.
31435         * benchtests/bench-memset.c (simple_memset): Likewise.
31436         * configure: Regenerated.
31438 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
31440         * math/test-misc.c (main): Ignore fesetround failure when failures
31441         of subsequent rounding tests would be ignored.
31443         [BZ #15654]
31444         * math/fedisblxcpt.c (fedisableexcept): Return 0.
31445         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31446         * math/fegetenv.c (__fegetenv): Return 0.
31447         * math/fegetexcept.c (fegetexcept): Return 0.
31448         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31449         FE_TONEAREST.
31450         * math/feholdexcpt.c (feholdexcept): Return 0.
31451         * math/fesetenv.c (__fesetenv): Return 0.
31452         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31453         argument FE_TONEAREST.
31454         * math/feupdateenv.c (__feupdateenv): Return 0.
31455         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31457 2013-06-18  Roland McGrath  <roland@hack.frob.com>
31459         * elf/rtld-Rules (rtld-compile-command.S): New variable.
31460         (rtld-compile-command.s, rtld-compile-command.c): New variables.
31461         ($(objpfx)rtld-%.os rules): Use them.
31463 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31465         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31466         fields.
31468 2013-06-17  Roland McGrath  <roland@hack.frob.com>
31470         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31471         length of target pattern, then descending length of dependency pattern.
31472         * configure.in (AWK): Require gawk 3.1.2 or newer.
31473         * manual/install.texi (Tools for Compilation): Say that we do.
31474         * configure: Regenerated.
31476         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31477         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31478         * scripts/sysd-rules.awk: ... this new script.
31479         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31480         than a glob-style pattern.
31482 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
31484         * math/test-misc.c (main): Do not treat incorrectly rounded
31485         conversions as failure unless ROUNDING_TESTS passes.
31487 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
31489         [BZ #15631]
31490         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31491         restore exception state around main square root computation, then
31492         check for inexactness explicitly.
31494         * math/libm-test.inc (fma_test_data): Add another test.
31496 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31498         * manual/threads.texi (Non-POSIX Extensions): New document
31499         node.  Document pthread_getattr_default_np and
31500         pthread_setattr_default_np.
31502         * Versions.def (libpthread): Add GLIBC_2.18.
31503         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31505         Likewise.
31506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31507         Likewise.
31508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31509         Likewise.
31510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31511         Likewise.
31512         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31513         Likewise.
31514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31515         Likewise.
31516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31517         Likewise.
31518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31519         Likewise.
31520         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31521         Likewise.
31523 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31525         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31526         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31528 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31529             H.J. Lu  <hjl.tools@gmail.com>
31531         [BZ #15627]
31532         * sysdeps/x86_64/rtld-memset.c: Remove file.
31533         * sysdeps/x86_64/rtld-memset.S: New file.
31535 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
31537         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31538         (test_in_one_mode): Take arguments for whether the rounding mode
31539         is supported for each floating-point type.
31540         (do_test): Pass new arguments to test_in_one_mode using
31541         ROUNDING_TESTS.
31543 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31545         * posix/tst-waitid.c (do_test): Distinguish different instances of
31546         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
31547         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31548         before entering the kernel for waitpid.
31550 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31552         * NEWS: Fix note on clock function precision.  Text by Roland
31553         McGrath.
31555 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31557         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31558         it into place only when and if the sanity check passes.
31560 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
31562         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31563         output for whether conversion result is exact.  Take argument
31564         indicating whether type is IBM long double.
31565         (round_for_all): Change need_exact field to ibm_ld.
31566         * stdlib/tst-strtod-round.c (struct exactness): New type.
31567         (struct test): Change bool ld_ok field to struct exactness exact.
31568         (TEST): Update all definitions for change to field.
31569         (tests): Regenerate array contents.
31570         (test_in_one_mode): Take pointer to new field instead of old ld_ok
31571         field value.  Check for IBM long double here.
31572         (do_test): Update calls to test_in_one_mode.
31574 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31576         [BZ #12515]
31577         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31578         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31580 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31582         [BZ #15605]
31583         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31584         generated by the compiler on loop optimizations.
31585         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31586         general definitions.
31588 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
31590         * math/bug-nextafter.c: Include <math-tests.h>.
31591         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31592         the relevant type.
31593         * math/bug-nexttoward.c: Include <math-tests.h>.
31594         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31595         the relevant type.
31596         * math/test-misc.c: Include <math-tests.h>.
31597         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31598         the relevant type.
31600 2013-06-12  Andreas Jaeger  <aj@suse.de>
31602         * po/ia.po: Update Interlingua translation from translation
31603         project.
31605 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31607         * include/fenv.h: Include stdbool.h.
31608         (struct rm_ctx): New structure.
31609         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31610         Define macro.
31611         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31612         (SET_RESTORE_ROUNDF): Likewise.
31613         (SET_RESTORE_ROUNDL): Likewise.
31614         (SET_RESTORE_ROUND_NOEX): Likewise.
31615         (SET_RESTORE_ROUND_NOEXF): Likewise.
31616         (SET_RESTORE_ROUND_NOEXL): Likewise.
31617         (SET_RESTORE_ROUND_53BIT): Likewise.
31618         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31619         (libc_feresetround_noexf_ctx): Likewise.
31620         (libc_feresetround_noexl_ctx): Likewise.
31621         (libc_feholdsetround_53bit_ctx): Likewise.
31622         (libc_feresetround_53bit_ctx): Likewise.
31623         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31624         (libc_feholdexcept_setround_sse_ctx): New function.
31625         (libc_fesetenv_sse_ctx): Likewise.
31626         (libc_feupdateenv_sse_ctx): Likewise.
31627         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31628         (libc_feholdexcept_setround_387_ctx): Likewise.
31629         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31630         (libc_feholdsetround_387_prec_ctx): Likewise.
31631         (libc_feholdsetround_387_ctx): Likewise.
31632         (libc_feholdsetround_387_53bit_ctx): Likewise.
31633         (libc_feholdsetround_sse_ctx): Likewise.
31634         (libc_feresetround_sse_ctx): Likewise.
31635         (libc_feresetround_387_ctx): Likewise.
31636         (libc_feupdateenv_387_ctx): Likewise.
31637         (libc_feholdexcept_setroundf_ctx): Define macro.
31638         (libc_fesetenvf_ctx): Likewise.
31639         (libc_feupdateenvf_ctx): Likewise.
31640         (libc_feholdsetroundf_ctx): Likewise.
31641         (libc_feresetroundf_ctx): Likewise.
31642         (libc_feholdexcept_setround_ctx): Likewise.
31643         (libc_fesetenv_ctx): Likewise.
31644         (libc_feupdateenv_ctx): Likewise.
31645         (libc_feholdsetround_ctx): Likewise.
31646         (libc_feresetround_ctx): Likewise.
31647         (libc_feholdexcept_setroundl_ctx): Likewise.
31648         (libc_feupdateenvl_ctx): Likewise.
31649         (libc_feholdsetroundl_ctx): Likewise.
31650         (libc_feresetroundl_ctx): Likewise.
31651         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31652         (libc_feresetround_53bit_ctx): Likewise.
31654 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31656         * locale/iso-639.def: Convert to UTF-8.
31658 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
31660         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31661         (EXCEPTION_TESTS_double): Likewise.
31662         (EXCEPTION_TESTS_long_double): Likewise.
31663         (EXCEPTION_TESTS): Likewise.
31664         * math/libm-test.inc (test_exceptions): Only test exceptions if
31665         EXCEPTION_TESTS (FLOAT).
31667 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31669         * benchtests/Makefile (string-bench): Add strcpy_chk and
31670         stpcpy_chk.
31671         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31672         * benchtests/bench-stpcpy_chk.c: New file.
31673         * benchtests/bench-strcpy_chk-ifunc.c: New file.
31674         * benchtests/bench-strcpy_chk.c: New file.
31675         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31676         code.
31677         (do_test): Likewise.
31679 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31681         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31682         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31683         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31684         with tabs where appropriate.
31685         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31686         dl-procinfo.h.
31687         [PPC_PLATFORM_PPC440]: Likewise.
31688         [PPC_PLATFORM_PPC464]: Likewise.
31689         [PPC_PLATFORM_PPC476]: Likewise.
31690         (_dl_string_platform): Add support for detecting ppc405, ppc440,
31691         ppc464, and ppc476 platform strings merging from ports/
31692         dl-procinfo.h.
31694 2013-06-11  Andreas Schwab  <schwab@suse.de>
31696         [BZ #14991]
31697         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31698         (from_ucs4_idx): Regenerate.
31699         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31700         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31701         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31702         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31703         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31704         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31705         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31706         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31707         from FROM_LOOP and TO_LOOP specific macros.
31708         (BODY): Handle combining characters.
31709         * iconvdata/BIG5HKSCS.irreversible: Update.
31710         * iconvdata/BIG5HKSCS.precomposed: New file.
31711         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31712         characters.
31713         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31715 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31717         * include/sys/time.h: Fix indentation and add copyright header.
31719         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31720         (do_test): Likewise.
31721         * string/test-memchr.c (do_one_test): Likewise.
31722         (do_test): Likewise.
31723         * string/test-memcmp.c (do_one_test): Likewise.
31724         (do_test): Likewise.
31725         * string/test-memcpy.c (do_one_test): Likewise.
31726         (do_test): Likewise.
31727         * string/test-memmem.c (do_one_test): Likewise.
31728         (do_test): Likewise.
31729         (do_random_tests): Likewise.
31730         * string/test-memmove.c (do_one_test): Likewise.
31731         (do_test): Likewise.
31732         * string/test-memset.c (do_one_test): Likewise.
31733         (do_test): Likewise.
31734         * string/test-rawmemchr.c (do_one_test): Likewise.
31735         (do_test): Likewise.
31736         * string/test-strcasecmp.c (do_one_test): Likewise.
31737         (do_test): Likewise.
31738         * string/test-strcasestr.c (do_one_test): Likewise.
31739         (do_test): Likewise.
31740         * string/test-strcat.c (do_one_test): Likewise.
31741         (do_test): Likewise.
31742         * string/test-strchr.c (do_one_test): Likewise.
31743         (do_test): Likewise.
31744         * string/test-strcmp.c (do_one_test): Likewise.
31745         (do_test): Likewise.
31746         * string/test-strcpy.c (do_one_test): Likewise.
31747         (do_test): Likewise.
31748         * string/test-string.h: Likewise.
31749         (test_init): Likewise.
31750         * string/test-strlen.c (do_one_test): Likewise.
31751         (do_test): Likewise.
31752         * string/test-strncasecmp.c (do_one_test): Likewise.
31753         (do_test): Likewise.
31754         * string/test-strncat.c (do_one_test): Likewise.
31755         (do_test): Likewise.
31756         * string/test-strncmp.c (do_one_test): Likewise.
31757         (do_test_limit): Likewise.
31758         (do_test): Likewise.
31759         * string/test-strncpy.c (do_one_test): Likewise.
31760         (do_test): Likewise.
31761         * string/test-strnlen.c (do_one_test): Likewise.
31762         (do_test): Likewise.
31763         * string/test-strpbrk.c (do_one_test): Likewise.
31764         (do_test): Likewise.
31765         * string/test-strrchr.c (do_one_test): Likewise.
31766         (do_test): Likewise.
31767         * string/test-strspn.c (do_one_test): Likewise.
31768         (do_test): Likewise.
31769         * string/test-strstr.c (do_one_test): Likewise.
31770         (do_test): Likewise.
31772         * benchtests/Makefile (string-bench): Add string benchmarks.
31773         * benchtests/bench-bcopy-ifunc.c: New file.
31774         * benchtests/bench-bcopy.c: New file.
31775         * benchtests/bench-bzero-ifunc.c: New file.
31776         * benchtests/bench-bzero.c: New file.
31777         * benchtests/bench-memccpy-ifunc.c: New file.
31778         * benchtests/bench-memccpy.c: New file.
31779         * benchtests/bench-memchr-ifunc.c: New file.
31780         * benchtests/bench-memchr.c: New file.
31781         * benchtests/bench-memcmp-ifunc.c: New file.
31782         * benchtests/bench-memcmp.c: New file.
31783         * benchtests/bench-memmem-ifunc.c: New file.
31784         * benchtests/bench-memmem.c: New file.
31785         * benchtests/bench-memmove-ifunc.c: New file.
31786         * benchtests/bench-memmove.c: New file.
31787         * benchtests/bench-mempcpy-ifunc.c: New file.
31788         * benchtests/bench-mempcpy.c: New file.
31789         * benchtests/bench-memset-ifunc.c: New file.
31790         * benchtests/bench-memset.c: New file.
31791         * benchtests/bench-rawmemchr-ifunc.c: New file.
31792         * benchtests/bench-rawmemchr.c: New file.
31793         * benchtests/bench-stpcpy-ifunc.c: New file.
31794         * benchtests/bench-stpcpy.c: New file.
31795         * benchtests/bench-stpncpy-ifunc.c: New file.
31796         * benchtests/bench-stpncpy.c: New file.
31797         * benchtests/bench-strcasecmp-ifunc.c: New file.
31798         * benchtests/bench-strcasecmp.c: New file.
31799         * benchtests/bench-strcasestr-ifunc.c: New file.
31800         * benchtests/bench-strcasestr.c: New file.
31801         * benchtests/bench-strcat-ifunc.c: New file.
31802         * benchtests/bench-strcat.c: New file.
31803         * benchtests/bench-strchr-ifunc.c: New file.
31804         * benchtests/bench-strchr.c: New file.
31805         * benchtests/bench-strchrnul-ifunc.c: New file.
31806         * benchtests/bench-strchrnul.c: New file.
31807         * benchtests/bench-strcmp-ifunc.c: New file.
31808         * benchtests/bench-strcmp.c: New file.
31809         * benchtests/bench-strcpy-ifunc.c: New file.
31810         * benchtests/bench-strcpy.c: New file.
31811         * benchtests/bench-strcspn-ifunc.c: New file.
31812         * benchtests/bench-strcspn.c: New file.
31813         * benchtests/bench-strlen-ifunc.c: New file.
31814         * benchtests/bench-strlen.c: New file.
31815         * benchtests/bench-strncasecmp-ifunc.c: New file.
31816         * benchtests/bench-strncasecmp.c: New file.
31817         * benchtests/bench-strncat-ifunc.c: New file.
31818         * benchtests/bench-strncat.c: New file.
31819         * benchtests/bench-strncmp-ifunc.c: New file.
31820         * benchtests/bench-strncmp.c: New file.
31821         * benchtests/bench-strncpy-ifunc.c: New file.
31822         * benchtests/bench-strncpy.c: New file.
31823         * benchtests/bench-strnlen-ifunc.c: New file.
31824         * benchtests/bench-strnlen.c: New file.
31825         * benchtests/bench-strpbrk-ifunc.c: New file.
31826         * benchtests/bench-strpbrk.c: New file.
31827         * benchtests/bench-strrchr-ifunc.c: New file.
31828         * benchtests/bench-strrchr.c: New file.
31829         * benchtests/bench-strspn-ifunc.c: New file.
31830         * benchtests/bench-strspn.c: New file.
31831         * benchtests/bench-strstr-ifunc.c: New file.
31832         * benchtests/bench-strstr.c: New file.
31834         * benchtests/Makefile: Disable parallel execution of targets.
31835         (string-bench): Add memcpy.
31836         (benchset): New variable to store a list of benchmark sets.
31837         (bench-func): Renamed from bench.
31838         (bench-set): New target.
31839         (bench): Depend on bench-func and bench-set.
31840         * benchtests/README: Add section on benchmark sets.
31841         * benchtests/bench-memcpy-ifunc.c: New file.
31842         * benchtests/bench-memcpy.c: New file.
31843         * benchtests/bench-string.h: New file.
31845 2013-06-11  Andreas Schwab  <schwab@suse.de>
31847         [BZ #15577]
31848         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31849         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31850         values in the triple.
31851         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31852         terminator in the group key.
31854 2013-06-11  Andreas Jaeger  <aj@suse.de>
31856         * po/zh_TW.po: Update Chinese (traditional) translation from
31857         translation project.
31859 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31861         * include/time.h (__clock_gettime): Add libc_hidden_proto.
31862         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31863         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
31864         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31865         (clock_getcpuclockid): Likewise.
31866         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31867         Add weak_alias and libc_hidden_def.
31868         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31869         * rt/clock_gettime.c (clock_gettime): Rename to
31870         __clock_gettime.  Add weak_alias and libc_hidden_def.
31871         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31872         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31873         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
31874         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31875         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31876         Likewise.
31877         * rt/clock_settime.c (clock_settime): Rename to
31878         __clock_settime.  Add weak_alias and libc_hidden_def.
31879         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31881 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
31883         * mach/err_boot.sub: Remove trailing whitespace.
31884         * mach/err_ipc.sub: Likewise.
31885         * mach/err_mach.sub: Likewise.
31887         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31888         (ROUNDING_TESTS_double): Likewise.
31889         (ROUNDING_TESTS_long_double): Likewise.
31890         (ROUNDING_TESTS): Likewise.
31891         * math/libm-test.inc: Include <math-tests.h>.
31892         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31893         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31894         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31895         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31897 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31899         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31900         of assigning.
31902 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
31904         * sysdeps/gnu/errlist.awk: Do not generate space at end of
31905         otherwise empty TRANS lines.
31906         * sysdeps/gnu/errlist.c: Regenerated.
31908         * catgets/gencat.c (error_print): Use (void) in function
31909         definition.
31910         * crypt/crypt_util.c (__init_des): Likewise.
31911         * crypt/speeds.c (Stop): Likewise.
31912         (main): Likewise.
31913         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31914         * inet/ruserpass.c (token): Likewise.
31915         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31916         * intl/localealias.c (extend_alias_table): Likewise.
31917         * intl/plural-exp.c (init_germanic_plural): Likewise.
31918         * libio/fcloseall.c (__fcloseall): Likewise.
31919         * libio/genops.c (_IO_flush_all): Likewise.
31920         (_IO_flush_all_linebuffered): Likewise.
31921         (_IO_cleanup): Likewise.
31922         (_IO_iter_begin): Likewise.
31923         (_IO_iter_end): Likewise.
31924         (_IO_list_lock): Likewise.
31925         (_IO_list_unlock): Likewise.
31926         (_IO_list_resetlock): Likewise.
31927         * libio/getchar.c (getchar): Likewise.
31928         * libio/getchar_u.c (getchar_unlocked): Likewise.
31929         * libio/getwchar.c (getwchar): Likewise.
31930         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31931         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31932         * login/getpt.c (__getpt): Likewise.
31933         * login/tst-utmp.c (main): Likewise.
31934         * malloc/hooks.c (__malloc_check_init): Likewise.
31935         * malloc/malloc.c (__malloc_stats): Likewise.
31936         * malloc/mtrace.c (tr_break): Likewise.
31937         (mtrace): Likewise.
31938         (muntrace): Likewise.
31939         * misc/fstab.c (endfsent): Likewise.
31940         * misc/getclktck.c (__getclktck): Likewise.
31941         * misc/getdtsz.c (__getdtablesize): Likewise.
31942         * misc/gethostid.c (gethostid): Likewise.
31943         * misc/getpagesize.c (__getpagesize): Likewise.
31944         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31945         (__get_nprocs): Likewise.
31946         (__get_phys_pages): Likewise.
31947         (__get_avphys_pages): Likewise.
31948         * misc/getttyent.c (getttyent): Likewise.
31949         (setttyent): Likewise.
31950         (endttyent): Likewise.
31951         * misc/getusershell.c (getusershell): Likewise.
31952         (endusershell): Likewise.
31953         (setusershell): Likewise.
31954         (initshells): Likewise.
31955         * misc/hsearch.c (__hdestroy): Likewise.
31956         * misc/sync.c (sync): Likewise.
31957         * misc/syslog.c (closelog_internal): Likewise.
31958         (closelog): Likewise.
31959         * misc/ttyslot.c (ttyslot): Likewise.
31960         * misc/vhangup.c (vhangup): Likewise.
31961         * posix/fork.c (__fork): Likewise.
31962         * posix/getegid.c (__getegid): Likewise.
31963         * posix/geteuid.c (__geteuid): Likewise.
31964         * posix/getgid.c (__getgid): Likewise.
31965         * posix/getpid.c (__getpid): Likewise.
31966         * posix/getppid.c (__getppid): Likewise.
31967         * posix/getuid.c (__getuid): Likewise.
31968         * posix/pause.c (pause): Likewise.
31969         * posix/setpgrp.c (setpgrp): Likewise.
31970         * posix/setsid.c (__setsid): Likewise.
31971         * posix/test-vfork.c (noop): Likewise.
31972         * resolv/gethnamaddr.c (_endhtent): Likewise.
31973         (_gethtent): Likewise.
31974         (ht_endhostent): Likewise.
31975         (gethostent): Likewise.
31976         (dns_service): Likewise.
31977         * stdlib/drand48.c (drand48): Likewise.
31978         * stdlib/lrand48.c (lrand48): Likewise.
31979         * stdlib/mrand48.c (mrand48): Likewise.
31980         * stdlib/rand.c (rand): Likewise.
31981         * stdlib/random.c (__random): Likewise.
31982         * stdlib/setenv.c (clearenv): Likewise.
31983         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31984         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31985         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31986         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31987         (__get_nprocs): Likewise.
31988         (__get_phys_pages): Likewise.
31989         (__get_avphys_pages): Likewise.
31990         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31991         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31992         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31993         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31994         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31995         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31996         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31997         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31998         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31999         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32000         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32001         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32002         * sysdeps/posix/clock.c (clock): Likewise.
32003         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32004         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32005         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32006         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32007         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32008         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32009         (__get_nprocs_conf): Likewise.
32010         (__get_phys_pages): Likewise.
32011         (__get_avphys_pages): Likewise.
32012         * time/clock.c (clock): Likewise.
32013         * time/tzset.c (__tzname_max): Likewise.
32015 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32017         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32018         (__bswap_32): Do not use "register".
32019         * crypt/crypt.c (_ufc_doit_r): Likewise.
32020         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32021         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32022         * gmon/gmon.c (__monstartup): Likewise.
32023         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32024         * hurd/hurdmalloc.c (more_memory): Likewise.
32025         (malloc): Likewise.
32026         (free): Likewise.
32027         (realloc): Likewise.
32028         (malloc_fork_prepare): Likewise.
32029         (malloc_fork_parent): Likewise.
32030         (malloc_fork_child): Likewise.
32031         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32032         (_svcauth_des): Likewise.
32033         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32034         * inet/inet_net.c (inet_network): Likewise.
32035         * inet/inet_netof.c (inet_netof): Likewise.
32036         * inet/rcmd.c (__validuser2_sa): Likewise.
32037         * io/fts.c (fts_open): Likewise.
32038         (fts_load): Likewise.
32039         (fts_close): Likewise.
32040         (fts_read): Likewise.
32041         (fts_children): Likewise.
32042         (fts_build): Likewise.
32043         (fts_stat): Likewise.
32044         (fts_sort): Likewise.
32045         (fts_alloc): Likewise.
32046         (fts_lfree): Likewise.
32047         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32048         (_IO_file_xsgetn): Likewise.
32049         (_IO_file_xsgetn_mmap): Likewise.
32050         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32051         (_IO_cookie_write): Likewise.
32052         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32053         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32054         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32055         * malloc/obstack.c (_obstack_begin): Likewise.
32056         (_obstack_begin_1): Likewise.
32057         (_obstack_newchunk): Likewise.
32058         (_obstack_allocated_p): Likewise.
32059         (obstack_free): Likewise.
32060         (_obstack_memory_used): Likewise.
32061         * misc/getttyent.c (getttynam): Likewise.
32062         (getttyent): Likewise.
32063         (skip): Likewise.
32064         (value): Likewise.
32065         * misc/getusershell.c (initshells): Likewise.
32066         * misc/syslog.c (__vsyslog_chk): Likewise.
32067         * misc/ttyslot.c (ttyslot): Likewise.
32068         * nis/nis_hash.c (__nis_hash): Likewise.
32069         * posix/fnmatch_loop.c (FCT): Likewise.
32070         * posix/getconf.c (print_all): Likewise.
32071         (main): Likewise.
32072         * posix/getopt.c (exchange): Likewise.
32073         * posix/glob.c (globfree): Likewise.
32074         (prefix_array): Likewise.
32075         (__glob_pattern_type): Likewise.
32076         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32077         (NS_GET32): Likewise.
32078         (NS_PUT16): Likewise.
32079         (NS_PUT32): Likewise.
32080         * resolv/gethnamaddr.c (getanswer): Likewise.
32081         (gethostbyname2): Likewise.
32082         (gethostbyaddr): Likewise.
32083         (_gethtent): Likewise.
32084         (_gethtbyname2): Likewise.
32085         (_gethtbyaddr): Likewise.
32086         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32087         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32088         * resolv/res_init.c (__res_vinit): Likewise.
32089         (net_mask): Likewise.
32090         * resolv/res_mkquery.c (outchar): Likewise.
32091         (PRINT): Likewise.
32092         * stdio-common/printf_fp.c (outchar): Likewise.
32093         (PRINT): Likewise.
32094         * stdio-common/printf_fphex.c (outchar): Likewise.
32095         (PRINT): Likewise.
32096         * stdio-common/printf_size.c (outchar): Likewise.
32097         (PRINT): Likewise.
32098         * stdio-common/test_rdwr.c (main): Likewise.
32099         * stdio-common/tfformat.c (matches): Likewise.
32100         * stdio-common/vfprintf.c (outchar): Likewise.
32101         (printf_unknown): Likewise.
32102         (buffered_vfprintf): Likewise.
32103         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32104         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32105         (ReadFile): Likewise.
32106         * stdlib/qsort.c (SWAP): Likewise.
32107         (_quicksort): Likewise.
32108         * stdlib/setenv.c (__add_to_environ): Likewise.
32109         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32110         * stdlib/strtol_l.c (__strtol_l): Likewise.
32111         * stdlib/tst-strtod.c (main): Likewise.
32112         * stdlib/tst-strtol.c (main): Likewise.
32113         * stdlib/tst-strtoll.c (main): Likewise.
32114         * string/bits/string2.h (__strcmp_cc): Likewise.
32115         (__strcmp_cg): Likewise.
32116         (__strcspn_c1): Likewise.
32117         (__strcspn_c2): Likewise.
32118         (__strcspn_c3): Likewise.
32119         (__strspn_c1): Likewise.
32120         (__strspn_c2): Likewise.
32121         (__strspn_c3): Likewise.
32122         (__strsep_1c): Likewise.
32123         (__strsep_2c): Likewise.
32124         (__strsep_3c): Likewise.
32125         * string/memccpy.c (__memccpy): Likewise.
32126         * string/stpcpy.c (__stpcpy): Likewise.
32127         * string/strcmp.c (strcmp): Likewise.
32128         * string/strrchr.c (strrchr): Likewise.
32129         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32130         Likewise.
32131         * sysdeps/mach/hurd/getcwd.c
32132         (_hurd_canonicalize_directory_name_internal): Likewise.
32133         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32134         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32135         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32136         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32137         Likewise, in both definitions.
32138         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32139         definitions.
32140         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32141         64] (__bswap_64): Likewise.
32142         * time/test_time.c (main): Likewise.
32143         * time/tzfile.c (__tzfile_read): Likewise.
32144         (__tzfile_compute): Likewise.
32145         * time/tzset.c (__tzset_parse_tz): Likewise.
32146         (tzset_internal): Likewise.
32147         (compute_change): Likewise.
32148         * wcsmbs/wcscat.c (__wcscat): Likewise.
32149         * wcsmbs/wcschr.c (wcschr): Likewise.
32150         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32151         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32152         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32153         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32154         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32155         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32156         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32157         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32158         * wcsmbs/wmemset.c (wmemset): Likewise.
32160 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32162         * scripts/config.guess: Update to version 2013-05-16.
32163         * scripts/config.sub: Update to version 2013-04-24.
32164         * scripts/install-sh: Update to version 2011-11-20.07.
32165         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32166         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32168 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32170         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32171         * elf/sln.c: Likewise.
32172         * hurd/hurd/ioctl.h: Likewise.
32173         * hurd/hurdmalloc.c: Likewise.
32174         * hurd/xattr.c: Likewise.
32175         * include/shlib-compat.h: Likewise.
32176         * inet/ruserpass.c: Likewise.
32177         * libio/iofgets_u.c: Likewise.
32178         * libio/iofgetws_u.c: Likewise.
32179         * locale/programs/ld-identification.c: Likewise.
32180         * locale/programs/ld-time.c: Likewise.
32181         * mach/msg-destroy.c: Likewise.
32182         * nss/nss_files/files-netgrp.c: Likewise.
32183         * resolv/res_data.c: Likewise.
32184         * soft-fp/op-1.h: Likewise.
32185         * soft-fp/op-2.h: Likewise.
32186         * soft-fp/op-4.h: Likewise.
32187         * soft-fp/op-common.h: Likewise.
32188         * stdio-common/printf_fphex.c: Likewise.
32189         * stdlib/strtod_l.c: Likewise.
32190         * sunrpc/rpc/clnt.h: Likewise.
32191         * sysdeps/generic/framestate.c: Likewise.
32192         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32193         * sysdeps/i386/bsd-setjmp.S: Likewise.
32194         * sysdeps/i386/__longjmp.S: Likewise.
32195         * sysdeps/i386/setjmp.S: Likewise.
32196         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32197         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32198         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32199         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32200         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32201         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32202         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32203         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32204         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32205         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32206         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32207         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32208         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32209         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32210         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32211         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32212         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32213         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32214         * sysdeps/ieee754/support.c: Likewise.
32215         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32216         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32217         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32218         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32219         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32220         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32221         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32222         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32223         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32224         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32225         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32226         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32227         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32228         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32229         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32230         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32231         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32234 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
32236         * posix/transbug.c: Remove executable mode.
32238 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
32240         * crypt/speeds.c: Remove trailing whitespace.
32241         * dlfcn/default.c: Likewise.
32242         * elf/ifuncdep2.c: Likewise.
32243         * elf/ifuncmain1.c: Likewise.
32244         * elf/ifuncmain1vis.c: Likewise.
32245         * elf/testobj.h: Likewise.
32246         * elf/tst-stackguard1.c: Likewise.
32247         * gmon/sys/gmon.h: Likewise.
32248         * hurd/hurdmsg.c: Likewise.
32249         * hurd/new-fd.c: Likewise.
32250         * hurd/ports-get.c: Likewise.
32251         * iconvdata/ibm1008_420.c: Likewise.
32252         * inet/tst-getni1.c: Likewise.
32253         * inet/tst-getni2.c: Likewise.
32254         * libio/ioungetc.c: Likewise.
32255         * libio/wfiledoalloc.c: Likewise.
32256         * manual/libm-err-tab.pl: Likewise.
32257         * math/w_dremf.c: Likewise.
32258         * misc/ftruncate.c: Likewise.
32259         * posix/bug-glob2.c: Likewise.
32260         * posix/tst-pcre.c: Likewise.
32261         * posix/wait4.c: Likewise.
32262         * resolv/README: Likewise.
32263         * resolv/res_debug.h: Likewise.
32264         * resolv/tst-inet_ntop.c: Likewise.
32265         * setjmp/bug269-setjmp.c: Likewise.
32266         * soft-fp/extended.h: Likewise.
32267         * soft-fp/op-1.h: Likewise.
32268         * soft-fp/op-2.h: Likewise.
32269         * soft-fp/op-4.h: Likewise.
32270         * soft-fp/op-8.h: Likewise.
32271         * soft-fp/testit.c: Likewise.
32272         * stdio-common/bug16.c: Likewise.
32273         * stdlib/random.c: Likewise.
32274         * sunrpc/rpcsvc/rquota.x: Likewise.
32275         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
32276         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32277         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32278         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32279         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32280         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32281         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32282         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32283         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32284         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32285         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32286         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32287         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32288         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32289         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32290         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32291         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32292         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32293         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32294         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32295         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32296         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32297         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32298         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32299         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32300         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32301         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32302         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32303         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32304         * sysdeps/ieee754/s_lib_version.c: Likewise.
32305         * sysdeps/mach/hurd/check_fds.c: Likewise.
32306         * sysdeps/mach/hurd/getsockname.c: Likewise.
32307         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32308         * sysdeps/mach/hurd/recvfrom.c: Likewise.
32309         * sysdeps/powerpc/bits/link.h: Likewise.
32310         * sysdeps/powerpc/dl-procinfo.c: Likewise.
32311         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32312         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32313         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32314         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32315         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32316         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32317         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32318         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
32319         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32320         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32321         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32322         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
32323         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32324         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32325         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32326         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32327         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32328         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32329         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32330         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32331         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
32332         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32333         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32334         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
32335         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32336         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32337         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32338         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32339         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32340         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32341         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32342         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32343         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32344         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
32345         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32346         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
32347         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32348         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32349         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
32350         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
32351         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
32352         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
32353         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
32354         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32355         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
32356         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
32357         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32358         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
32359         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
32360         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32361         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32362         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32363         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32364         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
32365         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32366         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32367         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32368         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
32369         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32370         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
32371         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
32372         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
32373         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32374         * sysdeps/powerpc/sysdep.h: Likewise.
32375         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32376         * sysdeps/s390/s390-64/sub_n.S: Likewise.
32377         * sysdeps/sh/dl-trampoline.S: Likewise.
32378         * sysdeps/sh/memset.S: Likewise.
32379         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
32380         * sysdeps/sh/strlen.S: Likewise.
32381         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
32382         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
32383         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
32384         * sysdeps/sparc/sparc32/rem.S: Likewise.
32385         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32386         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32387         * sysdeps/sparc/sparc32/strchr.S: Likewise.
32388         * sysdeps/sparc/sparc32/udiv.S: Likewise.
32389         * sysdeps/sparc/sparc32/urem.S: Likewise.
32390         * sysdeps/sparc/sparc64/add_n.S: Likewise.
32391         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32392         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32393         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32394         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32395         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32396         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32397         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32398         * sysdeps/unix/bsd/times.c: Likewise.
32399         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32400         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32404         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32405         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32406         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32407         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32408         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32409         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32410         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32411         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32412         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32413         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32414         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32415         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32416         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32417         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32418         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32419         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32420         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32421         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32422         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32423         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32424         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32425         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32426         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32427         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32428         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32429         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32430         * sysdeps/x86_64/strcspn.S: Likewise.
32432 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32434         * locale/C-translit.h: Revert #include <stdint.h> because this is a
32435         generated file.  Regenerate properly from gen-translit.pl.
32436         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
32437         locale/C-translit.h.
32439 2013-06-05  Andreas Schwab  <schwab@suse.de>
32441         [BZ #15100]
32442         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32443         week as 6 instead of -1.
32444         * time/tst-strptime.c (day_tests): Add test case.
32446 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32448         * sysdeps/generic/math_private.h
32449         (libc_feholdexcept_setround_53bit): Replace with
32450         libc_feholdsetround_53bit.
32451         (libc_feupdateenv_53bit): Replace with
32452         libc_feresetround_53bit.
32453         (SET_RESTORE_ROUND_53BIT): Adjust.
32455 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32457         * string/test-strchrnul.c: Add copyright header.
32459         * posix/tst-getaddrinfo4.c: Increase test timeout.
32461 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
32463         [BZ #15536]
32464         * math/libm-test.inc (MAX_EXP): Remove
32465         (MIN_EXP): Define.
32466         (ulp): Use MIN_EXP - MANT_DIG.
32467         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32469 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
32471         * po/be.po: Revert last change.
32472         * po/zh_CN.po: Likewise.
32473         * po/header.pot: Likewise.
32475 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
32477         * Makefile ($(common-objpfx)linkobj/libc.so): Define
32478         link-libc-deps to empty as target-specific variable.
32479         * Makerules (link-libc-args): New variable.
32480         (libc-for-link): Likewise.
32481         (link-libc-deps): Likewise.
32482         (lib%.so): Depend on $(link-libc-deps).  Link with
32483         $(link-libc-args).
32484         (build-module): Link with $(link-libc-args).
32485         (build-module-asneeded): Likewise.
32486         (build-module-helper-objlist): Filter out $(link-libc-deps) from
32487         list of objects.
32488         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32489         target-specific variable.
32490         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32491         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32492         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32493         libc.
32494         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32495         libc and ld.so.
32496         ($(objpfx)libpcprofile.so): Likewise.
32497         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32498         libc_nonshared.a.
32499         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32500         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32501         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32502         $(link-libc-deps).
32503         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32504         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32505         * login/Makefile ($(objpfx)libutil.so): Likewise.
32506         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32507         * math/Makefile ($(objpfx)libm.so): Likewise.
32508         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32509         $(objpfx)libnsl.so): Define libc-for-link as target-specific
32510         variable instead of depending directly on libc.
32511         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32512         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32513         $(link-libc-deps).
32514         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32515         libc.
32516         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32517         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32518         ($(objpfx)libanl.so): Likewise.
32519         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32520         ld.so.
32521         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32522         $(link-libc-deps).
32523         * sysdeps/i386/fpu/Makefile: Remove file.
32524         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32525         ($(objpfx)libm.so): Remove dependency on ld.so.
32527 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
32529         [BZ # 15553]
32530         * nis/yp_xdr.c (XDRMAXNAME): Define.
32531         (XDRMAXRECORD): Define.
32532         (xdr_domainname): Use XDRMAXNAME.
32533         (xdr_mapname): Likewise.
32534         (xdr_peername): Likewise.
32535         (xdr_keydat): Use XDRMAXRECORD.
32536         (xdr_valdat): Likewise.
32538 2013-05-30  Jeff Law  <law@redhat.com>
32540         [BZ #14256]
32541         * manual/errno.texi (ESTALE): Update to account for more than
32542         just NFS file systems.
32543         * sysdeps/gnu/errlist.c: Regenerated.
32545 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32547         [BZ #15465]
32548         * elf/Makefile (tests): Add tst-null-argv.
32549         (modules-names):  Add tst-null-argv-lib.
32550         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32551         (tst-null-argv-ENV): Set environment for tst-null-argv.
32552         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32553         (RTLD_PROGNAME): New macro.
32554         * elf/tst-null-argv.c: New test case.
32555         * elf/tst-null-argv-lib.c: Library for test case.
32556         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32557         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32558         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32559         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32560         * elf/dl-init.c (call_init): Likewise.
32561         (_dl_init): Likewise.
32562         * elf/dl-load.c (print_search_path): Likewise.
32563         (_dl_map_object): Likewise.
32564         * elf/dl-lookup.c (do_lookup_x): Likewise.
32565         (add_dependency): Likewise.
32566         (_dl_lookup_symbol_x): Likewise.
32567         (_dl_debug_bindings): Likewise.
32568         * elf/dl-open.c (_dl_show_scope): Likewise.
32569         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32570         * elf/dl-version.c (match_symbol): Likewise.
32571         (_dl_check_map_versions): Likewise.
32572         * elf/rtld.c (dl_main): Likewise.
32573         (print_unresolved): Use RTLD_PROGNAME.
32574         (print_missing_version): Likewise.
32575         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32576         (elf_machine_rela): Likewise.
32577         * sysdeps/powerpc/powerpc32/dl-machine.c
32578         (__process_machine_rela): Likewise.
32579         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32580         Likewise.
32581         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32582         Likewise.
32583         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32584         Likewise.
32585         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32586         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32587         Likewise.
32588         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32589         Likewise.
32590         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32592 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
32594         * po/be.po: Add descriptive title.
32595         * po/zh_CN.po: Likewise.
32596         * po/header.pot: Likewise.
32598 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
32600         * locale/programs/locarchive.c (create_archive): Inlucde fname in
32601         error message.
32602         (enlarge_archive): Likewise.
32604 2013-05-28  Ben North  <ben@redfrontdoor.org>
32606         * manual/arith.texi (frexp): It is the magnitude of the return
32607         value which lies in [0.5, 1), not the return value itself.
32609 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32613 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
32615         * stdio-common/bug26.c (main): Correct fscanf template.
32617         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32618         declare _dl_skip_args.
32620         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32621         Don't declare.
32623         * manual/platform.texi: Add missing @end deftypefun.
32625 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32627         [BZ #15529]
32628         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32629         bit of mantissa of 2^16382.
32630         * math/libm-test.inc (hypot_test_data): Add more tests.
32632         * math/libm-test.inc: Add drem and pow10 to list of tested
32633         functions.
32634         (pow10_test): New function.
32635         (drem_test): Likewise.
32636         (drem_test_tonearest): Likewise.
32637         (drem_test_towardzero): Likewise.
32638         (drem_test_downward): Likewise.
32639         (drem_test_upward): Likewise.
32640         (main): Call the new functions.
32642         * math/libm-test.inc (finite_test_data): Remove.
32643         (finite_test): Run tests from isfinite_test_data.
32644         (gamma_test_data): Remove.
32645         (gamma_test): Run tests from lgamma_test_data.
32646         * sysdeps/i386/fpu/libm-test-ulps: Update.
32647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32649 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32651         * manual/platform.texi: Add PowerPC PPR function set documentation.
32652         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32653         implementation.
32655 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
32657         * math/libm-test.inc (MAX_EXP): Define.
32658         (ULPDIFF): Define.
32659         (ulp): New function.
32660         (check_float_internal): Use ULPDIFF.
32661         (cpow_test): Disable failing test.
32662         (check_ulp): Test ulp() implemetnation.
32663         (main): Call check_ulp before starting tests.
32665 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32667         * math/gen-libm-test.pl (generate_testfile): Do not handle
32668         START_DATA and END_DATA.
32669         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32670         END_DATA.
32671         (acos_tonearest_test_data): Likewise.
32672         (acos_towardzero_test_data): Likewise.
32673         (acos_downward_test_data): Likewise.
32674         (acos_upward_test_data): Likewise.
32675         (acosh_test_data): Likewise.
32676         (asin_test_data): Likewise.
32677         (asin_tonearest_test_data): Likewise.
32678         (asin_towardzero_test_data): Likewise.
32679         (asin_downward_test_data): Likewise.
32680         (asin_upward_test_data): Likewise.
32681         (asinh_test_data): Likewise.
32682         (atan_test_data): Likewise.
32683         (atanh_test_data): Likewise.
32684         (atan2_test_data): Likewise.
32685         (cabs_test_data): Likewise.
32686         (cacos_test_data): Likewise.
32687         (cacosh_test_data): Likewise.
32688         (carg_test_data): Likewise.
32689         (casin_test_data): Likewise.
32690         (casinh_test_data): Likewise.
32691         (catan_test_data): Likewise.
32692         (catanh_test_data): Likewise.
32693         (cbrt_test_data): Likewise.
32694         (ccos_test_data): Likewise.
32695         (ccosh_test_data): Likewise.
32696         (ceil_test_data): Likewise.
32697         (cexp_test_data): Likewise.
32698         (cimag_test_data): Likewise.
32699         (clog_test_data): Likewise.
32700         (clog10_test_data): Likewise.
32701         (conj_test_data): Likewise.
32702         (copysign_test_data): Likewise.
32703         (cos_test_data): Likewise.
32704         (cos_tonearest_test_data): Likewise.
32705         (cos_towardzero_test_data): Likewise.
32706         (cos_downward_test_data): Likewise.
32707         (cos_upward_test_data): Likewise.
32708         (cosh_test_data): Likewise.
32709         (cosh_tonearest_test_data): Likewise.
32710         (cosh_towardzero_test_data): Likewise.
32711         (cosh_downward_test_data): Likewise.
32712         (cosh_upward_test_data): Likewise.
32713         (cpow_test_data): Likewise.
32714         (cproj_test_data): Likewise.
32715         (creal_test_data): Likewise.
32716         (csin_test_data): Likewise.
32717         (csinh_test_data): Likewise.
32718         (csqrt_test_data): Likewise.
32719         (ctan_test_data): Likewise.
32720         (ctan_tonearest_test_data): Likewise.
32721         (ctan_towardzero_test_data): Likewise.
32722         (ctan_downward_test_data): Likewise.
32723         (ctan_upward_test_data): Likewise.
32724         (ctanh_test_data): Likewise.
32725         (ctanh_tonearest_test_data): Likewise.
32726         (ctanh_towardzero_test_data): Likewise.
32727         (ctanh_downward_test_data): Likewise.
32728         (ctanh_upward_test_data): Likewise.
32729         (erf_test_data): Likewise.
32730         (erfc_test_data): Likewise.
32731         (exp_test_data): Likewise.
32732         (exp_tonearest_test_data): Likewise.
32733         (exp_towardzero_test_data): Likewise.
32734         (exp_downward_test_data): Likewise.
32735         (exp_upward_test_data): Likewise.
32736         (exp10_test_data): Likewise.
32737         (exp2_test_data): Likewise.
32738         (expm1_test_data): Likewise.
32739         (fabs_test_data): Likewise.
32740         (fdim_test_data): Likewise.
32741         (finite_test_data): Likewise.
32742         (floor_test_data): Likewise.
32743         (fma_test_data): Likewise.
32744         (fma_towardzero_test_data): Likewise.
32745         (fma_downward_test_data): Likewise.
32746         (fma_upward_test_data): Likewise.
32747         (fmax_test_data): Likewise.
32748         (fmin_test_data): Likewise.
32749         (fmod_test_data): Likewise.
32750         (fpclassify_test_data): Likewise.
32751         (frexp_test_data): Likewise.
32752         (gamma_test_data): Likewise.
32753         (hypot_test_data): Likewise.
32754         (ilogb_test_data): Likewise.
32755         (isfinite_test_data): Likewise.
32756         (isgreater_test_data): Likewise.
32757         (isgreaterequal_test_data): Likewise.
32758         (isinf_test_data): Likewise.
32759         (isless_test_data): Likewise.
32760         (islessequal_test_data): Likewise.
32761         (islessgreater_test_data): Likewise.
32762         (isnan_test_data): Likewise.
32763         (isnormal_test_data): Likewise.
32764         (issignaling_test_data): Likewise.
32765         (isunordered_test_data): Likewise.
32766         (j0_test_data): Likewise.
32767         (j1_test_data): Likewise.
32768         (jn_test_data): Likewise.
32769         (ldexp_test_data): Likewise.
32770         (lgamma_test_data): Likewise.
32771         (lrint_test_data): Likewise.
32772         (lrint_tonearest_test_data): Likewise.
32773         (lrint_towardzero_test_data): Likewise.
32774         (lrint_downward_test_data): Likewise.
32775         (lrint_upward_test_data): Likewise.
32776         (llrint_test_data): Likewise.
32777         (llrint_tonearest_test_data): Likewise.
32778         (llrint_towardzero_test_data): Likewise.
32779         (llrint_downward_test_data): Likewise.
32780         (llrint_upward_test_data): Likewise.
32781         (log_test_data): Likewise.
32782         (log10_test_data): Likewise.
32783         (log1p_test_data): Likewise.
32784         (log2_test_data): Likewise.
32785         (logb_test_data): Likewise.
32786         (logb_downward_test_data): Likewise.
32787         (lround_test_data): Likewise.
32788         (llround_test_data): Likewise.
32789         (modf_test_data): Likewise.
32790         (nearbyint_test_data): Likewise.
32791         (nextafter_test_data): Likewise.
32792         (nexttoward_test_data): Likewise.
32793         (pow_test_data): Likewise.
32794         (pow_tonearest_test_data): Likewise.
32795         (pow_towardzero_test_data): Likewise.
32796         (pow_downward_test_data): Likewise.
32797         (pow_upward_test_data): Likewise.
32798         (remainder_test_data): Likewise.
32799         (remainder_tonearest_test_data): Likewise.
32800         (remainder_towardzero_test_data): Likewise.
32801         (remainder_downward_test_data): Likewise.
32802         (remainder_upward_test_data): Likewise.
32803         (remquo_test_data): Likewise.
32804         (rint_test_data): Likewise.
32805         (rint_tonearest_test_data): Likewise.
32806         (rint_towardzero_test_data): Likewise.
32807         (rint_downward_test_data): Likewise.
32808         (rint_upward_test_data): Likewise.
32809         (round_test_data): Likewise.
32810         (scalb_test_data): Likewise.
32811         (scalbn_test_data): Likewise.
32812         (scalbln_test_data): Likewise.
32813         (signbit_test_data): Likewise.
32814         (sin_test_data): Likewise.
32815         (sin_tonearest_test_data): Likewise.
32816         (sin_towardzero_test_data): Likewise.
32817         (sin_downward_test_data): Likewise.
32818         (sin_upward_test_data): Likewise.
32819         (sincos_test_data): Likewise.
32820         (sinh_test_data): Likewise.
32821         (sinh_tonearest_test_data): Likewise.
32822         (sinh_towardzero_test_data): Likewise.
32823         (sinh_downward_test_data): Likewise.
32824         (sinh_upward_test_data): Likewise.
32825         (sqrt_test_data): Likewise.
32826         (tan_test_data): Likewise.
32827         (tan_tonearest_test_data): Likewise.
32828         (tan_towardzero_test_data): Likewise.
32829         (tan_downward_test_data): Likewise.
32830         (tan_upward_test_data): Likewise.
32831         (tanh_test_data): Likewise.
32832         (tgamma_test_data): Likewise.
32833         (trunc_test_data): Likewise.
32834         (y0_test_data): Likewise.
32835         (y1_test_data): Likewise.
32836         (yn_test_data): Likewise.
32837         (significand_test_data): Likewise.
32839         * math/gen-libm-test.pl (@functions): Remove variable.
32840         (generate_testfile): Don't handle START and END lines.
32841         * math/libm-test.inc (START): New macro.
32842         (END): Likewise.
32843         (END_COMPLEX): Likewise.
32844         (acos_test): Use END macro without arguments.
32845         (acos_test_tonearest): Likewise.
32846         (acos_test_towardzero): Likewise.
32847         (acos_test_downward): Likewise.
32848         (acos_test_upward): Likewise.
32849         (acosh_test): Likewise.
32850         (asin_test): Likewise.
32851         (asin_test_tonearest): Likewise.
32852         (asin_test_towardzero): Likewise.
32853         (asin_test_downward): Likewise.
32854         (asin_test_upward): Likewise.
32855         (asinh_test): Likewise.
32856         (atan_test): Likewise.
32857         (atanh_test): Likewise.
32858         (atan2_test): Likewise.
32859         (cabs_test): Likewise.
32860         (cacos_test): Use END_COMPLEX macro without arguments.
32861         (cacosh_test): Likewise.
32862         (carg_test): Use END macro without arguments.
32863         (casin_test): Use END_COMPLEX macro without arguments.
32864         (casinh_test): Likewise.
32865         (catan_test): Likewise.
32866         (catanh_test): Likewise.
32867         (cbrt_test): Use END macro without arguments.
32868         (ccos_test): Use END_COMPLEX macro without arguments.
32869         (ccosh_test): Likewise.
32870         (ceil_test): Use END macro without arguments.
32871         (cexp_test): Use END_COMPLEX macro without arguments.
32872         (cimag_test): Use END macro without arguments.
32873         (clog_test): Use END_COMPLEX macro without arguments.
32874         (clog10_test): Likewise.
32875         (conj_test): Likewise.
32876         (copysign_test): Use END macro without arguments.
32877         (cos_test): Likewise.
32878         (cos_test_tonearest): Likewise.
32879         (cos_test_towardzero): Likewise.
32880         (cos_test_downward): Likewise.
32881         (cos_test_upward): Likewise.
32882         (cosh_test): Likewise.
32883         (cosh_test_tonearest): Likewise.
32884         (cosh_test_towardzero): Likewise.
32885         (cosh_test_downward): Likewise.
32886         (cosh_test_upward): Likewise.
32887         (cpow_test): Use END_COMPLEX macro without arguments.
32888         (cproj_test): Likewise.
32889         (creal_test): Use END macro without arguments.
32890         (csin_test): Use END_COMPLEX macro without arguments.
32891         (csinh_test): Likewise.
32892         (csqrt_test): Likewise.
32893         (ctan_test): Likewise.
32894         (ctan_test_tonearest): Likewise.
32895         (ctan_test_towardzero): Likewise.
32896         (ctan_test_downward): Likewise.
32897         (ctan_test_upward): Likewise.
32898         (ctanh_test): Likewise.
32899         (ctanh_test_tonearest): Likewise.
32900         (ctanh_test_towardzero): Likewise.
32901         (ctanh_test_downward): Likewise.
32902         (ctanh_test_upward): Likewise.
32903         (erf_test): Use END macro without arguments.
32904         (erfc_test): Likewise.
32905         (exp_test): Likewise.
32906         (exp_test_tonearest): Likewise.
32907         (exp_test_towardzero): Likewise.
32908         (exp_test_downward): Likewise.
32909         (exp_test_upward): Likewise.
32910         (exp10_test): Likewise.
32911         (exp2_test): Likewise.
32912         (expm1_test): Likewise.
32913         (fabs_test): Likewise.
32914         (fdim_test): Likewise.
32915         (finite_test): Likewise.
32916         (floor_test): Likewise.
32917         (fma_test): Likewise.
32918         (fma_test_towardzero): Likewise.
32919         (fma_test_downward): Likewise.
32920         (fma_test_upward): Likewise.
32921         (fmax_test): Likewise.
32922         (fmin_test): Likewise.
32923         (fmod_test): Likewise.
32924         (fpclassify_test): Likewise.
32925         (frexp_test): Likewise.
32926         (gamma_test): Likewise.
32927         (hypot_test): Likewise.
32928         (ilogb_test): Likewise.
32929         (isfinite_test): Likewise.
32930         (isgreater_test): Likewise.
32931         (isgreaterequal_test): Likewise.
32932         (isinf_test): Likewise.
32933         (isless_test): Likewise.
32934         (islessequal_test): Likewise.
32935         (islessgreater_test): Likewise.
32936         (isnan_test): Likewise.
32937         (isnormal_test): Likewise.
32938         (issignaling_test): Likewise.
32939         (isunordered_test): Likewise.
32940         (j0_test): Likewise.
32941         (j1_test): Likewise.
32942         (jn_test): Likewise.
32943         (ldexp_test): Likewise.
32944         (lgamma_test): Likewise.
32945         (lrint_test): Likewise.
32946         (lrint_test_tonearest): Likewise.
32947         (lrint_test_towardzero): Likewise.
32948         (lrint_test_downward): Likewise.
32949         (lrint_test_upward): Likewise.
32950         (llrint_test): Likewise.
32951         (llrint_test_tonearest): Likewise.
32952         (llrint_test_towardzero): Likewise.
32953         (llrint_test_downward): Likewise.
32954         (llrint_test_upward): Likewise.
32955         (log_test): Likewise.
32956         (log10_test): Likewise.
32957         (log1p_test): Likewise.
32958         (log2_test): Likewise.
32959         (logb_test): Likewise.
32960         (logb_test_downward): Likewise.
32961         (lround_test): Likewise.
32962         (llround_test): Likewise.
32963         (modf_test): Likewise.
32964         (nearbyint_test): Likewise.
32965         (nextafter_test): Likewise.
32966         (nexttoward_test): Likewise.
32967         (pow_test): Likewise.
32968         (pow_test_tonearest): Likewise.
32969         (pow_test_towardzero): Likewise.
32970         (pow_test_downward): Likewise.
32971         (pow_test_upward): Likewise.
32972         (remainder_test): Likewise.
32973         (remainder_test_tonearest): Likewise.
32974         (remainder_test_towardzero): Likewise.
32975         (remainder_test_downward): Likewise.
32976         (remainder_test_upward): Likewise.
32977         (remquo_test): Likewise.
32978         (rint_test): Likewise.
32979         (rint_test_tonearest): Likewise.
32980         (rint_test_towardzero): Likewise.
32981         (rint_test_downward): Likewise.
32982         (rint_test_upward): Likewise.
32983         (round_test): Likewise.
32984         (scalb_test): Likewise.
32985         (scalbn_test): Likewise.
32986         (scalbln_test): Likewise.
32987         (signbit_test): Likewise.
32988         (sin_test): Likewise.
32989         (sin_test_tonearest): Likewise.
32990         (sin_test_towardzero): Likewise.
32991         (sin_test_downward): Likewise.
32992         (sin_test_upward): Likewise.
32993         (sincos_test): Likewise.
32994         (sinh_test): Likewise.
32995         (sinh_test_tonearest): Likewise.
32996         (sinh_test_towardzero): Likewise.
32997         (sinh_test_downward): Likewise.
32998         (sinh_test_upward): Likewise.
32999         (sqrt_test): Likewise.
33000         (tan_test): Likewise.
33001         (tan_test_tonearest): Likewise.
33002         (tan_test_towardzero): Likewise.
33003         (tan_test_downward): Likewise.
33004         (tan_test_upward): Likewise.
33005         (tanh_test): Likewise.
33006         (tgamma_test): Likewise.
33007         (trunc_test): Likewise.
33008         (y0_test): Likewise.
33009         (y1_test): Likewise.
33010         (yn_test): Likewise.
33011         (significand_test): Likewise.
33013 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33015         [BZ #15381]
33016         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33018 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33020         [BZ #14894]
33021         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33022         __ppc_mdoio and __ppc_mdoom.
33023         * manual/platform.texi: Document new functions __ppc_yield,
33024         __ppc_mdoio and __ppc_mdoom.
33026 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33028         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33029         (main): Mention "tls" pseudo-hwcap is legacy.
33030         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33032 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33034         * math/gen-libm-test.pl (parse_args): Output only string of
33035         arguments as text for test name, not full call or descriptions of
33036         tests for extra outputs.
33037         (generate_testfile): Do not pass function name to parse_args.
33038         Generate this_func variable from START.
33039         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33040         field to arg_str.
33041         (struct test_ff_f_data): Likewise.
33042         (test_ff_f_data_nexttoward): Likewise.
33043         (struct test_fi_f_data): Likewise.
33044         (struct test_fl_f_data): Likewise.
33045         (struct test_if_f_data): Likewise.
33046         (struct test_fff_f_data): Likewise.
33047         (struct test_c_f_data): Likewise.
33048         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33049         (struct test_fF_f1_data): Likewise.
33050         (struct test_ffI_f1_data): Likewise.
33051         (struct test_c_c_data): Rename test_name field to arg_str.
33052         (struct test_cc_c_data): Likewise.
33053         (struct test_f_i_data): Likewise.
33054         (struct test_ff_i_data): Likewise.
33055         (struct test_f_l_data): Likewise.
33056         (struct test_f_L_data): Likewise.
33057         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33058         and extra2_name.
33059         (COMMON_TEST_SETUP): New macro.
33060         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33061         (COMMON_TEST_CLEANUP): Likewise.
33062         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33063         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33064         macros.
33065         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33066         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33067         macros.
33068         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33069         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33070         cleanup macros.
33071         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33072         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33073         macros.
33074         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33075         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33076         macros.
33077         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33078         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33079         cleanup macros.
33080         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33081         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33082         cleanup macros.
33083         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33084         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33085         cleanup macros.
33086         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33087         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33088         macros.
33089         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33090         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33091         macros.
33092         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33093         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33094         macros.
33095         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33096         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33097         cleanup macros.
33098         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33099         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33100         cleanup macros.
33101         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33102         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33103         macros.
33104         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33105         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33106         cleanup macros.
33107         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33108         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33109         macros.
33110         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33111         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33112         macros.
33113         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33114         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33115         cleanup macros.
33116         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33118 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33120         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33121         to _sifields.sigfault.
33122         (si_addr_lsb): Define new macro.
33123         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33124         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33125         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33127 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33129         [BZ #15441]
33130         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33131         returns -1.
33132         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33133         null return -1.
33134         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33135         loading the domain.
33137 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33139         * math/gen-libm-test.pl (parse_args): Do not include expected
33140         result in test name.
33141         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33142         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33143         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33144         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33145         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33148 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33150         * benchtests/Makefile: Sort function entries.
33152         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33153         tanh, asinh, acosh, atanh.
33154         * benchtests/acos-inputs: New file.
33155         * benchtests/acosh-inputs: New file.
33156         * benchtests/asin-inputs: New file.
33157         * benchtests/asinh-inputs: New file.
33158         * benchtests/atanh-inputs: New file.
33159         * benchtests/cosh-inputs: New file.
33160         * benchtests/log-inputs: New file.
33161         * benchtests/sinh-inputs: New file.
33162         * benchtests/tanh-inputs: New file.
33164 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33166         [BZ #15339]
33167         * posix/tst-getaddrinfo4.c: New test.
33168         * posix/Makefile (tests): Add it.
33170 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33172         [BZ #15339]
33173         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33174         when no services were used.
33175         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33176         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33178 2013-05-21  Andreas Schwab  <schwab@suse.de>
33180         [BZ #15014]
33181         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33182         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33183         successful.
33184         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33185         redundant variable declarations and reallocation of buffer when
33186         parsing as IPv6 address.  Always set NSS status when called from
33187         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
33188         buffer too small.  Correct computation of needed size.
33189         * nss/Makefile (tests): Add test-digits-dots.
33190         * nss/test-digits-dots.c: New test.
33192 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33194         * benchtests/Makefile: Remove instructions for adding
33195         benchmark tests.
33196         * benchtests/README: New file to explain how to execute and
33197         enhance the benchmark tests.
33199 2013-05-21  Andreas Schwab  <schwab@suse.de>
33201         [BZ #15493]
33202         * setjmp/Makefile (tests): Add tst-sigsetjmp.
33203         * setjmp/tst-sigsetjmp.c: New test.
33205 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33207         * sysdeps/x86_64/memset.S (memset): New implementation.
33208         (__bzero): Likewise.
33209         (__memset_tail): New function.
33211 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33213         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33214         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33215         __memcpy_sse2_unaligned ifunc selection.
33216         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33217         Add memcpy-sse2-unaligned.S.
33218         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33219         Add: __memcpy_sse2_unaligned.
33221 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
33223         [BZ #15490]
33224         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33225         math_force_eval before restoring floating-point envrionment.
33226         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33227         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33228         Likewise.
33229         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33230         <math_private.h>.
33231         (__nearbyintl): Use math_force_eval before restoring
33232         floating-point environment.
33233         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33235         * math/gen-libm-test.pl (special_functions): Remove.
33236         (parse_args): Don't handle TEST_extra.  Handle functions with no
33237         return value.
33238         * math/libm-test.inc (struct test_sincos_data): Replace with
33239         struct test_fFF_11_data.
33240         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33241         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33242         (sincos_test_data): Change element type to struct
33243         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
33244         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33245         RUN_TEST_LOOP_sincos.
33246         * math/README.libm-test: Don't mention special handling of
33247         individual functions.
33248         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33249         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33250         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33251         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33252         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33255         * math/gen-libm-test.pl (get_variable): Remove function.
33256         (parse_args): Don't show pointer parameters to call in test
33257         names.  Use "extra output N" in test names for extra outputs
33258         rather than naming variables.
33260 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
33262         [BZ #15488]
33263         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33264         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33265         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33266         double tests.
33267         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33268         disable.
33269         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33270         check_long_double.
33272         * math/gen-libm-test.pl (@tests): Remove variable.
33273         ($count): Likewise.
33274         (new_test): Remove function.
33275         (show_exceptions): New function.
33276         (special_functions): Use show_exceptions instead of new_test.
33277         (parse_args): Likewise.
33278         (generate_testfile): Pass only function name in generated call to
33279         print_max_error or print_complex_max_error.
33280         (get_ulps): Do not handle complex tests specially.
33281         (output_test): Rename to ...
33282         (get_all_ulps_for_test): ... this.  Return a string rather than
33283         printing to a file.  Require ulps to be present.
33284         (output_ulps): Generate arrays rather than #defines.
33285         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33286         (struct ulp_data): New type.
33287         (BUILD_COMPLEX_ULP): Remove macro.
33288         (compare_ulp_data): New function.
33289         (find_ulps): Likewise.
33290         (find_test_ulps): Likewise.
33291         (find_function_ulps): Likewise.
33292         (find_complex_function_ulps): Likewise.
33293         (print_max_error): Determine allowed ulps using
33294         find_function_ulps.
33295         (print_complex_max_error): Determine allowed ulps using
33296         find_complex_function_ulps.
33297         (check_float_internal): Determine max ulps using find_test_ulps.
33298         (check_float): Do not take max_ulp parameter.  Update call to
33299         check_float_internal.
33300         (check_complex): Likewise.
33301         (check_int): Do not take max_ulp parameter.
33302         (check_long): Likewise.
33303         (check_bool): Likewise.
33304         (check_longlong): Likewise.
33305         (struct test_f_f_data): Remove max_ulp field.
33306         (struct test_ff_f_data): Likewise.
33307         (struct test_ff_f_data_nexttoward): Likewise.
33308         (struct test_fi_f_data): Likewise.
33309         (struct test_fl_f_data): Likewise.
33310         (struct test_if_f_data): Likewise.
33311         (struct test_fff_f_data): Likewise.
33312         (struct test_c_f_data): Likewise.
33313         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33314         (struct test_fF_f1_data): Likewise.
33315         (struct test_ffI_f1_data): Likewise.
33316         (struct test_c_c_data): Remove max_ulp field.
33317         (struct test_cc_c_data): Likewise.
33318         (struct test_f_i_data): Likewise.
33319         (struct test_ff_i_data): Likewise.
33320         (struct test_f_l_data): Likewise.
33321         (struct test_f_L_data): Likewise.
33322         (struct test_sincos_data): Likewise.
33323         (RUN_TEST_f_f): Do not handle ulps.
33324         (RUN_TEST_LOOP_f_f): Likewise.
33325         (RUN_TEST_2_f): Likewise.
33326         (RUN_TEST_LOOP_2_f): Likewise.
33327         (RUN_TEST_fff_f): Likewise.
33328         (RUN_TEST_LOOP_fff_f): Likewise.
33329         (RUN_TEST_c_f): Likewise.
33330         (RUN_TEST_LOOP_c_f): Likewise.
33331         (RUN_TEST_f_f1): Likewise.
33332         (RUN_TEST_LOOP_f_f1): Likewise.
33333         (RUN_TEST_fF_f1): Likewise.
33334         (RUN_TEST_LOOP_fF_f1): Likewise.
33335         (RUN_TEST_fI_f1): Likewise.
33336         (RUN_TEST_LOOP_fI_f1): Likewise.
33337         (RUN_TEST_ffI_f1): Likewise.
33338         (RUN_TEST_LOOP_ffI_f1): Likewise.
33339         (RUN_TEST_c_c): Likewise.
33340         (RUN_TEST_LOOP_c_c): Likewise.
33341         (RUN_TEST_cc_c): Likewise.
33342         (RUN_TEST_LOOP_cc_c): Likewise.
33343         (RUN_TEST_f_i): Likewise.
33344         (RUN_TEST_LOOP_f_i): Likewise.
33345         (RUN_TEST_f_i_tg): Likewise.
33346         (RUN_TEST_LOOP_f_i_tg): Likewise.
33347         (RUN_TEST_ff_i_tg): Likewise.
33348         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33349         (RUN_TEST_f_b): Likewise.
33350         (RUN_TEST_LOOP_f_b): Likewise.
33351         (RUN_TEST_f_b_tg): Likewise.
33352         (RUN_TEST_LOOP_f_b_tg): Likewise.
33353         (RUN_TEST_f_l): Likewise.
33354         (RUN_TEST_LOOP_f_l): Likewise.
33355         (RUN_TEST_f_L): Likewise.
33356         (RUN_TEST_LOOP_f_L): Likewise.
33357         (RUN_TEST_sincos): Likewise.
33358         (RUN_TEST_LOOP_sincos): Likewise.
33360 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
33362         [BZ #15480]
33363         [BZ #15485]
33364         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
33365         main case of finite arguments, set rounding mode to FE_TONEAREST
33366         and discard exceptions.
33367         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
33368         exceptions.
33369         (remainder_tonearest_test_data): New variable.
33370         (remainder_test_tonearest): New function.
33371         (remainder_towardzero_test_data): New variable.
33372         (remainder_test_towardzero): New function.
33373         (remainder_downward_test_data): New variable.
33374         (remainder_test_downward): New function.
33375         (remainder_upward_test_data): New variable.
33376         (remainder_test_upward): New function.
33377         (main): Call the new test functions.
33379         * math/libm-test.inc (struct test_f_f1_data): Remove field
33380         extra_init.
33381         (struct test_fF_f1_data): Likewise.
33382         (struct test_ffI_f1_data): Likewise.
33383         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
33384         based on value of EXTRA_EXPECTED.
33385         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33386         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
33387         EXTRA_VAR based on value of EXTRA_EXPECTED.
33388         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33389         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
33390         EXTRA_VAR based on value of EXTRA_EXPECTED.
33391         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33392         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
33393         EXTRA_VAR based on value of EXTRA_EXPECTED.
33394         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33395         * math/gen-libm-test.pl (parse_args): Don't output initializers
33396         for extra output values.
33398         * math/libm-test.inc (check_int): Expect result to be exactly
33399         equal to expected value and do not handle ulps.
33400         (check_long): Likewise.
33401         (check_longlong): Likewise.
33403         * math/libm-test.inc (ceil_test_data): Test for "inexact"
33404         exceptions.
33405         (cimag_test_data): Likewise.
33406         (conj_test_data): Likewise.
33407         (copysign_test_data): Likewise.
33408         (cproj_test_data): Likewise.
33409         (creal_test_data): Likewise.
33410         (fabs_test_data): Likewise.
33411         (fdim_test_data): Likewise.
33412         (finite_test_data): Likewise.
33413         (floor_test_data): Likewise.
33414         (fmax_test_data): Likewise.
33415         (fmin_test_data): Likewise.
33416         (fmod_test_data): Likewise.
33417         (fpclassify_test_data): Likewise.
33418         (frexp_test_data): Likewise.
33419         (ilogb_test_data): Likewise.
33420         (isfinite_test_data): Likewise.
33421         (isgreater_test_data): Likewise.
33422         (isgreaterequal_test_data): Likewise.
33423         (isinf_test_data): Likewise.
33424         (isless_test_data): Likewise.
33425         (islessequal_test_data): Likewise.
33426         (islessgreater_test_data): Likewise.
33427         (isnan_test_data): Likewise.
33428         (isnormal_test_data): Likewise.
33429         (issignaling_test_data): Likewise.
33430         (isunordered_test_data): Likewise.
33431         (ldexp_test_data): Likewise.
33432         (lrint_test_data): Likewise.
33433         (lrint_test_data) [TEST_FLOAT]: Disable one test.
33434         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33435         (lrint_tonearest_test_data): Test for "inexact" exceptions.
33436         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33437         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33438         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33439         test input.
33440         (lrint_towardzero_test_data): Test for "inexact" exceptions.
33441         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33442         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33443         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33444         that test input.
33445         (lrint_downward_test_data): Test for "inexact" exceptions.
33446         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33447         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33448         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33449         test input.
33450         (lrint_upward_test_data): Test for "inexact" exceptions.
33451         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33452         test input.
33453         (llrint_test_data): Test for "inexact" exceptions.
33454         (llrint_test_data) [TEST_FLOAT]: Disable one test.
33455         (llrint_tonearest_test_data): Test for "inexact" exceptions.
33456         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33457         (llrint_towardzero_test_data): Test for "inexact" exceptions.
33458         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33459         (llrint_downward_test_data): Test for "inexact" exceptions.
33460         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33461         (llrint_upward_test_data): Test for "inexact" exceptions.
33462         (logb_test_data): Likewise.
33463         (logb_downward_test_data): Likewise.
33464         (nextafter_test_data): Likewise.
33465         (nexttoward_test_data): Likewise.
33466         (remainder_test_data): Likewise.
33467         (remquo_test_data): Likewise.
33468         (scalbn_test_data): Likewise.
33469         (scalbln_test_data): Likewise.
33470         (signbit_test_data): Likewise.
33471         (sqrt_test_data): Likewise.
33472         (significand_test_data): Likewise.
33474 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33476         [BZ #15424]
33477         * benchtests/bench-modf.c (struct args): Mark arg0 as
33478         volatile.
33479         * scripts/bench.pl: Mark members of struct args as volatile.
33481 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33483         [BZ # 15497]
33484         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33485         negative infinity on POWER6 or lower.
33486         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33488 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33490         [BZ #15442]
33491         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33492         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33493         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33494         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33495         (_FP_SETQNAN): New macro.
33496         (_FP_SETQNAN_SEMIRAW): Likewise.
33497         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33498         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33499         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33500         (FP_EXTEND): Use _FP_FRAC_SNANP.
33501         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33502         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33503         into account.
33504         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33505         New macro.
33506         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33507         Likewise.
33509 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33511         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33512         with DIVIDE_BY_ZERO_EXCEPTION.
33513         (gamma_test_data): Likewise.
33514         (lgamma_test_data): Likewise.
33515         (log_test_data): Likewise.
33516         (log10_test_data): Likewise.
33517         (log2_test_data): Likewise.
33518         (tgamma_test_data): Likewise.
33520         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33521         (acos_test_tonearest): Likewise.
33522         (acos_test_towardzero): Likewise.
33523         (acos_test_downward): Likewise.
33524         (acos_test_upward): Likewise.
33525         (acosh_test): Likewise.
33526         (asin_test): Likewise.
33527         (asin_test_tonearest): Likewise.
33528         (asin_test_towardzero): Likewise.
33529         (asin_test_downward): Likewise.
33530         (asin_test_upward): Likewise.
33531         (asinh_test): Likewise.
33532         (atan_test): Likewise.
33533         (atanh_test): Likewise.
33534         (atan2_test): Likewise.
33535         (cabs_test): Likewise.
33536         (cacos_test): Likewise.
33537         (cacosh_test): Likewise.
33538         (casin_test): Likewise.
33539         (casinh_test): Likewise.
33540         (catan_test): Likewise.
33541         (catanh_test): Likewise.
33542         (cbrt_test): Likewise.
33543         (ccos_test): Likewise.
33544         (ccosh_test): Likewise.
33545         (cexp_test): Likewise.
33546         (clog_test): Likewise.
33547         (clog10_test): Likewise.
33548         (cos_test): Likewise.
33549         (cos_test_tonearest): Likewise.
33550         (cos_test_towardzero): Likewise.
33551         (cos_test_downward): Likewise.
33552         (cos_test_upward): Likewise.
33553         (cosh_test): Likewise.
33554         (cosh_test_tonearest): Likewise.
33555         (cosh_test_towardzero): Likewise.
33556         (cosh_test_downward): Likewise.
33557         (cosh_test_upward): Likewise.
33558         (cpow_test): Likewise.
33559         (csin_test): Likewise.
33560         (csinh_test): Likewise.
33561         (csqrt_test): Likewise.
33562         (ctan_test): Likewise.
33563         (ctan_test_tonearest): Likewise.
33564         (ctan_test_towardzero): Likewise.
33565         (ctan_test_downward): Likewise.
33566         (ctan_test_upward): Likewise.
33567         (ctanh_test): Likewise.
33568         (ctanh_test_tonearest): Likewise.
33569         (ctanh_test_towardzero): Likewise.
33570         (ctanh_test_downward): Likewise.
33571         (ctanh_test_upward): Likewise.
33572         (erf_test): Likewise.
33573         (erfc_test): Likewise.
33574         (exp_test): Likewise.
33575         (exp_test_tonearest): Likewise.
33576         (exp_test_towardzero): Likewise.
33577         (exp_test_downward): Likewise.
33578         (exp_test_upward): Likewise.
33579         (exp10_test): Likewise.
33580         (exp2_test): Likewise.
33581         (expm1_test): Likewise.
33582         (fmod_test): Likewise.
33583         (gamma_test): Likewise.
33584         (hypot_test): Likewise.
33585         (j0_test): Likewise.
33586         (j1_test): Likewise.
33587         (jn_test): Likewise.
33588         (lgamma_test): Likewise.
33589         (log_test): Likewise.
33590         (log10_test): Likewise.
33591         (log1p_test): Likewise.
33592         (log2_test): Likewise.
33593         (logb_test_downward): Likewise.
33594         (pow_test): Likewise.
33595         (pow_test_tonearest): Likewise.
33596         (pow_test_towardzero): Likewise.
33597         (pow_test_downward): Likewise.
33598         (pow_test_upward): Likewise.
33599         (remainder_test): Likewise.
33600         (remquo_test): Likewise.
33601         (sin_test): Likewise.
33602         (sin_test_tonearest): Likewise.
33603         (sin_test_towardzero): Likewise.
33604         (sin_test_downward): Likewise.
33605         (sin_test_upward): Likewise.
33606         (sincos_test): Likewise.
33607         (sinh_test): Likewise.
33608         (sinh_test_tonearest): Likewise.
33609         (sinh_test_towardzero): Likewise.
33610         (sinh_test_downward): Likewise.
33611         (sinh_test_upward): Likewise.
33612         (sqrt_test): Likewise.
33613         (tan_test): Likewise.
33614         (tan_test_tonearest): Likewise.
33615         (tan_test_towardzero): Likewise.
33616         (tan_test_downward): Likewise.
33617         (tan_test_upward): Likewise.
33618         (tanh_test): Likewise.
33619         (tgamma_test): Likewise.
33620         (y0_test): Likewise.
33621         (y1_test): Likewise.
33622         (yn_test): Likewise.
33624         * math/gen-libm-test.pl (adjust_arg): Remove function.
33625         (special_function): Remove argument $in_func.  Only handle
33626         generating output for tables of tests, not inside functions.
33627         (parse_args): Likewise.
33628         (generate_testfile): Remove variable $in_func.  Update call to
33629         parse_args.
33630         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33631         (MINUS_ZERO_INIT): Rename macro to minus_zero.
33632         (PLUS_INFTY_INIT): Rename macro to plus_infty.
33633         (MINUS_INFTY_INIT): Rename macro to minus_infty.
33634         (QNAN_VALUE_INIT): Rename macro to qnan_value.
33635         (MAX_VALUE_INIT): Rename macro to max_value.
33636         (MIN_VALUE_INIT): Rename macro to min_value.
33637         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33638         (plus_zero): Remove variable.
33639         (minus_zero): Likewise.
33640         (plus_infty): Likewise.
33641         (minus_infty): Likewise.
33642         (qnan_value): Likewise.
33643         (max_value): Likewise.
33644         (min_value): Likewise.
33645         (min_subnorm_value): Likewise.
33647 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33649         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33650         uint64_t or uint32_t usage.
33651         * crypt/sha256-block.c: Likewise.
33652         * crypt/sha256-crypt.c: Likewise.
33653         * crypt/sha256.c: Likewise.
33654         * crypt/sha512-block.c: Likewise.
33655         * crypt/sha512-crypt.c: Likewise.
33656         * crypt/sha512.c: Likewise.
33657         * debug/backtrace-tst.c: Likewise.
33658         * debug/pcprofiledump.c: Likewise.
33659         * elf/cache.c: Likewise.
33660         * elf/dl-cache.c: Likewise.
33661         * elf/dl-misc.c: Likewise.
33662         * elf/dl-profile.c: Likewise.
33663         * elf/dl-support.c: Likewise.
33664         * elf/ldconfig.c: Likewise.
33665         * elf/sprof.c: Likewise.
33666         * iconv/dummy-repertoire.c: Likewise.
33667         * iconv/iconv_charmap.c: Likewise.
33668         * iconv/skeleton.c: Likewise.
33669         * iconvdata/8bit-generic.c: Likewise.
33670         * iconvdata/cp737.h: Likewise.
33671         * iconvdata/cp775.h: Likewise.
33672         * iconvdata/ibm1008.h: Likewise.
33673         * iconvdata/ibm1025.h: Likewise.
33674         * iconvdata/ibm1046.h: Likewise.
33675         * iconvdata/ibm1097.h: Likewise.
33676         * iconvdata/ibm1112.h: Likewise.
33677         * iconvdata/ibm1122.h: Likewise.
33678         * iconvdata/ibm1123.h: Likewise.
33679         * iconvdata/ibm1124.h: Likewise.
33680         * iconvdata/ibm1129.h: Likewise.
33681         * iconvdata/ibm1130.h: Likewise.
33682         * iconvdata/ibm1132.h: Likewise.
33683         * iconvdata/ibm1133.h: Likewise.
33684         * iconvdata/ibm1137.h: Likewise.
33685         * iconvdata/ibm1140.h: Likewise.
33686         * iconvdata/ibm1141.h: Likewise.
33687         * iconvdata/ibm1142.h: Likewise.
33688         * iconvdata/ibm1143.h: Likewise.
33689         * iconvdata/ibm1144.h: Likewise.
33690         * iconvdata/ibm1145.h: Likewise.
33691         * iconvdata/ibm1146.h: Likewise.
33692         * iconvdata/ibm1147.h: Likewise.
33693         * iconvdata/ibm1148.h: Likewise.
33694         * iconvdata/ibm1149.h: Likewise.
33695         * iconvdata/ibm1153.h: Likewise.
33696         * iconvdata/ibm1154.h: Likewise.
33697         * iconvdata/ibm1155.h: Likewise.
33698         * iconvdata/ibm1156.h: Likewise.
33699         * iconvdata/ibm1157.h: Likewise.
33700         * iconvdata/ibm1158.h: Likewise.
33701         * iconvdata/ibm1160.h: Likewise.
33702         * iconvdata/ibm1161.h: Likewise.
33703         * iconvdata/ibm1162.h: Likewise.
33704         * iconvdata/ibm1163.h: Likewise.
33705         * iconvdata/ibm1164.h: Likewise.
33706         * iconvdata/ibm1166.h: Likewise.
33707         * iconvdata/ibm1167.h: Likewise.
33708         * iconvdata/ibm12712.h: Likewise.
33709         * iconvdata/ibm1390.h: Likewise.
33710         * iconvdata/ibm1399.h: Likewise.
33711         * iconvdata/ibm16804.h: Likewise.
33712         * iconvdata/ibm4517.h: Likewise.
33713         * iconvdata/ibm4899.h: Likewise.
33714         * iconvdata/ibm4909.h: Likewise.
33715         * iconvdata/ibm4971.h: Likewise.
33716         * iconvdata/ibm5347.h: Likewise.
33717         * iconvdata/ibm803.h: Likewise.
33718         * iconvdata/ibm856.h: Likewise.
33719         * iconvdata/ibm901.h: Likewise.
33720         * iconvdata/ibm902.h: Likewise.
33721         * iconvdata/ibm9030.h: Likewise.
33722         * iconvdata/ibm9066.h: Likewise.
33723         * iconvdata/ibm921.h: Likewise.
33724         * iconvdata/ibm922.h: Likewise.
33725         * iconvdata/ibm9448.h: Likewise.
33726         * iconvdata/isiri-3342.h: Likewise.
33727         * iconvdata/jis0201.h: Likewise.
33728         * include/link.h: Likewise.
33729         * include/netdb.h: Likewise.
33730         * inet/check_native.c: Likewise.
33731         * inet/check_pf.c: Likewise.
33732         * inet/getipv4sourcefilter.c: Likewise.
33733         * inet/getnameinfo.c: Likewise.
33734         * inet/getsourcefilter.c: Likewise.
33735         * inet/htonl.c: Likewise.
33736         * inet/setipv4sourcefilter.c: Likewise.
33737         * inet/setsourcefilter.c: Likewise.
33738         * inet/test-inet6_opt.c: Likewise.
33739         * inet/tst-network.c: Likewise.
33740         * locale/C-collate.c: Likewise.
33741         * locale/C-ctype.c: Likewise.
33742         * locale/C-time.c: Likewise.
33743         * locale/C-translit.h: Likewise.
33744         * locale/loadarchive.c: Likewise.
33745         * locale/programs/3level.h: Likewise.
33746         * locale/programs/charmap.c: Likewise.
33747         * locale/programs/charmap.h: Likewise.
33748         * locale/programs/ld-address.c: Likewise.
33749         * locale/programs/ld-collate.c: Likewise.
33750         * locale/programs/ld-ctype.c: Likewise.
33751         * locale/programs/ld-identification.c: Likewise.
33752         * locale/programs/ld-measurement.c: Likewise.
33753         * locale/programs/ld-messages.c: Likewise.
33754         * locale/programs/ld-monetary.c: Likewise.
33755         * locale/programs/ld-name.c: Likewise.
33756         * locale/programs/ld-numeric.c: Likewise.
33757         * locale/programs/ld-paper.c: Likewise.
33758         * locale/programs/ld-telephone.c: Likewise.
33759         * locale/programs/ld-time.c: Likewise.
33760         * locale/programs/linereader.c: Likewise.
33761         * locale/programs/locale.c: Likewise.
33762         * locale/programs/locarchive.c: Likewise.
33763         * locale/programs/locfile.h: Likewise.
33764         * locale/programs/repertoire.c: Likewise.
33765         * locale/programs/simple-hash.c: Likewise.
33766         * locale/programs/simple-hash.h: Likewise.
33767         * malloc/memusage.c: Likewise.
33768         * malloc/memusagestat.c: Likewise.
33769         * nis/nis_defaults.c: Likewise.
33770         * nis/nis_hash.c: Likewise.
33771         * nis/nis_print.c: Likewise.
33772         * nis/nis_xdr.c: Likewise.
33773         * nscd/connections.c: Likewise.
33774         * nscd/hstcache.c: Likewise.
33775         * nscd/nscd_gethst_r.c: Likewise.
33776         * nscd/nscd_getserv_r.c: Likewise.
33777         * nscd/nscd_helper.c: Likewise.
33778         * nscd/servicescache.c: Likewise.
33779         * nss/makedb.c: Likewise.
33780         * nss/nss_db/db-XXX.c: Likewise.
33781         * nss/nss_db/db-initgroups.c: Likewise.
33782         * nss/nss_db/db-netgrp.c: Likewise.
33783         * nss/nss_files/files-network.c: Likewise.
33784         * nss/nss_files/files-parse.c: Likewise.
33785         * posix/bug-regex5.c: Likewise.
33786         * posix/fnmatch_loop.c: Likewise.
33787         * posix/regcomp.c: Likewise.
33788         * posix/regexec.c: Likewise.
33789         * posix/tst-rfc3484-2.c: Likewise.
33790         * posix/tst-rfc3484-3.c: Likewise.
33791         * posix/tst-rfc3484.c: Likewise.
33792         * resolv/nss_dns/dns-canon.c: Likewise.
33793         * resolv/nss_dns/dns-network.c: Likewise.
33794         * resolv/res_init.c: Likewise.
33795         * resolv/res_mkquery.c: Likewise.
33796         * resolv/tst-aton.c: Likewise.
33797         * stdlib/cxa_atexit.c: Likewise.
33798         * stdlib/cxa_finalize.c: Likewise.
33799         * stdlib/gen-fpioconst.c: Likewise.
33800         * stdlib/strtol_l.c: Likewise.
33801         * string/tst-endian.c: Likewise.
33802         * sunrpc/auth_des.c: Likewise.
33803         * sunrpc/clnt_udp.c: Likewise.
33804         * sunrpc/rtime.c: Likewise.
33805         * sunrpc/svcauth_des.c: Likewise.
33806         * sunrpc/xdr.c: Likewise.
33807         * sunrpc/xdr_intXX_t.c: Likewise.
33808         * sunrpc/xdr_rec.c: Likewise.
33809         * sysdeps/generic/ldconfig.h: Likewise.
33810         * sysdeps/generic/ldsodefs.h: Likewise.
33811         * sysdeps/generic/memusage.h: Likewise.
33812         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33813         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33814         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33815         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33816         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33817         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33818         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33819         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33820         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33821         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33822         * sysdeps/posix/getaddrinfo.c: Likewise.
33823         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33824         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33825         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33826         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33827         * sysdeps/powerpc/test-gettimebase.c: Likewise.
33828         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33829         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33830         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33831         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33832         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33833         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33834         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33835         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33836         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33837         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33838         * sysdeps/x86_64/dl-tls.h: Likewise.
33839         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33840         * time/alt_digit.c: Likewise.
33841         * time/era.c: Likewise.
33842         * wcsmbs/tst-c16c32-1.c: Likewise.
33844 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33846         * math/libm-test.inc (struct test_sincos_data): New type.
33847         (RUN_TEST_LOOP_sincos): New macro.
33848         (sincos_test_data): New variable.
33849         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33851 2013-05-16  Richard Henderson  <rth@redhat.com>
33853         * math/atest-exp2.c (LIMB64): New macro.
33854         (CONSTSZ): New macro.
33855         (mp_exp1, mp_exp_m1, mp_log2): New variables.
33856         (hexdig): Move ...
33857         (print_mpn_fp): ... to function scope.
33858         (read_mpn_hex): Remove.
33859         (get_log2): Remove.
33860         (exp2_mpn): Use mp_log2.
33861         (main): Use mp_exp1.
33863 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33865         * math/libm-test.inc: Remove comment about not testing "inexact"
33866         exceptions.
33867         (INEXACT_EXCEPTION): New macro.
33868         (NO_INEXACT_EXCEPTION): Likewise.
33869         (INVALID_EXCEPTION_OK): Update value.
33870         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33871         (OVERFLOW_EXCEPTION_OK): Likewise.
33872         (UNDERFLOW_EXCEPTION_OK): Likewise.
33873         (IGNORE_ZERO_INF_SIGN): Likewise.
33874         (ERRNO_UNCHANGED): Likewise.
33875         (ERRNO_EDOM): Likewise.
33876         (ERRNO_ERANGE): Likewise.
33877         (test_exceptions): Handle testing "inexact" exceptions.
33878         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33879         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33880         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33881         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33882         INEXACT_EXCEPTION.
33883         (rint_towardzero_test_data): Likewise.
33884         (rint_downward_test_data): Likewise.
33885         (rint_upward_test_data): Likewise.
33887         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33888         with OVERFLOW_EXCEPTION.
33889         (exp10_test_data): Likewise.
33890         (exp2_test_data): Likewise.
33891         (expm1_test_data): Likewise.
33892         (lgamma_test_data): Likewise.
33893         (pow_test_data): Likewise.
33894         (tgamma_test_data): Likewise.
33895         (yn_test_data): Remove duplicate test of overflow.
33897         * math/libm-test.inc (struct test_cc_c_data): New type.
33898         (RUN_TEST_LOOP_cc_c): New macro.
33899         (cpow_test_data): New variable.
33900         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33902         * math/libm-test.inc (struct test_f_L_data): New type.
33903         (RUN_TEST_LOOP_f_L): New macro.
33904         (llrint_test_data): New variable.
33905         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33906         (llrint_tonearest_test_data): New variable.
33907         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33908         (llrint_towardzero_test_data): New variable.
33909         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33910         (llrint_downward_test_data): New variable.
33911         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33912         (llrint_upward_test_data): New variable.
33913         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33914         (llround_test_data): New variable.
33915         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33917 2013-05-13  Peter Collingbourne  <pcc@google.com>
33919         * math/atest-exp2.c (get_log2): Remove const attribute.
33921 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33923         * math/libm-test.inc (struct test_f_l_data): New type.
33924         (RUN_TEST_LOOP_f_l): New macro.
33925         (lrint_test_data): New variable.
33926         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33927         (lrint_tonearest_test_data): New variable.
33928         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33929         (lrint_towardzero_test_data): New variable.
33930         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33931         (lrint_downward_test_data): New variable.
33932         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33933         (lrint_upward_test_data): New variable.
33934         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33935         (lround_test_data): New variable.
33936         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33938 2013-05-15  Peter Collingbourne  <pcc@google.com>
33940         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33941         (EXTRACT_WORDS64) Use where appropriate.
33942         (INSERT_WORDS64) Likewise.
33944         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33945         constraints with x constraints.
33946         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33948         * malloc/obstack.c (_obstack_compat): Add initializer.
33950 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33952         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33953         si_trapno and add si_addr_lsb to _sifields.sigfault.
33954         (si_trapno): Remove macro.
33955         (si_addr_lsb): Define new macro.
33956         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33958 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33960         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33961         instead of TEST_f_l.
33962         (llrint_test_tonearest): Likewise.
33963         (llrint_test_towardzero): Likewise.
33964         (llrint_test_downward): Likewise.
33965         (llrint_test_upward): Likewise.
33966         (llround_test): Likewise.
33968         * math/libm-test.inc (struct test_f_i_data): Add comment.
33969         (RUN_TEST_LOOP_f_b): New macro.
33970         (RUN_TEST_LOOP_f_b_tg): Likewise.
33971         (finite_test_data): New variable.
33972         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33973         (isfinite_test_data): New variable.
33974         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33975         (isinf_test_data): New variable.
33976         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33977         (isnan_test_data): New variable.
33978         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33979         (isnormal_test_data): New variable.
33980         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33981         (issignaling_test_data): New variable.
33982         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33983         (signbit_test_data): New variable.
33984         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33986         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33987         with INVALID_EXCEPTION.
33988         (acosh_test_data): Likewise.
33989         (asin_test_data): Likewise.
33990         (atanh_test_data): Likewise.
33991         (fmod_test_data): Likewise.
33992         (log_test_data): Likewise.
33993         (log10_test_data): Likewise.
33994         (log2_test_data): Likewise.
33995         (pow_test_data): Likewise.
33996         (sqrt_test_data): Likewise.
33997         (y0_test_data): Likewise.
33998         (y1_test_data): Likewise.
33999         (yn_test_data): Likewise.
34001         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34002         function contents.
34004         * math/libm-test.inc (struct test_ff_i_data): New type.
34005         (RUN_TEST_LOOP_ff_i_tg): New macro.
34006         (isgreater_test_data): New variable.
34007         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34008         (isgreaterequal_test_data): New variable.
34009         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34010         (isless_test_data): New variable.
34011         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34012         (islessequal_test_data): New variable.
34013         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34014         (islessgreater_test_data): New variable.
34015         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34016         (isunordered_test_data): New variable.
34017         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34019 2013-05-14  David S. Miller  <davem@davemloft.net>
34021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34023 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34025         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34027         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34028         extra_test to int.
34029         (struct test_f_i_data): Change type of max_ulp to int.
34031         * math/libm-test.inc (test_ffI_f1_data): New type.
34032         (RUN_TEST_LOOP_ffI_f1): New macro.
34033         (remquo_test_data): New variable.
34034         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34036         * setjmp/tst-setjmp-fp.c: New file.
34037         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34038         (link-libm): New variable.
34039         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34041         * math/libm-test.inc (struct test_f_i_data): New type.
34042         (RUN_TEST_LOOP_f_i): New macro.
34043         (RUN_TEST_LOOP_f_i_tg): Likewise.
34044         (fpclassify_test_data): New variable.
34045         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34046         (ilogb_test_data): New variable.
34047         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34049         * math/libm-test.inc (scalbln_test): Correct function name in END
34050         call.
34052         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34053         (RUN_TEST_LOOP_fI_f1): New macro.
34054         (frexp_test_data): New variable.
34055         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34057         * math/libm-test.inc (struct test_fF_f1_data): New type.
34058         (RUN_TEST_LOOP_fF_f1): New macro.
34059         (modf_test_data): New variable.
34060         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34062         * math/libm-test.inc (struct test_f_f1_data): New type.
34063         (RUN_TEST_LOOP_f_f1): New macro.
34064         (gamma_test_data): New variable.
34065         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34066         (lgamma_test_data): New variable.
34067         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34069 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34071         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34072         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34073         (main): Comment "tls" pseudo-hwcap.
34075 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34077         * math/libm-test.inc (struct test_fl_f_data): New type.
34078         (RUN_TEST_LOOP_fl_f): New variable.
34079         (scalbln_test_data): New variable.
34080         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34082         * math/libm-test.inc (struct test_fi_f_data): New type.
34083         (RUN_TEST_LOOP_fi_f): New macro.
34084         (ldexp_test_data): New variable.
34085         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34086         (scalbn_test_data): New variable.
34087         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34089         * math/libm-test.inc (struct test_c_f_data): New type.
34090         (RUN_TEST_LOOP_c_f): New macro.
34091         (cabs_test_data): New variable.
34092         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34093         (carg_test_data): New variable.
34094         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34095         (cimag_test_data): New variable.
34096         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34097         (creal_test_data): New variable.
34098         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34100         * math/libm-test.inc (struct test_if_f_data): New type.
34101         (RUN_TEST_LOOP_if_f): New macro.
34102         (jn_test_data): New variable.
34103         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34104         (yn_test_data): New variable.
34105         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34107         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34109 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34111         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34112         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34114 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34116         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34117         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34118         (bench-deps): Add bench-timing.h.
34119         * benchtests-bench-skeleton.c: Include bench-timing.h.
34120         (main): Use TIMING_* macros instead of clock_gettime.
34121         * benchtests/bench-timing.h: New file.
34123         [BZ #14582]
34124         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34125         Renamed from _LIB_VERSION.
34126         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34128 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34130         * math/libm-test.inc (struct test_fff_f_data): New type.
34131         (RUN_TEST_LOOP_fff_f): New macro.
34132         (fma_test_data): New variable.
34133         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34134         (fma_towardzero_test_data): New variable.
34135         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34136         (fma_downward_test_data): New variable.
34137         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34138         (fma_upward_test_data): New variable.
34139         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34141         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34142         (struct test_c_c_data): New type.
34143         (RUN_TEST_LOOP_c_c): New macro.
34144         (cacos_test_data): New variable.
34145         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34146         (cacosh_test_data): New variable.
34147         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34148         (casin_test_data): New variable.
34149         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34150         (casinh_test_data): New variable.
34151         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34152         (catan_test_data): New variable.
34153         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34154         (catanh_test_data): New variable.
34155         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34156         (ccos_test_data): New variable.
34157         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34158         (ccosh_test_data): New variable.
34159         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34160         (cexp_test_data): New variable.
34161         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34162         (clog_test_data): New variable.
34163         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34164         (clog10_test_data): New variable.
34165         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34166         (conj_test_data): New variable.
34167         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34168         (cproj_test_data): New variable.
34169         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34170         (csin_test_data): New variable.
34171         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34172         (csinh_test_data): New variable.
34173         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34174         (csqrt_test_data): New variable.
34175         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34176         (ctan_test_data): New variable.
34177         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34178         (ctan_tonearest_test_data): New variable.
34179         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34180         (ctan_towardzero_test_data): New variable.
34181         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34182         (ctan_downward_test_data): New variable.
34183         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34184         (ctan_upward_test_data): New variable.
34185         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34186         (ctanh_test_data): New variable.
34187         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34188         (ctanh_tonearest_test_data): New variable.
34189         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34190         (ctanh_towardzero_test_data): New variable.
34191         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34192         (ctanh_downward_test_data): New variable.
34193         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34194         (ctanh_upward_test_data): New variable.
34195         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34196         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34197         of BUILD_COMPLEX.
34199         * math/libm-test.inc (struct test_ff_f_data): New type.
34200         (struct test_ff_f_data_nexttoward): Likewise.
34201         (RUN_TEST_LOOP_2_f): New macro.
34202         (RUN_TEST_LOOP_ff_f): Likewise.
34203         (atan2_test_data): New variable.
34204         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34205         (copysign_test_data): New variable.
34206         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34207         (fdim_test_data): New variable.
34208         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34209         (fmax_test_data): New variable.
34210         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34211         (fmin_test_data): New variable.
34212         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34213         (fmod_test_data): New variable.
34214         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34215         (hypot_test_data): New variable.
34216         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34217         (nextafter_test_data): New variable.
34218         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34219         (nexttoward_test_data): New variable.
34220         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34221         (pow_test_data): New variable.
34222         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34223         (pow_tonearest_test_data): New variable.
34224         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34225         (pow_towardzero_test_data): New variable.
34226         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34227         (pow_downward_test_data): New variable.
34228         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34229         (pow_upward_test_data): New variable.
34230         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34231         (remainder_test_data): New variable.
34232         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34233         (scalb_test_data): New variable.
34234         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34235         * sysdeps/i386/fpu/libm-test-ulps: Update.
34237 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
34239         * math/libm-test.inc (fma_test): Use max_value instead of local
34240         variable fltmax.
34241         (nextafter_test): Likewise.
34243         * math/libm-test.inc (acos_towardzero_test_data): New variable.
34244         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34245         (acos_downward_test_data): New variable.
34246         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34247         (acos_upward_test_data): New variable.
34248         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34249         (acosh_test_data): New variable.
34250         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34251         (asin_test_data): New variable.
34252         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34253         (asin_tonearest_test_data): New variable.
34254         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34255         (asin_towardzero_test_data): New variable.
34256         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34257         (asin_downward_test_data): New variable.
34258         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34259         (asin_upward_test_data): New variable.
34260         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34261         (asinh_test_data): New variable.
34262         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34263         (atan_test_data): New variable.
34264         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34265         (atanh_test_data): New variable.
34266         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34267         (cbrt_test_data): New variable.
34268         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34269         (ceil_test_data): New variable.
34270         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34271         (cos_test_data): New variable.
34272         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34273         (cos_tonearest_test_data): New variable.
34274         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34275         (cos_towardzero_test_data): New variable.
34276         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34277         (cos_downward_test_data): New variable.
34278         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34279         (cos_upward_test_data): New variable.
34280         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34281         (cosh_test_data): New variable.
34282         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34283         (cosh_tonearest_test_data): New variable.
34284         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34285         (cosh_towardzero_test_data): New variable.
34286         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34287         (cosh_downward_test_data): New variable.
34288         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34289         (cosh_upward_test_data): New variable.
34290         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34291         (erf_test_data): New variable.
34292         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34293         (erfc_test_data): New variable.
34294         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34295         (exp_test_data): New variable.
34296         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34297         (exp_tonearest_test_data): New variable.
34298         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34299         (exp_towardzero_test_data): New variable.
34300         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34301         (exp_downward_test_data): New variable.
34302         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34303         (exp_upward_test_data): New variable.
34304         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34305         (exp10_test_data): New variable.
34306         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34307         (exp2_test_data): New variable.
34308         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34309         (expm1_test_data): New variable.
34310         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34311         (fabs_test_data): New variable.
34312         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34313         (floor_test_data): New variable.
34314         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34315         (j0_test_data): New variable.
34316         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34317         (j1_test_data): New variable.
34318         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
34319         (log_test_data): New variable.
34320         (log_test): Run tests with RUN_TEST_LOOP_f_f.
34321         (log10_test_data): New variable.
34322         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
34323         (log1p_test_data): New variable.
34324         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
34325         (log2_test_data): New variable.
34326         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
34327         (logb_test_data): New variable.
34328         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
34329         (logb_downward_test_data): New variable.
34330         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34331         (nearbyint_test_data): New variable.
34332         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
34333         (rint_test_data): New variable.
34334         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
34335         (rint_tonearest_test_data): New variable.
34336         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34337         (rint_towardzero_test_data): New variable.
34338         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34339         (rint_downward_test_data): New variable.
34340         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34341         (rint_upward_test_data): New variable.
34342         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34343         (round_test_data): New variable.
34344         (round_test): Run tests with RUN_TEST_LOOP_f_f.
34345         (sin_test_data): New variable.
34346         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
34347         (sin_tonearest_test_data): New variable.
34348         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34349         (sin_towardzero_test_data): New variable.
34350         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34351         (sin_downward_test_data): New variable.
34352         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34353         (sin_upward_test_data): New variable.
34354         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34355         (sinh_test_data): New variable.
34356         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
34357         (sinh_tonearest_test_data): New variable.
34358         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34359         (sinh_towardzero_test_data): New variable.
34360         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34361         (sinh_downward_test_data): New variable.
34362         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34363         (sinh_upward_test_data): New variable.
34364         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34365         (sqrt_test_data): New variable.
34366         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
34367         (tan_test_data): New variable.
34368         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
34369         (tan_tonearest_test_data): New variable.
34370         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34371         (tan_towardzero_test_data): New variable.
34372         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34373         (tan_downward_test_data): New variable.
34374         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34375         (tan_upward_test_data): New variable.
34376         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34377         (tanh_test_data): New variable.
34378         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
34379         (tgamma_test_data): New variable.
34380         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
34381         (trunc_test_data): New variable.
34382         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
34383         (y0_test_data): New variable.
34384         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34385         (y1_test_data): New variable.
34386         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34387         (significand_test_data): New variable.
34388         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34390 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
34392         [BZ #12387]
34393         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34395 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34397         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34399 2013-05-10  Andreas Jaeger  <aj@suse.de>
34401         [BZ #15448]
34402         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34403         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34405 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34407         * math/gen-libm-test.pl (adjust_arg): New function.
34408         (special_functions): Handle generating output in both functions
34409         and arrays.
34410         (parse_args): Likewise.
34411         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
34412         $in_func argument to parse_args.
34413         * math/libm-test.inc (struct test_f_f_data): New type.
34414         (IF_ROUND_INIT_): New macro.
34415         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34416         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34417         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34418         (IF_ROUND_INIT_FE_UPWARD): Likewise.
34419         (ROUND_RESTORE_): Likewise.
34420         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34421         (ROUND_RESTORE_FE_TONEAREST): Likewise.
34422         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34423         (ROUND_RESTORE_FE_UPWARD): Likewise.
34424         (RUN_TEST_LOOP_f_f): New macro.
34425         (acos_test_data): New variable.
34426         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34427         (acos_tonearest_test_data): New variable.
34428         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34430 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34432         * benchtests/bench-skeleton.c (startup): Fix coding style.
34434 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34436         [BZ #6809]
34437         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34438         negative infinity argument.
34439         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34440         negative infinity argument.
34441         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34442         negative infinity argument.
34443         * math/libm-test.inc (tgamma_test): Expect errno to be set for
34444         domain errors.
34446 2013-05-10  Florian Weimer  <fweimer@redhat.com>
34448         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34449         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34450         * iconv/iconv_prog.c (main): Likewise.
34451         * locale/programs/charmap-dir.c (charmap_readdir)
34452         (fopen_uncompressed): Likewise.
34453         * locale/programs/locfile.c (siblings_uncached)
34454         (write_locale_data): Use lstat64 instead of lstat.
34455         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34456         stat.
34458 2013-05-10  Andreas Jaeger  <aj@suse.de>
34460         [BZ #15395]
34461         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34462         localization.
34463         Include <locale.h>.
34465 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
34467         * elf/dl-close.c (_dl_close_worker): Add comments.
34469 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
34471         [BZ #15359]
34472         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34473         high part of pi/2.
34474         (__ieee754_rem_pio2l): Update comments.
34476         [BZ #15429]
34477         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34478         high part of pi/2.
34479         (__ieee754_rem_pio2l): Update comments.
34481         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34482         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34484         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34485         M_PI_4l.
34487         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34488         (M_PI_34_LOG10El): Likewise.
34489         (M_PI2_LOG10El): Likewise.
34490         (M_PI4_LOG10El): Likewise.
34491         (M_PI_LOG10El): Likewise.
34493 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34497 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
34499         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34500         (MINUS_ZERO_INIT): Likewise.
34501         (PLUS_INFTY_INIT): Likewise.
34502         (MINUS_INFTY_INIT): Likewise.
34503         (QNAN_VALUE_INIT): Likewise.
34504         (MAX_VALUE_INIT): Likewise.
34505         (MIN_VALUE_INIT): Likewise.
34506         (MIN_SUBNORM_VALUE_INIT): Likewise.
34507         (plus_zero): Initialize with PLUS_ZERO_INIT.
34508         (minus_zero): Initialize with MINUS_ZERO_INIT.
34509         (plus_infty): Initialize with PLUS_INFTY_INIT.
34510         (minus_infty): Initialize with MINUS_INFTY_INIT.
34511         (qnan_value): Initialize with QNAN_VALUE_INIT.
34512         (max_value): Initialize with MAX_VALUE_INIT.
34513         (min_value): Initialize with MIN_VALUE_INIT.
34514         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34516         * math/libm-test.inc (RUN_TEST_if_f): New macro.
34517         (jn_test): Use TEST_if_f instead of TEST_ff_f.
34518         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34519         (yn_test): Use TEST_if_f instead of TEST_ff_f.
34521         * math/libm-test.inc (RUN_TEST_f_f): New macro.
34522         (RUN_TEST_2_f): Likewise.
34523         (RUN_TEST_ff_f): Likewise.
34524         (RUN_TEST_fi_f): Likewise.
34525         (RUN_TEST_fl_f): Likewise.
34526         (RUN_TEST_fff_f): Likewise.
34527         (RUN_TEST_c_f): Likewise.
34528         (RUN_TEST_f_f1): Likewise.
34529         (RUN_TEST_fF_f1): Likewise.
34530         (RUN_TEST_fI_f1): Likewise.
34531         (RUN_TEST_ffI_f1): Likewise.
34532         (RUN_TEST_c_c): Likewise.
34533         (RUN_TEST_cc_c): Likewise.
34534         (RUN_TEST_f_i): Likewise.
34535         (RUN_TEST_f_i_tg): Likewise.
34536         (RUN_TEST_ff_i_tg): Likewise.
34537         (RUN_TEST_f_b): Likewise.
34538         (RUN_TEST_f_b_tg): Likewise.
34539         (RUN_TEST_f_l): Likewise.
34540         (RUN_TEST_f_L): Likewise.
34541         (RUN_TEST_sincos): Likewise.
34542         * math/gen-libm-test.pl (new_test): Take new argument to indicate
34543         whether to show exceptions.  Do not include ");\n" in return
34544         value.
34545         (special_functions): Output call to RUN_TEST_sincos instead of
34546         check_float calls.  Update calls to new_test.
34547         (parse_args): Output call to single RUN_TEST_* macro instead of
34548         check_* calls and other assignments.  Update calls to new_test.
34550         [BZ #2546]
34551         [BZ #2560]
34552         [BZ #5159]
34553         [BZ #15426]
34554         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34555         input to result for tgamma overflow.
34556         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34557         (gamma_coeff): New variable.
34558         (NCOEFF): New macro.
34559         (gamma_positive): New function.
34560         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34561         underflow here.  Use gamma_positive instead of exp (lgamma) for
34562         other arguments.
34563         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34564         (gamma_coeff): New variable.
34565         (NCOEFF): New macro.
34566         (gammaf_positive): New function.
34567         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34568         underflow here.  Use gamma_positive instead of exp (lgamma) for
34569         other arguments.
34570         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34571         (gamma_coeff): New variable.
34572         (NCOEFF): New macro.
34573         (gammal_positive): New function.
34574         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34575         underflow here.  Use gamma_positive instead of exp (lgamma) for
34576         other arguments.
34577         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34578         (gamma_coeff): New variable.
34579         (NCOEFF): New macro.
34580         (gammal_positive): New function.
34581         (__ieee754_gammal_r): Handle positive infinity, overflow and
34582         underflow here.  Handle NaN the same as positive infinity.  Remove
34583         check x < 0xffffffff for negative integers.  Use gamma_positive
34584         instead of exp (lgamma) for other arguments.
34585         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34586         (gamma_coeff): New variable.
34587         (NCOEFF): New macro.
34588         (gammal_positive): New function.
34589         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34590         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34591         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34592         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34593         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34594         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34595         * sysdeps/generic/math_private.h (__gamma_productf): New
34596         prototype.
34597         (__gamma_product): Likewise.
34598         (__gamma_productl): Likewise.
34599         * math/Makefile (libm-calls): Add gamma_product.
34600         * math/libm-test.inc (tgamma_test): Add more tests.
34601         * sysdeps/i386/fpu/libm-test-ulps: Update.
34602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34604 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
34606         * benchtests/bench-skeleton.c (main): Preheat CPU.
34608 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
34610         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34612 2013-05-07  Roland McGrath  <roland@hack.frob.com>
34614         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34615         and _dl_skip_args_internal.
34617 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
34619         * manual/message.texi (Message Translation): Talk about users.
34620         Message to key mapping impacts design.
34622 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34624         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34626         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34628         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34629         * sysdeps/wordsize-64/glob64.c: ... here.
34631         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34632         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34633         New macros.
34635         * debug/getlogin_r_chk.c: Moved to ...
34636         * login/getlogin_r_chk.c: ... here.
34637         * debug/Makefile (routines): Move getlogin_r_chk to ...
34638         * login/Makefile (routines): ... here.
34639         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34640         * login/Versions (libc: GLIBC_2.4): ... here.
34642         * io/poll.c (__poll): Renamed from poll.
34643         Add libc_hidden_def.
34644         (poll): Define as weak alias.
34646         * debug/ptsname_r_chk.c: Moved to ...
34647         * login/ptsname_r_chk.c: ... here.
34648         * debug/Makefile (routines): Move ptsname_r_chk to ...
34649         * login/Makefile (routines): ... here.
34650         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34651         * login/Versions (libc: GLIBC_2.4): ... here.
34653         * posix/getlogin.c: Moved to ...
34654         * login/getlogin.c: ... here.
34655         * posix/getlogin_r.c: Moved to ...
34656         * login/getlogin_r.c: ... here.
34657         * posix/getlogin_r.c: Moved to ...
34658         * login/getlogin_r.c: ... here.
34659         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34660         * login/Makefile (routines): ... here.
34661         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34662         * login/Versions (libc: GLIBC_2.0): ... here.
34664         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34665         (setrlimit): Define as weak alias.
34667         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34668         Call __ names for open, ftruncate, and close.
34669         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34670         (truncate): Define as weak alias.
34672 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
34674         * math/gen-libm-test.pl (parse_args): Initialize x before each
34675         test of frexp, modf and remquo.
34677         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34678         test signgam value.
34680 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34682         [BZ #15418]
34683         [BZ #15419]
34684         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34685         internal tests.
34686         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34688 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34690         * elf/dl-writev.h: New file.
34691         * elf/dl-misc.c: Include it.
34692         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34693         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34695 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
34697         * math/libm-test.inc (noXFails): Remove variable.
34698         (noXPasses): Likewise.
34699         (BUILD_COMPLEX_INT): Remove macro.
34700         (print_screen): Remove xfail argument.
34701         (print_screen_max_error): Likewise.
34702         (update_stats): Likewise.
34703         (print_max_error): Likewise.  Update calls to other affected
34704         functions.
34705         (print_complex_max_error): Likewise.
34706         (test_single_exception): Update calls to print_screen.
34707         (test_single_errno): Likewise.
34708         (check_float_internal): Remove xfail argument.  Update calls to
34709         other affected functions.
34710         (check_float): Likewise.
34711         (check_complex): Likewise.
34712         (check_int): Likewise.
34713         (check_long): Likewise.
34714         (check_bool): Likewise.
34715         (check_longlong): Likewise.
34716         (main): Don't print noXFails and noXPasses.
34717         * math/gen-libm-test.pl (top level): Don't mention expected
34718         failure handling in comment.
34719         (new_test): Don't handle expected failures.
34720         (parse_args): Don't mention expected failure handling in comment.
34721         (generate_testfile): Don't handle expected failures.
34722         (parse_ulps): Likewise.
34723         (print_ulps_file): Likewise.
34724         (get_failure): Remove function.
34725         (output_test): Don't handle expected failures.
34726         * make/README.libm-test: Don't mention expected failure handling.
34728         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
34729         (minus_zero): Likewise.
34730         (plus_infty): Likewise.
34731         (minus_infty): Likewise.
34732         (qnan_value): Likewise.
34733         (max_value): Likewise.
34734         (min_value): Likewise.
34735         (min_subnorm_value): Likewise.
34736         (initialize): Do not initialize those variables dynamically.
34738 2013-05-03  Roland McGrath  <roland@hack.frob.com>
34740         * io/open.c (__open_2): Moved to ...
34741         * io/open_2.c: ... this new file.
34742         * io/open64.c (__open64_2): Moved to ...
34743         * io/open64_2.c: ... this new file.
34744         * io/openat.c (__openat_2): Moved to ...
34745         * io/openat_2.c: ... this new file.
34746         * io/openat64.c (__openat64_2): Moved to ...
34747         * io/openat64_2.c: ... this new file.
34748         * io/Makefile (routines): Add them.
34749         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34750         * sysdeps/unix/sysv/linux/open_2.c: File removed.
34751         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34752         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34753         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34754         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34755         (__openat64): Add hidden_ver.
34756         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34757         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34759         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34760         Separately conditionalize setting of GLRO(dl_sysinfo) so
34761         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34762         as well, but the actual setting is only under [NEED_DL_SYSINFO].
34764 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34766         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34767         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34768         definition.
34769         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34770         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34771         (_libc_vdso_platform_setup): Add __vdso_time initialization.
34772         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34773         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34775 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
34777         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34778         test signgam value.
34780         * math/libm-test.inc (hypot_test): Do not use
34781         IGNORE_ZERO_INF_SIGN.
34783 2013-05-03  Andreas Jaeger  <aj@suse.de>
34785         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34786         Linux 3.9.
34787         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34788         (PF_MAX): Adjust for VSOCK change.
34790 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34794 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
34796         [BZ #15264]
34797         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34798         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34799         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34801 2013-05-02  David S. Miller  <davem@davemloft.net>
34803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34805 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
34807         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34809 2013-05-01  Roland McGrath  <roland@hack.frob.com>
34811         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34813 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
34815         [BZ #14952]
34816         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34817         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34818         Use __attribute__ ((__gnu_inline__)).
34819         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34820         Don't use __attribute__ ((__gnu_inline__)).
34822 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
34824         [BZ #15423]
34825         * math/s_catan.c (__catan): Handle small real or imaginary part of
34826         input specially to avoid spurious underflow.
34827         * math/s_catanf.c (__catanf): Likewise.
34828         * math/s_catanh.c (__catanh): Likewise.
34829         * math/s_catanhf.c (__catanhf): Likewise.
34830         * math/s_catanhl.c (__catanhl): Likewise.
34831         * math/s_catanl.c (__catanl): Likewise.
34832         * math/libm-test.inc (catan_test): Add more tests.
34833         (catanh_test): Likewise.
34834         * sysdeps/i386/fpu/libm-test-ulps: Update.
34835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34837 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34841 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
34843         [BZ #15416]
34844         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34845         accurately for denominator in atan2.
34846         * math/s_catanf.c (__catanf): Likewise.
34847         * math/s_catanh.c (__catanh): Likewise.
34848         * math/s_catanhf.c (__catanhf): Likewise.
34849         * math/s_catanhl.c (__catanhl): Likewise.
34850         * math/s_catanl.c (__catanl): Likewise.
34851         * math/libm-test.inc (catan_test): Add more tests.
34852         (catanh_test): Likewise.
34853         * sysdeps/i386/fpu/libm-test-ulps: Update.
34854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34856 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34858         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34860         * benchtests/Makefile (bench): Remove slow benchmarks.
34861         * benchtests/atan-inputs: Add slow benchmark inputs.
34862         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34863         (BENCH_FUNC): Accept variant offset.
34864         (VARIANT): Define.
34865         * benchtests/bench-skeleton.c (main): Run benchmark for each
34866         variant.
34867         * benchtests/cos-inputs: Add slow benchmark inputs.
34868         * benchtests/exp-inputs: Likewise.
34869         * benchtests/pow-inputs: Likewise.
34870         * benchtests/sin-inputs: Likewise.
34871         * benchtests/slowatan-inputs: Remove.
34872         * benchtests/slowatan.c: Remove.
34873         * benchtests/slowcos-inputs: Remove.
34874         * benchtests/slowcos.c: Remove.
34875         * benchtests/slowexp-inputs: Remove.
34876         * benchtests/slowexp.c: Remove.
34877         * benchtests/slowpow-inputs: Remove.
34878         * benchtests/slowpow.c: Remove.
34879         * benchtests/slowsin-inputs: Remove.
34880         * benchtests/slowsin.c: Remove.
34881         * benchtests/slowtan-inputs: Remove.
34882         * benchtests/slowtan.c: Remove.
34883         * benchtests/tan-inputs: Add slow benchmark inputs.
34884         * scripts/bench.pl: Parse comments and directives.
34886         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
34887         in CPPFLAGS.
34888         ($(objpfx)bench-%.c): Remove *-ITER.
34889         * benchtests/bench-modf.c: Remove definition of ITER.
34890         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34891         (main): Loop for DURATION seconds instead of fixed number of
34892         iterations.
34893         * scripts/bench.pl: Don't expect iterations in parameters.
34895 2013-04-29  Roland McGrath  <roland@hack.frob.com>
34897         * io/fchdir.c (__fchdir): Renamed from fchdir.
34898         (fchdir): Define as weak alias.
34900 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34902         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34903         (ERRNO_EDOM): Likewise.
34904         (ERRNO_ERANGE): Likewise.
34905         (noErrnoTests): New variable.
34906         (init_max_error): Set errno to 0.
34907         (test_single_errno): New function.
34908         (test_errno): Likewise.
34909         (check_float_internal): Call test_errno.  Set errno to 0.
34910         (check_complex): Refer to errno tests in comment.
34911         (check_int): Call test_errno.  Set errno to 0.
34912         (check_long): Likewise.
34913         (check_bool): Likewise.
34914         (check_longlong): Likewise.
34915         (cos_test): Use ERRNO_* flags for errno tests instead of
34916         check_int.
34917         (expm1_test): Likewise.
34918         (fmod_test): Likewise.
34919         (ilogb_test): Likewise.
34920         (lgamma_test): Likewise.
34921         (pow_test): Likewise.
34922         (remainder_test): Likewise.
34923         (sin_test): Likewise.
34924         (tan_test): Likewise.
34925         (yn_test): Likewise.
34926         (initialize): Set errno to 0.
34927         (main): Print number of errno tests.
34928         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34930 2013-04-29  Andreas Jaeger  <aj@suse.de>
34932         [BZ #15084]
34933         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34934         and RES_USEVC.
34936         [BZ #15085]
34937         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34938         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34939         unimplemented.
34941         [BZ #15380]
34942         * stdlib/random.c (__initstate): Return NULL if
34943         __initstate fails.
34945         [BZ #15086]
34946         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34947         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34948         RES_SNGLKUPREOP.
34950 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34954 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34956         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34957         of individual tests.
34958         (casin_test): Likewise.
34959         (casinh_test): Likewise.
34961 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
34963         [BZ #15409]
34964         * math/s_catan.c (__catan): Handle arguments with large real or
34965         imaginary part separately without squaring.
34966         * math/s_catanf.c (__catanf): Likewise.
34967         * math/s_catanh.c (__catanh): Likewise.
34968         * math/s_catanhf.c (__catanhf): Likewise.
34969         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34970         and redefine.
34971         (__catanhl): Handle arguments with large real or imaginary part
34972         separately without squaring.
34973         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34974         and redefine.
34975         (__catanl): Handle arguments with large real or imaginary part
34976         separately without squaring.
34977         * math/libm-test.inc (catan_test): Add more tests.
34978         (catanh_test): Likewise.
34979         * sysdeps/i386/fpu/libm-test-ulps: Update.
34980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34982 2013-04-27  Andreas Jaeger  <aj@suse.de>
34984         [BZ #15007]
34985         * stdlib/stdlib.h: Update guards for qecvt.
34986         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34987         <stdlib.h>.
34989 2013-04-27  Allan McRae  <allan@archlinux.org>
34991         * sysdeps/i386/fpu/libm-test-ulps: Update.
34993 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
34995         [BZ #15406]
34996         * math/s_catan.c: Include <float.h>.
34997         (__catan): Ensure underflow exception occurs for underflowed
34998         result.
34999         * math/s_catanf.c: Include <float.h>.
35000         (__catanf): Ensure underflow exception occurs for underflowed
35001         result.
35002         * math/s_catanh.c: Include <float.h>.
35003         (__catanh): Ensure underflow exception occurs for underflowed
35004         result.
35005         * math/s_catanhf.c: Include <float.h>.
35006         (__catanhf): Ensure underflow exception occurs for underflowed
35007         result.
35008         * math/s_catanhl.c: Include <float.h>.
35009         (__catanhl): Ensure underflow exception occurs for underflowed
35010         result.
35011         * math/s_catanl.c: Include <float.h>.
35012         (__catanl): Ensure underflow exception occurs for underflowed
35013         result.
35014         * math/libm-test.inc (catan_test): Add more tests.
35015         (catanh_test): Likewise.
35017         [BZ #15405]
35018         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35019         underflowed result.
35020         * math/s_ccoshf.c (__ccoshf): Likewise.
35021         * math/s_ccoshl.c (__ccoshl): Likewise.
35022         * math/s_csin.c (__csin): Likewise.
35023         * math/s_csinf.c (__csinf): Likewise.
35024         * math/s_csinh.c (__csinh): Likewise.
35025         * math/s_csinhf.c (__csinhf): Likewise.
35026         * math/s_csinhl.c (__csinhl): Likewise.
35027         * math/s_csinl.c (__csinl): Likewise.
35028         * math/libm-test.inc (ccos_test): Add more tests.
35029         (ccosh_test): Likewise.
35030         (csin_test): Likewise.
35031         (csinh_test): Likewise.
35033 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35035         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35036         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35037         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35038         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35039         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35040         powerpc/power5+/fpu folders.
35041         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35044 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35046         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35048 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35050         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35051         additions to variable.
35052         [$(config-machine) = x86_64] (modules-names): Likewise.
35053         ($(objpfx)tst-audit3): Remove dependency.
35054         ($(objpfx)tst-audit3.out): Likewise.
35055         ($(objpfx)tst-audit4): Likewise.
35056         ($(objpfx)tst-audit4.out): Likewise.
35057         ($(objpfx)tst-audit5): Likewise.
35058         ($(objpfx)tst-audit5.out): Likewise.
35059         ($(objpfx)tst-audit6): Likewise.
35060         ($(objpfx)tst-audit6.out): Likewise.
35061         ($(objpfx)tst-audit7): Likewise.
35062         ($(objpfx)tst-audit7.out): Likewise.
35063         (tst-audit3-ENV): Remove variable.
35064         (tst-audit4-ENV): Likewise.
35065         (tst-audit5-ENV): Likewise.
35066         (tst-audit6-ENV): Likewise.
35067         (tst-audit7-ENV): Likewise.
35068         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35069         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35070         addition to variable.
35071         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35072         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35073         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35074         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35075         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35076         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35077         tst-audit3, tst-audit4 and tst-audit5.
35078         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35079         tst-audit6 and tst-audit7.
35080         [$(subdir) = elf] (modules-names): Add audit modules for those
35081         tests.
35082         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35083         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35084         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35085         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35086         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35087         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35088         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35089         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35090         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35091         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35092         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35093         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35094         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35095         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35096         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35097         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35098         Likewise.
35099         [$(subdir) = elf && $(config-cflags-avx) = yes]
35100         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35101         [$(subdir) = elf && $(config-cflags-avx) = yes]
35102         (CFLAGS-tst-auditmod4a.c): Likewise.
35103         [$(subdir) = elf && $(config-cflags-avx) = yes]
35104         (CFLAGS-tst-auditmod4b.c): Likewise.
35105         [$(subdir) = elf && $(config-cflags-avx) = yes]
35106         (CFLAGS-tst-auditmod6b.c): Likewise.
35107         [$(subdir) = elf && $(config-cflags-avx) = yes]
35108         (CFLAGS-tst-auditmod6c.c): Likewise.
35109         [$(subdir) = elf && $(config-cflags-avx) = yes]
35110         (CFLAGS-tst-auditmod7b.c): Likewise.
35111         * elf/tst-audit3.c: Move to ...
35112         * sysdeps/x86_64/tst-audit3.c: ... here.
35113         * elf/tst-audit4.c: Move to ...
35114         * sysdeps/x86_64/tst-audit4.c: ... here.
35115         * elf/tst-audit5.c: Move to ...
35116         * sysdeps/x86_64/tst-audit5.c: ... here.
35117         * elf/tst-audit6.c: Move to ...
35118         * sysdeps/x86_64/tst-audit6.c: ... here.
35119         * elf/tst-audit7.c: Move to ...
35120         * sysdeps/x86_64/tst-audit7.c: ... here.
35121         * elf/tst-auditmod3a.c: Move to ...
35122         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35123         * elf/tst-auditmod3b.c: Move to ...
35124         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35125         * elf/tst-auditmod4a.c: Move to ...
35126         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35127         * elf/tst-auditmod4b.c: Move to ...
35128         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35129         * elf/tst-auditmod5a.c: Move to ...
35130         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35131         * elf/tst-auditmod5b.c: Move to ...
35132         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35133         * elf/tst-auditmod6a.c: Move to ...
35134         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35135         * elf/tst-auditmod6b.c: Move to ...
35136         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35137         * elf/tst-auditmod6c.c: Move to ...
35138         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35139         * elf/tst-auditmod7a.c: Move to ...
35140         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35141         * elf/tst-auditmod7b.c: Move to ...
35142         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35144 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35146         [BZ #15366]
35147         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35148         define unconditionally.
35149         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35150         define unconditionally.
35151         (INT8_C, INT16_C, etc.): Likewise.
35153 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35155         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35156         __ehdr_start with hidden visibility.
35158         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35160 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35162         * math/libm-test.inc (cos_test): Use accurate hex constants.
35163         (sincost_test): Likewise.
35165 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35167         * math/libm-test.inc (catan_test): Add more tests.
35168         (catanh_test): Likewise.
35170         * math/s_catanf.c (__catanf): Use suffixed floating-point
35171         constants.
35172         * math/s_catanhf.c (__catanhf): Likewise.
35173         * math/s_catanhl.c (__catanhl): Likewise.
35174         * math/s_catanl.c (__catanl): Likewise.
35176         [BZ #15394]
35177         * math/s_catan.c (__catan): Calculate imaginary part of result
35178         with log1p not log unless computing log of number close to 0.
35179         * math/s_catanf.c (__catanf): Likewise.
35180         * math/s_catanl.c (__catanl): Likewise.
35181         * math/s_catanh.c (__catanh): Calculate real part of result with
35182         log1p not log unless computing log of number close to 0.
35183         * math/s_catanhf.c (__catanhf): Likewise.
35184         * math/s_catanhl.c (__catanhl): Likewise.
35185         * math/libm-test.inc (catan_test): Add more tests.
35186         (catanh_test): Likewise.
35187         * sysdeps/i386/fpu/libm-test-ulps: Update.
35188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35190 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35192         * benchtests/Makefile: Mention files in which fast and slow
35193         paths of math functions are implemented.
35195 2013-04-23  Roland McGrath  <roland@hack.frob.com>
35197         * sysdeps/posix/timespec_get.c: New file.
35199 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35201         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35202         POWER.
35203         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35204         for POWER.
35205         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35206         powerpc/power5/fpu folders.
35207         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35208         * benchtests/Makefile: Add modf testcase.
35209         * benchtests/bench-modf.c: New file: Benchmark test for mo
35211 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35213         [BZ #14888]
35214         * time/Makefile (tests): Add tst-strptime-whitespace.
35215         * time/strptime_l.c (get_number): Use ISSPACE.
35216         (__strptime_internal): Likewise.
35217         * time/tst-strptime-whitespace.c: New test case.
35219 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
35221         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35222         member.
35223         (_nss_files_init): Set it here.
35225 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
35227         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35228         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35229         unsigned.
35231 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
35233         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35235 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35237         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35238         size just once.
35240 2013-04-21  David S. Miller  <davem@davemloft.net>
35242         * po/ru.po: Update Russion translation from translation project.
35244 2013-04-17  Adam Conrad  <adconrad@0c3.net>
35246         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35247         and setfsgid.
35249 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
35251         * configure.in: Remove i386 configure warning. Remove i386 case.
35252         * configure: Regenerate.
35253         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35254         Add example to error message.
35255         * sysdeps/i386/configure: Regenerate.
35257 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35259         * benchtests/Makefile (bench): Add cos, tan, slowcos and
35260         slowtan.
35261         * benchtests/cos-inputs: New file.
35262         * benchtests/slowcos-inputs: New file.
35263         * benchtests/slowcos.c: New file.
35264         * benchtests/slowtan-inputs: New file.
35265         * benchtests/slowtan.c: New file.
35266         * benchtests/tan-inputs: New file.
35268 2013-04-16  Roland McGrath  <roland@hack.frob.com>
35270         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35271         considered kosher.
35273 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35275         * benchtests/Makefile: Include cppflags-iterator.mk to add
35276         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35278         * Makefile.in (bench-clean): New target.
35279         * benchtests/Makefile (bench-clean): Likewise.
35281 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
35283         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35285 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
35287         * stdio-common/tstdiomisc.c: Fix coding-style violation.
35289 2013-04-15  Andreas Schwab  <schwab@suse.de>
35291         * nscd/grpcache.c (cache_addgr): Properly check for short write.
35292         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35293         * nscd/pwdcache.c (cache_addpw): Likewise.
35294         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
35295         more than recsize.
35297 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35299         * benchtests/Makefile (bench): Write all output to
35300         bench-out.tmp together.
35302 2013-04-15  Andreas Schwab  <schwab@suse.de>
35304         * nscd/nscd.c (main): Don't fork again after closing files.
35306 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35308         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35310         * benchtests/Rules (bench-deps): Collect dependencies into a
35311         single variable.  Add Makefile to dependencies.
35312         ($(objpfx)bench-%.c): Depend on bench-deps.
35314 2013-04-12  Roland McGrath  <roland@hack.frob.com>
35315             Xavier Roche  <roche+kml2@exalead.com>
35317         [BZ #15361]
35318         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
35319         just that it's a file descriptor.
35320         * manual/llio.texi (Synchronizing AIO Operations): Update description
35321         for EBADF error from aio_fsync.
35323 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35325         * Rules (bench): Move target definition...
35326         * benchtests/Makefile: ... here.
35328 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
35330         * math/libm-test.inc (cos_test): Fix PI/2 test.
35331         (sincos_test): Likewise.
35332         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35333         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
35335 2013-04-11  Andreas Schwab  <schwab@suse.de>
35337         [BZ #13988]
35338         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
35339         accept exponent character only when digits were seen.
35340         * stdio-common/Makefile (tests): Add bug26.
35341         * stdio-common/bug26.c: New file.
35343         [BZ #14293]
35344         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
35345         non-freeable.
35347 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35349         * Makeconfig (rtld-prefix): Define built linker prefix.
35350         * Rules (run-bench): Use it.
35351         * math/Makefile (run-regen-ulps): Likewise.
35353         * Rules (bench): Remove eval.
35355 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35356             Roland McGrath  <roland@hack.frob.com>
35357             Ondrej Bilka  <neleai@seznam.cz>
35359         [BZ #15346]
35360         * time/getdate.c: Include ctype.h and alloca.h.
35361         (__getdate_r): Trim leading and trailing spaces of input.
35362         * time/tst-getdate.c (tests): Add tests with leading and
35363         trailing spaces.
35365 2013-04-08  Roland McGrath  <roland@hack.frob.com>
35367         [BZ #14280]
35368         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
35369         when computing value.
35371 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35373         * math/README.libm-test (How can I generate "libm-test-ulps"?):
35374         Use testrun.sh to run libm tests.
35376         [BZ #15309]
35377         * elf/dl-open.c (dl_open_worker): memset all of seen array.
35379 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
35381         [BZ #15264]
35382         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
35384 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35386         * Makefile.in (regen-ulps): New target.
35387         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35388         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35389         [ifneq (no,$(PERL)] (regen-ulps): New target.
35390         [ifeq (no,$(PERL)] (regen-ulps): New target.
35391         * math/libm-test.inc (ulps_file_name): Define.
35392         (output_dir): New variable.
35393         (options): Add "output-dir" option.
35394         (parse_opt): Handle 'o' case.
35395         (main): If output_dir is non-NULL use it as a prefix
35396         otherwise use "".
35397         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35399 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35401         [BZ #10060, #10062]
35402         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35403         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35404         fail configure if __sync_val_compare_and_swap is not inlined.
35405         * sysdeps/i386/configure: Regenerate.
35406         * configure.in: Build for i686 when configured for i386.
35407         * configure: Regenerate.
35408         * README: Remove i386 reference.
35410 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35412         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35413         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35415 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35417         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35418         (lmsnanval): New variables.
35419         (F): Add conversion tests.
35420         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35421         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35423         * stdio-common/tstdiomisc.c (F): Properly collect individual
35424         tests' results.
35426         [BZ #14686, #15336]
35427         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35428         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35429         Instead, use input NaN values or generate a qNaN by arithmetic
35430         operation.  Also fix bugs to comply with the standard.
35431         * math/libm-test.inc (remainder_test): Add more tests.
35433         [BZ #15335, #15342]
35434         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35435         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35436         input NaN values or generate a qNaN by arithmetic operation.
35438         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35439         unreachable code.
35441         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35442         definitions.
35444 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
35446         [BZ #14478]
35447         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35448         underflowed result.
35449         * math/s_cexpf.c (__cexpf): Likewise.
35450         * math/s_cexpl.c (__cexpl): Likewise.
35451         * math/libm-test.inc (cexp_test): Add more tests.
35453 2013-04-03  Andreas Schwab  <schwab@suse.de>
35455         [BZ #15330]
35456         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35457         order arrays from heap if bigger than alloca cutoff.
35459 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
35461         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35462         (SNAN_TESTS_double): Refer to GCC PR56831.
35463         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35464         GCC PR56828.
35466 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35468         * Rules (bench): Move bench.out after the run is complete.
35470         * Rules (bench): Echo currently running benchmark.
35472         * benchtests/Makefile (bench): Add atan and slowatan.
35473         * benchtests/atan-inputs: New file.
35474         * benchtests/slowatan-inputs: New file.
35475         * benchtests/slowatan.c: New file.
35477         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35478         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35479         its value.
35481         [BZ #15305]
35482         * sysdeps/unix/sysv/linux/kernel-features.h
35483         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35484         __ASSUME_XFS_RESTRICTED_CHOWN.
35485         * sysdeps/unix/sysv/linux/pathconf.c
35486         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35487         Save and restore errno.
35489 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
35491         [BZ #15327]
35492         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35493         arguments using __kernel_casinh.
35494         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35495         arguments using __kernel_casinhf.
35496         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35497         arguments using __kernel_casinhl.
35498         * math/libm-test.inc (cacosh_test): Add more tests.
35499         * sysdeps/i386/fpu/libm-test-ulps: Update.
35500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35502 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35504         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35505         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35507         * bench/Makefile (bench): Add sin and slowsin.
35508         * benchtests/sin-inputs: New file.
35509         * benchtests/slowsin-inputs: New file.
35510         * benchtests/slowsin.c: New file.
35512         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35513         (bench): Add slowexp and slowpow.
35514         (exp-ITER): Increase iterations.
35515         (pow-ITER): Likewise.
35516         * benchtests/exp-inputs: Change input.
35517         * benchtests/pow-inputs: Likewise.
35518         * benchtests/slowexp-inputs: New file.
35519         * benchtests/slowexp.c: New file.
35520         * benchtests/slowpow-inputs: New file.
35521         * benchtests/slowpow.c: New file.
35523 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35525         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35526         instructions.
35527         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35528         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35529         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35530         * benchtests/Makefile: Add rint benchtest.
35531         * benchtests/rint-inputs: Input for rint benchtest.
35533 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35535         * Versions.def (libm): Add GLIBC_2.18.
35536         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35537         hidden libm prototypes.
35538         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35539         * math/Makefile (libm-calls): Add s_issignaling.
35540         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35541         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
35542         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35543         declaration.
35544         * math/math.h [__USE_GNU] (issignaling): New macro.
35545         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35546         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35547         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35548         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35549         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35550         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35551         * manual/arith.texi (issignaling): New section.
35552         * manual/libm-err-tab.pl (@all_functions): Update comment.
35553         * math/gen-libm-test.pl (parse_args): Apply special handling for
35554         issignaling.
35555         * math/libm-test.inc (print_float, issignaling_test): New
35556         functions.
35557         (check_float_internal): Add issignaling checks.
35558         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35559         default definition.
35560         * sysdeps/powerpc/math-tests.h: New file.
35561         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35562         tests.
35563         * math/test-snan.c (TEST_FUNC): Likewise.
35565 2013-03-30  David S. Miller  <davem@davemloft.net>
35567         * po/de.po: Update from translation team.
35569 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
35571         [BZ #10357]
35572         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35573         imaginary part less than 1.0 and real part less than 0.5
35574         specially.
35575         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35576         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35577         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35578         (cacos_test): Add more tests.
35579         (casin_test): Likewise.
35580         (casinh_test): Likewise.
35581         * sysdeps/i386/fpu/libm-test-ulps: Update.
35582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35584 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35586         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35587         ONE with its value.
35589         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35590         (__pow_mp): Replace ONE and MONE with their values.
35591         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35592         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35593         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35594         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35595         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35596         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35598         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35600         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35601         (__pow_mp): Replace ZERO and MZERO with their values.
35602         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35603         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35604         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35605         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35606         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35607         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35608         (__sqr): Likewise.
35610         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35612         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35614 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35616         * include/stdlib.h [!SHARED] (__call_tls_dtors):
35617         Declare with __attribute__ ((weak)).
35618         * stdlib/exit.c (__libc_atexit) [!SHARED]:
35619         Call __call_tls_dtors only if it's not NULL.
35621 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35623         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35624         didn't do it already, then set _dl_phdr and _dl_phnum based on the
35625         magic __ehdr_start linker symbol if it's defined.
35626         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35627         them up here if it was already done.
35629         * elf/dl-support.c (_dl_phdr): Make pointer to const.
35630         (_dl_aux_init): Use const in cast when setting it.
35631         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35632         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35633         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35635         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35636         Declare them here.
35637         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35638         * csu/libc-tls.c: Nor here.
35639         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35641         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35642         (__libc_message): Never call vsyslog.
35644 2013-03-28  Alan Modra  <amodra@gmail.com>
35646         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35647         Define as empty.
35648         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35649         Likewise.
35651 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35653         [BZ #15214]
35654         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35655         underflow.
35656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35658 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35660         [BZ #15304]
35661         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35662         Don't add gid passed as argument.
35664         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35666 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
35668         [BZ #15307]
35669         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35670         imaginary part between 1.0 and 1.5 and real part less than 0.5
35671         specially.
35672         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35673         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35674         * math/libm-test.inc (cacos_test): Add more tests.
35675         (casin_test): Likewise.
35676         (casinh_test): Likewise.
35677         * sysdeps/i386/fpu/libm-test-ulps: Update.
35678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35680 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35682         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35683         constants.
35684         (norm): Likewise.
35685         (denorm): Likewise.
35686         (__dbl_mp): Likewise.
35687         (add_magnitudes): Likewise.
35688         (sub_magnitudes): Likewise.
35689         (__add): Likewise.
35690         (__sub): Likewise.
35691         (__mul): Likewise.
35692         (__sqr): Likewise.
35693         (__inv): Likewise.
35694         (__dvd): Likewise.
35696         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35697         commented code.
35698         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35699         (__dubcos): Likewise.
35700         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35701         (__ieee754_acos): Likewise.
35702         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35703         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35704         (__exp1): Likewise.
35705         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35706         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35707         (log1): Likewise.
35708         (my_log2): Likewise.
35709         (checkint): Likewise.
35710         * sysdeps/ieee754/dbl-64/e_remainder.c
35711         (__ieee754_remainder): Likewise.
35712         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35713         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35714         (bsloww): Likewise.
35715         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35717         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35718         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35719         MANTISSA_STORE_T to store computations on mantissa.  Use
35720         macros for rounding and division.
35721         (denorm): Likewise.
35722         (__dbl_mp): Likewise.
35723         (add_magnitudes): Likewise.
35724         (sub_magnitudes): Likewise.
35725         (__mul): Likewise.
35726         (__sqr): Likewise.
35727         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35728         powers of two in terms of TWOPOW macro.
35729         (mp_no): Make type of mantissa as MANTISSA_T.
35730         [!RADIXI]: Define RADIXI.
35731         [!TWO52]: Define TWO52.
35732         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35734 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35736         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35737         llroundl symbol when building for PPC32.
35739 2013-03-24  Mark H Weaver  <mhw@netris.org>
35741         * manual/arith.texi (Normalization Functions): Fix prototypes for
35742         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35744 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35746         [BZ #13889]
35747         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35748         high value to check if expl overflow.
35749         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35750         to check for underflow and overflow.
35751         * math/libm-test.inc: Add exp test.
35753 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
35755         [BZ #11120]
35756         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35757         with NOT_IN_libc.
35759 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35761         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35762         symbol.
35764 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35766         * math/gen-libm-test.pl (parse_args, special_functions): Properly
35767         wrap blocks consisting of several statements.
35769         * sysdeps/generic/math-tests.h: New file.
35770         * sysdeps/i386/fpu/math-tests.h: Likewise.
35771         * math/test-snan.c: Include it.
35772         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35774 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35776         [BZ #15285]
35777         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35778         (__ieee754_j0l): Do not improve calculations using cos of twice
35779         input for inputs above LDBL_MAX / 2.0L.
35780         (__ieee754_y0l): Likewise.
35781         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35782         (__ieee754_j1l): Do not improve calculations using cos of twice
35783         input for inputs above LDBL_MAX / 2.0L.
35784         (__ieee754_y1l): Likewise.
35785         * math/libm-test.inc (j0_test): Add another test.
35786         (j1_test): Likewise.
35787         (y0_test): Likewise.
35788         (y1_test): Likewise.
35789         * sysdeps/i386/fpu/libm-test-ulps: Update.
35791 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35793         * Rules ($(objpfx)bench-%.c): Include code from a C source
35794         file.
35796 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35798         [BZ #15287]
35799         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35800         imaginary part 1.0 and real part less than 0.5 specially.
35801         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35802         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35803         * math/libm-test.inc (cacos_test): Add more tests.
35804         (casin_test): Likewise.
35805         (casinh_test): Likewise.
35806         * sysdeps/i386/fpu/libm-test-ulps: Update.
35807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35809 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35811         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35812         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35814 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
35816         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35817         * config.make.in (config-cflags-sse4): Remove variable.
35818         (config-cflags-avx): Likewise.
35819         (config-cflags-sse2avx): Likewise.
35820         (config-cflags-novzeroupper): Likewise.
35821         (config-asflags-i686): Likewise.
35822         (have-mfma4): Likewise.
35823         (have-as-vis3): Likewise.
35824         (MIG): Likewise.
35825         * configure.in (MIG): Do not AC_SUBST.
35826         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35827         (libc_cv_cc_sse4): Do not AC_SUBST.
35828         (libc_cv_cc_avx): Likewise.
35829         (libc_cv_cc_sse2avx): Likewise.
35830         (libc_cv_cc_novzeroupper): Likewise.
35831         (libc_cv_cc_fma4): Likewise.
35832         (libc_cv_as_i686): Likewise.
35833         (libc_cv_sparc_as_vis3): Likewise.
35834         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35835         LIBC_CONFIG_VAR.
35836         (config-asflags-i686): Likewise.
35837         (config-cflags-avx): Likewise.
35838         (config-cflags-sse2avx): Likewise.
35839         (have-mfma4): Likewise.
35840         (config-cflags-novzeroupper): Likewise.
35841         * sysdeps/mach/configure.in (MIG): Likewise.
35842         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35843         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35844         LIBC_CONFIG_VAR.
35845         (config-cflags-avx): Likewise.
35846         (config-cflags-sse2avx): Likewise.
35847         (have-mfma4): Likewise.
35848         (config-cflags-novzeroupper): Likewise.
35849         * configure: Regenerated.
35850         * sysdeps/i386/configure: Likewise.
35851         * sysdeps/mach/configure: Likewise.
35852         * sysdeps/sparc/configure: Likewise.
35853         * sysdeps/x86_64/configure: Likewise.
35855 2013-03-20  Roland McGrath  <roland@hack.frob.com>
35857         [BZ #14812]
35858         * locale/programs/localedef.c (options): Put N_ translation marker
35859         on argument names, not just descriptions.
35861 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35863         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35865 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
35867         [BZ #14176]
35868         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35870 2013-03-19  Roland McGrath  <roland@hack.frob.com>
35872         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35873         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35874         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35875         [!BEFORE_ABORT] (before_abort): New function.
35876         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35877         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35878         (writev_for_fatal): New function.
35879         (WRITEV_FOR_FATAL): New macro; call that.
35880         (backtrace_and_maps): New function.
35881         (BEFORE_ABORT): New macro; call that.
35882         (struct str_list): Type removed.
35883         (__libc_message, __libc_fatal): Functions removed.
35884         Include <sysdeps/posix/libc_fatal.c> instead.
35886 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
35888         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35889         constants.
35890         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35891         double constants.
35893 2013-03-19  Andreas Schwab  <schwab@suse.de>
35895         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35896         * sysdeps/gnu/configure: Regenerate.
35898         * configure.in: Substitute libc_cv_rtlddir.
35899         * configure: Regenerate.
35900         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35901         * Makeconfig (rtlddir, inst_rtlddir): New variables.
35902         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35903         * elf/Makefile (install-others, CFLAGS-interp.c)
35904         (ldso_install, common-ldd-rewrite): Likewise.
35905         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35906         $(inst_slibdir)/$(rtld-installed-name).
35907         * scripts/rellns-sh: Add -p option.
35908         * Makerules (make-shlib-link): Use rellns-sh to get relative name
35909         for source.
35911 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35913         * manual/nptl.texi: Renamed to ...
35914         * manual/threads.texi: ... this.
35915         * manual/Makefile (chapters): Update.
35917 2013-03-18  Roland McGrath  <roland@hack.frob.com>
35919         [BZ #14812]
35920         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35921         on argument names, not just descriptions.
35922         * malloc/memusagestat.c (options): Likewise.
35923         * nss/getent.c (options): Likewise.
35925 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
35927         [BZ #14812]
35928         * iconv/iconv_prog.c (options): Put N_ translation marker
35929         on argument names, not just descriptions.
35930         * iconv/iconvconfig.c (options): Likewise.
35932 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
35934         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35935         implementation which is faster on all x86_64 architectures.
35936         Tested on AMD, Intel Nehalem, SNB, IVB.
35937         * sysdeps/x86_64/strnlen.S: Likewise.
35939         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35940         Remove all multiarch strlen and strnlen versions.
35941         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35942         Remove strlen and strnlen related parts.
35944         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35945         Inline strlen part.
35946         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35948         * sysdeps/x86_64/multiarch/strlen.S: Remove.
35949         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35950         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35951         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35952         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35953         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35955 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
35957         * manual/memory.texi (Malloc Tunable Parameters):
35958         Sort parameters alphabetically. Add comments for missing entries.
35960 2013-03-17  David S. Miller  <davem@davemloft.net>
35962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35964 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
35966         [BZ #15283]
35967         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35968         for arguments at most half maximum finite value.
35969         * math/libm-test.inc (j0_test): Add more tests.
35970         (j1_test): Likewise.
35971         (y0_test): Likewise.
35972         (y1_test): Likewise.
35973         * sysdeps/i386/fpu/libm-test-ulps: Update.
35974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35976         [BZ #14155]
35977         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35978         1 / x and functions P and Q for arguments above 0x1p256L.
35979         (__ieee754_y0l): Likewise.
35980         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35981         (__ieee754_y1l): Likewise.
35982         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35983         (j1_test): Likewise.
35984         (y0_test): Likewise.
35985         (y1_test): Likewise.
35987 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
35989         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35990         variable.
35992 2013-03-15  Roland McGrath  <roland@hack.frob.com>
35994         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35995         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35996         zero since it's initialized to EXEC_PAGESIZE.
35998         * sysdeps/unix/sysv/linux/ldsodefs.h
35999         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36000         * sysdeps/generic/ldsodefs.h: ... here.
36002 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36004         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36006         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36007         math/test-snan.c.
36008         * math/test-snan.c: Renamed from
36009         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36010         * math/Makefile (tests): Add test-snan.
36011         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36012         test-powerpc-snan.
36014         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36015         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36016         functions.
36017         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36018         __builtin_nan family of functions.
36019         * math/libm-test.inc (initialize): Initialize qnan_value with
36020         __builtin_nan family of functions.
36021         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36022         Remove variables.
36023         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36024         Remove functions.
36025         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36026         storage class.  Initialize qNaN_var and sNaN_var with
36027         __builtin_nan and __builtin_nans families of functions,
36028         respectively.
36030         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36031         (sqrt_test): Remove duplicate test with qNaN input.
36032         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36033         (round_test, signbit_test, significand_test): Note missing +/-Inf
36034         as well as qNaN tests.
36036         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36037         qNaN_var.  Fix a few strings, too.
36038         * math/libm-test.inc (nan_value): Rename to qnan_value.
36039         * math/gen-libm-test.pl (%beautify): Adjust to that.
36040         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36041         * math/test-misc.c (main): Likewise.
36042         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36043         to __qnan_bytes, and __qnan_union, respectively.
36044         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36045         Likewise.
36046         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36047         and lqnanval, respectively.
36048         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36049         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36050         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36051         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36053         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36054         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36055         doubles.
36057         * math/test-misc.c (main): Fix copy'n'pastos.
36058         * misc/tst-efgcvt.c (special): Likewise.
36060         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36061         Remove declarations.
36063 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36065         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36066         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36067         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36068         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36070 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36072         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36073         macro to return vdso values correctly in IFUNC implementations.
36074         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36075         Optimization by using IFUNC.
36077 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36078             Richard Henderson  <rth@redhat.com>
36079             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36081         * Makefile.in (bench): New target.
36082         * NEWS: Mention the benchmark framework.
36083         * Rules (bench): Likewise.
36084         (binaries-bench): Generate binaries for functions to
36085         benchmark.
36086         * benchtests/Makefile: New makefile for benchmark tests.
36087         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36088         programs.
36089         * benchtests/exp-inputs: New input file for EXP function.
36090         * benchtests/pow-inputs: New input file for POW function.
36091         * scripts/bench.pl: New script to generate source files for
36092         benchmark programs.
36094 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36096         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36097         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36098         computations on mantissa.  Use macros for rounding and
36099         division.
36100         (denorm): Likewise.
36101         (__dbl_mp): Likewise.
36102         (add_magnitudes): Likewise.
36103         (sub_magnitudes): Likewise.
36104         (__mul): Likewise.
36105         (__sqr): Likewise.
36106         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36107         powers of two in terms of TWOPOW macro.
36108         (mp_no): Make type of mantissa as MANTISSA_T.
36109         [!RADIXI]: Define RADIXI.
36110         [!TWO52]: Define TWO52.
36111         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36113         * manual/nptl.texi (cindex): Modify threads to pthreads.
36115 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36117         * sysdeps/x86_64/preconfigure: Regenerated.
36119 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36121         [BZ #14155]
36122         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36123         0x1p28 and above.
36124         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36125         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36126         0x1p28 and above.
36127         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36128         * math/libm-test.inc (j0_test): Do not allow one spurious
36129         underflow exception.
36130         (y1_test): Likewise.
36132 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36134         * manual/Makefile (chapters): Add nptl.
36135         * manual/debug.texi (Debugging Support): Add link to Threads
36136         chapter.
36137         * manual/nptl.texi: New file.
36139         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36141 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36143         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36144         for non-NULL pointer before the memory validity test. Pointed
36145         out by Holger Brunck <holger.brunck@keymile.com>.
36147 2013-03-13  Andreas Schwab  <schwab@suse.de>
36149         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36150         instead of .os.
36152 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36154         * timezone/zic.c: Update from tzcode 2013b.
36156 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36158         * manual/install.texi (Configuring and compiling):
36159         Mention i686 and i586.
36160         * INSTALL: Regenerate.
36162 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36164         * sysdeps/init_array/elf-init.c: New file.
36165         * csu/elf-init.c
36166         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36167         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36169         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36170         __gmon_start__ as global, but as static with a .preinit_array pointer.
36171         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36172         * sysdeps/init_array/crti.S: New file, empty except for comments.
36173         * sysdeps/init_array/crtn.S: Likewise.
36175 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
36177         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36178         definining bcopy.
36179         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36180         Remove Prefer_SSE_for_memop.
36181         * sysdeps/x86_64/multiarch/init-arch.h: Remove
36182         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36183         HAS_PREFER_SSE_FOR_MEMOP.
36184         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36185         memset-x86-64.
36186         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36187         Remove bzero, memset ifunc support.
36188         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36189         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36190         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36191         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36193 2013-03-11  Andreas Schwab  <schwab@suse.de>
36195         [BZ #15234]
36196         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36197         by SHLIB_COMPAT.
36198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36199         (GLIBC_2.16): Remove pthread_atfork.
36201 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36203         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36204         (ptestcases.h): Likewise.
36206 2013-03-08  Roland McGrath  <roland@hack.frob.com>
36208         * Makeconfig ($(common-objpfx)config.status): Depend on
36209         sysdeps/*/preconfigure{,.in} too.
36211 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
36213         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36214         (__free_hook): Use void * instead of __malloc_ptr_t.
36215         (__malloc_hook): Likewise.
36216         (__realloc_hook): Likewise.
36217         (__memalign_hook): Likewise.
36218         (__after_morecore_hook): Likewise.
36219         * malloc/arena.c (save_malloc_hook): Likewise.
36220         (save_free_hook): Likewise.
36221         * malloc/hooks.c (malloc_hook_ini): Likewise.
36222         (realloc_hook_ini): Likewise.
36223         (memalign_hook_ini): Likewise.
36224         * malloc/malloc.c (malloc_hook_ini): Likewise.
36225         (realloc_hook_ini): Likewise.
36226         (memalign_hook_ini): Likewise.
36227         (__free_hook): Likewise.
36228         (__malloc_hook): Likewise.
36229         (__realloc_hook): Likewise.
36230         (__memalign_hook): Likewise.
36231         (__libc_malloc): Likewise.
36232         (__libc_free): Likewise.
36233         (__libc_realloc): Likewise.
36234         (__libc_memalign): Likewise.
36235         (__libc_valloc): Likewise.
36236         (__libc_pvalloc): Likewise.
36237         (__libc_calloc): Likewise.
36238         (__posix_memalign): Likewise.
36239         * malloc/morecore.c (__sbrk): Likewise.
36240         (__default_morecore): Likewise.
36242         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36244         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36245         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36246         __malloc_ptrdiff_t.
36248         * malloc/malloc.h (__malloc_size_t): Remove macro.
36249         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36250         __malloc_size_t.
36251         (old_memalign_hook): Likewise.
36252         (old_realloc_hook): Likewise.
36253         (struct hdr): Likewise.
36254         (flood): Likewise.
36255         (mallochook): Likewise.
36256         (memalignhook): Likewise.
36257         (reallochook): Likewise.
36258         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36259         (tr_old_realloc_hook): Likewise.
36260         (tr_old_memalign_hook): Likewise.
36261         (tr_mallochook): Likewise.
36262         (tr_reallochook): Likewise.
36263         (tr_memalignhook): Likewise.
36265 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36267         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36268         default_ldbl_pack and using as default implementation.
36269         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36270         implementation.
36271         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36272         redundant definition.
36273         (ldbl_insert_mantissa): Likewise.
36274         (ldbl_canonicalize): Likewise.
36275         (ldbl_nearbyint): Likewise.
36276         (ldbl_pack): Rename to ldbl_pack_ppc.
36277         (ldbl_unpack): Rename to ldbl_unpack_ppc.
36278         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36279         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36281 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36283         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36284         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36285         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36286         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36288         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36289         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36290         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36292 2013-03-07  Andreas Jaeger  <aj@suse.de>
36294         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36295         bits/mman-linux.h.
36297 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36299         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36300         Include mpa.h and declare __MPEXP.
36301         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36302         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36303         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36304         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36305         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36306         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36307         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36309         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36310         (__slowpow): Use long double EXPL and LOGL functions to
36311         compute POW.
36312         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36313         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36314         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36315         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36316         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36317         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
36319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
36320         intermediate variable to calculate exponent.
36321         (__sqr): Likewise.
36322         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36323         Likewise.
36324         (__sqr): Likewise.
36326         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36327         [!NO__SQR]: Define __sqr.
36328         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
36329         and NO__SQR.  Remove all code except __mul and __sqr.  Include
36330         sysdeps/ieee754/dbl-64/mpa.c.
36331         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36333         [BZ #12723]
36334         * posix/Makefile (tests): Add tst-pathconf.
36335         * posix/tst-pathconf.c: New test case.
36336         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
36337         _PC_PIPE_BUF.
36338         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
36340 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
36342         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
36344 2013-03-06  Andreas Jaeger  <aj@suse.de>
36346         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
36347         definition via __MAP_ANONYMOUS.
36349         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
36350         it's not part of Linux headers.
36352         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
36353         (MAP_HUGE_MASK): Define.
36355         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36356         Define.
36357         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36358         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36359         Define.
36360         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36361         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36362         Define.
36363         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36364         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
36365         Define.
36366         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36368         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
36369         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
36370         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
36371         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
36372         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
36373         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
36375         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36376         Handle f2fs.
36378         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36379         Handle f2fs and efivarfs.
36381         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
36382         f2fs.
36384         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36385         (EFIVARFS_MAGIC): Add.
36386         (F2FS_LINK_MAX): Add.
36388 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36390         * stdio-common/vfprintf.c: Replace __builtin_expect with
36391         __glibc_unlikely.
36393 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
36395         [BZ #13550]
36396         * sysdeps/generic/bp-sym.h: Remove file.
36397         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36398         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36399         <bp-sym.h> and <bp-asm.h>.
36400         (__longjmp): Don't use BP_SYM.
36401         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36402         and <bp-asm.h>.
36403         (memcpy): Don't use BP_SYM.
36404         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36405         <bp-sym.h> and <bp-asm.h>.
36406         (memcpy): Don't use BP_SYM.
36407         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36408         <bp-asm.h>.
36409         (memcpy): Don't use BP_SYM.
36410         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36411         <bp-asm.h>.
36412         (memset): Don't use BP_SYM.
36413         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36414         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36415         (__bzero): Don't use BP_SYM.
36416         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36417         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36418         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36419         <bp-sym.h> and <bp-asm.h>.
36420         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36421         pointers.
36422         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36423         <bp-sym.h> and <bp-asm.h>.
36424         (memcpy): Don't use BP_SYM.
36425         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36426         <bp-sym.h> and <bp-asm.h>.
36427         (memset): Don't use BP_SYM.
36428         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36429         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36430         (__bzero): Don't use BP_SYM.
36431         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36432         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36433         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36434         <bp-sym.h> and <bp-asm.h>.
36435         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36436         pointers.
36437         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36438         <bp-sym.h> and <bp-asm.h>.
36439         (memcpy): Don't use BP_SYM.
36440         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36441         <bp-sym.h> and <bp-asm.h>.
36442         (memset): Don't use BP_SYM.
36443         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36444         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36445         (__bzero): Don't use BP_SYM.
36446         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36447         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36448         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36449         <bp-sym.h> and <bp-asm.h>.
36450         (__memchr): Don't use BP_SYM.
36451         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36452         <bp-sym.h> and <bp-asm.h>.
36453         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36454         pointers.
36455         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36456         <bp-sym.h> and <bp-asm.h>.
36457         (memcpy): Don't use BP_SYM.
36458         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36459         <bp-sym.h> and <bp-asm.h>.
36460         (__mempcpy): Don't use BP_SYM.
36461         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36462         <bp-sym.h> and <bp-asm.h>.
36463         (__memrchr): Don't use BP_SYM.
36464         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36465         <bp-sym.h> and <bp-asm.h>.
36466         (memset): Don't use BP_SYM.
36467         (__bzero): Likewise.
36468         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36469         <bp-sym.h> and <bp-asm.h>.
36470         (__rawmemchr): Don't use BP_SYM.
36471         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36472         <bp-sym.h> and <bp-asm.h>.
36473         (__STRCMP): Don't use BP_SYM.
36474         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36475         <bp-sym.h> and <bp-asm.h>.
36476         (strchr): Don't use BP_SYM.
36477         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36478         <bp-sym.h> and <bp-asm.h>.
36479         (__strchrnul): Don't use BP_SYM.
36480         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36481         <bp-sym.h> and <bp-asm.h>.
36482         (strlen): Don't use BP_SYM.
36483         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36484         <bp-sym.h> and <bp-asm.h>.
36485         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36486         pointers.
36487         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36488         <bp-sym.h> and <bp-asm.h>.
36489         (__strnlen): Don't use BP_SYM.
36490         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36491         <bp-sym.h> and <bp-asm.h>.
36492         (__GI__setjmp): Don't use BP_SYM.
36493         (_setjmp): Likewise.
36494         (__sigsetjmp): Likewise.
36495         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36496         (L(start_addresses)): Don't use BP_SYM.
36497         (_start): Likewise.
36498         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36499         <bp-asm.h>.
36500         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36501         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36502         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36503         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36504         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36505         <bp-asm.h>.
36506         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36507         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
36508         about bounded pointers.
36509         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36510         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36511         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36512         <bp-asm.h>.
36513         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36514         about bounded pointers.  Remove GKM FIXME comments.
36515         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36516         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36517         <bp-asm.h>.
36518         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36519         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
36520         Remove GKM FIXME comments.
36521         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36522         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36523         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36524         <bp-asm.h>.
36525         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36526         about bounded pointers.  Remove GKM FIXME comment.
36527         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36528         and <bp-asm.h>.
36529         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36530         pointers.
36531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36532         <bp-sym.h> and <bp-asm.h>.
36533         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36535         <bp-sym.h> and <bp-asm.h>.
36536         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36537         comment.
36539 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36541         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36542         call free(NULL).
36544 2013-03-05  David S. Miller  <davem@davemloft.net>
36546         * po/es.po: Update from translation team.
36548 2013-03-05  Andreas Jaeger  <aj@suse.de>
36550         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36551         <bits/mman-linux.h>.
36552         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36553         is fine.
36554         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36555         <bits/mman-linux.h> to end of file.
36556         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36557         is fine.
36558         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36559         <bits/mman-linux.h> to end of file.
36560         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36561         is fine.
36562         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36563         <bits/mman-linux.h> to end of file.
36565         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36566         (MCL_CURRENT, MCL_FUTURE): Define here.
36568 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36570         [BZ #15232]
36571         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36572         attribute_hidden.
36573         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36575 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36577         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36578         fourth parameter needed for rt_sigprocmask syscall.
36579         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36580         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36581         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36582         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36583         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36584         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36586 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
36588         [BZ #13550]
36589         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36590         comment about bounded pointers.
36591         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36592         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36594 2013-03-04  Andreas Jaeger  <aj@suse.de>
36596         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36597         common definitions.
36599         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36600         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36601         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36602         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36603         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36604         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36606 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36608         [BZ #15055]
36609         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36610         __ieee754_sqrl instead of __sqrl.
36612 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
36614         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36615         * sysdeps/powerpc/fpu_control.h: ... here.
36616         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36617         * sysdeps/powerpc/bits/fenvinline.h: ... here.
36618         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36619         * sysdeps/powerpc/bits/mathinline.h: ... here.
36621 2013-03-01  Roland McGrath  <roland@hack.frob.com>
36623         * elf/dl-hwcaps.c (_dl_important_hwcaps):
36624         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36625         to just [NEED_DL_SYSINFO_DSO].
36626         * elf/dl-support.c: Likewise.
36627         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36628         * elf/rtld.c (dl_main): Likewise.
36629         * elf/setup-vdso.h (setup_vdso): Likewise.
36630         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36631         * sysdeps/unix/sysv/linux/dl-sysdep.c
36632         (_dl_discover_osversion): Likewise.
36634 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
36636         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36637         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36639 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36641         * NEWS: Mention libm performance improvements and non-x86 PI
36642         futex support.
36644         * csu/libc-start.c (__pthread_initialize_minimal): Change
36645         function arguments.
36646         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36648 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
36650         [BZ #13550]
36651         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36652         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36653         <bp-sym.h> and <bp-asm.h>.
36654         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36655         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36656         and <bp-asm.h>.
36657         (memcpy): Don't use BP_SYM.
36658         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36659         <bp-asm.h>.
36660         (__mpn_add_n): Don't use BP_SYM.
36661         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36662         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36663         and <bp-asm.h>.
36664         (__mpn_addmul_1): Don't use BP_SYM.
36665         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36666         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36667         <bp-sym.h>.
36668         (_setjmp): Don't use BP_SYM.
36669         (__novmx_setjmp): Likewise.
36670         (__GI__setjmp): Likewise.
36671         (__vmx_setjmp): Likewise.
36672         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36673         <bp-sym.h>.
36674         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36675         (__bzero): Don't use BP_SYM.
36676         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36677         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36678         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36679         <bp-sym.h> and <bp-asm.h>.
36680         (memcpy): Don't use BP_SYM.
36681         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36682         <bp-sym.h> and <bp-asm.h>.
36683         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36684         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36685         <bp-sym.h> and <bp-asm.h>.
36686         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36687         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36688         <bp-asm.h>.
36689         (__mpn_lshift): Don't use BP_SYM.
36690         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36691         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36692         <bp-asm.h>.
36693         (memset): Don't use BP_SYM.
36694         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36695         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36696         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36697         <bp-asm.h>.
36698         (__mpn_mul_1): Don't use BP_SYM.
36699         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36700         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36701         <bp-sym.h> and <bp-asm.h>.
36702         (memcmp): Don't use BP_SYM.
36703         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36704         <bp-sym.h> and <bp-asm.h>.
36705         (memcpy): Don't use BP_SYM.
36706         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36707         <bp-sym.h> and <bp-asm.h>.
36708         (memset): Don't use BP_SYM.
36709         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36710         <bp-sym.h> and <bp-asm.h>.
36711         (strncmp): Don't use BP_SYM.
36712         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36713         <bp-sym.h> and <bp-asm.h>.
36714         (memcpy): Don't use BP_SYM.
36715         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36716         <bp-sym.h> and <bp-asm.h>.
36717         (memset): Don't use BP_SYM.
36718         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36719         <bp-sym.h> and <bp-asm.h>.
36720         (__memchr): Don't use BP_SYM.
36721         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36722         <bp-sym.h> and <bp-asm.h>.
36723         (memcmp): Don't use BP_SYM.
36724         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36725         <bp-sym.h> and <bp-asm.h>.
36726         (memcpy): Don't use BP_SYM.
36727         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36728         <bp-sym.h> and <bp-asm.h>.
36729         (__mempcpy): Don't use BP_SYM.
36730         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36731         <bp-sym.h> and <bp-asm.h>.
36732         (__memrchr): Don't use BP_SYM.
36733         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36734         <bp-sym.h> and <bp-asm.h>.
36735         (memset): Don't use BP_SYM.
36736         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36737         <bp-sym.h> and <bp-asm.h>.
36738         (__rawmemchr): Don't use BP_SYM.
36739         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36740         <bp-sym.h> and <bp-asm.h>.
36741         (__STRCMP): Don't use BP_SYM.
36742         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36743         <bp-sym.h> and <bp-asm.h>.
36744         (strchr): Don't use BP_SYM.
36745         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36746         <bp-sym.h> and <bp-asm.h>.
36747         (__strchrnul): Don't use BP_SYM.
36748         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36749         <bp-sym.h> and <bp-asm.h>.
36750         (strlen): Don't use BP_SYM.
36751         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36752         <bp-sym.h> and <bp-asm.h>.
36753         (strncmp): Don't use BP_SYM.
36754         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36755         <bp-sym.h> and <bp-asm.h>.
36756         (__strnlen): Don't use BP_SYM.
36757         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36758         <bp-asm.h>.
36759         (__mpn_rshift): Don't use BP_SYM.
36760         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36761         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36762         <bp-sym.h> and <bp-asm.h>.
36763         (__sigsetjmp): Don't use BP_SYM.
36764         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36765         (L(start_addresses)): Don't use BP_SYM.
36766         (_start): Likewise.
36767         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36768         <bp-asm.h>.
36769         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36770         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36771         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36772         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36773         <bp-asm.h>.
36774         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36775         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36776         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36777         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36778         <bp-asm.h>.
36779         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36780         comments.
36781         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36782         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36783         <bp-asm.h>.
36784         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
36785         FIXME comments.
36786         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36787         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36788         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36789         <bp-asm.h>.
36790         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36791         comment.
36792         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36793         and <bp-asm.h>.
36794         (strncmp): Don't use BP_SYM,
36795         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36796         <bp-asm.h>.
36797         (__mpn_sub_n): Don't use BP_SYM.
36798         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36799         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36800         and <bp-asm.h>.
36801         (__mpn_submul_1): Don't use BP_SYM.
36802         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36804         <bp-sym.h> and <bp-asm.h>.
36805         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36807         <bp-sym.h> and <bp-asm.h>.
36808         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36809         comment.
36811 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36813         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36814         Use ZK to minimize writes to Z.
36815         (sub_magnitudes): Simplify code a bit.
36816         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36817         Use ZK to minimize writes to Z.
36818         (sub_magnitudes): Simplify code a bit.
36820 2013-02-27  Roland McGrath  <roland@hack.frob.com>
36822         * csu/gmon-start.c: Add special exception to license text.
36824 2013-02-27  Richard Henderson  <rth@redhat.com>
36826         * scripts/config.guess: Update from config.git.
36827         * scripts/config.sub: Likewise.
36829 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36831         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36833         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36835         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36837         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36839         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36841 2013-02-26  Roland McGrath  <roland@hack.frob.com>
36843         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36844         [$(build-shared = yes].
36846 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36848         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36849         (__mul): Reduce iterations for calculating mantissa.
36851         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36852         MPTWO.
36853         (__mpranred): Likewise.
36855         [BZ #15160]
36856         * malloc/memusagestat.c (main): Draw graphs for heap and stack
36857         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36859 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
36861         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36862         Define __attribute__.
36864 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36866         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36867         unused.
36868         * posix/regex_internal.h (__attribute): Remove.
36869         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36870         (re_string_context_at): Likewise.
36871         (bitset_not): Use __attribute__ and mark function as possibly
36872         unused.
36873         (bitset_merge): Likewise.
36874         (bitset_mask): Likewise.
36875         (re_string_char_size_at): Likewise.
36876         (re_string_wchar_at): Likewise.
36877         (re_string_elem_size_at): Likewise.
36879 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36881         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36882         code.
36883         (cc32): Likewise.
36885         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36886         (__acr): Likewise.
36887         (__cpy): Likewise.
36888         (norm): Likewise.
36889         (denorm): Likewise.
36890         (__dbl_mp): Likewise.
36891         (add_magnitudes): Likewise.
36892         (sub_magnitudes): Likewise.
36893         (__mul): Likewise.
36894         (__inv): Likewise.
36896         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36897         style.
36899         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36900         style.
36902         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36903         code.
36905         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36906         up changes with default code.
36907         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36908         Likewise.
36910 2013-02-24  Allan McRae  <allan@archlinux.org>
36912         * manual/socket.texi (The Internet Namespace): Order menu items
36913         to match that in the file.
36915         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36916         node listing of the info page menu.
36918 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
36920         [BZ #13550]
36921         * sysdeps/i386/bp-asm.h: Remove file.
36922         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36923         (PARMS): Do not use macros from bp-asm.h.
36924         (S1): Likewise.
36925         (S2): Likewise.
36926         (SIZE): Likewise.
36927         (__mpn_add_n): Do not use BP_SYM
36928         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36929         "bp-asm.h".
36930         (PARMS): Do not use macros from bp-asm.h.
36931         (S1): Likewise.
36932         (SIZE): Likewise.
36933         (__mpn_addmul_1): Do not use BP_SYM
36934         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36935         "bp-asm.h".
36936         (PARMS): Do not use macros from bp-asm.h.
36937         (SIGMSK): Likewise.
36938         (_setjmp): Likewise.  Do not use BP_SYM.
36939         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36940         "bp-asm.h".
36941         (PARMS): Do not use macros from bp-asm.h.
36942         (SIGMSK): Likewise.
36943         (setjmp): Likewise.  Do not use BP_SYM.
36944         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36945         "bp-asm.h".
36946         (PARMS): Do not use macros from bp-asm.h.
36947         (__frexp): Do not use BP_SYM.
36948         (frexp): Likewise.
36949         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36950         "bp-asm.h".
36951         (PARMS): Do not use macros from bp-asm.h.
36952         (__frexpf): Do not use BP_SYM.
36953         (frexpf): Likewise.
36954         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36955         "bp-asm.h".
36956         (PARMS): Do not use macros from bp-asm.h.
36957         (__frexpl): Do not use BP_SYM.
36958         (frexpl): Likewise.
36959         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36960         "bp-asm.h".
36961         (PARMS): Do not use macros from bp-asm.h.
36962         (__remquo): Do not use BP_SYM.
36963         (remquo): Likewise.
36964         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36965         "bp-asm.h".
36966         (PARMS): Do not use macros from bp-asm.h.
36967         (__remquof): Do not use BP_SYM.
36968         (remquof): Likewise.
36969         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36970         "bp-asm.h".
36971         (PARMS): Do not use macros from bp-asm.h.
36972         (__remquol): Do not use BP_SYM.
36973         (remquol): Likewise.
36974         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36975         "bp-asm.h".
36976         (PARMS): Do not use macros from bp-asm.h.
36977         (DEST): Likewise.
36978         (SRC): Likewise.
36979         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
36980         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36981         "bp-asm.h".
36982         (PARMS): Do not use macros from bp-asm.h.
36983         (strlen): Do not use BP_SYM.
36984         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36985         "bp-asm.h".
36986         (PARMS): Do not use macros from bp-asm.h.
36987         (S1): Likewise.
36988         (S2): Likewise.
36989         (SIZE): Likewise.
36990         (__mpn_add_n): Do not use BP_SYM.
36991         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36992         "bp-asm.h".
36993         (PARMS): Do not use macros from bp-asm.h.
36994         (S1): Likewise.
36995         (SIZE): Likewise.
36996         (__mpn_addmul_1): Do not use BP_SYM.
36997         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36998         weak_alias.
36999         (bzero): Likewise.
37000         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37001         "bp-asm.h".
37002         (PARMS): Do not use macros from bp-asm.h.
37003         (S): Likewise.
37004         (SIZE): Likewise.
37005         (__mpn_lshift): Do not use BP_SYM.
37006         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37007         "bp-asm.h".
37008         (PARMS): Do not use macros from bp-asm.h.
37009         (DEST): Likewise.
37010         (SRC): Likewise.
37011         (LEN): Likewise.
37012         (memcpy): Likewise.  Do not use BP_SYM.
37013         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37014         libc_hidden_def and weak_alias.
37015         (mempcpy): Do not use BP_SYM in weak_alias.
37016         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37017         "bp-asm.h".
37018         (PARMS): Do not use macros from bp-asm.h.
37019         (DEST): Likewise.
37020         (LEN): Likewise.
37021         [!BZERO_P] (CHR): Likewise.
37022         (memset): Likewise.  Do not use BP_SYM.
37023         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37024         "bp-asm.h".
37025         (PARMS): Do not use macros from bp-asm.h.
37026         (S1): Likewise.
37027         (SIZE): Likewise.
37028         (__mpn_mul_1): Do not use BP_SYM.
37029         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37030         "bp-asm.h".
37031         (PARMS): Do not use macros from bp-asm.h.
37032         (S): Likewise.
37033         (SIZE): Likewise.
37034         (__mpn_rshift): Do not use BP_SYM.
37035         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37036         "bp-asm.h".
37037         (PARMS): Do not use macros from bp-asm.h.
37038         (STR): Likewise.
37039         (CHR): Likewise.
37040         (strchr): Likewise.  Do not use BP_SYM.
37041         (index): Do not use BP_SYM in weak_alias.
37042         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37043         "bp-asm.h".
37044         (PARMS): Do not use macros from bp-asm.h.
37045         (DEST): Likewise.
37046         (SRC): Likewise.
37047         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37048         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37049         "bp-asm.h".
37050         (PARMS): Do not use macros from bp-asm.h.
37051         (strlen): Do not use BP_SYM.
37052         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37053         "bp-asm.h".
37054         (PARMS): Do not use macros from bp-asm.h.
37055         (S1): Likewise.
37056         (S2): Likewise.
37057         (SIZE): Likewise.
37058         (__mpn_sub_n): Do not use BP_SYM.
37059         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37060         "bp-asm.h".
37061         (PARMS): Do not use macros from bp-asm.h.
37062         (S1): Likewise.
37063         (SIZE): Likewise.
37064         (__mpn_submul_1): Do not use BP_SYM.
37065         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37066         "bp-asm.h".
37067         (PARMS): Do not use macros from bp-asm.h.
37068         (S1): Likewise.
37069         (S2): Likewise.
37070         (SIZE): Likewise.
37071         (__mpn_add_n): Do not use BP_SYM.
37072         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37073         weak_alias.
37074         (bzero): Likewise.
37075         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37076         "bp-asm.h".
37077         (PARMS): Do not use macros from bp-asm.h.
37078         (BLK2): Likewise.
37079         (LEN): Likewise.
37080         (memcmp): Do not use BP_SYM.
37081         (bcmp): Do not use BP_SYM in weak_alias.
37082         * sysdeps/i386/i686/memcpy.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         (LEN): Likewise.
37088         (memcpy): Likewise.  Do not use BP_SYM.
37089         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37090         "bp-asm.h".
37091         (PARMS): Do not use macros from bp-asm.h.
37092         (DEST): Likewise.
37093         (SRC): Likewise.
37094         (LEN): Likewise.
37095         (memmove): Likewise.  Do not use BP_SYM.
37096         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37097         "bp-asm.h".
37098         (PARMS): Do not use macros from bp-asm.h.
37099         (DEST): Likewise.
37100         (SRC): Likewise.
37101         (LEN): Likewise.
37102         (__mempcpy): Likewise.  Do not use BP_SYM.
37103         (mempcpy): Do not use BP_SYM in weak_alias.
37104         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37105         "bp-asm.h".
37106         (PARMS): Do not use macros from bp-asm.h.
37107         (DEST): Likewise.
37108         (LEN): Likewise.
37109         [!BZERO_P] (CHR): Likewise.
37110         (memset): Likewise.  Do not use BP_SYM.
37111         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37112         "bp-asm.h".
37113         (PARMS): Do not use macros from bp-asm.h.
37114         (STR2): Likewise.
37115         (strcmp): Do not use BP_SYM.
37116         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37117         "bp-asm.h".
37118         (PARMS): Do not use macros from bp-asm.h.
37119         (STR): Likewise.
37120         (DELIM): Likewise.
37121         [USE_AS_STRTOK_R] (SAVE): Likewise.
37122         (FUNCTION): Likewise.  Do not use BP_SYM.
37123         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37124         aliases.
37125         (strtok_r): Likewise.
37126         (__GI___strtok_r): Likewise.
37127         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37128         (PARMS): Do not use macros from bp-asm.h.
37129         (S): Likewise.
37130         (SIZE): Likewise.
37131         (__mpn_lshift): Do not use BP_SYM.
37132         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37133         (PARMS): Do not use macros from bp-asm.h.
37134         (STR): Likewise.
37135         (CHR): Likewise.
37136         (__memchr): Do not use BP_SYM.
37137         (memchr): Do not use BP_SYM in weak_alias.
37138         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37139         (PARMS): Do not use macros from bp-asm.h.
37140         (BLK2): Likewise.
37141         (LEN): Likewise.
37142         (memcmp): Do not use BP_SYM.
37143         (bcmp): Do not use BP_SYM in weak_alias.
37144         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37145         (PARMS): Do not use macros from bp-asm.h.
37146         (S1): Likewise.
37147         (SIZE): Likewise.
37148         (__mpn_mul_1): Do not use BP_SYM.
37149         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37150         "bp-asm.h".
37151         (PARMS): Do not use macros from bp-asm.h.
37152         (STR): Likewise.
37153         (CHR): Likewise.
37154         (__rawmemchr): Do not use BP_SYM.
37155         (rawmemchr): Do not use BP_SYM in weak_alias.
37156         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37157         (PARMS): Do not use macros from bp-asm.h.
37158         (S): Likewise.
37159         (SIZE): Likewise.
37160         (__mpn_rshift): Do not use BP_SYM.
37161         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37162         (PARMS): Do not use macros from bp-asm.h.
37163         (SIGMSK): Likewise.
37164         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37165         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37166         (_start): Do not use BP_SYM.
37167         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37168         (PARMS): Do not use macros from bp-asm.h.
37169         (DEST): Likewise.
37170         (SRC): Likewise.
37171         (__stpcpy): Likewise.  Do not use BP_SYM.
37172         (stpcpy): Do not use BP_SYM in weak_alias.
37173         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37174         "bp-asm.h".
37175         (PARMS): Do not use macros from bp-asm.h.
37176         (DEST): Likewise.
37177         (SRC): Likewise.
37178         (LEN): Likewise.
37179         (__stpncpy): Likewise.  Do not use BP_SYM.
37180         (stpncpy): Do not use BP_SYM in weak_alias.
37181         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37182         (PARMS): Do not use macros from bp-asm.h.
37183         (STR): Likewise.
37184         (CHR): Likewise.
37185         (strchr): Likewise.  Do not use BP_SYM.
37186         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37187         "bp-asm.h".
37188         (PARMS): Do not use macros from bp-asm.h.
37189         (STR): Likewise.
37190         (CHR): Likewise.
37191         (__strchrnul): Likewise.  Do not use BP_SYM.
37192         (strchrnul): Do not use BP_SYM in weak_alias.
37193         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37194         "bp-asm.h".
37195         (PARMS): Do not use macros from bp-asm.h.
37196         (STOP): Likewise.
37197         (strcspn): Do not use BP_SYM.
37198         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37199         "bp-asm.h".
37200         (PARMS): Do not use macros from bp-asm.h.
37201         (STR): Likewise.
37202         (STOP): Likewise.
37203         (strpbrk): Likewise.  Do not use BP_SYM.
37204         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37205         "bp-asm.h".
37206         (PARMS): Do not use macros from bp-asm.h.
37207         (STR): Likewise.
37208         (CHR): Likewise.
37209         (strrchr): Likewise.  Do not use BP_SYM.
37210         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37211         (PARMS): Do not use macros from bp-asm.h.
37212         (SKIP): Likewise.
37213         (strspn): Do not use BP_SYM.
37214         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37215         (PARMS): Do not use macros from bp-asm.h.
37216         (STR): Likewise.
37217         (DELIM): Likewise.
37218         (SAVE): Likewise.
37219         (FUNCTION): Likewise.  Do not use BP_SYM.
37220         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37221         aliases.
37222         (strtok_r): Likewise.
37223         (__GI___strtok_r): Likewise.
37224         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37225         (PARMS): Do not use macros from bp-asm.h.
37226         (S1): Likewise.
37227         (S2): Likewise.
37228         (SIZE): Likewise.
37229         (__mpn_sub_n): Do not use BP_SYM.
37230         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37231         "bp-asm.h".
37232         (PARMS): Do not use macros from bp-asm.h.
37233         (S1): Likewise.
37234         (SIZE): Likewise.
37235         (__mpn_submul_1): Do not use BP_SYM.
37236         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37237         <bp-sym.h>.
37238         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37239         and <bp-asm.h>.
37240         (PARMS): Do not use macros from bp-asm.h.
37241         (FLAGS): Likewise.
37242         (PTID): Likewise.
37243         (TLS): Likewise.
37244         (CTID): Likewise.
37245         (__clone): Do not use BP_SYM.
37246         (clone): Do not use BP_SYM in weak_alias.
37247         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37248         and <bp-asm.h>.
37249         (PARMS): Do not use macros from bp-asm.h.
37250         (LEN): Likewise.
37251         (__mmap64): Do not use BP_SYM.
37252         (mmap64): Do not use BP_SYM in weak_alias.
37253         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37254         <bp-sym.h> and <bp-asm.h>.
37255         (PARMS): Do not use macros from bp-asm.h.
37256         (__posix_fadvise64_l64): Do not use BP_SYM.
37257         * sysdeps/unix/sysv/linux/i386/semtimedop.S
37258         (PARMS): Do not use macros from bp-asm.h.
37259         (NSOPS): Likewise.
37260         (semtimedop): Do not use BP_SYM.
37261         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37262         and <bp-asm.h>.
37264 2013-02-21  Allan McRae  <allan@archlinux.org>
37266         * manual/message.texi (Charset conversion in gettext):
37267         Move @end statement to beginning of line.
37269 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37271         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37272         static.
37273         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37274         Likewise.
37276         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
37277         (denorm): Likewise.
37278         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37279         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37281 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37283         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37284         tail-call to the resolved function if pltexit isn't needed.
37286 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37288         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37289         or Y being zero as being unlikely.
37290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37291         Likewise.
37293 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
37295         * manual/nss.texi (System Databases and Name Service Switch):
37296         Remove frobnicate @pxref.
37298 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37300         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37301         __attribute__ ((unused)) to __attribute__ ((__unused__)).
37303 2013-02-20  Petr Machata  <pmachata@redhat.com>
37305         * elf/elf.h (R_ARM_TARGET1): New macro.
37306         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37307         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37308         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37309         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37310         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37311         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37312         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37313         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37314         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37315         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37316         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37317         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
37318         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
37319         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
37320         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
37321         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
37322         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
37323         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
37324         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
37325         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
37326         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
37327         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
37328         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37329         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
37330         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
37331         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
37332         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
37333         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
37334         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
37335         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
37336         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
37337         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
37338         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37339         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
37340         (R_ARM_THM_GOT_BREL12): Likewise.
37341         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
37342         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
37343         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
37344         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
37345         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
37346         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
37347         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
37348         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
37349         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
37351 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37353         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37354         __attribute_used__ to __attribute__ ((unused)).
37356 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37358         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
37359         powerpc mpa.c.
37360         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
37361         comment formatting.
37362         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
37364 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
37366         [BZ #13550]
37367         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
37368         Remove macro.
37369         (ENTER): Remove both macro definitions.
37370         (LEAVE): Likewise.
37371         (CHECK_BOUNDS_LOW): Likewise.
37372         (CHECK_BOUNDS_HIGH): Likewise.
37373         (CHECK_BOUNDS_BOTH): Likewise.
37374         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
37375         (RETURN_BOUNDED_POINTER): Likewise.
37376         (RETURN_NULL_BOUNDED_POINTER): Likewise.
37377         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
37378         (POP_ERRNO_LOCATION_RETURN): Likewise.
37379         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
37380         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37381         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
37382         macros.
37383         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37384         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37385         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37386         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37387         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37388         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37389         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37390         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37391         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37392         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37393         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37394         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37395         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37396         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37397         removed macros.
37398         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37399         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37400         macros.
37401         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37402         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37403         * sysdeps/i386/i586/memset.S (memset): Likewise.
37404         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37405         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37406         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37407         macros.
37408         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37409         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37410         Change uses of L(2) to L(out).
37411         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37412         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37413         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37414         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37415         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37416         removed macros.
37417         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37418         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37419         macros.
37420         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37421         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37422         (RETURN): Do not use macro LEAVE.
37423         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37424         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37425         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37426         * sysdeps/i386/i686/memset.S (memset): Likewise.
37427         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37428         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37429         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37430         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37431         Likewise.
37432         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37433         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
37434         L(1_2) and L(1_3) into L(1).
37435         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37436         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37437         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37438         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37439         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37440         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37441         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37442         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37443         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37444         macros.
37445         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37446         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37447         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37448         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37449         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37450         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37451         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37452         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37453         * sysdeps/i386/strcspn.S (strcspn): Likewise.
37454         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37455         * sysdeps/i386/strrchr.S (strrchr): Likewise.
37456         * sysdeps/i386/strspn.S (strspn): Likewise.
37457         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37458         conditional code.
37459         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37460         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37461         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37462         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
37463         L(1_3) into L(1_1).
37464         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37465         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37466         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37467         macros.
37468         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37470 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
37472         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37473         macro.
37475 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37477         * math/atest-exp.c (exp_mpn): Remove ROUND.
37478         * math/atest-exp2.c (exp_mpn): Likewise.
37479         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37481         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37482         * stdlib/tst-tls-atexit-lib.c: Likewise.
37483         * stdlib/tst-tls-atexit.c: Likewise.
37485 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37487         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37488         and __attribute_alloc_size__.
37490 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37492         * include/programs/xmalloc.h: Change __attribute_alloc_size to
37493         __attribute_alloc_size__.
37494         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37495         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37497 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37499         * include/programs/xmalloc.h: New file.
37500         * catgets/gencat.c: Include it.
37501         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37502         * elf/pldd.c: Likewise.
37503         * iconv/iconv_charmap.c: Likewise.
37504         * iconv/iconvconfig.c: Likewise.
37505         * iconv/strtab.c: Likewise.
37506         * locale/programs/locale.c: Likewise.
37507         * locale/programs/localedef.h: Likewise.
37508         * locale/programs/simple-hash.c: Likewise.
37509         * nscd/nscd.h: Likewise.
37510         * nss/makedb.c: Likewise.
37511         * sysdeps/generic/ldconfig.h: Likewise.
37513 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37515         * Versions.def: Add GLIBC_2.18.
37516         * include/link.h (struct link_map): New member l_tls_dtor_count.
37517         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37518         (__call_tls_dtors): Likewise.
37519         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37520         __cxa_thread_atexit_impl.
37521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37522         Likewise.
37523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37524         Likewise.
37525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37526         Likewise.
37527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37528         Likewise.
37529         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37531         Likewise.
37532         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37533         Likewise.
37534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37535         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37536         Likewise.
37537         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37538         (tests): Add test case tst-tls-atexit.
37539         (modules-names): Add shared library for tst-tls-atexit.
37540         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37541         (GLIBC_PRIVATE): Add __call_tls_dtors.
37542         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37543         for libstdc++.
37544         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37545         * stdlib/tst-tls-atexit.c: New test case.
37546         * stdlib/tst-tls-atexit-lib.c: New test case.
37548         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37550         * elf/Versions (ld): Add _dl_find_dso_for_object.
37551         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37552         * elf/dl-open.c (_dl_find_dso_for_object): New function.
37553         (dl_open_worker): Use _dl_find_dso_for_object.
37554         * elf/dl-sym.c (do_sym): Likewise.
37555         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37557 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37559         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37560         Syntactic changes only.
37561         (_dl_runtime_profile): Do a tail-call to the resolved function.
37563 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
37565         [BZ #13550]
37566         * sysdeps/x86_64/bp-asm.h: Remove file.
37567         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37568         <bp-sym.h> and <bp-asm.h>.
37569         (__clone): Do not use BP_SYM.
37570         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37571         <bp-sym.h> and <bp-asm.h>.
37572         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37573         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37574         "bp-asm.h".
37575         (_setjmp): Do not use BP_SYM.
37576         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37577         "bp-asm.h".
37578         (setjmp): Do not use BP_SYM.
37579         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37580         libc_hidden_def.
37581         (mempcpy): Do not use BP_SYM in weak_alias.
37582         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37583         "bp-asm.h".
37584         (strchr): Do not use BP_SYM.
37585         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37586         "bp-asm.h".
37587         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37588         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37589         (_start): Do not use BP_SYM.
37590         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37591         "bp-asm.h".
37592         (strcat): Do not use BP_SYM.
37593         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37594         "bp-asm.h".
37595         (STRCMP): Do not use BP_SYM.
37596         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37597         "bp-asm.h".
37598         (STRCPY): Do not use BP_SYM.
37599         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37600         "bp-asm.h".
37601         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37602         "bp-asm.h".
37603         (FUNCTION): Do not use BP_SYM.
37604         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37605         weak_alias.
37606         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37608 2013-02-17  Andreas Jaeger  <aj@suse.de>
37610         * time/Versions: Sort entries.
37611         * string/Versions: Likewise.
37612         * resolv/Versions: Likewise.
37613         * posix/Versions: Likewise.
37614         * iconv/Versions: Likewise.
37615         * elf/Versions: Likewise.
37616         * wcsmbs/Versions: Likewise.
37618 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37620         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37621         loop termination condition.
37623         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37624         variable to calculate EZ.
37625         (__sqr): Likewise.
37627         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37628         the lower precision input.
37630 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
37632         [BZ #13550]
37633         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37634         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37635         (run-via-rtld-prefix): Do not handle %-bp tests.
37636         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37637         (all-object-suffixes): Remove .ob.
37638         (bppfx): Remove variable.
37639         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37640         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37641         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37642         [$(build-bounded) = yes] (libtype.ob): Likewise.
37643         * Makerules (elide-routines.ob): Remove variable.
37644         (do-tests-clean): Do not handle *-bp.out.
37645         (common-mostlyclean): Do not handle *-bp and *-bp.out.
37646         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37647         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37648         (tests): Do not include $(tests-bp.out).
37649         (xtests): Do not include $(xtests-bp.out).
37650         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37651         [$(build-bounded) = yes] ($(addprefix
37652         $(objpfx),$(binaries-bounded))): Remove rule.
37653         ($(objpfx)%-bp.out): Remove rule.
37654         * config.make.in (build-bounded): Remove variable.
37655         * crypt/Makefile [$(build-bounded) = yes]
37656         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37657         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37658         append to variable.
37659         [$(build-bounded) = yes] (install-lib): Likewise.
37660         [$(build-bounded) = yes] (generated): Likewise.
37661         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37662         Remove rule.
37663         * intl/Makefile [$(build-bounded) = yes]
37664         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37665         * math/Makefile [$(build-bounded) = yes]
37666         ($(tests:%=$(objpfx)%-bp): Likewise.
37667         * misc/Makefile [$(build-bounded) = yes]
37668         ($(objpfx)tst-tsearch-bp): Likewise.
37669         * nptl/Makeconfig (bounded-thread-library): Remove variable.
37670         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37671         Remove dependency.
37672         * string/Makefile (o-objects.ob): Remove variable.
37673         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37674         (CFLAGS-.ob): Remove variable.
37675         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37676         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37677         both definitions of variable.
37678         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37679         (ASFLAGS-.ob): Remove variable.
37681 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
37683         [BZ #13550]
37684         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37685         Remove __BOUNDED_POINTERS__ from condition.
37686         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37687         * string/bits/string2.h [!__NO_STRING_INLINES &&
37688         !__BOUNDED_POINTERS__]: Likewise.
37689         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37690         Likewise.
37691         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37692         Remove conditional code.
37693         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37694         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37695         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37696         condition.
37698         [BZ #13550]
37699         * csu/libc-start.c: Do not include <bp-sym.h>.
37700         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37701         * elf/dl-open.c: Do not include <bp-sym.h>.
37702         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37703         * math/fegetenv.c: Do not include <bp-sym.h>.
37704         (fegetenv): Do not use BP_SYM in versioned symbols.
37705         * nptl/sysdeps/pthread/bits/libc-lockP.h
37706         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37707         <bp-sym.h>.
37708         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37709         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37710         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37711         (__pthread_mutex_destroy): Likewise.
37712         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37713         (__pthread_mutex_lock): Likewise.
37714         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37715         (__pthread_mutex_trylock): Likewise.
37716         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37717         (__pthread_mutex_unlock): Likewise.
37718         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37719         (__pthread_mutexattr_init): Likewise.
37720         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37721         (__pthread_mutexattr_destroy): Likewise.
37722         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37723         (__pthread_mutexattr_settype): Likewise.
37724         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37725         (__pthread_rwlock_init): Likewise.
37726         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37727         (__pthread_rwlock_destroy): Likewise.
37728         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37729         (__pthread_rwlock_rdlock): Likewise.
37730         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37731         (__pthread_rwlock_tryrdlock): Likewise.
37732         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37733         (__pthread_rwlock_wrlock): Likewise.
37734         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37735         (__pthread_rwlock_trywrlock): Likewise.
37736         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37737         (__pthread_rwlock_unlock): Likewise.
37738         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37739         (__pthread_key_create): Likewise.
37740         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37741         (__pthread_setspecific): Likewise.
37742         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37743         (__pthread_getspecific): Likewise.
37744         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37745         Likewise.
37746         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37747         (_pthread_cleanup_push_defer): Likewise.
37748         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37749         (_pthread_cleanup_pop_restore): Likewise.
37750         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37751         (pthread_setcancelstate): Likewise.
37752         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37753         <bp-sym.h>.
37754         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37755         (memchr): Do not use BP_SYM in weak_alias.
37756         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37757         (fegetenv): Do not use BP_SYM in versioned symbols.
37758         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37759         (fesetenv): Do not use BP_SYM in versioned symbols.
37760         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37761         (feupdateenv): Do not use BP_SYM in versioned symbols.
37762         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37763         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37764         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37765         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37766         (open64): Do not use BP_SYM in weak_alias.
37767         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37768         (fegetenv): Do not use BP_SYM in versioned symbols.
37769         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37770         (fesetenv): Do not use BP_SYM in versioned symbols.
37771         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37772         (feupdateenv): Do not use BP_SYM in versioned symbols.
37773         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37774         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37775         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37776         (feraiseexcept): Do not use BP_SYM in versioned symbols.
37777         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37778         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37779         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37780         <bp-sym.h>.
37781         (__libc_start_main): Do not use BP_SYM.
37783 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37785         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37786         redundant return line.
37787         (norm): Likewise.
37788         (denorm): Likewise.
37789         (dbl_mp): Likewise.
37790         (sub_magnitudes): Likewise.
37791         (__add): Likewise.
37792         (__sub): Likewise.
37793         (__mul): Likewise.
37794         (__inv): Likewise.
37795         (__dvd): Likewise.
37796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37797         (norm): Likewise.
37798         (denorm): Likewise.
37799         (dbl_mp): Likewise.
37800         (sub_magnitudes): Likewise.
37801         (__add): Likewise.
37802         (__sub): Likewise.
37803         (__mul): Likewise.
37804         (__inv): Likewise.
37805         (__dvd): Likewise.
37807         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37808         instead of __mul.
37809         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37810         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37811         (cc32): Likewise.
37813         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37814         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37815         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37816         of __mul for squares.
37817         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37818         function
37819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37820         Likewise.
37821         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37822         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37824 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
37826         [BZ #13550]
37827         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37828         code.
37829         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37830         prototype or function definition.  Rename ubp_* variables and
37831         parameters.  Remove argv definitions conditional on
37832         [__BOUNDED_POINTERS__].
37833         * debug/backtrace.c (__backtrace): Do not use __unbounded.
37834         * elf/dl-runtime.c (_dl_fixup): Likewise.
37835         * include/set-hooks.h (RUN_HOOK): Likewise.
37836         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37837         definition.
37838         * string/strcpy.c (strcpy): Do not use __unbounded.
37839         * sysdeps/generic/frame.h (struct layout): Likewise.
37840         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37841         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37842         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37843         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37844         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37845         (__backtrace): Likewise.
37846         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37847         use __ptrvalue.
37848         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37849         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37850         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37851         Likewise.
37852         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37853         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37854         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37855         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37856         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37857         Do not use __unbounded.
37858         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37859         Rename __unboundedrlimits parameter to rlimits in prototype.
37860         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37861         Do not use __unbounded.
37862         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37863         not use __ptrvalue.
37864         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37865         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37866         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37867         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37868         __ptrvalue or __unbounded.
37869         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37870         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37871         use __unbounded.
37872         (__new_msgctl): Do not use __ptrvalue.
37873         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37874         __unbounded.
37875         (__libc_msgrcv): Do not use __ptrvalue.
37876         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37877         startup_info): Do not use __unbounded.
37878         (__libc_start_main): Likewise.  Rename ubp_* variables and
37879         parameters.  Remove argv definitions conditional on
37880         [__BOUNDED_POINTERS__].
37881         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37882         __ptrvalue.
37883         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37884         use __unbounded.
37885         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37886         or __ptrvalue.
37887         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37888         use __unbounded.
37889         (__new_shmctl): Do not use __ptrvalue.
37890         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37891         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37892         Likewise.
37893         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37894         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37895         (__libc_sigaction): Likewise.
37896         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37897         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37898         Likewise.
37899         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37901 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
37903         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37905         * string/mempcpy.c: Implement by calling memcpy.
37907 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37909         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37911         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37912         evaluation.
37914         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37915         values in the mantissa.
37917         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37918         minimize writes to Z.
37919         (sub_magnitudes): Simplify code a bit.
37921 2013-02-12  Roland McGrath  <roland@hack.frob.com>
37923         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37924         from the message.  The linker prefixes all warnings with that already.
37926 2013-02-12  Andreas Schwab  <schwab@suse.de>
37928         [BZ #15078]
37929         * posix/regexec.c (extend_buffers): Add parameter min_len.
37930         (check_matching): Pass minimum needed length.
37931         (clean_state_log_if_needed): Likewise.
37932         (get_subexp): Likewise.
37933         * posix/Makefile (tests): Add bug-regex34.
37934         (bug-regex34-ENV): Define.
37935         * posix/bug-regex34.c: New file.
37937         [BZ #11561]
37938         * posix/regcomp.c (parse_bracket_exp): When looking up collating
37939         elements compare against the byte sequence of it, not its name.
37940         * posix/Makefile (tests): Add bug-regex35.
37941         (bug-regex35-ENV): Define.
37942         * posix/bug-regex35.c: New file.
37944 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37946         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
37947         comment.
37948         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37949         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37950         (CHECK_EOL): Add undef.
37952 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
37954         * bits/stdlib-bsearch.h: New file.
37955         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37956         * stdlib/stdlib.h: Likewise.
37958 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37960         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37961         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37962         declaration.
37963         * manual/search.texi (Array Search Function): Add missing const in
37964         lfind prototype.
37965         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37966         declaration to use rlim_t.
37967         (Basic Scheduling Functions): Remove erroneous const from
37968         sched_getparam prototype.  Remove erroneous * from
37969         sched_get_priority_max and sched_get_priority_min prototypes.
37970         (Resource Usage): Fix summary @comment on vtimes to refer to
37971         sys/vtimes.h rather than vtimes.h.
37972         Add missing *s in vtimes prototype.
37973         (Limits on Resources): Fix ulimit prototype to return long int.
37974         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37975         prototypes to use long int rather than double.
37976         (BSD Random): Fix initstate and setstate to use char *, not void *.
37977         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37978         prototype to make second argument 'struct aiocb64 *const[]'.
37979         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37980         (Status of AIO Operations): Remove erroneous const in aio_return and
37981         aio_return64 prototypes.
37982         (Synchronizing I/O): Fix sync prototype to return void.
37983         * manual/startup.texi (Suboptions): Remove an erroneous const in
37984         getsubopt prototype.
37985         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37986         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37987         use size_t rather than int.
37988         (Scanning All Users): Likewise for getpwent_r.
37989         (Setting Groups): Add missing const to setgroups prototype.
37990         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37991         * manual/socket.texi (Host Names): Fix gethostbyaddr and
37992         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37993         'const void *' rather than 'const char *'.
37994         (Host Address Functions): Likewise for inet_ntop.
37995         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37996         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37997         ssize_t for return value.
37998         (Sending Data): Likewise for send, sendto, sendmsg.
37999         (Socket Option Functions): Add a missing const in setsockopt prototype.
38000         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38001         use wchar_t for the argument.
38002         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38003         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38004         take no arguments.
38005         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38006         double/float/long double for second argument.
38007         Fix return types of significand, significandf, significandl.
38008         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38009         argument in fchmod prototype.
38010         (File Owner): Use uid_t and gid_t in fchown prototype.
38011         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38012         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38013         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38014         use 'const struct dirent **' as argument types to CMP function pointer
38015         argument.
38016         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38017         (File Times): Fix summary magic @comment for struct utimbuf and utime
38018         to refer to utime.h, not time.h.
38019         * manual/string.texi (Argz Functions): Add missing const in
38020         argz_extract and argz_next prototypes.
38021         (Finding Tokens in a String): Likewise for basename.
38022         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38023         (Copying and Concatenation): Fix typo in wmemmove prototype.
38024         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38025         (Signal Stack): Remove erroneous const in sigstack prototype.
38026         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38027         prototype.
38028         (Simple Calendar Time): Likewise for stime.
38029         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38030         prototype.
38031         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38032         say sys/sysctl.h instead.
38033         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38034         and vsyslog prototypes.
38036 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38038         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38039         Remove.
38041 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38043         * misc/sys/mman.h: Fix typo in mremap comment.
38045 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38047         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38048         the '\0' terminator.
38050 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38052         [BZ #13550]
38053         * debug/segfault.c: Don't include <bp-checks.h>.
38054         * sysdeps/generic/bp-checks.h: Remove file.
38055         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38056         (__GETDENTS): Don't use CHECK_N.
38057         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38058         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38059         (__getgroups): Don't use CHECK_N.
38060         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38061         (setgroups): Don't use CHECK_N.
38062         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38063         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38064         (__libc_msgrcv): Don't use CHECK_N.
38065         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38066         (__libc_msgsnd): Don't use CHECK_N.
38067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38068         <bp-checks.h>.
38069         (__libc_pread): Don't use CHECK_N.
38070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38071         include <bp-checks.h>.
38072         (__libc_pread64): Don't use CHECK_N.
38073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38074         include <bp-checks.h>.
38075         (__libc_pwrite): Don't use CHECK_N.
38076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38077         include <bp-checks.h>.
38078         (__libc_pwrite64): Don't use CHECK_N.
38079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38080         <bp-checks.h>.
38081         (__libc_pread): Don't use CHECK_N.
38082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38083         include <bp-checks.h>.
38084         (__libc_pread64): Don't use CHECK_N.
38085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38086         include <bp-checks.h>.
38087         (__libc_pwrite): Don't use CHECK_N.
38088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38089         include <bp-checks.h>.
38090         (__libc_pwrite64): Don't use CHECK_N.
38091         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38092         (do_pread): Don't use CHECK_N.
38093         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38094         (do_pread64): Don't use CHECK_N.
38095         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38096         (do_pwrite): Don't use CHECK_N.
38097         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38098         (do_pwrite64): Don't use CHECK_N.
38099         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38100         (__libc_readv): Don't use CHECK_N.
38101         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38102         (semop): Don't use CHECK_N.
38103         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38104         <bp-checks.h>.
38105         (semtimedop): Don't use CHECK_N.
38106         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38107         (__libc_pread): Don't use CHECK_N.
38108         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38109         <bp-checks.h>.
38110         (__libc_pread64): Don't use CHECK_N.
38111         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38112         <bp-checks.h>.
38113         (__libc_pwrite): Don't use CHECK_N.
38114         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38115         <bp-checks.h>.
38116         (__libc_pwrite64): Don't use CHECK_N.
38117         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38118         <bp-checks.h>.
38119         (__libc_msgrcv): Don't use CHECK_N.
38120         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38121         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38122         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38123         (__libc_writev): Don't use CHECK_N.
38125 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38127         * string/strcpy.c: Removed unused variable.
38129         * Makeconfig (+sysdep-includes): Define with := rather than =.
38130         Use an existing include/ subdir of each sysdeps dir before it.
38132 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38134         * nscd/connection.c (register_traced_file): Comment function.
38135         [HAVE_INOTIFY] (union __inev): Define.
38136         [HAVE_INOTIFY] (inotify_check_files): New function.
38137         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38138         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38139         clear_db_cache.
38140         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38142 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38144         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38145         loaded if not already and that a failure is permanent.
38147 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38149         [BZ #15006]
38150         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38151         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38153 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38155         [BZ #13550]
38156         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38157         (CHECK_1_NULL_OK): Likewise.
38158         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38159         (__fxstat): Do not use CHECK_1.
38160         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38161         <bp-checks.h>.
38162         (___fxstat64): Do not use CHECK_1.
38163         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38164         <bp-checks.h>.
38165         (__fxstatat): Do not use CHECK_1.
38166         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38167         <bp-checks.h>.
38168         (__fxstatat64): Do not use CHECK_1.
38169         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38170         <bp-checks.h>.
38171         (__fxstat): Do not use CHECK_1.
38172         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38173         <bp-checks.h>.
38174         (__fxstatat): Do not use CHECK_1.
38175         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38176         <bp-checks.h>.
38177         (__getresgid): Do not use CHECK_1.
38178         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38179         <bp-checks.h>.
38180         (__getresuid): Do not use CHECK_1.
38181         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38182         <bp-checks.h>.
38183         (__lxstat): Do not use CHECK_1.
38184         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38185         <bp-checks.h>.
38186         (__old_msgctl): Do not use CHECK_1.
38187         (__new_msgctl): Likewise.
38188         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38189         <bp-checks.h>.
38190         (__new_setrlimit): Do not use CHECK_1.
38191         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38192         <bp-checks.h>.
38193         (__old_shmctl): Do not use CHECK_1.
38194         (__new_shmctl): Likewise.
38195         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38196         <bp-checks.h>.
38197         (__xstat): Do not use CHECK_1.
38198         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38199         (__lxstat): Do not use CHECK_1.
38200         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38201         <bp-checks.h>.
38202         (___lxstat64): Do not use CHECK_1.
38203         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38204         (__old_msgctl): Do not use CHECK_1.
38205         (__new_msgctl): Likewise.
38206         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38207         <bp-checks.h>.
38208         (__gettimeofday): Do not use CHECK_1.
38209         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38210         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38211         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38212         <bp-checks.h>.
38213         (__gettimeofday): Do not use CHECK_1.
38214         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38215         (__old_shmctl): Do not use CHECK_1_NULL_OK.
38216         (__new_shmctl): Do not use CHECK_1.
38217         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38218         <bp-checks.h>.
38219         (do_sigtimedwait): Do not use CHECK_1.
38220         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38221         <bp-checks.h>.
38222         (do_sigwaitinfo): Do not use CHECK_1.
38223         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38224         <bp-checks.h>.
38225         (msgctl): Do not use CHECK_1.
38226         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38227         <bp-checks.h>.
38228         (shmctl): Do not use CHECK_1.
38229         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38230         (ustat): Do not use CHECK_1.
38231         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38232         <bp-checks.h>.
38233         (__fxstat): Do not use CHECK_1.
38234         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38235         <bp-checks.h>.
38236         (__fxstatat): Do not use CHECK_1.
38237         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38238         <bp-checks.h>.
38239         (__lxstat): Do not use CHECK_1.
38240         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38241         <bp-checks.h>.
38242         (__xstat): Do not use CHECK_1.
38243         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38244         (__xstat): Do not use CHECK_1.
38245         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38246         (___xstat64): Do not use CHECK_1.
38248         [BZ #13550]
38249         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38250         definitions.
38251         (CHECK_BOUNDS_HIGH): Likewise.
38252         * string/strcpy.c: Do not include <bp-checks.h>.
38253         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38255 2013-02-07  Roland McGrath  <roland@hack.frob.com>
38257         * nscd/nscd-client.h (__nscd_drop_map_ref):
38258         Add __attribute__ ((unused)).
38259         * nis/nss-nisplus.h (niserr2nss): Likewise.
38261         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38262         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38264         * csu/libc-tls.c (init_static_tls, init_slotinfo):
38265         Remove inline keyword.
38266         * include/rounding-mode.h (round_away): Likewise.
38267         * libio/wfileops.c (adjust_wide_data): Likewise.
38268         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38269         (__m128i_strloadu_tolower): Likewise.
38270         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38271         (__m128i_strloadu_tolower): Likewise.
38272         * time/mktime.c (ydhms_diff): Likewise.
38273         * locale/elem-hash.h (elem_hash): Likewise.
38274         * locale/setlocale.c (setdata): Likewise.
38275         * posix/regex_internal.h (re_string_char_size_at): Likewise.
38276         (re_string_wchar_at): Likewise.
38277         (bitset_not, bitset_merge, bitset_mask): Likewise.
38278         [!(__GNUC__ > 3)] (inline): Remove macro.
38279         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38280         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38281         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38282         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38283         * string/memcmp.c (memcmp_bytes): Likewise.
38284         * locale/programs/locarchive.c (compute_hashval): Likewise.
38285         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38286         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38287         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38288         * nss/getent.c (print_rpc, print_protocols): Likewise.
38289         (print_passwd, print_group, print_aliases): Likewise.
38290         * nis/nss-nisplus.h (niserr2nss): Likewise.
38291         * nscd/connections.c (restart_p): Likewise.
38292         Change return type to bool.
38294 2013-02-05  Roland McGrath  <roland@hack.frob.com>
38296         * Makeconfig (all-Depend-files): Add existing
38297         $(sorted-subdirs:=/Depend) files.
38298         (all-subdirs): Remove nss.
38299         * sysdeps/unix/inet/Subdirs: Add it here instead.
38300         * hesiod/Depend: New file.
38302         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38303         instead of calling alloca.
38305         * io/lseek.c (__lseek): Rename to __libc_lseek.
38306         Define __lseek as an alias.
38308         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38310 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
38312         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38313         else clause and remove check for non-standard endianness.
38315 2013-02-04  David S. Miller  <davem@davemloft.net>
38317         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38319 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
38321         [BZ #13550]
38322         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
38323         (__ubp_memchr): Remove prototype.
38324         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
38325         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38326         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
38327         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38328         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
38329         Remove alias.
38330         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
38331         (__ubp_memchr): Likewise.
38332         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
38333         (__ubp_memchr): Likewise.
38334         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
38335         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
38336         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
38337         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
38338         CHECK_STRING.
38339         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38340         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
38341         (__getcwd): Do not use CHECK_STRING.
38342         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38343         <bp-checks.h>.
38344         (__real_chown): Do not use CHECK_STRING.
38345         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
38346         <bp-checks.h>.
38347         (fchownat): Do not use CHECK_STRING.
38348         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
38349         CHECK_STRING.
38350         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38351         <bp-checks.h>.
38352         (__lchown): Do not use CHECK_STRING.
38353         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38354         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38355         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38356         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
38357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38358         include <bp-checks.h>.
38359         (truncate64): Do not use CHECK_STRING.
38360         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38361         <bp-checks.h>.
38362         (__real_chown): Do not use CHECK_STRING.
38363         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38364         <bp-checks.h>.
38365         (__lchown): Do not use CHECK_STRING.
38366         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38367         <bp-checks.h>.
38368         (__chown): Do not use CHECK_STRING.
38369         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
38370         <bp-checks.h>.
38371         (truncate64): Do not use CHECK_STRING.
38372         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
38373         Likewise.
38374         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
38375         (__xmknod): Do not use CHECK_STRING.
38376         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38377         <bp-checks.h>.
38378         (__xmknodat): Do not use CHECK_STRING.
38379         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38380         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
38382 2013-02-04  Andreas Schwab  <schwab@suse.de>
38384         [BZ #14142]
38385         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38386         * include/netdb.h: Likewise for h_errno.
38387         * elf/tst-stackguard1.c: Include <tls.h>.
38389 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
38391         * elf/link.h (struct link_map): Extend the l_addr comment.
38392         * include/link.h (struct link_map): Likewise.
38394 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
38396         [BZ #13550]
38397         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38398         (BOUNDED_1): Remove macro.
38399         * debug/backtrace.c: Don't include <bp-checks.h>.
38400         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38401         (__backtrace): Likewise.
38402         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38403         <bp-checks.h>.
38404         (__backtrace): Don't use BOUNDED_1.
38405         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38406         <bp-checks.h>.
38407         (__backtrace): Don't use BOUNDED_1.
38408         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38409         (__backtrace): Don't use BOUNDED_1.
38410         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38411         (shmat): Don't use BOUNDED_N.
38413 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
38415         [BZ #13550]
38416         * sysdeps/generic/bp-start.h: Remove file.
38417         * csu/libc-start.c: Don't include <bp-start.h>.
38418         (LIBC_START_MAIN): Set up __environ directly instead of using
38419         INIT_ARGV_and_ENVIRON.
38420         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38421         <bp-start.h>.
38423         [BZ #13550]
38424         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38425         definitions.
38426         (CHECK_FCNTL): Likewise.
38427         (CHECK_N_PAGES): Likewise.
38429         [BZ #13550]
38430         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38431         definitions.
38432         (CHECK_SIGSET_NULL_OK): Likewise.
38433         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38434         <bp-checks.h>.
38435         (sigpending): Don't use CHECK_SIGSET.
38436         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38437         <bp-checks.h>.
38438         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38439         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38440         <bp-checks.h>.
38441         (do_sigsuspend): Don't use CHECK_SIGSET.
38442         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38443         use CHECK_SIGSET.
38444         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38445         (do_sigwait): Don't use CHECK_SIGSET.
38446         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38447         use CHECK_SIGSET.
38448         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38449         include <bp-checks.h>.
38450         (sigpending): Don't use CHECK_SIGSET.
38451         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38452         include <bp-checks.h>.
38453         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38454         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38455         <bp-checks.h>.
38456         (sigpending): Don't use CHECK_SIGSET.
38457         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38458         <bp-checks.h>.
38459         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38461         [BZ #13550]
38462         * sysdeps/generic/bp-semctl.h: Remove file.
38463         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38464         <bp-checks.h> and <bp-semctl.h>.
38465         (__old_semctl): Don't use CHECK_SEMCTL.
38466         (__new_semctl): Likewise.
38467         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38468         and <bp-semctl.h>.
38469         (__old_semctl): Don't use CHECK_SEMCTL.
38470         (__new_semctl): Likewise.
38471         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38472         <bp-checks.h> and <bp-semctl.h>.
38473         (__old_semctl): Don't use CHECK_SEMCTL.
38474         (__new_semctl): Likewise.
38475         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38476         <bp-checks.h> and <bp-semctl.h>.
38477         (semctl): Don't use CHECK_SEMCTL.
38479         [BZ #13550]
38480         * Makerules (elide-bp-thunks): Remove variable.
38481         (elide-routines.oS): Don't use $(elide-bp-thunks).
38482         (elide-routines.os): Likewise.
38483         (elide-routines.o): Likewise.
38484         (elide-routines.op): Likewise.
38485         (elide-routines.og): Likewise.
38486         (objects): Don't use $(bp-thunks).
38487         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38488         include.
38489         (common-generated): Do not add s-proto-bp.d.
38490         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38491         (int): Likewise.
38492         (typ): Likewise.
38493         Do not generate makefile rules for bounded-pointer thunks.
38494         * sysdeps/generic/bp-thunks.h: Remove file.
38495         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38496         * sysdeps/unix/s-proto-bp.S: Likewise.
38498         [BZ #15062]
38499         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38500         parts of result separately when argument is not close to line from
38501         -i to i and one part of argument is small.
38502         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38503         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38504         * math/libm-test.inc (cacos_test): Add more tests.
38505         (casin_test): Likewise.
38506         (casinh_test): Likewise.
38507         * sysdeps/i386/fpu/libm-test-ulps: Update.
38508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38510 2013-01-31  David S. Miller  <davem@davemloft.net>
38512         * po/de.po: Update from translation team.
38514 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
38516         * time/tzfile.c: Include stdint.h for SIZE_MAX.
38518 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
38520         * configure.in (_AC_PROG_CC_C89): New definition.
38521         * configure: Regenerate.
38523         * configure.in (AC_PROG_CPP): New definition.
38524         * configure: Regenerate.
38526 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38528         * debug/tst-backtrace.h: New file.
38529         * debug/tst-backtrace2.c: Include tst-backtrace.h.
38530         (ret): Remove variable.
38531         (x): Likewise.
38532         (FAIL): Remove macro.
38533         (NO_INLINE): Likewise.
38534         (fn1): Use match function instead of strstr.
38535         * debug/tst-backtrace3.c: Include tst-backtrace.h.
38536         (ret): Remove variable.
38537         (x): Likewise.
38538         (FAIL): Remove macro.
38539         (NO_INLINE): Likewise.
38540         (fn): Use match function instead of strstr.
38541         * debug/tst-backtrace4.c: Include tst-backtrace.h.
38542         (ret): Remove variable.
38543         (x): Likewise.
38544         (FAIL): Remove macro.
38545         (NO_INLINE): Likewise.
38546         (handle_signal): Use match function instead of strstr.
38547         * debug/tst-backtrace5.c: Include tst-backtrace.h.
38548         (ret): Remove variable.
38549         (x): Likewise.
38550         (FAIL): Remove macro.
38551         (NO_INLINE): Likewise.
38552         (handle_signal): Use match function instead of strstr.
38554 2013-01-23  Roland McGrath  <roland@hack.frob.com>
38556         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38558 2013-01-23  David S. Miller  <davem@davemloft.net>
38560         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38561         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38562         argument of CAS if possible.
38563         * sysdeps/sparc/sparc64/bits/atomic.h
38564         (__arch_compare_and_exchange_val_32_acq): Likewise.
38565         (__arch_compare_and_exchange_val_64_acq): Likewise.
38567 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
38569         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38570         * sysdeps/posix/ulimit.c: ... this.
38571         Include <limits.h>.
38572         * sysdeps/unix/bsd/ulimit.c: Remove file.
38574 2013-01-23  Adam Conrad  <adconrad@0c3.net>
38576         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38577         (LDFLAGS-tst-array5): Likewise.
38579 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38581         [BZ #15036]
38582         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38583         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38584         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38585         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38587 2013-01-21  David S. Miller  <davem@davemloft.net>
38589         * sysdeps/sparc/backtrace.c: New file.
38590         * sysdeps/sparc/sparc32/backtrace.h: New file.
38591         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38592         * sysdeps/sparc/sparc64/backtrace.h: New file.
38593         * sysdeps/sparc/sparc64/backtrace.c: Delete.
38594         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38595         -funwind-tables.
38597 2013-01-21  Andreas Schwab  <schwab@suse.de>
38599         [BZ #15020]
38600         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38601         closed its stdout.
38603 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
38605         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38606         "mpa2.h".
38607         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38609 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
38610             Mark Mitchell  <mark@codesourcery.com>
38611             Tom de Vries  <tom@codesourcery.com>
38612             Paul Pluzhnikov  <ppluzhnikov@google.com>
38614         * debug/tst-backtrace2.c: New file.
38615         * debug/tst-backtrace3.c: Likewise.
38616         * debug/tst-backtrace4.c: Likewise.
38617         * debug/tst-backtrace5.c: Likewise.
38618         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38619         (CFLAGS-tst-backtrace3.c): Likewise.
38620         (CFLAGS-tst-backtrace4.c): Likewise.
38621         (CFLAGS-tst-backtrace5.c): Likewise.
38622         (LDFLAGS-tst-backtrace2): Likewise.
38623         (LDFLAGS-tst-backtrace3): Likewise.
38624         (LDFLAGS-tst-backtrace4): Likewise.
38625         (LDFLAGS-tst-backtrace5): Likewise.
38626         (tests): Add new tests tst-backtrace2, tst-backtrace3,
38627         tst-backtrace4 and tst-backtrace5.
38629 2013-01-18  Anton Blanchard  <anton@samba.org>
38630             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38632         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38633         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38634         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38635         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38637         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38638         "+r" and remove output regs list as redundant.  Add explicit inline
38639         asm to specify register of return val to work around compiler codegen
38640         bug.  Remove (int) cast on return value.  Add return type parameter to
38641         use in macro so that this macro does not truncate return value for
38642         64-bit values.
38643         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38644         pass to INTERNAL_VSYSCALL_NCS.
38645         (INLINE_VSYSCALL): Add 'long int' as return type to
38646         INTERNAL_VSYSCALL_NCS macro invocation.
38647         (INTERNAL_VSYSCALL): Add 'long int' as return type to
38648         INTERNAL_VSYSCALL_NCS macro invocation.
38649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38651 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38653         [BZ #14496]
38654         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38655         Fix application of SIMD FP exception mask.
38657         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38658         mp_no from a power of two.
38659         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38660         __mpexp_twomm1.  Use __pow_mp.
38662         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38663         multiplication.
38665 2013-01-17  David S. Miller  <davem@davemloft.net>
38667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38669 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38671         [BZ #15023]
38672         * include/complex.h: Condition contents on [!_COMPLEX_H].
38673         (__kernel_casinhf): New prototype.
38674         (__kernel_casinh): Likewise.
38675         (__kernel_casinhl): Likewise.
38676         * math/Makefile (libm_calls): Add k_casinh.
38677         * math/k_casinh.c: New file.
38678         * math/k_casinhf.c: Likewise.
38679         * math/k_casinhl.c: Likewise.
38680         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38681         finite nonzero arguments.
38682         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38683         finite nonzero arguments.
38684         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38685         finite nonzero arguments.
38686         * math/s_casinh.c: Do not include <float.h>.
38687         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38688         * math/s_casinhf.c: Do not include <float.h>.
38689         (__casinhf): Move code for finite nonzero arguments to
38690         k_casinhf.c.
38691         * math/s_casinhl.c: Do not include <float.h>.
38692         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38693         redefine.
38694         (__casinhl): Move code for finite nonzero arguments to
38695         k_casinhl.c.
38696         * math/libm-test.inc (cacos_test): Add more tests.
38697         * sysdeps/i386/fpu/libm-test-ulps: Update.
38698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38700 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
38702         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38703         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38704         [!HAVE_MREMAP]: Remove [defined linux] case.
38705         * malloc/arena.c: Do not include <malloc-sysdep.h>.
38707 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38709         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38711 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
38713         * elf/elf.h (R_386_SIZE32): New relocation.
38714         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38715         R_386_SIZE32.
38716         (elf_machine_rela): Likewise.
38717         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38718         R_X86_64_SIZE64 and R_X86_64_SIZE32.
38720 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38722         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38723         (FP_FAST_FMA): Do not define.
38724         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38725         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38726         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38727         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38728         !_SOFT_FLOAT]: Likewise.
38729         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38730         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38731         value.
38732         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38733         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38734         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38735         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38736         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38737         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38738         file.
38740 2013-01-16  Andreas Schwab  <schwab@suse.de>
38742         [BZ #14327]
38743         * include/stdlib.h (__mktemp): Add declaration.
38744         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38745         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38747 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38749         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38750         definitions.
38751         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38752         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38753         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38754         definitions here.
38755         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38756         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38757         definitions.
38758         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38759         and ONE.
38760         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38761         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38762         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38763         definitions.
38764         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38765         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38766         definitions.
38767         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38769         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38771 2013-01-15  David S. Miller  <davem@davemloft.net>
38773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38774         trunc{,f} to libm-sysdep_routes.
38775         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38777         file.
38778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38780         file.
38781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38782         file.
38783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38785         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38786         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38787         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38788         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38789         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38790         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38793         nearbyint{,f} to libm-sysdep_routes.
38794         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38796         New file.
38797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38798         file.
38799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38800         New file.
38801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38802         file.
38803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38805         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38806         file.
38807         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38808         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38809         file.
38810         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38811         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38812         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38814         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38815         libc_feholdexcept and libc_fesetenv.
38817 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
38819         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38821 2013-01-14  David S. Miller  <davem@davemloft.net>
38823         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38824         (SPARC_ASM_VIS2_IFUNC): Likewise.
38825         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38827         use of 'siam' instruction.
38828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38829         Likewise.
38830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38831         Likewise.
38832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38833         Likewise.
38834         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38835         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38836         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38837         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38839         file.
38840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38841         file.
38842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38843         file.
38844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38845         file.
38846         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38847         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38848         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38849         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38851         new VIS2 routines.
38852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38855         Likewise.
38856         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38857         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38858         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38859         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38861         routines to libm-sysdep_routines.
38862         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38865         fdim/fdimf to libm-sysdep_routines.
38866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38867         file.
38868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38870         file.
38871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38874         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38875         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38876         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38877         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38879 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38881         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38882         to optimize copies.
38884         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38885         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38886         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38888         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38889         local variable MPTWO.
38890         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38891         Likewise.
38893 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38895         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38896         GLOB_NOESCAPE.
38898 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38900         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38902 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38904         * manual/pattern.texi (glob_t): Document gl_flags.
38905         (glob64_t): Likewise.
38907 2013-01-11  David S. Miller  <davem@davemloft.net>
38909         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38910         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38911         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
38912         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38913         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38914         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38915         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38916         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38917         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38918         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38919         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38920         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38921         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38923         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38924         sparc V9 rather than using V8 code.
38925         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38926         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38928         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38929         Move to...
38930         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38931         Here.
38933 2013-01-11  Roland McGrath  <roland@hack.frob.com>
38935         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38936         not in the main loop.
38937         * configure: Regenerated.
38939 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
38941         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38942         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38943         to just #else.
38944         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
38945         [!__GLIBC_HAVE_LONG_LONG] case.
38946         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38947         condition to just #else.
38948         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38949         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38950         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38951         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38952         unconditional.
38953         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38954         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38955         #elif condition to just #else.
38956         * sysdeps/unix/sysv/linux/sys/sysmacros.h
38957         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38958         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38959         #elif condition to just #else.
38961 2013-01-11  Steve Ellcey  <sellcey@mips.com>
38963         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38964         (EF_MIPS_ARCH_64): Fix value.
38965         (EF_MIPS_ARCH_32R2): New.
38966         (EF_MIPS_ARCH_64R2): New.
38968 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
38970         * Makeconfig (+link-pie-before-libc): New.
38971         (+link-pie-after-libc): Likewise.
38972         (+link-pie-tests): Likewise.
38973         (+link-pie): Rewritten.
38974         (link-before-libc): Remove $(config-LDFLAGS).
38975         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38976         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38977         (config-LDFLAGS): Renamed to ...
38978         (rtld-LDFLAGS): This.
38979         (rtld-tests-LDFLAGS): New macro.
38980         (link-libc-rpath-link): Likewise.
38981         (link-libc-tests-rpath-link): Likewise.
38982         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38983         (link-libc): Prepand $(link-libc-rpath-link).
38984         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38985         (test-program-prefix): New macro.
38986         (test-via-rtld-prefix): Likewise.
38987         (test-program-cmd): Likewise.
38988         (host-test-program-cmd): Likewise.
38989         * Makefile ($(common-objpfx)testrun.sh): Replace
38990         $(run-program-prefix) with $(test-program-prefix).
38991         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38992         $(rtld-LDFLAGS).
38993         ($(common-objpfx)shlib.lds): Likewise.
38994         (build-module-helper): Likewise.
38995         ($(common-objpfx)format.lds): Likewise.
38996         * Rules (binaries-pie-tests): New.
38997         (binaries-pie-notests): Likewise.
38998         (binaries-pie): Rewritten.
38999         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39000         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39001         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39002         (make-test-out): Replace $(host-built-program-cmd) with
39003         $(host-test-program-cmd).
39004         * config.make.in (build-hardcoded-path-in-tests): New variable.
39005         * configure.in (--enable-hardcoded-path-in-tests): New configure
39006         option.
39007         (hardcoded_path_in_tests): New AC_SUBST.
39008         * configure: Regenerated.
39009         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39010         $(built-program-cmd) with $(test-program-cmd).
39011         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39012         (test_program_cmd): This.
39013         * elf/Makefile ($(objpfx)order.out): Run test with
39014         $(test-program-prefix).
39015         ($(objpfx)order2.out): Likewise.
39016         ($(objpfx)tst-initorder.out): Likewise.
39017         ($(objpfx)tst-initorder2.out): Likewise.
39018         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39019         $(test-program-cmd).
39020         ($(objpfx)tst-array1-static.out): Likewise.
39021         ($(objpfx)tst-array2.out): Likewise.
39022         ($(objpfx)tst-array3.out): Likewise.
39023         ($(objpfx)tst-array4.out): Likewise.
39024         ($(objpfx)tst-array5.out): Likewise.
39025         ($(objpfx)tst-array5-static.out): Likewise.
39026         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39027         $(test-program-cmd).
39028         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39029         $(run-program-prefix) with $(test-program-prefix).
39030         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39031         (test_program_prefix): This.
39032         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39033         $(run-program-prefix) with $(test-program-prefix).
39034         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39035         (test_program_prefix): This.
39036         * iconvdata/tst-tables.sh: Likewise.
39037         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39038         $(run-program-prefix) with $(test-program-prefix).
39039         ($(objpfx)tst-translit.out): Likewise.
39040         ($(objpfx)tst-gettext2.out): Likewise.
39041         ($(objpfx)tst-gettext4.out): Likewise.
39042         ($(objpfx)tst-gettext6.out): Likewise.
39043         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39044         (test_program_prefix): This.
39045         * intl/tst-gettext2.sh: Likewise.
39046         * intl/tst-gettext4.sh  Likewise.
39047         * intl/tst-gettext6.sh: Likewise.
39048         * intl/tst-translit.sh: Likewise.
39049         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39050         with $(test-program-cmd).
39051         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39052         $(run-program-prefix) with $(test-program-prefix).
39053         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39054         (test_program_prefix): This.
39055         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39056         $(run-program-prefix) with $(test-program-prefix).
39057         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39058         (test_program_prefix): This.
39059         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39060         * posix/Makefile ($(objpfx)globtest.out): Replace
39061         $(run-via-rtld-prefix) and $(test-wrapper) with
39062         $(test-program-prefix) and $(test-via-rtld-prefix).
39063         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39064         $(test-program-prefix).
39065         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39066         $(host-test-program-cmd).
39067         (tst-spawn-ARGS): Likewise.
39068         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39069         $(test-program-prefix).
39070         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39071         (test_via_rtld_prefix): This.
39072         (test_wrapper): Renamed to ...
39073         (test_program_prefix): This.
39074         (run_program_prefix): Replaced by test_program_prefix.
39075         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39076         (test_program_prefix): This.
39077         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39078         with $(host-test-program-cmd).
39079         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39080         $(run-program-prefix) with $(test-program-prefix).
39081         ($(objpfx)tst-printf.out): Likewise.
39082         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39083         $(test-program-cmd).
39084         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39085         (test_program_prefix): This.
39086         * stdio-common/tst-unbputc.sh: Likewise.
39087         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39088         $(run-program-prefix) with $(test-program-prefix).
39089         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39090         (test_program_prefix): This.
39091         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39092         $(built-program-cmd) with $(test-program-cmd).
39094 2013-01-11  Andreas Jaeger  <aj@suse.de>
39096         [BZ #15003]
39097         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39098         value. Sync with Linux 3.7.
39100 2013-01-10  David S. Miller  <davem@davemloft.net>
39102         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39103         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39104         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39106 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39108         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39109         never set.
39110         * configure: Regenerated.
39112 2013-01-10  David S. Miller  <davem@davemloft.net>
39114         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39115         sparc V9 rather than using V8 code.
39116         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39117         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39119 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39121         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39122         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39123         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39124         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39125         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39126         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39127         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39128         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39129         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39130         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39131         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39132         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39133         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39134         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39135         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39136         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39137         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39138         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39139         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39140         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39141         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39142         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39143         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39144         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39145         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39146         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39147         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39149 2013-01-10  David S. Miller  <davem@davemloft.net>
39151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39153 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39155         * posix/Makefile (tests-static): New variable.
39156         (tests): Add $(tests-static).
39157         (tst-exec-static-ARGS): New variable.
39158         (tst-spawn-static-ARGS): Likewise.
39159         * posix/tst-exec-static.c: New file.
39160         * posix/tst-spawn-static.c: Likewise.
39161         * posix/tst-exec.c: Support run directly.
39162         * posix/tst-spawn.c: Likewise.
39164 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39166         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39167         long.
39168         * math/bits/mathcalls.h (llrint): Likewise.
39169         (llround): Likewise.
39170         * stdlib/stdlib.h (struct drand48_data): Likewise.
39171         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39172         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39173         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39174         Likewise.
39175         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39176         Likewise.
39177         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39178         (elf_greg_t): Likewise.
39179         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39180         (__jmp_buf): Likewise.
39181         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39182         definitions.
39183         (llrint): Likewise, for all definitions.
39184         (llrintl): Likewise.
39186         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39187         Remove [__GNUC__] condition.
39188         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39189         condition to just [__USE_ISOC99].
39190         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39192 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39194         [BZ #14200]
39195         * sysdeps/unix/sysv/linux/x86/bits/environments.h
39196         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39197         defined.
39198         (_POSIX_V6_ILP32_OFF32): Likewise.
39199         (_XBS5_ILP32_OFF32): Likewise.
39200         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39201         (__ILP32_OFFBIG_LDFLAGS): Likewise.
39203 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39205         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39207         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39208         doubles __mpexp_twomm1.  Adjust usage.
39209         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39210         Remove.
39212 2013-01-10  Andreas Schwab  <schwab@suse.de>
39214         [BZ #14964]
39215         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39216         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39218 2013-01-09  David S. Miller  <davem@davemloft.net>
39220         [BZ #15003]
39221         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39222         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39223         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39224         (TCP_FASTOPEN): Define.
39225         (tcp_repair_opt): New structure.
39226         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39227         enum values.
39228         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39229         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39230         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39231         (tcp_cookie_transactions): New structure.
39233 2013-01-09  Anton Blanchard  <anton@samba.org>
39235         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39236         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39237         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39238         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39240 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
39242         * include/features.h (__USE_ANSI): Remove.
39244 2013-01-09  Roland McGrath  <roland@hack.frob.com>
39246         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39248         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39250 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39252         * sysdeps/s390/fpu/libm-test-ulps: Update.
39254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39256         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39257         (__acr): Likewise.
39258         (__cpy): Likewise.
39259         (norm): Likewise.
39260         (denorm): Likewise.
39261         (__mp_dbl): Likewise.
39262         (__dbl_mp): Likewise.
39263         (add_magnitudes): Likewise.
39264         (sub_magnitudes): Likewise.
39265         (__add): Likewise.
39266         (__sub): Likewise.
39267         (__mul): Likewise.
39268         (__inv): Likewise.
39269         (__dvd): Likewise.
39270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
39271         (__acr): Likewise.
39272         (__cpy): Likewise.
39273         (norm): Likewise.
39274         (denorm): Likewise.
39275         (__mp_dbl): Likewise.
39276         (__dbl_mp): Likewise.
39277         (add_magnitudes): Likewise.
39278         (sub_magnitudes): Likewise.
39279         (__add): Likewise.
39280         (__sub): Likewise.
39281         (__mul): Likewise.
39282         (__inv): Likewise.
39283         (__dvd): Likewise.
39284         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
39285         (__acr): Likewise.
39286         (__cpy): Likewise.
39287         (norm): Likewise.
39288         (denorm): Likewise.
39289         (__mp_dbl): Likewise.
39290         (__dbl_mp): Likewise.
39291         (add_magnitudes): Likewise.
39292         (sub_magnitudes): Likewise.
39293         (__add): Likewise.
39294         (__sub): Likewise.
39295         (__mul): Likewise.
39296         (__inv): Likewise.
39297         (__dvd): Likewise.
39299 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
39301         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39302         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39303         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39304         2 && __USE_EXTERN_INLINES]: Likewise.
39306 2013-01-08  Andreas Jaeger  <aj@suse.de>
39308         [BZ# 14985]
39309         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39310         Remove.
39311         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39312         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39314 2013-01-07  Anton Blanchard  <anton@samba.org>
39316         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39317         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39318         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
39319         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39320         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39321         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39322         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
39323         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39325         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39326         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39327         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39328         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39329         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39330         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39331         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39332         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39333         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39334         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39335         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39336         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39337         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
39338         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39339         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39340         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
39341         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39342         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39343         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39344         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
39345         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39346         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39347         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39348         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39349         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39350         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39351         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39352         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39353         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39354         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
39355         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39356         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
39357         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39358         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39360 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
39362         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
39363         (__MALLOC_PMT): Likewise.
39364         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
39365         [__GNUC__], only on [_LIBC].
39366         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39367         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
39368         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39369         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
39370         forward declaration.
39371         (realloc_hook_ini): Likewise.
39372         (memalign_hook_ini): Likewise.
39373         (__libc_memalign): Do not use __MALLOC_PMT in variable
39374         declaration.
39375         (__libc_valloc): Likewise.
39376         (__libc_pvalloc): Likewise.
39377         (__libc_calloc): Likewise.
39378         (__posix_memalign): Likewise.
39380         [BZ #14996]
39381         * math/s_casinh.c: Include <float.h>.
39382         (__casinh): Do not do computation with squaring and square root
39383         for large arguments.
39384         * math/s_casinhf.c: Include <float.h>.
39385         (__casinhf): Do not do computation with squaring and square root
39386         for large arguments.
39387         * math/s_casinhl.c: Include <float.h>.
39388         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39389         (__casinhl): Do not do computation with squaring and square root
39390         for large arguments.
39391         * math/libm-test.inc (casin_test): Add more tests.
39392         (casinh_test): Likewise.
39393         * sysdeps/i386/fpu/libm-test-ulps: Update.
39394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39396 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
39398         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39399         (__x86_64_raw_data_cache_size): Likewise.
39400         (__x86_64_data_cache_size_half): Likewise.
39401         (__x86_64_raw_data_cache_size_half): Likewise.
39402         (__x86_64_shared_cache_size): Likewise.
39403         (__x86_64_raw_shared_cache_size): Likewise.
39404         (__x86_64_shared_cache_size_half): Likewise.
39405         (__x86_64_raw_shared_cache_size_half): Likewise.
39406         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39407         to ...
39408         (__x86_data_cache_size): This.
39409         (__x86_64_raw_data_cache_size): Renamed to ...
39410         (__x86_raw_data_cache_size): This.
39411         (__x86_64_data_cache_size_half): Renamed to ...
39412         (__x86_data_cache_size_half): This.
39413         (__x86_64_raw_data_cache_size_half): Renamed to ...
39414         (__x86_raw_data_cache_size_half): This.
39415         (__x86_64_shared_cache_size): Renamed to ...
39416         (__x86_shared_cache_size): This.
39417         (__x86_64_raw_shared_cache_size): Renamed to ...
39418         (__x86_raw_shared_cache_size): This.
39419         (__x86_64_shared_cache_size_half): Renamed to ...
39420         (__x86_shared_cache_size_half): This.
39421         (__x86_64_raw_shared_cache_size_half): Renamed to ...
39422         (__x86_raw_shared_cache_size_half): This.
39423         * sysdeps/x86_64/memcpy.S: Updated.
39424         * sysdeps/x86_64/memset.S: Likewise.
39425         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39426         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39427         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39429 2013-01-04  David S. Miller  <davem@davemloft.net>
39431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39433 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
39435         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39436         1 to avoid redefinition warning.
39437         (__USE_GNU): Don't define.
39438         (init_signaling_nan): Protoize.
39440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39442 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39444         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39445         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39446         (__cpymn): Likewise.
39447         (norm): Remove commented code.
39448         (denorm): Likewise.
39449         (__mp_dbl): Likewise.
39450         (__inv): Likewise.
39451         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39452         (__cpymn): Likewise.
39453         (norm): Remove commented code.
39454         (denorm): Likewise.
39455         (__mp_dbl): Likewise.
39456         (__inv): Likewise.
39458         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39459         mp_no value for 1.0 and 2.0.
39460         (norm): Use RADIXI instead of radixi.d.
39461         (denorm): Likewise.
39462         (__mul): Use 0.0 instead of zero.d.
39463         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39464         mp_no value for 1.0 and 2.0.
39465         (norm): Use RADIXI instead of radixi.d.
39466         (denorm): Likewise.
39467         (__mul): Use 0.0 instead of zero.d.
39469 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
39471         [BZ #14994]
39472         * math/s_casinh.c (__casinh): Reduce finite argument to first
39473         quadrant then set signs of results at the end.
39474         * math/s_casinhf.c (__casinhf): Likewise.
39475         * math/s_casinhl.c (__casinhl): Likewise.
39476         * math/libm-test.inc (casin_test): Add more tests.
39477         (casinh_test): Likewise.
39478         * sysdeps/i386/fpu/libm-test-ulps: Update.
39479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39481 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39483         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39485         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39487         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39488         declarations.
39489         (denorm): Likewise.
39490         (__mp_dbl): Likewise.
39491         (__inv): Likewise.
39493         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39494         and adjust the header comment.
39496         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39497         variable name from declaration.
39499 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
39501         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39502         Initialize COMMON_CPUID_INDEX_7 element.
39503         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39504         (CPUID_RTM): Likewise.
39505         (HAS_RTM): Likewise.
39506         (COMMON_CPUID_INDEX_7): New enum.
39508 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
39510         [BZ #14981]
39511         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39512         size is zero, record memory as freed.
39514 2013-01-03  Andreas Jaeger  <aj@suse.de>
39516         * po/ia.po: Add new Interlingua translation.
39518 2012-01-03  Allan McRae  <allan@archlinux.org>
39520         * locale/programs/localedef.c: Fix description of '--posix' flag.
39522 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
39524         * NEWS: Update dates in second copyright notice.
39525         * README: Update copyright dates in example.
39526         * manual/libc.texinfo: Update copyright dates.
39527         * scripts/test-installation.pl: Update copyright date in --version
39528         output.
39530         * hurd/ctty-input.c: Fix copyright notice formatting.
39531         * hurd/ctty-output.c: Likewise.
39532         * hurd/dtable.c: Likewise.
39533         * hurd/hurd-raise.c: Likewise.
39534         * hurd/hurdprio.c: Likewise.
39535         * hurd/msgportdemux.c: Likewise.
39536         * misc/sys/file.h: Likewise.
39537         * misc/sys/ioctl.h: Likewise.
39538         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39539         * sysdeps/mach/hurd/chdir.c: Likewise.
39540         * sysdeps/mach/hurd/fchdir.c: Likewise.
39541         * sysdeps/mach/hurd/rename.c: Likewise.
39542         * sysdeps/mach/hurd/rmdir.c: Likewise.
39543         * sysdeps/mach/hurd/seekdir.c: Likewise.
39544         * sysdeps/mach/hurd/setsid.c: Likewise.
39545         * sysdeps/posix/wait3.c: Likewise.
39547         * All files with FSF copyright notices: Update copyright dates
39548         using scripts/update-copyrights.
39549         * intl/plural.c: Regenerated.
39550         * locale/programs/charmap-kw.h: Likewise.
39551         * locale/programs/locfile-kw.h: Likewise.
39553 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39555         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39556         four values.
39558         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39559         calculation loop and add branch prediction.
39561         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39562         check access beyond bounds of m1np.
39564         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39565         MPTWO.
39566         (__inv): Remove local variable MPTWO to use the global
39567         constant.
39568         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39569         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39570         variable MPTWO.
39571         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39572         MP3HALFS static const.
39574 2013-01-01  David S. Miller  <davem@davemloft.net>
39576         * po/ca.po: Update from translation team.
39578 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
39580         * scripts/update-copyrights: New file.
39581         * Makeconfig: Reformat copyright notice.
39582         * ctype/ctype.h: Likewise.
39583         * debug/swprintf_chk.c: Likewise.
39584         * elf/dl-cache.c: Likewise.
39585         * elf/dl-debug.c: Likewise.
39586         * elf/dl-object.c: Likewise.
39587         * grp/initgroups.c: Likewise.
39588         * hurd/Makefile: Likewise.
39589         * hurd/hurd/signal.h: Likewise.
39590         * hurd/hurdfault.c: Likewise.
39591         * hurd/hurdioctl.c: Likewise.
39592         * hurd/hurdlookup.c: Likewise.
39593         * hurd/intr-msg.c: Likewise.
39594         * iconv/gconv_open.c: Likewise.
39595         * libio/swprintf.c: Likewise.
39596         * locale/lc-ctype.c: Likewise.
39597         * locale/nl_langinfo.c: Likewise.
39598         * mach/Machrules: Likewise.
39599         * mach/Makefile: Likewise.
39600         * malloc/obstack.h: Likewise.
39601         * manual/Makefile: Likewise.
39602         * manual/tsort.awk: Likewise.
39603         * misc/bits/stab.def: Likewise.
39604         * nis/nis_print_group_entry.c: Likewise.
39605         * nis/nis_table.c: Likewise.
39606         * nis/nss_compat/compat-pwd.c: Likewise.
39607         * nis/nss_compat/compat-spwd.c: Likewise.
39608         * po/Makefile: Likewise.
39609         * posix/fnmatch.c: Likewise.
39610         * posix/regex.h: Likewise.
39611         * resolv/Makefile: Likewise.
39612         * resolv/nss_dns/dns-network.c: Likewise.
39613         * resolv/res_hconf.c: Likewise.
39614         * scripts/gen-sorted.awk: Likewise.
39615         * soft-fp/soft-fp.h: Likewise.
39616         * stdio-common/printf.h: Likewise.
39617         * stdlib/monetary.h: Likewise.
39618         * stdlib/random.c: Likewise.
39619         * stdlib/random_r.c: Likewise.
39620         * sysdeps/generic/Makefile: Likewise.
39621         * sysdeps/gnu/Makefile: Likewise.
39622         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39623         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39624         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39625         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39626         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39627         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39628         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39629         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39630         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39631         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39632         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39633         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39634         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39635         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39636         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39637         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39638         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39639         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39640         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39641         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39642         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39643         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39644         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39645         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39646         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39647         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39648         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39649         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39650         * sysdeps/mach/hurd/errnos.awk: Likewise.
39651         * sysdeps/mach/hurd/fork.c: Likewise.
39652         * sysdeps/mach/hurd/getcwd.c: Likewise.
39653         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39654         * sysdeps/mach/hurd/mmap.c: Likewise.
39655         * sysdeps/mach/hurd/utimes.c: Likewise.
39656         * sysdeps/mach/hurd/xmknod.c: Likewise.
39657         * sysdeps/posix/profil.c: Likewise.
39658         * sysdeps/posix/readdir_r.c: Likewise.
39659         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39660         * sysdeps/powerpc/bits/setjmp.h: Likewise.
39661         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39662         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39663         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39664         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39665         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39666         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39667         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39668         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39669         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39670         * sysdeps/pthread/lio_listio.c: Likewise.
39671         * sysdeps/sparc/dl-procinfo.h: Likewise.
39672         * sysdeps/unix/i386/sysdep.S: Likewise.
39673         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39674         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39675         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39676         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39678         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39679         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39680         * sysdeps/unix/sysv/linux/speed.c: Likewise.
39681         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39682         * sysdeps/wordsize-32/divdi3.c: Likewise.
39683         * time/sys/time.h: Likewise.
39684         * wcsmbs/Makefile: Likewise.
39686 2013-01-01  David S. Miller  <davem@davemloft.net>
39688         * po/fr.po: Update from translation team.
39690         * catgets/gencat.c: Update copyright year.
39691         * csu/version.c: Likewise.
39692         * debug/catchsegv.sh: Likewise.
39693         * debug/pcprofiledump.c: Likewise.
39694         * debug/xtrace.sh: Likewise.
39695         * elf/ldconfig.c: Likewise.
39696         * elf/ldd.bash.in: Likewise.
39697         * elf/pldd.c: Likewise.
39698         * elf/sotruss.ksh: Likewise.
39699         * elf/sprof.c: Likewise.
39700         * iconv/iconv_prog.c: Likewise.
39701         * iconv/iconvconfig.c: Likewise.
39702         * locale/programs/locale.c: Likewise.
39703         * locale/programs/localedef.c: Likewise.
39704         * login/programs/pt_chown.c: Likewise.
39705         * malloc/memusage.sh: Likewise.
39706         * malloc/memusagestat.c: Likewise.
39707         * malloc/mtrace.pl: Likewise.
39708         * nscd/nscd.c: Likewise.
39709         * nss/getent.c: Likewise.
39710         * nss/makedb.c: Likewise.
39711         * posix/getconf.c: Likewise.
39713 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39715         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39716         numbers.
39718 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
39720         * math/bits/mathcalls.h (modf): Use __nonnull.
39722 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39724         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39725         (split): Use macro CN instead of the bare value.
39726         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39727         could be used.
39728         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39729         instead of the bare value.
39730         (power1): Likewise.
39732 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39734         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39735         __ATAN_TWOM.
39736         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39738         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39739         their values.
39740         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39741         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39742         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39743         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39745 2012-12-28  Andreas Jaeger  <aj@suse.de>
39747         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
39748         values are from Linux 3.7.
39750         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39751         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
39753 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39755         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39756         TRUE case.
39758         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39759         (norm): Likewise.
39760         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39761         variables with preprocessor constants.
39762         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39763         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39764         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39766 2012-12-27  Bruno Haible  <bruno@clisp.org>
39768         [BZ #14317]
39769         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39770         only if needed.
39772 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39774         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39775         and use variable directly.
39776         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39778         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39779         MPONE.
39780         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39781         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39782         variable MPONE.
39783         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39784         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39785         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39786         include directive.  Remove local variable MPONE.
39787         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39788         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39789         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39791 2012-12-25  David S. Miller  <davem@davemloft.net>
39793         * version.h (RELEASE): Set to "development".
39794         (VERSION): Set to "2.17.90".
39795         * NEWS: Add 2.18 section.
39797 2012-12-21  David S. Miller  <davem@davemloft.net>
39799         * po/hr.po: Update from translation team.
39801 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39803         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39805 2012-12-19  Steve Ellcey  <sellcey@mips.com>
39807         * NEWS:  Mention new memcpy for MIPS.
39809 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39811         * manual/contrib.texi (Contributors): Spelling correction.
39813 2012-12-15  David S. Miller  <davem@davemloft.net>
39815         * po/ru.po: Update from translation team.
39817 2012-12-13  David S. Miller  <davem@davemloft.net>
39819         * NEWS: Mention IFUNC testsuite enhancements.
39821         * po/pl.po: Update from translation team.
39822         * po/bg.po: Likewise.
39824         * manual/contrib.texi (Contributors): Update entries for Hongjiu
39825         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
39827 2012-12-11  David S. Miller  <davem@davemloft.net>
39829         * po/sv.po: Update from translation team.
39831         * po/vi.po: Update from translation team.
39833         * po/cs.po: Update from translation team.
39835         * po/de.po: Update from translation team.
39836         * po/eo.po: Likewise.
39837         * po/nl.po: Likewise.
39839 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39841         [BZ #14246]
39842         * manual/argp.texi (Argp Helper Functions): Move node to follow
39843         Argp Parsing State.
39845         [BZ #14872]
39846         * manual/conf.texi (Limits on File System Capacity): Mention if
39847         terminating null is included in the max size.
39849 2012-12-10  Andreas Jaeger  <aj@suse.de>
39851         * po/cs.po: Update from translation team.
39853 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39855         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39856         void pointer and cast to uintptr_t.
39857         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39858         path.
39859         * sysdeps/s390/s390-64/memcpy.S: Likewise.
39860         * sysdeps/s390/s390-64/memset.S: Likewise.
39862 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
39864         [BZ #14833]
39865         * menual/message.texi (Message Translation): Fix typos.
39866         (Helper programs for gettext): Likewise.
39868 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
39870         [BZ #14898]
39871         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39872         Change to -1.
39874 2012-12-07  David S. Miller  <davem@davemloft.net>
39876         * po/libc.pot: Update.
39878 2012-12-07  Richard Henderson  <rth@redhat.com>
39880         [BZ #10114]
39881         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39882         normal/normal case to before the switch.
39883         (_FP_DIV): Likewise.
39885 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
39886             Mike Frysinger  <vapier@gentoo.org>
39888         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39889         check for __NR_fadvise64_64.
39891 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
39893         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39894         0, not just to plain "0" as a statement.
39895         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39896         with cw.
39898 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
39900         * NEWS: Use sourceware.org in Bugzilla URL.
39902 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39905         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39907         * stdio-common/tst-put-error.c (do_test): Add newline to the
39908         padded test to ensure flush.
39910 2012-12-05  Jeff Law  <law@redhat.com>
39912         * sunrpc/etc.rpc (fedfs_admin): Add entry.
39914 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
39916         * README: Don't refer to ports add-on as distributed separately.
39917         Mention AArch64 in list of systems supported in the ports add-on.
39919         * LICENSES: Add more non-FSF copyright and license notices.
39921         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39922         ((unused)).
39924         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39926         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39927         10000 as width of padded output.
39929 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39931         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39933         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39934         variable LX with __attribute__ ((unused)).
39935         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39936         Likewise.
39937         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39938         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39939         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39940         with __attribute__ ((unused)).
39942 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
39944         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39946 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39948         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39949         (CFLAGS-nldbl-acos.c): New variable.
39950         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39951         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39952         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39953         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39954         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39955         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39956         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39957         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39958         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39959         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39960         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39961         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39962         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39963         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39964         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39965         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39966         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39967         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39968         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39969         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39970         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39971         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39972         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39973         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39974         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39975         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39976         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39977         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39978         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39979         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39980         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39981         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39982         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39983         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39984         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39985         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39986         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39987         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39988         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39989         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39990         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39991         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39992         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39993         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39994         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39995         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39996         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39997         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39998         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39999         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40000         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40001         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40002         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40003         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40004         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40005         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40006         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40007         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40008         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40009         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40010         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40011         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40012         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40013         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40014         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40015         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40016         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40017         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40018         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40019         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40020         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40021         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40022         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40023         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40024         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40025         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40026         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40027         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40028         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40029         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40030         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40031         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40032         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40033         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40034         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40035         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40036         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40037         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40038         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40039         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40040         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40041         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40042         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40043         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40044         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40045         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40046         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40049         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40051         [BZ #14914]
40052         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40053         whole low double instead of just low 47 bits when splitting values
40054         into two parts.
40056 2012-12-03  Allan McRae  <allan@archlinux.org>
40058         * manual/stdio.texi (Predefined Printf Handlers): Remove
40059         @hsep and @vsep usage.
40061 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40063         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40064         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40066 2012-12-03  Jeff Law  <law@redhat.com>
40068         * time/sys/time.h (settimeofday): Do not mark TV argument
40069         as __nonnull.
40071 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40073         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40074         when currently writing and seek to current position when not.
40075         * libio/Makefile (tests): Remove bug-fclose1.
40076         * libio/bug-fclose1.c: Delete.
40078 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40080         * manual/arith.texi (feenableexcept): Fix typo.
40081         (fedisableexcept): Likewise.
40083 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40085         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40086         second, differently-typed declaration, rather than a cast.
40088 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40090         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40091         * include/rpc/svc.h: ... here.
40093 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40095         [BZ #13013]
40096         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40097         depending n and resplen2 to catch cases where answer
40098         equals answerp2.
40100 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40102         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40103         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40105 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40107         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40109 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40111         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40113 2012-11-28  Jeff Law  <law@redhat.com>
40115         [BZ #13761]
40116         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40117         dataset_temporary.  Track alloca usage into alloca_used.
40118         If dataset is large allocate and release it via malloc/free.
40120 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40122         [BZ #14197]
40123         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40125 2012-11-28  David S. Miller  <davem@davemloft.net>
40127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40129 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40131         [BZ #14803]
40132         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40133         of pi/2 rounded to nearest to 64 bits.
40134         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40135         nearest to 64 bits.
40136         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40137         bits.
40139 2012-11-28  Jeff Law <law@redhat.com>
40140             Martin Osvald <mosvald@redhat.com>
40142         [BZ #14889]
40143         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40144         * sunrpc/svc.c: Include time.h.
40145         (__svc_accept_failed): New function.
40146         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40147         any reason other than EINTR, call __svc_accept_failed.
40148         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40149         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40151 2012-11-28  Andreas Schwab  <schwab@suse.de>
40153         * scripts/abilist.awk: Also handle indirect functions in .opd
40154         section.
40156 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40158         [BZ #13881]
40159         * sysdeps/x86/fpu/powl_helper.c: New file.
40160         * sysdeps/x86/fpu/Makefile: Likewise.
40161         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40162         (p3): New object.
40163         (__ieee754_powl): Use __powl_helper for finite arguments except
40164         integer exponents below 8.
40165         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40166         (p3): New object.
40167         (__ieee754_powl): Use __powl_helper for finite arguments except
40168         integer exponents below 8.
40169         * math/libm-test.inc (pow_test): Add more tests and enable some
40170         previously disabled tests.
40171         * sysdeps/i386/fpu/libm-test-ulps: Update.
40172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40174 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40175             Carlos O'Donell  <carlos_odonell@mentor.com>
40177         * nss/makedb.c (is_prime): Assert that input is odd and greater
40178         than 4.  Note that fact in a comment too.
40179         (next_prime): Add 4 to input.
40181 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40183         [BZ #11741]
40184         * libio/Makefile (tests): Add test case tst-fwrite-error.
40185         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40186         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40187         * libio/tst-fwrite-error.c: New test case.
40189 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
40191         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40192         before casting to void *.
40193         * include/libc-internal.h (__pointer_type): New macro.
40194         (__integer_if_pointer_type_sub): Likewise.
40195         (__integer_if_pointer_type): Likewise.
40196         (cast_to_integer): Likewise.
40197         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40198         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40199         before casting to atomic64_t.
40200         (atomic_exchange_acq): Likewise.
40201         (__arch_exchange_and_add_body): Likewise.
40202         (__arch_add_body): Likewise.
40203         (atomic_add_negative): Likewise.
40204         (atomic_add_zero): Likewise.
40206 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
40208         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40209         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40210         (add_fdes): Likewise.
40211         (linear_search_fdes): Likewise.
40212         (binary_search_unencoded_fdes): Likewise.
40214 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
40216         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40218 2012-11-24  Adam Conrad  <adconrad@0c3.net>
40220         * configure.in: Autodetect C++ header directories.
40221         * configure: Regenerated.
40223 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
40225         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40227 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
40229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40231 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
40233         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40234         LDBL_MANT_DIG == 106]: Disable some tests.
40235         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40236         Likewise.
40237         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40238         Likewise.
40240         [BZ #14871]
40241         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40242         input for small inputs.  Return +/- pi/2 for large inputs.
40243         * math/libm-test.inc (atan_test): Add more tests.
40245         * sysdeps/generic/unwind-dw2-fde-glibc.c
40246         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40247         __attribute__ ((unused)).
40249         [BZ #14645]
40250         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40251         x * y if x and y are nonzero and z is zero.
40253         [BZ #14811]
40254         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40255         nonzero exponents with absolute value below 0x1p-117 to +/-
40256         0x1p-117.
40258         [BZ #14869]
40259         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40260         up arguments below 2**-450, not just those below 2**-500.
40261         * math/libm-test.inc (hypot_test): Add another test.
40263         [BZ #14868]
40264         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40265         Return a+b for ratio over 2**120, not 2**60.
40266         * math/libm-test.inc (hypot_test): Add another test.
40268         * math/libm-test.inc (clog_test): Use
40269         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40270         (clog10_test): Likewise.
40272         [BZ #6778]
40273         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
40275 2012-11-22  Andreas Schwab  <schwab@suse.de>
40277         * sysdeps/i386/fpu/libm-test-ulps: Update.
40279 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
40281         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40282         printf output with newline.
40284 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
40286         [BZ #14865]
40287         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40288         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40289         -z nodlopen, -z initfirst and -z execstack support.
40290         * configure: Regenerated.
40292         * elf/elf.h (DF_1_NODIRECT): New macro.
40293         (DF_1_IGNMULDEF): Likewise.
40294         (DF_1_NOKSYMS): Likewise.
40295         (DF_1_NOHDR): Likewise.
40296         (DF_1_EDITED): Likewise.
40297         (DF_1_NORELOC): Likewise.
40298         (DF_1_SYMINTPOSE): Likewise.
40299         (DF_1_GLOBAUDIT): Likewise.
40300         (DF_1_SINGLETON): Likewise.
40301         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40302         DT_1_SUPPORTED_MASK bits.
40303         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40305 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
40307         * sysdeps/unix/make-syscalls.sh: Document prefixes.
40309 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
40311         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40312         macro.
40314         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40315         (sendmmsg): Move declarations...
40316         * socket/sys/socket.h: ... here.
40317         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
40318         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
40319         include it from...
40320         * socket/recvmmsg.c: ... this new file.
40321         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
40322         (sendmmsg): Rename to __sendmmsg, create weak alias and make
40323         definition of __sendmmsg hidden.
40324         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
40325         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
40326         Move ENOSYS stub into and include it from...
40327         * socket/sendmmsg.c: ... this new file.
40328         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40329         (sysdep_routines): Move recvmmsg and sendmmsg...
40330         * socket/Makefile (routines): ... here.
40331         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
40332         (GLIBC_PRIVATE): Add __sendmmsg.
40333         * include/sys/socket.h (__sendmmsg): Add declarations.
40334         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
40335         sendmmsg.
40337 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
40339         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
40340         variable I1 with __attribute__ ((unused)).
40341         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40343 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40345         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
40346         DUMMY variables with __attribute__ ((unused)).
40348         * bits/byteswap.h: Include <bits/types.h>.
40349         (__bswap_64): Use __uint64_t instead of unsigned long long int.
40351 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40353         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
40354         string_t.  Do not manually set errno.
40355         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
40356         length with __strnlen.  Make sure to both set errno and return it on
40357         failure.
40359 2012-11-19  David S. Miller  <davem@davemloft.net>
40361         With help from Joseph Myers.
40362         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
40363         very large arguments properly.
40364         * math/libm-test.inc (atan_test): New tests.
40365         (atan2_test): New tests.
40366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40367         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40369 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40371         [BZ #14856]
40372         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
40373         Define to 3.
40375         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
40376         [POSIX] (EADDRNOTAVAIL): Likewise.
40377         [POSIX] (EAFNOSUPPORT): Likewise.
40378         [POSIX] (EALREADY): Likewise.
40379         [POSIX] (ECONNABORTED): Likewise.
40380         [POSIX] (ECONNREFUSED): Likewise.
40381         [POSIX] (ECONNRESET): Likewise.
40382         [POSIX] (EDESTADDRREQ): Likewise.
40383         [POSIX] (EDQUOT): Likewise.
40384         [POSIX] (EHOSTUNREACH): Likewise.
40385         [POSIX] (EIDRM): Likewise.
40386         [POSIX] (EISCONN): Likewise.
40387         [POSIX] (ELOOP): Likewise.
40388         [POSIX] (EMULTIHOP): Likewise.
40389         [POSIX] (ENETDOWN): Likewise.
40390         [POSIX] (ENETUNREACH): Likewise.
40391         [POSIX] (ENOBUFS): Likewise.
40392         [POSIX] (ENODATA): Likewise.
40393         [POSIX] (ENOLINK): Likewise.
40394         [POSIX] (ENOMSG): Likewise.
40395         [POSIX] (ENOPROTOOPT): Likewise.
40396         [POSIX] (ENOSR): Likewise.
40397         [POSIX] (ENOSTR): Likewise.
40398         [POSIX] (ENOTCONN): Likewise.
40399         [POSIX] (ENOTSOCK): Likewise.
40400         [POSIX] (EOPNOTSUPP): Likewise.
40401         [POSIX] (EOVERFLOW): Likewise.
40402         [POSIX] (EPROTO): Likewise.
40403         [POSIX] (EPROTONOSUPPORT): Likewise.
40404         [POSIX] (EPROTOTYPE): Likewise.
40405         [POSIX] (ESTALE): Likewise.
40406         [POSIX] (ETIME): Likewise.
40407         [POSIX] (ETXTBSY): Likewise.
40408         [POSIX] (EWOULDBLOCK): Likewise.
40409         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40410         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40411         [POSIX] (SEEK_CUR): Likewise.
40412         [POSIX] (SEEK_END): Likewise.
40413         [POSIX || UNIX98] (mode_t): Do not require.
40414         [POSIX] (off_t): Likewise.
40415         [POSIX] (pid_t): Likewise.
40416         [POSIX] (sys/stat.h): Do not allow header.
40417         [POSIX] (unistd.h): Likewise.
40418         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40419         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40420         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40421         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40422         require.
40423         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40424         sigevent): Specify elements.
40425         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40426         entry.
40427         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40428         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40430         * conform/data/cpio.h-data [POSIX]: Disable whole file.
40431         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40432         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40433         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40434         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40435         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40436         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40437         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40438         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40439         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40440         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40441         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40442         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40443         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40444         Likewise.
40445         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40446         Likewise.
40447         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40448         Likewise.
40449         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40450         Likewise.
40451         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40452         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40453         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40454         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40455         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40456         Specify lower bound on value.
40457         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40458         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40459         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40460         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40461         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40462         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40463         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40464         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40465         value.
40466         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40467         as optional.
40468         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40469         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40470         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40471         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40472         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40473         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40474         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40475         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40476         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40477         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40478         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40479         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40480         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40481         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40482         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40483         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40484         entry.
40485         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40486         optional.
40487         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40488         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40489         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40490         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40491         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40492         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40493         Likewise.
40494         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40495         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40496         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40497         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40498         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
40499         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40500         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40501         as optional.
40502         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40503         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40504         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40505         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40506         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40507         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40508         specify as optional.
40509         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40510         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40511         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40512         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40513         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40514         [XPG3] (NL_LANGMAX): Likewise.
40515         [POSIX || XPG3] (NL_MSGMAX): Likewise.
40516         [POSIX || XPG3] (NL_NMAX): Likewise.
40517         [POSIX || XPG3] (NL_SETMAX): Likewise.
40518         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40519         [XPG3] (NZERO): Likewise.
40520         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40521         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40522         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40523         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40524         (REG_ERANGE): Expect.
40525         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40526         optional-constant.
40527         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40528         Use (void) in prototype.
40529         [POSIX] (*_t): Allow.
40530         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40531         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40532         (WRDE_BADVAL): Expect.
40534         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40535         expect.
40536         [XPG3 || XPG4] (O_RSYNC): Likewise.
40537         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40538         Likewise.
40539         [XPG3 || XPG4] (pthread_sigmask): Likewise.
40540         [XPG3 || XPG4] (sigqueue): Likewise.
40541         [XPG3 || XPG4] (sigtimedwait): Likewise.
40542         [XPG3 || XPG4] (sigwaitinfo): Likewise.
40543         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40544         [XPG3 || XPG4] (vsnprintf): Likewise.
40545         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40546         Likewise.
40547         [XPG3 || XPG4] (blksize_t): Likewise.
40548         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40549         Likewise.
40550         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40551         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40552         [XPG3 || XPG4] (struct itimerspec): Likewise.
40553         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40554         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40555         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40556         [XPG3 || XPG4] (clockid_t): Likewise.
40557         [XPG3 || XPG4] (timer_t): Likewise.
40558         [XPG3 || XPG4] (clock_getres): Likewise.
40559         [XPG3 || XPG4] (clock_gettime): Likewise.
40560         [XPG3 || XPG4] (clock_settime): Likewise.
40561         [XPG3 || XPG4] (nanosleep): Likewise.
40562         [XPG3 || XPG4] (timer_create): Likewise.
40563         [XPG3 || XPG4] (timer_delete): Likewise.
40564         [XPG3 || XPG4] (timer_gettime): Likewise.
40565         [XPG3 || XPG4] (timer_getoverrun): Likewise.
40566         [XPG3 || XPG4] (timer_settime): Likewise.
40567         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40568         [XPG3 || XPG4] (getlogin_r): Likewise.
40569         [XPG3 || XPG4] (pread): Likewise.
40570         [XPG3 || XPG4] (pthread_atfork): Likewise.
40571         [XPG3 || XPG4] (pwrite): Likewise.
40573         [BZ #14835]
40574         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40575         <bits/siginfo.h>.
40577 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40579         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40580         finalizing MALLSTREAM.
40582         * sysdeps/mach/hurd/syncfs.c: New file.
40584 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40586         [BZ #14719]
40587         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40588         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40589         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40590         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40591         (_nss_dns_gethostbyname4_r): Likewise.
40592         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40593         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40595 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
40597         [BZ #13763]
40598         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40600 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
40602         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40603         * elf/cache.c (print_entry): Print ",AArch64" for
40604         FLAG_AARCH64_LIB64
40606         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40607         * elf/cache.c (print_entry): Print ",hard-float" for
40608         FLAG_ARM_LIBHF.
40610 2012-11-18  David S. Miller  <davem@davemloft.net>
40612         With help from Joseph Myers.
40613         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40614         cutoff to 2**-13.
40615         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40616         cutoff to 2**-25.
40617         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40618         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40619         small.
40620         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40621         * math/libm-test.inc (y0_test): New tests.
40622         (y1_test): New tests.
40623         * sysdeps/i386/fpu/libm-test-ulps: Update.
40624         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40627 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
40629         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40630         64-bit targets.
40631         * configure: Regenerated.
40633 2012-11-17  David S. Miller  <davem@davemloft.net>
40635         [BZ #14811]
40636         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40637         nonzero exponents with absolute value below 0x1p-128 to +/-
40638         0x1p-128.
40640 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
40642         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40644         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40646         * posix/getconf-speclist.c: New file.
40647         * posix/posix-envs.def: Likewise.
40648         * posix/confstr.c (START_ENV_GROUP): New macro.
40649         (END_ENV_GROUP): Likewise.
40650         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40651         (KNOWN_PRESENT_ENV_STRING): Likewise.
40652         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40653         (UNKNOWN_ENVIRONMENT): Likewise.
40654         (confstr): Include posix-envs.def instead of handling
40655         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40656         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40657         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40658         (END_ENV_GROUP): Likewise.
40659         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40660         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40661         (UNKNOWN_ENVIRONMENT): Likewise.
40662         (__sysconf): Include posix-envs.def instead of handling associated
40663         cases directly here.
40664         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40665         preprocessing getconf-speclist.c rather than running getconf or
40666         generating empty file.
40668 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
40670         * scripts/check-local-headers.sh: Ignore 'mach' headers.
40672 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
40674         [BZ #14672]
40675         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40677 2012-11-16  David S. Miller  <davem@davemloft.net>
40679         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40680         smaller than LDBL_EPSILON/2.0L, just return xm1.
40682 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
40684         * elf/tst-array1.c (init): Set constructor priority to 1000.
40685         (fini): Set destructor priority to 1000.
40686         * elf/tst-array2dep.c: Likewise.
40688 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40690         [BZ #11741]
40691         * libio/fileops.c (_IO_new_file_write): Correctly return error.
40692         (_IO_new_file_xsputn): Also return EOF if none of the input
40693         data was written when overflow failed.
40694         * libio/iopadn.c (_IO_padn): Likewise.
40695         * libio/iowpadn.c (_IO_wpadn): Likewise.
40696         * stdio-common/tst-put-error.c: Add copyright notice.
40697         (do_test): Add case for printing padded string.
40698         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40699         _IO_padn returned error.
40700         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40701         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40702         return EOF.
40704 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40706         * libio/libioP.h: Add comment note that the references to C++
40707         bits are now obsolete.
40709 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40711         * math/libm-test.inc (check_complex): Use asprintf.
40713 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
40715         * debug/pcprofiledump.c (print_version): Update copyright year.
40716         * malloc/memusagestat.c (print_version): Likewise.
40718 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
40720         [BZ #14831]
40721         * elf/Makefile (tests): Add tst-audit8.
40722         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40723         ($(objpfx)tst-audit8.out): New target.
40724         (tst-audit8-ENV): New variable.
40725         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40726         audit if l_reloc_result is NULL.
40727         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40728         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40729         * elf/tst-audit8.c: New file.
40731 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40733         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40734         * misc/Makefile (CFLAGS-select.c): Define.
40735         * posix/Makefile (CFLAGS-pause.c): Define.
40737 2012-11-13  David S. Miller  <davem@davemloft.net>
40739         * crypt/Makefile: Move test targets after toplevel Rules
40740         inclusion.  Grab any necessary sysdep routines when linking.
40741         * crypt/md5.c (md5_process_block): Remove define, we will always
40742         name it __md5_process_block.
40743         (md5_finish_ctx): Update md5_process_block call.
40744         (md5_stream): Likewise.
40745         (md5_process_bytes): Likewise.
40746         (md5_process_block): Rename to __md5_process_block and move to ...
40747         * crypt/md5-block.c: ... here.
40748         * crypt/sha256.c (sha256_process_block): Move to ...
40749         * crypt/sha256-block.c: ... here.
40750         * crypt/sha512.c (sha512_process_block): Move to ...
40751         * crypt/sha512-block.c: ... here.
40752         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40753         path.
40754         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40755         * sysdeps/sparc/sparc64/multiarch/Makefile
40756         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40757         crypt subdir.
40758         (localedef-aux): Add md5 crypto assembler when in locale subdir.
40759         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40760         multiarch changes.
40761         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40762         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40763         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40764         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40765         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40766         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40767         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40768         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40769         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40770         file.
40771         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40772         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40773         file.
40774         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40776 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
40778         * timezone/tzselect.ksh: Update from tzcode git revision
40779         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40780         * timezone/zdump.c: Likewise.
40781         * timezone/zic.c: Likewise.
40782         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40783         in TZVERSION setting, not $(PKGVERSION).
40784         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
40785         REPORT_BUGS_TO settings.
40787         [BZ #14838]
40788         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40789         macro.
40791 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40793         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40794         detection to immediately after _FP_ROUND().
40795         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40796         bits are 0.
40798 2012-11-11  David S. Miller  <davem@davemloft.net>
40800         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40801         inttypes.h
40802         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40803         __close rather than their public counterparts.
40805 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
40807         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40808         file.
40809         [UNIX98] (sem_timedwait): Do not expect.
40810         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40811         [XPG4 || UNIX98] (sockatmark): Do not expect.
40812         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40813         (clock_getcpuclockid): Do not expect.
40814         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40815         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40816         Do not expect.
40817         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40818         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40819         [UNIX98] (vwscanf): Likewise.
40820         [UNIX98] (vswscanf): Likewise.
40822 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
40824         * timezone/version.h: Remove file.
40825         * timezone/README: Do not refer to version.h.
40826         * timezone/Makefile ($(objpfx)zic.o): New dependency on
40827         $(objpfx)version.h.
40828         ($(objpfx)zdump.o): Likewise.
40829         ($(objpfx)version.h): New target.
40831         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40832         2012i.
40833         * timezone/README: Don't mention modification to tzselect.ksh.
40834         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40835         work on unmodified tzselect.ksh.  Substitute version numbers in
40836         tzselect.ksh.
40838         * Makefile (format-me): Remove.
40839         (INSTALL): Adjust indentation.  Use commands directly instead of
40840         using $(format-me).
40842         * aclocal.m4 (ACX_PKGVERSION): New macro.
40843         (ACX_BUGURL): Likewise.
40844         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40845         (PKGVERSION): New AC_DEFINE_UNQUOTED.
40846         (REPORT_BUGS_TO): Likewise.
40847         * configure: Regenerated.
40848         * config.h.in (PKGVERSION): New macro.
40849         (REPORT_BUGS_TO): Likewise.
40850         * config.make.in (PKGVERSION): New variable.
40851         (PKGVERSION_TEXI): Likewise.
40852         (REPORT_BUGS_TO): Likewise.
40853         (REPORT_BUGS_TEXI): Likewise.
40854         * Makefile (format-me): Use -I$(common-objpfx)manual.
40855         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40856         ($(common-objpfx)manual/%): New target.
40857         (manual/%): Remove target.
40858         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40859         (print_version): Use PKGVERSION.
40860         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40861         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40862         and REPORT_BUGS_TO.
40863         ($(objpfx)xtrace): Likewise.
40864         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40865         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40866         (print_version): Use PKGVERSION.
40867         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40868         (do_version): Use PKGVERSION.
40869         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40870         REPORT_BUGS_TO.
40871         (common-ldd-rewrite): Likewise.
40872         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40873         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40874         (print_version): Use PKGVERSION.
40875         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40876         * elf/pldd.c (argp_program_bug_address): Remove variable.
40877         (more_help): New function.
40878         (argp): Use more_help.
40879         (print_version): Use PKGVERSION.
40880         * elf/sln.c (main): Use PKGVERSION.
40881         (usage): Use REPORT_BUGS_TO.
40882         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40883         (top level): Use PKGVERSION.
40884         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40885         (print_version): Use PKGVERSION.
40886         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40887         (print_version): Use PKGVERSION.
40888         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40889         (print_version): Use PKGVERSION.
40890         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40891         (print_version): Use PKGVERSION.
40892         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40893         (print_version): Use PKGVERSION.
40894         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40895         (print_version): Use PKGVERSION.
40896         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40897         and BUGURL.
40898         ($(objpfx)memusage): Likewise.
40899         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40900         (do_version): Use PKGVERSION.
40901         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40902         (print_version): Use PKGVERSION.
40903         * malloc/mtrace.pl ($PACKAGE): Remove variable.
40904         ($PKGVERSION): New variable.
40905         ($REPORT_BUGS_TO): Likewise.
40906         (usage): Use $REPORT_BUGS_TO.
40907         (top level): Use $PKGVERSION.
40908         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40909         ($(objpfx)pkgvers.texi): New rule.
40910         ($(objpfx)stamp-pkgvers): Likewise.
40911         * manual/install.texi: Include pkgvers.texi.
40912         (--with-pkgversion): Document new configure option.
40913         (--with-bugurl): Likewise.
40914         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40915         than necessarily for this particular distribution.  Use
40916         REPORT_BUGS_TO for where to report bugs.
40917         * INSTALL: Regenerated.
40918         * manual/libc.texinfo: Include pkgvers.texi.
40919         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40920         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40921         (print_version): Use PKGVERSION.
40922         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40923         (print_version): Use PKGVERSION.
40924         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40925         (print_version): Use PKGVERSION.
40926         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40927         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40928         macro.
40929         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40930         (print_version): Use PKGVERSION.
40931         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40932         (print_version): Use PKGVERSION.
40933         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40934         and PKGVERSION.
40936         * timezone/checktab.awk: Update from tzcode 2012i.
40937         * timezone/ialloc.c: Likewise.
40938         * timezone/private.h: Likewise.
40939         * timezone/scheck.c: Likewise.
40940         * timezone/tzfile.h: Likewise.
40941         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40942         (TZVERSION): Hardcode tzcode version number.
40943         * timezone/zdump.c: Update from tzcode 2012i.
40944         * timezone/zic.c: Likewise.
40945         * timezone/version.h: New file.
40946         * timezone/README: Describe version.h.  Update upstream location.
40948         [BZ #14824]
40949         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40950         (mktemp): Enable declaration.
40951         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40952         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40953         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40954         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40955         Likewise.
40956         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40957         Likewise.
40958         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40959         Likewise.
40960         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40961         Likewise.
40962         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40963         Likewise.
40964         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40965         Likewise.
40967         [BZ #14821]
40968         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40969         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
40970         for copies of such integer values.
40971         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40972         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40974 2012-11-09  Andreas Jaeger  <aj@suse.de>
40976         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40977         definitions and declarations that are provided by
40978         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40980 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40982         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40983         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40984         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40985         definition.
40987 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40989         * elf/elf.h: Update comment before AArch64 relocations.
40991 2012-11-07  David S. Miller  <davem@davemloft.net>
40993         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40994         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40995         (__start_context): Declare.
40996         (__makecontext_ret): Delete.
40997         (__makecontext): Hook up __start_context instead of
40998         __makecontext_ret.
40999         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41000         (sysdep_routines): Add __start_context when in stdlib.
41002 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41004         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41005         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41006         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41007         hardcoded "nm".
41008         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41009         (READELF): New variable.  Use it instead of hardcoded "readelf".
41011 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41013         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41014         * sysdeps/x86/Makefile: Here.
41015         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41016         * sysdeps/x86/tst-xmmymm.sh: This.
41018 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41020         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41021         expectations.
41022         [UNIX98] (pthread_barrier_t): Do not expect.
41023         [UNIX98] (pthread_barrierattr_t): Likewise.
41024         [UNIX98] (pthread_spinlock_t): Likewise.
41025         [UNIX98] (pthread_barrier_destroy): Likewise.
41026         [UNIX98] (pthread_barrier_init): Likewise.
41027         [UNIX98] (pthread_barrier_wait): Likewise.
41028         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41029         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41030         [UNIX98] (pthread_barrierattr_init): Likewise.
41031         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41032         [UNIX98] (pthread_getcpuclockid): Likewise.
41033         [UNIX98] (pthread_mutex_timedlock): Likewise.
41034         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41035         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41036         [UNIX98] (pthread_sigmask): Likewise.
41037         [UNIX98] (pthread_spin_destroy): Likewise.
41038         [UNIX98] (pthread_spin_init): Likewise.
41039         [UNIX98] (pthread_spin_lock): Likewise.
41040         [UNIX98] (pthread_spin_trylock): Likewise.
41041         [UNIX98] (pthread_spin_unlock): Likewise.
41042         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41043         Do not expect.
41044         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41045         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41046         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41047         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41048         [XPG3 || XPG4] (pthread_key_t): Likewise.
41049         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41050         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41051         [XPG3 || XPG4] (pthread_once_t): Likewise.
41052         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41053         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41054         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41055         [XPG3 || XPG4] (pthread_t): Likewise.
41057         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41058         not expect.
41059         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41061         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41062         Change function return type to int.
41064         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41065         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41066         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41067         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41068         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41069         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41070         [!POSIX] (posix_madvise): Likewise.
41071         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41072         && !UNIX98].
41073         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41074         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41075         (mode_t): Likewise.
41076         (posix_mem_offset): Likewise.
41077         (posix_typed_mem_get_info): Likewise.
41078         (posix_typed_mem_open): Likewise.
41080         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41081         Change condition to [XOPEN2K8].
41083         * conform/conformtest.pl: Preprocess allow-header data with -x c
41084         instead of from stdin.
41085         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41086         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41087         [C99-based standards] (cerfc): Likewise.
41088         [C99-based standards] (cexp2): Likewise.
41089         [C99-based standards] (cexpm1): Likewise.
41090         [C99-based standards] (clog10): Likewise.
41091         [C99-based standards] (clog1p): Likewise.
41092         [C99-based standards] (clog2): Likewise.
41093         [C99-based standards] (clgamma): Likewise.
41094         [C99-based standards] (ctgamma): Likewise.
41095         [C99-based standards] (cerff): Likewise.
41096         [C99-based standards] (cerfcf): Likewise.
41097         [C99-based standards] (cexp2f): Likewise.
41098         [C99-based standards] (cexpm1f): Likewise.
41099         [C99-based standards] (clog10f): Likewise.
41100         [C99-based standards] (clog1pf): Likewise.
41101         [C99-based standards] (clog2f): Likewise.
41102         [C99-based standards] (clgammaf): Likewise.
41103         [C99-based standards] (ctgammaf): Likewise.
41104         [C99-based standards] (cerfl): Likewise.
41105         [C99-based standards] (cerfcl): Likewise.
41106         [C99-based standards] (cexp2l): Likewise.
41107         [C99-based standards] (cexpm1l): Likewise.
41108         [C99-based standards] (clog10l): Likewise.
41109         [C99-based standards] (clog1pl): Likewise.
41110         [C99-based standards] (clog2l): Likewise.
41111         [C99-based standards] (clgammal): Likewise.
41112         [C99-based standards] (ctgammal): Likewise.
41113         * conform/data/inttypes.h-data [C99-based standards]: Include
41114         stdint.h-data.  Remove all expectations for stdint.h contents.
41115         [C99-based standards] (PRI*): Do not allow.
41116         [C99-based standards] (SCN*): Likewise.
41117         [C99-based standards] (*_t): Likewise.
41118         [C99-based-standards] (PRId8): Expect macro.
41119         [C99-based-standards] (PRIi8): Likewise.
41120         [C99-based-standards] (PRIo8): Likewise.
41121         [C99-based-standards] (PRIu8): Likewise.
41122         [C99-based-standards] (PRIx8): Likewise.
41123         [C99-based-standards] (PRIX8): Likewise.
41124         [C99-based-standards] (SCNd8): Likewise.
41125         [C99-based-standards] (SCNi8): Likewise.
41126         [C99-based-standards] (SCNo8): Likewise.
41127         [C99-based-standards] (SCNu8): Likewise.
41128         [C99-based-standards] (SCNx8): Likewise.
41129         [C99-based-standards] (PRIdLEAST8): Likewise.
41130         [C99-based-standards] (PRIiLEAST8): Likewise.
41131         [C99-based-standards] (PRIoLEAST8): Likewise.
41132         [C99-based-standards] (PRIuLEAST8): Likewise.
41133         [C99-based-standards] (PRIxLEAST8): Likewise.
41134         [C99-based-standards] (PRIXLEAST8): Likewise.
41135         [C99-based-standards] (SCNdLEAST8): Likewise.
41136         [C99-based-standards] (SCNiLEAST8): Likewise.
41137         [C99-based-standards] (SCNoLEAST8): Likewise.
41138         [C99-based-standards] (SCNuLEAST8): Likewise.
41139         [C99-based-standards] (SCNxLEAST8): Likewise.
41140         [C99-based-standards] (PRIdFAST8): Likewise.
41141         [C99-based-standards] (PRIiFAST8): Likewise.
41142         [C99-based-standards] (PRIoFAST8): Likewise.
41143         [C99-based-standards] (PRIuFAST8): Likewise.
41144         [C99-based-standards] (PRIxFAST8): Likewise.
41145         [C99-based-standards] (PRIXFAST8): Likewise.
41146         [C99-based-standards] (SCNdFAST8): Likewise.
41147         [C99-based-standards] (SCNiFAST8): Likewise.
41148         [C99-based-standards] (SCNoFAST8): Likewise.
41149         [C99-based-standards] (SCNuFAST8): Likewise.
41150         [C99-based-standards] (SCNxFAST8): Likewise.
41151         [C99-based-standards] (PRId16): Likewise.
41152         [C99-based-standards] (PRIi16): Likewise.
41153         [C99-based-standards] (PRIo16): Likewise.
41154         [C99-based-standards] (PRIu16): Likewise.
41155         [C99-based-standards] (PRIx16): Likewise.
41156         [C99-based-standards] (PRIX16): Likewise.
41157         [C99-based-standards] (SCNd16): Likewise.
41158         [C99-based-standards] (SCNi16): Likewise.
41159         [C99-based-standards] (SCNo16): Likewise.
41160         [C99-based-standards] (SCNu16): Likewise.
41161         [C99-based-standards] (SCNx16): Likewise.
41162         [C99-based-standards] (PRIdLEAST16): Likewise.
41163         [C99-based-standards] (PRIiLEAST16): Likewise.
41164         [C99-based-standards] (PRIoLEAST16): Likewise.
41165         [C99-based-standards] (PRIuLEAST16): Likewise.
41166         [C99-based-standards] (PRIxLEAST16): Likewise.
41167         [C99-based-standards] (PRIXLEAST16): Likewise.
41168         [C99-based-standards] (SCNdLEAST16): Likewise.
41169         [C99-based-standards] (SCNiLEAST16): Likewise.
41170         [C99-based-standards] (SCNoLEAST16): Likewise.
41171         [C99-based-standards] (SCNuLEAST16): Likewise.
41172         [C99-based-standards] (SCNxLEAST16): Likewise.
41173         [C99-based-standards] (PRIdFAST16): Likewise.
41174         [C99-based-standards] (PRIiFAST16): Likewise.
41175         [C99-based-standards] (PRIoFAST16): Likewise.
41176         [C99-based-standards] (PRIuFAST16): Likewise.
41177         [C99-based-standards] (PRIxFAST16): Likewise.
41178         [C99-based-standards] (PRIXFAST16): Likewise.
41179         [C99-based-standards] (SCNdFAST16): Likewise.
41180         [C99-based-standards] (SCNiFAST16): Likewise.
41181         [C99-based-standards] (SCNoFAST16): Likewise.
41182         [C99-based-standards] (SCNuFAST16): Likewise.
41183         [C99-based-standards] (SCNxFAST16): Likewise.
41184         [C99-based-standards] (PRId32): Likewise.
41185         [C99-based-standards] (PRIi32): Likewise.
41186         [C99-based-standards] (PRIo32): Likewise.
41187         [C99-based-standards] (PRIu32): Likewise.
41188         [C99-based-standards] (PRIx32): Likewise.
41189         [C99-based-standards] (PRIX32): Likewise.
41190         [C99-based-standards] (SCNd32): Likewise.
41191         [C99-based-standards] (SCNi32): Likewise.
41192         [C99-based-standards] (SCNo32): Likewise.
41193         [C99-based-standards] (SCNu32): Likewise.
41194         [C99-based-standards] (SCNx32): Likewise.
41195         [C99-based-standards] (PRIdLEAST32): Likewise.
41196         [C99-based-standards] (PRIiLEAST32): Likewise.
41197         [C99-based-standards] (PRIoLEAST32): Likewise.
41198         [C99-based-standards] (PRIuLEAST32): Likewise.
41199         [C99-based-standards] (PRIxLEAST32): Likewise.
41200         [C99-based-standards] (PRIXLEAST32): Likewise.
41201         [C99-based-standards] (SCNdLEAST32): Likewise.
41202         [C99-based-standards] (SCNiLEAST32): Likewise.
41203         [C99-based-standards] (SCNoLEAST32): Likewise.
41204         [C99-based-standards] (SCNuLEAST32): Likewise.
41205         [C99-based-standards] (SCNxLEAST32): Likewise.
41206         [C99-based-standards] (PRIdFAST32): Likewise.
41207         [C99-based-standards] (PRIiFAST32): Likewise.
41208         [C99-based-standards] (PRIoFAST32): Likewise.
41209         [C99-based-standards] (PRIuFAST32): Likewise.
41210         [C99-based-standards] (PRIxFAST32): Likewise.
41211         [C99-based-standards] (PRIXFAST32): Likewise.
41212         [C99-based-standards] (SCNdFAST32): Likewise.
41213         [C99-based-standards] (SCNiFAST32): Likewise.
41214         [C99-based-standards] (SCNoFAST32): Likewise.
41215         [C99-based-standards] (SCNuFAST32): Likewise.
41216         [C99-based-standards] (SCNxFAST32): Likewise.
41217         [C99-based-standards] (PRId64): Likewise.
41218         [C99-based-standards] (PRIi64): Likewise.
41219         [C99-based-standards] (PRIo64): Likewise.
41220         [C99-based-standards] (PRIu64): Likewise.
41221         [C99-based-standards] (PRIx64): Likewise.
41222         [C99-based-standards] (PRIX64): Likewise.
41223         [C99-based-standards] (SCNd64): Likewise.
41224         [C99-based-standards] (SCNi64): Likewise.
41225         [C99-based-standards] (SCNo64): Likewise.
41226         [C99-based-standards] (SCNu64): Likewise.
41227         [C99-based-standards] (SCNx64): Likewise.
41228         [C99-based-standards] (PRIdLEAST64): Likewise.
41229         [C99-based-standards] (PRIiLEAST64): Likewise.
41230         [C99-based-standards] (PRIoLEAST64): Likewise.
41231         [C99-based-standards] (PRIuLEAST64): Likewise.
41232         [C99-based-standards] (PRIxLEAST64): Likewise.
41233         [C99-based-standards] (PRIXLEAST64): Likewise.
41234         [C99-based-standards] (SCNdLEAST64): Likewise.
41235         [C99-based-standards] (SCNiLEAST64): Likewise.
41236         [C99-based-standards] (SCNoLEAST64): Likewise.
41237         [C99-based-standards] (SCNuLEAST64): Likewise.
41238         [C99-based-standards] (SCNxLEAST64): Likewise.
41239         [C99-based-standards] (PRIdFAST64): Likewise.
41240         [C99-based-standards] (PRIiFAST64): Likewise.
41241         [C99-based-standards] (PRIoFAST64): Likewise.
41242         [C99-based-standards] (PRIuFAST64): Likewise.
41243         [C99-based-standards] (PRIxFAST64): Likewise.
41244         [C99-based-standards] (PRIXFAST64): Likewise.
41245         [C99-based-standards] (SCNdFAST64): Likewise.
41246         [C99-based-standards] (SCNiFAST64): Likewise.
41247         [C99-based-standards] (SCNoFAST64): Likewise.
41248         [C99-based-standards] (SCNuFAST64): Likewise.
41249         [C99-based-standards] (SCNxFAST64): Likewise.
41250         [C99-based-standards] (PRIdMAX): Likewise.
41251         [C99-based-standards] (PRIiMAX): Likewise.
41252         [C99-based-standards] (PRIoMAX): Likewise.
41253         [C99-based-standards] (PRIuMAX): Likewise.
41254         [C99-based-standards] (PRIxMAX): Likewise.
41255         [C99-based-standards] (PRIXMAX): Likewise.
41256         [C99-based-standards] (SCNdMAX): Likewise.
41257         [C99-based-standards] (SCNiMAX): Likewise.
41258         [C99-based-standards] (SCNoMAX): Likewise.
41259         [C99-based-standards] (SCNuMAX): Likewise.
41260         [C99-based-standards] (SCNxMAX): Likewise.
41261         [C99-based-standards] (PRIdPTR): Likewise.
41262         [C99-based-standards] (PRIiPTR): Likewise.
41263         [C99-based-standards] (PRIoPTR): Likewise.
41264         [C99-based-standards] (PRIuPTR): Likewise.
41265         [C99-based-standards] (PRIxPTR): Likewise.
41266         [C99-based-standards] (PRIXPTR): Likewise.
41267         [C99-based-standards] (SCNdPTR): Likewise.
41268         [C99-based-standards] (SCNiPTR): Likewise.
41269         [C99-based-standards] (SCNoPTR): Likewise.
41270         [C99-based-standards] (SCNuPTR): Likewise.
41271         [C99-based-standards] (SCNxPTR): Likewise.
41272         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41273         allow.
41274         * conform/data/stdint.h-data: Update comments to clarify
41275         requirements.
41276         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
41277         type.
41278         [C99-based standards] (INT8_MAX): Likewise.
41279         [C99-based standards] (INT16_MIN): Likewise.
41280         [C99-based standards] (INT16_MAX): Likewise.
41281         [C99-based standards] (INT32_MIN): Likewise.
41282         [C99-based standards] (INT32_MAX): Likewise.
41283         [C99-based standards] (INT64_MIN): Likewise.
41284         [C99-based standards] (INT64_MAX): Likewise.
41285         [C99-based standards] (UINT8_MAX): Likewise.
41286         [C99-based standards] (UINT16_MAX): Likewise.
41287         [C99-based standards] (UINT32_MAX): Likewise.
41288         [C99-based standards] (UINT64_MAX): Likewise.
41289         [C99-based standards] (INT_LEAST8_MIN): Likewise.
41290         [C99-based standards] (INT_LEAST8_MAX): Likewise.
41291         [C99-based standards] (INT_LEAST16_MIN): Likewise.
41292         [C99-based standards] (INT_LEAST16_MAX): Likewise.
41293         [C99-based standards] (INT_LEAST32_MIN): Likewise.
41294         [C99-based standards] (INT_LEAST32_MAX): Likewise.
41295         [C99-based standards] (INT_LEAST64_MIN): Likewise.
41296         [C99-based standards] (INT_LEAST64_MAX): Likewise.
41297         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41298         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41299         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41300         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41301         [C99-based standards] (INT_FAST8_MIN): Likewise.
41302         [C99-based standards] (INT_FAST8_MAX): Likewise.
41303         [C99-based standards] (INT_FAST16_MIN): Likewise.
41304         [C99-based standards] (INT_FAST16_MAX): Likewise.
41305         [C99-based standards] (INT_FAST32_MIN): Likewise.
41306         [C99-based standards] (INT_FAST32_MAX): Likewise.
41307         [C99-based standards] (INT_FAST64_MIN): Likewise.
41308         [C99-based standards] (INT_FAST64_MAX): Likewise.
41309         [C99-based standards] (UINT_FAST8_MAX): Likewise.
41310         [C99-based standards] (UINT_FAST16_MAX): Likewise.
41311         [C99-based standards] (UINT_FAST32_MAX): Likewise.
41312         [C99-based standards] (UINT_FAST64_MAX): Likewise.
41313         [C99-based standards] (INTPTR_MIN): Likewise.
41314         [C99-based standards] (INTPTR_MAX): Likewise.
41315         [C99-based standards] (UINTPTR_MAX): Likewise.
41316         [C99-based standards] (INTMAX_MIN): Likewise.
41317         [C99-based standards] (INTMAX_MAX): Likewise.
41318         [C99-based standards] (UINTMAX_MAX): Likewise.
41319         [C99-based standards] (PTRDIFF_MIN): Likewise.
41320         [C99-based standards] (PTRDIFF_MAX): Likewise.
41321         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
41322         [C99-based standards] (SIZE_MAX): Likewise.
41323         [C99-based standards] (WCHAR_MAX): Likewise.
41324         [C99-based standards] (WINT_MAX): Likewise.
41325         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
41326         constraint on value.
41327         [C99-based standards] (WCHAR_MIN): Likewise.
41328         [C99-based standards] (WINT_MIN): Likewise.
41329         [C99-based standards] (*_t): Allow.
41330         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
41331         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
41332         Include math.h-data and complex.h-data.  Remove all expectations
41333         of math.h and complex.h contents.
41334         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
41335         at end of line.
41336         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
41337         (struct tm): Expect tag.
41338         [C99-based-standards] (wcstof): Expect function.
41339         [C99-based-standards] (wcstold): Likewise.
41340         [C99-based-standards] (wcstoll): Likewise.
41341         [C99-based-standards] (wcstoull): Likewise.
41342         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
41343         macro-int-constant.  Specify type.
41344         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
41345         constraint on value.
41346         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41347         Specify type.
41348         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
41349         Specify value.
41350         [ISO C standards]: Do not allow headers.
41351         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
41352         wcs[abcdefghijklmnopqrstuvwxyz]*.
41353         [ISO C standards] (*_t): Do not allow.
41354         * conform/data/wctype.h-data [C99-based standards] (iswblank):
41355         Expect function.
41356         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
41357         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41358         Specify type.
41359         [ISO C standards]: Do not allow headers.
41360         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
41361         is[abcdefghijklmnopqrstuvwxyz]*.
41362         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
41363         to[abcdefghijklmnopqrstuvwxyz]*.
41364         [ISO C standards] (*_t): Do not allow.
41365         * conform/data/stdalign.h-data: New file.
41366         * conform/data/stdbool.h-data: Likewise.
41367         * conform/data/stdnoreturn.h-data: Likewise.
41369 2012-11-07  Roland McGrath  <roland@hack.frob.com>
41371         [BZ #14815]
41372         * manual/filesys.texi (Directory Entries): Typo fix.
41373         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
41375 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41377         * elf/elf.h (EM_AARCH64): New macro.
41378         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
41379         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
41380         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
41381         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
41382         (R_AARCH64_TLSDESC): Likewise.
41383         (NT_ARM_TLS): Likewise.
41384         (NT_ARM_HW_BREAK): Likewise.
41385         (NT_ARM_HW_WATCH): Likewise.
41387 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41389         [BZ #14811]
41390         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41391         (__ieee754_powl): Saturate nonzero exponents with absolute value
41392         below 0x1p-79 to +/- 0x1p-79.
41393         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41394         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41395         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41396         nonzero exponents with absolute value below 0x1p-32 to +/-
41397         0x1p-32.
41398         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41399         (__ieee754_powl): Saturate nonzero exponents with absolute value
41400         below 0x1p-79 to +/- 0x1p-79.
41401         * math/libm-test.inc (pow_test): Add more tests.
41403 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41405         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41406         _dl_s390_cap_flags with kernel. Increase string length.
41407         (_dl_s390_platforms): Add z196 and zEC12.
41409 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41411         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41412         Change XOPEN21K to XOPEN2K.
41414 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
41416         * string/memmove.c: Use memcpy when possible.
41418 2012-11-06  Andreas Jaeger  <aj@suse.de>
41420         * po/eo.po: Update from translation team.
41422 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
41424         [BZ #14793]
41425         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41426         exponent and small x and y exponents, scale x or y up.  Increase
41427         by 2 the exponent used in scaling up.
41428         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41429         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41430         * math/libm-test.inc (fma_test): Add more tests.
41431         (fma_test_towardzero): Likewise.
41432         (fma_test_downward): Likewise.
41433         (fma_test_upward): Likewise.
41435 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
41437         [BZ #14805]
41438         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41439         fenv_t *.
41441         [BZ #14801]
41442         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41443         namespace for names of struct fields.
41444         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41445         fenv_t fields.
41446         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41447         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41449 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41451         [BZ #3665]
41452         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41454 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41456         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41457         PTR_DEMANGLE.
41459         [BZ #5246]
41460         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41461         PTR_DEMANGLE.
41463 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
41465         [BZ #14797]
41466         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41467         definitely overflow as x * y not x * y + z.
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-04  Thomas Schwinge  <thomas@codesourcery.com>
41477         [BZ #157]
41479         * include/stub-tag.h: Remove file.
41480         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41481         '#include' of it.
41482         * manual/maint.texi (Porting): Don't reference it.
41483         * Makerules ($(objpfx)stubs): Likewise.
41484         * dirent/closedir.c: Don't include <stub-tag.h>.
41485         * dirent/dirfd.c: Likewise.
41486         * dirent/fdopendir.c: Likewise.
41487         * dirent/getdents.c: Likewise.
41488         * dirent/getdents64.c: Likewise.
41489         * dirent/opendir.c: Likewise.
41490         * dirent/readdir.c: Likewise.
41491         * dirent/readdir64.c: Likewise.
41492         * dirent/readdir64_r.c: Likewise.
41493         * dirent/readdir_r.c: Likewise.
41494         * dirent/rewinddir.c: Likewise.
41495         * dirent/seekdir.c: Likewise.
41496         * dirent/telldir.c: Likewise.
41497         * gmon/profil.c: Likewise.
41498         * grp/setgroups.c: Likewise.
41499         * inet/if_index.c: Likewise.
41500         * io/access.c: Likewise.
41501         * io/chdir.c: Likewise.
41502         * io/chmod.c: Likewise.
41503         * io/chown.c: Likewise.
41504         * io/close.c: Likewise.
41505         * io/dup.c: Likewise.
41506         * io/dup2.c: Likewise.
41507         * io/dup3.c: Likewise.
41508         * io/euidaccess.c: Likewise.
41509         * io/faccessat.c: Likewise.
41510         * io/fchdir.c: Likewise.
41511         * io/fchmod.c: Likewise.
41512         * io/fchmodat.c: Likewise.
41513         * io/fchown.c: Likewise.
41514         * io/fchownat.c: Likewise.
41515         * io/fcntl.c: Likewise.
41516         * io/flock.c: Likewise.
41517         * io/fstatfs.c: Likewise.
41518         * io/fstatfs64.c: Likewise.
41519         * io/fstatvfs.c: Likewise.
41520         * io/fstatvfs64.c: Likewise.
41521         * io/futimens.c: Likewise.
41522         * io/fxstat.c: Likewise.
41523         * io/fxstat64.c: Likewise.
41524         * io/fxstatat.c: Likewise.
41525         * io/fxstatat64.c: Likewise.
41526         * io/getcwd.c: Likewise.
41527         * io/isatty.c: Likewise.
41528         * io/lchmod.c: Likewise.
41529         * io/lchown.c: Likewise.
41530         * io/link.c: Likewise.
41531         * io/linkat.c: Likewise.
41532         * io/lseek.c: Likewise.
41533         * io/lseek64.c: Likewise.
41534         * io/lxstat64.c: Likewise.
41535         * io/mkdir.c: Likewise.
41536         * io/mkdirat.c: Likewise.
41537         * io/mkfifo.c: Likewise.
41538         * io/mkfifoat.c: Likewise.
41539         * io/open.c: Likewise.
41540         * io/open64.c: Likewise.
41541         * io/openat.c: Likewise.
41542         * io/openat64.c: Likewise.
41543         * io/pipe.c: Likewise.
41544         * io/pipe2.c: Likewise.
41545         * io/poll.c: Likewise.
41546         * io/posix_fadvise.c: Likewise.
41547         * io/posix_fadvise64.c: Likewise.
41548         * io/posix_fallocate.c: Likewise.
41549         * io/posix_fallocate64.c: Likewise.
41550         * io/read.c: Likewise.
41551         * io/readlink.c: Likewise.
41552         * io/readlinkat.c: Likewise.
41553         * io/rmdir.c: Likewise.
41554         * io/sendfile.c: Likewise.
41555         * io/sendfile64.c: Likewise.
41556         * io/statfs.c: Likewise.
41557         * io/statfs64.c: Likewise.
41558         * io/statvfs.c: Likewise.
41559         * io/statvfs64.c: Likewise.
41560         * io/symlink.c: Likewise.
41561         * io/symlinkat.c: Likewise.
41562         * io/ttyname.c: Likewise.
41563         * io/ttyname_r.c: Likewise.
41564         * io/umask.c: Likewise.
41565         * io/unlink.c: Likewise.
41566         * io/unlinkat.c: Likewise.
41567         * io/utime.c: Likewise.
41568         * io/utimensat.c: Likewise.
41569         * io/write.c: Likewise.
41570         * io/xmknod.c: Likewise.
41571         * io/xmknodat.c: Likewise.
41572         * io/xstat.c: Likewise.
41573         * io/xstat64.c: Likewise.
41574         * login/getpt.c: Likewise.
41575         * login/grantpt.c: Likewise.
41576         * login/unlockpt.c: Likewise.
41577         * math/e_acoshl.c: Likewise.
41578         * math/e_acosl.c: Likewise.
41579         * math/e_asinl.c: Likewise.
41580         * math/e_atan2l.c: Likewise.
41581         * math/e_atanhl.c: Likewise.
41582         * math/e_coshl.c: Likewise.
41583         * math/e_expl.c: Likewise.
41584         * math/e_fmodl.c: Likewise.
41585         * math/e_gammal_r.c: Likewise.
41586         * math/e_hypotl.c: Likewise.
41587         * math/e_j0l.c: Likewise.
41588         * math/e_j1l.c: Likewise.
41589         * math/e_jnl.c: Likewise.
41590         * math/e_lgammal_r.c: Likewise.
41591         * math/e_log10l.c: Likewise.
41592         * math/e_log2l.c: Likewise.
41593         * math/e_logl.c: Likewise.
41594         * math/e_powl.c: Likewise.
41595         * math/e_rem_pio2l.c: Likewise.
41596         * math/e_sinhl.c: Likewise.
41597         * math/e_sqrtl.c: Likewise.
41598         * math/fclrexcpt.c: Likewise.
41599         * math/fedisblxcpt.c: Likewise.
41600         * math/feenablxcpt.c: Likewise.
41601         * math/fegetenv.c: Likewise.
41602         * math/fegetexcept.c: Likewise.
41603         * math/fegetround.c: Likewise.
41604         * math/feholdexcpt.c: Likewise.
41605         * math/fesetenv.c: Likewise.
41606         * math/fesetround.c: Likewise.
41607         * math/feupdateenv.c: Likewise.
41608         * math/fgetexcptflg.c: Likewise.
41609         * math/fraiseexcpt.c: Likewise.
41610         * math/fsetexcptflg.c: Likewise.
41611         * math/ftestexcept.c: Likewise.
41612         * math/k_cosl.c: Likewise.
41613         * math/k_rem_pio2l.c: Likewise.
41614         * math/k_sinl.c: Likewise.
41615         * math/k_tanl.c: Likewise.
41616         * math/s_asinhl.c: Likewise.
41617         * math/s_atanl.c: Likewise.
41618         * math/s_cbrtl.c: Likewise.
41619         * math/s_erfl.c: Likewise.
41620         * math/s_expm1l.c: Likewise.
41621         * math/s_log1pl.c: Likewise.
41622         * math/s_tanhl.c: Likewise.
41623         * misc/acct.c: Likewise.
41624         * misc/brk.c: Likewise.
41625         * misc/chflags.c: Likewise.
41626         * misc/chroot.c: Likewise.
41627         * misc/fchflags.c: Likewise.
41628         * misc/fgetxattr.c: Likewise.
41629         * misc/flistxattr.c: Likewise.
41630         * misc/fremovexattr.c: Likewise.
41631         * misc/fsetxattr.c: Likewise.
41632         * misc/fsync.c: Likewise.
41633         * misc/ftruncate.c: Likewise.
41634         * misc/futimes.c: Likewise.
41635         * misc/futimesat.c: Likewise.
41636         * misc/getdomain.c: Likewise.
41637         * misc/getdtsz.c: Likewise.
41638         * misc/gethostid.c: Likewise.
41639         * misc/gethostname.c: Likewise.
41640         * misc/getloadavg.c: Likewise.
41641         * misc/getpagesize.c: Likewise.
41642         * misc/getsysstats.c: Likewise.
41643         * misc/getxattr.c: Likewise.
41644         * misc/gtty.c: Likewise.
41645         * misc/ioctl.c: Likewise.
41646         * misc/lgetxattr.c: Likewise.
41647         * misc/listxattr.c: Likewise.
41648         * misc/llistxattr.c: Likewise.
41649         * misc/lremovexattr.c: Likewise.
41650         * misc/lsetxattr.c: Likewise.
41651         * misc/lutimes.c: Likewise.
41652         * misc/madvise.c: Likewise.
41653         * misc/mincore.c: Likewise.
41654         * misc/mlock.c: Likewise.
41655         * misc/mlockall.c: Likewise.
41656         * misc/mmap.c: Likewise.
41657         * misc/mprotect.c: Likewise.
41658         * misc/msync.c: Likewise.
41659         * misc/munlock.c: Likewise.
41660         * misc/munlockall.c: Likewise.
41661         * misc/munmap.c: Likewise.
41662         * misc/preadv.c: Likewise.
41663         * misc/preadv64.c: Likewise.
41664         * misc/ptrace.c: Likewise.
41665         * misc/pwritev.c: Likewise.
41666         * misc/pwritev64.c: Likewise.
41667         * misc/readv.c: Likewise.
41668         * misc/reboot.c: Likewise.
41669         * misc/remap_file_pages.c: Likewise.
41670         * misc/removexattr.c: Likewise.
41671         * misc/revoke.c: Likewise.
41672         * misc/select.c: Likewise.
41673         * misc/setdomain.c: Likewise.
41674         * misc/setegid.c: Likewise.
41675         * misc/seteuid.c: Likewise.
41676         * misc/sethostid.c: Likewise.
41677         * misc/sethostname.c: Likewise.
41678         * misc/setregid.c: Likewise.
41679         * misc/setreuid.c: Likewise.
41680         * misc/setxattr.c: Likewise.
41681         * misc/sstk.c: Likewise.
41682         * misc/stty.c: Likewise.
41683         * misc/swapoff.c: Likewise.
41684         * misc/swapon.c: Likewise.
41685         * misc/sync.c: Likewise.
41686         * misc/syncfs.c: Likewise.
41687         * misc/syscall.c: Likewise.
41688         * misc/truncate.c: Likewise.
41689         * misc/ualarm.c: Likewise.
41690         * misc/usleep.c: Likewise.
41691         * misc/ustat.c: Likewise.
41692         * misc/utimes.c: Likewise.
41693         * misc/vhangup.c: Likewise.
41694         * misc/writev.c: Likewise.
41695         * posix/_exit.c: Likewise.
41696         * posix/alarm.c: Likewise.
41697         * posix/execve.c: Likewise.
41698         * posix/fexecve.c: Likewise.
41699         * posix/fork.c: Likewise.
41700         * posix/fpathconf.c: Likewise.
41701         * posix/getaddrinfo.c: Likewise.
41702         * posix/getegid.c: Likewise.
41703         * posix/geteuid.c: Likewise.
41704         * posix/getgid.c: Likewise.
41705         * posix/getgroups.c: Likewise.
41706         * posix/getlogin.c: Likewise.
41707         * posix/getlogin_r.c: Likewise.
41708         * posix/getpgid.c: Likewise.
41709         * posix/getpid.c: Likewise.
41710         * posix/getppid.c: Likewise.
41711         * posix/getresgid.c: Likewise.
41712         * posix/getresuid.c: Likewise.
41713         * posix/getsid.c: Likewise.
41714         * posix/getuid.c: Likewise.
41715         * posix/glob64.c: Likewise.
41716         * posix/nanosleep.c: Likewise.
41717         * posix/pathconf.c: Likewise.
41718         * posix/pause.c: Likewise.
41719         * posix/posix_madvise.c: Likewise.
41720         * posix/pread.c: Likewise.
41721         * posix/pread64.c: Likewise.
41722         * posix/pwrite.c: Likewise.
41723         * posix/pwrite64.c: Likewise.
41724         * posix/sched_getaffinity.c: Likewise.
41725         * posix/sched_getp.c: Likewise.
41726         * posix/sched_gets.c: Likewise.
41727         * posix/sched_primax.c: Likewise.
41728         * posix/sched_primin.c: Likewise.
41729         * posix/sched_rr_gi.c: Likewise.
41730         * posix/sched_setaffinity.c: Likewise.
41731         * posix/sched_setp.c: Likewise.
41732         * posix/sched_sets.c: Likewise.
41733         * posix/sched_yield.c: Likewise.
41734         * posix/setgid.c: Likewise.
41735         * posix/setlogin.c: Likewise.
41736         * posix/setpgid.c: Likewise.
41737         * posix/setresgid.c: Likewise.
41738         * posix/setresuid.c: Likewise.
41739         * posix/setsid.c: Likewise.
41740         * posix/setuid.c: Likewise.
41741         * posix/sleep.c: Likewise.
41742         * posix/spawni.c: Likewise.
41743         * posix/sysconf.c: Likewise.
41744         * posix/times.c: Likewise.
41745         * posix/wait.c: Likewise.
41746         * posix/wait3.c: Likewise.
41747         * posix/wait4.c: Likewise.
41748         * posix/waitpid.c: Likewise.
41749         * resolv/gai_sigqueue.c: Likewise.
41750         * resource/getpriority.c: Likewise.
41751         * resource/getrlimit.c: Likewise.
41752         * resource/getrusage.c: Likewise.
41753         * resource/nice.c: Likewise.
41754         * resource/setpriority.c: Likewise.
41755         * resource/setrlimit.c: Likewise.
41756         * resource/ulimit.c: Likewise.
41757         * rt/aio_cancel.c: Likewise.
41758         * rt/aio_fsync.c: Likewise.
41759         * rt/aio_read.c: Likewise.
41760         * rt/aio_sigqueue.c: Likewise.
41761         * rt/aio_suspend.c: Likewise.
41762         * rt/aio_write.c: Likewise.
41763         * rt/clock_getres.c: Likewise.
41764         * rt/clock_gettime.c: Likewise.
41765         * rt/clock_nanosleep.c: Likewise.
41766         * rt/clock_settime.c: Likewise.
41767         * rt/lio_listio.c: Likewise.
41768         * rt/mq_close.c: Likewise.
41769         * rt/mq_getattr.c: Likewise.
41770         * rt/mq_notify.c: Likewise.
41771         * rt/mq_open.c: Likewise.
41772         * rt/mq_receive.c: Likewise.
41773         * rt/mq_send.c: Likewise.
41774         * rt/mq_setattr.c: Likewise.
41775         * rt/mq_timedreceive.c: Likewise.
41776         * rt/mq_timedsend.c: Likewise.
41777         * rt/mq_unlink.c: Likewise.
41778         * rt/shm_open.c: Likewise.
41779         * rt/shm_unlink.c: Likewise.
41780         * rt/timer_create.c: Likewise.
41781         * rt/timer_delete.c: Likewise.
41782         * rt/timer_getoverr.c: Likewise.
41783         * rt/timer_gettime.c: Likewise.
41784         * rt/timer_settime.c: Likewise.
41785         * setjmp/__longjmp.c: Likewise.
41786         * setjmp/setjmp.c: Likewise.
41787         * signal/kill.c: Likewise.
41788         * signal/killpg.c: Likewise.
41789         * signal/raise.c: Likewise.
41790         * signal/sigaction.c: Likewise.
41791         * signal/sigaltstack.c: Likewise.
41792         * signal/sigblock.c: Likewise.
41793         * signal/sigignore.c: Likewise.
41794         * signal/sigintr.c: Likewise.
41795         * signal/signal.c: Likewise.
41796         * signal/sigpause.c: Likewise.
41797         * signal/sigpending.c: Likewise.
41798         * signal/sigqueue.c: Likewise.
41799         * signal/sigreturn.c: Likewise.
41800         * signal/sigset.c: Likewise.
41801         * signal/sigsetmask.c: Likewise.
41802         * signal/sigstack.c: Likewise.
41803         * signal/sigsuspend.c: Likewise.
41804         * signal/sigtimedwait.c: Likewise.
41805         * signal/sigvec.c: Likewise.
41806         * signal/sigwait.c: Likewise.
41807         * signal/sigwaitinfo.c: Likewise.
41808         * signal/sysv_signal.c: Likewise.
41809         * socket/accept.c: Likewise.
41810         * socket/accept4.c: Likewise.
41811         * socket/bind.c: Likewise.
41812         * socket/connect.c: Likewise.
41813         * socket/getpeername.c: Likewise.
41814         * socket/getsockname.c: Likewise.
41815         * socket/getsockopt.c: Likewise.
41816         * socket/isfdtype.c: Likewise.
41817         * socket/listen.c: Likewise.
41818         * socket/recv.c: Likewise.
41819         * socket/recvfrom.c: Likewise.
41820         * socket/recvmsg.c: Likewise.
41821         * socket/send.c: Likewise.
41822         * socket/sendmsg.c: Likewise.
41823         * socket/sendto.c: Likewise.
41824         * socket/setsockopt.c: Likewise.
41825         * socket/shutdown.c: Likewise.
41826         * socket/sockatmark.c: Likewise.
41827         * socket/socket.c: Likewise.
41828         * socket/socketpair.c: Likewise.
41829         * stdio-common/ctermid.c: Likewise.
41830         * stdio-common/cuserid.c: Likewise.
41831         * stdio-common/remove.c: Likewise.
41832         * stdio-common/rename.c: Likewise.
41833         * stdio-common/renameat.c: Likewise.
41834         * stdio-common/tempname.c: Likewise.
41835         * stdlib/getcontext.c: Likewise.
41836         * stdlib/makecontext.c: Likewise.
41837         * stdlib/setcontext.c: Likewise.
41838         * stdlib/swapcontext.c: Likewise.
41839         * stdlib/system.c: Likewise.
41840         * streams/fattach.c: Likewise.
41841         * streams/fdetach.c: Likewise.
41842         * streams/getmsg.c: Likewise.
41843         * streams/getpmsg.c: Likewise.
41844         * streams/putmsg.c: Likewise.
41845         * streams/putpmsg.c: Likewise.
41846         * sysdeps/unix/bsd/getpt.c: Likewise.
41847         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41848         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41849         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41851         Likewise.
41852         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41853         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41854         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41855         * sysvipc/msgctl.c: Likewise.
41856         * sysvipc/msgget.c: Likewise.
41857         * sysvipc/msgrcv.c: Likewise.
41858         * sysvipc/msgsnd.c: Likewise.
41859         * sysvipc/semctl.c: Likewise.
41860         * sysvipc/semget.c: Likewise.
41861         * sysvipc/semop.c: Likewise.
41862         * sysvipc/semtimedop.c: Likewise.
41863         * sysvipc/shmat.c: Likewise.
41864         * sysvipc/shmctl.c: Likewise.
41865         * sysvipc/shmdt.c: Likewise.
41866         * sysvipc/shmget.c: Likewise.
41867         * termios/tcdrain.c: Likewise.
41868         * termios/tcflow.c: Likewise.
41869         * termios/tcflush.c: Likewise.
41870         * termios/tcgetattr.c: Likewise.
41871         * termios/tcgetpgrp.c: Likewise.
41872         * termios/tcsendbrk.c: Likewise.
41873         * termios/tcsetattr.c: Likewise.
41874         * termios/tcsetpgrp.c: Likewise.
41875         * time/adjtime.c: Likewise.
41876         * time/clock.c: Likewise.
41877         * time/getitimer.c: Likewise.
41878         * time/gettimeofday.c: Likewise.
41879         * time/setitimer.c: Likewise.
41880         * time/settimeofday.c: Likewise.
41881         * time/stime.c: Likewise.
41882         * time/time.c: Likewise.
41884 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
41886         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41887         /usr/old/bin.
41889         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41890         instead of spaces.
41891         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41893 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
41895         [BZ #14796]
41896         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41897         FE_TONEAREST before applying Dekker multiplication and Knuth
41898         addition.  Clear inexact exceptions and check for exact zero
41899         results afterwards.
41900         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41901         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41902         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41903         * math/libm-test.inc (fma_test): Add more tests.
41904         (fma_test_towardzero): Likewise.
41905         (fma_test_downward): Likewise.
41906         (fma_test_upward): Likewise.
41907         * sysdeps/generic/math_private.h (default_libc_fesetround): New
41908         function.
41909         (libc_fesetround): New macro.
41910         (libc_fesetroundf): Likewise.
41911         (libc_fesetroundl): Likewise.
41912         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41913         function.
41914         (libc_fesetround_387): Likewise.
41915         (libc_fesetroundf): New macro.
41916         (libc_fesetround): Likewise.
41917         (libc_fesetroundl): Likewise.
41918         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41919         function.
41920         (libc_fesetroundf): New macro.
41921         (libc_fesetround): Likewise.
41922         (libc_fesetroundl): Likewise.
41923         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41924         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41925         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41926         libm_hidden_ver.
41927         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41928         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41929         libm_hidden_def.
41930         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41931         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41932         libm_hidden_ver.
41933         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41934         libm_hidden_def.
41936         [BZ #3439]
41937         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41938         integer constant usable in #if and use that to give value to enum
41939         constant.
41940         (FE_DIVBYZERO): Likewise.
41941         (FE_UNDERFLOW): Likewise.
41942         (FE_OVERFLOW): Likewise.
41943         (FE_INVALID): Likewise.
41944         (FE_INVALID_SNAN): Likewise.
41945         (FE_INVALID_ISI): Likewise.
41946         (FE_INVALID_IDI): Likewise.
41947         (FE_INVALID_ZDZ): Likewise.
41948         (FE_INVALID_IMZ): Likewise.
41949         (FE_INVALID_COMPARE): Likewise.
41950         (FE_INVALID_SOFTWARE): Likewise.
41951         (FE_INVALID_SQRT): Likewise.
41952         (FE_INVALID_INTEGER_CONVERSION): Likewise.
41953         (FE_TONEAREST): Likewise.
41954         (FE_TOWARDZERO): Likewise.
41955         (FE_UPWARD): Likewise.
41956         (FE_DOWNWARD): Likewise.
41957         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41958         (FE_DIVBYZERO): Likewise.
41959         (FE_OVERFLOW): Likewise.
41960         (FE_UNDERFLOW): Likewise.
41961         (FE_INEXACT): Likewise.
41962         (FE_TONEAREST): Likewise.
41963         (FE_DOWNWARD): Likewise.
41964         (FE_UPWARD): Likewise.
41965         (FE_TOWARDZERO): Likewise.
41966         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41967         (FE_UNDERFLOW): Likewise.
41968         (FE_OVERFLOW): Likewise.
41969         (FE_DIVBYZERO): Likewise.
41970         (FE_INVALID): Likewise.
41971         (FE_TONEAREST): Likewise.
41972         (FE_TOWARDZERO): Likewise.
41973         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41974         (FE_OVERFLOW): Likewise.
41975         (FE_UNDERFLOW): Likewise.
41976         (FE_DIVBYZERO): Likewise.
41977         (FE_INEXACT): Likewise.
41978         (FE_TONEAREST): Likewise.
41979         (FE_TOWARDZERO): Likewise.
41980         (FE_UPWARD): Likewise.
41981         (FE_DOWNWARD): Likewise.
41982         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41983         (FE_DIVBYZERO): Likewise.
41984         (FE_OVERFLOW): Likewise.
41985         (FE_UNDERFLOW): Likewise.
41986         (FE_INEXACT): Likewise.
41987         (FE_TONEAREST): Likewise.
41988         (FE_DOWNWARD): Likewise.
41989         (FE_UPWARD): Likewise.
41990         (FE_TOWARDZERO): Likewise.
41992 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
41994         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41996 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
41998         * scripts/cross-test-ssh.sh (command): Use newlines to separate
41999         commands.  Quote $PWD.
42000         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42001         -x" by "export".
42002         (remove_newlines): Remove.
42004 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42006         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42007         * stdlib/stdlib.h (atof): Moved to ...
42008         * include/bits/stdlib-float.h: Here.  New file.
42009         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42010         * stdlib/bits/stdlib-float.h: New file.
42011         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42012         -mno-sse -mno-mmx.
42013         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42014         <xmmintrin.h>.
42016 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42018         * conform/conformtest.pl (@headers): Add fenv.h.
42019         * conform/data/fenv.h-data: New file.
42020         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42021         include of <math/fenv.h>.
42023         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42024         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42025         && !UNIX98].  Enables tests for XOPEN2K8.
42026         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42027         POSIX2008]: Likewise.
42029         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42030         (struct rusage): Do not expect type or its members.
42032         [BZ #3439]
42033         * math/math.h (FP_NAN): Define macro to integer constant usable in
42034         #if and use that to give value to enum constant.
42035         (FP_INFINITE): Likewise.
42036         (FP_ZERO): Likewise.
42037         (FP_SUBNORMAL): Likewise.
42038         (FP_NORMAL): Likewise.
42040 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42042         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42043         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42044         arguments.
42046 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42048         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42049         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42050         autoconf-time if not.
42051         * configure.in: Remove AC_PREREQ.
42053 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42055         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42056         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42057         of the internal implementation.
42059 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42061         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42062         except include of <misc/sys/syslog.h>.
42064 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42067         function returns with a NULL context exit with zero.
42069 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42071         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42073 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42075         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42076         (run_program_cmd): This.
42077         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42078         (tst_langinfo): New variable.  Use it.
42080 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42082         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42083         floating point opcodes.
42085 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42087         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42088         variable.
42090         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42092         * sysdeps/mach/hurd/powerpc: Remove directory.
42093         * sysdeps/mach/powerpc: Likewise.
42095 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42097         * scripts/check-local-headers.sh: Ignore c++ headers.
42099 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42101         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42102         __libc_cleanup_region_start argument.
42104 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42106         [BZ #14784]
42107         [BZ #14785]
42108         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42109         x * y using scaling, not as x * y + z.
42110         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42111         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42112         * math/libm-test.inc (fma_test): Add more tests.
42113         (fma_test_towardzero): Likewise.
42114         (fma_test_downward): Likewise.
42115         (fma_test_upward): Likewise.
42117 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42119         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42121 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42123         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42124         New variable.
42126 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42128         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42130 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42133         Fix sort order.
42134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42135         Likewise.
42137 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42140         Fix the order of the list for glibc 2.17.
42141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42142         Likewise.
42144 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42148 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42150         [BZ #14610]
42151         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42152         for low part of x being zero before using __atanl (y).
42153         * math/libm-test.inc (atan2_test): Add another test.
42155         * manual/install.texi (Configuring and compiling): Document
42156         general use of test-wrapper and test-wrapper-env.
42157         * INSTALL: Regenerated.
42159         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42160         (__fma): Do not extract and scale down low bits on after-rounding
42161         systems when result rounded to normal precision would have normal
42162         exponent.
42163         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42164         (__fmal): Do not extract and scale down low bits on after-rounding
42165         systems when result rounded to normal precision would have normal
42166         exponent.
42167         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42168         (__fmal): Do not extract and scale down low bits on after-rounding
42169         systems when result rounded to normal precision would have normal
42170         exponent.
42171         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42172         macro.
42173         (fma_test): Add more tests.
42174         (fma_test_towardzero): Likewise.
42175         (fma_test_downward): Likewise.
42176         (fma_test_upward): Likewise.
42178 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
42180         * sysdeps/i386/tininess.h: Renamed to ...
42181         * sysdeps/x86/tininess.h: This.
42182         * sysdeps/x86_64/tininess.h: Removed.
42184 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42186         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42187         input.  Use $(build-program-cmd).
42188         ($(objpfx)tst-array1-static.out): Likewise.
42189         ($(objpfx)tst-array2.out): Likewise.
42190         ($(objpfx)tst-array3.out): Likewise.
42191         ($(objpfx)tst-array4.out): Likewise.
42192         ($(objpfx)tst-array5.out): Likewise.
42193         ($(objpfx)tst-array5-static.out): Likewise.
42195 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
42197         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42198         if defined.
42200         * nss/nsswitch.h (nss_interface_function): Provide new
42201         macro for use with NSS functions.
42202         * grp/initgroups.c: Use new macro.
42203         * nss/getXXbyYY.c: Likewise.
42204         * nss/getXXbyYY_r.c: Likewise.
42205         * nss/getXXent.c: Likewise.
42206         * nss/getXXent_r.c: Likewise.
42207         * sysdeps/posix/getaddrinfo.c: Likewise.
42209 2012-10-30  Andreas Jaeger  <aj@suse.de>
42211         * po/ru.po: Update Russion translation from translation project.
42213 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42215         [BZ #14152]
42216         [BZ #14783]
42217         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42218         result and shift together with sticky bit instead of replicating
42219         round-to-nearest rounding.
42220         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42221         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42222         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
42223         missing underflow exceptions.
42224         (fma_test_towardzero): Add more tests.
42225         (fma_test_downward): Likewise.
42226         (fma_test_upward): Likewise.
42228         [BZ #14047]
42229         * sysdeps/generic/tininess.h: New file.
42230         * sysdeps/i386/tininess.h: Likewise.
42231         * sysdeps/sh/tininess.h: Likewise.
42232         * sysdeps/x86_64/tininess.h: Likewise.
42233         * stdlib/tst-strtod-underflow.c: Likewise.
42234         * stdlib/tst-tininess.c: Likewise.
42235         * stdlib/strtod_l.c: Include <tininess.h>.
42236         (round_and_return): Do not set errno for exact underflow cases.
42237         Force an underflow exception when setting errno for underflow.
42238         Determine underflow based on rounding to normal precision if
42239         TININESS_AFTER_ROUNDING.
42240         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42241         ERANGE for exact underflow cases.
42242         * stdlib/Makefile (tests): Add tst-tininess and
42243         tst-strtod-underflow.
42244         ($(objpfx)tst-tininess): Use $(link-libm).
42245         ($(objpfx)tst-strtod-underflow): Likewise.
42247 2012-10-30  Andreas Jaeger  <aj@suse.de>
42249         [BZ#14767]
42250         * elf/Makefile (tests): Remove conditional for have-initfini-array
42251         since this is now always required and the variable does not exist
42252         anymore.
42253         (tests-static): Likewise.
42254         (modules-names): Likewise.
42256         * po/eo.po: Add Esperanto translation from translation project.
42258         * elf/tst-array1.c (fini_array): Make writeable so that it can be
42259         merged with constructor/destructor.
42260         (init_array): Likewise.
42261         * elf/tst-array2dep.c (fini_array): Likewise.
42262         (init_array): Likewise.
42264 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
42266         * manual/message.texi: Delete @cartouche tags.
42268 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
42270         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42271         EOPNOTSUPP.
42272         * sysdeps/mach/hurd/fsync.c: Likewise.
42274         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
42275         [_POSIX_REALTIME_SIGNALS]: Change condition to
42276         [_POSIX_REALTIME_SIGNALS > 0].
42278 2012-10-27  Andreas Jaeger  <aj@suse.de>
42280         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42281         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42282         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42283         [__WORDSIZE != 64]: Likewise.
42285 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
42287         *  iconvdata/tst-table.sh: Remove ${SHELL}.
42288         *  iconvdata/tst-tables.sh: Likewise.
42290 2012-10-25  David S. Miller  <davem@davemloft.net>
42292         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42293         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42294         of strtoull.
42296         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42297         ifunc-impl-list.c
42298         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42299         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42300         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42301         file.
42303 2012-10-25  Roland McGrath  <roland@hack.frob.com>
42305         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42306         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42307         __getdirentries.
42309 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42310             Jim Blandy  <jimb@codesourcery.com>
42312         * scripts/cross-test-ssh.sh: New file.
42313         * manual/install.texi (Configuring and compiling): Document use of
42314         cross-test-ssh.sh.
42315         * INSTALL: Regenerated.
42317 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
42319         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
42320         EOPNOTSUPP.
42322 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42324         * Makeconfig (run-program-prefix): Fix comment.
42326 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42327             Jim Blandy  <jimb@codesourcery.com>
42329         * Makeconfig (test-wrapper): New variable,
42330         (test-wrapper-env): Likewise.
42331         [$(cross-compiling) = yes && $(test-wrapper) != ""]
42332         (run-built-tests): Define to yes.
42333         (run-program-prefix): Use $(test-wrapper).
42334         (built-program-cmd): Likewise.
42335         * Rules (make-test-out): Use $(test-wrapper-env) and
42336         $(host-built-program-cmd).
42337         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42338         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
42339         tst-pathopt.sh.
42340         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
42341         $(test-wrapper-env) to tst-rtld-load-self.sh.
42342         ($(objpfx)order2.out): Use $(test-wrapper).
42343         ($(objpfx)tst-initorder.out): Likewise.
42344         ($(objpfx)tst-initorder2.out): Likewise.
42345         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
42346         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
42347         (test_wrapper_env): New variable.  Use it to run ld.so.
42348         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
42349         Use it to run ld.so.
42350         (test_wrapper_env): Likewise.
42351         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
42352         $(test-wrapper) to run-iconv-test.sh.
42353         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
42354         (ICONV): Use $test_wrapper.
42355         * posix/Makefile ($(objpfx)globtest.out): Pass
42356         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
42357         globtest.sh, not $(run-program-prefix).
42358         * posix/globtest.sh (run_via_rtld_prefix): New variable.
42359         (test_wrapper): Likewise.
42360         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
42361         set together with run_via_rtld_prefix.
42362         (run_program_prefix): Define in terms of test_wrapper and
42363         run_via_rtld_prefix.
42365 2012-10-24  Roland McGrath  <roland@hack.frob.com>
42367         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
42368         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
42369         Targets removed.
42371         [BZ #14743]
42372         * include/time.h: Remove librt_hidden_proto (clock_gettime).
42373         Declare __clock_getres, __clock_gettime, __clock_settime,
42374         __clock_nanosleep, and __clock_getcpuclockid.
42375         * rt/clock_gettime.c: Define __clock_gettime as an alias.
42376         Remove librt_hidden_def (clock_gettime).
42377         * sysdeps/unix/clock_gettime.c: Likewise.
42378         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
42379         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42380         * rt/clock_getres.c: Define __clock_getres as an alias.
42381         * sysdeps/posix/clock_getres.c: Likewise.
42382         * rt/clock_settime.c: Define __clock_settime as an alias.
42383         * sysdeps/unix/clock_settime.c: Likewise.
42384         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42385         * sysdeps/unix/clock_nanosleep.c: Likewise.
42386         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42387         * rt/clock-compat.c: New file.
42388         * rt/Makefile (librt-routines): Add clock-compat and move
42389         $(clock-routines) to ...
42390         (routines): ... here, new variable.
42391         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42392         Don't add get_clockfreq here.
42393         * rt/Versions (libc: GLIBC_2.17): New version set.
42394         Add clock_* symbols here.
42395         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
42396         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42397         (GLIBC_2.17): Add clock_* symbols.
42398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42400         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42402         Likewise.
42403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42404         Likewise.
42405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42409         * NEWS: Mention the move.
42411         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42412         Use __open, __read, __close rather than their public counterparts.
42413         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42414         (__get_clockfreq_via_cpuinfo): Likewise.
42415         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42416         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42418         * config.h.in (HAVE_IFUNC): New #undef.
42419         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42420         was successful.
42421         * configure: Regenerated.
42423 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42425         * configure.in: Move READELF check to start of file.
42426         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42427         libc_cv_asm_gnu_indirect_function in the process.
42428         * configure: Regenerated.
42430 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42432         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42433         send the output to /dev/null.
42434         (libc_cv_cc_with_libunwind): Likewise.
42435         (libc_cv_as_noexecstack): Likewise.
42436         * configure: Regenerate.
42438 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42440         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42442         * posix/globtest.sh (TMPDIR): Do not set.
42443         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42444         (testout): Likewise.
42446 2012-10-24  Andreas Jaeger  <aj@suse.de>
42448         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42449         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42450         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42451         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42452         posix_fadvise64, posix_fallocate64.
42454         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42455         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42456         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42457         Likewise.
42458         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42459         Likewise.
42460         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42462         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42463         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42464         <bits/fcntl-linux.h>.
42465         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42467         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42468         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42469         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42470         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42471         [__WORDSIZE != 64]: Likewise.
42473 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42475         * Makeconfig (run-built-tests): New variable.
42476         * Rules [$(cross-compiling) = yes]: Change condition to
42477         [$(run-built-tests) = no].
42478         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42479         to [$(run-built-tests) = yes].
42480         * elf/Makefile [$(cross-compiling) = no]: Likewise
42481         * grp/Makefile [$(cross-compiling) = no]: Likewise.
42482         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42483         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42484         * intl/Makefile [$(cross-compiling) = no]: Likewise.
42485         * io/Makefile [$(cross-compiling) = no]: Likewise.
42486         * libio/Makefile [$(cross-compiling) = no]: Likewise.
42487         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42488         * misc/Makefile [$(cross-compiling) = no]: Likewise.
42489         * posix/Makefile [$(cross-compiling) = no]: Likewise.
42490         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42491         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42492         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42493         * string/Makefile [$(cross-compiling) = no]: Likewise.
42495         * posix/Makefile ($(objpfx)globtest.out): Pass
42496         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42497         $(rtld-installed-name).
42498         * posix/globtest.sh (elf_objpfx): Remove variable.
42499         (rtld_installed_name): Likewise.
42500         (library_path): Likewise.
42501         (run_program_prefix): New variable.  Use for running globtest
42502         binary.
42504 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
42505             Joseph Myers  <joseph@codesourcery.com>
42507         * Makeconfig (host-built-program-cmd): New variable.
42508         * elf/Makefile (tst-stackguard1-ARGS): Use
42509         $(host-built-program-cmd).
42510         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42511         (tst-spawn-ARGS): Likewise.
42512         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42514 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42515             Jim Blandy  <jimb@codesourcery.com>
42517         * Makeconfig (run-via-rtld-prefix): New variable.
42518         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42519         (built-program-cmd): Likewise.
42521 2012-10-22  Andreas Jaeger  <aj@suse.de>
42523         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42524         __O_RSYNC if it exists, otherwise to O_SYNC.
42526 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
42527             Joseph Myers  <joseph@codesourcery.com>
42529         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42530         /dev/null.
42531         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42532         from /dev/null
42533         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42534         /dev/null.
42536 2012-10-22  Andreas Jaeger  <aj@suse.de>
42538         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42539         Define always.
42540         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42542         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42543         bits/fcntl-linux.h.
42545         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42546         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42548         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42549         to __O_LARGEFILE.
42550         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42551         to __O_LARGEFILE.
42553 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
42554             Joseph Myers  <joseph@codesourcery.com>
42556         * config.make.in (NM): New variable.
42558 2012-10-21  Andreas Jaeger  <aj@suse.de>
42560         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42561         definitions and declarations that are provided by
42562         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42564 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42566         [BZ #14683]
42567         * elf/Makefile (tests-static): Add tst-leaks1-static.
42568         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42569         ($(objpfx)tst-leaks1-static): New rule.
42570         ($(objpfx)tst-leaks1-static-mem): Likewise.
42571         (tst-leaks1-static-ENV): New macro.
42572         * elf/dl-open.c (dl_open_worker): Check the main application
42573         only if SHARED is defined.
42574         * elf/tst-leaks1-static.c: New file.
42576 2012-10-20  Andreas Jaeger  <aj@suse.de>
42578         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42579         generic values for Linux.
42580         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42581         and declarations that are provided by <bits/fcntl-linux.h> and
42582         include <bits/fcntl-linux.h>.
42583         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42584         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42586 2012-10-20  Roland McGrath  <roland@hack.frob.com>
42588         * io/fcntl.h: Move include of <bits/types.h> to the top and
42589         include it unconditionally.
42591 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42593         * wcsmbs/Makefile (tests-ifunc): New variable.
42594         (tests): Add $(tests-ifunc).
42595         * wcsmbs/test-wcschr-ifunc.c: New file.
42596         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42597         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42598         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42599         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42600         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42602         * string/Makefile (tests-ifunc): New variable.
42603         (tests): Add $(tests-ifunc).
42604         * string/test-memccpy.c (TEST_NAME): New macro.
42605         * string/test-memchr.c (TEST_NAME): Likewise.
42606         * string/test-memcmp.c (TEST_NAME): Likewise.
42607         * string/test-memcpy.c (TEST_NAME): Likewise.
42608         * string/test-memmem.c (TEST_NAME): Likewise.
42609         * string/test-memmove.c (TEST_NAME): Likewise.
42610         * string/test-memset.c (TEST_NAME): Likewise.
42611         * string/test-rawmemchr.c (TEST_NAME): Likewise.
42612         * string/test-stpcpy.c (TEST_NAME): Likewise.
42613         * string/test-stpncpy.c (TEST_NAME): Likewise.
42614         * string/test-strcasecmp.c (TEST_NAME): Likewise.
42615         * string/test-strcasestr.c (TEST_NAME): Likewise.
42616         * string/test-strcat.c (TEST_NAME): Likewise.
42617         * string/test-strchr.c (TEST_NAME): Likewise.
42618         * string/test-strcmp.c(TEST_NAME): Likewise.
42619         * string/test-strcpy.c (TEST_NAME): Likewise.
42620         * string/test-strcspn.c (TEST_NAME): Likewise.
42621         * string/test-strlen.c (TEST_NAME): Likewise.
42622         * string/test-strncasecmp.c (TEST_NAME): Likewise.
42623         * string/test-strncmp.c (TEST_NAME): Likewise.
42624         * string/test-strncpy.c (TEST_NAME): Likewise.
42625         * string/test-strnlen.c (TEST_NAME): Likewise.
42626         * string/test-strpbrk.c (TEST_NAME): Likewise.
42627         * string/test-strrchr.c (TEST_NAME): Likewise.
42628         * string/test-strspn.c (TEST_NAME): Likewise.
42629         * string/test-strstr.c (TEST_NAME): Likewise.
42630         * string/test-bcopy-ifunc.c: New file.
42631         * string/test-bzero-ifunc.c: Likewise.
42632         * string/test-memccpy-ifunc.c: Likewise.
42633         * string/test-memchr-ifunc.c: Likewise.
42634         * string/test-memcmp-ifunc.c: Likewise.
42635         * string/test-memcpy-ifunc.c: Likewise.
42636         * string/test-memmem-ifunc.c: Likewise.
42637         * string/test-memmove-ifunc.c: Likewise.
42638         * string/test-mempcpy-ifunc.c: Likewise.
42639         * string/test-memset-ifunc.c: Likewise.
42640         * string/test-rawmemchr-ifunc.c: Likewise.
42641         * string/test-stpcpy-ifunc.c: Likewise.
42642         * string/test-stpncpy-ifunc.c: Likewise.
42643         * string/test-strcasecmp-ifunc.c: Likewise.
42644         * string/test-strcasestr-ifunc.c: Likewise.
42645         * string/test-strcat-ifunc.c: Likewise.
42646         * string/test-strchr-ifunc.c: Likewise.
42647         * string/test-strchrnul-ifunc.c: Likewise.
42648         * string/test-strcmp-ifunc.c: Likewise.
42649         * string/test-strcpy-ifunc.c: Likewise.
42650         * string/test-strcspn-ifunc.c: Likewise.
42651         * string/test-strlen-ifunc.c: Likewise.
42652         * string/test-strncasecmp-ifunc.c: Likewise.
42653         * string/test-strncat-ifunc.c: Likewise.
42654         * string/test-strncmp-ifunc.c: Likewise.
42655         * string/test-strncpy-ifunc.c: Likewise.
42656         * string/test-strnlen-ifunc.c: Likewise.
42657         * string/test-strpbrk-ifunc.c: Likewise.
42658         * string/test-strrchr-ifunc.c: Likewise.
42659         * string/test-strspn-ifunc.c: Likewise.
42660         * string/test-strstr-ifunc.c: Likewise.
42662         * debug/Makefile (tests-ifunc): New variable.
42663         (tests): Add $(tests-ifunc).
42664         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42665         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42666         * debug/test-stpcpy_chk-ifunc.c: New file.
42667         * debug/test-strcpy_chk-ifunc.c: Likewise.
42669 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42671         [BZ #13601]
42672         * elf/dl-load.c (open_verify): Retry read if the entire ELF
42673         header is not read in.
42675 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
42677         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
42678         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
42679         directly.  Pass built executable to script as
42680         $(built-program-cmd).
42681         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
42682         $testprogram without using LD_LIBRARY_PATH and $ldso.
42684         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42685         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42686         $(rtld-installed-name).
42687         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42688         (rtld_installed_name): Likewise.
42689         (library_path): Likewise.
42690         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
42691         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42692         $(run-program-prefix) to tst-tables.sh.
42693         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
42694         it to run tst-table-from and tst-table-to.
42695         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42696         Pass it to tst-table.sh.
42697         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42698         $(run-program-prefix) to tst-gettext.sh.
42699         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42700         tst-translit.sh.
42701         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42702         tst-gettext2.sh.
42703         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
42704         to run tst-gettext.
42705         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
42706         to run tst-gettext2.
42707         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
42708         to run tst-translit.
42709         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42710         $(run-program-prefix) to tst-mtrace.sh.
42711         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
42712         to run tst-mtrace.
42713         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42714         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42715         $(rtld-installed-name).
42716         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42717         (rtld_installed_name): Likewise.
42718         (run_program_prefix): New variable.  Use it to run wordexp-test.
42720         * Makeconfig (ARCH): Remove all definitions.
42721         (machine): Likewise.
42722         [ARCH]: Remove conditional code.
42723         [!objdir]: Give error.
42724         [!objdir] (objpfx): Remove.
42725         [!objdir] (common-objpfx): Likewise.
42726         [!objdir] (common-objdir): Likewise.
42727         * configure.in (config_makefile): Remove.  Hardcode Makefile in
42728         AC_CONFIG_FILES call.
42729         * configure: Regenerated.
42731         [BZ #13888]
42732         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42733         or TMPDIR.
42734         (testout): Likewise.
42736         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42737         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42738         $(rtld-installed-name).
42739         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42740         (rtld_installed_name): Likwise.
42741         (runit): Remove function.
42742         (run_getconf): New variable,  Use it for running getconf binary.
42744 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
42746         [BZ #14716]
42747         * string/test-memmem.c (check_result): New function.
42748         (do_one_test): Use it.
42749         (check1): New function.
42750         (test_main): Use it.
42752 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
42754         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42756 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
42758         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42759         (_G_LSEEK64): Likewise.
42760         (_G_MMAP64): Likewise.
42761         (_G_FSTAT64): Likewise.
42762         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42763         (_G_LSEEK64): Likewise.
42764         (_G_MMAP64): Likewise.
42765         (_G_FSTAT64): Likewise.
42766         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42767         unconditional.  Call __mmap64 directly.
42768         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42769         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
42770         __lseek64 directly.
42771         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42772         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
42773         __mmap64 directly.
42774         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42775         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42776         __lseek64 directly.
42777         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42778         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42779         __lseek64 directly.
42780         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42781         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
42782         __lseek64 directly.
42783         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42784         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
42785         __fxstat64 directly.
42786         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42787         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42788         unconditional.
42789         (freopen64) [!_G_OPEN64]: Remove conditional code.
42790         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42791         unconditional.
42792         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42793         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42794         unconditional.
42795         (ftello64) [!_G_LSEEK64]: Remove conditional code.
42796         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42797         unconditional.
42798         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42799         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42800         unconditional.
42801         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42802         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42803         unconditional.
42804         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42805         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42806         unconditional.
42807         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42808         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42809         unconditional.
42810         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42812 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42814         [BZ #12140]
42815         * manual/memory.texi (Malloc Tunable Parameters): Add note
42816         about free list pointers overwriting some perturb bytes.
42817         Wording suggested by Roland McGrath.
42819 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
42821         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42822         (lgamma_test): Likewise.
42823         (tgamma_test): Likewise.
42825 2012-10-16  Florian Weimer  <fweimer@redhat.com>
42827         [BZ #14700]
42828         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42829         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42831 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
42833         * NEWS: Mention BZ #14716.
42834         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42835         when removing AVAILABLE1_USES_J macro.
42837 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
42839         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42840         (__bswap_64): __uint64_t for unsigned 64-bit int.
42842 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
42844         * include/string.h (memmem): Declare libc hidden alias.
42845         * string/memmem.c (memmem): Define libc hidden alias.
42846         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42847         __read, __close instead of open, read, close.
42849 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
42851         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42852         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42853         global and hidden.
42854         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42855         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42856         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42857         Likewise.
42858         (__rawmemchr_sse2): Likewise.
42859         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42860         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42861         (__strchr_sse2): Likewise.
42862         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42863         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42864         (__strcasecmp_sse2): Likewise.
42865         (__strncasecmp_sse2): Likewise.
42866         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42867         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42868         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42869         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42870         (__strrchr_sse2): Likewise.
42871         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42872         ifunc-impl-list.c.
42873         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42874         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42875         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42876         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42877         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42878         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42879         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42880         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42881         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42882         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42883         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42884         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42885         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42886         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42887         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42888         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42889         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42890         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42891         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42892         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42893         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42894         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42895         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42896         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42897         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42898         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42899         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42900         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42901         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42902         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42904         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42905         global and hidden.
42906         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42907         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42908         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42909         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42910         Likewise.
42911         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42912         Likewise.
42913         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42914         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42915         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42916         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42917         ifunc-impl-list.c.
42918         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42919         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42920         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42921         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42922         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42923         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42924         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42925         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42926         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42927         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42928         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42929         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42930         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42931         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42932         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42933         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42934         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42935         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42936         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42937         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42938         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42939         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42940         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42941         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42942         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42943         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42944         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42945         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42946         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42947         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42948         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42949         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42950         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42951         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42952         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42953         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42954         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42955         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42956         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42957         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42958         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42960         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42961         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42962         * include/ifunc-impl-list.h: New file.
42963         * misc/ifunc-impl-list.c: Likewise.
42964         * misc/Makefile (routines): Add ifunc-impl-list.
42965         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42966         * string/test-string.h: Include <ifunc-impl-list.h>.
42967         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42968         TEST_NAME]: New variables.
42969         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42970         are defined.
42971         (test_init): Call __libc_ifunc_impl_list to initialize
42972         func_list if TEST_IFUNC and TEST_NAME are defined.
42974         * string/Makefile (strop-tests): Add bcopy and bzero.
42975         * string/test-bcopy.c: New file.
42976         * string/test-bzero.c: Likewise.
42977         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42978         defined.
42979         * string/test-memset.c: Support bzero test if TEST_BZERO is
42980         defined.
42981         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42982         __libc_memmove.
42983         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42984         __libc_memset.
42985         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42986         of memset.
42988 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
42990         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42991         * configure: Regenerated.
42993         * Makeconfig (+link-static-before-libc): Don't include
42994         $(link-static-libc).
42996         * libio/libio.h (_IO_pos_t): Remove.
42998 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43000         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43001         McGrath.
43003 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43005         * crypt/crypt-entry.c: Include fips-private.h.
43006         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43007         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43008         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43009         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43011 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43013         * crypt/crypt-private.h: Include stdbool.h.
43014         (_ufc_setup_salt_r): Return bool.
43015         * crypt/crypt-entry.c: Include errno.h.
43016         (__crypt_r): Return NULL with EINVAL for bad salt.
43017         * crypt/crypt_util.c (bad_for_salt): New.
43018         (_ufc_setup_salt_r): Check that salt is long enough and within
43019         the specified alphabet.
43020         * crypt/badsalttest.c: New file.
43021         * crypt/Makefile (tests): Add it.
43022         ($(objpfx)badsalttest): New.
43024 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43026         * NEWS: Add entry for BZ #14602.
43028 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43030         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43031         type-generic.
43032         * math/libm-test.inc: Update comment listing what functions and
43033         macros are tested.
43034         (isgreater_test): New function.
43035         (isgreaterequal_test): Likewise.
43036         (isless_test): Likewise.
43037         (islessequal_test): Likewise.
43038         (islessgreater_test): Likewise.
43039         (isunordered_test): Likewise.
43040         (main): Call the new functions.
43042 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43044         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43045         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43046         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43047         * sysdeps/i386/configure: Regenerated.
43048         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43049         * sysdeps/mach/configure: Regenerated.
43050         * sysdeps/mach/hurd/configure: Regenerated.
43051         * sysdeps/powerpc/configure: Regenerated.
43052         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43053         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43054         * sysdeps/s390/s390-32/configure: Regenerated.
43055         * sysdeps/s390/s390-64/configure: Regenerated.
43056         * sysdeps/sh/configure: Regenerated.
43057         * sysdeps/sparc/configure: Regenerated.
43058         * sysdeps/unix/sysv/linux/configure: Regenerated.
43059         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43060         * sysdeps/x86_64/configure: Regenerated.
43062         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43063         defined.  Don't check if MAP is NULL.
43065 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43067         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43068         (_G_stat64): Likewise.
43069         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43070         (_G_stat64): Likewise.
43071         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43072         instead of struct _G_stat64.
43073         * libio/fileops.c (mmap_remap_check): Likewise.
43074         (decide_maybe_mmap): Likewise.
43075         (_IO_new_file_seekoff): Likewise.
43076         (_IO_file_stat): Likewise.
43077         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43078         _G_off64_t.
43079         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43080         instead of struct _G_stat64.
43081         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43083 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43085         [BZ #14602]
43086         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43087         Replace with ...
43088         (CHECK_EOL): New macro.
43089         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43090         CHECK_EOL.
43091         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43092         Replace with CHECK_EOL.
43093         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43094         Replace with CHECK_EOL.
43096 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43098         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43099         type-generic.
43100         * math/libm-test.inc: Update comment listing what functions and
43101         macros are tested.
43102         (finite_test): New function.
43103         (isinf_test): Likewise.
43104         (isnan_test): Likewise.
43105         (fpclassify_test): Test subnormal input.
43106         (isfinite_test): Likewise.
43107         (isnormal_test): Likewise.
43108         (main): Call the new functions.
43110 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43112         [BZ #14660]
43113         * Makerules (%.dynsym): Force C locale when running
43114         $(OBJDUMP) --dynamic-syms.
43116 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43118         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43119         <stdint.h>.
43121 2012-10-06  David S. Miller  <davem@davemloft.net>
43123         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43124         upper 32-bits of the length value in %o2 since we use branch-on-register
43125         tests which consider the entire 64-bit register.
43127 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43129         * string/test-strstr.c (check2): Add a test for page boundary.
43131 2012-10-05  David S. Miller  <davem@davemloft.net>
43133         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43134         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43135         file.
43136         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43137         sysdep_routines.
43138         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43139         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43140         and bzero when HWCAP_SPARC_CRYPTO is present.
43142 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43144         [BZ #14602]
43145         * string/test-strstr.c (check2): New function.
43146         (test_main): Call check2.
43148         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43149         and bug-strchr1.
43150         * string/bug-strcasestr1.c (do_test): Moved to ...
43151         * string/test-strcasestr.c (check1): Here.  New function.
43152         (do_one_test): Break out result checking code into ...
43153         (check_result): This.  New function.
43154         (do_one_test): Call check_result.
43155         (test_main): Call check1.
43156         * string/bug-strchr1.c (do_test): Moved to ...
43157         * string/test-strchr.c (check1): Here.  New function.
43158         (do_one_test): Break out result checking code into ...
43159         (check_result): This.  New function.
43160         (do_one_test): Call check_result.
43161         (test_main): Call check1.
43162         * string/bug-strstr1.c (main): Moved to ...
43163         * string/test-strstr.c (check1): Here.  New function.
43164         (do_one_test): Break out result checking code into ...
43165         (check_result): This.  New function.
43166         (do_one_test): Call check_result.
43167         (test_main): Call check1.
43168         * string/bug-strcasestr1.c: Removed.
43169         * string/bug-strchr1.c: Likewise.
43170         * string/bug-strstr1.c: Likewise.
43172         * elf/Makefile (dl-routines): Add hwcaps.
43173         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43174         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43175         (_dl_important_hwcaps): Moved to ...
43176         * elf/dl-hwcaps.c: Here.  New file.
43177         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43179         [BZ #14557]
43180         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43181         if IS_IN_rtld isn't defined.
43183         * elf/dl-support.c (_dl_sysinfo_map): New.
43184         Include "get-dynamic-info.h" and "setup-vdso.h".
43185         (_dl_non_dynamic_init): Call setup_vdso.
43186         * elf/dynamic-link.h: Don't include <assert.h>.
43187         (elf_get_dynamic_info): Moved to ...
43188         * elf/get-dynamic-info.h: Here.  New file.
43189         * elf/dynamic-link.h: Include "get-dynamic-info.h".
43190         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43191         * elf/setup-vdso.h: Here.  New file.
43192         * elf/rtld.c: Include "setup-vdso.h".
43193         (dl_main): Call setup_vdso.
43195 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
43197         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43198         creal in comment listing functions tested.  List finite, isinf,
43199         isnan, isless, islessequal, isgreater, isgreaterequal,
43200         islessgreater, isunordered, lgamma_r and pow10 as functions and
43201         macros not tested.  Mention which functions not tested are aliases
43202         for other functions.  Fix typo.  Note that signs of NaNs are not
43203         tested.
43205         * scripts/config.guess: Update from config.git.
43206         * scripts/config.sub: Likewise.
43208 2012-10-04  Roland McGrath  <roland@hack.frob.com>
43210         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43211         * misc/madvise.c (madvise): Renamed to __madvise.
43212         Make madvise a weak alias.
43213         * include/sys/mman.h: Declare __madvise.
43214         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43215         * sysdeps/unix/syscalls.list
43216         (madvise): Make __madvise the strong name, and madvise a weak alias.
43217         * sysdeps/unix/sysv/linux/syscalls.list
43218         (madvise, mmap): Remove redundant entries.
43219         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43220         * malloc/malloc.c (mtrim): Likewise.
43221         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43223 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43225         * sysdeps/mach/hurd/dl-cache.c: File removed.
43226         * config.h.in (USE_LDCONFIG): New #undef.
43227         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43228         * configure: Regenerated.
43229         * elf/Makefile (dl-routines): Add dl-cache only under
43230         [$(use-ldconfig) = yes].
43231         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43232         cache on [USE_LDCONFIG].
43233         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43234         [USE_LDCONFIG].
43235         * elf/rtld.c (dl_main): Likewise.
43237 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
43239         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43240         _SC_LEVEL4_CACHE_LINESIZE.
43242 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43244         * sysdeps/unix/bsd/confstr.h: File removed.
43246 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
43248         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43249         sys/sdt-config.h.
43251 2012-10-02  Roland McGrath  <roland@hack.frob.com>
43253         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43254         Make 'mapoff' field ElfW(Off) rather than off_t.
43256 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
43258         * nscd/Makefile: Remove nscd-cflags and all its users.
43259         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43260         (CFLAGS-nonlib): Add compiler flags for nscd modules.
43262         [BZ #10631]
43263         * malloc.c (malloc_printerr): Clarify error message.
43265 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
43267         [BZ #14648]
43268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43269         Set bit_FMA_Usable if FMA is supported.
43270         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43271         macro.
43272         (bit_FMA4_Usable): Updated.
43273         (index_FMA_Usable): New macro.
43274         (CPUID_FMA): Likewise
43275         (HAS_FMA): Defined with bit_FMA_Usable.
43277 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43279         * bits/types.h (__swblk_t): Type removed.
43280         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43281         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43282         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43283         (__SWBLK_T_TYPE): Likewise.
43284         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43285         (__SWBLK_T_TYPE): Likewise.
43286         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43287         (__SWBLK_T_TYPE): Likewise.
43288         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43289         (__SWBLK_T_TYPE): Likewise.
43291 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
43292             Honza Horak <hhorak@redhat.com>
43294         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43295         (xdr_mapname): Use YPMAXMAP as maxsize.
43296         (xdr_peername): Use YPMAXPEER as maxsize.
43297         (xdr_keydat): Use YPAXRECORD as maxsize.
43298         (xdr_valdat): Use YPMAXRECORD as maxsize.
43300 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43302         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43304         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43305         * csu/init-first.c: ... here.
43306         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43307         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43308         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43309         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43310         * sysdeps/i386/init-first.c: File removed.
43311         * sysdeps/sh/init-first.c: File removed.
43313 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
43315         [BZ #14645]
43316         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43317         if x * y might underflow to zero and z is zero.
43318         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43319         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43320         * math/libm-test.inc (min_subnorm_value): New variable.
43321         (fma_test): Add more tests.
43322         (fma_test_towardzero): Likewise.
43323         (fma_test_downward): Likewise
43324         (fma_test_upward): Likewise.
43325         (initialize): Set min_subnorm_value.
43327 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
43329         [BZ #14638]
43330         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
43331         0 + 0.
43332         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
43333         mode for addition resulting in exact zero.
43334         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
43335         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
43336         exact 0 + 0.
43337         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43338         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43339         * math/libm-test.inc (fma_test): Add more tests.
43340         (fma_test_towardzero): New function.
43341         (fma_test_downward): Likewise.
43342         (fma_test_upward): Likewise.
43343         (main): Call the new functions.
43345 2012-09-28  David S. Miller  <davem@davemloft.net>
43347         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
43349 2012-09-28  Roland McGrath  <roland@hack.frob.com>
43351         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
43352         instead of SIGALRM.
43354         * sysdeps/gnu/_G_config.h: Moved to ...
43355         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
43356         * sysdeps/mach/hurd/_G_config.h: Moved to ...
43357         * sysdeps/generic/_G_config.h: ... here.
43359         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
43361         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
43363         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
43364         Conditionalize target on [libnss_test1.so-version].
43366         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
43368         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43369         (elfobjdir): Move out of conditionals.
43371         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
43372         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
43373         (__nss_lookup_function): Conditionalize label remove_from_tree on
43374         [!DO_STATIC_NSS || SHARED], matching its only use.
43376 2012-09-28  David S. Miller  <davem@davemloft.net>
43378         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
43379         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
43380         file.
43381         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43382         sysdep_routines.
43383         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43384         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43385         when HWCAP_SPARC_CRYPTO is present.
43387 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43389         * io/tst-mknodat.c: Create a FIFO instead of a socket.
43391 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
43393         [BZ #6530]
43394         * stdio-common/vfprintf.c (process_string_arg): Revert
43395         2000-07-22 change.
43397 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
43399         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43400         for testcase.
43401         * stdio-common/tst-sprintf.c: Include <locale.h>
43402         (main): Test sprintf's handling of incomplete multibyte
43403         characters.
43405 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
43407         * elf/dl-runtime.c (VERSYMIDX): Removed.
43408         * elf/dl-version.c (VERSYMIDX): Likewise.
43409         * elf/do-rel.h (VERSYMIDX): Likewise.
43410         (VALIDX): Likewise.
43411         * elf/dynamic-link.h (VERSYMIDX): Likewise.
43412         * elf/rtld.c (VALIDX): Likewise.
43413         (ADDRIDX): Likewise.
43414         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43415         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43416         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43417         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43418         (VALIDX): Likewise.
43419         (ADDRIDX): Likewise.
43421 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43423         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43425 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
43427         [BZ #11438]
43428         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43429         to global scope.
43430         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43431         addresses are in the same scope as 192.0.2/24.
43432         * posix/gai.conf: Document new scope table defaults.
43434 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43436         [BZ #5298]
43437         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43438         for ftell.  Compute offsets from write pointers instead.
43439         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43441 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43443         [BZ #14543]
43444         * libio/Makefile (tests): New test case tst-fseek.
43445         * libio/tst-fseek.c: New test case to verify that fseek/ftell
43446         combination works in wide mode.
43447         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43448         state when the external buffer state changes.
43450 2012-09-27  David S. Miller  <davem@davemloft.net>
43452         [BZ #14376]
43453         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43454         pass reloc->r_addend in as the 'high' argument to
43455         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43459 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43461         * rt/tst-aio2.c: Include <pthread.h>.
43462         * rt/tst-aio3.c: Likewise.
43464 2012-09-27  Steve Ellcey  <sellcey@mips.com>
43466         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43468 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
43470         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43471         contents on [SHARED].
43473 2012-09-26  Marek Polacek  <polacek@redhat.com>
43475         [BZ #14530]
43476         [BZ #13741]
43477         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43478         for C++ and GCC <4.3 as well as for non GCC compilers.
43480 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43482         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43484 2012-09-25  Roland McGrath  <roland@hack.frob.com>
43486         * Makefile.in (all, install): Declare with .PHONY.
43487         Reported by Michael Hope <michael.hope@linaro.org>.
43489 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43491         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43492         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43493         system header.
43494         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43495         Likewise.
43496         (sydep_routines): Add the new and the internal functions.
43497         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43498         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43500         (GLIBC_2.17): Add the new function.
43501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43502         (GLIBC_2.17): Likewise.
43503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43504         (GLIBC_2.17): Likewise.
43505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43506         (GLIBC_2.17): Likewise.
43507         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43509 2012-09-25  Alan Modra  <amodra@gmail.com>
43511         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43512         Add release barrier before setting once_control to say
43513         initialisation is done.  Add hints on lwarx.  Use macro in
43514         place of isync.
43515         (clear_once_control): Add release barrier.
43517 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43519         [BZ #13629]
43520         * math/s_clog.c (__clog): Handle more values close to |z| = 1
43521         specially.
43522         * math/s_clog10.c (__clog10): Likewise.
43523         * math/s_clog10f.c (__clog10f): Likewise.
43524         * math/s_clog10l.c (__clog10l): Likewise.
43525         * math/s_clogf.c (__clogf): Likewise.
43526         * math/s_clogl.c (__clogl): Likewise.
43527         * math/Makefile (libm-calls): Add x2y2m1.
43528         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43529         (__x2y2m1): Likewise.
43530         (__x2y2m1l): Likewise.
43531         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43532         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43533         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43534         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43535         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43536         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43537         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43538         * sysdeps/i386/fpu/libm-test-ulps: Update.
43539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43541         [BZ #14621]
43542         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43543         int as type of variable DEPTH.
43544         (glob): Use size_t instead of int as type of variables NEWCOUNT
43545         and OLD_PATHC.
43547 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43549         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43550         Add s_sincosf-sse2.
43551         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43552         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43553         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43554         macros for using routine as __sincosf_ia32.
43555         Use macro for function declaration and weak_alias.
43556         * sysdeps/i386/fpu/libm-test-ulps: Update.
43558         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43559         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43561         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43562         subnormal argument.
43563         * math/s_cexpf.c (__cexpf): Likewise.
43564         * math/s_csinf.c (__csinf): Likewise.
43565         * math/s_csinhf.c (__csinhf): Likewise.
43566         * math/s_ctanf.c (__ctanf): Likewise.
43567         * math/s_ctanhf.c (__ctanhf): Likewise.
43568         * math/s_ccosh.c (__ccoshf): Likewise.
43569         * math/s_cexp.c (__cexpl): Likewise.
43570         * math/s_csin.c (__csin): Likewise.
43571         * math/s_csinh.c (__csinh): Likewise.
43572         * math/s_ctan.c (__ctan): Likewise.
43573         * math/s_ctanh.c (ctanh): Likewise.
43574         * math/s_ccoshl.c (__ccoshl): Likewise.
43575         * math/s_cexpl.c (__cexpl): Likewise.
43576         * math/s_csinl.c (__csinl): Likewise.
43577         * math/s_csinhl.c (__csinhl): Likewise.
43578         * math/s_ctanl.c (__ctanl): Likewise.
43579         * math/s_ctanhl.c (__ctanhl): Likewise.
43581 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43583         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43584         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43585         (_IO_off_t): Define to __off_t, not _G_off_t.
43586         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43587         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43588         (_IO_wint_t): Define to wint_t, not _G_wint_t.
43589         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43590         type of __dummy and __dummy2 fields.
43591         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43592         (_G_ssize_t): Likewise.
43593         (_G_off_t): Likewise.
43594         (_G_pid_t): Likewise.
43595         (_G_uid_t): Likewise.
43596         (_G_wchar_t): Likewise.
43597         (_G_wint_t): Likewise.
43598         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43599         (_G_ssize_t): Likewise.
43600         (_G_off_t): Likewise.
43601         (_G_pid_t): Likewise.
43602         (_G_uid_t): Likewise.
43603         (_G_wchar_t): Likewise.
43604         (_G_wint_t): Likewise.
43605         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43606         (_G_ssize_t): Likewise.
43607         (_G_off_t): Likewise.
43608         (_G_pid_t): Likewise.
43609         (_G_uid_t): Likewise.
43610         (_G_wchar_t): Likewise.
43611         (_G_wint_t): Likewise.
43613 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43615         * malloc/arena.c: Include malloc-sysdep.h.
43616         (shrink_heap): Use check_may_shrink_heap to decide if madvise
43617         is sufficient to shrink the heap or an unmap is needed.
43618         * sysdeps/generic/malloc-sysdep.h: New file.  Define
43619         new function check_may_shrink_heap.
43620         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
43621         new function check_may_shrink_heap.
43623 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43625         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43626         comments.
43628 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
43630         * catgets/test-gencat.sh: Add "set -e".
43631         * elf/tst-pathopt.sh: Likewise.
43632         * grp/tst_fgetgrent.sh: Likewise.
43633         * iconvdata/run-iconv-test.sh: Likewise.
43634         * intl/tst-gettext.sh: Likewise.
43635         * intl/tst-gettext2.sh: Likewise.
43636         * intl/tst-gettext4.sh: Likewise.
43637         * intl/tst-gettext6.sh: Likewise.
43638         * intl/tst-translit.sh: Likewise.
43639         * io/ftwtest-sh: Likewise.
43640         * libio/test-freopen.sh: Likewise.
43641         * malloc/tst-mtrace.sh: Likewise.
43642         * posix/globtest.sh: Likewise.
43643         * posix/tst-getconf.sh: Likewise.
43644         * posix/wordexp-tst.sh: Likewise.
43645         * stdio-common/tst-printf.sh: Likewise.
43646         * stdio-common/tst-unbputc.sh: Likewise.
43647         * stdlib/tst-fmtmsg.sh: Likewise.
43648         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43649         * catgets/Makefile: Do not specify -e option when running
43650         testsuite shell scripts.
43651         * elf/Makefile: Likewise.
43652         * grp/Makefile: Likewise.
43653         * iconvdata/Makefile: Likewise.
43654         * intl/Makefile: Likewise.
43655         * io/Makefile: Likewise.
43656         * libio/Makefile: Likewise.
43657         * malloc/Makefile: Likewise.
43658         * posix/Makefile: Likewise.
43659         * stdio-common/Makefile: Likewise.
43660         * stdlib/Makefile: Likewise.
43661         * sysdeps/x86_64/Makefile: Likewise.
43663         * io/ftwtest-sh: Add copyright header.
43664         * posix/globtest.sh: Likewise.
43665         * posix/tst-getconf.sh: Likewise.
43666         * posix/wordexp-tst.sh: Likewise.
43667         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43669 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
43671         [BZ #13679]
43672         * Makeconfig (+link): Defined as $(+link-static) if
43673         $(build-shared) isn't yes.
43674         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43675         isn't yes.
43676         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43678         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43680         [BZ #14562]
43681         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43682         new chunk size with MALLOC_ALIGN_MASK.
43684 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
43686         [BZ #5044]
43687         * stdio-common/printf_fphex.c: Include <stdbool.h> and
43688         <rounding-mode.h>.
43689         (__printf_fphex): Determine rounding using get_rounding_mode and
43690         round_away.
43691         * stdio-common/tst-printf-round.c (struct hex_test): New
43692         structure.
43693         (hex_tests): New variable.
43694         (test_hex_in_one_mode): New function.
43695         (do_test): Also run tests for hex float output.
43697 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
43699         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43700         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43701         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43702         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43703         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43704         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43705         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43706         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43708 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
43710         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43711         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43712         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43713         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43715 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
43717         [BZ #14579]
43718         * elf/rtld.c (dl_main): Limit the check for self loading to normal
43719         mode only.
43720         * elf/tst-rtld-load-self.sh: New test.
43721         * elf/Makefile: Run it.
43723 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
43725         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43726         (tst-writev-ENV): Remove.
43727         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43729 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
43731         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43733 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
43735         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43736         unconditional.
43737         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43738         Likewise.
43739         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43740         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43741         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43742         Likewise.
43744 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
43746         [BZ #14587]
43747         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43748         * config.make.in (have-cpp-asm-debuginfo): Removed.
43749         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43750         * configure: Regenerated.
43752 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
43754         [BZ #5044]
43755         * stdio-common/printf_fp.c: Include <stdbool.h> and
43756         <rounding-mode.h>.
43757         (___printf_fp): Determine rounding using get_rounding_mode and
43758         round_away.
43759         * stdio-common/tst-printf-round.c: New file.
43760         * stdio-common/Makefile (tests): Add tst-printf-round.
43761         (link-libm): New variable.
43762         ($(objpfx)tst-printf-round): Depend in $(link-libm).
43764 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
43766         [BZ #14576]
43767         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43768         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43769         Likewise.
43770         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43771         Likewise.
43773 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
43775         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43776         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43777         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43778         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43780 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
43782         [BZ #14518]
43783         * include/rounding-mode.h: New file.
43784         * sysdeps/generic/get-rounding-mode.h: Likewise.
43785         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43786         * stdlib/strtod_l.c: Include <rounding-mode.h>.
43787         (MAX_VALUE): New macro.
43788         (MIN_VALUE): Likewise.
43789         (overflow_value): New function.
43790         (underflow_value): Likewise.
43791         (round_and_return): Use overflow_value and underflow_value to
43792         determine return values in overflow and underflow cases.  Use
43793         round_away to determine rounding depending on rounding mode.
43794         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43795         determine return values in overflow and underflow cases.
43796         * stdlib/tst-strtod-round.c: Include <fenv.h>.
43797         (struct test_results): New structure.
43798         (struct test): Use struct test_results to store expected results
43799         for all rounding modes.
43800         (TEST): Include expected results for all rounding modes.
43801         (test_in_one_mode): New function.
43802         (do_test): Use test_in_one_mode to compute and check results.
43803         Check results for all rounding modes.
43804         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43805         $(link-libm).
43807 2012-12-09  Allan McRae  <allan@archlinux.org>
43809         * sysdeps/i386/fpu/libm-test-ulps: Update
43811 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
43813         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43814         (_G_int32_t): Likewise.
43815         (_G_uint16_t): Likewise.
43816         (_G_uint32_t): Likewise.
43817         (_G_HAVE_BOOL): Likewise.
43818         (_G_HAVE_ATEXIT): Likewise.
43819         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43820         (_G_HAVE_IO_FILE_OPEN): Likewise.
43821         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43822         (_G_int32_t): Likewise.
43823         (_G_uint16_t): Likewise.
43824         (_G_uint32_t): Likewise.
43825         (_G_HAVE_BOOL): Likewise.
43826         (_G_HAVE_ATEXIT): Likewise.
43827         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43828         (_G_HAVE_IO_FILE_OPEN): Likewise.
43829         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43830         (_G_int32_t): Likewise.
43831         (_G_uint16_t): Likewise.
43832         (_G_uint32_t): Likewise.
43833         (_G_HAVE_BOOL): Likewise.
43834         (_G_HAVE_ATEXIT): Likewise.
43835         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43836         (_G_HAVE_IO_FILE_OPEN): Likewise.
43838 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
43840         * csu/libc-tls.c: Update copyright years.
43842 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
43844         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43845         [!_G_USING_THUNKS]: Remove conditional code.
43846         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43847         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43849         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43850         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43851         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43852         (_G_VTABLE_LABEL_PREFIX): Likewise.
43853         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43854         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43855         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43856         (_G_VTABLE_LABEL_PREFIX): Likewise.
43857         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43858         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43859         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43860         (_G_VTABLE_LABEL_PREFIX): Likewise.
43861         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43863 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
43865         * libio/Makefile: Include ../Makeconfig before tests.
43866         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43867         only if $(build-shared) is yes.
43869         * iconv/gconv_db.c: Update copyright years.
43871 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43873         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43874         unwind info if defined PIC. Fix special cases description.
43875         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43877         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43878         DP_HI_MASK entry.
43879         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43881 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
43883         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43885         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43886         is NULL.
43888         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43889         (LDLIBS-tst-chk4): This.
43890         (LDFLAGS-tst-chk5): Renamed to ...
43891         (LDLIBS-tst-chk5): This.
43892         (LDFLAGS-tst-chk6): Renamed to ...
43893         (LDLIBS-tst-chk6): This.
43894         (LDFLAGS-tst-lfschk4): Renamed to ...
43895         (LDLIBS-tst-lfschk4): This.
43896         (LDFLAGS-tst-lfschk5): Renamed to ...
43897         (LDLIBS-tst-lfschk5): This.
43898         (LDFLAGS-tst-lfschk6): Renamed to ...
43899         (LDLIBS-tst-lfschk6): This.
43901         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43902         on $(common-objpfx)soversions.mk.
43904 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
43906         [BZ #10014]
43907         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43908         example host name.
43910 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43912         * malloc/arena.c (arena_get_retry): New function that gets
43913         another arena for the caller to try its request on.
43914         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43915         current arena cannot fulfill the request.
43916         (__libc_memalign): Likewise.
43917         (__libc_memalign): Likewise.
43918         (__libc_pvalloc): Likewise.
43919         (__libc_calloc): Likewise.
43921 2012-09-05  John Tobey  <john.tobey@gmail.com>
43923         [BZ #13542]
43924         * manual/arith.texi (Operations on Complex): Fix description
43925         of carg branch cut.
43927 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43929         [BZ #10014]
43930         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43931         host name.
43933         [BZ #10038]
43934         * manual/memory.texi (Memory): Make order of menu items match
43935         order of sections.
43937 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43939         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43940         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
43941         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43943 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43945         * csu/libc-tls.c (static_dtv): Renamed to ...
43946         (_dl_static_dtv): This.  Make it global.
43947         (_dl_initial_dtv): Removed.
43948         (__libc_setup_tls): Updated.
43949         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43950         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43951         DL_INITIAL_DTV.
43953 2012-09-06  Petr Machata  <pmachata@redhat.com>
43955         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43956         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43957         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43958         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43960 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43962         [BZ #14545]
43963         * csu/libc-tls.c (_dl_initial_dtv): New variable.
43964         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43965         freeing dtv[-1].
43967 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43969         [BZ #14544]
43970         * Makeconfig (link-static-before-libc): Replace $(+prector)
43971         with $(+prectorT).
43972         (link-static-after-libc): Replace $(+postctor) with
43973         $(+postctorT).
43974         (link-bounded): Replace $(+prector)/$(+postctor) with
43975         $(+prectorT)/$(+postctorT).
43976         (+prectorT): New macro.
43977         (+postctorT): Likewise.
43979 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43981         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43982         (round_str): Handle values above the maximum for IBM long double
43983         as inexact.
43984         * stdlib/tst-strtod-round.c (tests): Regenerated.
43986 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43988         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43989         assembler flag.
43990         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43991         zarch_nohighgprs around the zarch optimized routines.
43992         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43993         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43994         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43995         for zarch.
43997 2012-09-05  David S. Miller  <davem@davemloft.net>
43999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44001         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44002         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44003         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44004         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44005         entries.
44007 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44009         * malloc/arena.c: Fold copyright years.
44010         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44012 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44014         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44016 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44018         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44020 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44022         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44023         change internal state upon failure.
44025 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44027         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44028         * malloc/memusage.c (mmap): Likewise.
44029         (mmap64, mremap): Likewise.  Adjust name in comment.
44031 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44033         * libio/fileops.c: Fix typos in comments.
44034         * libio/oldfileops.c: Likewise.
44035         * libio/wfileops.c: Likewise.
44037 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44039         [BZ #1349]
44040         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44041         (tst-malloc-usable-ENV): Set environment for test case.
44042         * malloc/hooks.c (malloc_check_get_size): New function to get
44043         requested size.
44044         * malloc/malloc.c (musable): Use malloc_check_get_size.
44045         * malloc/tst-malloc-usable.c: New test case.
44047 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44049         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44051 2012-09-05  Allan McRae  <allan@archlinux.org>
44053         [BZ #13966]
44054         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44055         determine header location.
44056         * configure: Regenerated.
44058 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44060         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44061         float format.
44062         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44063         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44064         format.
44065         (test): Regenerate.
44067 2012-09-04  David S. Miller  <davem@davemloft.net>
44069         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44070         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44071         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44073 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44075         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44076         failures.
44078         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44080 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44082         [BZ #9914]
44083         * libio/iogetdelim.c: Include <limits.h>.
44084         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44085         + len + 1 would overflow.
44087 2012-09-03  Andreas Jaeger  <aj@suse.de>
44089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44090         * sysdeps/i386/fpu/libm-test-ulps: Update.
44092 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44094         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44095         Add s_sinf-sse2, s_conf-sse2.
44097         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44098         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44099         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44100         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44102         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44103         for using routine as __sinf_ia32.
44104         Use macro for function declaration and weak_alias.
44105         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44106         for using routine as __cosf_ia32.
44107         Use macro for function declaration and weak_alias.
44109         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44110         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44112         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44113         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44114         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44116         * math/libm-test.inc (cos_test): Add more test cases.
44117         (sin_test): Likewise.
44118         (sincos_test): Likewise.
44120 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44122         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44123         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44124         hidden.
44125         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44127 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44129         [BZ #14538]
44130         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44131         first element of the GOT.
44132         (elf_machine_load_address): Return the difference between
44133         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44135 2012-09-01  Allan McRae  <allan@archlinux.org>
44137         [BZ #13412]
44138         * configure.in (AWK): Require gawk version 3.0 or later.
44139         * configure: Regenerated.
44141 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44143         * sysdeps/unix/sysv/linux/kernel-features.h
44144         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44145         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44146         [__NR_clock_getres]: Make code unconditional.
44147         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44148         (clock_getcpuclockid): Remove code left unreachable by removal of
44149         conditionals.
44150         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44151         code unconditional.
44152         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44153         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44154         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44155         Make code unconditional.
44156         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44157         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44158         * sysdeps/unix/sysv/linux/clock_settime.c
44159         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44160         conditional code.
44161         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44162         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44164 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44166         [BZ #14476]
44167         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44168         scripts/test-installation.pl.
44170         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44171         and $ld_so_version if it is set.
44173 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44175         [BZ #14516]
44176         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44177         failure if reading from procfs failed.
44178         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44180 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44182         * sysdeps/unix/sysv/linux/kernel-features.h
44183         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44184         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44185         Remove conditional code.
44186         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44187         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44188         Remove conditional code.
44189         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44190         * sysdeps/unix/sysv/linux/i386/fxstat.c
44191         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44192         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44193         * sysdeps/unix/sysv/linux/i386/fxstatat.c
44194         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44195         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44196         * sysdeps/unix/sysv/linux/i386/lxstat.c
44197         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44198         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44199         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44200         Remove conditional code.
44201         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44202         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44203         Remove conditional code.
44204         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44205         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44206         <kernel-features.h>.
44207         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44208         Remove.
44209         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44210         Remove conditional code.
44211         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44212         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44213         Remove conditional.
44215 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
44217         [BZ #5400]
44218         * NEWS: Add fixed bug number.
44220 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44222         [BZ #14519]
44223         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44224         underflowing exponent in case of negative sign.
44225         * stdlib/tst-strtod-round-data: Add more tests.
44226         * stdlib/tst-strtod-round.c (tests): Regenerated.
44228         [BZ #3479]
44229         * stdlib/strtod_l.c (NDIG): Remove.
44230         (HEXNDIG): Likewise.
44231         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44232         smallest representable value.
44233         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44234         lie within an exact representation of 1/2 ulp of the result.
44235         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44236         unconditionally.
44237         (TENS_P9_IDX): Define unconditionally.
44238         (TENS_P9_SIZE): Likewise.
44239         (TENS_P10_IDX): Likewise.
44240         (TENS_P10_SIZE): Likewise.
44241         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44242         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44243         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44244         entries for 10^2^13 and 10^2^14.
44245         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44246         (TENS_P13_IDX): Define.
44247         (TENS_P13_SIZE): Likewise.
44248         (TENS_P14_IDX): Likewise.
44249         (TENS_P14_SIZE): Likewise.
44250         (_fpioconst_pow10): Change array size to
44251         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
44252         unconditional.
44253         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44254         1024]: Add entries for 10^2^13 and 10^2^14.
44255         [LAST_POW10 > _LAST_POW10]: Remove #error.
44256         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44257         (_fpioconst_pow10): Change array size to
44258         FPIOCONST_POW10_ARRAY_SIZE.
44259         * stdlib/gen-fpioconst.c: New file.
44260         * stdlib/gen-tst-strtod-round.c: Likewise.
44261         * stdlib/tst-strtod-round-data: Likewise.
44262         * stdlib/tst-strtod-round.c: Likewise.
44263         * stdlib/Makefile (tests): Add tst-strtod-round.
44265         [BZ #14459]
44266         * stdlib/strtod_l.c: Include <stdint.h>.
44267         (NDEBUG): Do not define.
44268         (round_and_return): Change EXPONENT parameter to type intmax_t.
44269         Rearrange calculations to avoid internal overflow possibilities.
44270         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44271         Rearrange calculations to avoid internal overflow possibilities.
44272         Assert that number fits inside MPNSIZE limbs.
44273         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44274         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
44275         calculations and add assertions to avoid internal overflow
44276         possibilities.  Add casts to avoid signed/unsigned operations.
44277         * stdlib/tst-strtod-overflow.c: New file.
44278         * stdlib/Makefile (tests): Add tst-strtod-overflow.
44280 2012-08-25  Marek Polacek  <polacek@redhat.com>
44282         * time/time.h: Fix some typos in comments.
44284 2012-08-23  Roland McGrath  <roland@hack.frob.com>
44286         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44287         * posix/tst-rfc3484-2.c: Likewise.
44288         * posix/tst-rfc3484-3.c: Likewise.
44290 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
44292         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44293         (EF_ARM_ABI_FLOAT_HARD): Likewise.
44295 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
44297         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44298         #include of fxstatat64.c.
44300 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44302         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44303         * shadow/getspent_r.c: Likewise.
44304         * shadow/getspnam.c: Likewise.
44305         * shadow/getspnam_r.c: Likewise.
44306         * gshadow/getsgent.c: Likewise.
44307         * gshadow/getsgent_r.c: Likewise.
44308         * gshadow/getsgnam.c: Likewise.
44309         * gshadow/getsgnam_r.c: Likewise.
44310         * inet/getnetbyad.c: Likewise.
44311         * inet/getnetbyad_r.c: Likewise.
44312         * inet/getnetbynm.c: Likewise.
44313         * inet/getnetbynm_r.c: Likewise.
44314         * inet/getnetent.c: Likewise.
44315         * inet/getnetent_r.c: Likewise.
44316         * inet/getproto.c: Likewise.
44317         * inet/getproto_r.c: Likewise.
44318         * inet/getprtent.c: Likewise.
44319         * inet/getprtent_r.c: Likewise.
44320         * inet/getprtname.c: Likewise.
44321         * inet/getprtname_r.c: Likewise.
44322         * inet/getrpcbyname.c: Likewise.
44323         * inet/getrpcbyname_r.c: Likewise.
44324         * inet/getrpcbynumber.c: Likewise.
44325         * inet/getrpcbynumber_r.c: Likewise.
44326         * inet/getrpcent.c: Likewise.
44327         * inet/getrpcent_r.c: Likewise.
44328         * inet/getaliasent.c: Likewise.
44329         * inet/getaliasent_r.c: Likewise.
44330         * inet/getaliasname.c: Likewise.
44331         * inet/getaliasname_r.c: Likewise.
44332         * nscd/getgrgid_r.c: Likewise.
44333         * nscd/getgrnam_r.c: Likewise.
44334         * nscd/gethstbyad_r.c: Likewise.
44335         * nscd/gethstbynm3_r.c: Likewise.
44336         * nscd/getpwnam_r.c: Likewise.
44337         * nscd/getpwuid_r.c: Likewise.
44338         * nscd/getsrvbynm_r.c: Likewise.
44339         * nscd/getsrvbypt_r.c: Likewise.
44340         * nscd/gai.c: Likewise.
44342         * configure.in (build_nscd): New substituted variable, set
44343         by --disable-build-nscd and defaults to $use_nscd.
44344         * configure: Regenerated.
44345         * config.make.in (build-nscd): New substituted variable.
44346         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
44347         Change conditional to require [$(build-nscd) = yes] as well.
44348         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
44350         [BZ# 13696]
44351         * configure.in (use_nscd): New substituted variable, set by
44352         --disable-nscd.  If enabled, define USE_NSCD.
44353         * configure: Regenerated.
44354         * config.h.in: Add USE_NSCD.
44355         * config.make.in (use-nscd): New substituted variable.
44356         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
44357         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
44358         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
44359         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
44360         (CFLAGS-getgrnam_r.c): Likewise.
44361         (CFLAGS-initgroups.c): Likewise.
44362         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
44363         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
44364         Variables removed.
44365         * inet/getnetgrent_r.c
44366         (nscd_setnetgrent): New function, broken out of ...
44367         (setnetgrent): ... here.  Call it.
44368         (innetgr): Conditionalize nscd bits on [USE_NSCD].
44369         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
44370         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
44371         * nscd/Makefile (routines, aux): Move definitions after include of
44372         Makeconfig.  Conditionalize on [$(use-nscd) != no].
44373         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
44374         Conditionalize on [USE_NSCD].
44375         (is_nscd, nscd_init_cb): Likewise.
44376         (nss_load_library): Conditionalize init callback on [USE_NSCD].
44377         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
44378         * nss/nss_db/db-init.c: Likewise.
44379         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
44380         [USE_NSCD].
44381         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
44382         (make_request): Use it.
44383         (cache_valid_p): New function.
44384         (__check_pf): Use it.
44385         * NEWS: Add item for --disable-nscd.
44387 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
44389         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44390         to support sed >= 4.2.1-20-ga9bf076.
44391         * configure: Regenerated.
44393 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44395         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44396         Conditionalize whole body on [IREL].
44398 2012-08-22  Jeff Law <law@redhat.com>
44400         [BZ #14505]
44401         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44402         if the family is PF_UNSPEC.
44404 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
44406         * Makerules (lib-version): Rename from V.
44407         (install-lib-nosubdir): Change V to lib-version.
44409 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
44411         [BZ #14252]
44412         * powerpc32/power6/wcschr.c: New file.
44413         * powerpc32/power6/wcscpy.c: New file.
44414         * powerpc32/power6/wcsrchr.c: New file.
44415         * powerpc64/power6/wcschr.c: New file.
44416         * powerpc64/power6/wcscpy.c: New file.
44417         * powerpc64/power6/wcsrchr.c: New file.
44419 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44421         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44422         (two_way_short_needle): Use it.
44423         * string/strstr.c (AVAILABLE1_USES_J): Define.
44424         * string/strcasestr.c: Likewise.
44426         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44427         array references.
44428         * string/strcasestr.c (TOLOWER): Make side-effect safe.
44430         [BZ #11607]
44431         * NEWS: Add an entry.
44432         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44433         define their defaults.
44434         (two_way_short_needle): Detect end-of-string on-the-fly.
44435         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44436         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44437         * string/bug-strcasestr1.c: New test.
44438         * string/Makefile: Run it.
44440 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44442         [BZ #11607]
44443         * string/str-two-way.h (two_way_short_needle): Optimize matching of
44444         the first character.
44446 2012-08-21  Roland McGrath  <roland@hack.frob.com>
44448         * csu/elf-init.c (__libc_csu_irel): Function removed.
44449         * csu/libc-start.c (apply_irel): New function.
44450         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44452 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
44454         * sysdeps/unix/sysv/linux/kernel-features.h
44455         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44456         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44457         <kernel-features.h>.
44458         [__NR_fadvise64_64]: Make code unconditional.
44459         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44460         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44461         !__NR_fadvise64_64)]: Likewise.
44462         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44463         !__NR_fadvise64_64))]: Likewise.
44464         [__NR_fadvise64]: Make code unconditional.
44465         [!__NR_fadvise64]: Remove conditional code.
44466         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44467         <kernel-features.h>.
44468         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44469         unconditional.
44470         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44471         conditional code.
44472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44473         not include <kernel-features.h>.
44474         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44475         unconditional.
44476         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44477         conditional code.
44478         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44479         include <kernel-features.h>.
44480         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44481         unconditional.
44482         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44483         conditional code.
44485 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44487         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44488         slight instruction rearrangements per scrollpipe analysis.
44489         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44491 2012-08-20  Roland McGrath  <roland@hack.frob.com>
44493         * manual/syslog.texi (syslog; vsyslog, closelog):
44494         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44495         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44497         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44498         DSOCAPS to match condition on defining it.
44500 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
44502         * sysdeps/unix/sysv/linux/kernel-features.h
44503         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44505         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44506         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44508         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44509         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44511         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44512         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44514         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44515         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44517         * sysdeps/unix/sysv/linux/kernel-features.h
44518         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44519         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44520         unconditional.
44521         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44522         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44523         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44524         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44525         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44526         Make code unconditional.
44527         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44528         (__mmap64) [!__NR_mmap2]: Likewise.
44529         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44530         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44531         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44532         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44533         [__NR_mmap2]: Make code unconditional.
44534         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44535         (__mmap64) [!__NR_mmap2]: Likewise.
44537 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44539         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44541 2012-08-18  Andreas Jaeger  <aj@suse.de>
44543         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44545 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44547         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44548         * include/unistd.h (__have_sock_cloexec): Likewise.
44549         (__have_pipe2): Likewise.
44550         (__have_dup3): Likewise.
44552 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44554         [BZ #9685]
44555         * include/unistd.h (__have_pipe2): Change define into an extern int.
44556         (__have_dup3): Likewise.
44557         * socket/have_sock_cloexec.c: Include fcntl.h.
44558         (__have_pipe2): New variable.
44559         (__have_dup3): Likewise.
44561 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
44563         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44565 2012-08-17  Marek Polacek  <polacek@redhat.com>
44567         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44568         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44570 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44572         * configure.in: Add AC_SUBST for sysheaders.
44573         * configure: Regenerated.
44574         * config.make.in (sysheaders): New substituted variable.
44576         * sysdeps/unix/mkfifo.c: Moved ...
44577         * sysdeps/posix/mkfifo.c: ... here.
44578         * sysdeps/unix/mkfifoat.c: Moved ...
44579         * sysdeps/posix/mkfifoat.c: ... here.
44581         * sysdeps/unix/utime.c: Moved ...
44582         * sysdeps/posix/utime.c: ... here.
44584         * sysdeps/unix/time.c: Moved ...
44585         * sysdeps/posix/time.c: ... here.
44586         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44587         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44589         * sysdeps/unix/nice.c: Moved ...
44590         * sysdeps/posix/nice.c: ... here.
44592         * sysdeps/unix/alarm.c: Moved ...
44593         * sysdeps/posix/alarm.c: ... here.
44595         * intl/Makefile ($(codeset_mo)): Depend on the input file.
44597 2012-08-17  Jeff Law <law@redhat.com>
44599         * intl/Makefile (codeset_mo): New variable.
44600         ($(codeset_mo)): New target.
44601         (tst-codeset.out): Depend on that.  Remove explicit rule.
44602         (tst-gettext3.out, tst-gettext5.out): Likewise.
44603         (LOCPATH-ENV, tst-codeset-ENV): New variables.
44604         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44605         * intl/tst-codeset.sh: Remove.
44606         * intl/tst-gettext3.sh: Likewise.
44607         * intl/tst-gettext5.sh: Likewise.
44609 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44611         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
44612         * sysdeps/unix/syscalls.list: ... here.
44614         * sysdeps/posix/getaddrinfo.c
44615         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44616         (gaiconf_init, gaiconf_reload): Use them.
44617         [!_STATBUF_ST_NSEC]
44618         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44619         Define using time_t rather than struct timespec.
44621         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44622         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44623         Macros removed.
44624         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44625         [!NO_THREADS].
44626         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44627         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44628         Likewise.
44630         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44631         __libc_cleanup_push argument.
44633         * bits/param.h: New file.
44634         * misc/sys/param.h: New file.
44635         * include/sys/param.h: New file.
44636         * misc/Makefile (headers): Add bits/param.h.
44637         * sysdeps/generic/sys/param.h: File removed.
44638         * sysdeps/unix/sysv/linux/bits/param.h: New file.
44639         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44640         * sysdeps/mach/hurd/bits/param.h: New file.
44641         * sysdeps/mach/hurd/sys/param.h: File removed.
44643         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44644         last change.
44646         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44647         [_IO_MTSAFE_IO].
44648         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44649         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44650         New macros.
44652         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44653         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44654         rather than -D_IO_MTSAFE_IO conditionally.
44655         * stdio-common/Makefile (CPPFLAGS): Likewise.
44656         * wcsmbs/Makefile (CPPFLAGS): Likewise.
44657         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44658         Use $(libio-mtsafe).
44659         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44660         of -D_IO_MTSAFE_IO.
44661         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44662         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44663         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44664         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44665         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44666         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44667         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44668         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44669         (CFLAGS-fread_u_chk.c): Likewise.
44670         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44671         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44672         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44673         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44674         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44675         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44676         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44677         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44678         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44680         * libio/Makefile: Test [$(libc-reentrant) = yes]
44681         instead of [$(filter %REENTRANT, $(defines)) nonempty].
44683         * Makeconfig
44684         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44685         * sysdeps/pthread/configure: File removed.
44686         * sysdeps/pthread/Makeconfig: New file.
44687         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44688         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44690 2012-08-16  Gary Benson  <gbenson@redhat.com>
44692         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44693         unmapping the first object in a namespace.
44695 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44697         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44698         (__internal_setnetgrent): ... this.  Add internal_function to
44699         definition.  Add libc_hidden_def.
44700         (setnetgrent): Update caller.
44701         (internal_endnetgrent): Renamed to ...
44702         (__internal_endnetgrent): ... this.  Add internal_function to
44703         definition.  Add libc_hidden_def.
44704         (endnetgrent): Update caller.
44705         (internal_getnetgrent_r): Renamed to ...
44706         (__internal_getnetgrent_r): ... this.  Add internal_function to
44707         definition.  Add libc_hidden_def.
44708         (__getnetgrent_r): Update caller.
44709         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
44711 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44713         * stdlib/longlong.h: Update from GCC.
44715 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44717         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44718         on _QL, which is set by umul_ppmm but never used.
44719         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44720         variables, which are set by GMP macros but never used.
44721         * stdio-common/_itowa.c (_itowa): Likewise.
44722         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44723         * stdlib/mod_1.c (mpn_mod_1): Likewise.
44725 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
44727         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44728         struct La_sh_regs is not constant.
44729         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44730         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44731         and struct La_sparc64_regs are not constant.
44733 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44735         * sysdeps/unix/sysv/linux/kernel-features.h
44736         (__ASSUME_POSIX_TIMERS): Remove.
44737         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44738         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44739         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44740         Make code unconditional.
44741         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44742         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44743         Make code unconditional.
44744         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44745         * sysdeps/unix/sysv/linux/clock_nanosleep.c
44746         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44747         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44748         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44749         Make code unconditional.
44750         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44751         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44752         (__libc_missing_posix_timers): Remove.
44754 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44756         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44757         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44759         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44761         * elf/dl-sym.c: Include <stdlib.h>.
44763         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44764         constants, which avoids warnings in 32-bit builds.
44766         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44767         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44769         * misc/lseek.c: File moved to ...
44770         * io/lseek.c: ... here.
44772         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44774         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44775         shifting LEN more than 31 bits at once.
44777 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44779         [BZ #14195]
44780         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44781         segmentation fault for a case of two empty input strings.
44782         * string/test-strncasecmp.c (check1): Renamed to...
44783         (bz12205): ...this.
44784         (bz14195): Add new testcase for two empty input strings and N > 0.
44785         (test_main): Call new testcase, adapt for renamed function.
44787 2012-08-15  Andreas Jaeger  <aj@suse.de>
44789         [BZ #14090]
44790         * crypt/md5test2.c: New test, based on test supplied by Serge
44791         Belyshev <belyshev@depni.sinp.msu.ru>.
44792         * crypt/Makefile (xtests): Add md5test-giant..
44793         * crypt/Makefile ($(objpfx)md5test-giant): Add.
44795 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
44797         [BZ #14090]
44798         * crypt/md5.c (md5_process_block): Don't assume the buffer
44799         length is less than 2**32.
44800         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44801         length is less than 2**64.
44803 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44805         * string/str-two-way.h: Include <sys/param.h>.
44806         (MAX): Macro removed.
44808         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44809         Move #define and #undef of memmove to just before and after
44810         including <string.h>.
44812         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44813         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44814         and after including <string.h>.  Move declarations of
44815         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44816         to before #include "string/memmove.c".
44818         * include/dirent.h: Declare __getdirentries.
44820         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44821         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44823 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
44825         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44826         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44827         * sysdeps/i386/configure: Regenerated.
44828         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44829         STABS_CURRENT_FILE, and STABS_FUN.
44830         (END): Remove call to STABS_FUN_END.
44831         (STABS_CURRENT_FILE1): Delete.
44832         (STABS_CURRENT_FILE): Likewise.
44833         (STABS_FUN): Likewise.
44834         (STABS_FUN_END): Likewise.
44835         (STABS_FUN2): Likewise.
44836         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44837         * sysdeps/x86_64/configure: Regenerated.
44839 2012-08-14  Roland McGrath  <roland@hack.frob.com>
44841         * elf/dl-open.c: Include <atomic.h>.
44842         * elf/dl-lookup.c: Likewise.
44844 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
44846         * sysdeps/unix/sysv/linux/kernel-features.h
44847         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44848         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44849         unconditionally.
44850         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44851         unconditionally.
44852         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44853         condition on __ASSUME_CLONE_THREAD_FLAGS.
44855 2012-08-14  Andreas Jaeger  <aj@suse.de>
44857         * sysdeps/i386/fpu/libm-test-ulps: Update.
44859 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
44861         * include/atomic.h (atomic_exchange_and_add): Split into ...
44862         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44863         New atomic macros.
44865 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
44867         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44869 2012-08-13  Jeff Law <law@redhat.com>
44871         * manual/stdio.texi (snprintf): Clarify handling of the trailing
44872         null byte in the output string.
44874 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
44876         * sysdeps/unix/sysv/linux/kernel-features.h
44877         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44878         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44879         (__ASSUME_ARG_MAX_STACK_BASED): Define.
44880         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44881         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44882         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
44883         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44885 2012-08-09  Jeff Law <law@redhat.com>
44887         [BZ #13939]
44888         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44889         When avoid_arena is set, don't retry in the that arena.  Pick the
44890         next one, whatever it might be.
44891         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44892         (arena_lock): Pass in new parameter to arena_get2.
44893         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44894         arena_get2.
44895         (__libc_malloc): Unify retrying after main arena failure with
44896         __libc_memalign version.
44897         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44899 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
44901         [BZ #14166]
44902         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44903         to __redirect_strstr.
44904         (__strstr_sse42): Use typeof __redirect_strstr.
44905         (__strstr_ia32): Likewise.
44906         (__libc_strstr): New prototype.
44907         (strstr): Renamed to ...
44908         (__libc_strstr): This.
44909         (strstr): New strong alias of __libc_strstr.
44910         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44911         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44912         __redirect_time.
44913         Include <time.h>.
44914         (__libc_time): New prototype.
44915         (time_ifunc): Replace time with __libc_time.
44916         (time): New strong alias and hidden definition of __libc_time.
44917         (__GI_time): Remove strong alias.
44918         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44919         Include <stddef.h>.
44920         (memmove): Redefined to __redirect_memmove.
44921         (__memmove_sse2): Use typeof __redirect_memmove.
44922         (__memmove_ssse3): Likewise.
44923         (__memmove_ssse3_back): Likewise.
44924         (__libc_memmove): New prototype.
44925         (memmove): Renamed to ...
44926         (__libc_memmove): This.
44927         (memmove): New strong alias of __libc_memmove.
44929 2012-08-08  Mark Salter  <msalter@redhat.com>
44931         * elf/elf.h
44932         (R_MN10300_TLS_GD): Define.
44933         (R_MN10300_TLS_LD): Likewise.
44934         (R_MN10300_TLS_LDO): Likewise.
44935         (R_MN10300_TLS_GOTIE): Likewise.
44936         (R_MN10300_TLS_IE): Likewise.
44937         (R_MN10300_TLS_LE): Likewise.
44938         (R_MN10300_TLS_DTPMOD): Likewise.
44939         (R_MN10300_TLS_DTPOFF): Likewise.
44940         (R_MN10300_TLS_TPOFF): Likewise.
44941         (R_MN10300_SYM_DIFF): Likewise.
44942         (R_MN10300_ALIGN): Likewise.
44943         (R_MN10300_NUM): Update.
44945 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
44947         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44948         Remove.
44950 2012-08-08  Roland McGrath  <roland@hack.frob.com>
44952         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44954         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44955         sysdeps/unix -> sysdeps/posix move.
44956         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44958 2012-08-07      Allan McRae     <allan@archlinux.org>
44960         [BZ #14303]
44961         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44962         (SUNOS_CPP): Likewise.
44963         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44964         not found.
44965         (open_input): Call CPP using execvp.
44967 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44969         * sysdeps/unix/sysv/linux/kernel-features.h
44970         (__ASSUME_PROT_GROWSUPDOWN): Remove.
44971         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44972         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44973         (__ASSUME_WAITID_SYSCALL): Likewise.
44974         * sysdeps/unix/sysv/linux/dl-execstack.c
44975         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44976         code unconditional.
44977         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44978         conditional code.
44979         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44980         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44981         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44982         code.
44983         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44984         unconditional.
44985         [__ASSUME_WAITID_SYSCALL]: Likewise.
44986         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44988 2012-08-07  Roland McGrath  <roland@hack.frob.com>
44990         * sysdeps/unix/closedir.c: Renamed to ...
44991         * sysdeps/posix/closedir.c: ... here.
44992         * sysdeps/unix/dirfd.c: Renamed to ...
44993         * sysdeps/posix/dirfd.c: ... here.
44994         * sysdeps/unix/dirstream.h: Renamed to ...
44995         * sysdeps/posix/dirstream.h: ... here.
44996         * sysdeps/unix/fdopendir.c: Renamed to ...
44997         * sysdeps/posix/fdopendir.c: ... here.
44998         * sysdeps/unix/opendir.c: Renamed to ...
44999         * sysdeps/posix/opendir.c: ... here.
45000         * sysdeps/unix/readdir.c: Renamed to ...
45001         * sysdeps/posix/readdir.c: ... here.
45002         * sysdeps/unix/readdir_r.c: Renamed to ...
45003         * sysdeps/posix/readdir_r.c: ... here.
45004         * sysdeps/unix/rewinddir.c: Renamed to ...
45005         * sysdeps/posix/rewinddir.c: ... here.
45006         * sysdeps/unix/seekdir.c: Renamed to ...
45007         * sysdeps/posix/seekdir.c: ... here.
45008         * sysdeps/unix/telldir.c: Renamed to ...
45009         * sysdeps/posix/telldir.c: ... here.
45010         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45011         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45012         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45013         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45015         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45016         * bits/fcntl.h: ... here.
45018         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45019         not 0.
45020         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45021         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45022         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45023         (struct flock): Move l_start, l_len to the beginning.
45024         Use __pid_t for l_pid.
45025         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45026         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45027         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45028         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45029         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45030         [__USE_LARGEFILE64] (struct flock64): New type.
45031         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45033         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45034         * bits/dirent.h: ... here.
45036         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45037         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45039 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45041         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45042         Change from 2.6.0 to 2.6.16.
45043         * sysdeps/unix/sysv/linux/configure: Regenerated.
45044         * sysdeps/unix/sysv/linux/kernel-features.h
45045         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45046         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45047         version.
45048         (__ASSUME_UTIMES): Likewise.
45049         (__ASSUME_CLONE_STOPPED): Remove.
45050         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45051         architectures, not kernel version.
45052         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45053         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45054         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45055         (__ASSUME_WAITID_SYSCALL): Likewise.
45056         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45057         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45058         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45059         refer to older versions.
45061 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45063         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45064         Define alphasort64 as an alias.
45065         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45066         Define versionsort64 as an alias.
45067         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45068         Define scandir64 as an alias.
45069         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45070         Define scandirat64 as an alias.
45071         * dirent/alphasort64.c (alphasort64):
45072         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45073         * dirent/versionsort64.c: Likewise.
45074         * dirent/scandir64.c: Likewise.
45075         * dirent/scandirat64.c: Likewise.
45076         * sysdeps/wordsize-64/alphasort.c: File removed.
45077         * sysdeps/wordsize-64/alphasort64.c: File removed.
45078         * sysdeps/wordsize-64/scandir.c: File removed.
45079         * sysdeps/wordsize-64/scandir64.c: File removed.
45080         * sysdeps/wordsize-64/scandirat.c: File removed.
45081         * sysdeps/wordsize-64/scandirat64.c: File removed.
45082         * sysdeps/wordsize-64/versionsort.c: File removed.
45083         * sysdeps/wordsize-64/versionsort64.c: File removed.
45084         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45085         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45086         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45087         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45088         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45089         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45090         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45091         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45093         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45094         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45095         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45096         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45097         [defined __arch64__ || defined __sparcv9]
45098         (__INO_T_MATCHES_INO64_T): New macro.
45099         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45100         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45101         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45102         * sysdeps/unix/sysv/linux/bits/dirent.h
45103         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45104         (_DIRENT_MATCHES_DIRENT64): New macro.
45106         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45107         Define lockf64 as an alias.
45108         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45109         Define fseeko64 as an alias.
45110         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45111         Define ftello64 as an alias.
45112         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45113         Define _IO_fgetpos64 and fgetpos64 as aliases.
45114         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45115         Define _IO_fsetpos64 and fsetpos64 as aliases.
45116         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45117         Conditionalize body on this.
45118         * libio/fseeko64.c: Likewise.
45119         * libio/ftello64.c: Likewise.
45120         * libio/iofgetpos64.c: Likewise.
45121         * libio/iofsetpos64.c: Likewise.
45122         * sysdeps/wordsize-64/lockf.c: File removed.
45123         * sysdeps/wordsize-64/lockf64.c: File removed.
45124         * sysdeps/wordsize-64/fseeko.c: File removed.
45125         * sysdeps/wordsize-64/fseeko64.c: File removed.
45126         * sysdeps/wordsize-64/ftello.c: File removed.
45127         * sysdeps/wordsize-64/ftello64.c: File removed.
45128         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45129         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45130         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45131         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45132         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45133         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45134         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45135         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45136         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45137         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45138         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45139         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45140         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45141         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45143         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45144         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45145         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45146         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45147         [defined __arch64__ || defined __sparcv9]
45148         (__OFF_T_MATCHES_OFF64_T): New macro.
45149         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45150         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45151         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45152         (__OFF_T_MATCHES_OFF64_T): New macro.
45154 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45156         * stdlib/secure-getenv.c (__secure_getenv): Replace
45157         GLIBC_2_16 with GLIBC_2_17.
45159 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45161         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45162         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45164 2012-08-03  David S. Miller  <davem@davemloft.net>
45166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45168 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45170         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45171         Remove.
45172         (__ASSUME_CORRECT_SI_PID): Likewise.
45173         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45174         (__ASSUME_TMPFS_NAME): Likewise.
45175         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45176         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45177         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45178         (HAVE_AUX_SECURE): Make definition unconditional.
45179         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45180         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45182 2012-08-03  Roland McGrath  <roland@hack.frob.com>
45184         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45185         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45186         * sysdeps/mach/hurd/eloop-threshold.h: New file.
45187         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45188         __eloop_threshold instead of SYMLOOP_MAX.
45190         * sysdeps/generic/eloop-threshold.h: New file.
45191         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45192         of MAXSYMLINKS.
45193         * elf/chroot_canon.c (chroot_canon): Likewise.
45195 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45197         [BZ #13717]
45198         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45199         Change to 2.6.0 everywhere.
45200         * sysdeps/unix/sysv/linux/configure: Regenerated.
45201         * sysdeps/unix/sysv/linux/kernel-features.h
45202         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45203         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45204         kernel versions.
45205         (__ASSUME_POSIX_TIMERS): Define unconditionally.
45206         (__ASSUME_FUTEX_REQUEUE): Remove.
45207         (__ASSUME_STATFS64): Define unconditionally.
45208         (__ASSUME_AT_SECURE): Likewise.
45209         (__ASSUME_CORRECT_SI_PID): Likewise.
45210         (__ASSUME_TGKILL): Define without depending on kernel version for
45211         i386.
45212         (__ASSUME_UTIMES): Likewise.
45213         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45214         kernel version.
45215         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45216         (__ASSUME_TMPFS_NAME): Likewise.
45217         * README: Update reference to Linux kernel versions.
45219 2012-08-02  Marek Polacek  <polacek@redhat.com>
45221         [BZ# 14150]
45222         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
45223         libc_cv_asm_type_prefix with %.
45224         * configure: Regenerated.
45225         * include/libc-symbols.h: Remove comment about
45226         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45227         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45228         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45229         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45230         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45231         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45232         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45233         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45234         * elf/tst-unique2mod1.c: Likewise.
45235         * elf/tst-unique1mod2.c: Likewise.
45236         * elf/tst-unique1mod1.c: Likewise.
45237         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45238         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45239         Replace ASM_TYPE_DIRECTIVE with .type.
45240         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45241         * sysdeps/i386/sysdep.h: Likewise.
45242         * sysdeps/x86_64/sysdep.h: Likewise.
45243         * sysdeps/sh/sysdep.h: Likewise.
45244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45245         Do not define ASM_TYPE_DIRECTIVE.
45246         * sysdeps/powerpc/sysdep.h: Likewise.
45247         * sysdeps/powerpc/powerpc32/sysdep.h:
45248         Replace ASM_TYPE_DIRECTIVE with .type.
45249         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45250         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45251         * sysdeps/i386/fpu/e_powf.S: Likewise.
45252         * sysdeps/i386/fpu/e_expl.S: Likewise.
45253         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45254         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45255         * sysdeps/i386/fpu/e_pow.S: Likewise.
45256         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45257         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45258         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45259         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45260         * sysdeps/i386/fpu/e_log2.S: Likewise.
45261         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45262         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45263         * sysdeps/i386/fpu/e_powl.S: Likewise.
45264         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45265         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45266         * sysdeps/i386/fpu/e_logl.S: Likewise.
45267         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45268         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45269         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45270         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45271         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45272         * sysdeps/i386/fpu/e_log.S: Likewise.
45273         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45274         * sysdeps/i386/fpu/e_logf.S: Likewise.
45275         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45276         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45277         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45278         * sysdeps/i386/fpu/e_log10.S: Likewise.
45279         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45280         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45281         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45282         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45283         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45284         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45285         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45286         * sysdeps/i386/i686/strtok.S: Likewise.
45287         * sysdeps/i386/i386-mcount.S: Likewise.
45288         * sysdeps/i386/strtok.S: Likewise.
45289         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45290         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45291         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45292         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45293         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45294         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45295         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45296         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45297         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45298         * sysdeps/x86_64/_mcount.S: Likewise.
45299         * sysdeps/x86_64/strtok.S: Likewise.
45300         * sysdeps/sh/_mcount.S: Likewise.
45302 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45304         * libio/iofopen.c: Include <fcntl.h>.
45305         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45306         (_IO_fopen64, fopen64): Define as aliases.
45307         * libio/iofopen64.c: Include <fcntl.h>.
45308         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45309         Conditionalize body on this.
45310         * sysdeps/wordsize-64/iofopen.c: File removed.
45311         * sysdeps/wordsize-64/iofopen64.c: File removed.
45313 2012-08-01  Marek Polacek  <polacek@redhat.com>
45315         * libc/Makeconfig: Use elf in place of binfmt-subdir.
45316         Use dlfcn directly instead of a variable.
45317         (binfmt-subdir): Do not define.
45318         (dlfcn): Likewise.
45320 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
45322         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
45323         Remove all definitions.
45324         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
45325         <kernel-features.h>.
45326         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45327         (miss_F_GETOWN_EX): Remove all definitions.
45328         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
45329         macro definition.
45330         [!__ASSUME_FCNTL64]: Remove conditional code.
45331         [__ASSUME_FCNTL64]: Make code unconditional.
45332         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
45333         <kernel-features.h>.
45334         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45335         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
45336         (lockf64) [__NR_fcntl64]: Make code unconditional.
45337         (lockf64) [__ASSUME_FCNTL64]: Likewise.
45339         * sysdeps/unix/sysv/linux/kernel-features.h
45340         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
45341         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
45342         Make code unconditional.
45343         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45344         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45346         [__NR_vfork]: Make code unconditional.
45347         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45348         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
45350         [__NR_vfork]: Make code unconditional.
45351         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45352         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45354 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45356         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
45357         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
45359         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45360         Define mkstemp64 as an alias.
45361         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45362         Define mkstemps64 as an alias.
45363         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45364         Define mkostemp64 as an alias.
45365         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45366         Define mkostemps64 as an alias.
45367         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
45368         Conditionalize body on this.
45369         * misc/mkostemp64.c: Likewise.
45370         * misc/mkostemps64.c: Likewise.
45371         * misc/mkstemps64.c: Likewise.
45372         * sysdeps/wordsize-64/mkstemp64.c: File removed.
45373         * sysdeps/wordsize-64/mkostemp64.c: File removed.
45374         * sysdeps/wordsize-64/mkostemp.c: File removed.
45375         * sysdeps/wordsize-64/mkstemp.c: File removed.
45376         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
45377         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
45378         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
45379         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
45381         [BZ #14138]
45382         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
45383         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
45384         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45385         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45387         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45388         compat_symbol macros from <shlib-compat.h> rather than the underlying
45389         default_symbol_version and symbol_version macros, so that DEFAULT
45390         lines in shlib-versions are respected.
45391         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45393 2012-08-01  Florian Weimer  <fweimer@redhat.com>
45395         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45396         Declare with warn_unused_result.
45397         (setgid, setregid, setegid, setresgid): Likewise.
45398         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45399         Likewise.
45400         * WUR-REPORT: Remove set*id functions.
45402 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
45404         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45406 2012-07-31  Roland McGrath  <roland@hack.frob.com>
45408         [BZ #10191]
45409         * include/sys/socket.h (__libc_accept, __libc_accept4):
45410         Add attribute_hidden.
45411         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45413         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45414         use of PTR_MANGLE.
45415         * inet/getnetgrent_r.c (setup): Likewise.
45417         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45419 2012-07-31  David S. Miller  <davem@davemloft.net>
45421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45423 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
45425         [BZ #13629]
45426         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45427         value between 1.0 and 2.0 and smaller part has absolute value less
45428         than 1.0.
45429         * math/s_clog10.c (__clog10): Likewise.
45430         * math/s_clog10f.c (__clog10f): Likewise.
45431         * math/s_clog10l.c (__clog10l): Likewise.
45432         * math/s_clogf.c (__clogf): Likewise.
45433         * math/s_clogl.c (__clogl): Likewise.
45434         * math/libm-test.inc (clog_test): Add more tests.
45435         (clog10_test): Likewise.
45436         * sysdeps/i386/fpu/libm-test-ulps: Update.
45437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45439 2012-07-31  Florian Weimer  <fweimer@redhat.com>
45441         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45442         Exit with zero in case no suitable GID is found, and write a
45443         message to standard error.
45445 2012-07-30  Roland McGrath  <roland@hack.frob.com>
45447         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45448         rather than to 1.
45449         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45450         (MAXPATHLEN): Removed.
45451         (NOGROUP, NODEV): New macros.
45452         (setbit, clrbit, isset, isclr): New macros.
45453         (howmany, roundup, powerof2): New macros.
45454         (DEV_BSIZE): New macro.
45456         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45457         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45459         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45460         definition on [!__NO_LONG_DOUBLE_MATH].
45462         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45463         PTR_MANGLE and PTR_DEMANGLE.
45465         * socket/accept4.c (accept4): Rename to __libc_accept4.
45466         Define accept4 as a weak alias.
45468         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45469         on [_DIRENT_HAVE_D_TYPE].
45470         * io/ftw.c (ftw_dir): Likewise.
45472         * io/xmknod.c (__xmknod): Don't check PATH for being null.
45474         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45476         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45477         Use the BSD numbers rather than the arbitrary ones we had.
45478         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45479         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45480         (SIGXCPU, SIGXFSZ): New macros.
45481         (_NSIG): Now 32.
45483         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45484         initializer on [_LIBC_REENTRANT].
45486         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45487         definitions inside [_POSIX_MAPPED_FILES].
45489         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45491         * dirent/opendir.c: Include <fcntl.h>.
45493         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45494         (__libc_getspecific): Likewise.
45495         (__libc_key_create): Likewise.
45497         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45498         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45499         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45500         (tmpfile64): Define as alias.
45501         * sysdeps/wordsize-64/tmpfile.c: File removed.
45502         * sysdeps/wordsize-64/tmpfile64.c: File removed.
45503         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45504         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45506         * stdio-common/vfscanf.c: Include <stdbool.h>.
45507         * nss/makedb.c: Likewise.
45508         * stdio-common/_i18n_number.h: Likewise.
45509         * argp/argp-help.c: Likewise.
45510         * posix/wordexp.c: Likewise.
45511         * sysdeps/posix/spawni.c: Likewise.
45512         * nss/nss_files/files-initgroups.c: Likewise.
45513         * stdio-common/reg-modifier.c: Include <stdlib.h>.
45514         * nss/nss_files/files-initgroups.c: Likewise.
45515         * nss/nss_db/db-netgrp.c: Likewise.
45516         * nss/nss_db/db-initgroups.c: Likewise.
45517         * io/fchmodat.c: Include <sys/stat.h>.
45519         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45520         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45522         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45523         [HAVE_MMAP].
45525         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45526         Add multiple inclusion protection.
45528 2012-07-27  David S. Miller  <davem@davemloft.net>
45530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45532 2012-07-27  Gary Benson  <gbenson@redhat.com>
45534         [BZ #14298]
45535         * elf/rtld.c: Include <stap-probe.h>.
45536         (dl_main): Added static probes "init_start" and "init_complete".
45537         * elf/dl-load.c: Include <stap-probe.h>.
45538         (lose): Take new parameter "nsid".
45539         Added static probe "map_failed".
45540         (_dl_map_object_from_fd): Pass namespace id to lose.
45541         Added static probe "map_start".
45542         (open_verify): Pass namespace id to lose.
45543         * elf/dl-open.c: Include <stap-probe.h>.
45544         (dl_open_worker) Added static probes "map_complete", "reloc_start"
45545         and "reloc_complete".
45546         * elf/dl-close.c: Include <stap-probe.h>.
45547         (_dl_close_worker): Added static probes "unmap_start" and
45548         "unmap_complete".
45549         * elf/rtld-debugger-interface.txt: New file documenting the above.
45551 2012-07-26  Roland McGrath  <roland@hack.frob.com>
45553         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45554         rather than a string variable.
45555         * sunrpc/rpc_main.c (h_output): Likewise.
45556         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45558 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
45560         * inet/check_native.c: New file.
45562 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
45564         [BZ #13629]
45565         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45566         if larger part has absolute value 1.0.
45567         * math/s_clog10.c (__clog10): Likewise.
45568         * math/s_clog10f.c (__clog10f): Likewise.
45569         * math/s_clog10l.c (__clog10l): Likewise.
45570         * math/s_clogf.c (__clogf): Likewise.
45571         * math/s_clogl.c (__clogl): Likewise.
45572         * math/libm-test.inc (clog_test): Add more tests.
45573         (clog10_test): Likewise.
45574         * sysdeps/i386/fpu/libm-test-ulps: Update.
45575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45577         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45578         (pltexit): Likewise.
45579         (La_regs): Likewise.
45580         (La_retval): Likewise.
45581         (int_retval): Likewise.
45582         Update #error for removed macros to refer only to definitions in
45583         tst-audit.h.
45584         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45585         macro.
45586         (pltexit): Likewise.
45587         (La_regs): Likewise.
45588         (La_retval): Likewise.
45589         (int_retval): Likewise.
45590         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45591         macro.
45592         (pltexit): Likewise.
45593         (La_regs): Likewise.
45594         (La_retval): Likewise.
45595         (int_retval): Likewise.
45596         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45597         macro.
45598         (pltexit): Likewise.
45599         (La_regs): Likewise.
45600         (La_retval): Likewise.
45601         (int_retval): Likewise.
45602         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45603         macro.
45604         (pltexit): Likewise.
45605         (La_regs): Likewise.
45606         (La_retval): Likewise.
45607         (int_retval): Likewise.
45608         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45609         macro.
45610         (pltexit): Likewise.
45611         (La_regs): Likewise.
45612         (La_retval): Likewise.
45613         (int_retval): Likewise.
45614         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45615         macro.
45616         (pltexit): Likewise.
45617         (La_regs): Likewise.
45618         (La_retval): Likewise.
45619         (int_retval): Likewise.
45620         * sysdeps/generic/tst-audit.h: Update comment to refer only to
45621         macro definitions in tst-audit.h.
45622         * sysdeps/i386/tst-audit.h: New file.
45623         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45624         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45625         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45626         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45627         * sysdeps/sh/tst-audit.h: Likewise.
45628         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45629         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45630         * sysdeps/x86_64/tst-audit.h: Likewise.
45632 2012-07-26  Andreas Jaeger  <aj@suse.de>
45634         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45635         ptrace.
45637         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45638         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45639         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45640         PTRACE_O_MASK.
45641         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45642         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45643         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45645         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45646         value.
45648         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45649         _sigsys.
45650         (si_call_addr, si_syscall, si_arch): Define new macro.
45651         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45652         _sigsys.
45653         (si_call_addr, si_syscall, si_arch): Define new marcro.
45654         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45655         _sigsys.
45656         (si_call_addr, si_syscall, si_arch): Define new macro.
45657         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45658         _sigsys.
45659         (si_call_addr, si_syscall, si_arch): Define new macro.
45661 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45663         [BZ #13717]
45664         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45665         Change to 2.4.21 where previously 2.4.1.
45666         * sysdeps/unix/sysv/linux/configure: Regenerated.
45667         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45668         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45669         Linux kernel version.
45670         (__ASSUME_STD_AUXV): Remove.
45671         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45672         kernel version.
45673         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45674         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45675         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45676         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45677         (__ASSUME_NETLINK_SUPPORT): Likewise.
45678         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45679         (__no_netlink_support): Remove conditional definition.
45680         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45681         Remove.
45682         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45683         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45684         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45685         (if_nameindex_ioctl): Remove.
45686         (if_nameindex_netlink): Do not handle __no_netlink_support.
45687         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45688         code.
45689         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45690         Remove conditional code.
45691         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45692         code.
45693         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45694         unconditional.
45695         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45696         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45697         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45698         Remove.
45699         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45700         [!__ASSUME_STD_AUXV]: Remove conditional code.
45701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45702         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45703         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45705         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45706         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45707         code.
45708         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45710         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45711         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45712         conditional code.
45713         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45715         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45716         code.
45717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45718         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45719         conditional code.
45720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45721         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45722         code unconditional.
45723         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45724         conditional code.
45725         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45726         unconditional.
45727         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45728         conditional code.
45729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45730         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45731         unconditional.
45732         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45733         conditional code.
45734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45735         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45736         code unconditional.
45737         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45738         conditional code.
45739         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45740         unconditional.
45741         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45742         conditional code.
45743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45744         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45745         code unconditional.
45746         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45747         conditional code.
45748         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45749         unconditional.
45750         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45751         conditional code.
45753 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
45755         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45756         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45757         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45758         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45759         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45760         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45761         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45762         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45763         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45764         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45765         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45766         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45767         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45768         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45769         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45770         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45771         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45772         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45773         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45774         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45775         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45776         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45777         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45779 2012-07-25  Florian Weimer  <fweimer@redhat.com>
45781         * Versions.def: Add GLIBC_2.17.
45782         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45783         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45784         Introduce __libc_secure_getenv.
45785         * stdlib/Versions (2.17): Add secure_getenv
45786         (GLIBC_PRIVATE): Add __libc_secure_getenv.
45787         * stdlib/secure-getenv.c: Rename __secure_getenv to
45788         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
45789         symbol __secure_getenv for GLIBC_2.0.
45790         * stdlib/tst-secure-getenv.c: New.
45791         * stdlib/Makefile (tests): Add testcase.
45792         * manual/startup.texi (Environment Access): Document
45793         secure_getenv.
45794         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45795         __libc_secure_getenv.
45796         * inet/ruserpass.c (ruserpass): Likewise.
45797         * malloc/mtrace.c (mtrace): Likewise.
45798         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45799         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45800         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45801         * sysdeps/posix/tempname.c: Likewise.  Evaluate
45802         HAVE_SECURE_GETENV.
45803         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45804         __secure_getenv to __libc_secure_getenv.
45805         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45807         Likewise.
45808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45809         Likewise.
45810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45812         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45818 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45820         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45821         (struct La_i86_retval): Likewise.
45822         (struct La_x86_64_regs): Likewise.
45823         (struct La_x86_64_retval): Likewise.
45824         (struct La_x32_regs): Likewise.
45825         (struct La_x32_retval): Likewise.
45826         (struct La_ppc32_regs): Likewise.
45827         (struct La_ppc32_retval): Likewise.
45828         (struct La_ppc64_regs): Likewise.
45829         (struct La_ppc64_retval): Likewise.
45830         (struct La_sh_regs): Likewise.
45831         (struct La_sh_retval): Likewise.
45832         (struct La_s390_32_regs): Likewise.
45833         (struct La_s390_32_retval): Likewise.
45834         (struct La_s390_64_regs): Likewise.
45835         (struct La_s390_64_retval): Likewise.
45836         (struct La_sparc32_regs): Likewise.
45837         (struct La_sparc32_retval): Likewise.
45838         (struct La_sparc64_regs): Likewise.
45839         (struct La_sparc64_retval): Likewise.
45840         (struct audit_ifaces): Remove architecture-specific pltenter and
45841         pltexit members.
45842         * sysdeps/i386/ldsodefs.h: New file.
45843         * sysdeps/powerpc/ldsodefs.h: Likewise.
45844         * sysdeps/s390/ldsodefs.h: Likewise.
45845         * sysdeps/sh/ldsodefs.h: Likewise.
45846         * sysdeps/sparc/ldsodefs.h: Likewise.
45847         * sysdeps/x86_64/ldsodefs.h: Likewise.
45849 2012-07-25  Marek Polacek  <polacek@redhat.com>
45851         [BZ #6808]
45852         * math/libm-test.inc (yn_test): Add another test.
45853         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45854         to ERANGE when the result is +-Inf.
45855         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45856         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45857         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45858         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45860 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
45862         * conform/data/time.h-data (NULL): Use macro-constant.  Require
45863         equal to 0.
45864         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
45865         clock_t.
45866         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
45868 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
45870         * configure.in <sysdeps resolving>: Correct printing
45871         Implies_before.
45872         * configure: Regenerate.
45874 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
45876         * math/w_ilogb.c: Include <limits.h>.
45877         * math/w_ilogbl.c: Likewise.
45879 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45881         * manual/lang.texi (__va_copy): Document primarily as ISO C99
45882         va_copy.  Document allowing for unavailable va_copy only as
45883         pre-C99 compatibility.
45884         * manual/string.texi (Copying and Concatenation): Use va_copy
45885         instead of __va_copy in concat example.
45887 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
45889         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45890         (__sendto): Use create_address_port.  Initialize APORT and deallocate
45891         it if not null.
45893         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45894         with O_NOLINK passed to __file_name_lookup.
45896         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45897         with O_NOLINK passed to __file_name_lookup.
45899         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45900         negative N or less than NGIDS.
45902         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45903         type to string_t.  Set ERANGE as errno and return it if NAME is not big
45904         enough.  Use memcpy instead of strncpy.
45906 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45908         * elf/Makefile (check-data): Remove.
45909         (localplt.data): New vpath directive.
45910         ($(objpfx)check-localplt.out): Use localplt.data from vpath
45911         instead of $(check-data).
45912         * scripts/data/localplt-generic.data: Move to ...
45913         * sysdeps/generic/localplt.data: ... here.
45914         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45915         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45916         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45918         ... here.
45919         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45921         ... here.
45922         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45924         ... here.
45925         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45927         ... here.
45928         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45930         ... here.
45931         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45933         ... here.
45935 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45937         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45938         PPC32 and PPC64 files.
45939         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45940         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45942 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45944         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45945         __makecontext_ret to ...
45946         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45947         ... here and call exit if uc_link is NULL.  New file.
45948         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45949         __makecontext_ret.S.
45950         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45951         __makecontext_ret to ...
45952         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45953         ... here and call exit if uc_link is NULL.  New file.
45954         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45955         __makecontext_ret.S.
45957 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45959         * elf/elf.h (R_390_IRELATIVE): New definition.
45960         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45961         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
45962         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45963         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45964         (elf_machine_lazy_rel): Likewise.
45965         * sysdeps/s390/dl-irel.h: New file.
45966         * sysdeps/s390/s390-64/memcpy.S: New asm code.
45967         * sysdeps/s390/s390-64/memset.S: New asm code.
45968         * sysdeps/s390/s390-64/memcmp.S: New asm code.
45969         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45970         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45971         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45972         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45973         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45974         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45975         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45976         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45977         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45978         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45979         * sysdeps/s390/s390-32/memcpy.S: New asm code.
45980         * sysdeps/s390/s390-32/memset.S: New asm code.
45981         * sysdeps/s390/s390-32/memcmp.S: New asm code.
45983 2012-07-17  Marek Polacek  <polacek@redhat.com>
45985         [BZ #14349]
45986         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45987         * sysdeps/s390/s390-64/configure.in: Likewise.
45988         * sysdeps/sparc/configure.in: Likewise.
45989         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45990         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45991         * sysdeps/i386/configure.in: Likewise.
45992         * sysdeps/x86_64/configure.in: Likewise.
45993         * sysdeps/sh/configure.in: Likewise.
45994         * sysdeps/s390/s390-32/configure: Regenerated.
45995         * sysdeps/s390/s390-64/configure: Likewise.
45996         * sysdeps/x86_64/configure: Likewise.
45997         * sysdeps/sh/configure: Likewise.
45998         * sysdeps/powerpc/powerpc64/configure: Likewise.
45999         * sysdeps/powerpc/powerpc32/configure: Likewise.
46000         * sysdeps/sparc/configure: Likwise.
46001         * sysdeps/i386/configure: Likewise.
46003         * elf/dl-open.c: Comment fixes.
46005 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46007         * Makefile [CXX] (check-data): Remove.
46008         [CXX] (c++-types.data): New vpath directive.
46009         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46010         vpath.  Do not allow for C++ type data being missing.
46011         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46012         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46013         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46014         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46015         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46016         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46017         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46019         ... here.
46020         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46022         ... here.
46023         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46025         ... here.
46026         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46028         ... here.
46029         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46031         ... here.
46032         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46034         ... here.
46035         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46037         ... here.
46038         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46041         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46042         definitions to architecture-specific files.
46043         (TLS_IE): Likewise.
46044         (TLS_LD): Likewise.
46045         (TLS_GD): Likewise.
46046         * sysdeps/i386/tls-macros.h: New file.
46047         * sysdeps/powerpc/tls-macros.h: Likewise.
46048         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46049         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46050         * sysdeps/sh/tls-macros.h: Likewise.
46051         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46052         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46053         * sysdeps/x86_64/tls-macros.h: Likewise.
46055 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46057         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46058         zero value for regular exit case.
46060         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46061         (__start_context): Preserve zero value for regular exit case.
46063 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46064             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46066         * manual/setjmp.texi (setcontext): Clarify normal process
46067         termination when uc_link is the null pointer.
46068         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46069         exit call.
46071 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46073         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46074         preprocessor.  Test for each exception mask separately.
46076 2012-07-16  Andreas Jaeger  <aj@suse.de>
46078         * po/ru.po: Update from translation team.
46080 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46082         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46083         equal to 0.
46084         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46085         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46086         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46087         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46088         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46090 2012-07-13  Andreas Jaeger  <aj@suse.de>
46092         * po/fr.po: Update from translation team.
46094 2012-07-12  Marek Polacek  <polacek@redhat.com>
46096         [BZ #14173]
46097         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46098         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46099         loop condition.
46101 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46103         [BZ #13717]
46104         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46105         Change to 2.4.1 where previously 2.4.0.
46106         * sysdeps/unix/sysv/linux/configure: Regenerated.
46107         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46108         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46109         version.
46110         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46111         (__ASSUME_AT_CLKTCK): Remove.
46112         (__ASSUME_AT_PAGESIZE): Likewise.
46113         (__ASSUME_AT_XID): Likewise.
46114         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46115         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46116         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46117         unconditionally.
46118         (HAVE_AUX_PAGESIZE): Likewise.
46119         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46120         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46121         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46123 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46125         [BZ #14307]
46126         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46127         the temporary buffer used to invoke __gethostbyname2_r,
46128         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46129         host_data / struct gaih_addrtuple.
46130         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46131         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46132         header file nss/nsswitch.h.
46133         * nss/nsswitch.h (global scope): Add definition of implementation
46134         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46135         resolv/nss_dns/dns-host.c).
46137 2012-07-11  Andreas Jaeger  <aj@suse.de>
46139         * po/fr.po: Update from translation team.
46141         * po/sv.po: Update from translation team
46142         * po/fr.po: Another update from translation team.
46144 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46146         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46147         for subnormals or multiply small sinh result by itself.
46148         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46151 2012-07-11  David S. Miller  <davem@davemloft.net>
46153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46155 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46157         [BZ #14347]
46158         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46159         (INTERNAL_MARK): Shift it here.
46161 2012-07-10  Marek Polacek  <polacek@redhat.com>
46163         [BZ #14151]
46164         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46165         libc_cv_asm_global_directive with .globl.
46166         * configure: Regenerated.
46167         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46168         with .globl.
46169         * sysdeps/i386/configure: Regenerated.
46170         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46171         with .globl.
46172         * sysdeps/x86_64/configure: Regenerated.
46173         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46174         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46175         * elf/tst-unique2mod2.c: Likewise.
46176         * elf/tst-unique2mod1.c: Likewise.
46177         * elf/tst-unique1mod2.c: Likewise.
46178         * elf/tst-unique1mod1.c: Likewise.
46179         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46180         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46181         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46182         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46183         * sysdeps/mach/sysdep.h: Likewise.
46184         * sysdeps/i386/sysdep.h: Likewise.
46185         * sysdeps/i386/i386-mcount.S: Likewise.
46186         * sysdeps/x86_64/_mcount.S: Likewise.
46187         * sysdeps/x86_64/sysdep.h: Likewise.
46188         * sysdeps/sh/_mcount.S: Likewise.
46189         * sysdeps/sh/sysdep.h: Likewise.
46190         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46191         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46192         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46193         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46194         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46195         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46196         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46197         * locale/localeinfo.h: Likewise.
46198         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46199         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46201 2012-07-09  Roland McGrath  <roland@hack.frob.com>
46203         [BZ #14336]
46204         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46205         system".
46206         * manual/message.texi (The Uniforum approach): Likewise.
46207         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46208         (glibc iconv Implementation): Likewise.
46210 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
46212         [BZ #14337]
46213         * math/s_clog.c (__clog): Avoid scaling a value down where that
46214         could result in underflow.
46215         * math/s_clog10.c (__clog10): Likewise.
46216         * math/s_clog10f.c (__clog10f): Likewise.
46217         * math/s_clog10l.c (__clog10l): Likewise.
46218         * math/s_clogf.c (__clogf): Likewise.
46219         * math/s_clogl.c (__clogl): Likewise.
46220         * math/libm-test.inc (clog_test): Add more tests.
46221         (clog10_test): Likewise.
46222         * sysdeps/i386/fpu/libm-test-ulps: Update.
46223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46225 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
46227         [BZ #14283]
46228         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46229         by 7 not 8 to examine high bit of fractional part.
46231         [BZ #14042]
46232         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46233         for call to __mcount_internal.
46234         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46235         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46236         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46238 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
46240         [BZ #14154]
46241         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46242         approximation for values within 0x1p-13f of an odd multiple of
46243         pi/4.
46244         * math/libm-test.inc (tan_test): Do not allow spurious underflow
46245         exception.  Add more tests.
46246         * sysdeps/i386/fpu/libm-test-ulps: Update.
46248         [BZ #6778]
46249         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46250         inputs and return -1 for them.  Do not check for +Inf in case not
46251         reachable for +Inf.
46252         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46253         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46254         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46255         and return -1 for them.  Do not check for +Inf in case not
46256         reachable for +Inf.
46257         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46258         define.
46259         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46260         and return -1 for them.  Do not check for +Inf in case not
46261         reachable for +Inf.
46262         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
46263         spurious underflow.
46264         * sysdeps/i386/fpu/libm-test-ulps: Update.
46265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46267 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
46269         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46271 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
46273         [BZ #14157]
46274         [BZ #14331]
46275         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
46276         could result in spurious underflow.  Scale down values above
46277         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46278         * math/s_csqrtf.c (__csqrtf): Likewise.
46279         * math/s_csqrtl.c (__csqrtl): Likewise.
46280         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
46281         spurious underflow.
46282         * sysdeps/i386/fpu/libm-test-ulps: Update.
46283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46285 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
46287         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46288         xopen-msg.sed.
46289         * catgets/xopen-msg.awk: New file.
46290         * catgets/xopen-msg.sed: Removed.
46292         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46293         po2text.sed.
46294         * intl/po2test.awk: New file.
46295         * intl/po2test.sed: Removed.
46297 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
46299         [BZ #14328]
46300         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46301         or multiply small sinh result by itself.
46302         * math/s_ctanf.c (__ctanf): Likewise.
46303         * math/s_ctanh.c (__ctanh): Likewise.
46304         * math/s_ctanhf.c (__ctanhf): Likewise.
46305         * math/s_ctanhl.c (__ctanhl): Likewise.
46306         * math/s_ctanl.c (__ctanl): Likewise.
46307         * math/libm-test.inc (ctan_test_tonearest): New function.
46308         (ctan_test_towardzero): Likewise.
46309         (ctan_test_downward): Likewise.
46310         (ctan_test_upward): Likewise.
46311         (ctanh_test_tonearest): Likewise.
46312         (ctanh_test_towardzero): Likewise.
46313         (ctanh_test_downward): Likewise.
46314         (ctanh_test_upward): Likewise.
46315         (main): Call these new functions.
46316         * sysdeps/i386/fpu/libm-test-ulps: Update.
46317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46319 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
46321         * .gitignore: Delete /ports entry.
46323 2012-07-03  Andreas Jaeger  <aj@suse.de>
46325         * po/bg.po: Update from translation team.
46326         * po/cs.po: Likewise.
46327         * po/de.po: Likewise.
46328         * po/hr.po: Likewise.
46329         * po/nl.pl: Likewise.
46330         * po/pl.po: Likewise.
46331         * po/vi.po: Likewise.
46333 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
46335         * Makeconfig [!+link] (+link-before-libc): New variable.
46336         [!+link] (+link-after-libc): Likewise.
46337         [!+link] (+link-tests): Likewise.
46338         [!+link] (+link): Define in terms of $(+link-before-libc) and
46339         $(+link-after-libc).
46340         [!+link-static] (+link-static-before-libc): New variable.
46341         [!+link-static] (+link-static-after-libc): Likewise.
46342         [!+link-static] (+link-static-tests): Likewise.
46343         [!+link-static] (+link-static): Define in terms of
46344         $(+link-static-before-libc) and $(+link-static-after-libc).
46345         [build-shared] (link-libc-before-gnulib): New variable.
46346         [build-shared] (link-libc-tests): Likewise.
46347         [build-shared] (link-libc): Define in terms of
46348         $(link-libc-before-gnulib).
46349         [!build-shared] (link-libc-tests): New variable.
46350         (link-libc-static-tests): New variable.
46351         [!gnulib] (gnulib-arch): New variable.
46352         [!gnulib] (gnulib-tests): Likewise.
46353         [!gnulib] (static-gnulib-arch): Likewise.
46354         [!gnulib] (static-gnulib-tests): Likewise.
46355         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
46356         Define with "=" instead of ":=".
46357         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
46358         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
46359         * Rules (binaries-all-notests): New variable.
46360         (binaries-all-tests): Likewise.
46361         (binaries-static-notests): Likewise.
46362         (binaries-static-tests): Likewise.
46363         (binaries-all): Define using $(binaries-all-notests) and
46364         $(binaries-all-tests).
46365         (binaries-static): Define using $(binaries-static-notests) and
46366         $(binaries-static-tests).
46367         (binaries-shared-tests): New variable.
46368         (binaries-shared-notests): Likewise.
46369         (binaries-shared): Remove variable.
46370         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
46371         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
46372         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
46373         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
46374         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
46375         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
46376         * elf/Makefile (sln-modules): New variable.
46377         (extra-objs): Add $(sln-modules:=.o).
46378         (ldconfig-modules): Add static-stubs.
46379         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
46380         * elf/static-stubs.c: New file.
46382         [BZ #14283]
46383         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
46384         by 7 not 8 to examine high bit of fractional part.  Use volatile
46385         variables when splitting into final array of floats if
46386         __FLT_EVAL_METHOD__ != 0.
46387         * math/libm-test.inc (cos_test): Add another test.
46388         (sin_test): Likewise.
46389         * sysdeps/i386/fpu/libm-test-ulps: Update.
46391         [BZ #14273]
46392         * math/libm-test.inc (cosh_test): Add more tests.
46394         * version.h (RELEASE): Set to "development".
46395         (VERSION): Set to "2.16.90".
46397 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
46399         * NEWS: Update copyright. Remove last-updated date.
46400         Mention math library bug fixes and timezone data changes.
46401         * README: Mention GNU/Hurd, x32, and HPPA support status.
46403 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
46405         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46407 2012-06-27  Andreas Jaeger  <aj@suse.de>
46409         * manual/contrib.texi (Contributors): Add Samuel Thibault.
46411 2012-06-25  Andreas Jaeger  <aj@suse.de>
46413         * sysdeps/s390/fpu/libm-test-ulps: Update.
46415 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
46416             Thomas Schwinge  <thomas@codesourcery.com>
46418         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46419         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46420         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46421         fanotify_mark.
46423 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
46425         * sysdeps/mach/start.c: Remove file.
46426         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46427         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46428         * sysdeps/sh/init-first.c: Likewise.
46430         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46431         registers for frame unwinding purposes, add CFI directives.
46432         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46433         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46434         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46435         Likewise.
46437         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46438         __fortify_fail returning.
46439         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46441         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46442         sysdeps/sh/____longjmp_chk.S.
46443         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46444         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46445         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46446         (gen-as-const-headers): Append sigaltstack-offsets.sym.
46448         * sysdeps/sh/abort-instr.h: New file.
46449         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46450         process in case exit returns.
46452         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46453         initialize the GOT register before use.
46455         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46456         calculation of ARGC > 4.
46458         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46459         meaningful names to some local labels.
46461 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46462             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46464         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46465         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46466         (__arch_compare_and_exchange_val_16_acq): Likewise.
46467         (__arch_compare_and_exchange_val_32_acq): Likewise.
46468         (atomic_exchange_and_add): Fix gUSA sequence.
46469         (atomic_add): Likewise.
46470         (atomic_add_negative): Likewise.
46471         (atomic_add_zero): Likewise.
46472         (atomic_bit_test_set): Likewise.
46474 2012-06-22  Andreas Schwab  <schwab@redhat.com>
46476         [BZ #13579]
46477         * include/link.h (struct link_map): Add l_free_initfini.
46478         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46479         l_initfini.
46480         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46481         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46482         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46483         set.
46485 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
46487         * configure.in: Use AC_LANG_SOURCE.
46488         * configure: Regenerate.
46490 2012-06-22  Roland McGrath  <roland@hack.frob.com>
46492         * configure.in (libc_cv_localstatedir): New substituted variable.
46493         * configure: Regenerated.
46494         * config.make.in (localstatedir): New variable, substituted from
46495         libc_cv_localstatedir.
46496         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46497         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46498         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46499         * sysdeps/gnu/configure: Regenerated.
46501 2012-06-21  Jeff Law  <law@redhat.com>
46503         [BZ #14277]
46504         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46505         free.  Simplify list management for _LIBC case.
46507 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
46509         [BZ #14273]
46510         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46511         Clear sign bit of 64-bit integer value before comparing against
46512         overflow value.
46514         * sysdeps/mach/configure: Regenerated.
46516 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
46518         [BZ #14278]
46519         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46521 2012-06-21  Jeff Law  <law@redhat.com>
46523         [BZ #13882]
46524         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
46525         uint16_t for elements in the "seen" array to avoid char overflows.
46526         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46527         * elf/dl-open.c (dl_open_worker): Likewise.
46529 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
46531         * scripts/list-sources.sh: Scan PORTS for translations.
46532         * po/libc.pot: Regenerated.
46534 2012-06-21  Andreas Jaeger  <aj@suse.de>
46536         [BZ #12194]
46537         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46538         warning.
46539         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46540         * bits/byteswap-16.h (__bswap_16): Likewise.
46541         * bits/byteswap.h (__bswap_constant_16): Likewise.
46543 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
46545         [BZ #14117]
46546         * sysdeps/i386/fpu_control.h: Removed.
46547         * sysdeps/x86_64/fpu_control.h: Moved to ...
46548         * sysdeps/x86/fpu_control.h: Here.
46550         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46551         (_FPU_SETCW): Likewise.
46553 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
46555         [BZ #14117]
46556         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46557         * sysdeps/x86/fpu/bits/mathinline.h: This.
46558         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46560         [BZ #14050]
46561         [BZ #14117]
46562         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46563         functions if __x86_64__ is defined.
46565 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
46567         * string/endian.h: Add !__ASSEMBLER__ condition for including
46568         conversion interfaces.
46570 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
46572         [BZ #14241]
46573         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46574         of ABS(x) in calculating zero to negative powers other than odd
46575         integers.
46576         * math/libm-test.inc (pow_test): Add more tests.
46578 2012-06-15  Andreas Jaeger  <aj@suse.de>
46580         * manual/contrib.texi (Contributors): Update entry of Liubov
46581         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46582         Machado Filho.
46584 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
46586         * string/string.h: Add __wur to GNU version of strerror_r.
46588 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
46590         [BZ #14229]
46591         * string/Makefile (tests): Add tst-strtok_r.
46592         * string/tst-strtok_r.c: New file.
46593         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46594         RAX_LP/RDX_LP on SAVE_PTR.
46596 2012-06-14  Roland McGrath  <roland@hack.frob.com>
46598         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46600 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
46602         * libm_test.inc (csqrt_test): Allow more spurious underflow
46603         exceptions.
46604         (j0_test): Likewise.
46605         (j1_test): Likewise.
46606         (y0_test): Likewise.
46607         (y1_test): Likewise.
46609 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
46611         * po/Makefile (libc.pot): Use UTF-8 charset.
46613 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
46615         [BZ #14210]
46616         Suppress sign-conversion warning from FD_SET.
46617         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46618         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46619         not unsigned long int.
46620         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46622 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
46624         [BZ #14050]
46625         [BZ #14117]
46626         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46627         __extern_always_inline instead of __extern_inline.
46628         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46629         (__signbit): Likewise.
46630         (__signbitl): Support C++ namespace.
46631         (lrintf): New inline function.
46632         (lrint): Likewise.
46633         (llrintf): Likewise.
46634         (llrint): Likewise.
46635         (fmaxf): Likewise.
46636         (fmax): Likewise.
46637         (fminf): Likewise.
46638         (fmin): Likewise.
46639         (rint): Likewise.
46640         (rintf): Likewise.
46641         (ceil): Likewise.
46642         (ceilf): Likewise.
46643         (floor): Likewise.
46644         (floorf): Likewise.
46645         (nearbyint): Likewise.
46646         (nearbyintf): Likewise.
46648 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
46650         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46651         non-default versions.
46653 2012-06-11  Roland McGrath  <roland@hack.frob.com>
46655         [BZ #14218]
46656         * manual/argp.texi (Argp): Reword argp_parse description slightly.
46658 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
46660         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46661         (FE_UPWARD, FE_DOWNWARD): Don't define.
46662         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46663         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46665         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46666         reading it.
46667         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46668         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46670 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46672         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46673         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46674         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46675         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46677 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
46679         [BZ #14117]
46680         * sysdeps/i386/fpu/bits/fenv.h: Removed.
46681         * sysdeps/i386/fpu/Implies: New file.
46682         * sysdeps/x86_64/fpu/Implies: Likewise.
46683         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46684         * sysdeps/x86/fpu/bits/fenv.h: This.
46686         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46687         __SSE_MATH__.
46689 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46691         [BZ #14134]
46692         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46693         character 0xffff that matches the last element of the
46694         conversion table.
46696 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46698         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46699         fmodl commit.
46701 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46703         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46704         values higher than 25.6283.
46706 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46708         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46709         subnormal exponent extraction and add some __builtin_expect.
46710         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46711         Fix for subnormal mantissa calculation.
46713 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
46715         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46716         cpu2 is -1 and errno is not ENOSYS.
46718 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
46720         [BZ #14117]
46721         * sysdeps/i386/i486/bits/string.h: Renamed to ...
46722         * sysdeps/x86/bits/string.h: This.
46723         * sysdeps/x86_64/bits/string.h: Removed.
46725         * sysdeps/i386/i486/bits/string.h: Define inline functions only
46726         if not compiling for x86-64, but compiling for >= i486.
46728         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46729         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46731         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46732         New macro from Linux kernel 3.4.0.
46733         (FP_XSTATE_MAGIC2): Likewise.
46734         (FP_XSTATE_MAGIC2_SIZE): Likewise.
46735         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46736         (struct _fpx_sw_bytes): New struct.
46737         (struct _xsave_hdr): Likewise.
46738         (struct _ymmh_state): Likewise.
46739         (struct _xstate): Likewise.
46741         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46742         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46743         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46744         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46745         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46746         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46748         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46749         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46750         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46751         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46752         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46753         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46755 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46757         [BZ #13743]
46758         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46759         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46760         (sysdep_headers): Include sys/platform/ppc.h.
46761         * sysdeps/powerpc/test-gettimebase.c: Test for
46762         __ppc_get_timebase() to catch future ISA opcode/insn changes.
46763         * manual/Makefile (appendices): Include platform.texi.
46764         * manual/contrib.texi (Contributors): Update @node pointers.
46765         * manual/maint.texi (Maintenance): Likewise.
46766         (Platform): New node.
46767         * manual/platform.texi: New file.  Document the new features.
46769 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46770             Jakub Jelinek  <jakub@redhat.com>
46772         [BZ #14188]
46773         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46774         where __builtin_expect is unavailable.
46776 2012-06-03  David S. Miller  <davem@davemloft.net>
46778         * stdlib/longlong.h: Updated from GCC.
46780 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
46782         [BZ #14042]
46783         * sysdeps/powerpc/powerpc32/mcount.c: New file.
46784         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46785         __mcount_internal.
46786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46787         (GLIBC_2.16): Likewise.
46789 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46791         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46793 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46796         (default-abi): New variable.
46797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46798         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46799         variable.
46800         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46801         Likewise.
46802         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46803         Likewise.
46804         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46805         Likewise.
46807         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46808         definition.  Document in comment.
46810 2012-06-01  David S. Miller  <davem@davemloft.net>
46812         * stdlib/longlong.h: Updated from GCC.
46814 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46816         [BZ #14117]
46817         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46818         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46819         sys/debugreg.h sys/io.h here.
46820         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46821         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46822         sys/io.h.
46823         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46824         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46825         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46826         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46827         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46828         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46830         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46831         Define only if __x86_64__ is defined.
46833 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46835         [BZ #14048]
46836         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46837         Use int64_t for variable i.
46838         * math/libm-test.inc (fmod_test): Add more tests.
46840         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46841         z computation is not scheduled after fetestexcept.
46842         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46843         Use math_force_eval instead of asm to ensure calculation scheduled
46844         before exception test.
46845         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46846         Ensure a1 + u.d computation is not scheduled after fetestexcept.
46848 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
46850         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46851         computation is not scheduled after fetestexcept.
46853 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46855         [BZ #14117]
46856         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46857         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46859 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46861         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46862         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46864 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46866         [BZ #14117]
46867         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46868         <bits/wordsize.h>.
46869         (__WCHAR_MIN): Support __WORDSIZE == 64.
46870         (__WCHAR_MAX): Likewise.
46872         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46873         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46875         [BZ #14183]
46876         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46877         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46879         [BZ #14117]
46880         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46881         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46883         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46884         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46886         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46887         Defined to 1 if __x86_64__ isn't defined.
46888         (_STAT_VER_LINUX_OLD): New.
46889         (st_atime): Remove duplicate.
46890         (st_mtime): Likewise.
46891         (st_ctime): Likewise.
46893 2012-05-31  David S. Miller  <davem@davemloft.net>
46895         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46896         entries.
46898 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
46900         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46901         gen-libm-test.pl.
46903         [BZ #14132]
46904         * elf/dl-reloc.c: Include <_itoa.h>.
46905         (_dl_reloc_bad_type): Remove use of INTUSE.
46906         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46907         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46908         * stdio-common/psiginfo.c (psiginfo): Likewise.
46909         * stdio-common/psignal.c (psignal): Likewise.
46910         * string/strsignal.c (strsignal): Likewise.
46911         * include/signal.h (_sys_siglist): Declare hidden proto.
46912         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
46913         INTVARDEF with libc_hidden_data_def.
46914         * stdio-common/itoa-udigits.c: Likewise.
46915         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46916         (_itoa_lower_digits_internal): Remove declaration.
46917         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46918         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46919         (_sys_sigabbrev_internal): Remove aliases.
46920         (_sys_siglist): Define hidden alias.
46922 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
46924         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46925         bits/sysctl.h.
46927 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46929         [BZ #14117]
46930         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46931         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46933         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46934         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46935         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46936         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46937         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46938         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46940         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46941         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46942         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46944         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46945         with __addr.
46946         (insw): Likewise.
46947         (insl): Likewise.
46948         (outsb): Likewise.
46949         (outsw): Likewise.
46950         (outsl): Likewise.
46952         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46953         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46954         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46956         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46957         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46958         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46959         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46960         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46961         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46963         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46964         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46966         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46967         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46969         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46970         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46971         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46973         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46974         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46975         to ...
46976         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46978         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46979         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46980         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46982         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46983         for x86-64.
46984         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46986 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
46988         * math/math.h (M_El): Use two more decimal places.
46989         (M_LOG2El): Likewise.
46990         (M_LOG10El): Likewise.
46991         (M_LN2l): Likewise.
46992         (M_LN10l): Likewise.
46993         (M_PIl): Likewise.
46994         (M_PI_2l): Likewise.
46995         (M_PI_4l): Likewise.
46996         (M_1_PIl): Likewise.
46997         (M_2_PIl): Likewise.
46998         (M_2_SQRTPIl): Likewise.
46999         (M_SQRT2l): Likewise.
47000         (M_SQRT1_2l): Likewise.
47002 2012-05-31  David S. Miller  <davem@davemloft.net>
47004         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47005         values between float registers.
47006         * sysdeps/sparc/sparc64/memset.S: Likewise.
47007         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47009 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47011         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47012         -D_FORTIFY_SOURCE=1.
47013         (CPPFLAGS-tst-longjmp_chk.c): Define.
47014         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47015         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47016         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47017         CFLAGS-tst-wchar-h.c.
47019 2012-05-31  Marek Polacek  <polacek@redhat.com>
47021         [BZ #14132]
47022         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47023         __endmntent_internal): Remove declaration.
47024         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47025         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47026         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47028 2012-05-30  David S. Miller  <davem@davemloft.net>
47030         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47031         (___Q_simulate_exceptions): Use real FP ops rather than writing
47032         into the %fsr.
47033         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47034         Likewise.
47036 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47038         [BZ #14117]
47039         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47040         * sysdeps/x86/bits/xtitypes.h: This.
47042         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47043         * sysdeps/x86/bits/wordsize.h: This.
47045         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47046         * sysdeps/x86/bits/huge_vall.h: This.
47048         * sysdeps/i386/bits/select.h: Removed.
47049         * sysdeps/x86_64/bits/select.h: Renamed to ...
47050         * sysdeps/x86/bits/select.h: This.
47052         * sysdeps/i386/bits/setjmp.h: Removed.
47053         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47054         * sysdeps/x86/bits/setjmp.h: This.
47056         * sysdeps/i386/bits/mathdef.h: Removed.
47057         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47058         * sysdeps/x86/bits/mathdef.h: This.
47060 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47062         [BZ #14132]
47063         * include/sys/socket.h (__connect_internal)
47064         (__libc_sa_len_internal): Remove declaration.
47065         (__connect, __libc_sa_len): Declare hidden_proto.
47066         (SA_LEN): Remove use of INTUSE.
47067         * socket/connect.c: Add libc_hidden_def.
47068         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47069         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47070         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47071         alias.
47072         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47073         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47074         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47075         of adding _internal alias.
47077 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47079         [BZ #14117]
47080         * sysdeps/i386/bits/link.h: Removed.
47081         * sysdeps/i386/bits/linkmap.h: Likewise.
47082         * sysdeps/x86_64/bits/link.h: Renamed to ...
47083         * sysdeps/x86/bits/link.h: This.
47084         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47085         * sysdeps/x86/bits/linkmap.h: This.
47087         * sysdeps/i386/bits/endian.h: Removed.
47088         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47089         * sysdeps/x86/bits/endian.h: This.
47091         * sysdeps/i386/bits/byteswap.h: Removed.
47092         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47093         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47094         * sysdeps/x86/bits/byteswap.h: This.
47095         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47096         * sysdeps/x86/bits/byteswap-16.h: This.
47097         * sysdeps/i386/Implies: Add x86.
47098         * sysdeps/x86_64/Implies: Likewise.
47100 2012-05-30  David S. Miller  <davem@davemloft.net>
47102         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47103         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47104         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47105         (FP_TRAPPING_EXCEPTIONS): Define.
47106         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47107         (FP_TRAPPING_EXCEPTIONS): Define.
47108         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47109         subnormals only when inexact has been signalled or underflow
47110         exceptions are enabled.
47111         (_FP_PACK_CANONICAL): Likewise.
47113 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47115         [BZ #14183]
47116         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47117         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47119 2012-05-30  Richard Henderson  <rth@twiddle.net>
47121         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47122         with #ifndef NOT_IN_libc.
47124         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47125         marked to avoid plt entry.
47127 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47129         [BZ #14112]
47130         * Makeconfig (default-abi): New macro.
47131         (abi-includes): Likewise.
47132         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47133         $(abi-$(default-abi)-lib-soname) for soname if defined.
47134         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47135         abi-variants.
47136         * Makefile (installed-stubs): Likewise.
47137         * include/stubs-biarch.h: Removed.
47138         * scripts/lib-names.awk: Only handle one library at a time.
47139         * scripts/soversions.awk: Remove WORDSIZE support.
47140         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47141         entries.
47142         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47143         Removed.
47144         (syscall-list-default-condition): Likewise.
47145         (syscall-list-default-condition): Likewise.
47146         (syscall-list-includes): Likewise.
47147         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47148         syscall-list-* with abi-*.  Handle undefined abi-variants.
47149         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47150         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47151         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47152         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47153         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47154         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47155         Removed.
47156         (syscall-list-32-options): Likewise.
47157         (syscall-list-32-condition): Likewise.
47158         (syscall-list-64-options): Likewise.
47159         (syscall-list-64-condition): Likewise.
47160         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47161         macro.
47162         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47163         Renamed to ...
47164         (abi-*): This.
47165         (abi-64-ld-soname): New macro.
47166         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47167         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47168         Renamed to ...
47169         (abi-*): This.
47170         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47171         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47173 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
47175         * sysdeps/unix/sysv/linux/kernel-features.h
47176         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47177         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47178         include <kernel-features.h>.
47179         [!__NR_ftruncate64]: Remove conditional code.
47180         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47181         [__NR_ftruncate64]: Make code unconditional.
47182         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47183         * sysdeps/unix/sysv/linux/truncate64.c: Do not
47184         include <kernel-features.h>.
47185         [!__NR_ftruncate64]: Remove conditional code.
47186         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47187         [__NR_ftruncate64]: Make code unconditional.
47188         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47190         include <kernel-features.h>.
47191         [!__NR_ftruncate64]: Remove conditional code.
47192         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47193         [__NR_ftruncate64]: Make code unconditional.
47194         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47196         include <kernel-features.h>.
47197         [!__NR_ftruncate64]: Remove conditional code.
47198         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47199         [__NR_ftruncate64]: Make code unconditional.
47200         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47202         * configure.in (libc_cv_fpie): Weaken to a compile test using
47203         LIBC_TRY_CC_OPTION.
47204         * configure: Regenerated.
47206 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47212         Refreshed.
47213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47219         Refreshed.
47221 2012-05-27  David S. Miller  <davem@davemloft.net>
47223         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47224         (___Q_zero): New.
47225         (__Q_simulate_exceptions): Return void.  Change to simulate
47226         exceptions by writing into the %fsr.
47227         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47228         (__Qp_handle_exceptions): Likewise.
47229         (numbers): Delete.
47230         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47231         __Qp_handle_exceptions.
47232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47233         __Qp_handle_exceptions.
47234         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47235         as unused and give dummy FP_RND_NEAREST initializer.
47236         (FP_INHIBIT_RESULTS): Define.
47237         (___Q_simulate_exceptions): Update declaration.
47238         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47239         formatting.
47240         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47241         as unused and give dummy FP_RND_NEAREST initializer.
47242         (__Qp_handle_exceptions): Update declaration.
47243         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47244         formatting.
47246 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
47248         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47249         the temporary FPU control word.
47250         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47251         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47252         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47253         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47254         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47255         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47256         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47257         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47258         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47259         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47260         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47262 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47264         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47265         fields.
47267 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
47269         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47270         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47271         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47272         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47273         Likewise.
47274         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
47275         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
47276         Likewise.
47278 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
47280         * po/h.po: Update from translation team.
47282 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
47284         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47286         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47287         handling of denormals.
47288         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47289         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47290         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47291         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47292         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47293         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47294         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47295         Likewise.
47297 2012-05-26  Marek Polacek  <polacek@redhat.com>
47299         [BZ #14152]
47300         * math/libm-test.inc (fma_test): Don't always expect underflow
47301         exception.
47303 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47305         [BZ #12416]
47306         * elf/tst-execstack.c: Include stackinfo.h.
47307         (do_test): Adjust test case to ensure that pthread_getattr_np
47308         behaviour remains the same after marking stack executable.
47310 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47312         * sysdeps/unix/sysv/linux/kernel-features.h
47313         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47314         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47315         kernel-features.h.
47316         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47317         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47318         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
47319         kernel-features.h.
47320         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47321         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47323 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
47325         * configure.in: Define the default includes to being none.
47326         * configure: Regenerated.
47328 2012-05-25  Roland McGrath  <roland@hack.frob.com>
47330         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
47331         * sysdeps/x86_64/setjmp.S: Likewise.
47332         * sysdeps/i386/bsd-setjmp.S: Likewise.
47333         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47334         * sysdeps/i386/setjmp.S: Likewise.
47335         * sysdeps/i386/__longjmp.S: Likewise.
47336         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47337         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
47339         * include/stap-probe.h: New file.
47340         * configure.in: Handle --enable-systemtap.
47341         * configure: Regenerated.
47342         * config.h.in (USE_STAP_PROBE): New #undef.
47343         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
47344         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
47345         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
47347 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47349         [BZ #13717]
47350         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47351         to 2.4.0 where earlier.
47352         * sysdeps/unix/sysv/linux/configure: Regenerated.
47353         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47354         <kernel-features.h>.
47355         [__ASSUME_32BITUIDS]: Make code unconditional.
47356         [!__ASSUME_32BITUIDS]: Remove conditional code.
47357         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
47358         <kernel-features.h>.
47359         [__ASSUME_32BITUIDS]: Make code unconditional.
47360         [!__ASSUME_32BITUIDS]: Remove conditional code.
47361         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
47362         [__ASSUME_32BITUIDS]: Make code unconditional.
47363         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
47364         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
47365         <kernel-features.h>.
47366         [__ASSUME_32BITUIDS]: Make code unconditional.
47367         [!__ASSUME_32BITUIDS]: Remove conditional code.
47368         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
47369         <kernel-features.h>.
47370         [__ASSUME_32BITUIDS]: Make code unconditional.
47371         [!__ASSUME_32BITUIDS]: Remove conditional code.
47372         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
47373         <kernel-features.h>.
47374         [__ASSUME_32BITUIDS]: Make code unconditional.
47375         [!__ASSUME_32BITUIDS]: Remove conditional code.
47376         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
47377         <kernel-features.h>.
47378         [__ASSUME_32BITUIDS]: Make code unconditional.
47379         [!__ASSUME_32BITUIDS]: Remove conditional code.
47380         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47381         <kernel-features.h>.
47382         [__ASSUME_32BITUIDS]: Make code unconditional.
47383         [!__ASSUME_32BITUIDS]: Remove conditional code.
47384         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47385         <kernel-features.h>.
47386         [__ASSUME_32BITUIDS]: Make code unconditional.
47387         [!__ASSUME_32BITUIDS]: Remove conditional code.
47388         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
47389         <kernel-features.h>.
47390         [__ASSUME_32BITUIDS]: Make code unconditional.
47391         [!__ASSUME_32BITUIDS]: Remove conditional code.
47392         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47393         <kernel-features.h>.
47394         [__ASSUME_32BITUIDS]: Make code unconditional.
47395         [!__ASSUME_32BITUIDS]: Remove conditional code.
47396         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47397         <kernel-features.h>.
47398         [__ASSUME_32BITUIDS]: Make code unconditional.
47399         [!__ASSUME_32BITUIDS]: Remove conditional code.
47400         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
47401         <kernel-features.h>.
47402         [__ASSUME_32BITUIDS]: Make code unconditional.
47403         [!__ASSUME_32BITUIDS]: Remove conditional code.
47404         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
47405         <kernel-features.h>.
47406         [__NR_setresgid] (__setresgid): Do not declare.
47407         [__ASSUME_32BITUIDS]: Make code unconditional.
47408         [!__ASSUME_32BITUIDS]: Remove conditional code.
47409         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47410         <kernel-features.h>.
47411         [__NR_setresuid] (__setresuid): Do not declare.
47412         [__ASSUME_32BITUIDS]: Make code unconditional.
47413         [!__ASSUME_32BITUIDS]: Remove conditional code.
47414         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
47415         <kernel-features.h>.
47416         [__ASSUME_32BITUIDS]: Make code unconditional.
47417         [!__ASSUME_32BITUIDS]: Remove conditional code.
47418         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
47419         <kernel-features.h>.
47420         [__ASSUME_32BITUIDS]: Make code unconditional.
47421         [!__ASSUME_32BITUIDS]: Remove conditional code.
47422         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
47423         <kernel-features.h>.
47424         [__ASSUME_32BITUIDS]: Make code unconditional.
47425         [!__ASSUME_32BITUIDS]: Remove conditional code.
47426         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47427         <kernel-features.h>.
47428         [__ASSUME_32BITUIDS]: Make code unconditional.
47429         [!__ASSUME_32BITUIDS]: Remove conditional code.
47430         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47431         <kernel-features.h>.
47432         [__ASSUME_32BITUIDS]: Make code unconditional.
47433         [!__ASSUME_32BITUIDS]: Remove conditional code.
47434         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47435         <kernel-features.h>.
47436         [__ASSUME_32BITUIDS]: Make code unconditional.
47437         [!__ASSUME_32BITUIDS]: Remove conditional code.
47438         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47439         <kernel-features.h>.
47440         [__ASSUME_32BITUIDS]: Make code unconditional.
47441         [!__ASSUME_32BITUIDS]: Remove conditional code.
47442         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47443         <kernel-features.h>.
47444         [__ASSUME_32BITUIDS]: Make code unconditional.
47445         [!__ASSUME_32BITUIDS]: Remove conditional code.
47446         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47447         <kernel-features.h>.
47448         [__ASSUME_32BITUIDS]: Make code unconditional.
47449         [!__ASSUME_32BITUIDS]: Remove conditional code.
47450         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47451         <kernel-features.h>.
47452         [__ASSUME_32BITUIDS]: Make code unconditional.
47453         [!__ASSUME_32BITUIDS]: Remove conditional code.
47454         * sysdeps/unix/sysv/linux/kernel-features.h
47455         (__ASSUME_SETRESUID_SYSCALL): Remove.
47456         (__ASSUME_SETRESGID_SYSCALL): Likewise.
47457         (__ASSUME_32BITUIDS): Likewise.
47458         (__ASSUME_LDT_WORKS): Likewise.
47459         (__ASSUME_O_DIRECTORY): Likewise.
47460         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47461         architecture but not kernel version.
47462         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47463         (__ASSUME_MMAP2_SYSCALL): Likewise.
47464         (__ASSUME_STAT64_SYSCALL): Likewise.
47465         (__ASSUME_IPC64): Likewise.
47466         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47467         <kernel-features.h>.
47468         [__ASSUME_32BITUIDS]: Make code unconditional.
47469         [!__ASSUME_32BITUIDS]: Remove conditional code.
47470         * sysdeps/unix/sysv/linux/opendir.c: Do not include
47471         <kernel-features.h>.
47472         [__ASSUME_O_DIRECTORY]: Make code unconditional.
47473         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47474         132096]: Remove conditional code.
47475         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47476         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47477         <kernel-features.h>.
47478         [__ASSUME_32BITUIDS]: Make code unconditional.
47479         [!__ASSUME_32BITUIDS]: Remove conditional code.
47480         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47481         <kernel-features.h>.
47482         [__ASSUME_32BITUIDS]: Make code unconditional.
47483         [!__ASSUME_32BITUIDS]: Remove conditional code.
47484         * sysdeps/unix/sysv/linux/setegid.c: Do not include
47485         <kernel-features.h>.
47486         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47487         unconditional.
47488         (__setresgid): Do not declare.
47489         [__ASSUME_32BITUIDS]: Make code unconditional.
47490         [!__ASSUME_32BITUIDS]: Remove conditional code.
47491         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47492         <kernel-features.h>.
47493         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47494         unconditional.
47495         (__setresuid): Do not declare.
47496         [__ASSUME_32BITUIDS]: Make code unconditional.
47497         [!__ASSUME_32BITUIDS]: Remove conditional code.
47498         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47499         <kernel-features.h>.
47500         [__ASSUME_32BITUIDS]: Make code unconditional.
47501         [!__ASSUME_32BITUIDS]: Remove conditional code.
47502         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47503         <kernel-features.h>.
47504         [__ASSUME_32BITUIDS]: Make code unconditional.
47505         [!__ASSUME_32BITUIDS]: Remove conditional code.
47507 2012-05-25  Richard Henderson  <rth@twiddle.net>
47509         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47510         dl_hwcap to ifunc resolver.
47511         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47512         elf_ifunc_invoke.
47513         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47514         dl_hwcap to ifunc resolver.
47515         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47517 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47519         [BZ #14153]
47520         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47521         for |x| <= 2**-26, not 2**-57.
47522         * math/libm-test.inc (acos_test): Do not allow spurious underflow
47523         exception.
47525 2012-05-24  Jeff Law  <law@redhat.com>
47527         * stdio-common/Makefile (tests): Add bug25.
47528         * stdio-common/bug25.c: New test.
47530 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47532         [BZ #13576]
47533         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47534         multiple of MALLOC_ALIGNMENT in size.
47535         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47537 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47539         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47540         Require >= 256.
47541         (FILENAME_MAX): Use macro-int-constant.
47542         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
47543         (_IOFBF): Use macro-int-constant.
47544         (_IOLBF): Likewise.
47545         (_IONBF): Likewise.
47546         (SEEK_CUR): Likewise.
47547         (SEEK_END): Likewise.
47548         (SEEK_SET): Likewise.
47549         (TMP_MAX): Likewise.
47550         (EOF): Use macro-int-constant.  Require < 0.
47551         (NULL): Use macro-constant.  Require == 0.
47552         (stdin): Require type to be FILE *.
47553         (stdout): Likewise.
47554         (stderr): Likewise.
47555         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47556         macro-int-constant.
47557         (EXIT_SUCCESS): Likewise.
47558         (NULL): Use macro-constant.  Require == 0.
47559         (RAND_MAX): Use macro-int-constant.
47560         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47561         [C99-based standards] (strtof): Require function.
47562         [C99-based standards] (strtold): Likewise.
47563         [C99-based standards] (strtoll): Likewise.
47564         [C99-based standards] (strtoull): Likewise.
47565         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47566         [ISO || ISO99 || ISO11] (limits.h): Likewise.
47567         [ISO || ISO99 || ISO11] (math.h): Likewise.
47568         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47569         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47570         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47572 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
47574         [BZ #14132]
47575         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47576         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47577         * intl/dgettext.c (DCGETTEXT): Likewise.
47578         * intl/gettext.c (DCGETTEXT): Likewise.
47579         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47580         * posix/regex_internal.h (gettext): Likewise.
47581         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47582         Remove declaration.
47583         * include/argz.h (__argz_count_internal)
47584         (__argz_stringify_internal): Remove declaration.
47585         (__argz_count, __argz_stringify): Declare hidden proto.
47586         * intl/dcgettext.c: Remove use of INTDEF.
47587         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47588         * string/argz-stringify.c: Likewise.
47589         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47590         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47591         Declare hidden proto.
47592         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47593         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47594         Declare hidden proto.
47595         * include/stdio.h (__asprintf_internal): Don't declare.
47596         (__asprintf): Don't define as macro.  Declare hidden proto.
47597         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47598         (__fsetlocking): Declare hidden proto.
47599         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47600         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47601         hidden proto.
47602         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47603         (_IO_setlinebuf): Remove use of INTUSE.
47604         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47605         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47606         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47607         Remove declaration.
47608         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47609         (_IO_do_flush): Remove use of INTUSE.
47610         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47611         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47612         (_IO_adjust_column, _IO_least_wmarker)
47613         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47614         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47615         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47616         (_IO_default_doallocate, _IO_wdefault_doallocate)
47617         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47618         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47619         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47620         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47621         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47622         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47623         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47624         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47625         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47626         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47627         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47628         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47629         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47630         proto.
47631         (_IO_flush_all_internal, _IO_adjust_column_internal)
47632         (_IO_default_uflow_internal, _IO_default_finish_internal)
47633         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47634         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47635         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47636         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47637         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47638         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47639         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47640         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47641         (_IO_file_close_internal, _IO_file_close_it_internal)
47642         (_IO_file_underflow_internal, _IO_file_overflow_internal)
47643         (_IO_file_init_internal, _IO_file_attach_internal)
47644         (_IO_file_fopen_internal, _IO_file_read_internal)
47645         (_IO_file_sync_internal, _IO_file_seek_internal)
47646         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47647         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47648         (_IO_str_underflow_internal, _IO_str_overflow_internal)
47649         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47650         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47651         (_IO_list_all_internal, _IO_link_in_internal)
47652         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47653         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47654         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47655         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47656         (_IO_do_write_internal, _IO_padn_internal)
47657         (_IO_getline_info_internal, _IO_getline_internal)
47658         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47659         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47660         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47661         (_IO_vfscanf_internal, _IO_vfprintf_internal)
47662         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47663         (_IO_init_internal, _IO_un_link_internal): Don't declare.
47664         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47665         with libc_hidden_ver, remove use of INTUSE.
47666         * libio/genops.c: Likewise.
47667         * libio/freopen.c: Likewise.
47668         * libio/freopen64.c: Likewise.
47669         * libio/iofclose.c: Likewise.
47670         * libio/iofdopen.c: Likewise.
47671         * libio/iofflush.c: Likewise.
47672         * libio/iofflush_u.c: Likewise.
47673         * libio/iofgets.c: Likewise.
47674         * libio/iofgets_u.c: Likewise.
47675         * libio/iofopen.c: Likewise.
47676         * libio/iofopncook.c: Likewise.
47677         * libio/iofread.c: Likewise.
47678         * libio/iofread_u.c: Likewise.
47679         * libio/ioftell.c: Likewise.
47680         * libio/iofwrite.c: Likewise.
47681         * libio/iogetline.c: Likewise.
47682         * libio/iogets.c: Likewise.
47683         * libio/iogetwline.c: Likewise.
47684         * libio/iopadn.c: Likewise.
47685         * libio/iopopen.c: Likewise.
47686         * libio/ioseekoff.c: Likewise.
47687         * libio/ioseekpos.c: Likewise.
47688         * libio/iosetbuffer.c: Likewise.
47689         * libio/iosetvbuf.c: Likewise.
47690         * libio/ioungetc.c: Likewise.
47691         * libio/ioungetwc.c: Likewise.
47692         * libio/iovdprintf.c: Likewise.
47693         * libio/iovsprintf.c: Likewise.
47694         * libio/iovsscanf.c: Likewise.
47695         * libio/memstream.c: Likewise.
47696         * libio/obprintf.c: Likewise.
47697         * libio/oldfileops.c: Likewise.
47698         * libio/oldiofclose.c: Likewise.
47699         * libio/oldiofdopen.c: Likewise.
47700         * libio/oldiofopen.c: Likewise.
47701         * libio/oldiopopen.c: Likewise.
47702         * libio/oldstdfiles.c: Likewise.
47703         * libio/putc.c: Likewise.
47704         * libio/setbuf.c: Likewise.
47705         * libio/setlinebuf.c: Likewise.
47706         * libio/stdfiles.c: Likewise.
47707         * libio/strops.c: Likewise.
47708         * libio/vasprintf.c: Likewise.
47709         * libio/vscanf.c: Likewise.
47710         * libio/vsnprintf.c: Likewise.
47711         * libio/vswprintf.c: Likewise.
47712         * libio/wfiledoalloc.c: Likewise.
47713         * libio/wfileops.c: Likewise.
47714         * libio/wgenops.c: Likewise.
47715         * libio/wmemstream.c: Likewise.
47716         * libio/wstrops.c: Likewise.
47717         * libio/__fpurge.c: Likewise.
47718         * libio/__fsetlocking.c: Likewise.
47719         * assert/assert.c: Likewise.
47720         * debug/fgets_chk.c: Likewise.
47721         * debug/fgets_u_chk.c: Likewise.
47722         * debug/fread_chk.c: Likewise.
47723         * debug/fread_u_chk.c: Likewise.
47724         * debug/gets_chk.c: Likewise.
47725         * debug/obprintf_chk.c: Likewise.
47726         * debug/vasprintf_chk.c: Likewise.
47727         * debug/vdprintf_chk.c: Likewise.
47728         * debug/vsnprintf_chk.c: Likewise.
47729         * debug/vsprintf_chk.c: Likewise.
47730         * malloc/mtrace.c: Likewise.
47731         * misc/error.c: Likewise.
47732         * misc/syslog.c: Likewise.
47733         * stdio-common/asprintf.c: Likewise.
47734         * stdio-common/fxprintf.c: Likewise.
47735         * stdio-common/getw.c: Likewise.
47736         * stdio-common/isoc99_fscanf.c: Likewise.
47737         * stdio-common/isoc99_scanf.c: Likewise.
47738         * stdio-common/isoc99_vfscanf.c: Likewise.
47739         * stdio-common/isoc99_vscanf.c: Likewise.
47740         * stdio-common/isoc99_vsscanf.c: Likewise.
47741         * stdio-common/printf-prs.c: Likewise.
47742         * stdio-common/printf_fp.c: Likewise.
47743         * stdio-common/printf_fphex.c: Likewise.
47744         * stdio-common/printf_size.c: Likewise.
47745         * stdio-common/putw.c: Likewise.
47746         * stdio-common/scanf.c: Likewise.
47747         * stdio-common/sprintf.c: Likewise.
47748         * stdio-common/tmpfile.c: Likewise.
47749         * stdio-common/vfprintf.c: Likewise.
47750         * stdio-common/vfscanf.c: Likewise.
47751         * stdlib/strfmon_l.c: Likewise.
47752         * sunrpc/openchild.c: Likewise.
47753         * sunrpc/xdr_stdio.c: Likewise.
47754         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47755         * sysdeps/mach/hurd/tmpfile.c: Likewise.
47757 2012-05-24  Roland McGrath  <roland@hack.frob.com>
47759         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47761         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47762         in the third column, to generate for the shared library an IFUNC
47763         that uses _dl_vdso_vsym.
47764         * Makerules (COMPILE.c, compile-stdin.c): New variables.
47765         * Makeconfig (object-suffixes-noshared): New variable.
47767         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47768         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47769         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47770         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47772         [BZ #14132]
47773         * include/sys/time.h (__gettimeofday): Remove macro.
47774         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47775         * time/gettimeofday.c (__gettimeofday): Remove #undef.
47776         Remove INTDEF.
47777         (__gettimeofday): Add libc_hidden_def.
47778         (gettimeofday): Add libc_hidden_weak.
47779         * sysdeps/mach/gettimeofday.c: Likewise.
47780         * sysdeps/posix/gettimeofday.c: Likewise.
47781         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47782         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47783         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47784         (__gettimeofday_internal): Remove strong_alias.
47785         (__gettimeofday): Add libc_hidden_def.
47786         (gettimeofday): Add libc_hidden_weak.
47787         * sysdeps/unix/syscalls.list (gettimeofday):
47788         Remove __gettimeofday_internal alias.
47790 2012-05-24  Daniel Jacobowitz  <drow@false.org>
47791             H.J. Lu  <hongjiu.lu@intel.com>
47793         [BZ #12495]
47794         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47795         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47796         (largebin_index_32_big): New.
47797         (largebin_index): Use it for 16-byte alignment.
47798         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
47799         correction with front_misalign.
47801 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47805         Likewise.
47806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47807         Likewise.
47808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47809         Likewise.
47810         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47811         Likewise.
47812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47813         Likewise.
47814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47815         Likewise.
47816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47817         Likewise.
47818         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47819         Likewise.
47820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47821         Likewise.
47822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47823         Likewise.
47824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47825         Likewise.
47826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47827         Likewise.
47829         * scripts/data/c++-types-x32-linux-gnu.data: New file.
47830         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47832 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47834         [BZ #10846]
47835         [BZ #14036]
47836         * math/libm-test.inc (exp_test): Add test from bug 14036.
47837         (pow_test): Add test from bug 10846.
47839         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47840         and other flags.
47841         (special_function): Do not include flags in test name.
47842         (parse_args): Likewise.
47843         * sysdeps/i386/fpu/libm-test-ulps: Update.
47844         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47845         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47846         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47849         * math/gen-libm-test.pl (%beautify): Add entries for underflow
47850         exceptions.
47851         * math/libm-test.inc ("Philosophy"): Update comment about
47852         exception testing.
47853         (UNDERFLOW_EXCEPTION): New macro.
47854         (UNDERFLOW_EXCEPTION_OK): Likewise.
47855         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47856         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47857         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47858         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47859         (INVALID_EXCEPTION_OK): Update value.
47860         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47861         (OVERFLOW_EXCEPTION_OK): Likewise.
47862         (IGNORE_ZERO_INF_SIGN): Likewise.
47863         (test_exceptions): Handle underflow exceptions.
47864         (acos_test): Update for underflow exception expectations.
47865         (cexp_test): Likewise.
47866         (clog_test): Likewise.
47867         (clog10_test): Likewise.
47868         (csqrt_test): Likewise.
47869         (ctan_test): Likewise.
47870         (ctanh_test): Likewise.
47871         (exp_test): Likewise.
47872         (exp10_test): Likewise.
47873         (exp2_test): Likewise.
47874         (expm1_test): Likewise.
47875         (fma_test): Likewise.
47876         (j0_test): Likewise.
47877         (jn_test): Likewise.
47878         (nexttoward_test): Likewise.
47879         (pow_test): Likewise.
47880         (scalbn_test): Likewise.
47881         (scalbln_test): Likewise.
47882         (tan_test): Likewise.
47883         (y1_test): Likewise.
47884         * sysdeps/i386/fpu/libm-test-ulps: Update.
47885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47887 2012-05-23  David S. Miller  <davem@davemloft.net>
47889         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47890         (__libc_sigaction): Remove unused local variables.
47892 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47894         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47896 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
47898         mktime: avoid signed integer overflow
47899         * time/mktime.c (__mktime_internal): Do not mishandle the case
47900         where diff == INT_MIN.
47902         mktime: simplify computation of average
47903         * time/mktime.c (ranged_convert): Use new time_t_avg function
47904         instead of rolling our own (probably-slower) code.
47906         mktime: do not assume signed right shift propagates sign bit
47907         * time/mktime.c (isdst_differ): New static function.
47908         (__mktime_internal): No need to normalize tm_isdst now.
47909         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47910         tm_isdst values.
47912         mktime: merge another wrapv change from gnulib
47913         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47914         from some compilers.
47916         mktime: remove incorrect attempt at unusual arithmetics
47917         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47918         The code didn't really work on such machines anyway.
47919         (TYPE_MINIMUM): Assume two's complement.
47920         (twos_complement_arithmetic): Verify that long_int and time_t
47921         are two's complement (or unsigned, in the latter case).
47923         mktime: check signed shifts on long_int and time_t, too
47924         * time/mktime.c (SHR): Check that shifts work as desired
47925         on the types long_int and time_t too, as SHR is used on
47926         such types.
47928         mktime: do not assume 'long' is wide enough
47929         * time/mktime.c (verify): Move decl up.
47930         (long_int): New type.
47931         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47932         to remove assumption in the code that 'long' is wide enough to
47933         store year values.  This assumption is not true on x32 and on
47934         some non-glibc platforms.
47936         mktime: merge wrapv change from gnulib
47937         * time/mktime.c (WRAPV): New macro.
47938         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47939         (guess_time_tm, __mktime_internal): Do not assume that signed
47940         integer overflow wraps around; modern compilers generate code
47941         where this assumption is no longer valid.
47943 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47945         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47946         Replace "jmp L(pseudo_end)" with "ret".
47947         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47948         Likewise.
47950 2012-05-23  Andreas Jaeger  <aj@suse.de>
47952         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47953         * sysdeps/unix/sysv/linux/poll.c: Remove file.
47955 2012-05-23  Andreas Jaeger  <aj@suse.de>
47956             Maximilian Attems  <max@stro.at>
47958         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47959         New macros.
47961 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47963         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47964         code so that pseudo_end is just ret and the stack pointer is
47965         correct also for static library in error case.
47967 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
47969         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47970         move to syscalls.list.
47971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47976         * manual/install.texi (Running make install): Do not mention Linux
47977         kernel version for which pt_chown is not needed.
47978         (Linux): Do not mention problems with nscd with 2.0 kernels.
47979         * INSTALL: Regenerated.
47981 2012-05-23  Andreas Jaeger  <aj@suse.de>
47983         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47984         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47985         macro.
47986         * sysdeps/unix/sysv/linux/s390/bits/mman.h
47987         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47988         * sysdeps/unix/sysv/linux/sh/bits/mman.h
47989         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47990         * sysdeps/unix/sysv/linux/i386/bits/mman.h
47991         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47992         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47993         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47994         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47995         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47996         * sysdeps/unix/sysv/linux/bits/in.h
47997         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47999 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48001         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48002         (PREPARE_VERSION): Just use assert instead, it will be elided
48003         under [NDEBUG] anyway.
48005 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48007         * sysdeps/unix/sysv/linux/Makefile: Include
48008         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48009         (sysdep_routines): Remove sysctl.
48010         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48011         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48012         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48013         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48014         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48016 2012-05-22  Andreas Jaeger  <aj@suse.de>
48018         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48019         that pseudo_end is just ret and the stack pointer is correct also
48020         for static library in error case.
48022 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48024         [BZ #14122]
48025         * nss/nsswitch.c (defconfig_entries): New variable.
48026         (__nss_database_lookup): Don't leak defconfig entries.
48027         (nss_parse_service_list): Don't leak on error paths.
48028         (free_database_entries): New function.
48029         (free_defconfig): New function.
48030         (free_mem): Move common code to free_database_entries.
48032 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48034         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48035         Add arch_prctl.
48036         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48038         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48039         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48040         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48041         New macro.
48042         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48043         (INTERNAL_SYSCALL_TYPES): Likewise.
48044         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48045         (LOAD_REGS_TYPES_[1-6]): Likewise.
48046         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48047         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48049 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48051         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48052         copysignl for GLIBC_2_0.
48053         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48054         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48055         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48056         logbl for GLIBC_2_0.
48057         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48058         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48060 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48062         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48063         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48065         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48066         Use "neg %eax".
48068         * time/mktime.c: Update copyright years.
48070 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48072         mktime: merge comment-quoting-style change from gnulib
48073         * time/mktime.c: Quote 'like this' in comments.
48074         The GNU coding standards suggest that we no longer quote `like this',
48075         as "`" and "'" are typically rendered asymmetrically nowadays.
48076         The typical gnulib style is to quote 'like this' when quoting
48077         code, and "like this" when quoting English.
48079         * time/mktime.c (compile-command): Add "-I.".
48081         mktime: merge mktime-internal.h change from gnulib
48082         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48084         mktime: merge time_r change from gnulib
48085         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48087         mktime: merge DEBUG change from gnulib
48088         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48089         case system <time.h> has a #define.
48091         mktime: merge <sys/types.h> change from gnulib
48092         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48093         since <time.t> is now guaranteed to define time_t.
48095         mktime: merge HAVE_CONFIG_H change from gnulib
48096         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48098 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48100         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48101         Use "neg %eax".
48103         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48104         __rlim_t cast.
48105         (struct rusage): Use anonymous union to pad each field to
48106         __syscall_slong_t.
48108 2012-05-21  David S. Miller  <davem@davemloft.net>
48110         * Makefules (o-iterator): Remove .s cases.
48111         (compile-command.s): Delete.
48112         (COMPILE.s): Delete.
48113         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48115 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48117         * configure.in (libc_cv_predef_stack_protector): Only consider
48118         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48119         * configure: Regenerated.
48121 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48123         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48124         New macro.  Use R*LP on int and pointer.
48125         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48126         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48127         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48128         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48130         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48131         [__WORDSIZE_TIME64_COMPAT32] instead of
48132         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48133         (struct utmp): Likewise.
48134         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48135         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48136         Renamed to ...
48137         (__WORDSIZE_TIME64_COMPAT32): This.
48138         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48139         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48140         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48141         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48142         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48143         (__WORDSIZE_TIME64_COMPAT32): New macro.
48145 2012-05-21  Andreas Jaeger  <aj@suse.de>
48147         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48148         only if [SHARED]. Add prototype for __wcschr_ia32.
48150 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48152         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48153         of %rbp unmolested in the jmp_buf while mangling the low bits.
48154         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48155         unmolested high bits of %rbp while demangling the low bits.
48156         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48158 2012-05-21  Andreas Jaeger  <aj@suse.de>
48160         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48161         * sunrpc/svc_simple.c: Use it for registerrpc.
48162         * sunrpc/xcrypt.c: Use it for passwd2des.
48164         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48166 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48168         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48169         Don't define if [__SYSCALL_WORDSIZE != 32].
48170         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48171         New macro.
48173 2012-05-21  Bruno Haible  <bruno@clisp.org>
48174             Andreas Jaeger  <aj@suse.de>
48176         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48177         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48178         inptr and inend for must_buffer_ch.
48179         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48180         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48181         * stdio-common/Makefile (tests): Remove bug15.
48182         (bug15-ENV): Remove macro.
48183         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48184         anymore.
48186 2012-05-19  Andreas Jaeger  <aj@suse.de>
48187             Roland McGrath  <roland@hack.frob.com>
48189         * manual/contrib.texi: Completely rewritten. It contains now an
48190         alphabetical list of contributors and their contributions.
48192 2012-05-21  Richard Henderson  <rth@twiddle.net>
48194         * misc/getauxval.c (__getauxval): Use unsigned long int.
48195         * misc/sys/auxv.h: Include <sys/cdefs.h>.
48196         (getauxval): Use unsigned long int.
48198 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48200         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48202 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48204         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48205         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48206         __alignof__ (long double).
48208 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48212 2012-05-20  Richard Henderson  <rth@twiddle.net>
48214         * misc/getauxval.c: New file.
48215         * misc/sys/auxv.h: New file.
48216         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48217         (routines): Add getauxval.
48218         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48219         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48220         * elf/dl-sysdep.c (_dl_auxv): Remove.
48221         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48222         * elf/dl-support.c (_dl_auxv): New variable.
48223         (_dl_aux_init): Initialize it.
48224         * manual/startup.texi (Auxiliary Vector): New node.
48225         * sysdeps/generic/bits/hwcap.h: New file.
48226         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48227         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
48228         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48229         * sysdeps/sparc/sysdep.h: ... here.  Include it.
48230         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48231         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48233         Update.
48234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48237         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48243 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48247 2012-05-19  David S. Miller  <davem@davemloft.net>
48249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48251 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48253         [BZ #14123]
48254         * math/s_ccosh.c: Include <float.h>
48255         (__ccosh): Avoid internal overflow calculating sinh and cosh
48256         values before multiplying by sin and cos values.
48257         * math/s_ccoshf.c: Likewise.
48258         * math/s_ccoshl.c: Likewise.
48259         * math/s_csin.c: Likewise.
48260         * math/s_csinf.c: Likewise.
48261         * math/s_csinl.c: Likewise.
48262         * math/s_csinh.c: Likewise.
48263         * math/s_csinhf.c: Likewise.
48264         * math/s_csinhl.c: Likewise.
48265         * math/libm-test.inc (ccos_test): Add more tests.
48266         (ccosh_test): Likewise.
48267         (csin_test): Likewise.
48268         (csinh_test): Likewise.
48269         * sysdeps/i386/fpu/libm-test-ulps: Update.
48270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48272 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
48274         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
48275         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
48277         * sysdeps/x86_64/x32/_itoa.h: Add comment.
48279 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48281         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48282         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48283         * sysdeps/powerpc/soft-fp/Versions: Likewise.
48284         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48285         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48286         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48287         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48288         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48289         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48290         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48291         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48292         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48293         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48294         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48295         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48296         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48297         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48298         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48299         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48300         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48301         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48302         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48303         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48304         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48305         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48306         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48307         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48308         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48309         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48310         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48311         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48313 2012-05-18  Andreas Jaeger  <aj@suse.de>
48315         * csu/.gitignore: Delete.
48317 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48319         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
48320         (timex): Use __syscall_slong_t.
48322 2012-05-18  Andreas Jaeger  <aj@suse.de>
48323             Carlos O'Donell  <carlos_odonell@mentor.com>
48325         * manual/install.texi (Configuring and compiling): Update
48326         description about files modified in the source directory.
48327         * INSTALL: Regenerated.
48329 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48331         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
48332         value.  Use "or" to set return value to -1.
48333         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
48334         negate return value.
48336 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48338         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
48339         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
48340         failure if the compiler has Graphite support disabled.
48341         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
48342         Likewise.
48343         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
48344         (CFLAGS-memmove.c): Likewise.
48345         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
48346         Likewise.
48348 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48350         * sysdeps/x86_64/x32/_itoa.h: New file.
48352         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
48353         getdents system call only if kernel and user dirents have the
48354         same d_ino and d_off.
48356         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48357         LLONG_MAX != LONG_MAX.
48358         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48359         (_fitoa_word): Likewise.
48361         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
48362         years.
48363         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
48364         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
48365         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
48367         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
48368         include <bits/wordsize.h>.  Check __x86_64__ instead of
48369         __WORDSIZE.
48370         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
48371         if __x86_64__ is defined.  Use anonymous union on fpstate.
48373         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
48374         anonymous union.
48376 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
48378         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
48379         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
48380         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
48381         Refer to _rtld_local_ro instead of _rtld_global_ro.
48382         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48383         Likewise.
48384         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48385         Likewise.
48386         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48387         Likewise.
48388         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48389         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48390         of _rtld_global, and rtld_progname instead of _dl_argv[0].
48392         * sysdeps/powerpc/powerpc32/dl-machine.c
48393         (__elf_machine_runtime_setup) [PROF]: Don't reference
48394         _dl_prof_resolve.
48396 2012-05-18  Andreas Jaeger  <aj@suse.de>
48398         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48399         function only available for GCCs before 3.4 since GCC 3.4
48400         introduced a builtin.
48401         (lrint): Likewise.
48402         (llrintf): Likewise.
48403         (llrint): Likewise.
48404         (fmaxf): Likewise.
48405         (fmax): Likewise.
48406         (fminf): Likewise.
48407         (fmin): Likewise.
48408         (rint): Likewise.
48409         (rintf): Likewise.
48410         (nearbyint): Likewise.
48411         (nearbyintf): Likewise.
48412         (ceil): Likewise.
48413         (ceilf): Likewise.
48414         (floor): Likewise.
48415         (floorf): Likewise.
48417 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48419         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48420         on both fields and cast pointer to __syscall_ulong_t.
48422         * bits/types.h (__fsword_t): New type.
48423         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48424         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48425         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48426         (__FSWORD_T_TYPE): Likewise.
48427         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48428         (__FSWORD_T_TYPE): Likewise.
48429         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48430         (__FSWORD_T_TYPE): Likewise.
48431         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48432         (__FSWORD_T_TYPE): Likewise.
48433         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48434         __SWORD_TYPE with __fsword_t.
48435         (statfs64): Likewise.
48437 2012-05-17  David S. Miller  <davem@davemloft.net>
48439         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48441 2012-05-17  Andreas Jaeger  <aj@suse.de>
48443         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48444         warning.
48446 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48448         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48450 2012-05-17  Andreas Jaeger  <aj@suse.de>
48452         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48453         when it is used.
48455 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48457         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48459 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48461         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48462         * sysdeps/x86_64/tst-mallocalign1.c: New file.
48464 2012-05-17  Andreas Jaeger  <aj@suse.de>
48465             Carlos O'Donell  <carlos_odonell@mentor.com>
48467         [BZ #14059]
48468         * sysdeps/x86_64/multiarch/init-arch.h
48469         (bit_YMM_Usable): Rename to...
48470         (bit_AVX_Usable): ... this.
48471         (bit_FMA4_Usable): New macro.
48472         (bit_XMM_state): New macro.
48473         (bit_YMM_state): New macro.
48474         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48475         [__ASSEMBLER__] (index_AVX_Usable): ... this.
48476         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48477         (CPUID_OSXSAVE): New macro.
48478         (CPUID_AVX): New macro.
48479         (CPUID_FMA4): New macro.
48480         (index_YMM_Usable): Rename to...
48481         (index_AVX_Usable): ... this.
48482         (HAS_AVX): Use HAS_ARCH_FEATURE.
48483         (HAS_FMA4): Likewise.
48484         (HAS_YMM_USABLE): Remove.
48485         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48486         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48487         are present.
48488         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48489         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48490         * sysdeps/x86_64/multiarch/Makefile: Likewise.
48491         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48492         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48494 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48496         * math/libm-test.c: Support platforms without multiple rounding modes.
48497         * math/bug-nextafter.c: Support platforms without FP exceptions.
48498         * math/bug-nexttoward.c: Likewise.
48499         * math/test-fenv.c: Likewise.
48500         * math/test-misc.c: Likewise.
48501         * stdlib/bug-getcontext.c: Likewise.
48503 2012-05-17  Andreas Jaeger  <aj@suse.de>
48505         * manual/examples/search.c (critter_cmp): Change signature to
48506         avoid warnings.
48507         * manual/string.texi (Collation Functions): Likewise.
48509 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48511         * bits/types.h: Fold copyright years.
48512         * bits/typesizes.h: Likewise.
48513         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48514         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48515         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48516         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48517         * time/time.h: Likewise.
48519 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
48521         [BZ #208]
48522         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48523         in instead of returning them.  Return void.
48524         (__libc_mallinfo): Accumulate over all arenas.
48525         (__malloc_stats): Adjust for change in int_mallinfo interface.
48527 2012-05-16  Roland McGrath  <roland@hack.frob.com>
48529         [BZ #10375]
48530         * configure.in (NM): Add AC_CHECK_TOOL for it.
48531         (libc_extra_cflags): New substituted variable.
48532         Check for -fstack-protector being used implicitly.
48533         * configure: Regenerated.
48534         * config.make.in (config-extra-cflags): New variable,
48535         gets @libc_extra_cflags@.
48536         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48538         [BZ #10375]
48539         * configure.in: Check for _FORTIFY_SOURCE being predefined.
48540         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48541         * configure: Regenerated.
48542         * config.make.in (CPPUNDEFS): New substituted variable.
48543         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48544         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48545         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48547 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48549         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48550         (mq_attr): Use __syscall_slong_t.
48552 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48554         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48555         Check __x86_64__ instead of __WORDSIZE.
48556         (_STAT_VER_LINUX): Likewise.
48557         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
48558         __syscall_ulong_t and __syscall_slong_t.
48559         (stat64): Likewise.
48561 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48563         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48565 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48567         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48569 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48571         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48572         __syscall_ulong_t.
48574         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48575         include <bits/wordsize.h>.  Check __x86_64__ instead of
48576         __WORDSIZE.
48577         (greg_t): Use "__extension__ long long int" if __x86_64__ is
48578         defined.
48579         (mcontext_t): Replace "unsigned long" with "unsigned long long".
48581         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48582         include <bits/wordsize.h>.  Check __x86_64__ instead of
48583         __WORDSIZE.
48584         (user_regs_struct): Use "__extension__ unsigned long long"
48585         instead of "unsigned long" if __x86_64__ is defined.
48586         (user): Likewise.  Pad after pointer field if __ILP32__ is
48587         defined.
48589 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
48591         * configure.in (makeinfo): Require version 4.5 or later.  Allow
48592         versions 5 to 9.
48593         * configure: Regenerated.
48594         * manual/install.texi (texinfo): Increase version requirement to
48595         4.5 or later.
48596         * INSTALL: Regenerated.
48598         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48600 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48602         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48604         * sysdeps/x86_64/x32/ffs.c: New file.
48606         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48607         __syscall_ulong_t.
48608         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48609         defined.  Use __syscall_ulong_t.
48610         (shminfo): Use __syscall_ulong_t.
48611         (shm_info): Likewise.
48613         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48614         __syscall_ulong_t.
48616         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48617         <bits/wordsize.h>.
48618         (msgqnum_t): Use __syscall_ulong_t.
48619         (msglen_t): Likewise.
48620         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
48621         __syscall_ulong_t.
48623         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48624         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48626         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48628         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48629         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48631         * sysvipc/sys/msg.h (msgbuf): Replace long int with
48632         __syscall_slong_t.
48634         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48635         include <bits/wordsize.h>.  Check __x86_64__ instead of
48636         __WORDSIZE.
48638         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48639         "unsigned long long int" if __x86_64__ is defined.
48640         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48642         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48643         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48644         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48646         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48647         <stdint.h>.
48648         (GET_PC): Cast to uintptr_t first.
48649         (GET_FRAME): Likewise.
48650         (GET_STACK): Likewise.
48652         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48653         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48654         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48655         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48656         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48657         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48658         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48659         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48660         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48661         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48662         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48663         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48664         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48665         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48666         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48667         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48668         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48669         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48670         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48671         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48672         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48673         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48674         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48675         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48676         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48677         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48678         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48679         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48680         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48682 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
48684         * Makerules (+depfiles): Also collect depfiles from .oS in
48685         $(extra-objs).
48686         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48687         .oS, $(libnldbl-routines)).
48689         * Makerules (native-compile-mkdep-flags): Define.
48690         * sunrpc/Makefile (extra-objs): Add $(addprefix
48691         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48692         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48693         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
48694         calling $(make-target-directory).
48696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48698         * bits/types.h (__snseconds_t): Removed.
48699         * time/time.h (struct timespec): Replace __snseconds_t with
48700         __syscall_slong_t.
48701         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48702         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48703         Likewise.
48704         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48705         (__SNSECONDS_T_TYPE): Likewise.
48706         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48707         (__SNSECONDS_T_TYPE): Likewise.
48708         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48709         (__SNSECONDS_T_TYPE): Likewise.
48711 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48713         * sysdeps/mach/hurd/bits/typesizes.h
48714         (__SYSCALL_SLONG_TYPE): New macro.
48715         (__SYSCALL_ULONG_TYPE): Likewise.
48717 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48719         * bits/types.h (__syscall_slong_t): New type.
48720         (__syscall_ulong_t): Likewise.
48722         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48723         (__SYSCALL_ULONG_TYPE): Likewise.
48724         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48725         (__SYSCALL_SLONG_TYPE): Likewise.
48726         (__SYSCALL_ULONG_TYPE): Likewise.
48727         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48728         (__SYSCALL_SLONG_TYPE): Likewise.
48729         (__SYSCALL_ULONG_TYPE): Likewise.
48730         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48731         (__SYSCALL_SLONG_TYPE): Likewise.
48732         (__SYSCALL_ULONG_TYPE): Likewise.
48734 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48736         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48737         Add sigaltstack-offsets.sym.
48738         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48739         <sigaltstack-offsets.h>.
48740         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
48741         longjmp_msg pointer.
48742         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
48743         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48744         signal stack.
48745         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48747 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48749         * elf/stackguard-macros.h: Remove file.
48750         * sysdeps/generic/stackguard-macros.h: New file.
48751         * sysdeps/i386/stackguard-macros.h: Likewise.
48752         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48753         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48754         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48755         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48756         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48757         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48758         * sysdeps/x86_64/stackguard-macros.h: Likewise.
48759         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48760         <elf/stackguard-macros.h>.
48762         [BZ #14109]
48763         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48764         __aligned__ in attribute.
48765         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48766         (gregset_t): Likewise.
48768 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48770         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48771         * sysdeps/x86_64/64/Implies-after: Here.  New file.
48772         * sysdeps/x86_64/x32/Implies-after: New file.
48774 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48776         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48777         and access return value for _dl_profile_fixup.  Use R10_LP to
48778         load frame size.
48780 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48782         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48786         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48787         * sysdeps/x86_64/x32/sysdep.h: New file.
48789 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48791         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48792         * sysdeps/x86_64/setjmp.S: Likewise.
48794 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48796         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48797         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48798         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48799         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48800         remove unused global constant.
48802 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
48804         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48805         include of <not-cancel.h>.
48807 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48809         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48811 2012-05-15  Jeff Law  <law@redhat.com>
48812             Andreas Jaeger  <aj@suse.de>
48814         [BZ #13594]
48815         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48816         out from...
48817         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48818         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48819         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48820         code changing __hst_map_handle.map.
48822 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48824         * configure.in (sysnames): Look for Implies-before and Implies-after
48825         files.
48826         * configure: Regenerated.
48828 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48830         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48831         8-byte data alignment with LP_SIZE alignment.
48833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48835         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48836         into R10_LP.
48838 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48840         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48842 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48844         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48845         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48846         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48847         Likewise.
48848         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48850 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48852         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48853         (stackinfo_sub_sp): Likewise.
48855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48857         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48858         RAX_LP.
48860 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48862         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48863         into R*_LP.
48865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48867         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48868         sizes into R*_LP.
48870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48872         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48876         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48877         into R11_LP and load __x86_64_shared_cache_size_half into
48878         R8_LP.
48880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48882         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48883         R8_LP.
48885 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48887         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48888         logb for POWER7.
48889         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48890         logbf for POWER7.
48891         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48892         logbl for POWER7.
48893         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48894         powerpc32/power7/fpu/s_logb.c via #include.
48895         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48896         powerpc32/power7/fpu/s_logbf.c via #include.
48897         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48898         powerpc32/power7/fpu/s_logbl.c via #include.
48900 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48902         * README.libm: Remove file.
48904 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48906         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48907         count for x32.  Use R*_LP and omit operand-size suffix.
48909 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48911         * shlib-versions: Move x86_64-.*-linux.* entries to ...
48912         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
48913         * sysdeps/x86_64/x32/shlib-versions: New file.
48915 2012-05-14  Roland McGrath  <roland@hack.frob.com>
48917         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48918         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48919         Use _dl_fatal_printf instead.
48921 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48923         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48924         set if not set by the user.  Do not allow for being unset.
48925         * sysdeps/unix/sysv/linux/configure: Regenerated.
48927 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48929         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48930         the `q' suffix from lea and replace .quad with ASM_ADDR.
48932 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48934         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48935         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
48936         instead of $17.
48937         (PTR_DEMANGLE): Likewise.
48939 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48941         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48942         (LP_OP): Likewise.
48943         (ASM_ADDR): Likewise.
48944         (RAX_LP): Likewise.
48945         (RBP_LP): Likewise.
48946         (RBX_LP): Likewise.
48947         (RCX_LP): Likewise.
48948         (RDI_LP): Likewise.
48949         (RSI_LP): Likewise.
48950         (RSP_LP): Likewise.
48951         (R8_LP): Likewise.
48952         (R9_LP): Likewise.
48953         (R10_LP): Likewise.
48954         (R10_LP): Likewise.
48955         (R11_LP): Likewise.
48956         (R12_LP): Likewise.
48957         (R13_LP): Likewise.
48958         (R14_LP): Likewise.
48959         (R15_LP): Likewise.
48961 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48963         * sysdeps/x86_64/x32/dl-machine.h: New file.
48965 2012-05-14  Andreas Jaeger  <aj@suse.de>
48967         * manual/Makefile (subdir): Remove export of subdir.
48968         (all): Remove target.
48969         (.PHONY): Remove all from list.
48970         (mkinstalldirs): Remove.
48971         (.PHONY): Remove installdirs from list.
48972         ($(inst_infodir)/libc.info): Use make-target-directory.
48973         (installdirs): Remove.
48974         (subdir_%): Remove.
48975         (glibc-targets): Remove.
48976         (lib): Remove.
48977         (stubs): Remove.
48978         ($(objpfx)stubs ../po/manual.pot): Remove.
48979         ($(objpfx)stamp%): Remove.
48980         (make-target-directory): Remove.
48981         (subdir_install): Remove.
48982         (routines): Remove.
48983         (aux): Remove.
48984         (sources): Remove.
48985         (objects): Remove.
48986         (headers): Remove.
48988         [BZ #13750]
48989         * manual/.gitignore: Remove, it's not needed anymore.
48990         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48991         all files in it.
48992         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48993         directory.
48994         (texis): Renamed to $(objpfx)texis.
48995         (texis-path): New, contains path to generated files.
48996         (chapters.%): Use texis-path for complete path, add extra argument
48997         libc-texinfo.sh.
48998         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48999         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49000         (summary,texi, stamp-summary): Use complete path of
49001         files. Generate files in build dir.
49002         (dir-add.texi): Build in build dir.
49003         (libm-err.texi,stamp-libm-err): Likewise.
49004         (version.texi, stamp-version): Likewise.
49005         (.%c.texi): Likewise.
49006         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49007         (mostlyclean): Remove target.
49008         (realclean): Remove target.
49009         (generated): Add new variable with contents from mostlyclean and
49010         realclean, remove entries duplicated in common-mostlyclean, add
49011         stamp-libm-err and stamp-version.
49012         (generated-dirs): Add libc directory.
49013         ($(inst_infodir)/libc.info): Install files from build dir.
49015         * manual/install.texi (Configuring and compiling): Adjust since
49016         the info files are not part of the tar ball anymore.
49018 2012-05-14  Andreas Jaeger  <aj@suse.de>
49020         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49021         variable.
49023 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49025         [BZ #13717]
49026         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49027         to 2.2.0 where earlier.
49028         * sysdeps/unix/sysv/linux/configure: Regenerated.
49029         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49030         Remove conditional code.
49031         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49032         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49033         Remove conditional code.
49034         [!__NR_lchown]: Likewise.
49035         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49036         [__NR_lchown]: Likewise.
49037         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49038         comment referencing __ASSUME_LCHOWN_SYSCALL.
49039         * sysdeps/unix/sysv/linux/i386/sigaction.c
49040         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49041         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49042         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49043         Remove conditional code.
49044         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49045         (__protocol_available): Remove #if 0 code.
49046         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49047         conditional code.
49048         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49049         * sysdeps/unix/sysv/linux/kernel-features.h
49050         (__ASSUME_GETCWD_SYSCALL): Don't define.
49051         (__ASSUME_REALTIME_SIGNALS): Likewise.
49052         (__ASSUME_PREAD_SYSCALL): Likewise.
49053         (__ASSUME_PWRITE_SYSCALL): Likewise.
49054         (__ASSUME_POLL_SYSCALL): Likewise.
49055         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49056         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49057         non-SPARC.
49058         (__ASSUME_SIOCGIFNAME): Don't define.
49059         (__ASSUME_MSG_NOSIGNAL): Likewise.
49060         (__ASSUME_SENDFILE): Define unconditionally.
49061         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49062         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49063         conditional code.
49064         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49065         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49066         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49067         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49068         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49069         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49070         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49072         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49073         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49075         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49076         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49078         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49079         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49081         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49082         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49084         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49085         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49087         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49088         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49090         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49091         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49093         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49094         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49095         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49096         Remove conditional code.
49097         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49098         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49099         Remove conditional code.
49100         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49101         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49102         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49103         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49104         Remove conditional code.
49105         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49106         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49107         Remove conditional code.
49108         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49109         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49110         Remove conditional code.
49111         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49112         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49113         Remove conditional code.
49114         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49115         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49116         Remove conditional code.
49117         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49118         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49119         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49120         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49121         * sysdeps/unix/sysv/linux/sigaction.c
49122         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49123         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49124         * sysdeps/unix/sysv/linux/sigpending.c
49125         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49126         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49127         * sysdeps/unix/sysv/linux/sigprocmask.c
49128         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49129         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49130         * sysdeps/unix/sysv/linux/sigsuspend.c
49131         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49132         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49133         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49134         (__libc_missing_rt_sigs): Remove.
49135         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49136         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49137         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49138         Remove conditional code.
49139         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49140         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49141         return 1.
49142         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49143         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49144         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49145         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49147 2012-05-14  Andreas Jaeger  <aj@suse.de>
49149         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49150         it's not used in glibc.
49151         (__coshm1): Likewise.
49152         (__acosh1p): Likewise.
49153         (__sgn): Likewise.
49155         * manual/string.texi (Copying and Concatenation): Add missing
49156         variable in concat example.
49157         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49159 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49161         [BZ #14103]
49162         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49163         __builtin_clzl with __builtin_clzll.
49165 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49167         [BZ #14104]
49168         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49169         libc_freeres_ptr.
49171 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49173         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49174         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49175         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49176         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49178 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
49180         * NEWS: Update ia64 info.
49182 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
49184         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49185         used as bcopy.
49187 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
49189         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49190         * sysdeps/unix/syscalls.list (dup3): Likewise.
49191         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49192         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49194 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49196         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49197         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49199 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49201         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49202         thread pointer.
49203         (TLS_IE): Use mov/add instead of movq/addq to load thread
49204         pointer.
49205         (TLS_GD_PREFIX): New.
49206         (TLS_GD): Use it.
49208 2012-05-11  David S. Miller  <davem@davemloft.net>
49210         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49211         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49212         (_FPU_SETCW): Likewise.
49214 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49216         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49217         is 32-byte aligned.
49219 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
49221         [BZ #11837]
49222         * iconvdata/gb18030.c: Update tables.
49223         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
49224         characters specially.
49225         (BODY for TO_LOOP): Add encoding of missing ranges.
49227 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
49229         [BZ #13673]
49230         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49231         * sysdeps/mach/hurd/dup3.c: Likewise.
49232         * sysdeps/mach/hurd/readlinkat.c: Likewise.
49233         * sysdeps/powerpc/memmove.c:: Likewise.
49235 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49237         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49238         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49240 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49242         * elf/elf.h (R_X86_64_RELATIVE64): New.
49243         (R_X86_64_NUM): Updated.
49244         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49245         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
49246         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49247         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49248         tst-quad1pie tst-quad2pie
49249         (modules-names): Add tst-quadmod1 tst-quadmod2.
49250         ($(objpfx)tst-quad1): New dependency.
49251         ($(objpfx)tst-quad2): Likewise.
49252         ($(objpfx)tst-quad1pie): Likewise.
49253         ($(objpfx)tst-quad2pie): Likewise.
49254         * sysdeps/x86_64/tst-quad1.c: New file.
49255         * sysdeps/x86_64/tst-quad1pie.c: New file.
49256         * sysdeps/x86_64/tst-quad2.c: Likewise.
49257         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49258         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49259         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49260         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49261         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49263 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49265         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49266         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49267         * streams/stropts.h (t_scalar_t): Define type.
49269         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49270         (_PATH_PRESERVE): Set to "/var/lib".
49271         (_PATH_RWHODIR): Set to "/var/spool/rwho".
49273         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49274         instead of int.
49276         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
49277         if __dir_mkfile succeeded.
49279         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49280         checking for _hurd_dtablesize.  Unlock it right after having
49281         finished _hurd_dtable allocation.
49283 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49285         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49286         * sysdeps/mach/hurd/configure: Regenerated.
49287         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49288         special-casing to...
49289         * sysdeps/gnu/configure.in: ... this new file.
49290         * sysdeps/unix/sysv/linux/configure: Regenerated.
49291         * sysdeps/gnu/configure: New generated file.
49293         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49294         for Linux: use nsec instead of usec, as well as:
49295         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49296         members of type struct timespec.
49297         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49298         New macros.
49299         (struct stat64): Likewise.
49300         (_STATBUF_ST_NSEC): New macro.
49301         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49303         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49304         __strtoul_internal rather than strtoul.
49306 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49308         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49309         and reject them.
49311 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49313         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49314         which preserves existing values.
49315         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49317 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49319         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
49320         TIMEOUT values.  Return EINVAL for NFDS values either negative or
49321         greater than FD_SETSIZE.
49323 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49325         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
49326         allocated, call __vm_protect to finish enabling the existing space, and
49327         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
49328         allocate the remainder.
49330 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49332         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
49333         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
49335 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49337         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
49338         sysdeps/mach/hurd/readlink.c.
49340         * posix/tst-sysconf.c (posix_options): Only use
49341         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
49342         _POSIX_SYNCHRONIZED_IO when they are defined
49343         * sysdeps/mach/hurd/bits/posix_opt.h:
49344         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
49345         (_XOPEN_REALTIME): Undefine macro.
49346         (_XOPEN_REALTIME_THREADS): Undefine macro.
49347         (_XOPEN_SHM): Undefine macro.
49348         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49349         macro to -1.
49350         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
49351         macro to -1.
49352         (_POSIX_ASYNC_IO): Undefine macro.
49353         (_POSIX_PRIORITIZED_IO): Undefine macro.
49354         (_POSIX_SPIN_LOCKS): Define macro to -1.
49356         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
49357         SA_NODEFER, SA_RESETHAND.
49358         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
49359         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
49360         F_DUPFD_CLOEXEC.
49362 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49364         * elf/Makefile (pldd-modules): Define unconditionally.
49366 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49368         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
49370 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49372         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
49373         Return ENOENT when name is empty.
49374         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
49376 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49378         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
49380         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
49382 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49384         Fix mlock in all cases except non-readable pages.
49385         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49386         instead of VM_PROT_ALL as parameter to __vm_wire function.
49388         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49389         (__mkdir): When path is `/', just fail with EEXIST.
49390         * sysdeps/mach/hurd/mkdirat.c: Likewise.
49392 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49394         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49395         <sys/uio.h> (for writev).
49396         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49397         and <sys/param.h> (for MIN).
49399 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49401         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49402         REQUESTED_TIME.  Properly set the remaining time and return EINTR
49403         if interrupted.
49405 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49407         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49408         Depend on against $(link-rpcuserlibs).
49410 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49412         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49413         (__libc_stack_end): Do not use attribute_relro.
49414         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49415         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49416         to libthread-provided value.
49417         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49418         attribute_relro.
49420 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49422         [BZ #3748]
49423         * bits/libc-lock.h (__libc_once_get): New macro.
49424         * sysdeps/mach/bits/libc-lock.h: Likewise.
49425         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49426         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49427         instead of using implementation details.
49429         * libio/fileops.c: Unconditionally include <kernel-features.h>.
49430         * libio/freopen.c: Likewise.
49431         * libio/freopen64.c: Likewise.
49432         * misc/syslog.c: Likewise.
49433         * nscd/connections.c: Likewise.
49434         * nscd/netgroupcache.c: Likewise.
49435         * sysdeps/posix/getcwd.c: Likewise.
49437 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49439         * math/w_ilogbf.c: Add #include <limits.h>.
49441 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49443         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49444         path instead of returning without unlocking.
49446         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49447         immediate-write ioctls.
49448         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49450 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49452         * sysdeps/mach/hurd/i386/init-first.c (init): Use
49453         __builtin_frame_address instead of making assumptions about the
49454         location of the return address relative to DATA.  Force early load of
49455         the return address.
49456         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49457         __builtin_frame_address.
49459         dup3 for GNU Hurd.
49460         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49461         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
49462         implement dup3 and do some further code clean-ups.
49463         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49464         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49466 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49468         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49470         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49471         HURD_CRITICAL_END around holding _hurd_dtable_lock.
49472         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49473         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49474         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49475         d->port.lock.
49477         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49478         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
49479         when handler == SIG_ERR, not when handler != SIG_ERR.
49481 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49483         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49484         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49485         definitions.
49487         accept4 for GNU Hurd.
49488         * include/sys/socket.h (__libc_accept4): New prototype.
49489         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
49490         to implement __libc_accept4.
49491         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49492         __libc_accept4.
49493         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49495         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49496         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49497         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49498         signal-defines.sym.
49500 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49502         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49504 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49506         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49507         assertion on O_CLOEXEC flag.
49508         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49509         * hurd/intern-fd.c: Likewise.
49510         * hurd/port2fd.c: Likewise.
49512 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49514         [BZ #3906]
49515         * bits/in.h (IPV6_PKTINFO): Define new macro.
49516         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49518 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49520         [BZ #13954]
49521         [BZ #13955]
49522         [BZ #13956]
49523         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49524         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49525         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49526         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49527         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49528         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49529         * math/libm-test.inc (logb_test) : Additional logb tests.
49531 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
49532             Andreas Jaeger  <aj@suse.de>
49534         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49535         * configure: Regenerated.
49536         * config.h.in (LINK_OBSOLETE_RPC): New macro.
49537         * config.make.in (link-obsolete-rpc): New substituted variable.
49538         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49539         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49540         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49541         (shared-only-routines): Don't set it under [link-obsolete-rpc],
49542         so that libc.a contains the symbols.
49543         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49544         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49545         * sunrpc/auth_none.c: Likewise.
49546         * sunrpc/auth_unix.c: Likewise.
49547         * sunrpc/authdes_prot.c: Likewise.
49548         * sunrpc/authuxprot.c: Likewise.
49549         * sunrpc/clnt_gen.c: Likewise.
49550         * sunrpc/clnt_perr.c: Likewise.
49551         * sunrpc/clnt_raw.c: Likewise.
49552         * sunrpc/clnt_simp.c: Likewise.
49553         * sunrpc/clnt_tcp.c: Likewise.
49554         * sunrpc/clnt_udp.c: Likewise.
49555         * sunrpc/clnt_unix.c: Likewise.
49556         * sunrpc/des_crypt.c: Likewise.
49557         * sunrpc/des_soft.c: Likewise.
49558         * sunrpc/get_myaddr.c: Likewise.
49559         * sunrpc/key_call.c: Likewise.
49560         * sunrpc/key_prot.c: Likewise.
49561         * sunrpc/netname.c: Likewise.
49562         * sunrpc/pm_getmaps.c: Likewise.
49563         * sunrpc/pm_getport.c: Likewise.
49564         * sunrpc/pmap_clnt.c: Likewise.
49565         * sunrpc/pmap_prot.c: Likewise.
49566         * sunrpc/pmap_prot2.c: Likewise.
49567         * sunrpc/pmap_rmt.c: Likewise.
49568         * sunrpc/publickey.c: Likewise.
49569         * sunrpc/rpc_cmsg.c: Likewise.
49570         * sunrpc/rpc_common.c: Likewise.
49571         * sunrpc/rpc_dtable.c: Likewise.
49572         * sunrpc/rpc_prot.c: Likewise.
49573         * sunrpc/rpc_thread.c: Likewise.
49574         * sunrpc/rtime.c: Likewise.
49575         * sunrpc/svc.c: Likewise.
49576         * sunrpc/svc_auth.c: Likewise.
49577         * sunrpc/svc_raw.c: Likewise.
49578         * sunrpc/svc_run.c: Likewise.
49579         * sunrpc/svc_tcp.c: Likewise.
49580         * sunrpc/svc_udp.c: Likewise.
49581         * sunrpc/svc_unix.c: Likewise.
49582         * sunrpc/svcauth_des.c: Likewise.
49583         * sunrpc/xcrypt.c: Likewise.
49584         * sunrpc/xdr.c: Likewise.
49585         * sunrpc/xdr_array.c: Likewise.
49586         * sunrpc/xdr_float.c: Likewise.
49587         * sunrpc/xdr_intXX_t.c: Likewise.
49588         * sunrpc/xdr_mem.c: Likewise.
49589         * sunrpc/xdr_rec.c: Likewise.
49590         * sunrpc/xdr_ref.c: Likewise.
49591         * sunrpc/xdr_sizeof.c: Likewise.
49592         * sunrpc/xdr_stdio.c: Likewise.
49594 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49596         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49597         change.  Update copyright years.
49599 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49601         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49603 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
49604             Joseph Myers  <joseph@codesourcery.com>
49605             Paul Pluzhnikov  <ppluzhnikov@google.com>
49607         [BZ #14012]
49608         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49609         requiring rpcgen.
49610         [cross-compiling] (extra-libs): Likewise.
49611         [cross-compiling] (extra-libs-others): Likewise.
49612         [cross-compiling] (librpcsvc-routines): Likewise.
49613         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49614         [cross-compiling] (omit-deps): Likewise.
49615         (sunrpc-CPPFLAGS): New variable.
49616         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49617         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49618         (cross-rpcgen-objs): New variable.
49619         (extra-objs): Append $(cross-rpcgen-objs).
49620         ($(cross-rpcgen-objs)): New rule.
49621         ($(objpfx)cross-rpcgen): Likewise.
49622         (rpcgen-cmd): Define to use $(built-program-file).  Expand
49623         comment.
49624         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49625         ($(objpfx)x%.stmp): Likewise.
49626         * sunrpc/proto.h [IS_IN_build] (_): Define.
49627         [IS_IN_build] (_libc_intl_domainname): Likewise.
49629 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49631         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49632         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49633         and R_X86_64_TPOFF64.
49635 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49637         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49638         sysdeps/unix/sysv/syscalls.list.
49639         (stime): Likewise.
49640         (utime): Likewise.
49641         * sysdeps/unix/sysv/syscalls.list: Remove file.
49643 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
49645         [BZ #3440]
49646         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49647         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49648         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49649         (__LC_IDENTIFICATION): Make these macros useful in #if
49650         expressions, as required by C99.
49652 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
49654         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49655         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
49656         after this.
49658 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
49660         * stdlib/longlong.h: Updated from GCC.
49662 2012-05-09  Andreas Jaeger  <aj@suse.de>
49664         * nscd/nscd.c (run_modes): Make named enum, reorder so that
49665         default is first entry.
49666         (run_mode): Set type.
49667         (main): Remove informal message about syslog.
49668         (options): Fix typo.
49670         [BZ #14053]
49671         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49672         to asm.
49673         (lrint): Likewise.
49674         (llrintf): Likewise.
49675         (llrint): Likewise.
49676         (rint): Likewise.
49677         (rintf): Likewise.
49678         (nearbyint): Likewise.
49679         (nearbyintf): Likewise.
49681 2012-05-09  Andreas Jaeger  <aj@suse.de>
49682             Pedro Alves  <palves@redhat.com>
49684         * nscd/nscd.c (run_mode): Use enum.
49685         (main): Cleanup coding style issue.
49687 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
49688             Andreas Jaeger  <aj@suse.de>
49690         * nscd/nscd.c (go_background): Replaced with...
49691         (run_mode): ... this.
49692         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49693         (options): Add -F --foreground.
49694         (main): Implement it.
49695         (parse_opt): Parse it.
49697 2012-05-09  Andreas Jaeger  <aj@suse.de>
49699         [BZ #14083]
49700         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49701         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49702         -Wconversion warning.
49703         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49704         Likewise.
49706 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
49708         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
49709         == 0.
49710         (LC_ALL): Use macro-int-constant.
49711         (LC_COLLATE): Likewise.
49712         (LC_CTYPE): Likewise.
49713         (LC_MESSAGES): Likewise.
49714         (LC_MONETARY): Likewise.
49715         (LC_NUMERIC): Likewise.
49716         (LC_TIME): Likewise.
49717         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49718         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49719         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49720         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49721         Specify type.
49722         [C99-based standards] (float_t): Expect type.
49723         [C99-based standards] (double_t): Expect type.
49724         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
49725         type.
49726         [C99-based standards] (HUGE_VALL): Likewise.
49727         [C99-based standards] (INFINITY): Likewise.
49728         [C99-based standards] (NAN): Likewise.
49729         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49730         [C99-based standards] (FP_NAN): Likewise.
49731         [C99-based standards] (FP_NORMAL): Likewise.
49732         [C99-based standards] (FP_SUBNORMAL): Likewise.
49733         [C99-based standards] (FP_ZERO): Likewise.
49734         [C99-based standards] (FP_FAST_FMA): Use
49735         optional-macro-int-constant.  Specify type.  Require == 1.
49736         [C99-based standards] (FP_FAST_FMAF): Likewise.
49737         [C99-based standards] (FP_FAST_FMAL): Likewise.
49738         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49739         [C99-based standards] (FP_ILOGBNAN): Likewise.
49740         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49741         Specify type.
49742         [C99-based standards] (MATH_ERREXCEPT): Likewise.
49743         [C99-based standards] (math_errhandling): Specify type.
49744         [ISO99 || ISO11] (signgam): Do not allow.
49745         [non-C99-based standards] (copysignf): Do not allow.
49746         [non-C99-based standards] (exp2f): Likewise.
49747         [non-C99-based standards] (log2f): Likewise.
49748         [non-C99-based standards] (modff): Allow.
49749         [non-C99-based standards] (erff): Do not allow.
49750         [non-C99-based standards] (erfcf): Likewise.
49751         [non-C99-based standards] (gammaf): Likewise.
49752         [non-C99-based standards] (hypotf): Likewise.
49753         [non-C99-based standards] (j0f): Likewise.
49754         [non-C99-based standards] (j1f): Likewise.
49755         [non-C99-based standards] (jnf): Likewise.
49756         [non-C99-based standards] (lgammaf): Likewise.
49757         [non-C99-based standards] (tgammaf): Likewise.
49758         [non-C99-based standards] (y0f): Likewise.
49759         [non-C99-based standards] (y1f): Likewise.
49760         [non-C99-based standards] (ynf): Likewise.
49761         [non-C99-based standards] (isnanf): Likewise.
49762         [non-C99-based standards] (acoshf): Likewise.
49763         [non-C99-based standards] (asinhf): Likewise.
49764         [non-C99-based standards] (atanhf): Likewise.
49765         [non-C99-based standards] (cbrtf): Likewise.
49766         [non-C99-based standards] (expm1f): Likewise.
49767         [non-C99-based standards] (ilogbf): Likewise.
49768         [non-C99-based standards] (log1pf): Likewise.
49769         [non-C99-based standards] (logbf): Likewise.
49770         [non-C99-based standards] (nextafterf): Likewise.
49771         [non-C99-based standards] (remainderf): Likewise.
49772         [non-C99-based standards] (rintf): Likewise.
49773         [non-C99-based standards] (scalbf): Likewise.
49774         [non-C99-based standards] (copysignl): Likewise.
49775         [non-C99-based standards] (exp2l): Likewise.
49776         [non-C99-based standards] (log2l): Likewise.
49777         [non-C99-based standards] (modfl): Allow.
49778         [non-C99-based standards] (erfl): Do not allow.
49779         [non-C99-based standards] (erfcl): Likewise.
49780         [non-C99-based standards] (gammal): Likewise.
49781         [non-C99-based standards] (hypotl): Likewise.
49782         [non-C99-based standards] (j0l): Likewise.
49783         [non-C99-based standards] (j1l): Likewise.
49784         [non-C99-based standards] (jnl): Likewise.
49785         [non-C99-based standards] (lgammal): Likewise.
49786         [non-C99-based standards] (tgammal): Likewise.
49787         [non-C99-based standards] (y0l): Likewise.
49788         [non-C99-based standards] (y1l): Likewise.
49789         [non-C99-based standards] (ynl): Likewise.
49790         [non-C99-based standards] (isnanl): Likewise.
49791         [non-C99-based standards] (acoshl): Likewise.
49792         [non-C99-based standards] (asinhl): Likewise.
49793         [non-C99-based standards] (atanhl): Likewise.
49794         [non-C99-based standards] (cbrtl): Likewise.
49795         [non-C99-based standards] (expm1l): Likewise.
49796         [non-C99-based standards] (ilogbl): Likewise.
49797         [non-C99-based standards] (log1pl): Likewise.
49798         [non-C99-based standards] (logbl): Likewise.
49799         [non-C99-based standards] (nextafterl): Likewise.
49800         [non-C99-based standards] (remainderl): Likewise.
49801         [non-C99-based standards] (rintl): Likewise.
49802         [non-C99-based standards] (scalbl): Likewise.
49803         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49804         [non-C99-based standards] (FP_*): Do not allow.
49805         [C99-based standards] (FP_*): Change to
49806         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49807         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49808         allow.
49809         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49810         (SIG_ERR): Likewise.
49811         [X/Open-based standards] (SIG_HOLD): Likewise.
49812         (SIG_IGN): Likewise.
49813         (SIGABRT): Use macro-int-constant.  Specify type.  Require
49814         positive value.
49815         (SIGFPE): Likewise.
49816         (SIGILL): Likewise.
49817         (SIGINT): Likewise.
49818         (SIGSEGV): Likewise.
49819         (SIGTER): Likewise.
49820         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49821         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49822         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49823         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49824         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49825         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49826         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49827         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49828         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49829         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49830         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49831         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49832         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49833         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49834         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49835         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49836         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49837         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49838         [X/Open-based standards] (SIGTRAP): Likewise.
49839         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49840         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49841         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49842         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49843         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49844         allow.
49846 2012-05-08  Ian Wienand  <ianw@vmware.com>
49848         [BZ #14080]
49849         * time/tzset.c (__tzset_parse_tz): Update default rules for
49850         daylight time changes in the Energy Policy Act of 2005.
49852 2012-05-09  Andreas Jaeger  <aj@suse.de>
49854         [BZ #13983]
49855         * elf/ldconfig.c (parse_conf): Change string to make clear that
49856         ldconfig only issued a warning if ld.so.conf does not exist.
49858 2012-05-08  David S. Miller  <davem@davemloft.net>
49860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49861         movxtod instead of popping the value on the stack.
49863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49865 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
49867         * config.h.in: Add HAVE_ARM_PCS_VFP.
49869 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
49871         [BZ #13979]
49872         * include/features.h: Warn if user requests __FORTIFY_SOURCE
49873         checking but the checks are disabled for any reason.
49875 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
49877         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49878         and ELF64_R_TYPE with ELFW(R_TYPE).
49880 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
49882         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49883         (ulimit): Likewise.
49885         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49886         (settimeofday): Likewise.
49888 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
49890         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
49891         a struct th_u2 inside the union, and move tu_block/tu_code into
49892         a new th_u3 union of tu_block/tu_code inside of that.  Move
49893         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
49894         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
49895         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49896         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49897         (th_stuff): Change to th_u1.tu_stuff.
49898         (th_data): Define.
49899         (th_msg): Change to th_u1.th_u2.tu_data.
49901 2012-05-07  David S. Miller  <davem@davemloft.net>
49903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49905         [BZ #14074]
49906         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49907         (SETUP_PIC_REG): Use it.
49908         (SETUP_PIC_REG_LEAF): Use it.
49910 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
49912         [BZ #13885]
49913         [BZ #13923]
49914         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49915         USE_AS_EXPM1L.
49916         (EXPL_FINITE): Likewise.
49917         (FLDLOG): Likewise.
49918         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49919         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49920         e_expl.S.
49921         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49922         USE_AS_EXPM1L.
49923         (EXPL_FINITE): Likewise.
49924         (FLDLOG): Likewise.
49925         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49926         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49927         e_expl.S.
49928         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
49929         test of -max_value argument for long double.
49930         * sysdeps/i386/fpu/libm-test-ulps: Update.
49931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49933 2012-05-06  David S. Miller  <davem@davemloft.net>
49935         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49936         quad soft-float symbols whose references which are compiler
49937         generated.
49938         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49940 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
49942         [BZ #13884]
49943         [BZ #13914]
49944         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49945         USE_AS_EXP10L.
49946         (EXPL_FINITE): Likewise.
49947         (FLDLOG): Likewise.
49948         (c0): Likewise.
49949         (c1): Likewise.
49950         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49951         Adjust comments for base varying.
49952         (__expl_finite): Change alias to EXPL_FINITE.
49953         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49954         e_expl.S.
49955         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49956         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49957         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49958         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49959         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49960         USE_AS_EXP10L.
49961         (EXPL_FINITE): Likewise.
49962         (FLDLOG): Likewise.
49963         (c0): Likewise.
49964         (c1): Likewise.
49965         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49966         Adjust comments for base varying.
49967         (__expl_finite): Change alias to EXPL_FINITE.
49968         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
49969         tests for bugs.
49970         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49972         [BZ #14064]
49973         * math/libm-test.inc (check_float_internal): Correct ulp
49974         calculation for subnormal expected results.
49976 2012-05-06  Andreas Jaeger  <aj@suse.de>
49978         * Makeconfig (+math-flags): New, set to -frounding-math.
49979         (+cflags): Add +math-flags so that all of glibc gets compiled with
49980         it.
49982         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49984 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
49986         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49987         Disable one test.
49989         [BZ #13787]
49990         [BZ #13922]
49991         [BZ #14036]
49992         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49993         (__ieee754_expl): Allow for and saturate large arguments.
49994         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49995         (u_threshold): Likewise.
49996         (__exp): Call __ieee754_exp before checking for overflow and
49997         underflow.
49998         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49999         (u_threshold): Likewise.
50000         (__expf): Call __ieee754_expf before checking for overflow and
50001         underflow.
50002         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50003         (u_threshold): Likewise.
50004         (__expl): Call __ieee754_expl before checking for overflow and
50005         underflow.
50006         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50007         (__ieee754_expl): Allow for and saturate large arguments.
50008         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50009         missing overflow exception on overflow.
50010         (expm1_test): Do not allow missing overflow exception on overflow.
50012         * sysdeps/i386/fpu/e_expl.c: Move to ...
50013         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50014         rather than using inline asm.
50015         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50016         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50017         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50019         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50020         (nice): Likewise.
50021         (poll): Likewise.
50022         (signal): Likewise.
50023         (time): Likewise.
50024         (times): Likewise.
50026 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50028         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50029         sysdeps/unix/common/syscalls.list.
50030         (fchmod): Likewise.
50031         (fchown): Likewise.
50032         (ftruncate): Likewise.
50033         (getrusage): Likewise.
50034         (gettimeofday): Likewise.
50035         (setpgid): Likewise.
50036         (setregid): Likewise.
50037         (setreuid): Likewise.
50038         (sigaction): Likewise.
50039         (truncate): Likewise.
50040         (vhangup): Likewise.
50041         * sysdeps/unix/common/syscalls.list: Remove file.
50042         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50043         * sysdeps/unix/sysv/linux/Implies: Likewise.
50045 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50047         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50049         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50050         Moved to ...
50051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50052         Here.
50053         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50054         to ...
50055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50056         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50057         to ...
50058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50059         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50060         to ...
50061         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50062         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50063         to ...
50064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50065         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50066         to ...
50067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50068         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50069         to ...
50070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50071         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50072         to ...
50073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50074         Here.
50075         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50076         to ...
50077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50078         Here.
50079         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50080         to ...
50081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50082         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50083         Moved to ...
50084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50085         Here.
50086         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50087         to ...
50088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50090 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50092         * sysdeps/unix/common/bits/dirent.h: Remove file.
50093         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50095         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50096         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50097         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50098         * sysdeps/unix/bsd/isatty.c: Likewise.
50099         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50100         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50101         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50103 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50105         [BZ #13563]
50106         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50107         long double comparison inaccuracies.
50108         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50111 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50113         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50114         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50116 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50118         [BZ #14049]
50119         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50120         nonzero digits before rounding a hex value.
50121         * stdlib/tst-strtod.c (tests): Add another test.
50123 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50125         * sysdeps/s390/fpu/libm-test-ulps: Update.
50127 2012-05-03  Andreas Jaeger  <aj@suse.de>
50129         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50130         does not get optimized out.
50131         (malloc_opt_barrier): New.
50133 2012-05-03  Andreas Jaeger  <aj@suse.de>
50134             Roland McGrath  <roland@hack.frob.com>
50136         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50137         intermediate file deletion.
50138         (generated): Add .symlist files.
50140 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50142         [BZ #13775]
50143         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50144         Redirect under this condition.
50145         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50146         [__USE_GNU] (__dprintf_chk): Not under this condition.
50147         [__USE_GNU] (__vdprintf_chk): Likewise.
50148         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50149         under this condition.
50150         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50151         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50152         [__USE_XOPEN2K8] (vdprintf): Likewise.
50153         [__USE_GNU] (__dprintf_chk): Not under this condition.
50154         [__USE_GNU] (__vdprintf_chk): Likewise.
50155         [__USE_GNU] (dprintf): Likewise.
50156         [__USE_GNU] (vdprintf): Likewise.
50158 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50160         * elf/Makefile (common-generated): Set this instead of generated for
50161         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50162         $(all-built-dso)-derived lists.
50164 2012-05-03  Andreas Jaeger  <aj@suse.de>
50166         * sysdeps/i386/fpu/libm-test-ulps: Update.
50168         * FAQ: Removed.
50169         * FAQ.in: Likewise.
50170         * scripts/gen-FAQ.pl: Likewise.
50171         * manual/install.texi (Installation): Point to online location of
50172         FAQ.
50173         * Makefile (files-for-dist): Remove FAQ.
50174         (FAQ): Remove.
50176 2012-05-02  Allan McRae  <allan@archlinux.org>
50178         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50179         (LDFLAGS-reldepmod5.so): Likewise.
50180         (LDFLAGS-reldep6mod1.so): Likewise.
50181         (LDFLAGS-reldep6mod4.so): Likewise.
50182         (LDFLAGS-reldep8mod3.so): Likewise.
50183         (LDFLAGS-unload4mod1.so): Likewise.
50184         (LDFLAGS-unload4mod2.so): Likewise.
50185         (LDFLAGS-tst-initorder): Likewise.
50186         (LDFLAGS-tst-initordera2.so): Likewise.
50187         (LDFLAGS-tst-initordera3.so): Likewise.
50188         (LDFLAGS-tst-initordera4.so): Likewise.
50189         (LDFLAGS-tst-initorderb2.so): Likewise.
50190         (LDFLAGS-noload): Likewise.
50191         (LDFLAGS-next): Likewise.
50192         (LDFLAGS-order2mod1.so): Likewise.
50193         (LDFLAGS-order2mod2.so): Likewise.
50194         (LDFLAGS-tst-initorder2): Likewise.
50195         (LDFLAGS-tst-initorder2a.so): Likewise.
50196         (LDFLAGS-tst-initorder2b.so): Likewise.
50197         (LDFLAGS-tst-initorder2c.so): Likewise.
50198         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50200 2012-05-02  David S. Miller  <davem@davemloft.net>
50202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50204 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
50206         [BZ #14055]
50207         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50209 2012-05-02  Andreas Jaeger  <aj@suse.de>
50211         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50212         since we manipulate rounding mode.
50213         (CPPFLAGS-test-idouble.c): Likewise.
50214         (CPPFLAGS-test-ifloat.c): Likewise.
50215         (CFLAGS-test-ldouble.c): Likewise.
50216         (CFLAGS-test-double.c): Likewise.
50217         (CFLAGS-test-float.c): Likewise.
50218         (CFLAGS-test-misc.c): Likewise.
50219         (CFLAGS-test-test-fenv.c): Likewise.
50221 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50223         [BZ #2550]
50224         [BZ #2570]
50225         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50226         comparisons to determine direction to adjust input.
50228 2012-05-01  Roland McGrath  <roland@hack.frob.com>
50230         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50231         output to the target.
50233         * scripts/localplt.awk: New file.
50234         * elf/Makefile ($(objpfx)check-localplt): Target removed.
50235         (check-localplt-CFLAGS): Variable removed.
50236         ($(all-built-dso:=.jmprel)): New static pattern rule.
50237         (generated): Add those targets.
50238         (localplt-built-dso): New variable.
50239         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50241         * elf/check-localplt.c: File removed.
50243         * scripts/check-execstack.awk: New file.
50244         * elf/Makefile ($(objpfx)check-execstack): Target removed.
50245         (check-execstack-CFLAGS): Variable removed.
50246         ($(objpfx)check-execstack.h): Target removed.
50247         ($(objpfx)execstack-default): New target.
50248         (generated): Add that instead of check-execstack.h.
50249         ($(all-built-dso:=.phdr)): New static pattern rule.
50250         (generated): Add those targets.
50251         * elf/check-execstack.c: File removed.
50253         * scripts/check-textrel.awk: New file.
50254         * elf/Makefile ($(objpfx)check-textrel): Target removed.
50255         (check-textrel-CFLAGS): Variable removed.
50256         (all-built-dso): Use := to define.o
50257         ($(all-built-dso:=.dyn)): New static pattern rule.
50258         (generated): Add those targets.
50259         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50260         * config.make.in (READELF): New substituted variable.
50261         * elf/check-textrel.c: File removed.
50263 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50265         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50266         allow.
50267         * conform/data/ctype.h-data [C99-based standards] (isblank):
50268         Expect function.
50269         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50270         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50271         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50272         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50273         Specify type.  Require positive value.
50274         (EILSEQ): Likewise.
50275         (ERANGE): Likewise.
50276         [ISO || POSIX] (EILSEQ): Do not expect.
50277         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50278         Specify type.  Require positive value.
50279         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50280         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50281         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50282         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50283         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50284         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50285         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50286         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50287         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50288         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50289         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50290         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50291         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50292         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50293         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50294         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50295         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50296         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50297         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50298         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50299         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50300         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50301         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50302         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50303         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50304         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50305         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50306         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50307         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50308         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50309         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50310         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50311         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50312         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50313         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50314         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50315         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50316         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50317         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
50318         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
50319         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
50320         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
50321         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
50322         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
50323         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
50324         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
50325         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
50326         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
50327         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
50328         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
50329         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
50330         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
50331         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
50332         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
50333         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
50334         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
50335         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
50336         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
50337         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
50338         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
50339         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
50340         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
50341         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
50342         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
50343         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
50344         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
50345         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
50346         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
50347         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
50348         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
50349         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
50350         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
50351         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
50352         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
50353         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
50354         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
50355         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
50356         Require >= 2.
50357         (FLT_ROUNDS): Expect as macro, not constant.
50358         (FLT_MANT_DIG): Use macro-int-constant.
50359         (DBL_MANT_DIG): Likewise.
50360         (LDBL_MANT_DIG): Likewise.
50361         (FLT_DIG): Likewise.
50362         (DBL_DIG): Likewise.
50363         (LDBL_DIG): Likewise.
50364         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
50365         (DBL_MIN_EXP): Likewise.
50366         (LDBL_MIN_EXP): Likewise.
50367         (FLT_MAX_EXP): Use macro-int-constant.
50368         (DBL_MAX_EXP): Likewise.
50369         (LDBL_MAX_EXP): Likewise.
50370         (FLT_MAX_10_EXP): Likewise.
50371         (DBL_MAX_10_EXP): Likewise.
50372         (LDBL_MAX_10_EXP): Likewise.
50373         (FLT_MAX): Use macro-constant.
50374         (DBL_MAX): Likewise.
50375         (LDBL_MAX): Likewise.
50376         (FLT_EPSILON): Use macro-constant.  Give upper bound.
50377         (DBL_EPSILON): Likewise.
50378         (LDBL_EPSILON): Likewise.
50379         (FLT_MIN): Likewise.
50380         (DBL_MIN): Likewise.
50381         (LDBL_MIN): Likewise.
50382         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
50383         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
50384         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50385         [ISO11] (FLT_HAS_SUBNORM): Likewise.
50386         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50387         [ISO11] (DBL_DECIMAL_DIG): Likewise.
50388         [ISO11] (FLT_DECIMAL_DIG): Likewise.
50389         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50390         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50391         [ISO11] (FLT_TRUE_MIN): Likewise.
50392         [ISO11] (LDBL_TRUE_MIN): Likewise.
50393         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50394         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50395         (SCHAR_MIN): Use macro-int-constant.  Specify type.
50396         (SCHAR_MAX): Likewise.
50397         (UCHAR_MAX): Likewise.
50398         (CHAR_MIN): Likewise.
50399         (CHAR_MAX): Likewise.
50400         (MB_LEN_MAX): Use macro-int-constant.
50401         (SHRT_MIN): Use macro-int-constant.  Specify type.
50402         (SHRT_MAX): Likewise.
50403         (USHRT_MAX): Likewise.
50404         (INT_MAX): Likewise.
50405         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
50406         bound negative.
50407         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50408         bound with "U".
50409         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50410         bound with "L".
50411         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
50412         bound negative.  Suffix upper bound with "L".
50413         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50414         bound with "UL".
50415         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50416         Specify type.
50417         [C99-based standards] (LLONG_MAX): Likewise.
50418         [C99-based standards] (ULLONG_MAX): Likewise.
50419         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
50420         == 0.
50421         [ISO11] (max_align_t): Require type.
50422         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50424         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50425         from $CFLAGS, without defining away __attribute__ calls.
50426         (checknamespace): Use $CFLAGS_namespace.
50428         * conform/conformtest.pl (@keywords): Only include C99 keywords
50429         for standards based on C99 or C11.
50431         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50432         Disable tests.
50433         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50434         UNIX98]: Likewise.
50436         * conform/conformtest.pl: Handle "macro-int-constant" and test for
50437         usability of symbols in #if.
50439         * conform/conformtest.pl: If macro or constant types start
50440         "promoted:", expect the symbol to be of the following type
50441         promoted by the integer promotions.
50443         * conform/conformtest.pl: Parse all "constant" and "macro" lines
50444         in one place.  Also handle "macro-constant".
50446         * conform/conformtest.pl: Only accept expected macro values with
50447         "==".  Parse all "macro" lines in one place.
50448         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50450         * conform/conformtest.pl: Handle braced types on "constant" lines
50451         instead of handling "typed-constant".
50452         * conform/data/signal.h-data: Use "constant" instead of
50453         "typed-constant".
50455         * conform/conformtest.pl: Handle "optional-" at start of lines in
50456         one place rather than duplicating several cases.  Handle each
50457         format of "macro" line with initial "optional-".
50459         * conform/conformtest.pl: Only accept expected constant or
50460         optional-constant values with "==".  Parse all "constant" lines in
50461         one place.  Parse all "optional-constant" lines in one place.
50462         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50463         * conform/data/fmtmsg.h-data: Likewise.
50464         * conform/data/netinet/in.h-data: Likewise.
50465         * conform/data/tar.h-data: Likewise.
50466         * conform/data/limits.h-data: Use "==" form on "constant" and
50467         "optional-constant" lines.
50469         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50470         Use -std=c99 for XOPEN2K.
50471         (@knownproblems): Remove.
50472         (newtoken): Don't check %isknown.
50474         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50475         Do not expect macro.
50476         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50477         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50478         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50479         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50480         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50481         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50482         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50483         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50484         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50485         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50486         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50487         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50488         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50489         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50490         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50491         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50492         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50493         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50494         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50495         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50496         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50497         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50498         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50499         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50500         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50501         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50502         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50503         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50504         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50505         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50506         [XPG3] (acosh): Likewise.
50507         [XPG3] (asinh): Likewise.
50508         [XPG3] (atanh): Likewise.
50509         [XPG3] (cbrt): Likewise.
50510         [XPG3] (expm1): Likewise.
50511         [XPG3] (ilogb): Likewise.
50512         [XPG3] (log1p): Likewise.
50513         [XPG3] (logb): Likewise.
50514         [XPG3] (nextafter): Likewise.
50515         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50516         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50517         [XPG3] (remainder): Likewise.
50518         [XPG3] (rint): Likewise.
50519         [XPG3 || XPG4 || UNIX98] (round): Likewise.
50520         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50521         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50522         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50523         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50524         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50525         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50526         [UNIX98 || XOPEN2K] (scalb): Expect.
50527         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50528         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50529         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50530         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50531         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50532         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50533         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50534         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50535         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50536         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50537         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50538         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50539         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50540         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50541         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50542         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50543         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50544         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50545         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50546         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50547         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50548         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50549         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50550         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50551         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50552         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50553         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50554         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50555         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50556         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50557         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50558         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50559         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50560         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50561         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50562         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50563         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50564         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50565         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50566         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50567         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50568         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50569         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50570         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50571         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50572         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50573         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50574         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50575         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50576         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50577         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50578         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50579         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50580         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50581         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50582         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50583         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50584         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50585         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50586         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50587         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50588         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50589         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50590         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50591         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50592         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50593         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50594         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50595         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50596         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50597         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50598         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50599         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50600         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50601         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50602         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50603         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50604         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50605         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50606         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50607         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50608         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50609         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50610         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50611         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50612         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50613         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50614         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50615         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50616         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50617         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50618         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50619         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50620         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50621         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50622         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50623         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50624         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50625         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50626         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50627         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50628         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50629         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50630         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50631         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50632         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50633         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50634         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50635         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50636         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50637         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50638         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50639         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50640         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50641         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50642         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50643         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50644         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50645         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50646         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50647         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50648         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50649         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50650         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50651         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50652         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50653         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50654         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50655         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50656         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50657         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50658         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50659         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50660         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50661         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50662         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50663         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50665         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50666         _XOPEN_SOURCE_EXTENDED for XPG4.
50668         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50670         * Makeconfig (localtime): Remove variable.
50671         (inst_localtime-file): Likewise.
50673 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50676         Update.
50677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50678         Update.
50679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50680         Update.
50681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50682         Update.
50683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50684         Update.
50685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50686         Update.
50687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50688         Update.
50689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50690         Update.
50691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50692         Update.
50694 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50696         [BZ #2550]
50697         [BZ #2570]
50698         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50699         comparisons to determine direction to adjust input.
50700         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50701         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50702         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50703         Likewise.
50704         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50705         Likewise.
50706         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50707         Likewise.
50708         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50709         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50710         Likewise.
50711         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50712         Likewise.
50713         * math/libm-test.inc (nexttoward_test): Add more tests.
50715 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50717         [BZ #14040]
50718         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50719         in version GLIBC_2.1, not GLIBC_2.0.
50720         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50721         Likewise.
50723 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
50725         [BZ #13942]
50726         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50727         (1 - x) * (1 + x).
50728         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50729         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50730         * math/libm-test.inc (acos_test): Add more tests.
50731         (asin_test): Likewise.
50732         * sysdeps/i386/fpu/libm-test-ulps: Update.
50733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50735         [BZ #14034]
50736         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50737         of square root.
50738         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50739         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50740         * math/libm-test.inc (acos_test_tonearest): New function.
50741         (acos_test_towardzero): Likewise.
50742         (acos_test_downward): Likewise.
50743         (acos_test_upward): Likewise.
50744         (asin_test_tonearest): Likewise.
50745         (asin_test_towardzero): Likewise.
50746         (asin_test_downward): Likewise.
50747         (asin_test_upward): Likewise.
50748         (main): Call the new functions.
50749         * sysdeps/i386/fpu/libm-test-ulps: Update.
50750         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50752         [BZ #13884]
50753         [BZ #13924]
50754         * math/e_exp10.c: Include <float.h>.
50755         (__ieee754_exp10): Handle underflow here rather than multiplying
50756         large negative argument by M_LN10.
50757         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50758         of __ieee754_expf.
50759         * math/e_exp10l.c: Include <float.h>.
50760         (__ieee754_exp10l): Handle underflow here rather than multiplying
50761         large negative argument by M_LN10l.
50762         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
50763         spurious overflow exception on underflow.
50765 2012-04-29  Marek Polacek  <polacek@redhat.com>
50767         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50768         (__fortify_function): New macro.
50769         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50770         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50771         __extern_always_inline.
50772         * libio/bits/stdio2.h: Likewise.
50773         * libio/bits/stdio.h: Likewise.
50774         * string/string.h: Likewise.
50775         * string/bits/string3.h: Likewise.
50776         * include/stdio.h: Likewise.
50777         * stdlib/bits/stdlib.h: Likewise.
50778         * stdlib/stdlib.h: Likewise.
50779         * rt/bits/mqueue2.h: Likewise.
50780         * rt/mqueue.h: Likewise.
50781         * posix/bits/unistd.h: Likewise.
50782         * posix/unistd.h: Likewise.
50783         * io/bits/poll2.h: Likewise.
50784         * io/bits/fcntl2.h: Likewise.
50785         * io/fcntl.h: Likewise.
50786         * io/sys/poll.h: Likewise.
50787         * misc/bits/syslog.h: Likewise.
50788         * misc/bits/syslog-ldbl.h: Likewise.
50789         * misc/sys/syslog.h: Likewise.
50790         * socket/bits/socket2.h: Likewise.
50791         * socket/sys/socket.h: Likewise.
50792         * debug/tst-chk1.c: Likewise.
50793         * wcsmbs/bits/wchar2.h: Likewise.
50794         * wcsmbs/bits/wchar-ldbl.h: Likewise.
50795         * wcsmbs/wchar.h: Likewise.
50797 2012-04-29  Andreas Jaeger  <aj@suse.de>
50799         * Makerules (tests): Remove enable-check-abi protection.
50800         (check-abi-warn): Remove.
50801         (check-abi-%): Remove check-abi-warn usage.
50803         * configure.in: Remove check-abi configure option.
50804         * configure: Regenerated.
50805         * config.make.in (enable-check-abi): Remove.
50807 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
50809         [BZ #14033]
50810         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50811         double functions to double *_finite functions.
50813         [BZ #13941]
50814         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50815         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50816         LDBL_MIN_EXP.
50817         * stdio-common/Makefile (tests): Add tst-sprintf3.
50818         * stdio-common/tst-sprintf3.c: New file.
50820         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50821         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50823 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50825         * conform/conformtest.pl: Remove duplicate typed-constant
50826         handling.
50828 2012-04-28  David S. Miller  <davem@davemloft.net>
50830         * Makerules (%.abilist): Add vpath on sysdep_dirs.
50831         (check-abi-%): Remove AWK script prerequisite and explicit
50832         abilist directory.
50833         (check-abi): Rewrite to just diff the symlist with the abilist.
50834         (config-tls, config-abi-config): Delete, no longer used.
50835         (update-abi-%): Remove AWK script and explicit abilist directory.
50836         (update-abi): Rewrite to simply compare and conditionally copy the
50837         symlist and the sysdep abilist file.  Remove update-abi-config
50838         checks.
50839         * abilist/ld.abilist: Remove.
50840         * abilist/libBrokenLocale.abilist: Remove.
50841         * abilist/libanl.abilist: Remove.
50842         * abilist/libcrypt.abilist: Remove.
50843         * abilist/libdl.abilist: Remove.
50844         * abilist/librt.abilist: Remove.
50845         * abilist/libthread_db.abilist: Remove.
50846         * abilist/libutil.abilist: Remove.
50847         * scripts/extract-abilist.awk: Remove.
50848         * scripts/merge-abilist.awk: Remove.
50849         * sysdeps/generic/libcidn.abilist: New file.
50850         * sysdeps/generic/libnss_compat.abilist: New file.
50851         * sysdeps/generic/libnss_db.abilist: New file.
50852         * sysdeps/generic/libnss_dns.abilist: New file.
50853         * sysdeps/generic/libnss_files.abilist: New file.
50854         * sysdeps/generic/libnss_hesiod.abilist: New file.
50855         * sysdeps/generic/libnss_nis.abilist: New file.
50856         * sysdeps/generic/libnss_nisplus.abilist: New file.
50857         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50858         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50859         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50860         file.
50861         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50862         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50863         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50864         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50865         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50866         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50867         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50868         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50869         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50870         file.
50871         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50872         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50873         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50874         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50875         file.
50876         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50877         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50878         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50879         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50880         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50881         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50882         file.
50883         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50884         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50885         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50886         file.
50887         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50888         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50889         New file.
50890         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50891         New file.
50892         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50893         New file.
50894         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50895         New file.
50896         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50897         New file.
50898         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50899         New file.
50900         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50901         New file.
50902         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50903         New file.
50904         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50905         New file.
50906         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50907         New file.
50908         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50909         New file.
50910         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50911         New file.
50912         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50913         New file.
50914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50915         file.
50916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50917         New file.
50918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50919         New file.
50920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50921         file.
50922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50923         New file.
50924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50925         New file.
50926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50927         file.
50928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50929         New file.
50930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50931         New file.
50932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50933         New file.
50934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50935         New file.
50936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50937         New file.
50938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50939         New file.
50940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50942         file.
50943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50944         New file.
50945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50946         file.
50947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50948         file.
50949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50950         file.
50951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50952         file.
50953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50954         file.
50955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50956         New file.
50957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50958         file.
50959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50960         file.
50961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50962         New file.
50963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50964         file.
50965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50967         file.
50968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50969         New file.
50970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50971         file.
50972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50973         file.
50974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50975         file.
50976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50977         file.
50978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50979         file.
50980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50981         New file.
50982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50983         file.
50984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50985         file.
50986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50987         New file.
50988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50989         file.
50990         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50991         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50992         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50993         file.
50994         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50995         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50996         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50997         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50998         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50999         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51000         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51001         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51002         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51003         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51006         file.
51007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51008         New file.
51009         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51010         file.
51011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51012         file.
51013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51014         file.
51015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51016         file.
51017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51018         file.
51019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51020         New file.
51021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51022         New file.
51023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51024         file.
51025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51026         New file.
51027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51028         file.
51029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51031         file.
51032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51033         New file.
51034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51035         file.
51036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51037         file.
51038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51039         file.
51040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51041         file.
51042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51043         file.
51044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51045         New file.
51046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51047         New file.
51048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51049         file.
51050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51051         New file.
51052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51053         file.
51055 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51057         * conform/conformtest.pl: Fix typo in handling typed-constant from
51058         allow-header.
51060 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51062         * README: Cut down references to pre-2.6 Linux kernels and
51063         Linuxthreads.  Update lists of configurations in libc and ports
51064         and sort alphabetically.  Say "or newer" with Linux kernel version
51065         requirements.
51067         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51069 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51071         [BZ #887]
51072         * math/libm-test.inc (logb_test_downward): New test to expose
51073         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51074         rounding mode.
51076 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51078         [BZ #14027]
51079         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51080         to be done.
51081         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51082         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51084 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51086         * sysdeps/unix/i386/brk.S: Remove file.
51087         * sysdeps/unix/i386/dl-brk.S: Likewise.
51088         * sysdeps/unix/i386/pipe.S: Likewise.
51089         * sysdeps/unix/i386/sigreturn.S: Likewise.
51090         * sysdeps/unix/i386/syscall.S: Likewise.
51091         * sysdeps/unix/i386/vfork.S: Likewise.
51092         * sysdeps/unix/i386/wait.S: Likewise.
51094         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51095         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51097         * configure.in (arm*-none*): Do not allow without
51098         --enable-hacker-mode.
51099         (netbsd*): Remove case setting base_os.
51100         (386bsd*): Likewise.
51101         (freebsd*): Likewise.
51102         (bsdi*): Likewise.
51103         (osf*): Likewise.
51104         (sunos*): Likewise.
51105         (ultrix*): Likewise.
51106         (newsos*): Likewise.
51107         (dynix*): Likewise.
51108         (*bsd*): Likewise.
51109         (sysv*): Likewise.
51110         (isc*): Likewise.
51111         (esix*): Likewise.
51112         (sco*): Likewise.
51113         (minix*): Likewise.
51114         (irix4*): Likewise.
51115         (irix6*): Likewise.
51116         (solaris[2-9]*): Likewise.
51117         (none): Likewise.
51118         * configure: Regenerated.
51120 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51122         [BZ #11521]
51123         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51124         overflow or cancellation in calculating denominator.
51125         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51126         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51127         down expression to avoid unexpected rounding in newer GCCs.
51128         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51130 2012-04-26  David S. Miller  <davem@davemloft.net>
51132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51133         long-double compat symbols.
51134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51148 2012-04-25  David S. Miller  <davem@davemloft.net>
51150         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51151         HWCAP_* values only after the memory barriers have been defined.
51152         (atomic_full_barrier): Define.
51153         (atomic_read_barrier): Define.
51154         (atomic_write_barrier): Define.
51156 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51158         * shlib-versions: Add libgcc_s version information.
51159         * sysdeps/generic/libgcc_s.h: Remove.
51160         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51161         libgcc_s.h.
51162         * sysdeps/gnu/unwind-resume.c: Likewise.
51163         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51165 2012-04-25  David S. Miller  <davem@davemloft.net>
51167         * sysdeps/unix/sparc/brk.S: Delete.
51168         * sysdeps/unix/sparc/dl-brk.S: Delete.
51169         * sysdeps/unix/sparc/pipe.S: Delete.
51170         * sysdeps/unix/sparc/sysdep.S: Delete.
51171         * sysdeps/unix/sparc/sysdep.h: Delete.
51172         * sysdeps/unix/sparc/vfork.S: Delete.
51173         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51174         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51175         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51176         (ret_ERRVAL, r0, r1, MOVE): Define.
51177         (JUMPTARGET): Remove.
51178         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51179         sysdeps/unix/sparc/sysdep.h
51180         (ENTRY, END): Remove.
51181         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51183 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
51185         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51186         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51187         -DIS_IN_build.
51189         * timezone/README: Update upstream location and email address for
51190         tzcode and tzdata.
51191         * timezone/zdump.c: Update from tzcode 2012b.
51192         * timezone/zic.c: Likewise.
51194         * configure.in (libc_cv_as_needed): Remove test.
51195         * configure: Regenerated.
51196         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51197         conditional definition.
51198         [$(have-as-needed) != yes] (no-as-needed): Likewise.
51199         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51200         * config.make.in (have-as-needed): Remove variable.
51202 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51203             Paul Pluzhnikov  <ppluzhnikov@google.com>
51205         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51206         strings correctly.
51208 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
51210         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51211         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51212         * sysdeps/sh/strlen.S: Likewise.
51214 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51216         * sysdeps/unix/fork.S: Remove file.
51217         * sysdeps/unix/i386/fork.S: Likewise.
51218         * sysdeps/unix/sparc/fork.S: Likewise.
51220         * sysdeps/unix/system.c: Remove file.
51221         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51223         * sysdeps/unix/getegid.S: Remove file.
51224         * sysdeps/unix/geteuid.S: Likewise.
51226 2012-04-24  Roland McGrath  <roland@hack.frob.com>
51228         * scripts/check-localplt.awk: New file.
51229         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51230         of diff.
51231         * scripts/data/localplt-generic.data: Add a comment.
51233         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51234         NODE when __dir_mkfile failed.
51235         * sysdeps/mach/hurd/symlinkat.c: Likewise.
51236         Reported by Ludovic Courtès <ludo@gnu.org>.
51238 2012-04-24  Andreas Jaeger  <aj@suse.de>
51240         * Makerules (common-clean): Also remove gen-as-const-headers
51241         files.
51243 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51245         * Makerules (native-compile): Do not change working directory for
51246         build.  Use $(OUTPUT_OPTION) in command.
51247         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51249 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51251         [BZ #13886]
51252         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51253         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51254         * math/libm-test.inc (floor_test): Add more tests.
51255         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51257 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51259         * sysdeps/unix/getdents.c: Remove file.
51260         * sysdeps/unix/sysv/getdents.c: Likewise.
51261         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51263         * sysdeps/unix/syscalls.list (madvise): Add syscall from
51264         sysdeps/unix/mman/syscalls.list.
51265         (mmap): Likewise.
51266         (mprotect): Likewise.
51267         (msync): Likewise.
51268         (munmap): Likewise.
51269         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51270         * sysdeps/unix/mman/syscalls.list: Remove.
51271         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51273         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51274         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
51275         * configure: Regenerated.
51276         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
51277         $(libgcc_s_suffix).
51278         * config.make.in (libgcc_s_suffix): Remove variable.
51280 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
51282         * sysdeps/unix/sysv/gethostname.c: Move to ...
51283         * sysdeps/posix/gethostname.c: ... here.
51285         * sysdeps/unix/execve.S: Remove file.
51287         * sysdeps/unix/_exit.S: Remove file.
51289 2012-04-23  Andreas Jaeger  <aj@suse.de>
51291         [BZ #13739]
51292         * manual/Makefile: Remove make dist support, there's no
51293         need for a stand-alone documentation tar ball.
51294         (TEXI2DVI): Define always, it's not in Makeconfig.
51295         (dist): Removed.
51296         (tar-it): Removed.
51297         (edition): Removed.
51298         (glibc-doc-$(edition).tar): Removed
51299         (%.Z): Removed.
51300         (%.gz): Removed.
51301         (%.uu): Removed.
51302         (ETAGS): Remove, it's in Makeconfig.
51303         (move-if-change): Remove, it's in Makeconfig.
51305 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
51307         [BZ #13970]
51308         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51309         (strtod, strtof, strtold, strtol, strtoul, strtoq)
51310         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51311         (strtod_l, strtof_l, strtold_l): Remove __wur.
51312         It is not necessarily an error to ignore strtol's return value.
51313         One can reliably look at the stored endptr to decide whether
51314         the number had valid syntax.
51316 2012-04-21  Andreas Jaeger  <aj@suse.de>
51318         [BZ #13739]
51319         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51321 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
51323         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
51324         * sysdeps/unix/sysv/Versions: Remove file.
51326 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
51328         [BZ #13927]
51329         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51331 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
51333         [BZ #7064]
51334         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
51335         version from __vm86.
51337 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
51339         * sysdeps/unix/common/lxstat.c: Remove file.
51340         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
51342         * sysdeps/unix/sysv/Makefile: Remove file.
51344         * sysdeps/unix/sysv/direct.h: Remove file.
51346         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
51347         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
51348         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
51349         * sysdeps/unix/sysv/bits/signum.h: Likewise.
51350         * sysdeps/unix/sysv/bits/stat.h: Likewise.
51351         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
51352         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
51354         * sysdeps/unix/sysv/setrlimit.c: Remove file.
51356         * sysdeps/unix/xmknod.c: Remove file.
51357         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
51359         * sysdeps/unix/sysv/settimeofday.c: Remove file.
51361         * sysdeps/unix/sysv/i386/time.S: Remove file.
51363         * sysdeps/unix/fxstat.c: Remove file.
51364         * sysdeps/unix/xstat.c: Likewise.
51365         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
51367         * sysdeps/unix/sysv/sigaction.c: Remove file.
51369         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
51370         (sysdep_headers): Remove variable.
51371         [termio.h not in sysdep_headers] (generated): Likewise.
51372         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
51373         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
51374         * sysdeps/unix/sysv/tcdrain.c: Likewise.
51375         * sysdeps/unix/sysv/tcflow.c: Likewise.
51376         * sysdeps/unix/sysv/tcflush.c: Likewise.
51377         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
51378         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
51379         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
51380         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
51381         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
51383         * sysdeps/unix/siglist.c: Remove file.
51385         * sysdeps/unix/getppid.S: Remove file.
51387         * sysdeps/unix/mkdir.c: Remove file.
51388         * sysdeps/unix/rmdir.c: Likewise.
51390 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
51392         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51393         ERR_MAX value.
51394         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51395         errlist-compat value.
51397 2012-04-18  David S. Miller  <davem@davemloft.net>
51399         * sysdeps/generic/memcopy.h (reg_char): Delete.
51400         * debug/strcat_chk.c: Use char, not reg_char.
51401         * debug/strcpy_chk.c: Likewise.
51402         * debug/strncat_chk.c: Likewise.
51403         * debug/strncpy_chk.c: Likewise.
51404         * string/memchr.c: Likewise.
51405         * string/memrchr.c: Likewise.
51406         * string/rawmemchr.c: Likewise.
51407         * string/strcat.c: Likewise.
51408         * string/strchr.c: Likewise.
51409         * string/strchrnul.c: Likewise.
51410         * string/strcmp.c: Likewise.
51411         * string/strcpy.c: Likewise.
51412         * string/strncat.c: Likewise.
51413         * string/strncmp.c: Likewise.
51414         * string/strncpy.c: Likewise.
51416 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51418         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51419         __builtin_memcopy is called when src and dest ranges are known to not
51420         overlap.
51422 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51424         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51425         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51426         fwd_align_merge macro call.
51427         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51428         bwd_align_merge macro call.
51429         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51431 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51433         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51434         bwd_align_merge macros.
51435         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51436         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51437         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51439 2012-04-18  David S. Miller  <davem@davemloft.net>
51441         * sysdeps/sparc/sparc64/memcopy.h: Delete.
51443 2012-04-18  Andreas Jaeger  <aj@suse.de>
51445         [BZ# 6794]
51446         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51447         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51448         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51450         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51451         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51452         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51454         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51455         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51456         Adjust for changed ldbl-128 files.
51458         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51459         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51460         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51462 2012-04-17  David S. Miller  <davem@davemloft.net>
51464         * sysdeps/sparc/sparc32/memcopy.h: Delete.
51466 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
51468         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51469         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51470         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51471         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51472         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51473         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51475 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51477         [BZ #6794]
51478         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51479         * math/libm-test.inc: Add ilogb errno and exception tests.
51480         * math/w_ilogb.c: New file: ilogb wrapper.
51481         * math/w_ilogbf.c: New file: ilogbf wrapper.
51482         * math/w_ilogbl.c: New file: ilogbl wrapper.
51483         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51484         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51485         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51486         exception being thrown with 0.0 as argument.
51487         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51488         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51489         exception being thrown with 0.0 as argument.
51490         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51491         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51492         exception being thrown with 0.0 as argument.
51493         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51494         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51495         exception being thrown with 0.0 as argument.
51496         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51497         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51498         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51499         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51500         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51501         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51502         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51503         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51504         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51506 2012-04-17  Petr Baudis  <pasky@ucw.cz>
51508         * include/sys/uio.h: Change __vector to __iovec to avoid clash
51509         with altivec.
51511 2012-04-16  Marek Polacek  <polacek@redhat.com>
51513         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51515 2012-04-16  Marek Polacek  <polacek@redhat.com>
51517         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51518         operands of fdivp instruction.
51520 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51522         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51523         * elf/tst-auditmod3b.c: Likewise.
51524         * elf/tst-auditmod4b.c: Likewise.
51525         * elf/tst-auditmod5b.c: Likewise.
51526         * elf/tst-auditmod6b.c: Likewise.
51527         * elf/tst-auditmod6c.c: Likewise.
51528         * elf/tst-auditmod7b.c: Likewise.
51529         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51530         * sysdeps/x86_64/preconfigure.in: Likewise.
51531         * sysdeps/x86_64/preconfigure: Regenerated.
51533 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51535         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51536         __ILP32__.
51538 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
51540         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51541         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51543 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
51545         [BZ #13973]
51546         * locale/iso-639.def: Fix gl language name. Spotted by
51547         Yaron Shahrabani.
51549 2012-04-12  Roland McGrath  <roland@hack.frob.com>
51551         [BZ #2074]
51552         * libio/libio.h (__io_write_fn): Update comment.
51554 2012-04-12  Petr Baudis  <pasky@ucw.cz>
51556         [BZ #2074]
51557         * stdio.texi (Hook Functions): The user provided writer function
51558         is not allowed to return -1.
51560 2012-04-11  David S. Miller  <davem@davemloft.net>
51562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51564 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
51566         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51567         Add a leading slash to rtkaio.
51569 2012-04-11  Jim Meyering  <meyering@redhat.com>
51571         [BZ #11959]
51572         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51573         It is not necessarily an error to ignore fwrite's return
51574         value.  One can reliably use ferror to test for errors after
51575         the fact.
51577 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51579         * bits/types.h (__snseconds_t): New type.
51580         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51582         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51583         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51584         (__SNSECONDS_T_TYPE): Likewise.
51585         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51586         (__SNSECONDS_T_TYPE): Likewise.
51587         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51588         (__SNSECONDS_T_TYPE): Likewise.
51590 2012-04-10  Andreas Jaeger  <aj@suse.de>
51592         [BZ #2636]
51593         * manual/time.texi (Processor Time): Return type of times is
51594         elapsed real time since an arbitrary point in the past.
51595         (CPU Time): Move CLK_TCK from here...
51596         (Processor Time): ...to here.  Correct description.
51597         * manual/conf.texi (Constants for Sysconf): Correct description of
51598         _SC_CLK_TCK.
51600 2012-04-10  David S. Miller  <davem@davemloft.net>
51602         [BZ #13967]
51603         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51604         where the is a gap between DT_REL(A) and DT_JMPREL.
51606 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51608         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51609         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51610         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51612 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51614         * elf/dl-support.c (_dl_inhibit_cache): New variable.
51615         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51616         (dl_main): Handle --inhibit-cache.
51617         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51618         _dl_inhibit_cache.
51619         * elf/dl-load.c (_dl_map_object): Use it.
51620         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51622 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51624         [BZ #13872]
51625         * sysdeps/i386/fpu/e_powl.S (p78): New object.
51626         (__ieee754_powl): Saturate large exponents rather than testing for
51627         overflow of y*log2(x).
51628         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51629         * math/libm-test.inc (pow_test): Do not permit spurious overflow
51630         exceptions.
51632         [BZ #11521]
51633         * math/s_ctan.c: Include <float.h>.
51634         (__ctan): Avoid internal overflow or cancellation in calculating
51635         denominator.
51636         * math/s_ctanf.c: Likewise.
51637         * math/s_ctanl.c: Likewise.
51638         * math/s_ctanh.c: Likewise.
51639         * math/s_ctanhf.c: Likewise.
51640         * math/s_ctanhl.c: Likewise.
51641         * math/libm-test.inc (ctan_test): Add more tests.
51642         (ctanh_test): Likewise.
51643         * sysdeps/i386/fpu/libm-test-ulps: Update.
51644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51646 2012-04-09  Andreas Jaeger  <aj@suse.de>
51648         [BZ #6894]
51649         * manual/filesys.texi (Directory Entries): Mention that d_namlen
51650         is an optional BSD extension.
51652         [BZ #10254]
51653         * manual/stdio.texi (Opening Streams): Document additional fopen
51654         parameters.
51656 2012-04-09  Roland McGrath  <roland@hack.frob.com>
51658         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51659         %eax without telling the compiler.
51661 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
51663         [BZ # 13963]
51664         * manual/install.texi: Use sourceware.org.
51666 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51668         [BZ #13873]
51669         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51670         (__ieee754_pow): Generate overflow and underflow using huge*huge
51671         and tiny*tiny rather than just returning constant infinity or zero
51672         for large exponents.
51673         * math/libm-test.inc (pow_test): Require overflow exceptions for
51674         applicable cases of large exponents.
51676         [BZ #706]
51677         * sysdeps/i386/fpu/e_pow.S (p10): New object.
51678         (__ieee754_pow): Use iterative multiplication algorithm only for
51679         integer exponents with absolute value below 1024.  Check for odd
51680         integer exponents when using algorithm for real exponents.
51681         * math/libm-test.inc (pow_test): Add more tests.
51682         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51684 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
51686         [BZ #13705]
51687         * math/libm-test.inc (exp_test): Do not allow overflow exception
51688         on underflow test.
51690 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
51692         [BZ #13705]
51693         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51694         instead of __kernel_standard_f.
51696 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
51698         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51699         * sysdeps/x86_64/memset_chk.S: Likewise.
51701 2012-04-08  Andreas Jaeger  <aj@suse.de>
51703         [BZ #10153]
51704         * manual/startup.texi (Environment Access): Describe return value
51705         for putenv and setenv.
51707         [BZ #6895]
51708         * manual/filesys.texi (Directory Entries): Add description for
51709         DT_LNK.
51711         [BZ #6890]
51712         * manual/filesys.texi (Directory Entries): Clarify that it's file
51713         system not operating system in the description of DT_UNKNOWN.
51715         [BZ #6578]
51716         * manual/syslog.texi (closelog): Fix reference, it's openlog.
51718 2012-04-08  Stephen Compall  <s11@member.fsf.org>
51720         [BZ #6649]
51721         * manual/llio.texi (Opening and Closing Files): Add cross
51722         reference to explain mode argument.
51724 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
51726         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51727         * sysdeps/x86_64/memset_chk.S: Likewise.
51729 2012-04-07  David S. Miller  <davem@davemloft.net>
51731         * elf/elf.h (R_SPARC_WDISP10): Define.
51732         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51733         R_SPARC_SIZE32.
51734         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51735         R_SPARC_SIZE64 and R_SPARC_H34.
51737 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
51739         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51740         conditions and remove no longer applicable assertion.
51742 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51744         * bits/byteswap.h: Include <features.h>.
51745         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51746         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51748 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51750         * bits/byteswap.h (__bswap_16): Removed.
51751         Include <bits/byteswap-16.h> to get __bswap_16.
51752         * sysdeps/i386/bits/byteswap.h: Likewise.
51753         * sysdeps/s390/bits/byteswap.h: Likewise.
51754         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51755         * bits/byteswap-16.h: New file.
51756         * sysdeps/i386/bits/byteswap-16.h: Likewise.
51757         * sysdeps/s390/bits/byteswap-16.h: Likewise.
51758         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51759         * string/Makefile (headers): Add bits/byteswap-16.h.
51761 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51763         [BZ #13895]
51764         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51765         extra indirection.
51766         * nss/Makefile (tests-static, tests): Add tst-nss-static.
51767         * nss/tst-nss-static.c: New.
51769 2012-04-06  Robert Millan  <rmh@gnu.org>
51771         [BZ #6486]
51772         * manual/llio.texi (File Position Primitive): lseek
51773         refers to WHENCE when it really means OFFSET.
51775 2012-04-06  Andreas Jaeger  <aj@suse.de>
51777         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51778         strncmp declarations.
51780         * abilist/libc.abilist: Add __poll and __ppoll.
51782 2012-04-05  David S. Miller  <davem@davemloft.net>
51784         * scripts/check-local-headers.sh: Accept a host triplet in the
51785         path matched by the exclude regexp.
51787         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51788         definition.
51789         * sysdeps/powerpc/powerpc32/dl-machine.h
51790         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51791         * sysdeps/s390/s390-32/dl-machine.h
51792         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51793         * sysdeps/sparc/sparc32/dl-machine.h
51794         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51795         * sysdeps/sparc/sparc64/dl-machine.h
51796         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51798         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51799         lazy binding.
51800         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51801         undefined symbol errors.
51803         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51804         DT_NEEDED entries.
51806 2012-04-05  Michael Matz  <matz@suse.de>
51808         [BZ #13592]
51809         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51811 2012-04-05  Andreas Jaeger  <aj@suse.de>
51813         [BZ #13908]
51814         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51815         comment.
51817 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51819         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51820         which ROUND is no valid rounding mode.
51822 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51824         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51825         read again.
51826         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51828 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51830         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51831         an exception using FPU order intentionally.
51833 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51835         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51836         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51837         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51838         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51840 2012-04-05  Simon Josefsson  <simon@josefsson.org>
51842         [BZ #12340]
51843         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51844         EINVAL when BUFLEN is too smal.
51846 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51848         [BZ #13553]
51849         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51850         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51852 2012-04-03  Andreas Jaeger  <aj@suse.de>
51854         [BZ #13938]
51855         * manual/setjmp.texi (System V contexts): Fix sentence.
51857         [BZ #13926]
51858         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51859         New macro for this case.
51860         [!__GNUC__] (__bswap_64): New inline function for this case.
51861         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51862         * bits/byteswap.h: Likewise.
51863         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51864         ull, guard with __GLIBC_HAVE_LONG_LONG.
51866         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51867         __GLIBC_HAVE_LONG_LONG.
51869         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51870         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51872 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51874         [BZ #13691]
51875         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51876         inptr and inend, rather than using last_ch.
51878 2012-04-02  David S. Miller  <davem@davemloft.net>
51880         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51881         * stdio-common/printf-parse.h (read_int): Change return type to
51882         'int', return -1 on INT_MAX overflow.
51883         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51884         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
51885         overflows INT_MAX.  Check for overflow of in-format-string precision
51886         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
51887         SIZE_MAX not INT_MAX for integer overflow test.
51888         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51889         skip the construct in the format string but do not record anything.
51890         * stdio-common/bug22.c: Adjust to test both width/prevision
51891         INT_MAX overflow as well as total length INT_MAX overflow.  Check
51892         explicitly for proper errno values.
51894 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51896         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51897         CHAR_MAX.
51898         * string/test-strcmp.c [! WIDE]: Likewise.
51899         * time/tst-mktime2.c: Likewise for INT_MAX.
51900         * string/test-string.h: #include <sys/param.h> for MIN.
51902         * csu/init-first.c (__libc_init_first): Call __ctype_init.
51903         * sysdeps/i386/init-first.c (init): Likewise.
51904         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51905         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51906         * sysdeps/sh/init-first.c (init): Likewise.
51908 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
51910         * po/ru.po: Update from translation team.
51911         * po/vi.po: Likewise.
51913 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51915         * resolv/nss_dns/dns-host.c: Merge copyright years.
51917 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51919         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51920         Optimize memcpy with prefetch if
51921         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
51922         src, dst pointers have unequal 16 byte alignments.
51924 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51926         [BZ #13928]
51927         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51928         from a CNAME entry and return the minimum ttl for the query.
51929         (gaih_getanswer_slice): Likewise.
51931 2012-03-30  Jeff Law  <law@redhat.com>
51933         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51934         due to long keys.
51935         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51936         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51938         * resolv/nss_dns/dns-host.c: Update copyright year.
51940 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
51942         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51943         requests to save a system call.  Fix check that all bytes are sent.
51945         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51946         comments for sendmmsg.
51948 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51950         [BZ #13691]
51951         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51952         with only 1 character between 0x0041 and 0x01b0.
51953         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51954         * wcsmbs/tst-mbsnrtowcs.c: New file.
51956 2012-03-29  David S. Miller  <davem@davemloft.net>
51958         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51959         small copies by hand.
51961 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51963         [BZ #13761]
51964         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51965         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51966         group memberships.
51968 2012-03-28  David S. Miller  <davem@davemloft.net>
51970         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51971         that branches into memcpy.
51972         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51973         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51974         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51975         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51976         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51977         bits.
51978         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51979         implementation too.
51980         * sysdeps/sparc/mempcpy.S: New file.
51982         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51983         the IFUNC routine in the libc case.
51984         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51986         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51987         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51988         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51989         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51990         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51991         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51992         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51993         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51995         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51996         loop to 256 bytes instead of 64 bytes and fix test signedness.
51998         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51999         * sysdeps/sparc/sparc32/Makefile: rather than here...
52000         * sysdeps/sparc/sparc64/Makefile: and here.
52002 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52004         * malloc/mallocbug.c: Avoid warnings about unused variables.
52006 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52008         [BZ #13760]
52009         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52010         in the right place. Discard and retry query if response is
52011         larger than input buffer size.
52013 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52015         [BZ #369]
52016         [BZ #2678]
52017         [BZ #3866]
52018         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52019         x for large integer exponent.
52020         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52021         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52022         sign of result as needed afterwards.
52023         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52024         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52025         result for underflowing pow the same as for overflow.
52026         (__kernel_standard_l): Handle powl overflow and underflow here
52027         rather than calling __kernel_standard.
52028         * math/libm-test.inc (pow_test): Add more tests.
52030         [BZ #3868]
52031         [BZ #13879]
52032         [BZ #13910]
52033         [BZ #13911]
52034         [BZ #13912]
52035         [BZ #13913]
52036         [BZ #13915]
52037         [BZ #13916]
52038         [BZ #13917]
52039         [BZ #13918]
52040         [BZ #13919]
52041         [BZ #13920]
52042         [BZ #13921]
52043         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52044         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52045         (__kernel_standard_l): New function.
52046         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52047         __kernel_standard.
52048         * math/w_acosl.c (__acosl): Likewise.
52049         * math/w_asinl.c (__asinl): Likewise.
52050         * math/w_atan2l.c (__atan2l): Likewise.
52051         * math/w_atanhl.c (__atanhl): Likewise.
52052         * math/w_coshl.c (__coshl): Likewise.
52053         * math/w_exp10l.c (__exp10l): Likewise.
52054         * math/w_exp2l.c (__exp2l): Likewise.
52055         * math/w_fmodl.c (__fmodl): Likewise.
52056         * math/w_hypotl.c (__hypotl): Likewise.
52057         * math/w_j0l.c (__j0l, __y0l): Likewise.
52058         * math/w_j1l.c (__j1l, __y1l): Likewise.
52059         * math/w_jnl.c (__jnl, __ynl): Likewise.
52060         * math/w_lgammal.c (__lgammal): Likewise.
52061         * math/w_log10l.c (__log10l): Likewise.
52062         * math/w_log2l.c (__log2l): Likewise.
52063         * math/w_logl.c (__logl): Likewise.
52064         * math/w_powl.c (__powl): Likewise.
52065         * math/w_remainderl.c (__remainderl): Likewise.
52066         * math/w_scalbl.c (sysv_scalbl): Likewise.
52067         * math/w_sinhl.c (__sinhl): Likewise.
52068         * math/w_sqrtl.c (__sqrtl): Likewise.
52069         * math/w_tgammal.c (__tgammal): Likewise.
52070         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52071         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52072         * math/libm-test.inc (acos_test): Add more tests.
52073         (acosh_test): Likewise.
52074         (asin_test): Likewise.
52075         (atanh_test): Likewise.
52076         (exp_test): Likewise.
52077         (exp10_test): Likewise.
52078         (exp2_test): Likewise.
52079         (expm1_test): Likewise.
52080         (lgamma_test): Likewise.
52081         (log_test): Likewise.
52082         (log10_test): Likewise.
52083         (log1p_test): Likewise.
52084         (log2_test): Likewise.
52085         (pow_test): Do not allow some spurious overflow exceptions.
52086         (sqrt_test): Add more tests.
52087         (tgamma_test): Likewise.
52088         (y0_test): Likewise.
52089         (y1_test): Likewise.
52090         (yn_test): Likewise.
52092 2012-03-27  Anton Blanchard  <anton@samba.org>
52094         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52095         MAP_HUGETLB.
52096         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52097         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52098         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52100 2012-03-27  David S. Miller  <davem@davemloft.net>
52102         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52104         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52105         have-as-vis3 check.
52107 2012-03-27  Andreas Jaeger  <aj@suse.de>
52109         * sysdeps/x86_64/elf/configure.in: Moved to ...
52110         * sysdeps/x86_64/configure.in: ... here.
52111         * sysdeps/x86_64/elf/start.S: Moved to ...
52112         * sysdeps/x86_64/start.S: ... here.
52113         * sysdeps/x86_64/elf/configure: Delete.
52115         * sysdeps/x86_64/configure.in: Merge contents from
52116         sysdeps/i386/configure.in (without i686 check).
52118         * sysdeps/i386/elf/Versions: Merge into ...
52119         * sysdeps/i386/Versions: ... this.
52120         * sysdeps/i386/elf/Versions: Delete file.
52121         * sysdeps/i386/elf/start.S: Moved to ...
52122         * sysdeps/i386/start.S: ...here.
52123         * sysdeps/i386/elf/configure.in: Merge into...
52124         * sysdeps/i386/configure.in: ...here.
52125         * sysdeps/i386/elf/configure.in: Delete file.
52126         * sysdeps/i386/elf/configure: Delete file.
52128         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52129         * debug/backtracesyms.c: ... here.
52130         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52131         * debug/backtracesymsfd.c: ... here.
52132         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52133         * sysdeps/generic/ifunc-sel.h: ... here.
52135         * sysdeps/unix/i386/start.c: Delete file.
52136         * sysdeps/unix/sparc/start.c: Delete file.
52137         * sysdeps/unix/start.c: Delete file.
52139         * sysdeps/sh/elf/configure.in: Moved to ...
52140         * sysdeps/sh/configure.in: ... here.
52141         * sysdeps/sh/elf/start.S: Moved to ...
52142         * sysdeps/sh/start.S: ... here.
52143         * sysdeps/sh/elf/configure: Delete file.
52145         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52146         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52147         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52148         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52149         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52150         * sysdeps/powerpc/powerpc64/start.S: here.
52151         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52152         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52153         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52154         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52155         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52157         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52158         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52159         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52160         * sysdeps/powerpc/powerpc32/start.S: ... here.
52161         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52162         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52163         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52165         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52166         * sysdeps/powerpc/ifunc-sel.h: ... here.
52167         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52168         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52170         * sysdeps/sparc/elf/configure.in: Moved to ...
52171         * sysdeps/sparc/configure.in: ... here.
52172         * sysdeps/sparc/elf/configure: Delete file.
52173         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52174         * sysdeps/sparc/sparc32/start.S: ... here.
52175         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52176         * sysdeps/sparc/sparc64/start.S: ... here.
52177         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52178         * sysdeps/sparc/sparc32/Makefile: ... this.
52179         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52180         * sysdeps/sparc/sparc64/Makefile: ... this.
52182         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52183         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52184         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52185         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52186         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52187         * sysdeps/s390/s390-32/setjmp.S: ... here.
52188         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52189         * sysdeps/s390/s390-32/configure.in: ... here.
52190         * sysdeps/s390/s390-32/elf/configure: Delete file.
52191         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52192         * sysdeps/s390/s390-32/start.S: ... here.
52194         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52195         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52196         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52197         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52198         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52199         * sysdeps/s390/s390-64/setjmp.S: ... here.
52200         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52201         * sysdeps/s390/s390-64/configure.in: ... here
52202         * sysdeps/s390/s390-64/elf/configure: Delete file.
52203         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52204         * sysdeps/s390/s390-64/start.S: ... here.
52205         * sysdeps/s390/s390-64/elf/configure: Delete.
52207         * configure.in: Remove support for elf directories in sysdeps.
52209         * configure: Regenerated.
52210         * sysdeps/i386/configure: Regenerated.
52211         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52212         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52213         * sysdeps/s390/s390-32/configure: Regenerated.
52214         * sysdeps/s390/s390-64/configure: Regenerated.
52215         * sysdeps/sh/configure: Regenerated.
52216         * sysdeps/sparc/configure: Regenerated.
52217         * sysdeps/x86_64/configure: Regenerated.
52219 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
52221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52223         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52224         denormal result into account.
52226 2012-03-25  Roland McGrath  <roland@hack.frob.com>
52228         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52229         Reported by Allan McRae <allan@archlinux.org>.
52231 2012-03-23  Jeff Law  <law@redhat.com>
52233         * nss/getnssent.c (__nss_getent): Fix typo.
52235 2012-03-23  David S. Miller  <davem@davemloft.net>
52237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52239 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
52241         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52242         to pad to uint64_t for each field.
52243         (dl_tls_index): Replace unsigned long with uint64_t.
52245 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
52246         Paul Pluzhnikov  <ppluzhnikov@google.com>
52248         [BZ #6528]
52249         * grp/Makefile (otherlibs): Don't set it.
52250         * inet/Makefile (otherlibs): Likewise.
52251         * login/Makefile (otherlibs): Likewise.
52252         * nscd/Makefile (otherlibs): Likewise.
52253         * posix/Makefile (otherlibs): Likewise.
52254         * pwd/Makefile (otherlibs): Likewise.
52255         * rt/Makefile (otherlibs): Likewise.
52256         * sunrpc/Makefile (otherlibs): Likewise.
52257         * nss/Makefile (otherlibs): Likewise.
52258         Add libnss_files to routines and static-only-routines.
52259         ($(objpfx)getent): Remove rule.
52260         * resolv/Makefile: Add libnss_dns and libresolv to routines and
52261         static-only-routines.
52263 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52265         [BZ #13892]
52266         * math/s_cexp.c: Include <float.h>.
52267         (__cexp): Handle exp result overflowing not necessarily
52268         overflowing both real and imaginary parts of result.
52269         * math/s_cexpf.c: Likewise.
52270         * math/s_cexpl.c: Likewise.
52271         * math/libm-test.inc (cexp_test): Add more tests.
52272         * sysdeps/i386/fpu/libm-test-ulps: Update.
52273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52275 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52277         * include/link.h (ELFW): New macro.
52278         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52279         Replace ELF64_R_TYPE with ELFW(R_TYPE).
52281 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52283         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52284         with uint64_t.
52286 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52288         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52289         declaration.
52290         (struct La_x32_retval): Likewise.
52292 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52294         * sysdeps/x86_64/preconfigure.in: New file.
52295         * sysdeps/x86_64/preconfigure: New generated file.
52297 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52299         [BZ #13824]
52300         * math/e_exp2l.c: Include <float.h>.
52301         (__ieee754_exp2l): Handle overflow and underflow cases
52302         separately.  Only pass fractional part of argument to
52303         __ieee754_expl.
52304         * math/libm-test.inc (exp2_test): Add more tests.
52306         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52307         negating x to take absolute value.
52308         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52309         Likewise.
52310         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52311         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52312         Likewise.
52313         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52314         computing low part if x was negated.
52315         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52317 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52319         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
52320         la_x32_gnu_pltexit.
52321         (pltexit): Cast int_retval to ptrdiff_t.
52322         * elf/tst-auditmod3b.c: Likewise.
52323         * elf/tst-auditmod4b.c: Likewise.
52324         * elf/tst-auditmod5b.c: Likewise.
52325         * elf/tst-auditmod6b.c: Likewise.
52326         * elf/tst-auditmod6c.c: Likewise.
52327         * elf/tst-auditmod7b.c: Likewise.
52329         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
52330         and x32_gnu_pltexit.
52332         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
52333         __ELF_NATIVE_CLASS.
52334         (La_x32_regs): New macro.
52335         (La_x32_retval): Likewise.
52336         (la_x32_gnu_pltenter): New function prototype.
52337         (la_x32_gnu_pltexit): Likewise.
52339 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
52341         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
52342         exponent.
52344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52346         * configure.in (libc_cv_cc_nofma): Check for option to disable
52347         generation of FMA instructions.
52348         * configure: Regenerate.
52349         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
52350         * sysdeps/ieee754/dbl-64/Makefile: New file.
52351         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
52352         Remove brandred-fma4.
52353         (CFLAGS-brandred-fma4.c): Remove.
52354         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
52355         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
52356         define.
52357         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
52358         define.
52360 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52362         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52363         LLONG_MAX != LONG_MAX.
52364         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52365         (_fitoa_word): Likewise.
52366         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
52367         LLONG_MAX != LONG_MAX.
52368         * stdio-common/_itowa.h: Include <_itoa.h>.
52369         (_itowa_word): Use _ITOA_WORD_TYPE on value.
52370         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
52371         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
52372         only if not defined.
52373         (_ITOA_WORD_TYPE): Likewise.
52374         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52375         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
52377 2012-03-21  David S. Miller  <davem@davemloft.net>
52379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52381 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52383         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
52384         of x86_64 when setting libc_cv_slibdir, libdir and
52385         libc_cv_localedir.
52386         * sysdeps/unix/sysv/linux/configure: Regenerated.
52388 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52390         * manual/lang.texi (Old Varargs): Remove section.
52391         (How Variadic): Update menu.
52392         (va_start): Do not mention varargs.h.
52394 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52395             Joseph Myers  <joseph@codesourcery.com>
52397         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52398         link test.
52399         * configure: Regenerated.
52401 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52403         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52404         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52405         conformtest.pl
52407 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52409         * NOTES: Remove.
52410         * Makefile (files-for-dist): Remove NOTES.
52411         (NOTES): Remove rule.
52412         * README: Don't refer to NOTES.
52413         * manual/creature.texi: Don't include macros.texi.
52414         * manual/intro.texi (creature.texi): Remove comment referring to
52415         NOTES.
52417         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52418         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52419         * configure: Regenerated.
52420         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52421         LIBC_TRY_CC_OPTION.
52422         (libc_cv_as_i686): Likewise.
52423         (libc_cv_cc_avx): Likewise.
52424         (libc_cv_cc_sse2avx): Likewise.
52425         (libc_cv_cc_fma4): Likewise.
52426         (libc_cv_cc_novzeroupper): Likewise.
52427         * sysdeps/i386/configure: Regenerated.
52429         [BZ #13883]
52430         * sysdeps/i386/fpu/s_cexp.S: Remove.
52431         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52432         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52433         * math/libm-test.inc (cexp_test): Add more tests.
52434         * sysdeps/i386/fpu/libm-test-ulps: Update.
52435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52437 2012-03-21  Allan McRae  <allan@archlinux.org>
52439         * timezone/Makefile: Do not install iso3166.tab and zone.tab
52441 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52443         [BZ #13871]
52444         * math/w_exp2.c: Do not include <float.h>.
52445         (o_threshold, u_threshold): Remove.
52446         (__exp2): Calculate result before checking finiteness and calling
52447         __kernel_standard.
52448         * math/w_exp2f.c: Likewise.
52449         * math/w_exp2l.c: Likewise.
52450         * math/libm-test.inc (exp2_test): Require overflow exception for
52451         1e6 input.
52453         [BZ #3866]
52454         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52455         range of signed 64-bit integers before using fistpll.  Remove
52456         checks for whether integers fit in mantissa bits.
52457         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52458         the range of signed 32-bit integers before using fistpl.  Remove
52459         checks for whether integers fit in mantissa bits.
52460         * sysdeps/i386/fpu/e_powl.S (p64): New object.
52461         (__ieee754_powl): Test for y outside the range of signed 64-bit
52462         integers before using fistpll.  Reduce 64-bit values to 63-bit
52463         ones as needed.
52464         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52465         divide-by-zero is raised for zero to large negative powers.
52466         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52467         (__ieee754_powl): Test for y outside the range of signed 64-bit
52468         integers before using fistpll.  Reduce 64-bit values to 63-bit
52469         ones as needed.
52470         * math/libm-test.inc (pow_test): Add more tests.
52472 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52474         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52475         <stdio-common/_itoa.h>.
52476         * debug/segfault.c: Likewise.
52477         * elf/dl-cache.c: Likewise.
52478         * elf/dl-minimal.c: Likewise.
52479         * elf/dl-misc.c: Likewise.
52480         * elf/dl-sysdep.c: Likewise.
52481         * elf/dl-version.c: Likewise.
52482         * elf/rtld.c: Likewise.
52483         * hurd/hurdsock.c: Likewise.
52484         * hurd/lookup-retry.c: Likewise.
52485         * malloc/malloc.c: Likewise.
52486         * malloc/mtrace.c: Likewise.
52487         * nscd/nscd_getgr_r.c: Likewise.
52488         * nscd/nscd_getpw_r.c: Likewise.
52489         * nscd/nscd_getserv_r.c: Likewise.
52490         * posix/getopt_init.c: Likewise.
52491         * posix/wordexp.c: Likewise.
52492         * stdio-common/_itoa.c: Likewise.
52493         * stdio-common/printf_fphex.c: Likewise.
52494         * stdio-common/vfprintf.c: Likewise.
52495         * string/_strerror.c: Likewise.
52496         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52497         * sysdeps/i386/i686/hp-timing.h: Likewise.
52498         * sysdeps/mach/_strerror.c: Likewise.
52499         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52500         * sysdeps/mach/hurd/sethostid.c: Likewise.
52501         * sysdeps/mach/hurd/xmknodat.c: Likewise.
52502         * sysdeps/mach/xpg-strerror.c: Likewise.
52503         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52504         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52505         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52506         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52507         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52508         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52509         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52510         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52511         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52512         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52513         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52514         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52515         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52516         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52517         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52518         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52519         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52520         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52521         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52522         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52523         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52525         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52527         * stdio-common/_itoa.h: Moved to ...
52528         * sysdeps/generic/_itoa.h: Here.
52530         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52532         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52533         instead of "_itoa.h" and "_itowa.h".
52534         * stdio-common/vfprintf.: Likewise.
52536 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52538         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52539         <bits/wordsize.h>.
52540         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52541         (__signbit): Likwise.
52542         (llrintf): Likwise.
52543         (llrint): Likwise.
52545 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52547         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52548         __WORDSIZE != 64.
52550 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
52552         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52553         OVERFLOW_EXCEPTION_OK.
52554         * math/libm-test.inc ("Philosophy"): Update comment about
52555         exception testing.
52556         (OVERFLOW_EXCEPTION): Define.
52557         (OVERFLOW_EXCEPTION_OK): Likewise.
52558         (INVALID_EXCEPTION_OK): Renumber.
52559         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52560         (IGNORE_ZERO_INF_SIGN): Likewise.
52561         (test_exceptions): Handle FE_OVERFLOW.
52562         (exp10_test): Expect overflow exceptions.
52563         (exp2_test): Likewise.
52564         (expm1_test): Likewise.
52565         (nextafter_test): Likewise.
52566         (pow_test): Likewise.
52567         (scalbn_test): Likewise.
52568         (scalbln_test): Likewise.
52570 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52572         * sysdeps/x86_64/bits/atomic.h
52573         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52574         64bit integer.
52575         (atomic_exchange_acq): Likewise.
52576         (__arch_exchange_and_add_body): Likewise.
52577         (__arch_add_body): Likewise.
52578         (atomic_add_negative): Likewise.
52579         (atomic_add_zero): Likewise.
52581 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52583         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52584         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52586 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52588         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52589         Check __x86_64__ instead of __WORDSIZE.
52591 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52593         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52595 2012-03-19  David S. Miller  <davem@davemloft.net>
52597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52599         * sysdeps/sparc/fpu/fenv_private.h: New file.
52600         * sysdeps/sparc/fpu/math_private.h: Use it.
52601         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52602         Remove.
52603         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52604         (libc_feholdexcept_setroundl): Remove.
52605         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52606         Remove.
52607         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52608         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52610 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52612         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52613         int64_t instead of long int.
52614         (INSERT_WORDS64): Likwise.
52616 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52618         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52619         _Unwind_GetCFA return to _Unwind_Ptr first.
52621 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
52623         [BZ #13629]
52624         * math/s_clog.c: Include <float.h>.
52625         (__clog): Scale large or subnormal inputs.
52626         * math/s_clogf.c: Likewise.
52627         * math/s_clogl.c: Likewise.
52628         * math/s_clog10.c: Include <float.h>.
52629         (M_LOG10_2): Define.
52630         (__clog10): Scale large or subnormal inputs.
52631         * math/s_clog10f.c: Likewise.
52632         * math/s_clog10l.c: Likewise.
52633         * math/libm-test.inc (clog_test): Add more tests.
52634         (clog10_test): Likewise.
52635         * sysdeps/i386/fpu/libm-test-ulps: Update.
52636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52638         [BZ #11451]
52639         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52640         x and y.
52641         * math/libm-test.inc (atan2_test): Add another test.
52643         * Makerules (common-objdir-compile): Remove.
52644         * sysdeps/unix/Makefile (config-generated): Do not add
52645         $(unix-generated) to variable.
52646         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52647         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52648         Remove rule.
52649         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52650         Likewise.
52651         [generic bits/local_lim.h] (before-compile): Do not append to
52652         variable.
52653         [generic bits/local_lim.h] (common-generated): Likewise.
52654         [generic sys/param.h] (before-compile): Do not append to variable.
52655         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52656         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52657         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52658         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52659         include.
52660         [generic sys/param.h] (sys/param.h-includes): Remove variable.
52661         [generic sys/param.h] (sys/param.h-includes): Remove rule.
52662         [generic sys/param.h] ($(addprefix
52663         $(common-objpfx),$(sys/param.h-includes))): Likewise.
52664         [generic sys/param.h] (common-generated): Do not append to
52665         variable.
52666         [generic sys/param.h] (sysdep_headers): Likewise.
52667         [generic bits/errno.h] (before-compile): Do not append to
52668         variable.
52669         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52670         rule.
52671         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52672         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52673         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52674         [generic bits/errno.h] (common-generated): Do not append to
52675         variable.
52676         [generic bits/ioctls.h] (before-compile): Do not append to
52677         variable.
52678         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52679         rule.
52680         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52681         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52682         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52683         rule.
52684         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52685         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52686         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52687         [generic bits/ioctls.h] (common-generated): Do not append to
52688         variable.
52689         [generic sys/syscall.h] (syscall.h): Remove variable.
52690         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52691         rule.
52692         [generic sys/syscall.h] (before-compile): Do not append to
52693         variable.
52694         [generic sys/syscall.h] (common-generated): Likewise.
52695         * sysdeps/unix/errnos-tmpl.c: Remove file.
52696         * sysdeps/unix/errnos.awk: Likewise.
52697         * sysdeps/unix/ioctls-tmpl.c: Likewise.
52698         * sysdeps/unix/ioctls.awk: Likewise.
52699         * sysdeps/unix/mk-local_lim.c: Likewise.
52700         * sysdeps/unix/snarf-ioctls: Likewise.
52702 2012-03-19  Richard Henderson  <rth@twiddle.net>
52704         * sysdeps/i386/fpu/fenv_private.h: New file.
52705         * sysdeps/i386/fpu/math_private.h: Use it.
52706         (math_opt_barrier, math_force_eval): Remove.
52707         (libc_feholdexcept_setround_53bit): Remove.
52708         (libc_feupdateenv_53bit): Remove.
52709         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52710         (math_opt_barrier, math_force_eval): Remove.
52711         (libc_feholdexcept): Remove.
52712         (libc_feholdexcept_setround): Remove.
52713         (libc_fetestexcept, libc_fesetenv): Remove.
52714         (libc_feupdateenv_test): Remove.
52715         (libc_feupdateenv, libc_feholdsetround): Remove.
52716         (libc_feresetround): Remove.
52718         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52719         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52721         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52722         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52723         (libc_feupdateenv_testl): New.
52724         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52725         (libc_feupdateenv_testf): New.
52726         (libc_feupdateenv): Use libc_feupdateenv_test.
52727         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52728         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52730         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52731         (libc_feholdsetroundf, libc_feholdsetroundl): New.
52732         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52733         (libc_feresetround_noex): New.
52734         (libc_feresetround_noexf): New.
52735         (libc_feresetround_noexl): New.
52736         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52737         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52738         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52739         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52740         SET_RESTORE_ROUND.
52741         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52742         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52743         (__cos): Likewise.
52744         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52745         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52746         SET_RESTORE_ROUND_NOEX.
52747         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52748         SET_RESTORE_ROUND_NOEXF.
52749         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52750         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52751         (libc_feholdsetroundf): New.
52752         (libc_feresetround, libc_feresetroundf): New.
52754         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52755         (libc_feholdexcept_setround_53bit): Convert from macro to function.
52756         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
52758         * sysdeps/generic/math_private.h: Include <fenv.h>.
52759         (default_libc_feholdexcept): New.
52760         (default_libc_feholdexcept_setround): New.
52761         (default_libc_fesetenv, default_libc_feupdateenv): New.
52762         (libc_feholdexcept): Only define if undefined.
52763         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52764         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52765         (libc_feholdexcept_setroundl): Likewise.
52766         (libc_feholdexcept_setround_53bit): Likewise.
52767         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52768         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52769         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52770         (libc_feupdateenv_53bit): Likewise.
52771         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52772         (libc_feholdexcept): Convert from macro to inline function.
52773         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52774         (libc_fesetenv, libc_feupdateenv): Likewise.
52776         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52777         not previously defined.
52778         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52779         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52780         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52781         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52782         * sysdeps/ieee754/flt-32/math_private.h: New file.
52783         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52784         math_private.h below SET_FLOAT_WORD.
52785         (__isnan, __isinf_ns, __finite): Remove.
52786         (__isnanf, __isinf_nsf, __finitef): Remove.
52788 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
52790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52792 2012-03-17  David S. Miller  <davem@davemloft.net>
52794         [BZ #6471]
52795         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52796         for 2.16.
52798 2012-03-16  David S. Miller  <davem@davemloft.net>
52800         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52801         warnings.
52803         [BZ #6471]
52804         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52805         properly.
52806         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52807         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52808         sysdep_routines when subdir is sysvipc.
52809         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52810         __getshmlba helper.
52812         * sysdeps/sparc/fpu/libm-test/ulps: Update.
52814 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52816         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52817         [__LP64__].
52819 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52821         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52822         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52823         (__lround): Renamed to ...
52824         (__llround): This.  Replace long int with long long int.
52825         Define lround functions as aliases of llround functions.
52826         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52828 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52830         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52831         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
52832         adresses to uintptr_t.  Replace "long int" and "unsigned long
52833         int" with "greg_t" on va_arg.
52835 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52837         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52838         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52840         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52841         Move e_machine check before EI_CLASS check.  Handle x32
52842         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52843         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52844         SKIP_EM_IA_64 and include
52845         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52847         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52848         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52849         (add_system_dir): New macro.
52851         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52852         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52854 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52856         [BZ #2551]
52857         [BZ #2552]
52858         [BZ #2553]
52859         [BZ #2554]
52860         [BZ #2562]
52861         [BZ #2563]
52862         [BZ #2565]
52863         [BZ #2566]
52864         [BZ #2576]
52865         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52866         (y0): Likewise.
52867         * math/w_j0f.c (j0f): Likewise.
52868         (y0f): Likewise.
52869         * math/w_j0l.c (__j0l): Likewise.
52870         (__y0l): Likewise.
52871         * math/w_j1.c (j1): Likewise.
52872         (y1): Likewise.
52873         * math/w_j1f.c (j1f): Likewise.
52874         (y1f): Likewise.
52875         * math/w_j1l.c (__j1l): Likewise.
52876         (__y1l): Likewise.
52877         * math/w_jn.c (jn): Likewise.
52878         (yn): Likewise.
52879         * math/w_jnf.c (jnf): Likewise.
52880         (ynf): Likewise.
52881         * math/w_jnl.c (__jnl): Likewise.
52882         (__ynl): Likewise.
52883         * math/libm-test.inc (j0_test): Add more tests.
52884         (j1_test): Likewise.
52885         (jn_test): Likewise.  Add trailing semicolon to existing test.
52886         (y0_test): Likewise.
52887         (y1_test): Likewise.
52888         * sysdeps/i386/fpu/libm-test-ulps: Update.
52889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52891         [BZ #13851]
52892         [BZ #13854]
52893         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52894         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52895         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52896         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52897         (__tanl): Set errno for infinite argument.
52898         * sysdeps/i386/fpu/mptan.c: Remove.
52899         * sysdeps/i386/fpu/s_tan.S: Likewise.
52900         * sysdeps/i386/fpu/s_tanl.S: Likewise.
52901         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52902         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52903         * math/libm-test.inc (tan_test): Add more tests and enable more
52904         tests for double and long double.
52905         * sysdeps/i386/fpu/libm-test-ulps: Update.
52906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52908 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
52910         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52911         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52913 2012-03-16  Roland McGrath  <roland@hack.frob.com>
52915         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52916         * configure.in: Use it for both main tree and add-ons.
52917         * configure: Regenerated.
52919 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52921         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52923 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52925         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52926         in comment.
52928         [BZ #13851]
52929         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52930         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52931         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52932         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52933         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52934         infinite argument.
52935         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52936         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52937         != 0 for prec == 2.
52938         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52939         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52940         * sysdeps/i386/fpu/s_cosl.S: Likewise.
52941         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52942         * sysdeps/i386/fpu/s_sinl.S: Likewise.
52943         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52944         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52945         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52946         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52947         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52948         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52949         * math/libm-test.inc (cos_test): Add more tests and enable more
52950         tests for long double.
52951         (sin_test): Likewise.
52952         (sincos_test): Likewise.
52953         * sysdeps/i386/fpu/libm-test-ulps: Update.
52954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52956 2012-03-16  David S. Miller  <davem@davemloft.net>
52958         * sysdeps/sparc/fpu/math_private.h: New file.
52960 2012-03-15  David S. Miller  <davem@davemloft.net>
52962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52963         file.
52964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52966         file.
52967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52968         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52969         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52970         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52971         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52972         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52973         sysdep routines.
52974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52976         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52977         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52979         * sysdeps/sparc/sparc-ifunc.h: New file.
52980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52981         sparc-ifunc.h
52982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52984         Likewise.
52985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52986         Likewise.
52987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52991         Likewise.
52992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52997         Likewise.
52998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52999         Likewise.
53000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53004         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53005         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53006         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53007         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53008         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53009         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53010         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53012         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53013         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53014         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53015         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53016         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53017         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53018         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53019         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53020         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53021         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53022         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53023         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53025 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53027         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53028         scaling.
53029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53031 2012-03-15  Andreas Jaeger  <aj@suse.de>
53033         [BZ #13852]
53034         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53035         ieee754/flt-32 implementation for sin, cos and sincos.
53036         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53037         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53038         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53039         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53040         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53041         ieee754/flt-32 implementation for tan.
53043         * math/libm-test.inc (cos_test): Enable some large input tests for
53044         float as well
53045         (sin_test): Likewise.
53046         (sincos_test): Likewise.
53047         (tan_test): Add tests for large input.
53049         * sysdeps/i386/fpu/libm-test-ulps: Update.
53051 2012-03-15  Andreas Jaeger  <aj@suse.de>
53053         [BZ #13658]
53054         * math/libm-test.inc (cos_test): Add more test cases.
53055         (sin_test): Likewise.
53056         (sincos_test): Likewise.
53058 2012-03-15  Andreas Jaeger  <aj@suse.de>
53060         [BZ #13837]
53061         * math/libm-test.inc (cos_test): Add a test case for large input
53062         value.
53063         (sin_test): Likewise.
53064         (sincos_test): Likewise.
53066 2012-03-15  Andreas Jaeger  <aj@suse.de>
53067             Joseph Myers  <joseph@codesourcery.com>
53069         [BZ #13658]
53070         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53071         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53072         * sysdeps/i386/fpu/branred.c: Likewise.
53073         * sysdeps/i386/fpu/dosincos.c: Likewise.
53074         * sysdeps/i386/fpu/mpa.c: Likewise.
53075         * sysdeps/i386/fpu/s_cos.S: Likewise.
53076         * sysdeps/i386/fpu/s_sin.S: Likewise.
53077         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53078         * sysdeps/i386/fpu/sincos32.c: Likewise.
53080         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53081         Define.
53082         (libc_feupdateenv_53bit): Define.
53083         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53084         Define.
53085         (libc_feupdateenv_53bit): Define.
53087         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53088         53 bit (without extend i386 double precision).
53090         * math/libm-test.inc (sincos_test): Add tests for large input.
53091         (sin): Likewise.
53092         (cos): Likewise.
53094         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53096 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53100 2012-03-15  David S. Miller  <davem@davemloft.net>
53102         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53103         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53104         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53105         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53110         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53111         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53112         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53113         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53114         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53115         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53116         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53118         file.
53119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53121         file.
53122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53124         file.
53125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53127         file.
53128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53129         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53130         fmin/fmax sysdep routines.
53131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53133 2012-03-14  David S. Miller  <davem@davemloft.net>
53135         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53136         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53137         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53138         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53139         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53140         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53141         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53142         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53143         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53144         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53145         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53146         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53147         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53148         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53149         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53150         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53154         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53155         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53156         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53157         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53158         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53159         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53160         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53161         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53162         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53163         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53164         routines.
53165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53166         file.
53167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53169         file.
53170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53172         file.
53173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53175         file.
53176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53178         file.
53179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53181         file.
53182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53183         file.
53184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53185         file.
53186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53187         file.
53188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53189         New file.
53190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53191         file.
53192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53193         file.
53194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53196         file.
53197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53199         file.
53200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53202         file.
53203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53205         VIS3 routines.
53207         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53208         New file.
53210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53212         * sysdeps/sparc/configure.in: New file.
53213         * sysdeps/sparc/configure: Generate.
53214         * configure.in (libc_cv_sparc_as_vis3): Substitute.
53215         * configure: Regenerate.
53216         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53217         * config.make.in (have-as-vis3): New.
53218         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53219         available use -Av9d instead of -Av9a.
53220         * sysdeps/sparc/sparc64/Makefile: Likewise.
53221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53223         New file.
53224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53225         file.
53226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53227         New file.
53228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53229         file.
53230         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53231         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53232         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53233         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53234         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53236         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53237         fzeros/fnegs to load 0x80000000 into a float register instead of
53238         using the stack.
53239         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53241 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53243         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53244         bits/syscall.h.
53245         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53246         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53247         ($(inst_includedir)/bits/syscall.h): Remove rule.
53248         ($(objpfx)bits/syscall.d): Include instead of
53249         $(objpfx)syscall-list.d.
53250         (generated): Change syscall-list.h and syscall-list.d to
53251         bits/syscall.h and bits/syscall.d.
53253 2012-03-14  Roland McGrath  <roland@hack.frob.com>
53255         [BZ #13846]
53256         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53258 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53260         [BZ #13841]
53261         * math/s_csqrt.c: Include <float.h>.
53262         (__csqrt): Scale large or subnormal inputs.
53263         * math/s_csqrtf.c: Likewise.
53264         * math/s_csqrtl.c: Likewise.
53265         * math/libm-test.inc (csqrt_test): Add more tests.
53266         * sysdeps/i386/fpu/libm-test-ulps: Update.
53267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53269         [BZ #13840]
53270         * math/libm-test.inc (hypot_test): Add more tests.
53272 2012-03-13  David S. Miller  <davem@davemloft.net>
53274         [BZ #13840]
53275         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
53276         double-precision for the calculation instead of scaling.
53278 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
53280         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53281         manipulate bits before adding and subtracting TWO52[sx].
53282         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53283         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53284         Likewise.
53285         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53287 2012-03-13  David S. Miller  <davem@davemloft.net>
53289         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53290         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53291         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53292         rtld-global-offsets.h
53293         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53295         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53296         large parameters.
53298         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53300         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53301         'err' in the ifdef scope in which it is actually used.
53303         * nss/nss_db/db-init.c: Include string.h
53305 2012-03-12  David S. Miller  <davem@davemloft.net>
53307         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53308         masking out of the most significant byte of random value used.
53309         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53310         Fix coding style in previous change.
53312         * sysdeps/unix/sysv/linux/kernel-features.h
53313         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53314         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53315         expression.
53316         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53317         later.
53319 2012-03-11  David S. Miller  <davem@davemloft.net>
53321         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53322         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
53323         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
53324         for 'resultvar' otherwise things get truncated on 64-bit.
53326         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53327         Fix masking out of the most significant byte of random value used.
53329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53331 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
53333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53335 2012-03-09  David S. Miller  <davem@davemloft.net>
53337         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
53338         variables with appropriate CPP guards.
53339         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
53340         from the frame pointer, not the stack pointer.  Correct layout
53341         comments.  Fix test on resulting framesize and the management of
53342         the outregs buffer for pltexit.  Preserve floating point return
53343         values across _dl_call_pltexit call.
53344         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
53345         framesize and the management of the outregs buffer for pltexit.
53346         Preserve floating point return values across _dl_call_pltexit
53347         call.
53348         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
53349         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
53350         (la_sparc64_gnu_pltexit): New functions.
53351         (print_exit): Fix format string for return register value.
53353 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
53355         * sunrpc/Makefile (others): Add rpcgen.
53356         ($(objpfx)rpcgen): Remove special build rule and dependency on
53357         libc.
53358         * sunrpc/rpcgen.c: New file.
53360 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
53362         [BZ #13673]
53363         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
53364         * stdio-common/bug-vfprintf-nargs.c: Likewise.
53365         * sysdeps/i386/crti.S: Likewise.
53366         * sysdeps/i386/crtn.S: Likewise.
53367         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
53368         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
53369         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
53370         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
53371         * sysdeps/sh/crti.S: Likewise.
53372         * sysdeps/sh/crtn.S: Likewise.
53373         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53375         [BZ #13673]
53376         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
53377         with URL.
53378         * locale/programs/locfile-kw.gperf: Likewise.
53379         * locale/programs/charmap-kw.h: Regenerated.
53380         * locale/programs/locfile-kw.h: Likewise.
53382         [BZ #13673]
53383         * intl/plural.y: Replace FSF snail mail address with URL.
53384         * intl/plural.c: Regenerated.
53386 2012-03-09  Richard Henderson  <rth@twiddle.net>
53388         * include/math_private.h: Remove file.
53389         * math/math_private.h: Move file ...
53390         * sysdeps/generic/math_private.h: ... here.
53392         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53393         * sysdeps/powerpc/fpu/math_private.h: Likewise.
53394         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53396         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53397         and <math_private.h>.
53398         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53399         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53400         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53401         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53402         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53403         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53404         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53405         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53406         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53407         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53408         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53409         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53410         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53411         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53412         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53413         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53414         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53415         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53416         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53417         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53418         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53419         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53420         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53421         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53422         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53423         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53424         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53425         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53426         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53427         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53428         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53429         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53430         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53431         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53432         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53433         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53434         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53435         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53436         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53437         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53438         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53439         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53440         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53441         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53442         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53443         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53444         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53445         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53446         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53447         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53448         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53449         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53450         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53451         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53452         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53453         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53454         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53455         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53456         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53457         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53458         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53459         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53460         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53461         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53462         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53463         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53464         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53465         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53466         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53467         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53468         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53469         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53470         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53471         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53472         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53473         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53474         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53475         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53476         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53477         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53478         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53479         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53480         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53481         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53482         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53483         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53484         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53485         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53486         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53487         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53488         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53489         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53490         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53491         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53492         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53493         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53494         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53495         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53496         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53497         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53498         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53499         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53500         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53501         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53502         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53503         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53504         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53505         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53506         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53507         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53508         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53509         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53510         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53511         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53512         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53513         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53514         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53515         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53516         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53517         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53518         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53519         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53520         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53521         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53522         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53523         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53524         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53525         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53526         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53527         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53528         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53529         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53530         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53531         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53532         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53533         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53534         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53535         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53536         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53537         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53538         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53539         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53540         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53541         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53542         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53543         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53544         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53545         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53546         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53547         * sysdeps/ieee754/k_standard.c: Likewise.
53548         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53549         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53550         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53551         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53552         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53553         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53554         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53555         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53556         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53557         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53558         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53559         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53560         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53561         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53562         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53563         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53564         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53565         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53566         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53567         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53568         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53569         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53570         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53571         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53572         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53573         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53574         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53575         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53576         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53577         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53578         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53579         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53580         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53581         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53582         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53583         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53584         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53585         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53586         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53587         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53588         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53589         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53590         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53591         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53592         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53593         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53594         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53595         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53596         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53597         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53598         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53599         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53600         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53601         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53602         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53603         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53604         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53605         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53606         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53607         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53608         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53609         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53610         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53611         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53612         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53613         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53614         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53615         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53616         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53617         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53618         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53619         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53620         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53621         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53622         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53623         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53624         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53625         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53626         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53627         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53628         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53629         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53630         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53631         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53632         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53633         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53634         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53635         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53636         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53637         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53638         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53639         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53640         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53641         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53642         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53643         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53644         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53645         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53646         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53647         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53648         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53649         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53650         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53651         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53652         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53653         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53654         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53655         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53656         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53657         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53658         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53659         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53660         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53661         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53662         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53663         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53664         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53665         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53666         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53667         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53668         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53669         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53670         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53671         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53672         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53673         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53674         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53675         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53676         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53677         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53678         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53679         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53680         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53681         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53682         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53683         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53684         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53685         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53686         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53687         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53688         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53689         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53690         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53691         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53692         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53693         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53694         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53695         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53696         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53697         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53698         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53699         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53700         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53701         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53702         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53703         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53704         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53705         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53706         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53707         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53708         * sysdeps/ieee754/s_lib_version.c: Likewise.
53709         * sysdeps/ieee754/s_matherr.c: Likewise.
53710         * sysdeps/ieee754/s_signgam.c: Likewise.
53711         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53712         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53713         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53714         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53715         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53716         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53717         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53718         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53719         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53720         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53721         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53722         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53723         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53724         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53725         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53726         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53727         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53728         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53729         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53730         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53731         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53733 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53735         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53736         * sunrpc/rpc_main.c: Likewise.
53737         * sunrpc/rpc_svcout.c: Likewise.
53739 2012-03-09  David S. Miller  <davem@davemloft.net>
53741         * include/math_private.h: New file.
53743 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53745         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53746         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53747         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53748         from <bits/socket_type.h>.
53749         (enum __socket_type): Don't define here.
53750         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53751         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53752         bits/socket_type.h.
53754         [BZ #13566]
53755         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53756         checking __USE_GNU.
53758         * Makerules ($(inst_includedir)/%.h): New rule.
53759         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53760         (install-others): Remove variable setting.
53761         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53763 2012-03-08  Richard Henderson  <rth@twiddle.net>
53765         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53766         from macro to inline function; merge with the
53767         !__LIBC_INTERNAL_MATH_INLINES version.
53768         (__ieee754_sqrtf): Likewise.
53770         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53771         to inline function.
53772         (__rintf, __floor, __floorf): Likewise.
53774         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53775         macro to inline function.
53776         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53778         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53779         not <math/math_private.h>.
53781 2012-03-08  David S. Miller  <davem@davemloft.net>
53783         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53784         copyright year.
53785         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53787 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
53789         * resolv/gai_misc.c (handle_requests): Fix struct timespec
53790         normalization.
53791         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53792         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53794 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
53796         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
53797         be defined individually, they must be defined as a block.  Define
53798         S for printing a string instead of hidint the different by using a
53799         macro for adding the 'l'.
53800         * stdio-common/tst-fphex-wide.c: Adjust.
53802 2012-03-07  Marek Polacek  <polacek@redhat.com>
53804         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53806 2012-03-08  Marek Polacek  <polacek@redhat.com>
53808         [BZ #13806]
53809         * stdio-common/Makefile (tests): Add tst-fphex-wide.
53810         * stdio-common/tst-fphex.c: Define a few macros to make the
53811         test reusable.  Use them.
53812         * stdio-common/tst-fphex-wide.c: New file.
53814 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
53816         [BZ #6911]
53817         * manual/macros.texi (gnusystems): New macro.
53818         (nongnusystems): Likewise.
53819         (gnulinuxhurdsystems): Likewise.
53820         (gnuhurdsystems): Likewise..
53821         (gnulinuxsystems): Likewise.
53822         * manual/charset.texi: Use new macros or @theglibc{} to refer to
53823         variants of the GNU system, not "GNU system".
53824         * manual/conf.texi: Likewise.
53825         * manual/errno.texi: Likewise.  Update example of errno macro
53826         expansion.
53827         * manual/filesys.texi: Likewise.
53828         (getumask): Document as specific to GNU/Hurd.
53829         * manual/install.texi: Likewise.  Reword some references to
53830         GNU/Linux.
53831         * manual/intro.texi: Likewise.
53832         * manual/io.texi: Likewise.
53833         (File Name Portability): Detail which constraints are inapplicable
53834         to all GNU systems and which are only inapplicable to GNU/Hurd.
53835         * manual/job.texi: Likewise.
53836         * manual/llio.texi: Likewise.
53837         (O_NOCTTY): Document as present on GNU/Linux.
53838         * manual/maint.texi: Likewise.
53839         * manual/memory.texi: Likewise.
53840         * manual/pattern.texi: Likewise.
53841         * manual/pipe.texi: Likewise.
53842         * manual/process.texi: Likewise.
53843         * manual/resource.texi: Likewise.
53844         (RUSAGE_CHILDREN): Remove statement about specifying a particular
53845         child on GNU/Hurd.
53846         * manual/setjmp.texi: Likewise.
53847         * manual/signal.texi: Likewise.
53848         * manual/startup.texi: Likewise.
53849         * manual/stdio.texi: Likewise.
53850         * manual/terminal.texi: Likewise.
53851         (ONLCR): Document as POSIX.
53852         (OXTABS): Document availability on GNU/Linux as XTABS.
53853         (ONOEOT): Document availability separately from other bits.
53854         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53855         * manual/time.texi: Likewise.
53856         * manual/users.texi: Likewise.
53857         * INSTALL: Regenerated.
53858         * sysdeps/gnu/errlist.c: Regenerated.
53860         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53861         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53862         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
53863         puts.
53864         * configure: Regenerated.
53866 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
53868         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53869         default includes instead of AC_HEADER_CHECK.
53870         * sysdeps/i386/configure: Regenerated.
53872         [BZ #10716]
53873         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53874         * math/s_cacoshf.c (__cacoshf): Likewise.
53875         * math/s_cacoshl.c (__cacoshl): Likewise.
53876         * math/s_casinh.c (__casinh): Set signs of result from argument.
53877         * math/s_casinhf.c (__casinhf): Likewise.
53878         * math/s_casinhl.c (__casinhl): Likewise.
53879         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53880         (casinh_test): Add more tests.
53881         * sysdeps/i386/fpu/libm-test-ulps: Update.
53882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53884 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
53886         * po/zh_TW.po: Update from translation team.
53888         * login/Makefile (distribute): Remove variable.
53889         * catgets/Makefile: Likewise.
53890         * mach/Makefile: Likewise.
53891         * malloc/Makefile: Likewise.
53892         * misc/Makefile: Likewise.
53893         * iconv/Makefile: Likewise.
53894         * nscd/Makefile: Likewise.
53895         * hurd/Makefile: Likewise.
53896         * manual/Makefile: Likewise.
53897         * locale/Makefile: Likewise.
53898         * intl/Makefile: Likewise.
53899         * conform/Makefile: Likewise.
53900         * nss/Makefile: Likewise.
53901         * time/Makefile: Likewise.
53902         * soft-fp/Makefile: Likewise.
53903         * dirent/Makefile: Likewise.
53904         * gmon/Makefile: Likewise.
53905         * po/Makefile: Likewise.
53906         * rt/Makefile: Likewise.
53907         * socket/Makefile: Likewise.
53908         * math/Makefile: Likewise.
53909         * signal/Makefile: Likewise.
53910         * debug/Makefile: Likewise.
53911         * elf/Makefile: Likewise.
53912         * timezone/Makefile: Likewise.
53913         * stdlib/Makefile: Likewise.
53914         * iconvdata/Makefile: Likewise.
53915         * sunrpc/Makefile: Likewise.
53916         * io/Makefile: Likewise.
53917         * argp/Makefile: Likewise.
53918         * inet/Makefile: Likewise.
53919         * hesiod/Makefile: Likewise.
53920         * grp/Makefile: Likewise.
53921         * csu/Makefile: Likewise.
53922         * wctype/Makefile: Likewise.
53923         * crypt/Makefile: Likewise.
53924         * libio/Makefile: Likewise.
53925         * string/Makefile: Likewise.
53926         * nis/Makefile: Likewise.
53927         * resolv/Makefile: Likewise.
53928         * stdio-common/Makefile: Likewise.
53929         * wcsmbs/Makefile: Likewise.
53930         * dlfcn/Makefile: Likewise.
53931         * posix/Makefile: Likewise.
53933         [BZ #6959]
53934         * timezone/Makefile: Don't install timezone files, just the programs
53935         and scripts.
53937 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
53939         * nss/databases.def: Add missing gshadow entry.
53941         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
53943 2012-03-06  Marek Polacek  <polacek@redhat.com>
53945         [BZ #13726]
53946         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53947         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53948         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53949         * stdio-common/tst-long-dbl-fphex.c: New file.
53951 2012-03-06  David S. Miller  <davem@davemloft.net>
53953         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53954         (set_obp_int): New function.
53955         (get_obp_int): New function.
53956         (__get_clockfreq_via_dev_openprom): Likewise.
53957         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53958         Avoid unused variable warnings on 'val' and use builtin_expect.
53959         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53960         __builtin_expect.
53961         (INLINE_CLONE_SYSCALL): Likewise.
53963 2012-03-05  David S. Miller  <davem@davemloft.net>
53965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53967 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
53969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53971         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53972         only for |x| >= 40.
53973         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53975 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
53977         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53978         Replace gettimeofday with __vdso_gettimeofday.
53980         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53981         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53982         __vdso_clock_gettime and __vdso_getcpu.
53984         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53985         time with __vdso_time.
53987 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53989         * manual/lang.texi (size_t): Note types to which size_t may be
53990         equivalent with the GNU C Library, but do not describe when
53991         differences between them are significant.
53993 2012-03-05  Andreas Jaeger  <aj@suse.de>
53995         * sysdeps/i386/fpu/libm-test-ulps: Update.
53997 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53999         [BZ #3976]
54000         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54001         (__ieee754_pow): Save and restore rounding mode and use
54002         round-to-nearest for main computations.
54003         * math/libm-test.inc (pow_test_tonearest): New function.
54004         (pow_test_towardzero): Likewise.
54005         (pow_test_downward): Likewise.
54006         (pow_test_upward): Likewise.
54007         (main): Call the new functions.
54008         * sysdeps/i386/fpu/libm-test-ulps: Update.
54009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54011         [BZ #3976]
54012         * math/libm-test.inc (cosh_test_tonearest): New function.
54013         (cosh_test_towardzero): Likewise.
54014         (cosh_test_downward): Likewise.
54015         (cosh_test_upward): Likewise.
54016         (sinh_test_tonearest): Likewise.
54017         (sinh_test_towardzero): Likewise.
54018         (sinh_test_downward): Likewise.
54019         (sinh_test_upward): Likewise.
54020         (main): Call the new functions.
54021         * sysdeps/i386/fpu/libm-test-ulps: Update.
54022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54024 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54026         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54027         default stack guard is set in last bytes.
54028         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54030 2012-03-05  Kees Cook  <keescook@chromium.org>
54032         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54034         [BZ #13656]
54035         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54036         possibly allocate from heap instead of stack.
54037         * stdio-common/bug-vfprintf-nargs.c: New file.
54038         * stdio-common/Makefile (tests): Add nargs overflow test.
54040 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54044 2012-03-03  Marek Polacek  <polacek@redhat.com>
54046         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54047         * math/math_private.h: Likewise.
54048         * stdlib/tst-strtod.c: Likewise.
54049         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54050         * sysdeps/x86_64/bits/atomic.h: Likewise.
54052 2012-03-02  David S. Miller  <davem@davemloft.net>
54054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54058         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54059         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54060         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54061         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54063 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54065         [BZ #13792]
54066         * manual/examples/README: New file, says the example source files
54067         can be used under GPL>=2.
54068         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54069         line containing just "*/".
54070         * manual/examples/add.c: Add copyright header (GPL>=2).
54071         * manual/examples/argp-ex1.c: Likewise.
54072         * manual/examples/argp-ex2.c: Likewise.
54073         * manual/examples/argp-ex3.c: Likewise.
54074         * manual/examples/argp-ex4.c: Likewise.
54075         * manual/examples/atexit.c: Likewise.
54076         * manual/examples/db.c: Likewise.
54077         * manual/examples/dir.c: Likewise.
54078         * manual/examples/dir2.c: Likewise.
54079         * manual/examples/execinfo.c: Likewise.
54080         * manual/examples/filecli.c: Likewise.
54081         * manual/examples/filesrv.c: Likewise.
54082         * manual/examples/fmtmsgexpl.c: Likewise.
54083         * manual/examples/genpass.c: Likewise.
54084         * manual/examples/inetcli.c: Likewise.
54085         * manual/examples/inetsrv.c: Likewise.
54086         * manual/examples/isockad.c: Likewise.
54087         * manual/examples/longopt.c: Likewise.
54088         * manual/examples/memopen.c: Likewise.
54089         * manual/examples/memstrm.c: Likewise.
54090         * manual/examples/mkfsock.c: Likewise.
54091         * manual/examples/mkisock.c: Likewise.
54092         * manual/examples/mygetpass.c: Likewise.
54093         * manual/examples/pipe.c: Likewise.
54094         * manual/examples/popen.c: Likewise.
54095         * manual/examples/rprintf.c: Likewise.
54096         * manual/examples/search.c: Likewise.
54097         * manual/examples/select.c: Likewise.
54098         * manual/examples/setjmp.c: Likewise.
54099         * manual/examples/sigh1.c: Likewise.
54100         * manual/examples/sigusr.c: Likewise.
54101         * manual/examples/stpcpy.c: Likewise.
54102         * manual/examples/strdupa.c: Likewise.
54103         * manual/examples/strftim.c: Likewise.
54104         * manual/examples/strncat.c: Likewise.
54105         * manual/examples/subopt.c: Likewise.
54106         * manual/examples/swapcontext.c: Likewise.
54107         * manual/examples/termios.c: Likewise.
54108         * manual/examples/testopt.c: Likewise.
54109         * manual/examples/testpass.c: Likewise.
54110         * manual/examples/timeval_subtract.c: Likewise.
54112         [BZ #13792]
54113         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54114         function to ...
54115         * manual/timeval_subtract.c.texi: ... here, new file.
54117 2012-03-02  David S. Miller  <davem@davemloft.net>
54119         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54121 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54123         [BZ #3976]
54124         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54125         (__sin): Save and restore rounding mode and use round-to-nearest
54126         for all computations.
54127         (__cos): Save and restore rounding mode and use round-to-nearest
54128         for all computations.
54129         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54130         <fenv.h>.
54131         (tan): Save and restore rounding mode and use round-to-nearest for
54132         all computations.
54133         * math/libm-test.inc (cos_test_tonearest): New function.
54134         (cos_test_towardzero): Likewise.
54135         (cos_test_downward): Likewise.
54136         (cos_test_upward): Likewise.
54137         (sin_test_tonearest): Likewise.
54138         (sin_test_towardzero): Likewise.
54139         (sin_test_downward): Likewise.
54140         (sin_test_upward): Likewise.
54141         (tan_test_tonearest): Likewise.
54142         (tan_test_towardzero): Likewise.
54143         (tan_test_downward): Likewise.
54144         (tan_test_upward): Likewise.
54145         (main): Call the new functions.
54146         * sysdeps/i386/fpu/libm-test-ulps: Update.
54147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54149         [BZ #10135]
54150         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54151         small n, then large n, before computing and testing k+n.
54152         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54153         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54154         Likewise.
54155         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54156         Likewise.
54157         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54158         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54159         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54160         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54161         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54162         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54163         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54164         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54165         * math/libm-test.inc (scalbn_test): Add more tests.
54166         (scalbln_test): Likewise.
54168         * manual/filesys.texi (mode_t): Describe constraints on size and
54169         signedness, not exact equivalence to a particular type.
54170         (ino_t): Likewise.
54171         (ino64_t): Likewise.
54172         (dev_t): Likewise.
54173         (nlink_t): Likewise.
54174         (blkcnt_t): Likewise.
54175         (blkcnt64_t): Likewise.
54176         * manual/llio.texi (off_t): Likewise.
54178         [BZ #3976]
54179         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54180         (__ieee754_exp): Save and restore rounding mode and use
54181         round-to-nearest for all computations.
54182         * math/libm-test.inc (exp_test_tonearest): New function.
54183         (exp_test_towardzero): Likewise.
54184         (exp_test_downward): Likewise.
54185         (exp_test_upward): Likewise.
54186         (main): Call the new functions.
54187         * sysdeps/i386/fpu/libm-test-ulps: Update.
54188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54190 2012-03-01  Chris Demetriou  <cgd@google.com>
54192         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54193         have predictable order.
54195 2012-03-01  David S. Miller  <davem@davemloft.net>
54197         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54199         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54200         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54201         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54202         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54204         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54205         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54206         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54208         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54209         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54210         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54211         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54212         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54214         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54216         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54217         * sysdeps/sparc/fpu/libm-test-ulps: to here.
54218         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54220         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54221         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54222         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54223         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54224         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54225         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54226         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54227         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54228         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54229         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54230         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54231         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54232         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54233         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54234         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54235         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54236         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54237         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54238         * sysdeps/sparc/elf/configure: Regenerated.
54240 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
54242         * configure.in (AS, LD): Require binutils 2.20 or later.
54243         * configure: Regenerated.
54244         * manual/install.texi (Tools for Compilation): Give binutils 2.20
54245         as required minimum version.
54246         * INSTALL: Regenerated.
54248         [BZ #2541]
54249         [BZ #4108]
54250         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54251         before squaring exponent.
54252         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54253         bottom long double and 27 bits of top long double before squaring
54254         exponent.
54255         * math/libm-test.inc (erfc_test): Add more tests.
54256         * sysdeps/i386/fpu/libm-test-ulps: Update.
54257         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54260 2012-03-01  Kai Tietz  <ktietz@redhat.com>
54262         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54263         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54264         containing bit-fields.
54265         * soft-fp/extended.h (_FP_UNION_E): Likewise.
54266         * soft-fp/single.h (_FP_UNION_S): Likewise.
54267         * soft-fp/double.h (_FP_UNION_D): Likewise.
54269 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54271         [BZ #13786]
54272         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54273         not include ../strcmp.S.
54274         [USE_AS_STRNCASECMP_L]: Likewise.
54275         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
54276         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
54277         * sysdeps/i386/i686/multiarch/strncase_l-c.c
54278         (__strncasecmp_l_ia32): Define as alias to
54279         __strncasecmp_l_nonascii.
54281         [BZ #5794]
54282         * math/libm-test.inc (expm1_test): Add test for bug 5794.
54283         * sysdeps/i386/fpu/libm-test-ulps: Update.
54284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54286         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54289 2012-02-29  Jeff Law  <law@redhat.com>
54291         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54292         out of bounds read.
54294 2012-02-29  Marek Polacek  <polacek@redhat.com>
54296         [BZ #13706]
54297         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54298         * elf/Makefile: Add rules to run tst-unused-dep.out.
54300 2012-02-28  David S. Miller  <davem@davemloft.net>
54302         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54303         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54304         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54305         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54306         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54307         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54309 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54311         * math/libm-test.inc (llround_test): Move one test from
54312         lround_test.  Use TEST_f_L in moved test.
54313         (lround_test): Move misplaced test to llround_test.  Add testcase
54314         from bug 2561.
54316 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
54318         * sysdeps/x86_64/fpu/e_expf.S: New file.
54319         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
54321 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
54323         [BZ #13637]
54324         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
54325         of remain_len that may cause incomplete multi-byte character and
54326         false match.
54327         * posix/bug-regex33.c: New file.
54328         * posix/Makefile (tests): Add bug-regex33.
54330 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
54332         * manual/macros.texi: New file.
54333         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
54334         * manual/libc.texinfo: Include macros.texi.
54335         * manual/creatute.texi: Likewise.
54336         * manual/install.texi: Likewise.
54337         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
54338         @glibcadj{} in references to the GNU C Library.
54339         * manual/charset.texi: Likewise.
54340         * manual/conf.texi: Likewise.
54341         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
54342         when not using those macros.
54343         * manual/creature.texi: Likewise.
54344         * manual/crypt.texi: Likewise.
54345         * manual/errno.texi: Likewise.
54346         * manual/filesys.texi: Likewise.
54347         * manual/header.texi: Likewise.
54348         * manual/install.texi: Likewise.
54349         * manual/intro.texi: Likewise.
54350         * manual/io.texi: Likewise.
54351         * manual/job.texi: Likewise.
54352         * manual/lang.texi: Likewise.
54353         * manual/libc.texiinfo: Likewise.
54354         * manual/llio.texi: Likewise.
54355         * manual/locale.texi: Likewise.
54356         * manual/maint.texi: Likewise.
54357         * manual/math.texi: Likewise.
54358         * manual/memory.texi: Likewise.
54359         * manual/message.texi: Likewise.
54360         * manual/nss.texi: Likewise.
54361         * manual/pattern.texi: Likewise.
54362         * manual/process.texi: Likewise.
54363         * manual/resource.texi: Likewise.
54364         * manual/search.texi: Likewise.
54365         * manual/setjmp.texi: Likewise.
54366         * manual/signal.texi: Likewise.
54367         * manual/socket.texi: Likewise.
54368         * manual/startup.texi: Likewise.
54369         * manual/stdio.texi: Likewise.
54370         * manual/string.texi: Likewise.
54371         * manual/sysinfo.texi: Likewise.
54372         * manual/syslog.texi: Likewise.
54373         * manual/terminal.texi: Likewise.
54374         * manual/time.texi: Likewise.
54375         * manual/users.texi: Likewise.
54376         * INSTALL: Regenerated.
54377         * NOTES: Regenerated.
54378         * sysdeps/gnu/errlist.c: Regenerated.
54380 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
54382         * include/dirent.h: Include <dirstream.h> before
54383         <dirent/dirent.h>.
54385 2012-02-28  David S. Miller  <davem@davemloft.net>
54387         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54388         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54389         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54390         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54392 2012-02-27  David S. Miller  <davem@davemloft.net>
54394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54396         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54397         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54400         frame pointer instead of stack pointer relative arg slot.
54401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54402         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54403         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54405 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
54407         [BZ #3992]
54408         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54410 2012-02-27  David S. Miller  <davem@davemloft.net>
54412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54416         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54417         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54418         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54419         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54421 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54423         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54424         later.  Allow versions 5-9.
54425         * configure: Regenerated.
54426         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54427         required minimum version and 4.6 as recommended version.  Do not
54428         mention bugs in GCC 2.7 and 2.8.
54429         * INSTALL: Regenerated.
54431 2012-02-27  David S. Miller  <davem@davemloft.net>
54433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54437         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54438         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54439         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54440         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54442         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54443         manipulate bits before adding and subtracting TWO112[sx].
54444         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54446 2012-02-27  Roland McGrath  <roland@hack.frob.com>
54448         [BZ #13775]
54449         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54450         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54451         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54452         being in POSIX, because they are in 1003.1-2008.
54454         * rt/tst-aio.c: Include <fcntl.h>.
54455         * rt/tst-aio7.c: Likewise.
54456         * rt/tst-aio64.c: Likewise.
54458         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54460 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54462         * manual/install.texi (--with-headers): Describe headers as
54463         interface headers, not private headers.
54464         (Specific advice for GNU/Linux systems): Describe use of headers
54465         from "make headers_install", not private headers from older
54466         kernels.
54467         * INSTALL: Regenerated.
54468         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54469         Change to 2.6.19.
54470         * sysdeps/unix/sysv/linux/configure: Regenerated.
54472         * manual/llio.texi (fclean): Remove documentation.
54474         * manual/Makefile (libc-texi-generated): New variable.  Include
54475         version.texi.
54476         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54477         $(libc-texi-generated), not duplicated list of files.
54478         (version.texi, stamp-version): New rules.
54479         (realclean): Remove $(libc-texi-generated), not individual files
54480         from that list.  Do not remove dir-add.texinfo.
54481         * manual/libc.texinfo: Comment out uses of edition numbers and
54482         references to printed manual.  Remove last-updated dates.
54483         (EDITION): Comment out.
54484         (ISBN): Likewise.
54485         (VERSION, UPDATED): Remove.
54486         (version.texi): Include.
54488 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
54490         * sysdeps/posix/spawni.c: Include <signal.h>.
54491         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54492         * sysdeps/pthread/aio_fsync.c: Likewise.
54494 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
54496         * conform/Makefile (tests): Run only when not cross-compiling and
54497         when fast-check is not defined.
54499         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54500         * conform/data/limits.h-data: Fixes for POSIX2008.
54501         * conform/run-conformtest.sh: Run all tests.
54502         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54503         headers.
54504         * include/bits/dlfcn.h: Likewise.
54505         * include/langinfo.h: Likewise.
54506         * include/monetary.h: Likewise.
54507         * include/sys/poll.h: Likewise.
54509         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54510         for __USE_GNU.
54511         * posix/spawn.h: Define __need_sigset_t.
54512         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54513         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54514         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
54515         to get sigevent_t only.
54516         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54517         only for __USE_GNU.
54518         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54519         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54520         process_vm_writev only for __USE_GNU.
54521         * termios/termios.h: Declare tcgetsid also for POSIX2008.
54523         * conform/Makefile: For now ignore errors from run-conformtest.
54524         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
54525         POSIX to avoid namespace pollution.  Don't prepend headers.
54526         * conform/data/aio.h-data: Fixes for POSIX testing.
54527         * conform/data/fcntl.h-data: Likewise.
54528         * conform/data/glob.h-data: Likewise.
54529         * conform/data/grp.h-data: Likewise.
54530         * conform/data/pthread.h-data: Likewise.
54531         * conform/data/pwd.h-data: Likewise.
54532         * conform/data/signal.h-data: Likewise.
54533         * conform/data/spawn.h-data: Likewise.
54534         * conform/data/stdio.h-data: Likewise.
54535         * conform/data/stdlib.h-data: Likewise.
54536         * conform/data/stropts.h-data: Likewise.
54537         * conform/data/sys/mman.h-data: Likewise.
54538         * conform/data/sys/stat.h-data: Likewise.
54539         * conform/data/sys/types.h-data: Likewise.
54540         * conform/data/sys/wait.h-data: Likewise.
54541         * conform/data/time.h-data: Likewise.
54542         * conform/data/unistd.h-data: Likewise.
54543         * conform/data/utime.h-data: Likewise.
54545         * io/sys/stat.h: fchmod was always in POSIX.
54546         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54547         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54548         * rt/aio.h: Define __need_timespec before including <time.h>.
54549         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54550         struct.  Add forward declaration of pthread_attr_t and use it in
54551         sigevent.
54552         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54553         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54554         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54555         always remove CLK_TCK definition.
54557 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
54559         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54561 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
54563         * conform/run-conformtest.sh: New file.
54564         * conform/Makefile: Run run-conformtest for tests.
54565         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
54566         support.
54568         * conform/data/uchar.h-data: New file.
54569         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54570         * conform/data/arpa/inet.h-data: Likewise.
54571         * conform/data/assert.h-data: Likewise.
54572         * conform/data/complex.h-data: Likewise.
54573         * conform/data/cpio.h-data: Likewise.
54574         * conform/data/ctype.h-data: Likewise.
54575         * conform/data/dirent.h-data: Likewise.
54576         * conform/data/dlfcn.h-data: Likewise.
54577         * conform/data/errno.h-data: Likewise.
54578         * conform/data/fcntl.h-data: Likewise.
54579         * conform/data/float.h-data: Likewise.
54580         * conform/data/fmtmsg.h-data: Likewise.
54581         * conform/data/fnmatch.h-data: Likewise.
54582         * conform/data/ftw.h-data: Likewise.
54583         * conform/data/glob.h-data: Likewise.
54584         * conform/data/grp.h-data: Likewise.
54585         * conform/data/iconv.h-data: Likewise.
54586         * conform/data/inttypes.h-data: Likewise.
54587         * conform/data/langinfo.h-data: Likewise.
54588         * conform/data/libgen.h-data: Likewise.
54589         * conform/data/limits.h-data: Likewise.
54590         * conform/data/locale.h-data: Likewise.
54591         * conform/data/math.h-data: Likewise.
54592         * conform/data/monetary.h-data: Likewise.
54593         * conform/data/mqueue.h-data: Likewise.
54594         * conform/data/ndbm.h-data: Likewise.
54595         * conform/data/net/if.h-data: Likewise.
54596         * conform/data/netdb.h-data: Likewise.
54597         * conform/data/netinet/in.h-data: Likewise.
54598         * conform/data/nl_types.h-data: Likewise.
54599         * conform/data/poll.h-data: Likewise.
54600         * conform/data/pthread.h-data: Likewise.
54601         * conform/data/pwd.h-data: Likewise.
54602         * conform/data/regex.h-data: Likewise.
54603         * conform/data/sched.h-data: Likewise.
54604         * conform/data/search.h-data: Likewise.
54605         * conform/data/semaphore.h-data: Likewise.
54606         * conform/data/setjmp.h-data: Likewise.
54607         * conform/data/signal.h-data: Likewise.
54608         * conform/data/spawn.h-data: Likewise.
54609         * conform/data/stdarg.h-data: Likewise.
54610         * conform/data/stdio.h-data: Likewise.
54611         * conform/data/stdlib.h-data: Likewise.
54612         * conform/data/string.h-data: Likewise.
54613         * conform/data/strings.h-data: Likewise.
54614         * conform/data/stropts.h-data: Likewise.
54615         * conform/data/sys/ipc.h-data: Likewise.
54616         * conform/data/sys/mman.h-data: Likewise.
54617         * conform/data/sys/msg.h-data: Likewise.
54618         * conform/data/sys/resource.h-data: Likewise.
54619         * conform/data/sys/select.h-data: Likewise.
54620         * conform/data/sys/sem.h-data: Likewise.
54621         * conform/data/sys/shm.h-data: Likewise.
54622         * conform/data/sys/socket.h-data: Likewise.
54623         * conform/data/sys/stat.h-data: Likewise.
54624         * conform/data/sys/statvfs.h-data: Likewise.
54625         * conform/data/sys/time.h-data: Likewise.
54626         * conform/data/sys/timeb.h-data: Likewise.
54627         * conform/data/sys/times.h-data: Likewise.
54628         * conform/data/sys/types.h-data: Likewise.
54629         * conform/data/sys/uio.h-data: Likewise.
54630         * conform/data/sys/un.h-data: Likewise.
54631         * conform/data/sys/utsname.h-data: Likewise.
54632         * conform/data/sys/wait.h-data: Likewise.
54633         * conform/data/syslog.h-data: Likewise.
54634         * conform/data/tar.h-data: Likewise.
54635         * conform/data/termios.h-data: Likewise.
54636         * conform/data/utime.h-data: Likewise.
54637         * conform/data/utmpx.h-data: Likewise.
54638         * conform/data/varargs.h-data: Likewise.
54639         * conform/data/wchar.h-data: Likewise.
54640         * conform/data/wctype.h-data: Likewise.
54641         * conform/data/wordexp.h-data: Likewise.
54643         * include/stropts.h: New file.
54644         * include/uchar.h: New file.
54645         * include/aio.h: Changes to allow conformtest.pl to use the headers.
54646         * include/assert.h: Likewise.
54647         * include/ctype.h: Likewise.
54648         * include/dirent.h: Likewise.
54649         * include/dlfcn.h: Likewise.
54650         * include/fcntl.h: Likewise.
54651         * include/fnmatch.h: Likewise.
54652         * include/glob.h: Likewise.
54653         * include/grp.h: Likewise.
54654         * include/libio.h: Likewise.
54655         * include/locale.h: Likewise.
54656         * include/math.h: Likewise.
54657         * include/net/if.h: Likewise.
54658         * include/netdb.h: Likewise.
54659         * include/netinet/in.h: Likewise.
54660         * include/pthread.h: Likewise.
54661         * include/pwd.h: Likewise.
54662         * include/regex.h: Likewise.
54663         * include/sched.h: Likewise.
54664         * include/search.h: Likewise.
54665         * include/setjmp.h: Likewise.
54666         * include/signal.h: Likewise.
54667         * include/stdio.h: Likewise.
54668         * include/stdlib.h: Likewise.
54669         * include/string.h: Likewise.
54670         * include/sys/cdefs.h: Likewise.
54671         * include/sys/mman.h: Likewise.
54672         * include/sys/msg.h: Likewise.
54673         * include/sys/resource.h: Likewise.
54674         * include/sys/select.h: Likewise.
54675         * include/sys/socket.h: Likewise.
54676         * include/sys/stat.h: Likewise.
54677         * include/sys/statvfs.h: Likewise.
54678         * include/sys/time.h: Likewise.
54679         * include/sys/times.h: Likewise.
54680         * include/sys/uio.h: Likewise.
54681         * include/sys/utsname.h: Likewise.
54682         * include/sys/wait.h: Likewise.
54683         * include/termios.h: Likewise.
54684         * include/time.h: Likewise.
54685         * include/ulimit.h: Likewise.
54686         * include/unistd.h: Likewise.
54687         * include/utime.h: Likewise.
54688         * include/wchar.h: Likewise.
54689         * include/wctype.h: Likewise.
54690         * include/wordexp.h: Likewise.
54692         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54694         * time/time.h: TIME_UTC must be a macro.
54695         Make timespec_get available for ISO C11 only as well.
54697 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
54699         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54700         Reported by Peng Haitao <penght@cn.fujitsu.com>.
54702 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54704         * configure.in: Use -o not -a in test for unsupported multi-arch.
54706 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54708         * manual/texinfo.tex: Update to version 2012-01-19.16.
54710 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54712         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54714 2012-02-24  Roland McGrath  <roland@hack.frob.com>
54716         [BZ #13738]
54717         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54718         * manual/fdl-1.3.texi: New file.
54719         * manual/fdl-1.1.texi: File removed.
54721         [BZ #13738]
54722         * manual/libc.texinfo (FDL_VERSION): New @set.
54723         Use it for mention of FDL in cover text.
54724         (Documentation License): Use it in @include file name.
54726 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54727             Roland McGrath  <roland@hack.frob.com>
54729         [BZ #5461]
54730         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54731         (not LONG_LONG_MAX and LONG_LONG_MIN.
54732         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54733         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
54734         name.
54735         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54737 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54739         [BZ #2547]
54740         [BZ #11365]
54741         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54742         manipulate bits before adding and subtracting TWO23[sx].
54743         * math/libm-test.inc (nearbyint_test): Add more tests.
54745 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54747         [BZ #2548]
54748         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54749         bits before adding and subtracting TWO23[sx].
54750         * math/libm-test.inc (rint_test): Add more tests.
54751         (rint_test_tonearest): Likewise.
54752         (rint_test_towardzero): Likewise.
54753         (rint_test_downward): Likewise.
54754         (rint_test_upward: Likewise.
54756 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54758         [BZ #10110]
54759         * include/stdc-predef.h: New file.  Extracted from features.h.
54760         * include/features.h: Include stdc-predef.h.
54761         * Makefile (headers): Add stdc-predef.h.
54762         * CONFORMANCE (Compiler limitations): Update.
54764 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54766         * manual/libc.texinfo (VERSION, UPDATED): Revert.
54768 2012-02-21  David S. Miller  <davem@davemloft.net>
54770         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54771         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54773 2012-02-20  David S. Miller  <davem@davemloft.net>
54775         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54776         using a normal save/restore sequence, rather than allocating a
54777         dummy stack frame just to store a frame pointer and restore.
54778         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54780 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54782         * manual/install.texi: Fix stray word in line-wrapped comment.
54784 2012-02-20  David S. Miller  <davem@davemloft.net>
54786         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54787         both binutils and gcc support GOTDATA.
54789         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54790         "rd %pc" in the PIC register setup sequences.
54792         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54793         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54794         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54795         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54796         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54797         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54798         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54799         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54800         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54801         (SYSCALL_ERROR_HANDLER): Likewise.
54802         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54803         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54804         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54805         (SYSCALL_ERROR_HANDLER): Likewise.
54807         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54808         (HAVE_GCC_GOTDATA): New.
54809         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54810         relocation support in both binutils and gcc.
54811         * sysdeps/sparc/elf/configure: Regenerate.
54813         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54814         * sysdeps/sparc/sparc32/elf/configure: Delete.
54815         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54816         * sysdeps/sparc/sparc64/elf/configure: Delete.
54817         * sysdeps/sparc/elf/configure.in: New file.
54818         * sysdeps/sparc/elf/configure: Generate.
54820         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54821         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54822         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54823         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54824         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54826 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54828         * manual/install.texi: Do not mention specific glibc version
54829         numbers.
54830         * manual/libc.texinfo (VERSION, UPDATED): Update.
54831         (@copying): Use @copyright{} and range of years.
54833 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54835         [BZ #13695]
54836         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54837         [crti.S not in sysdirs] (generated): Do not append.
54838         [crti.S not in sysdirs] (omit-deps): Likewise.
54839         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54840         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54841         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54842         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54843         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54844         Likewise.
54845         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54846         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54847         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54848         * csu/defs.awk: Remove file.
54849         * sysdeps/generic/initfini.c: Likewise.
54850         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54851         variable.
54852         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54853         Likewise.
54855 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54857         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54858         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54859         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54860         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54861         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54862         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54863         <bits/epoll.h>.
54864         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54865         (__EPOLL_PACKED): Define to empty if not defined by
54866         <bits/epoll.h>.
54867         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54868         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54869         bits/epoll.h.
54871 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54873         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54874         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54875         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54876         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54877         <bits/timerfd.h>.
54878         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54879         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54880         bits/timerfd.h.
54882 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54884         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54885         in C locale.
54886         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54887         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54888         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54891 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
54893         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54894         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54896 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
54898         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54899         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54900         defined.
54901         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54902         Likewise.
54903         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54904         entry for 2.16.
54906 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
54908         * math/w_acos.c: Use non-signaling floating-point comparisons.
54909         * math/w_acosf.c: Likewise.
54910         * math/w_acosh.c: Likewise.
54911         * math/w_acoshf.c: Likewise.
54912         * math/w_acoshl.c: Likewise.
54913         * math/w_acosl.c: Likewise.
54914         * math/w_asin.c: Likewise.
54915         * math/w_asinf.c: Likewise.
54916         * math/w_asinl.c: Likewise.
54917         * math/w_atanh.c: Likewise.
54918         * math/w_atanhf.c: Likewise.
54919         * math/w_atanhl.c: Likewise.
54920         * math/w_exp2.c: Likewise.
54921         * math/w_exp2f.c: Likewise.
54922         * math/w_exp2l.c: Likewise.
54923         * math/w_j0.c: Likewise.
54924         * math/w_j0f.c: Likewise.
54925         * math/w_j0l.c: Likewise.
54926         * math/w_j1.c: Likewise.
54927         * math/w_j1f.c: Likewise.
54928         * math/w_j1l.c: Likewise.
54929         * math/w_jn.c: Likewise.
54930         * math/w_jnf.c: Likewise.
54931         * math/w_log.c: Likewise.
54932         * math/w_log10.c: Likewise.
54933         * math/w_log10f.c: Likewise.
54934         * math/w_log10l.c: Likewise.
54935         * math/w_log2.c: Likewise.
54936         * math/w_log2f.c: Likewise.
54937         * math/w_log2l.c: Likewise.
54938         * math/w_logf.c: Likewise.
54939         * math/w_logl.c: Likewise.
54940         * math/w_sqrt.c: Likewise.
54941         * math/w_sqrtf.c: Likewise.
54942         * math/w_sqrtl.c: Likewise.
54943         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54944         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54945         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54946         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54947         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54949 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54951         [BZ #9739]
54952         * manual/string.texi (strnlen): Use correct parameter name in
54953         equivalent expression.
54955 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54957         [BZ #11174]
54958         * manual/users.texi (seteuid): Consistently use neweuid for
54959         argument name.
54961 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54963         [BZ #13704]
54964         * manual/nss.texi (Services in the NSS configuration): Correct
54965         list of services in example configuration file.
54967 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
54969         [BZ #11322]
54970         * manual/arith.texi: Remove statements about negative zero
54971         behaving identically to zero.
54973 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54975         [BZ #5993]
54976         * manual/install.texi: Do not document upgrading from libc5.
54978 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54980         [BZ #4596]
54981         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54983 2012-02-18  David S. Miller  <davem@davemloft.net>
54985         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54986         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54987         %o7 across the call.
54988         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54989         instead.
54990         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54991         SETUP_PIC_REG_LEAF.
54992         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54993         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54994         * sysdeps/sparc/crtn.S: Likewise.
54996 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
54998         * aout/Makefile: Remove.
55000 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55002         [BZ #13058]
55003         * manual/examples/argp-ex1.c (main): Format definition in GNU
55004         style.
55005         * manual/examples/argp-ex2.c (main): Likewise.
55006         * manual/examples/argp-ex3.c (main): Likewise.
55007         * manual/examples/argp-ex4.c (main): Likewise.
55008         * manual/examples/longopt.c (main): Use new-style prototype
55009         definition.
55010         * manual/examples/strncat.c (main): Specify return type and use
55011         (void) for arguments.
55012         * manual/examples/subopt.c (main): Use char **argv argument.
55014 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55016         [BZ #5077]
55017         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55018         rounding modes.
55020 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55022         [BZ #6907]
55023         * manual/string.texi (strchr): Change when strchrnul is
55024         recommended.
55026 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55028         [BZ #174]
55029         * manual/locale.texi (setlocale): Document LOCPATH.
55031 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55033         [BZ #10210]
55034         * manual/process.texi (execle): Move @dots{} before last argument.
55036 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55038         [BZ #12047]
55039         * manual/charset.texi (Generic Charset Conversion): Fix typo
55040         (LC_TYPE -> LC_CTYPE).
55042 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55044         [BZ #5805]
55045         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55046         (scalbnf): Likewise.
55047         (scalbnl): Likewise.
55048         (scalbln): Likewise.
55049         (scalblnf): Likewise.
55050         (scalblnl): Likewise.
55051         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55052         (vwarnx): Likewise.
55053         (verr): Likewise.
55054         (verrx): Likewise.
55055         * manual/filesys.texi (telldir): Use braces around return type.
55056         * manual/llio.texi (mmap): Add space after comma.
55057         (mmap64): Likewise.
55058         * manual/math.texi (jn): Use @var{} on parameter names.
55059         (jnf): Likewise.
55060         (jnl): Likewise.
55061         (yn): Likewise.
55062         (ynf): Likewise.
55063         (ynl): Likewise.
55064         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55065         line.
55066         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55067         "...".
55068         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55069         (sched_get_priority_max): Likewise.
55070         * manual/signal.texi (sigvec): Add space after comma.
55071         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55072         names.
55073         (if_indextoname): Likewise.
55074         (if_freenameindex): Likewise.
55075         (sendto): Use ',' instead of '.' in prototype.
55076         * manual/startup.texi (syscall): Use @dots{} instead of literal
55077         "...".
55078         * manual/stdio.texi (__fpending): Separate initial words of
55079         paragraph from @deftypefun line.
55080         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55081         "...".
55082         (vsyslog): Use @var{} on parameter names.
55083         * manual/terminal.texi (stty): Use @var{} on parameter names.
55084         * manual/users.texi (getutmp): Use @var{} on parameter names.
55085         (getutmpx): Likewise.
55087 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55089         [BZ #6884]
55090         * manual/stdio.texi (fopen): Fix typos in description of
55091         ",ccs=STRING".
55093 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55095         [BZ #4026]
55096         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55097         get clock_id definition.
55099 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55101         [BZ #4822]
55102         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55103         (madvise): Cast every argument to void on its own.
55105 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55107         [BZ #9902]
55108         * manual/startup.texi (Exit Status): Fix typo.
55110 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55112         [BZ #10140]
55113         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55114         * manual/examples/argp-ex2.c: Likewise.
55115         * manual/examples/argp-ex3.c: Likewise.
55117 2012-02-16  Richard Henderson  <rth@redhat.com>
55119         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55120         * sysdeps/s390/s390-32/initfini.c: Remove.
55121         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55122         * sysdeps/s390/s390-64/initfini.c: Remove.
55124 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55126         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55127         compiler output for sysdeps/generic/initfini.c.
55128         * sysdeps/sh/elf/initfini.c: Remove file.
55130 2012-02-16  David S. Miller  <davem@davemloft.net>
55132         [BZ #11494]
55133         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55135         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55136         * sysdeps/sparc/crti.S: New file.
55137         * sysdeps/sparc/crtn.S: New file.
55138         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55139         * sysdeps/sparc/sparc64/Makefile: Likewise.
55141 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55143         [BZ #3335]
55144         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55146 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55148         [BZ #4822]
55149         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55151         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55152         (write, read, close): Likewise.
55153         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55155 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55157         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55158         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55159         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55160         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55161         <bits/signalfd.h>.
55162         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55163         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55164         bits/signalfd.h.
55166 2012-02-14  Marek Polacek  <polacek@redhat.com>
55168         * sysdeps/x86_64/crti.S: New file.
55169         * sysdeps/x86_64/crtn.S: New file.
55170         * sysdeps/x86_64/elf/initfini.c: Remove file.
55172 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55174         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55175         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55176         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55177         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55178         <bits/inotify.h>.
55179         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55180         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55181         bits/inotify.h.
55183 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55185         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55186         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55187         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55188         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55189         <bits/eventfd.h>.
55190         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55191         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55192         bits/eventfd.h.
55194 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
55196         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55197         __feraiseexcept instead of feraiseexcept.
55199         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55200         nanosleep invocations.
55201         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55202         strings, and add error checking for a nanosleep invocations.
55204 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
55206         Replace FSF snail mail address with URLs, as per GNU coding standards.
55207         Most of the snail mail addresses were wrong anyway, and omitting
55208         them makes the source code easier to maintain.  Almost all of the
55209         changes are to license notices and to locale LC_IDENTIFICATION
55210         addresses, except for this one:
55211         * manual/libc.texinfo: In "Published by", give the FSF's URL,
55212         not its snail mail address.
55214 2012-02-09  Richard Henderson  <rth@twiddle.net>
55216         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55217         of kernel-features.h.
55219         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55221 2012-02-08  Marek Polacek  <polacek@redhat.com>
55223         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55224         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55225         * sysdeps/gnu/_G_config.h: Likewise.
55226         * sysdeps/generic/_G_config.h: Likewise.
55228 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
55230         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55231         tests.
55232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55234         * sysdeps/powerpc/powerpc32/crti.S: New file.
55235         * sysdeps/powerpc/powerpc32/crtn.S: New file.
55236         * sysdeps/powerpc/powerpc64/crti.S: New file.
55237         * sysdeps/powerpc/powerpc64/crtn.S: New file.
55239         * Makeconfig (have-initfini): Don't set.
55240         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55241         * configure.in (nopic_initfini): Don't substitute.
55242         * config.h.in (HAVE_INITFINI): Don't #undef.
55243         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55244         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55246 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
55248         Support crti.S and crtn.S provided directly by architectures.
55249         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55250         [crti.S in sysdirs] (omit-deps): Likewise.
55251         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55252         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55253         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55254         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55255         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55256         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55257         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55258         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55259         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55260         compiler output for sysdeps/generic/initfini.c.
55261         * sysdeps/i386/elf/Makefile: Remove file.
55262         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55264 2012-02-07  Marek Polacek  <polacek@redhat.com>
55266         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55267         * sysdeps/gnu/_G_config.h: Likewise.
55268         * sysdeps/mach/hurd/_G_config.h: Likewise.
55270 2012-02-07  Marek Polacek  <polacek@redhat.com>
55272         * math/Makefile (tests): Add tst-CMPLX2.
55273         * math/tst-CMPLX2.c: New file.
55275 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
55277         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55279         * math/libm-test.inc (jn_test): Add missing L suffix.
55281 2012-02-06  Marek Polacek  <polacek@redhat.com>
55283         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55284         * sysdeps/i386/fpu/e_powf.S: Likewise.
55285         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55286         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55287         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55288         * sysdeps/i386/fpu/e_pow.S: Likewise.
55289         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55290         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55291         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55292         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55293         * sysdeps/i386/fpu/e_log2.S: Likewise.
55294         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55295         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55296         * sysdeps/i386/fpu/e_powl.S: Likewise.
55297         * sysdeps/i386/fpu/s_log1p.S: Likewise.
55298         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55299         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55300         * sysdeps/i386/fpu/e_logl.S: Likewise.
55301         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55302         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55303         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55304         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55305         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55306         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55307         * sysdeps/i386/fpu/e_log.S: Likewise.
55308         * sysdeps/i386/fpu/s_cexp.S: Likewise.
55309         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55310         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55311         * sysdeps/i386/fpu/e_logf.S: Likewise.
55312         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55313         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55314         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55315         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55316         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55317         * sysdeps/i386/fpu/e_log10.S: Likewise.
55318         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55319         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55320         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55321         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55322         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55323         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55324         * sysdeps/i386/asm-syntax.h: Likewise.
55325         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55326         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55327         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55328         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
55329         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
55330         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55331         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55332         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55333         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55334         * sysdeps/powerpc/sysdep.h: Likewise.
55335         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
55336         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55338 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55340         [BZ #411]
55341         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
55343 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55345         * sysdeps/i386/sysdep.h: Include <features.h>.
55346         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
55347         version.
55349 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
55351         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
55352         Define.
55353         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
55354         LOAD_PIC_REG_STR.
55356 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55358         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
55359         (SETUP_PIC_REG): Use GET_PC_THUNK.
55360         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
55361         macro.
55363 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55365         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
55366         for non-PIC compilation.
55367         (SETUP_PIC_REG): Add .p2align directive.
55368         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
55369         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
55370         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55371         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55372         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55373         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55374         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
55375         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55376         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55377         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55378         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55379         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55380         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55381         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55382         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55383         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55384         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55385         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55386         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55387         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55388         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55389         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55390         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55391         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55392         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55393         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55394         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55395         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55396         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55397         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55398         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55399         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55400         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55401         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55402         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55403         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55404         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55405         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55406         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55407         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55408         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55410 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55412         * math/tst-CMPLX.c: Include <stdio.h>.
55414 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
55416         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55417         float.
55418         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55419         * sysdeps/sparc/bits/mathdef.h: Likewise.
55421 2012-01-31  Marek Polacek  <polacek@redhat.com>
55423         * libio/libio.h: Don't define _PARAMS.
55424         * locale/programs/config.h: Don't define PARAMS.
55425         * stdlib/strtol_l.c: Likewise.
55426         (__strtol_l): Remove PARAMS from the prototype.
55428 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
55430         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
55431         names.  Just use the correct names.  Remove unnecessary wrapper
55432         functions.
55433         * malloc/arena.c: Likewise.
55434         * malloc/hooks.c: Likewise.
55436         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55437         ARENA_TEST says not to.  Simplify test for creation of a new arena.
55438         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55440 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
55442         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55443         into tail calls.
55444         (update_get_addr): New function.
55445         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55446         GET_ADDR_MODULE parameter.
55448 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55450         * crypt/cert.c: Remove __STDC__ conditionals.
55451         * crypt/crypt-entry.c: Likewise.
55452         * crypt/crypt_util.c: Likewise.
55453         * libio/filedoalloc.c: Likewise.
55454         * libio/fileops.c: Likewise.
55455         * libio/genops.c: Likewise.
55456         * libio/iofclose.c: Likewise.
55457         * libio/iofdopen.c: Likewise.
55458         * libio/iofopen.c: Likewise.
55459         * libio/iofopen64.c: Likewise.
55460         * libio/iogetdelim.c: Likewise.
55461         * libio/iopopen.c: Likewise.
55462         * libio/obprintf.c: Likewise.
55463         * libio/oldfileops.c: Likewise.
55464         * libio/oldiofclose.c: Likewise.
55465         * libio/oldiofdopen.c: Likewise.
55466         * libio/oldiofopen.c: Likewise.
55467         * libio/oldiopopen.c: Likewise.
55468         * libio/wfiledoalloc.c: Likewise.
55469         * libio/wgenops.c: Likewise.
55470         * locale/programs/xmalloc.c: Likewise.
55471         * misc/syslog.c: Likewise.
55472         * stdio-common/xbug.c: Likewise.
55473         * string/memchr.c: Likewise.
55474         * string/memcmp.c: Likewise.
55475         * string/memrchr.c: Likewise.
55476         * string/rawmemchr.c: Likewise.
55477         * sysdeps/posix/getcwd.c: Likewise.
55478         * time/strftime_l.c: Likewise.
55480 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55482         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55483         * config.make.in (config-cflags-sse2avx): Define.
55484         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55485         Fix typo.
55487 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
55489         * scripts/config.guess: Update from upstream config git repository.
55490         * scripts/config.sub: Likewise.
55492 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
55494         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55495         (EM_NUM): Update.
55496         (R_TILEPRO_*, R_TILEGX_*): New macros.
55498         * scripts/firstversions.awk: Fix bug in version range handling.
55500         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55502         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55504         * include/sys/epoll.h: New file.
55505         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55506         libc_hidden_def.
55508 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
55510         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55511         Avoid unnecessary __WORDSIZE == 64 test.
55512         (fmaxf): Use VEX format if possible.
55513         (fmax): Likewise.
55514         (fminf): Likewise.
55515         (fmin): Likewise.
55517         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55518         * math/math_private.h: Remove libc_fegetround* and
55519         libc_fesetround*.
55520         * sysdeps/i386/configure.in: Check for -msse2avx.
55521         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55522         also if SSE2AVX is defined.
55523         Remove libc_fegetround* and libc_fesetround*.
55524         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55525         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
55526         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55527         of HAS_YMM_USABLE.
55528         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55529         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55530         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55531         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55532         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55534         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55536 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55538         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55539         size is not set.
55540         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55542 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
55544         [BZ #13618]
55545         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55546         relocation.
55547         * Makeconfig (libm): Define.
55548         * elf/Makefile: Add rules to build and run tst-relsort1.
55549         * elf/tst-relsort1.c: New file.
55550         * elf/tst-relsort1mod1.c: New file.
55551         * elf/tst-relsort1mod2.c: New file.
55553 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
55555         * math/s_ldexp.c: Remove __STDC__ conditionals.
55556         * math/s_ldexpf.c: Likewise.
55557         * math/s_ldexpl.c: Likewise.
55558         * math/s_nextafter.c: Likewise.
55559         * math/s_nexttowardf.c: Likewise.
55560         * math/s_significand.c: Likewise.
55561         * math/s_significandf.c: Likewise.
55562         * math/s_significandl.c: Likewise.
55563         * math/w_jnl.c: Likewise.
55564         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55565         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55566         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55567         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55568         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55569         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55570         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55571         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55572         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55573         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55574         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55575         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55576         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55577         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55578         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55579         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55580         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55581         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55582         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55583         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55584         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55585         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55586         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55587         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55588         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55589         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55590         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55591         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55592         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55593         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55594         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55595         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55596         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55597         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55598         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55599         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55600         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55601         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55602         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55603         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55604         * sysdeps/ieee754/k_standard.c: Likewise.
55605         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55606         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55607         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55608         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55609         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55610         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55611         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55612         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55613         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55614         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55615         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55616         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55617         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55618         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55619         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55620         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55621         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55622         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55623         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55624         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55625         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55626         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55627         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55628         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55629         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55630         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55631         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55632         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55633         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55634         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55635         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55636         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55637         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55638         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55639         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55640         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55641         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55642         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55643         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55644         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55645         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55646         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55647         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55648         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55649         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55650         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55651         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55652         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55653         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55654         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55655         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55656         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55657         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55658         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55659         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55660         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55661         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55662         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55663         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55664         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55665         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55666         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55667         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55668         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55669         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55670         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55671         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55672         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55673         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55674         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55675         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55676         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55677         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55678         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55679         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55680         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55681         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55682         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55683         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55684         * sysdeps/ieee754/s_matherr.c: Likewise.
55685         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55686         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55687         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55688         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55690 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55692         * crypt/md5.h: Remove __STDC__ conditionals.
55693         * libio/libioP.h: Likewise.
55694         * locale/programs/config.h: Likewise.
55695         * sysdeps/generic/sysdep.h: Likewise.
55696         * sysdeps/i386/asm-syntax.h: Likewise.
55697         * sysdeps/s390/asm-syntax.h: Likewise.
55698         * sysdeps/unix/sysdep.h: Likewise.
55699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55702 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55704         * libio/libio.h: Remove __STDC__ conditionals.
55705         * malloc/obstack.h: Likewise.
55706         * math/complex.h: Likewise.
55707         * math/math.h: Likewise.
55708         * sysdeps/generic/_G_config.h: Likewise.
55709         * sysdeps/gnu/_G_config.h: Likewise.
55710         * sysdeps/mach/hurd/_G_config.h: Likewise.
55711         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55712         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55713         * sysdeps/sparc/bits/mathdef.h: Likewise.
55715 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
55717         [BZ #13583]
55718         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55719         Clean up HAS_* macros.
55720         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55721         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55722         possible.
55723         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55724         HAS_AVX.
55725         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55726         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55727         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55728         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55729         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55731 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
55733         * elf/tst-unique3.cc (gets): Remove declaration.
55734         * elf/tst-unique3lib.cc (gets): Likewise.
55735         * elf/tst-unique3lib2.cc (gets): Likewise.
55736         * elf/tst-unique4.cc (gets): Likewise.
55738 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
55740         * include/stdio.h: Add C++ protection.  Add gets declarations and
55741         definitions.
55742         * debug/tst-chk1.c: Don't declare gets here.
55743         * stdio-common/tst-gets.c: Likewise.
55745 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55747         * posix/glob: Remove directory.
55749 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55751         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55753 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
55755         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55756         of the non-standard EPFNOSUPPORT.
55758 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55760         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55761         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55762         ANYWHERE set to 1 only on KERN_NO_SPACE error.
55764 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
55766         * wcsmbs/uchar.h: Test __STDC_VERSION__.
55768 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
55770         * nscd/aicache.c (addhstaiX): Do not cache negative results of
55771         transient errors.
55772         * nscd/grpcache.c (cache_addgr): Likewise.
55773         * nscd/hstcache.c (cache_addhst): Likewise.
55774         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55775         * nscd/pwdcache.c (cache_addpw): Likewise.
55776         * nscd/servicescache.c (cache_addserv): Likewise.
55778 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
55780         * malloc/malloc.c: Various cleanups.
55781         * malloc/hooks.c: Likewise.
55783         * stdlib/Makefile (tests): Add bug-fmtmsg1.
55784         * stdlib/bug-fmtmsg1.c: New file.
55786         * stdlib/fmtmsg.c (init): Add missing unlock.
55787         Patch by Peng Haitao <penght@cn.fujitsu.com>.
55789 2012-01-12  Marek Polacek  <polacek@redhat.com>
55791         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55792         and _GNU_SOURCE.
55794 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55796         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55797         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55798         macro to ensure uniqueness of label name.
55799         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55800         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55802 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
55804         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55806         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55807         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55808         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55809         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55811 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
55813         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55815         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55816         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55817         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55819         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55821         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55822         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55823         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55824         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55826         * math/bits/math-finite.h: Add ldexp support.
55828 2012-01-10  Marek Polacek  <polacek@redhat.com>
55830         * locale/programs/localedef.h (show_archive_content): Add noreturn
55831         attribute.
55833 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
55835         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55837 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55839         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55841         * io/Makefile (headers): Add bits/poll2.h.
55843 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
55845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55846         typo #include statement.
55848 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55850         * include/sys/cdefs.h: Define __attribute_alloc_size.
55851         * catgets/gencat.c: Add alloc_size attribute and apply consistently
55852         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55853         * elf/pldd.c: Likewise.
55854         * iconv/iconv_charmap.c: Likewise.
55855         * iconv/iconvconfig.c: Likewise.
55856         * iconv/strtab.c: Likewise.
55857         * locale/programs/locale.c: Likewise.
55858         * locale/programs/localedef.h: Likewise.
55859         * locale/programs/simple-hash.c: Likewise.
55860         * nscd/nscd.h: Likewise.
55861         * nss/makedb.c: Likewise.
55862         * sysdeps/generic/ldconfig.h: Likewise.
55863         * locale/programs/localedef.c: Remove xmalloc prototype.
55864         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55866 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55868         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55869         appropriate.
55871 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55873         * math/Makefile (tests): Add tst-CMPLX.
55874         * math/tst-CMPLX.c: New file.
55876         * math/complex.h (CMPLXL): Fix typo.
55878         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55879         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55880         GLIBC_2.16.
55881         * debug/tst-chk1.c: Add poll and ppoll tests.
55882         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55883         * include/sys/poll.h: Add hidden proto for ppoll.
55884         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55885         * sysdeps/mach/hurd/ppoll.c: Likewise.
55886         * io/ppoll.c: Likewise.
55887         * debug/poll_chk.c: New file.
55888         * debug/ppoll_chk.c: New file.
55889         * include/bits/poll2.h: New file.
55890         * io/bits/poll2.h: New file.
55892         [BZ #1350]
55893         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55895         * configure.in: static is always set to yes.  Remove.
55896         * config.make.in: Don't set build-static.
55897         * Makeconfig: Remove use of build-static.
55898         * dlfcn/Makefile: Likewise.
55899         * elf/Makefile: Likewise.
55900         * math/Makefile: Likewise.
55901         * misc/Makefile: Likewise.
55902         * nptl/Makefile: Likewise.
55903         * sysdeps/mach/hurd/Makefile: Likewise.
55905         * configure.in: PWD_P is not used anymore.
55906         * config.make.in: Remove PWD_P entry.
55908         * configure.in: Remove last remnants of RANLIB.
55909         No need to check for signed size_t anymore.
55910         Don't set libc_commonpagesize and libc_relro_required here for Alpha
55911         and IA-64.
55912         Remove __builtin_expect test because we require at least gcc 3.4.
55913         * aclocal.m4: Likewise.
55915         * wcsmbs/mbrtoc16.c: Implement using towc function.
55916         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55917         * wcsmbs/wcsmbsload.c: Likewise.
55918         * iconv/gconv_simple.c: Likewise.
55919         * iconv/gconv_int.h: Likewise.
55920         * iconv/gconv_builtin.h: Likewise.
55921         * iconv/iconv_prog.c: Remove CHAR16 handling.
55923         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55925         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55927         * configure.in: Remove --with-elf and --enable-bounded options.
55928         Dont set base_machine for ia64.  More non-ELF conditions removed.
55929         Remove testing and setting of leading underscore information.
55930         * config.make.in (build-bounded): Set to no.
55931         * config.h.in: Remove NO_UNDERSCORES entry.
55932         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
55933         them.
55934         * csu/start.c: Remove !NO_UNDERSCORE code.
55935         * locale/localeinfo.h: Likewise.
55936         * sysdeps/generic/machine-gmon.h: Likewise.
55937         * sysdeps/generic/sysdep.h: Likewise.
55938         * sysdeps/i386/sysdep.h: Likewise.
55939         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55940         * sysdeps/mach/sysdep.h: Likewise.
55941         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55942         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55943         * sysdeps/sh/sysdep.h: Likewise.
55944         * sysdeps/sparc/sparc32/alloca.S: Likewise.
55945         * sysdeps/unix/i386/sysdep.S: Likewise.
55946         * sysdeps/unix/sparc/start.c: Likewise.
55947         * sysdeps/unix/sparc/sysdep.S: Likewise.
55948         * sysdeps/unix/sparc/sysdep.h: Likewise.
55949         * sysdeps/unix/start.c: Likewise.
55950         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55951         * sysdeps/x86_64/sysdep.h: Likewise.
55953 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
55955         [BZ #13553]
55956         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55957         for non-gcc.
55958         * argp/argp-fmtstream.h: Use const instead __const.
55959         * argp/argp.h: Likewise.
55960         * assert/assert.h: Likewise.
55961         * bits/fenv.h: Likewise.
55962         * bits/sched.h: Likewise.
55963         * bits/sigset.h: Likewise.
55964         * bits/sigthread.h: Likewise.
55965         * catgets/nl_types.h: Likewise.
55966         * conform/data/pthread.h-data: Likewise.
55967         * crypt/crypt-private.h: Likewise.
55968         * crypt/crypt.h: Likewise.
55969         * crypt/crypt_util.c: Likewise.
55970         * ctype/ctype.h: Likewise.
55971         * debug/execinfo.h: Likewise.
55972         * debug/mbsnrtowcs_chk.c: Likewise.
55973         * debug/mbsrtowcs_chk.c: Likewise.
55974         * debug/wcsnrtombs_chk.c: Likewise.
55975         * debug/wcsrtombs_chk.c: Likewise.
55976         * debug/wcstombs_chk.c: Likewise.
55977         * dirent/dirent.h: Likewise.
55978         * dlfcn/dlfcn.h: Likewise.
55979         * elf/neededtest4.c: Likewise.
55980         * grp/grp.h: Likewise.
55981         * gshadow/gshadow.h: Likewise.
55982         * iconv/gconv.h: Likewise.
55983         * iconv/gconv_int.h: Likewise.
55984         * iconv/gconv_simple.c: Likewise.
55985         * iconv/iconv.h: Likewise.
55986         * iconv/loop.c: Likewise.
55987         * iconv/skeleton.c: Likewise.
55988         * include/aio.h: Likewise.
55989         * include/aliases.h: Likewise.
55990         * include/argz.h: Likewise.
55991         * include/arpa/inet.h: Likewise.
55992         * include/assert.h: Likewise.
55993         * include/dirent.h: Likewise.
55994         * include/dlfcn.h: Likewise.
55995         * include/execinfo.h: Likewise.
55996         * include/fcntl.h: Likewise.
55997         * include/fenv.h: Likewise.
55998         * include/glob.h: Likewise.
55999         * include/grp.h: Likewise.
56000         * include/libintl.h: Likewise.
56001         * include/mntent.h: Likewise.
56002         * include/netdb.h: Likewise.
56003         * include/pwd.h: Likewise.
56004         * include/rpc/netdb.h: Likewise.
56005         * include/sched.h: Likewise.
56006         * include/search.h: Likewise.
56007         * include/shadow.h: Likewise.
56008         * include/signal.h: Likewise.
56009         * include/stdio.h: Likewise.
56010         * include/stdlib.h: Likewise.
56011         * include/string.h: Likewise.
56012         * include/sys/socket.h: Likewise.
56013         * include/sys/stat.h: Likewise.
56014         * include/sys/statfs.h: Likewise.
56015         * include/sys/statvfs.h: Likewise.
56016         * include/sys/syslog.h: Likewise.
56017         * include/sys/time.h: Likewise.
56018         * include/sys/uio.h: Likewise.
56019         * include/time.h: Likewise.
56020         * include/unistd.h: Likewise.
56021         * include/utmp.h: Likewise.
56022         * include/wchar.h: Likewise.
56023         * include/wctype.h: Likewise.
56024         * inet/aliases.h: Likewise.
56025         * inet/arpa/inet.h: Likewise.
56026         * inet/netinet/ether.h: Likewise.
56027         * inet/netinet/in.h: Likewise.
56028         * intl/libintl.h: Likewise.
56029         * io/bits/fcntl2.h: Likewise.
56030         * io/fcntl.h: Likewise.
56031         * io/ftw.h: Likewise.
56032         * io/sys/poll.h: Likewise.
56033         * io/sys/stat.h: Likewise.
56034         * io/sys/statfs.h: Likewise.
56035         * io/sys/statvfs.h: Likewise.
56036         * io/utime.h: Likewise.
56037         * libio/bits/stdio.h: Likewise.
56038         * libio/bits/stdio2.h: Likewise.
56039         * libio/libio.h: Likewise.
56040         * libio/libioP.h: Likewise.
56041         * libio/stdio.h: Likewise.
56042         * locale/lc-ctype.c: Likewise.
56043         * locale/locale.h: Likewise.
56044         * login/utmp.h: Likewise.
56045         * malloc/arena.c: Likewise.
56046         * malloc/malloc.c: Likewise.
56047         * malloc/malloc.h: Likewise.
56048         * malloc/mcheck.c: Likewise.
56049         * malloc/mtrace.c: Likewise.
56050         * math/bits/mathcalls.h: Likewise.
56051         * math/fenv.h: Likewise.
56052         * math/math_private.h: Likewise.
56053         * misc/bits/error.h: Likewise.
56054         * misc/bits/syslog.h: Likewise.
56055         * misc/err.h: Likewise.
56056         * misc/error.h: Likewise.
56057         * misc/fstab.h: Likewise.
56058         * misc/mntent.h: Likewise.
56059         * misc/regexp.h: Likewise.
56060         * misc/search.h: Likewise.
56061         * misc/sgtty.h: Likewise.
56062         * misc/sys/mman.h: Likewise.
56063         * misc/sys/syslog.h: Likewise.
56064         * misc/sys/uio.h: Likewise.
56065         * misc/sys/xattr.h: Likewise.
56066         * misc/ttyent.h: Likewise.
56067         * nis/rpcsvc/ypclnt.h: Likewise.
56068         * nss/nss.h: Likewise.
56069         * posix/bits/unistd.h: Likewise.
56070         * posix/fnmatch.h: Likewise.
56071         * posix/glob.h: Likewise.
56072         * posix/sched.h: Likewise.
56073         * posix/spawn.h: Likewise.
56074         * posix/sys/wait.h: Likewise.
56075         * posix/unistd.h: Likewise.
56076         * posix/wordexp.h: Likewise.
56077         * pwd/pwd.h: Likewise.
56078         * resolv/netdb.h: Likewise.
56079         * resource/sys/resource.h: Likewise.
56080         * rt/aio.h: Likewise.
56081         * rt/bits/mqueue2.h: Likewise.
56082         * rt/mqueue.h: Likewise.
56083         * shadow/shadow.h: Likewise.
56084         * signal/signal.h: Likewise.
56085         * socket/send.c: Likewise.
56086         * socket/sendto.c: Likewise.
56087         * socket/sys/socket.h: Likewise.
56088         * stdio-common/printf.h: Likewise.
56089         * stdlib/bits/stdlib.h: Likewise.
56090         * stdlib/fmtmsg.h: Likewise.
56091         * stdlib/monetary.h: Likewise.
56092         * stdlib/stdlib.h: Likewise.
56093         * stdlib/ucontext.h: Likewise.
56094         * streams/stropts.h: Likewise.
56095         * string/argz.h: Likewise.
56096         * string/bits/string2.h: Likewise.
56097         * string/string.h: Likewise.
56098         * string/strings.h: Likewise.
56099         * sunrpc/rpc/auth.h: Likewise.
56100         * sunrpc/rpc/auth_des.h: Likewise.
56101         * sunrpc/rpc/clnt.h: Likewise.
56102         * sunrpc/rpc/netdb.h: Likewise.
56103         * sunrpc/rpc/pmap_clnt.h: Likewise.
56104         * sunrpc/rpc/xdr.h: Likewise.
56105         * sysdeps/generic/inttypes.h: Likewise.
56106         * sysdeps/generic/net/if.h: Likewise.
56107         * sysdeps/generic/sys/swap.h: Likewise.
56108         * sysdeps/gnu/net/if.h: Likewise.
56109         * sysdeps/gnu/utmpx.h: Likewise.
56110         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56111         * sysdeps/i386/i486/bits/string.h: Likewise.
56112         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56113         * sysdeps/s390/bits/string.h: Likewise.
56114         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56115         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56116         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56117         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56118         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56119         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56120         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56121         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56122         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56123         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56124         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56125         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56126         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56127         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56128         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56129         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56130         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56131         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56132         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56133         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56134         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56135         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56136         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56137         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56138         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56139         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56140         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56141         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56142         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56143         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56144         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56145         * sysvipc/sys/ipc.h: Likewise.
56146         * sysvipc/sys/msg.h: Likewise.
56147         * sysvipc/sys/sem.h: Likewise.
56148         * sysvipc/sys/shm.h: Likewise.
56149         * termios/termios.h: Likewise.
56150         * time/sys/time.h: Likewise.
56151         * time/time.h: Likewise.
56152         * wcsmbs/bits/wchar2.h: Likewise.
56153         * wcsmbs/uchar.h: Likewise.
56154         * wcsmbs/wchar.h: Likewise.
56155         * wctype/wctype.h: Likewise.
56157         [BZ #13551]
56158         * Makeconfig: Remove all but ELF support including AIX support.
56159         * Makerules: Likewise.
56160         * config.h.in: Likewise.
56161         * config.make.in: Likewise.
56162         * configure: Likewise.
56163         * configure.in: Likewise.
56164         * csu/Makefile: Likewise.
56165         * csu/version.c: Likewise.
56166         * debug/Makefile: Likewise.
56167         * dlfcn/Makefile: Likewise.
56168         * elf/Makefile: Likewise.
56169         * extra-lib.mk: Likewise.
56170         * iconv/Makefile: Likewise.
56171         * include/libc-symbols.h: Likewise.
56172         * include/shlib-compat.h: Likewise.
56173         * resolv/Makefile: Likewise.
56174         * resolv/res_libc.c: Likewise.
56175         * rt/Makefile: Likewise.
56176         * sysdeps/i386/asm-syntax.h: Likewise.
56177         * sysdeps/i386/sysdep.h: Likewise.
56178         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56179         * sysdeps/mach/sysdep.h: Likewise.
56180         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56181         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56182         * sysdeps/s390/asm-syntax.h: Likewise.
56183         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56184         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56185         * sysdeps/sh/sysdep.h: Likewise.
56186         * sysdeps/unix/sparc/sysdep.h: Likewise.
56187         * sysdeps/wordsize-32/divdi3.c: Likewise.
56188         * sysdeps/x86_64/sysdep.h: Likewise.
56190         * argp/Versions: Remove _argp_unlock_xxx.
56192         [BZ #13559]
56193         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
56194         * abilist/libBrokenLocale.abilist: Likewise.
56195         * abilist/libanl.abilist: Likewise.
56196         * abilist/libc.abilist: Likewise.
56197         * abilist/libcrypt.abilist: Likewise.
56198         * abilist/libdl.abilist: Likewise.
56199         * abilist/libm.abilist: Likewise.
56200         * abilist/libnsl.abilist: Likewise.
56201         * abilist/libpthread.abilist: Likewise.
56202         * abilist/libresolv.abilist: Likewise.
56203         * abilist/librt.abilist: Likewise.
56204         * abilist/libthread_db.abilist: Likewise.
56205         * abilist/libutil.abilist: Likewise.
56206         * abilist/libnss_db.abilist: New file.
56208         * scripts/abilist.awk: Add support for indirect functions.
56210         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56212         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56214         * shlib-versions: Remove entries for ports architectures.
56216         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
56217         files in ports.
56218         * elf/stackguard-macros.h: Remove support for IA-64.
56219         * elf/tst-auditmod1.c: Likewise.
56220         * sysdeps/generic/ldsodefs.h: Likewise.
56222         * sysdeps/unix/sysv/linux/configure.in: Ports should define
56223         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56224         configure files.
56226         [BZ #13552]
56227         * configure.in: Remove --enable-omitfp support.
56228         * FAQ.in: Adjust.
56229         * config.make.in: Likewise.
56230         * Makeconfig: Likewise.
56231         * manual/install.texi: Likewise.
56233         In case anyone cares, the IA-64 architecture could move to ports.
56234         * sysdeps/ia64/*: Removed.
56235         * sysdeps/unix/sysv/linux/ia64/*: Removed.
56236         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56238         [BZ #13555]
56239         * configure.in: Remove entries for unsupported architectures.
56241         [BZ #13533]
56242         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56243         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
56244         routines.
56245         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56246         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56247         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
56248         fall back to using wcrtomb.
56249         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56250         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
56251         renaming.
56252         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56253         * wcsmbs/tst-c16c32-1.c: New file.
56255         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56256         local variable.
56258         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56260         * elf/tst-unique3.cc: Add explicit declaration of gets.
56261         * elf/tst-unique3lib.cc: Likewise.
56262         * elf/tst-unique3lib2.cc: Likewise.
56263         * elf/tst-unique4.cc: Likewise.
56265         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56267 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
56269         [BZ #13566]
56270         * assert/assert.h (static_assert): Don't define for C++.
56271         * libio/stdio.h (gets): Do declare for C++ <= C++11.
56272         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56274 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
56276         * iconv/loop.c (single loop): Fix assertion in storing of
56277         remaining bytes.
56279         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56281 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
56283         * posix/getconf.c: Update copyright year.
56284         * nss/getent.c: Likewise.
56285         * nss/makedb.c: Likewise.
56286         * iconv/iconvconfig.c: Likewise.
56287         * iconv/iconv_prog.c: Likewise.
56288         * elf/ldconfig.c: Likewise.
56289         * elf/pldd.c: Likewise.
56290         * elf/sotruss.ksh: Likewise.
56291         * catgets/gencat.c: Likewise.
56292         * csu/version.c: Likewise.
56293         * elf/ldd.bash.in: Likewise.
56294         * elf/sprof.c (print_version): Likewise.
56295         * locale/programs/locale.c: Likewise.
56296         * locale/programs/localedef.c: Likewise.
56297         * login/programs/pt_chown.c: Likewise.
56298         * nscd/nscd.c (print_version): Likewise.
56299         * debug/xtrace.sh: Likewise.
56300         * malloc/memusage.sh: Likewise.
56301         * malloc/mtrace.pl: Likewise.
56302         * debug/catchsegv.sh: Likewise.
56304 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
56306         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56307         pure attribute.
56309 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
56311         [BZ #13533]
56312         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56313         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56314         transformations.
56315         * iconv/gconv_int.h: Likewise.
56316         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56317         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
56318         from libc for GLIBC_2.16.
56319         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
56320         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
56321         * wcsmbs/uchar.h: Really define mbstate_t.
56322         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
56323         * wcsmbs/c16rtomb.c: New file.
56324         * wcsmbs/mbrtoc16.c: New file.
56325         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
56326         for C/POSIX locale.
56327         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
56328         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
56330         * wcsmbs/wchar.h: Add missing __restrict.
56332 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56334         [BZ #13532]
56335         * time/Makefile (routines): Add timespec_get.
56336         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
56337         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
56338         timespec for ISO C11.
56339         * time/timespec_get.c: New file.
56340         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
56341         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
56343         [BZ #13531]
56344         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
56345         * stdlib/stdlib.h: Declare aligned_alloc.
56346         * Versions.def: Add GLIBC_2.16 for libc.
56347         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
56349         [BZ 13527]
56350         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
56351         ISO C11.
56353         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
56354         code.
56356         [BZ #13528]
56357         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
56359         [BZ #13529]
56360         * assert/assert.h (static_assert): Define.
56362         * version.h: Update for 2.16 development version.
56364         [BZ #13526]
56365         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
56366         _ISOC11_SOURCE.
56368         * version.h (RELEASE): Bump for 2.15 release.
56369         * include/features.h (__GLIBC_MINOR__): Bump to 15.
56371         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
56372         Patch by Marek Polacek <mpolacek@redhat.com>.
56374         * bits/byteswap.h: Protect long long constants with __extension__.
56375         * sysdeps/i386/bits/byteswap.h: Likewise.
56376         * sysdeps/ia64/bits/byteswap.h: Likewise.
56377         * sysdeps/s390/bits/byteswap.h: Likewise.
56378         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56380 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56382         [BZ #13540]
56383         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
56384         destination buffer.
56385         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56387 2011-12-23  Marek Polacek  <polacek@redhat.com>
56389         * elf/dl-addr.c (determine_info): Add inline keyword.
56390         * elf/tst-auditmod4b.c (check_avx): Likewise.
56391         * elf/tst-auditmod6b.c (check_avx): Likewise.
56392         * elf/tst-auditmod6c.c (check_avx): Likewise.
56393         * elf/tst-auditmod7b.c (check_avx): Likewise.
56395 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56397         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56398         !__SSE_MATH__.
56400 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56402         [BZ #13540]
56403         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56404         processing for last bytes.
56406 2011-08-06  Bruno Haible  <bruno@clisp.org>
56408         [BZ #13061]
56409         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56410         U+0385, not to U+1FEE.
56412         [BZ #13062]
56413         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56414         entry for U+00A5 U+0301.
56416 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56418         [BZ #13166]
56419         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56420         buffer for the output is too small.
56422         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56423         optimization.
56425         [BZ #13185]
56426         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56427         SSE flags if possible.
56429 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56431         [BZ #13540]
56432         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56433         processing for last bytes.
56435 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
56437         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56438         (syscall-list-default-options, syscall-list-default-condition)
56439         (syscall-list-includes): Define.
56440         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56441         list of ABIs and options and #if conditions for each ABI.  Do not
56442         handle common syscalls between ABIs specially.
56443         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56444         Remove.
56445         (syscall-list-variants, syscall-list-32bit-options)
56446         (syscall-list-32bit-condition, syscall-list-64bit-options)
56447         (syscall-list-64bit-condition): Define.
56448         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56449         (syscall-list-variants, syscall-list-32bit-options)
56450         (syscall-list-32bit-condition, syscall-list-64bit-options)
56451         (syscall-list-64bit-condition): Define.
56452         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56453         Remove.
56454         (syscall-list-variants, syscall-list-32bit-options)
56455         (syscall-list-32bit-condition, syscall-list-64bit-options)
56456         (syscall-list-64bit-condition): Define.
56457         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56458         Remove.
56459         (syscall-list-variants, syscall-list-32bit-options)
56460         (syscall-list-32bit-condition, syscall-list-64bit-options)
56461         (syscall-list-64bit-condition): Define.
56463 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56465         * locale/iso-639.def: Add brx entry.
56467         [BZ #13328]
56468         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56469         Proposed by Mariusz_Cukr <marcukr@op.pl>.
56471         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56472         __feraiseexcept_renamed.
56474 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56476         [BZ #13538]
56477         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56478         EPOLLET with unsigned values.
56479         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56480         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56482         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56483         to large cancellation.
56484         * math/s_cacoshf.c: Likewise.
56485         * math/s_cacoshl.c: Likewise.
56487 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
56489         [BZ #13305]
56490         [BZ #12786]
56491         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56492         * math/s_cacoshf.c: Likewise.
56493         * math/s_cacoshl.c: Likewise.
56495 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56497         [BZ #13439]
56498         * iconv/gconv.h: Define __GCONV_SWAP.
56499         * iconvdata/unicode.c: The swap bit must be stored in __flags.
56500         * iconvdata/utf-16.c: Likewise.
56501         * iconvdata/utf-32.c: Likewise.
56503 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
56505         [BZ #13524]
56506         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56507         numerator after shifting it by one limb.
56509 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
56511         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56512         under [__USE_EXTERN_INLINES].
56514 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56516         [BZ #13446]
56517         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56519 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56521         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56522         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56523         optimized code.
56524         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56525         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56526         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56527         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56528         for strncasecmp/strncasecmp_l compilation.
56529         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56530         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56532 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
56534         [BZ #13484]
56535         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56536         of __asm__.
56538 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56540         [BZ #13506]
56541         * time/tzfile.c (__tzfile_read): Check values from file header.
56543 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56545         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56546         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56547         * powerpc/powerpc32/dl-start.S: Likewise.
56548         * powerpc/powerpc32/elf/start.S: Likewise.
56549         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56550         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56551         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56552         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56553         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56554         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56555         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56556         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56557         * powerpc/powerpc32/fpu/s_round.S: Likewise.
56558         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56559         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56560         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56561         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56562         * powerpc/powerpc32/memset.S: Likewise.
56563         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56564         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56565         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56566         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56567         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56568         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56569         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56570         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56571         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56572         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56573         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56574         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56575         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56577 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56579         * math/libm-test.inc: Added more nearbyint tests.
56580         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56581         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56582         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56583         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56585 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
56587         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56588         FD_CLOEXEC.
56590 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56592         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56593         Add wcscpy-ssse3 wcscpy-c.
56594         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56595         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56596         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56597         * sysdeps/x86_64/wcschr.S: New file.
56598         * sysdeps/x86_64/wcsrchr.S: New file.
56599         * string/test-strcmp.c: Remove checking of wcscmp function for
56600         wrong alignments.
56601         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56602         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56603         wcsrchr-sse2 wcsrchr-c.
56604         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56605         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56606         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56607         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56608         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56609         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56610         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56611         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56612         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56613         * wcsmbc/wcschr.c (WCSCHR): New macro.
56615 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56617         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56618         * wcsmbs/test-wcsrchr.c: New file.
56619         * string/test-strrchr.c: Add wcsrchr support.
56620         (WIDE): New macro.
56621         * wcsmbs/test-wcscpy.c: New file.
56622         * string/test-strcpy.c: Add wcscpy support.
56623         (WIDE): New macro.
56625 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
56627         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56628         the inner loop.
56630 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
56632         [BZ #13472]
56633         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56635 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
56637         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56638         Minor optimizations.
56640         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56641         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56642         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56644 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
56646         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56647         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56648         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56649         for gcc to avoid warnings.
56650         * inet/Makefile (tests): Add tst-checks.
56651         * inet/tst-checks.c: New file.
56653         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56654         warning.
56656         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56657         __wmemcmp_sse2.
56659         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56660         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56662         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56664 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
56666         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56667         problem.
56669         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56671 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
56673         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56674         conditional on GCC version.
56675         (__arch_compare_and_exchange_val_8_acq)
56676         (__arch_compare_and_exchange_val_16_acq)
56677         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56678         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56679         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56681 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
56683         * sysdeps/sh/backtrace.c: New file.
56685 2011-12-02  Andreas Schwab  <schwab@redhat.com>
56687         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
56688         parenthesis.
56690 2011-12-01  Andreas Schwab  <schwab@redhat.com>
56692         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56693         falling back to utime.
56695 2011-11-30  Andreas Schwab  <schwab@redhat.com>
56697         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56698         expectations for float.
56700 2011-11-29  Andreas Schwab  <schwab@redhat.com>
56702         * locale/weight.h (findidx): Add parameter len.
56703         * locale/weightwc.h (findidx): Likewise.
56704         * posix/fnmatch_loop.c (FCT): Adjust caller.
56705         * posix/regcomp.c (build_equiv_class): Likewise.
56706         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56707         * posix/regexec.c (check_node_accept_bytes): Likewise.
56708         * string/strcoll_l.c (STRCOLL): Likewise.
56709         * string/strxfrm_l.c (STRXFRM): Likewise.
56711 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
56713         * Makefile.in: Remove CVSOPT handling.
56714         * configure.in: Remove use of AC_REVISION.
56715         * iconvdata/Makefile (distribute): No need to filter out CVS.
56716         * scripts/list-sources.sh: Remove CVS, subversion and monotone
56717         handling.
56719 2011-11-16  Andreas Schwab  <schwab@redhat.com>
56721         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56722         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56723         [USE_AS_STRNCASECMP_L]: Likewise.
56724         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56725         NO_TLS_DIRECT_SEG_REFS.
56726         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56727         Fix argument offsets for non-PIC.
56728         [USE_AS_STRNCASECMP_L]: Likewise.
56729         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56730         NO_TLS_DIRECT_SEG_REFS.
56732 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56734         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56735         O_CLOEXEC.
56736         * locale/loadlocale.c (_nl_load_locale): Likewise.
56738 2011-11-15  Andreas Schwab  <schwab@redhat.com>
56740         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56741         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56742         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56743         (SYSCALL_GETTIME): Set errno on error.
56745         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56746         count references to noai6ai_cached.
56748 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56750         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56752         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56753         FD_CLOEXEC for /proc/self/maps.
56755         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56756         FD_CLOEXEC for /proc/meminfo.
56758         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56759         gai.conf.
56761         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
56762         FD_CLOEXEC for given file.
56764         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56766         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56767         FD_CLOEXEC for /etc/hosts.
56768         (_gethtent): Likewise.
56770         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56772         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56773         cancellation and set FD_CLOEXEC for /etc/netgroup.
56775         * nss/nss_files/files-key.c (search): Don't allow cancellation when
56776         reading /etc/publickey.
56778         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56779         allow cancellation when reading /etc/group.
56781         * nss/nss_files/files-alias.c (internal_setent): Don't allow
56782         cancellation.
56783         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
56785         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56786         when using data file.
56788         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56790         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56791         (write_nis_obj): Use "c" and "e" in fopen.
56793         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56795         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56797         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56799         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56801         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56802         locale.alias.
56804         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56806         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56808         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56810         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56811         file parsing and set FD_CLOEXEC.
56813 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56815         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56817 2011-11-14  Andreas Schwab  <schwab@redhat.com>
56819         * malloc/arena.c (arena_get2): Don't call reused_arena when
56820         _int_new_arena failed.
56822 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56824         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56825         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56826         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56827         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56828         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56829         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56830         to compile strcasecmp and strncasecmp.
56831         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56832         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56834         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56836 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
56838         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56839         locale-defines.sym to gen-as-const-headers.
56840         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56841         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56842         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56843         to compile strcasecmp and strncasecmp.
56844         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56845         strcasecmp_l and strncasecmp_l.
56846         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56847         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56848         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56849         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56850         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56851         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56852         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56853         * sysdeps/i386/i686/multiarch/strncase.S: New file.
56854         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56855         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56856         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56858 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
56860         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56861         result of SYSDEP_GETTIME_CPU to retval.
56862         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56863         parameter list to macro.  Remove trailing semicolon.  Adjust users.
56865         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56866         variable.
56868         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56869         mantissa words.
56870         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56872         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56873         from unused variable.
56875         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56876         DWARF definitions.
56877         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56878         for assembling.
56880         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56881         over namespaces.
56883         * sunrpc/rpc_prot.c (rejected): Fix case value.
56885         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56886         unsigned long long int to avoid warnings in shift.
56888         * posix/regex_internal.c (re_string_reconstruct): Actually use result
56889         of use of trans.
56890         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56891         variable tmp.
56893         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56894         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56895         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56897         * nis/nis_table.c (nis_list): Use variable of correct type for
56898         result of __follow_path call.
56900 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56902         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56903         of math functions ceil, trunc, floor, round, and sqrt, when
56904         avaliable on the platform.
56905         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56906         name clash.
56907         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56908         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56909         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56911 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
56913         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56914         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56916 2011-11-11  Roland McGrath  <roland@hack.frob.com>
56918         * include/unistd.h: Fix __readlink return type.
56919         Reported by Chris Metcalf <cmetcalf@tilera.com>.
56921 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
56923         * stdlib/ucontext.h: Undo last change for makecontext.
56925 2011-11-11  Andreas Schwab  <schwab@redhat.com>
56927         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56929         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56930         * setjmp/setjmp.h: Mark functions as non-leaf.
56931         * setjmp/bits/setjmp2.h: Likewise.
56932         * stdlib/ucontext.h: Likewise.
56934 2011-11-10  Andreas Schwab  <schwab@redhat.com>
56936         * malloc/arena.c (_int_new_arena): Don't increment narenas.
56937         (reused_arena): Don't check arena limit.
56938         (arena_get2): Atomically check arena limit.
56940 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
56942         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56943         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56945         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56946         instructions.
56948 2011-11-07  Andreas Schwab  <schwab@redhat.com>
56950         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56951         handler when locking.
56953         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56954         Fix size of allocated buffer.
56956 2011-11-04  Andreas Schwab  <schwab@redhat.com>
56958         [BZ #10103]
56959         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56960         declarations for long double functions.
56961         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56963         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56965 2011-11-03  Andreas Schwab  <schwab@redhat.com>
56967         * nscd/nscd.c (main): Don't start AVC thread until credentials are
56968         installed.
56970         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56971         is disabled.
56973 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56975         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56977 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56979         * include/alloca.h (stackinfo_alloca_round): Define.
56980         (extend_alloca): Use it.
56981         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56982         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56983         here.
56985         * scripts/check-local-headers.sh: Ignore libaudit.h.
56987         * nscd/Makefile (extra-objs): Make recursively expanded.
56989 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
56991         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56992         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56994         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56995         * posix/tst-rfc3484-2.c: Likewise.
56996         * posix/tst-rfc3484-3.c: Likewise.
56998         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56999         process_vm_writev.
57000         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57001         process_vm_writev.
57002         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57003         process_vm_writev from libc using GLIBC_2.15 version.
57005         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57007 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57009         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57010         stack usage.
57012 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57014         [BZ #13367]
57015         * nss/getent.c (initgroups_keys): Show error message in case no group
57016         names are given.
57018         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57019         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57020         __bump_nl_timestamp.
57021         * nscd/connections (nscd_init): When host database is served open
57022         netlink socket and request notification about configuration changes.
57023         (main_loop_poll): Track netlink file descriptor and bump timestamp
57024         in case data becomes available.
57025         (main_loop_epoll): Likewise.
57026         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57027         (database_pers_head): Add extra_data fileds.
57028         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57029         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57030         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57031         Adjust caller.
57032         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57033         in6ai data, call __free_in6ai.
57034         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57035         Add -DHAVE_NETLINK.
57036         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57037         interface information.  Reuse previous data if netlink timestamp
57038         is not changed.
57039         (__bump_nl_timestamp): New function.
57040         (__free_in6ai): New function.
57042 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57044         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57045         close_not_cancel_no_status here.
57046         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57048 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57050         [BZ #13276]
57051         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57052         return value.
57054         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57055         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57056         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57058 2011-07-03  Andreas Jaeger  <aj@suse.de>
57060         [BZ #10709]
57061         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57062         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57063         * math/libm-test.inc (sin_test): Add test case.
57065 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57067         [BZ #13337]
57068         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57069         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57071         * elf/chroot_canon.c (chroot_canon): Cleanups.
57073         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57075         [BZ #13335]
57076         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57077         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57079         * string/test-strchr.c: Make usable for strchrnul testing.
57080         * string/test-strchrnul.c: New file.
57081         * string/Makefile (strop-tests): Add strchrnul.
57083         * po/it.po: Update from translation team.
57084         * po/es.po: Likewise.
57086 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57088         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57089         the three constants needed as parameters.  Drop the others.
57090         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57091         __m128i_strloadu_tolower.
57092         Create and initialize variable zero and use it in all the places
57093         where _mm_setzero_si128 was used.
57095         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57096         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57097         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57098         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57099         anymore.
57100         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57101         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57102         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57103         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57104         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57105         __mpranred, __mptan.
57106         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57107         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57108         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57109         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57110         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57111         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57112         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57113         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57114         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57116 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57118         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57119         redefine if SHARED.
57120         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57122         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57123         wide char related routines to wcsmbs subdir.
57125 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57127         [BZ #13344]
57128         * misc/sys/cdefs.h (__THROWNL): Define.
57129         * posix/unistd.h: Use __THREADNL instead of __THREAD
57130         for memory synchronization functions.
57132 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57134         [BZ #13349]
57135         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57136         doesn't exist.
57137         * manual/stdio.texi (Obstack Streams): Node removed.
57139 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57141         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57142         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57143         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57145         * math/math_private.h (math_force_eval): Allow non-addressable
57146         arguments.
57147         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57149 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57151         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57152         file is not needed.
57154         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57155         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57156         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57157         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57158         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57159         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57160         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57161         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57162         Add AVX variants.
57163         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57164         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57165         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57166         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57167         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57168         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57169         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57170         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57171         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57172         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57173         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57174         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57175         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57176         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57177         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57178         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57179         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57180         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57181         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57183         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57184         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
57186         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57187         place.  Use VEX encoding when compiling for AVX.
57189 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57191         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57192         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57194         * string/test-strchr.c (do_test): Don't generate NUL bytes.
57196 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57198         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57199         useless if() expression.
57200         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57201         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57202         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57203         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57204         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57205         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57206         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57207         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57208         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57209         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57210         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57211         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57212         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57213         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57214         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57215         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57216         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57217         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57218         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57220         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57222 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57224         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57225         condition.
57226         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57228 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57230         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57231         .text section.  Avoid duplicate constants.
57232         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57233         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57234         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57235         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57236         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57237         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57238         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57239         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57240         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57241         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57242         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57243         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57244         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57245         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57246         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57247         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57248         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57249         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57250         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57251         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57252         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57253         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57254         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57255         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57256         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57257         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57258         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57259         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57260         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57261         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57262         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57263         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57264         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57265         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57266         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57267         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57268         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57269         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57270         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57271         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57272         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57273         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57274         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
57275         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
57276         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57278 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
57280         * sysdeps/x86_64/dla.h: Move to ...
57281         * sysdeps/x86_64/fpu/dla.h: ...here.
57282         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57283         situations.  Use __builtin_fma only for gcc 4.6 and up.
57285         * config.make.in: Add have-mfma4 entry.
57286         * configure.in: Substitute libc_cv_cc_fma4.
57287         * math/Makefile (dbl-only-routines): Add sincostab.
57288         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57289         Use __sincostab not sincos.
57290         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57291         name is a macro.
57292         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57293         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57294         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57295         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
57296         using __copysign.
57297         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
57298         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
57299         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57300         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57301         and __inv.
57302         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57303         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57304         __copysign.
57305         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
57306         define aliases when function name is a macro.
57307         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57308         sysdeps/ieee754/dbl-64/sincos.tbl.
57309         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57310         fma4-enabled routines.
57311         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57312         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57313         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57314         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57315         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57316         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57317         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
57318         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
57319         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
57320         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
57321         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
57322         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
57323         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
57324         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
57325         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
57326         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
57327         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
57328         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
57329         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
57330         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
57331         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
57332         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
57333         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
57334         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
57335         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
57336         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
57337         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
57338         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
57339         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
57340         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
57342         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
57343         rename.
57344         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57345         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57346         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57347         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57348         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57349         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57350         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57351         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57353 2011-10-24  Andreas Schwab  <schwab@redhat.com>
57355         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
57357 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57359         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
57361         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
57362         prediction.
57363         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
57365         * string/strnlen.c: Don't define STRNLEN, reverse logic.
57366         Remove unused variable magic_bits.
57367         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
57369         * string/strnlen.c: Define and use STRNLEN macro.
57370         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
57371         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
57372         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
57373         * wcsmbs/wcslen.c: Define and use WCSLEN.
57374         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
57375         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
57376         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
57377         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
57378         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
57379         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
57380         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57382 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57384         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57385         strnlen-sse2-no-bsf.
57386         Rename strlen-no-bsf to strlen-sse2-no-bsf.
57387         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57388         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57389         Add strnlen support.
57390         (USE_AS_STRNLEN): New macro.
57391         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57392         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57393         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57394         * sysdeps/x86_64/wcslen.S: New file.
57396 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
57398         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57399         XMM-moves are used for copying on small sizes.
57401 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57403         * wcsmbs/Makefile (strop-tests): Add wcschr.
57404         * wcsmbs/test-wcschr.c: New file.
57405         * string/test-strchr.c: Update.
57406         Add wcschr support.
57407         (WIDE): New macro.
57409 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57411         * wcsmbs/Makefile (strop-tests): Add wcslen.
57412         * wcsmbs/test-wcslen.c: New file.
57413         * string/test-strlen.c: Update.
57414         Add wcslen support.
57415         (WIDE): New macro.
57417 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57419         * po/it.po: Update from translation team.
57421 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57423         * sysdeps/x86_64/wcscmp.S: Update.
57424         Fix wrong comparison semantics.
57425         wcscmp shall use signed comparison not unsigned.
57426         Don't use substraction to avoid overflow bug.
57427         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57428         * wcsmbc/wcscmp.c: Likewise.
57429         * string/test-strcmp.c: Likewise.
57430         Add new tests to check cases with negative values.
57432 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57434         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57435         * sysdeps/x86_64/dla.h: ...here.  New file.
57436         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57437         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57438         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57439         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57440         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57441         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57442         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57443         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57444         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57446 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
57448         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57449         __ynl_finite aliases.
57451 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57453         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57455         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57456         define DLA_FMA.
57457         [DLA_FMA] (EMULV): Use DLA_FMA.
57458         [DLA_FMA] (MUL12): Use EMULV.
57459         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57460         that are not needed.
57461         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57462         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57463         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57464         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57465         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57466         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57467         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57469 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
57471         * math/s_nan.c: Undef __nan.
57472         * math/s_nanf.c: Undef __nanf.
57473         * math/s_nanl.c: Undef __nanl.
57474         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57475         "math_private.h".
57477 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57479         * math/s_catan.c: Add branch predictions.
57480         * math/s_catanf.c: Likewise.
57481         * math/s_catanh.c: Likewise.
57482         * math/s_catanhf.c: Likewise.
57483         * math/s_catanhl.c: Likewise.
57484         * math/s_catanl.c: Likewise.
57485         * math/s_cexp.c: Likewise.
57486         * math/s_cexpf.c: Likewise.
57487         * math/s_cexpl.c: Likewise.
57488         * math/s_clog.c: Likewise.
57489         * math/s_clog10.c: Likewise.
57490         * math/s_clog10f.c: Likewise.
57491         * math/s_clog10l.c: Likewise.
57492         * math/s_clogf.c: Likewise.
57493         * math/s_clogl.c: Likewise.
57494         * math/s_csqrt.c: Likewise.
57495         * math/s_csqrtf.c: Likewise.
57496         * math/s_csqrtl.c: Likewise.
57497         * math/s_ctanf.c: Likewise.
57498         * math/s_ctanh.c: Likewise.
57499         * math/s_ctanhf.c: Likewise.
57500         * math/s_ctanhl.c: Likewise.
57501         * math/s_ctanl.c: Likewise.
57503         * math/math_private.h: Define __nan, __nanf, __nanl.
57504         * math/s_cacosh.c: Include <math_private.h>.
57505         * math/s_cacoshl.c: Likewise.
57506         * math/s_casinh.c: Likewise.
57507         * math/s_casinhf.c: Likewise.
57508         * math/s_casinhl.c: Likewise.
57509         * math/s_ccos.c: Rely entire on ccosh.
57510         * math/s_ccosf.c: Rely entire on ccoshf.
57511         * math/s_ccosl.c: Rely entirely on ccoshl.
57512         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
57513         Remove tests for FE_INVALID.
57514         * math/s_ccoshf.c: Likewise.
57515         * math/s_ccoshl.c: Likewise.
57516         * math/s_csin.c: Likewise.
57517         * math/s_csinf.c: Likewise.
57518         * math/s_csinh.c Likewise.
57519         * math/s_csinhf.c: Likewise.
57520         * math/s_csinhl.c: Likewise.
57521         * math/s_csinl.c: Likewise.
57522         * math/s_ctan.c: Likewise.
57523         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57524         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57525         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57527 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
57529         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57530         compilation problems.
57532         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57533         __builtin_expect.
57535 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
57537         * sysdeps/i386/configure.in: Test for -mfma4 option.
57538         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57539         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57540         COMMON_CPUID_INDEX_80000001.
57541         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57542         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57543         use it if FMA3 is not supported.
57544         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57546         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57547         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57549 2011-10-20  Andreas Schwab  <schwab@redhat.com>
57551         [BZ #12892]
57552         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57553         it would create a cycle with a link time dependency.
57555 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
57557         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57558         instruction.
57559         * string/Makefile (strop-tests): Add rawmemchr.
57560         * string/test-rawmemchr.c: New file.
57562         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57563         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
57564         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
57565         when compiling str{,n}casecmp and when AVX is available.  Hook up
57566         new optimized code in initializers.
57568 2011-10-19  Andreas Schwab  <schwab@redhat.com>
57570         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57571         __feraiseexcept instead of feraiseexcept.
57573 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
57575         * math/math_private.h: Define defaults for libc_fetestexcept and
57576         libc_feupdateenv.
57577         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57578         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57579         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57580         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57581         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57582         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57583         libc_fetestexcept and libc_feupdateenv.
57585         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57586         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57587         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57588         * sysdeps/x86_64/fpu/math_private.h: Define special version of
57589         libc_feholdexcept_setround.
57591         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57592         Add s_nearbyint-c and s_nearbyintf-c.
57593         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57594         nearbyintf inlines.
57595         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57596         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57597         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57598         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57600         * math/math_private.h: Define defaults for libc_fegetround,
57601         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57602         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57603         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57604         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57605         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57606         standard functions.
57607         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57608         Remove comments and hacks for old compiler versions.
57609         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57610         libc_fegetround, libc_fesetround, libc_feholdexcept, and
57611         libc_feholdexceptl.
57613 2011-10-18  Andreas Schwab  <schwab@redhat.com>
57615         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57616         (__feraiseexcept_renamed): Add __NTH.
57617         (feraiseexcept): Add __NTH.  Rename local variables to fix
57618         namespace violations.
57620 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
57622         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57624         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57626         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57627         recently added interfaces.
57628         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57630         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57631         about macro parameter expansion.
57633         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57634         __NO_MATH_INLINES is defined.  Cleanups.
57636         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57637         and __floorf is target has SSE4.1.
57638         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57639         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57640         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57641         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57643         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57644         name.
57645         (floorf): Likewise.
57647         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57649 2011-10-17  Andreas Schwab  <schwab@redhat.com>
57651         * misc/sys/cdefs.h: Fix last change.
57653         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57654         database lookup.
57656 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
57658         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57660         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57661         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57662         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57663         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57664         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57665         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57666         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57667         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57668         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57669         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57670         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57671         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57672         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57673         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57674         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57675         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57676         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57677         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57678         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57679         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57680         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57681         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57683         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57684         ceil, ceilf, floor, floorf.
57686         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57687         Perform IRELATIVE relocations last.
57689         * elf/do-rel.h: Add another parameter nrelative, replacing the
57690         local variable with the same name.  Change name of the function
57691         to end in Rel or Rela (uppercase).
57692         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57693         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
57694         elf_dynamic_do_##reloc function.
57696 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57698         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57699         is sufficient, at least on modern CPUs.
57701         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57703         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57704         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57706         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57707         __expl_finite.
57708         * math/bits/math-finite.h: Add entries for exp.
57709         * math/e_expl.c: Add __*_finite alias.
57710         * sysdeps/i386/fpu/e_exp.S: Likewise.
57711         * sysdeps/i386/fpu/e_expf.S: Likewise.
57712         * sysdeps/i386/fpu/e_expl.c: Likewise.
57713         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57714         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57715         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57716         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57717         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57718         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57719         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57721         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57722         is sufficient, at least on modern CPUs.
57724         * ctype/ctype-info.c (__ctype_init): Define.
57725         * include/ctype.h (__ctype_init): Declare.
57726         (__ctype_b_loc): The variable is always initialized.
57727         (__ctype_toupper_loc): Likewise.
57728         (__ctype_tolower_loc): Likewise.
57729         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57730         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57732 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
57734         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57736         * configure.in: Also look in $cxxmachine/include for C++ system
57737         headers.
57739 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57741         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57742         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57743         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57744         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
57745         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57746         (USE_AS_WMEMCMP): New macro.
57747         Fixing indents.
57748         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57749         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57750         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57751         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57752         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57753         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57754         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57755         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57756         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57757         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57758         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57759         (USE_AS_WMEMCMP): New macro.
57760         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57761         * sysdeps/string/test-memcmp.c: Update.
57762         Fix simple_wmemcmp.
57763         Add new tests.
57764         * wcsmbs/wmemcmp.c: Update.
57765         (WMEMCMP): New macro.
57766         Fix overflow bug.
57768 2011-10-12  Andreas Jaeger  <aj@suse.de>
57770         [BZ #13268]
57771         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57773 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57775         * libio/iofwide.c (do_length): Avoid warning.
57777         * ctype/ctype.h (__isctype_f): Add missing __THROW.
57779 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
57781         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57783         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57784         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57785         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57786         * sysdeps/i386/i686/fpu/e_log.S: New file.
57787         * sysdeps/i386/i686/fpu/e_logf.S: New file.
57788         * sysdeps/i386/i686/fpu/e_logl.S: New file.
57790         * ctype/ctype.h: Add support for inlined isXXX functions when
57791         compiling C++ code.
57793 2011-10-14  Andreas Schwab  <schwab@redhat.com>
57795         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57797         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57799 2011-10-13  Roland McGrath  <roland@hack.frob.com>
57801         [BZ #13291]
57802         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57804 2011-10-13  Andreas Schwab  <schwab@redhat.com>
57806         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57807         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57808         feraiseexcept.
57810         * sysdeps/x86_64/memrchr.S: Check for zero size.
57812         * string/stratcliff.c: Add memrchr tests.
57814 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57816         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57817         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57818         rawmemchr-sse2 rawmemchr-sse2-bsf.
57819         * sysdeps/i386/i686/multiarch/memchr.S: New file.
57820         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57821         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57822         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57823         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57824         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57825         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57826         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57827         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57828         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57829         * string/memrchr.c (MEMRCHR): New macro.
57831 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
57833         Add integration with gcc's -ffinite-math-only and optimize wrapper
57834         functions in libm.
57835         * Versions.def: Define GLIBC_2.15 version for libm.
57836         * math/Makefile (headers): Add bits/math-finite.h.
57837         * math/bits/math-finite.h: New file.
57838         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57839         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57840         * math/e_acoshl.c: Add __*_finite alias.
57841         * math/e_acosl.c: Likewise.
57842         * math/e_asinl.c: Likewise.
57843         * math/e_atan2l.c: Likewise.
57844         * math/e_atanhl.c: Likewise.
57845         * math/e_coshl.c: Likewise.
57846         * math/e_exp10.c: Likewise.
57847         * math/e_exp10f.c: Likewise.
57848         * math/e_exp10l.c: Likewise.
57849         * math/e_exp2l.c: Likewise.
57850         * math/e_fmodl.c: Likewise.
57851         * math/e_gammal_r.c: Likewise.
57852         * math/e_hypotl.c: Likewise.
57853         * math/e_j0l.c: Likewise.
57854         * math/e_j1l.c: Likewise.
57855         * math/e_jnl.c: Likewise.
57856         * math/e_lgammal_r.c: Likewise.
57857         * math/e_log10l.c: Likewise.
57858         * math/e_log2l.c: Likewise.
57859         * math/e_logl.c: Likewise.
57860         * math/e_powl.c: Likewise.
57861         * math/e_sinhl.c: Likewise.
57862         * math/e_sqrtl.c: Likewise.
57863         * math/e_scalb.c: Completely rewritten and optimized.
57864         * math/e_scalbf.c: Likewise.
57865         * math/e_scalbl.c: Likewise.
57866         * math/w_acos.c: Likewise.
57867         * math/w_acosf.c: Likewise.
57868         * math/w_acosl.c: Likewise.
57869         * math/w_acosh.c: Likewise.
57870         * math/w_acoshf.c: Likewise.
57871         * math/w_acoshl.c: Likewise.
57872         * math/w_asin.c: Likewise.
57873         * math/w_asinf.c: Likewise.
57874         * math/w_asinl.c: Likewise.
57875         * math/w_atan2.c: Likewise.
57876         * math/w_atan2f.c: Likewise.
57877         * math/w_atan2l.c: Likewise.
57878         * math/w_atanh.c: Likewise.
57879         * math/w_atanhf.c: Likewise.
57880         * math/w_atanhl.c: Likewise.
57881         * math/w_exp10.c: Likewise.
57882         * math/w_exp10f.c: Likewise.
57883         * math/w_exp10l.c: Likewise.
57884         * math/w_fmod.c: Likewise.
57885         * math/w_fmodf.c: Likewise.
57886         * math/w_fmodl.c: Likewise.
57887         * math/w_j0.c: Likewise.
57888         * math/w_j0f.c: Likewise.
57889         * math/w_j0l.c: Likewise.
57890         * math/w_j1.c: Likewise.
57891         * math/w_j1f.c: Likewise.
57892         * math/w_j1l.c: Likewise.
57893         * math/w_jn.c: Likewise.
57894         * math/w_jnf.c: Likewise.
57895         * math/w_log.c: Likewise.
57896         * math/w_logf.c: Likewise.
57897         * math/w_logl.c: Likewise.
57898         * math/w_log10.c: Likewise.
57899         * math/w_log10f.c: Likewise.
57900         * math/w_log10l.c: Likewise.
57901         * math/w_log2.c: Likewise.
57902         * math/w_log2f.c: Likewise.
57903         * math/w_log2l.c: Likewise.
57904         * math/w_pow.c: Likewise.
57905         * math/w_powf.c: Likewise.
57906         * math/w_powl.c: Likewise.
57907         * math/w_remainder.c: Likewise.
57908         * math/w_remainderf.c: Likewise.
57909         * math/w_remainderl.c: Likewise.
57910         * math/w_scalb.c: Likewise.
57911         * math/w_scalbf.c: Likewise.
57912         * math/w_scalbl.c: Likewise.
57913         * math/w_sqrt.c: Likewise.
57914         * math/w_sqrtf.c: Likewise.
57915         * math/w_sqrtl.c: Likewise.
57916         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57917         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
57918         used.
57919         * math/math_private.h: Declare __kernel_standard_f.
57920         * math/w_cosh.c: Remove cruft and optimize a bit.
57921         * math/w_coshf.c: Likewise.
57922         * math/w_coshl.c: Likewise.
57923         * math/w_exp2.c: Likewise.
57924         * math/w_exp2f.c: Likewise.
57925         * math/w_exp2l.c: Likewise.
57926         * math/w_hypot.c: Likewise.
57927         * math/w_hypotf.c: Likewise.
57928         * math/w_hypotl.c: Likewise.
57929         * math/w_lgamma.c: Likewise.
57930         * math/w_lgamma_r.c: Likewise.
57931         * math/w_lgammaf.c: Likewise.
57932         * math/w_lgammaf_r.c: Likewise.
57933         * math/w_lgammal.c: Likewise.
57934         * math/w_lgammal_r.c: Likewise.
57935         * math/w_sinh.c: Likewise.
57936         * math/w_sinhf.c: Likewise.
57937         * math/w_sinhl.c: Likewise.
57938         * math/w_tgamma.c: Likewise.
57939         * math/w_tgammaf.c: Likewise.
57940         * math/w_tgammal.c: Likewise.
57941         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57942         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57943         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57944         Minor optimizations.  Pretty printing.  Remove cruft.
57945         * sysdeps/i386/fpu/e_acosf.S: Likewise.
57946         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57947         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57948         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57949         * sysdeps/i386/fpu/e_acosl.c: Likewise.
57950         * sysdeps/i386/fpu/e_asin.S: Likewise.
57951         * sysdeps/i386/fpu/e_asinf.S: Likewise.
57952         * sysdeps/i386/fpu/e_atan2.S: Likewise.
57953         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57954         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57955         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57956         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57957         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57958         * sysdeps/i386/fpu/e_exp10.S: Likewise.
57959         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57960         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57961         * sysdeps/i386/fpu/e_exp2.S: Likewise.
57962         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57963         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57964         * sysdeps/i386/fpu/e_fmod.S: Likewise.
57965         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57966         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57967         * sysdeps/i386/fpu/e_hypot.S: Likewise.
57968         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57969         * sysdeps/i386/fpu/e_log.S: Likewise.
57970         * sysdeps/i386/fpu/e_log10.S: Likewise.
57971         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57972         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57973         * sysdeps/i386/fpu/e_log2.S: Likewise.
57974         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57975         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57976         * sysdeps/i386/fpu/e_logf.S: Likewise.
57977         * sysdeps/i386/fpu/e_logl.S: Likewise.
57978         * sysdeps/i386/fpu/e_pow.S: Likewise.
57979         * sysdeps/i386/fpu/e_powf.S: Likewise.
57980         * sysdeps/i386/fpu/e_powl.S: Likewise.
57981         * sysdeps/i386/fpu/e_remainder.S: Likewise.
57982         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57983         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57984         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57985         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57986         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57987         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57988         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57989         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57990         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57991         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57992         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57993         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57994         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57995         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57996         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57997         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57998         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57999         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58000         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58001         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58002         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58003         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58004         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58005         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58006         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58007         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58008         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58009         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58010         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58011         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58012         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58013         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58014         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58015         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58016         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58017         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58018         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58019         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58020         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58021         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58022         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58023         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58024         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58025         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58026         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58027         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58028         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58029         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58030         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58031         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58032         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58033         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58034         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58035         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58036         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58037         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58038         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58039         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58040         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58041         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58042         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58043         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58044         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58045         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58046         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58047         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58048         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58049         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58050         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58051         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58052         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58053         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58054         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58055         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58056         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58057         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58058         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58059         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58060         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58061         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58062         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58063         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58064         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58065         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58066         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58067         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58068         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58069         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58070         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58071         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58072         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58073         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58074         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58075         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58076         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58077         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58078         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58079         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58080         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58081         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58082         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58083         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58084         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58085         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58086         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58087         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58088         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58089         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58090         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58091         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58092         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58093         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58094         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58095         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58096         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58097         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58098         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58099         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58100         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58101         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58102         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58103         (__isnanf): Likewise.
58104         (__isinf_ns): Likewise.
58105         (__isinf_nsf): Likewise.
58106         (__finite): Likewise.
58107         (__finitef): Likewise.
58108         (__ieee754_sqrt): Define as macro.
58109         (__ieee754_sqrtf): Define as macro.
58110         (__ieee754_sqrtl): Define as macro.
58111         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58112         inlined copy.
58113         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58114         __FINITE_MATH_ONLY__ consistent.
58115         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58117 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58119         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58120         of rawmemchr.
58122         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58124 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58126         * po/ja.po: Update from translation team.
58128 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58130         * locale/programs/locarchive.c (prepare_address_space): New function.
58131         (create_archive, enlarge_archive, open_archive): Use it.
58133         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58134         inside [SHARED], where it is used.
58136         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58138         * nss/getent.c (netgroup_keys): Remove unused variable.
58139         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58141 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58143         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58144         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58145         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58146         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58147         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58148         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58149         * math/Makefile (libm-calls): Add s_isinf_ns.
58150         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58151         * math/multc3.c: Likewise.
58152         * math/s_casin.c: Likewise.
58153         * math/s_casinf.c: Likewise.
58154         * math/s_casinl.c: Likewise.
58155         * math/s_ccos.c: Likewise.
58156         * math/s_ccosf.c: Likewise.
58157         * math/s_ccosl.c: Likewise.
58158         * math/s_ctan.c: Likewise.
58159         * math/s_ctanf.c: Likewise.
58160         * math/s_ctanh.c: Likewise.
58161         * math/s_ctanhf.c: Likewise.
58162         * math/s_ctanhl.c: Likewise.
58163         * math/s_ctanl.c: Likewise.
58164         * math/w_fmod.c: Likewise.
58165         * math/w_fmodf.c: Likewise.
58166         * math/w_fmodl.c: Likewise.
58167         * math/w_remainder.c: Likewise.
58168         * math/w_remainderf.c: Likewise.
58169         * math/w_remainderl.c: Likewise.
58170         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58171         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58172         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58173         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58174         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58175         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58176         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58177         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58179         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58180         of the number.
58181         * stdio-common/printf_fphex.c: Likewise.
58182         * stdio-common/printf_size.c: Likewise.
58184         * math/e_exp10.c: Include math_private.h using <...> not "...".
58185         * math/e_exp10f.c: Likewise.
58186         * math/e_exp10l.c: Likewise.
58187         * math/e_exp2l.c: Likewise.
58188         * math/e_j0l.c: Likewise.
58189         * math/e_j1l.c: Likewise.
58190         * math/e_jnl.c: Likewise.
58191         * math/e_lgammal_r.c: Likewise.
58192         * math/e_rem_pio2l.c: Likewise.
58193         * math/e_scalb.c: Likewise.
58194         * math/e_scalbf.c: Likewise.
58195         * math/e_scalbl.c: Likewise.
58196         * math/k_cosl.c: Likewise.
58197         * math/k_sinl.c: Likewise.
58198         * math/k_tanl.c: Likewise.
58199         * math/s_cacoshf.c: Likewise.
58200         * math/s_catan.c: Likewise.
58201         * math/s_catanf.c: Likewise.
58202         * math/s_catanh.c: Likewise.
58203         * math/s_catanhf.c: Likewise.
58204         * math/s_catanhl.c: Likewise.
58205         * math/s_catanl.c: Likewise.
58206         * math/s_ccosh.c: Likewise.
58207         * math/s_ccoshf.c: Likewise.
58208         * math/s_ccoshl.c: Likewise.
58209         * math/s_cexp.c: Likewise.
58210         * math/s_cexpf.c: Likewise.
58211         * math/s_cexpl.c: Likewise.
58212         * math/s_clog.c: Likewise.
58213         * math/s_clog10.c: Likewise.
58214         * math/s_clog10f.c: Likewise.
58215         * math/s_clog10l.c: Likewise.
58216         * math/s_clogf.c: Likewise.
58217         * math/s_clogl.c: Likewise.
58218         * math/s_csin.c: Likewise.
58219         * math/s_csinf.c: Likewise.
58220         * math/s_csinh.c: Likewise.
58221         * math/s_csinhf.c: Likewise.
58222         * math/s_csinhl.c: Likewise.
58223         * math/s_csinl.c: Likewise.
58224         * math/s_csqrt.c: Likewise.
58225         * math/s_csqrtf.c: Likewise.
58226         * math/s_csqrtl.c: Likewise.
58227         * math/s_ctan.c: Likewise.
58228         * math/s_ctanf.c: Likewise.
58229         * math/s_ctanh.c: Likewise.
58230         * math/s_ctanhf.c: Likewise.
58231         * math/s_ctanhl.c: Likewise.
58232         * math/s_ctanl.c: Likewise.
58233         * math/s_ldexp.c: Likewise.
58234         * math/s_ldexpf.c: Likewise.
58235         * math/s_ldexpl.c: Likewise.
58236         * math/s_significand.c: Likewise.
58237         * math/s_significandf.c: Likewise.
58238         * math/s_significandl.c: Likewise.
58239         * math/w_acos.c: Likewise.
58240         * math/w_acosf.c: Likewise.
58241         * math/w_acosh.c: Likewise.
58242         * math/w_acoshf.c: Likewise.
58243         * math/w_acoshl.c: Likewise.
58244         * math/w_acosl.c: Likewise.
58245         * math/w_asin.c: Likewise.
58246         * math/w_asinf.c: Likewise.
58247         * math/w_asinl.c: Likewise.
58248         * math/w_atan2.c: Likewise.
58249         * math/w_atan2f.c: Likewise.
58250         * math/w_atan2l.c: Likewise.
58251         * math/w_atanh.c: Likewise.
58252         * math/w_atanhf.c: Likewise.
58253         * math/w_atanhl.c: Likewise.
58254         * math/w_cosh.c: Likewise.
58255         * math/w_coshf.c: Likewise.
58256         * math/w_coshl.c: Likewise.
58257         * math/w_dremf.c: Likewise.
58258         * math/w_exp10.c: Likewise.
58259         * math/w_exp10f.c: Likewise.
58260         * math/w_exp10l.c: Likewise.
58261         * math/w_exp2.c: Likewise.
58262         * math/w_exp2f.c: Likewise.
58263         * math/w_fmod.c: Likewise.
58264         * math/w_fmodf.c: Likewise.
58265         * math/w_fmodl.c: Likewise.
58266         * math/w_hypot.c: Likewise.
58267         * math/w_hypotf.c: Likewise.
58268         * math/w_hypotl.c: Likewise.
58269         * math/w_j0.c: Likewise.
58270         * math/w_j0f.c: Likewise.
58271         * math/w_j0l.c: Likewise.
58272         * math/w_j1.c: Likewise.
58273         * math/w_j1f.c: Likewise.
58274         * math/w_j1l.c: Likewise.
58275         * math/w_jn.c: Likewise.
58276         * math/w_jnf.c: Likewise.
58277         * math/w_jnl.c: Likewise.
58278         * math/w_lgamma.c: Likewise.
58279         * math/w_lgamma_r.c: Likewise.
58280         * math/w_lgammaf.c: Likewise.
58281         * math/w_lgammaf_r.c: Likewise.
58282         * math/w_lgammal.c: Likewise.
58283         * math/w_lgammal_r.c: Likewise.
58284         * math/w_log.c: Likewise.
58285         * math/w_log10.c: Likewise.
58286         * math/w_log10f.c: Likewise.
58287         * math/w_log10l.c: Likewise.
58288         * math/w_log2.c: Likewise.
58289         * math/w_log2f.c: Likewise.
58290         * math/w_log2l.c: Likewise.
58291         * math/w_logf.c: Likewise.
58292         * math/w_logl.c: Likewise.
58293         * math/w_pow.c: Likewise.
58294         * math/w_powf.c: Likewise.
58295         * math/w_powl.c: Likewise.
58296         * math/w_remainder.c: Likewise.
58297         * math/w_remainderf.c: Likewise.
58298         * math/w_remainderl.c: Likewise.
58299         * math/w_scalb.c: Likewise.
58300         * math/w_scalbf.c: Likewise.
58301         * math/w_scalbl.c: Likewise.
58302         * math/w_sinh.c: Likewise.
58303         * math/w_sinhf.c: Likewise.
58304         * math/w_sinhl.c: Likewise.
58305         * math/w_sqrt.c: Likewise.
58306         * math/w_sqrtf.c: Likewise.
58307         * math/w_sqrtl.c: Likewise.
58308         * math/w_tgamma.c: Likewise.
58309         * math/w_tgammaf.c: Likewise.
58310         * math/w_tgammal.c: Likewise.
58312         * po/ja.po: Update from translation team.
58314 2011-09-29  Andreas Jaeger  <aj@suse.de>
58316         [BZ #13179]
58317         * sunrpc/netname.c (netname2host): Fix logic.
58319         [BZ #6779]
58320         [BZ #6783]
58321         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
58322         correctly.
58323         * math/w_remainder.c (__remainder): Likewise.
58324         * math/w_remainderf.c (__remainderf): Likewise.
58325         * math/libm-test.inc (remainder_test): Add test cases.
58327 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58329         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
58330         sdiv_qrnnd.
58332 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58334         * string/test-memcmp.c: Avoid unncessary #defines.
58335         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58337 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58339         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
58340         Use new sse2 version for core i3 - i7 as it's faster
58341         than sse42 version.
58342         (bit_Prefer_PMINUB_for_stringop): New.
58343         * sysdeps/x86_64/rawmemchr.S: Update.
58344         Replace with faster SSE2 version.
58345         * sysdeps/x86_64/memrchr.S: New file.
58346         * sysdeps/x86_64/memchr.S: Update.
58347         Replace with faster SSE2 version.
58349 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
58351         * elf/dl-load.c (lose): Add cast to avoid warning.
58353 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58355         * po/ca.po: Update from translation team.
58357         * inet/getnetgrent_r.c: Hook up nscd.
58358         * nscd/Makefile (routines): Add nscd_netgroup.
58359         (nscd-modules): Add netgroupcache.
58360         (CFLAGS-netgroupcache.c): Define.
58361         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
58362         (cache_search): Add const to second parameter.
58363         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
58364         INNETGR.
58365         (dbs): Add netgrdb entry.
58366         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
58367         (verify_persistent_db): Handle netgrdb.
58368         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
58369         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
58370         GETFDNETGR.
58371         (netgroup_response_header): Define.
58372         (innetgroup_response_header): Define.
58373         (datahead): Add netgroup_response_header and innetgroup_response_header
58374         elements.
58375         * nscd/nscd.conf: Add entries for netgroup cache.
58376         * nscd/nscd.h (dbtype): Add netgrdb.
58377         (_PATH_NSCD_NETGROUP_DB): Define.
58378         (netgroup_iov_disabled): Declare.
58379         (xmalloc, xcalloc, xrealloc): Move declarations here.
58380         (cache_search): Adjust prototype.
58381         Add netgroup-related prototypes.
58382         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
58383         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
58384         (__nscd_innetgr): Declare.
58385         * nscd/selinux.c (perms): Use access_vector_t as element type and
58386         add netgroup-related initializers.
58387         * nscd/netgroupcache.c: New file.
58388         * nscd/nscd_netgroup.c: New file.
58389         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58390         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58391         For four parameters use innetgr.
58392         * nss/nss_files/files-init.c: Add definition and callback for netgr.
58393         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58394         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58395         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58397         * nscd/connections.c (register_traced_file): Don't register file
58398         for disabled databases.
58400 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
58402         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58404         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58405         from tree and freeing node.
58407 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
58409         * nss/nsswitch.c (__nss_database_lookup): Handle
58410         nss_parse_service_list out of memory case.
58412 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
58414         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58415         out of memory case.
58417 2011-10-04  Andreas Schwab  <schwab@redhat.com>
58419         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58420         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58421         pass it down.
58422         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58423         elf_machine_rela, elf_machine_lazy_rel.
58424         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58425         (ELF_DYNAMIC_DO_REL): Likewise.
58426         (ELF_DYNAMIC_DO_RELA): Likewise.
58427         (ELF_DYNAMIC_RELOCATE): Likewise.
58428         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58429         to ELF_DYNAMIC_DO_REL.
58430         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58431         (dl_main): In trace mode always set __RTLD_NOIFUNC.
58432         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58433         elf_machine_rela.
58434         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58435         skip_ifunc, don't call ifunc function if non-zero.
58436         (elf_machine_rela): Likewise.
58437         (elf_machine_lazy_rel): Likewise.
58438         (elf_machine_lazy_rela): Likewise.
58439         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58440         (elf_machine_lazy_rel): Likewise.
58441         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58442         Likewise.
58443         (elf_machine_lazy_rel): Likewise.
58444         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58445         Likewise.
58446         (elf_machine_lazy_rel): Likewise.
58447         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58448         (elf_machine_lazy_rel): Likewise.
58449         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58450         (elf_machine_lazy_rel): Likewise.
58451         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58452         (elf_machine_lazy_rel): Likewise.
58453         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58454         (elf_machine_lazy_rel): Likewise.
58455         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58456         (elf_machine_lazy_rel): Likewise.
58457         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58458         (elf_machine_lazy_rel): Likewise.
58460 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
58462         * nss/nss_files/files-init.c (_nss_files_init): Use static
58463         initialization for all the *_traced_file variables.
58465 2011-09-28  Andreas Schwab  <schwab@redhat.com>
58467         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58469 2011-09-27  Roland McGrath  <roland@hack.frob.com>
58471         [BZ #13226]
58472         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58474 2011-09-27  Andreas Schwab  <schwab@redhat.com>
58476         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58477         Reread the line before reparsing it.
58479 2011-09-26  Andreas Schwab  <schwab@redhat.com>
58481         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58483 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
58484             Maxim Kuvyrkov  <maxim@codesourcery.com>
58485             Joseph Myers  <joseph@codesourcery.com>
58487         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58488         if needed for __stack_chk_guard.
58490 2011-09-19  Roland McGrath  <roland@hack.frob.com>
58492         * sysdeps/posix/spawni.c (script_execute): Always define it.
58493         It will be optimized away if unused.
58494         (maybe_script_execute): New function.
58495         (__spawni): Call it.
58497         * Makerules: Don't include tls.make.
58498         (config-tls): Always set to thread.
58499         * tls.make.c: File removed.
58501 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
58503         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58504         * config.make.in (CPPFLAGS-config): New substituted variable.
58506 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58508         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58510         [BZ #13192]
58511         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58512         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58514 2011-09-15  Roland McGrath  <roland@hack.frob.com>
58516         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58517         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58518         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58519         (CALL_FAIL): Likewise.
58520         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58521         (CALL_FAIL): Macro removed.
58522         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58524 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58526         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58527         for __FINITE_MATH_ONLY__ == 1.
58529 2011-09-15  Andreas Schwab  <schwab@redhat.com>
58531         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58532         __ieee754_sqrt instead of sqrt.
58533         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58534         __ieee754_sqrtf instead of sqrtf.
58535         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58536         __floorf instead of floorf.
58537         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58538         __floorf, __truncf instead of floorf, truncf.
58540 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
58542         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58544         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58545         __extern_always_inline.
58546         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58547         32-bit.
58549 2011-09-14  Andreas Schwab  <schwab@redhat.com>
58551         * elf/rtld.c (dl_main): Also relocate in dependency order when
58552         doing symbol dependency testing.
58554 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
58556         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58557         Always define `refsym'.
58559 2011-09-13  Andreas Schwab  <schwab@redhat.com>
58561         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58562         (__FD_ELT): Renamed from __FDELT.
58563         * misc/bits/select2.h (__FD_ELT): Likewise.
58564         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58565         __FD_MASK instead of __FDELT, __FDMASK.
58566         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58567         Likewise.
58568         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58569         Likewise.
58571         * elf/Makefile (gen-ldd): Fix pattern.
58573         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58574         (init_tls): Likewise.
58576 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
58578         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58580 2011-09-12  Andreas Schwab  <schwab@redhat.com>
58582         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58583         `struct cmsghdr *' instead of `void *'.
58584         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58585         Likewise.
58587 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
58589         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58590         if non-absolute.
58591         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58592         ldd_rewrite_script.
58594 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
58596         * configure.in: Remove --with-tls option.
58597         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58598         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58599         out in case it is missing.
58600         * sysdeps/ia64/elf/configure.in: Likewise.
58601         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58602         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58603         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58604         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58605         * sysdeps/sh/elf/configure.in: Likewise.
58606         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58607         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58608         * sysdeps/x86_64/elf/configure.in: Likewise.
58609         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58610         * sysdeps/mach/hurd/tls.h: Likewise.
58612         [BZ #13067]
58613         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58615         [BZ #13090]
58616         * configure.in: Fix use of AC_INIT.
58618         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58620 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
58622         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58623         __set_errno.
58624         * malloc/hooks.c: Likewise.
58626         [BZ #11929]
58627         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
58628         variables statically.
58629         (narenas): Initialize.
58630         (list_lock): Initialize.
58631         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
58632         initializtion of main_arena and list_lock.  Small cleanups.
58633         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58634         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
58635         Add initializers to main_arena and mp_.
58636         (malloc_state): Remove pagesize member.  Change all users to use
58637         GLRO(dl_pagesize).
58639         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58640         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
58641         is always initialized.
58643         * malloc/malloc.c: Removed unused configurations and dead code.
58644         * malloc/arena.c: Likewise.
58645         * malloc/hooks.c: Likewise.
58646         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58648         * include/tls.h: Removed.  USE___THREAD must always be defined.
58649         * bits/libc-tsd.h: Don't handle !USE___THREAD.
58650         * elf/dl-libc.c: Likewise.
58651         * elf/dl-tsd.c: Likewise.
58652         * include/errno.h: Likewise.
58653         * include/netdb.h: Likewise.
58654         * include/resolv.h: Likewise.
58655         * inet/herrno-loc.c: Likewise.
58656         * inet/herrno.c: Likewise.
58657         * malloc/arena.c: Likewise.
58658         * malloc/hooks.c: Likewise.
58659         * malloc/malloc.c: Likewise.
58660         * resolv/res-state.c: Likewise.
58661         * resolv/res_libc.c: Likewise.
58662         * sysdeps/i386/dl-machine.h: Likewise.
58663         * sysdeps/ia64/dl-machine.h: Likewise.
58664         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58665         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58666         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58667         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58668         * sysdeps/sh/dl-machine.h: Likewise.
58669         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58670         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58671         * sysdeps/unix/i386/sysdep.S: Likewise.
58672         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58673         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58674         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58675         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58676         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58677         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58678         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58679         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58680         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58681         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58682         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58683         * sysdeps/x86_64/dl-machine.h: Likewise.
58684         * tls.make.c: Likewise.
58686         * configure.in: Remove --with-__thread option.  Make tests for
58687         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58688         tls_model attribute fail if no support is available.  Remove
58689         USE_IN_LIBIO.
58690         * Makeconfig: Adjust for dropped configure option.  All features are
58691         now mandatory.
58692         * Makerules: Likewise.
58693         * Versions.def: Likewise.
58694         * argp/argp-fmtstream.c: Likewise.
58695         * argp/argp-fmtstream.h: Likewise.
58696         * argp/argp-help.c: Likewise.
58697         * assert/assert.c: Likewise.
58698         * config.h.in: Likewise.
58699         * config.make.in: Likewise.
58700         * configure: Likewise.
58701         * configure.in: Likewise.
58702         * csu/Versions: Likewise.
58703         * csu/init.c: Likewise.
58704         * elf/tst-audit2.c: Likewise.
58705         * elf/tst-tls10.c: Likewise.
58706         * elf/tst-tls10.h: Likewise.
58707         * elf/tst-tls11.c: Likewise.
58708         * elf/tst-tls12.c: Likewise.
58709         * elf/tst-tls14.c: Likewise.
58710         * elf/tst-tlsmod11.c: Likewise.
58711         * elf/tst-tlsmod12.c: Likewise.
58712         * elf/tst-tlsmod13.c: Likewise.
58713         * elf/tst-tlsmod13a.c: Likewise.
58714         * elf/tst-tlsmod14a.c: Likewise.
58715         * elf/tst-tlsmod15b.c: Likewise.
58716         * elf/tst-tlsmod16a.c: Likewise.
58717         * elf/tst-tlsmod16b.c: Likewise.
58718         * elf/tst-tlsmod7.c: Likewise.
58719         * elf/tst-tlsmod8.c: Likewise.
58720         * elf/tst-tlsmod9.c: Likewise.
58721         * gmon/gmon.c: Likewise.
58722         * grp/fgetgrent_r.c: Likewise.
58723         * grp/putgrent.c: Likewise.
58724         * hurd/fopenport.c: Likewise.
58725         * include/libc-symbols.h: Likewise.
58726         * include/tls.h: Likewise.
58727         * intl/gettextP.h: Likewise.
58728         * intl/loadinfo.h: Likewise.
58729         * locale/global-locale.c: Likewise.
58730         * locale/localeinfo.h: Likewise.
58731         * mach/devstream.c: Likewise.
58732         * malloc/arena.c: Likewise.
58733         * malloc/set-freeres.c: Likewise.
58734         * misc/err.c: Likewise.
58735         * misc/getttyent.c: Likewise.
58736         * misc/mntent_r.c: Likewise.
58737         * posix/getopt.c: Likewise.
58738         * posix/wordexp.c: Likewise.
58739         * pwd/fgetpwent_r.c: Likewise.
58740         * resolv/Versions: Likewise.
58741         * resolv/res_hconf.c: Likewise.
58742         * shadow/fgetspent_r.c: Likewise.
58743         * shadow/putspent.c: Likewise.
58744         * stdio-common/printf_fphex.c: Likewise.
58745         * stdio-common/tmpfile.c: Likewise.
58746         * stdlib/abort.c: Likewise.
58747         * stdlib/fmtmsg.c: Likewise.
58748         * sunrpc/auth_unix.c: Likewise.
58749         * sunrpc/clnt_perr.c: Likewise.
58750         * sunrpc/clnt_tcp.c: Likewise.
58751         * sunrpc/clnt_udp.c: Likewise.
58752         * sunrpc/clnt_unix.c: Likewise.
58753         * sunrpc/openchild.c: Likewise.
58754         * sunrpc/svc_simple.c: Likewise.
58755         * sunrpc/svc_tcp.c: Likewise.
58756         * sunrpc/svc_udp.c: Likewise.
58757         * sunrpc/svc_unix.c: Likewise.
58758         * sunrpc/xdr.c: Likewise.
58759         * sunrpc/xdr_array.c: Likewise.
58760         * sunrpc/xdr_rec.c: Likewise.
58761         * sunrpc/xdr_ref.c: Likewise.
58762         * sunrpc/xdr_stdio.c: Likewise.
58764 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58766         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58768 2011-07-03  Andreas Jaeger  <aj@suse.de>
58770         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58771         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58772         regenerate with gen-libm-tests.pl.
58774 2010-05-12  Petr Baudis  <pasky@suse.cz>
58776         [BZ #11589]
58777         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58778         around j0() zero points by switching to j1().
58779         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58780         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58781         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58782         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58784 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58786         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58787         instead of 0.
58788         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58789         instead of 0.
58790         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58791         Patch in part by Pavel Roskin <proski@gnu.org>.
58793         [BZ #13138]
58794         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58795         realloc.
58796         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
58797         Free memory block if necessary.
58799         [BZ #12847]
58800         * libio/genops.c (INTDEF): For string streams the _lock pointer can
58801         be NULL.  Don't lock in this case.
58803 2011-09-09  Roland McGrath  <roland@hack.frob.com>
58805         * elf/elf.h (ELFOSABI_GNU): New macro.
58806         (ELFOSABI_LINUX): Define to that.
58808 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
58810         * string/strncat.c (strncat): Undef the symbol in case it has been
58811         defined in bits/string.h.
58813 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58815         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58817         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58818         link map.
58820 2011-08-17  Andreas Jaeger  <aj@suse.de>
58822         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58824 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58825             Ian Lance Taylor  <iant@google.com>
58827         * math/libm-test.inc (lround_test): New testcase.
58828         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58830 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
58832         * Makefile: Remove support for automatic cvs check-ins.
58833         * Makerules: Likewise.
58834         * config.make.in: Likewise.
58835         * configure.in: Likewise.
58836         * intl/Makefile: Likewise.
58837         * locale/Makefile: Likewise.
58838         * po/Makefile: Likewise.
58839         * posix/Makefile: Likewise.
58840         * sysdeps/gnu/Makefile: Likewise.
58841         * sysdeps/mach/hurd/Makefile: Likewise.
58842         * sysdeps/sparc/sparc32/Makefile: Likewise.
58844         [BZ #13118]
58845         * posix/Makefile (bug-regex32-ENV): Define.
58846         Patch by John Stanley <jpsinthemix@verizon.net>.
58848         * misc/Makefile (headers): Add bits/select2.h.
58849         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58850         * misc/bits/select2.h: New file.
58851         * include/bits/select2.h: New file.
58852         * debug/Makefile (routines): Add fdelt_chk.
58853         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58854         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58855         FD_ISSET.
58856         * debug/fdelt_chk.c: New file.
58858         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
58859         * wcsmbs/test-wmemcmp.c: Likewise.
58860         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58861         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58863 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58865         * string/Makefile (strop-tests): Add memcmp.
58866         * string/test-wmemcmp.c: New file.
58867         * string/test-memcmp.c: Add wmemcmp support.
58869 2011-09-08  Roland McGrath  <roland@hack.frob.com>
58871         [BZ #13153]
58872         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58873         2011-07-19 change.
58875         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58876         garbage value in a __mach_port_mod_refs call in the cases of the
58877         task-self and thread-self ports.
58879 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58881         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58883 2011-09-08  Andreas Schwab  <schwab@redhat.com>
58885         * elf/dl-load.c (lose): Check for non-null L.
58887 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58889         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58891         * elf/dl-libc.c (dlerror_run): Pass back error code from
58892         dl_catch_error.
58894         [BZ #13123]
58895         * elf/dl-load.c (lose): Free l_origin if it is valid.
58897         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58898         names.
58899         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58900         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58901         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58902         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58903         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58904         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58906 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58908         * sysdeps/powerpc/fpu/e_hypot.c: New file.
58909         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58910         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58911         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58912         * sysdeps/powerpc/fpu/k_cosf.c: New file.
58913         * sysdeps/powerpc/fpu/k_sinf.c: New file.
58914         * sysdeps/powerpc/fpu/s_cosf.c: New file.
58915         * sysdeps/powerpc/fpu/s_sinf.c: New file.
58916         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58917         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58919 2011-08-15  Alan Modra  <amodra@gmail.com>
58921         [BZ #13092]
58922         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58923         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58924         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
58925         ppc_mcount to static-only-routines.
58926         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58927         __mcount_internal.
58928         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58929         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
58931 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
58933         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58934         for finite and infinity parameters.
58936 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58938         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58939         and add nop instructions for throughput optimization.
58940         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58942 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
58944         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58945         aligned copy for power7 with vector-scalar instructions.
58946         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58948 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
58950         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58951         AVX check.
58953 2011-09-07  Andreas Schwab  <schwab@redhat.com>
58955         [BZ #13144]
58956         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58957         last change.
58959 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58961         * sysdeps/unix/sysv/linux/x86_64/init-first.c
58962         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58963         syscall wrapper around clock_gettime in __vdso_clock_gettime.
58964         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58965         clock_gettime.
58967 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58969         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58970         Forgot to demangle the pointer.
58972         * sysdeps/i386/sysdep.h: Define atom_text_section.
58973         * sysdeps/x86_64/sysdep.h: Likewise.
58974         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58975         section with atom_text_section.
58976         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58977         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58978         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58979         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58980         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58982         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58983         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58984         already be defined.  Change to take two parameters and don't assign
58985         result to variable.  Adjust all users.
58986         Define INTERNAL_GETTIME if not already defined.
58987         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58988         call.
58989         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58990         HAVE_CLOCK_GETTIME_VSYSCALL.
58991         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58993         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58994         gettimeofday vsyscall, just use time.
58996 2011-09-06  Andreas Schwab  <schwab@redhat.com>
58998         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58999         <errno.h>.
59001 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59003         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59004         syscall on x86-64.
59005         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59006         syscall.
59007         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59008         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59009         syscall if possible.
59011 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59013         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59014         e_ident.  Don't pass to find_mapsXX.
59015         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59017 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59019         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59020         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59021         * sysdeps/x86_64/multiarch/strchr.S: Update.
59022         Check bit_slow_BSF bit.
59023         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59024         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59025         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59027 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59029         [BZ #13134]
59030         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59031         before glibc 2.15.
59032         (tryshell): Define.
59033         (__spawni): Change last parameter to be flag.  Test
59034         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59035         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59036         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59037         * posix/spawni.c: Likewise.
59038         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59039         * posix/spawnp.c: Likewise.  Change normal version to use
59040         SPAWN_XFLAGS_USE_PATH.
59041         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59042         SPAWN_XFLAGS_TRY_SHELL.
59044         [BZ #13150]
59045         * posix/glob.h: Remove gcc 1.x support.
59047         [BZ #13068]
59048         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59050 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59052         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59053         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59054         strrchr-sse2-bsf
59055         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59056         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59057         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59058         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59059         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59060         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59062 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59064         * sysdeps/x86_64/wcscmp.S: New file.
59066         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59067         wcscmp-c wcscmp-sse2
59068         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59069         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59070         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59071         * wcsmbs/wcscmp.c: Allow renaming.
59073 2011-09-05  David S. Miller  <davem@davemloft.net>
59075         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59076         stack slot, rather than the struct return pointer slot.
59077         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59078         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59080         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59082 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59084         * po/ja.po: Update from translation team.
59086         [BZ #13144]
59087         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59088         kernel in 64-bit binaries.
59090 2011-09-01  David S. Miller  <davem@davemloft.net>
59092         * elf/elf.h (HWCAP_SPARC_*): Move to..
59093         * sysdeps/sparc/sysdep.h: this new file and add new values.
59094         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59095         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59096         _DL_HWCAP_COUNT to 24.
59097         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59098         entries.
59099         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59100         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59101         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59102         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59103         instead of magic constants.
59104         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59106 2011-08-31  David S. Miller  <davem@davemloft.net>
59108         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59109         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59110         Reimplement to do errno handling inline.
59111         (SYSCALL_ERROR_HANDLER): New macro.
59112         (__SYSCALL_STRING): Do not do errno handling in asm.
59113         (__CLONE_SYSCALL_STRING): Delete.
59114         (__INTERNAL_SYSCALL_STRING): Delete.
59115         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59116         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59117         (PSEUDO): Reimplement to do errno handling inline.
59118         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59119         (SYSCALL_ERROR_HANDLER): New macro.
59120         (__SYSCALL_STRING): Do not do errno handling in asm.
59121         (__CLONE_SYSCALL_STRING): Delete.
59122         (__INTERNAL_SYSCALL_STRING): Delete.
59123         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59124         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59125         i386.
59126         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59127         (inline_syscall*): Add 'err' argument.
59128         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59129         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59130         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59131         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59133         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59134         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59136 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59138         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59140 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59142         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59143         directive.
59145 2011-08-24  David S. Miller  <davem@davemloft.net>
59147         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59149 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59151         * elf/Makefile: Add rules to build and run unload8 test.
59152         * elf/unload8.c: New file.
59153         * elf/unload8mod1.c: New file.
59154         * elf/unload8mod1x.c: New file.
59155         * elf/unload8mod2.c: New file.
59156         * elf/unload8mod3.c: New file.
59158         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59159         it wasn't used.
59161 2011-08-23  David S. Miller  <davem@davemloft.net>
59163         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59164         subtract stack bias.
59165         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59166         %sp not %fp in calculations.
59167         (_JMPBUF_UNWINDS_ADJ): Likewise.
59169         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59170         (aio_suspend): Call it to force an exception region around the
59171         AIO_MISC_WAIT() invocation.
59173 2011-08-23  Andreas Schwab  <schwab@redhat.com>
59175         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59176         backslash.
59178 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
59180         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59181         protection macro.
59182         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59183         and <dl-machine.h>.
59184         (Elf64_FuncDesc): Remove.
59186 2011-08-22  David S. Miller  <davem@davemloft.net>
59188         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59189         sigaltstack check, add missing cfi directives.
59190         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59191         missing cfi directives, and sigaltstack handling.
59193 2011-08-16  Andreas Schwab  <schwab@redhat.com>
59195         [BZ #11724]
59196         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59197         object is seen twice.
59198         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59200         * elf/Makefile (distribute): Add tst-initorder2.c.
59201         (tests): Add tst-initorder2.
59202         (modules-names): Add tst-initorder2a tst-initorder2b
59203         tst-initorder2c tst-initorder2d.  Add rules to build them.
59204         ($(objpfx)tst-initorder2.out): New rule.
59205         * elf/tst-initorder2.c: New file.
59206         * elf/tst-initorder2.exp: New file.
59208 2011-08-22  Andreas Schwab  <schwab@redhat.com>
59210         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59212         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59213         dependencies back to end of function.
59215         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59216         $(elfobjdir)/ld.so.
59218 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
59220         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59221         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59222         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59223         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59224         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59225         of __vdso_gettimeofday.
59226         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59227         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
59228         attribute_hidden.
59229         (_libc_vdso_platform_setup): Remove initialization of
59230         __vdso_gettimeofday and __vdso_time.
59232 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59234         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59235         and fgetc_unlocked.
59236         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59237         getc_unlocked.
59239         * elf/dl-open.c (add_to_global): Report additions to the global scope
59240         for LD_DEBUG=scopes.
59241         (dl_open_worker): Also print scope of newly loaded dependencies.
59242         (_dl_show_scope): Indicate if there is no scope.
59244         [BZ #13114]
59245         * stdio-common/Makefile (tests): Add bug24.
59246         * stdio-common/bug24.c: New file.
59248 2011-08-19  Andreas Jaeger  <aj@suse.de>
59250         [BZ #13114]
59251         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59252         non-existant file when using close-on-exec mode.
59254 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59256         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59257         the very first instruction.
59259         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59260         the CFI state in the end.
59261         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59262         inclusion of dl-trampoline.h.
59263         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59265 2011-08-19  Andreas Schwab  <schwab@redhat.com>
59267         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59268         expectations for long double.
59270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59271         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59273 2011-08-14  David S. Miller  <davem@davemloft.net>
59275         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
59276         artificual limit depends upon the system page size.
59278 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59280         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59281         * resolv/Makefile: Define CFLAGS-libresolv.
59283 2011-08-17  Andreas Schwab  <schwab@redhat.com>
59285         * nss/makedb.c (compute_tables): Make variables used in nested
59286         function static.
59288 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59290         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59291         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59292         if buffer was too small.
59294         * elf/pldd.c (main): Attach to all threads in the process.
59295         Rewrite /proc handling to use *at functions.
59297 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
59299         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59300         specifies first scope to show.
59301         (dl_open_worker): Update callers.  Move printing scope of new
59302         object to before the relocation.
59303         * elf/rtld.c (dl_main): Update _dl_show_scope call.
59304         * sysdeps/generic/ldsodefs.h: Update declaration.
59306         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59307         string for the scope number.
59309 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
59311         * nscd/servicescache.c (cache_addserv): Make sure written is always
59312         initialized.
59314 2011-08-14  Roland McGrath  <roland@hack.frob.com>
59316         * sysdeps/i386/i486/bits/atomic.h
59317         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
59318         statement expression, so as to suppress "set but not used" warning.
59319         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
59321         * string/strncat.c (STRNCAT): Use prototype definition.
59323         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
59324         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
59325         -Iprograms here.
59326         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
59327         (localedef-modules): Add localedef.
59328         (locale-modules): Add locale.
59330         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
59331         * elf/rtld.c (dl_main): Invert order of assignment in last change,
59332         to avoid a warning.
59334 2011-08-14  David S. Miller  <davem@davemloft.net>
59336         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
59337         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
59339 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
59341         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
59342         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
59343         * elf/rtld.c (dl_main): Set l_name of vDSO.
59344         Call _dl_show_scope when DL_DEBUG_SCOPES.
59345         (process_dl_debug): Recognize scopes flag and also set it for all.
59346         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
59347         Declare _dl_show_scope.
59349         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
59350         (do_dlopen): Pass caller_dlopen to dl_open.
59351         (__libc_dlopen_mode): Initialize caller_dlopen.
59353         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
59354         of libc.  Make tolower call locale-independent.  Optimize a bit by
59355         using isdigit instead of isalnum.
59356         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
59358 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
59360         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
59361         was a dependency or dynamically loaded.
59363 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
59365         * intl/l10nflist.c: Allow architecture-specific pop function.
59366         * sysdeps/x86_64/l10nflist.c: New file.
59368         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
59369         classification.
59371 2011-08-10  Andreas Schwab  <schwab@redhat.com>
59373         * include/dirent.h: Add libc_hidden_proto for scandirat and
59374         scandirat64.  Don't declare __scandirat64.
59375         * dirent/scandirat.c: Add libc_hidden_def.
59376         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
59377         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
59379 2011-08-10  David S. Miller  <davem@davemloft.net>
59381         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
59382         enum.
59383         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59384         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59385         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59387 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
59389         * Versions.def [libc]: Add GLIBC_2.15.
59390         * dirent/Makefile (routines): Add scandirat and scandirat64.
59391         * dirent/Versions [libc]: Export scandirat and scandirat64 for
59392         GLIBC_2.15.
59393         * dirent/dirent.h: Declare scandirat and scandirat64.
59394         * dirent/scandirat.c: New file.
59395         * dirent/scandirat64.c: New file.
59396         * sysdeps/wordsize-64/scandirat.c: New file.
59397         * sysdeps/wordsize-64/scandirat64.c: New file.
59398         * dirent/opendir.c: Define opendirat.
59399         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
59400         using scandirat.
59401         * dirent/scandir64.c: Adjust for scandir.c change.
59402         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
59403         __scandirat64, and __scandir_cancel_handler.
59404         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
59405         additional parameter and use openat instead of open (outside of ld.so).
59406         Add new __opendir as wrapper around __opendirat.
59407         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59408         here without requiring old scandirat implementation.
59410 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
59412         * dirent/scandir.c (cancel_handler): Renamed to
59413         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
59414         defined.  Adjust users.
59415         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59416         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59418 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
59420         * string/test-string.h (IMPL): Use __STRING to expand name and then
59421         stringify it.
59423         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
59424         of cleanups.
59426 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59428         * string/Makefile: Update.
59429         (strop-tests): Append strncat.
59430         * string/test-wcscmp.c: New file.
59431         New comprehensive test for wcscmp.
59432         * string/test-strcmp.c: Update.
59433         (WIDE): New define.
59435 2011-07-22  Andreas Schwab  <schwab@redhat.com>
59437         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59438         line.
59440 2011-07-26  Andreas Schwab  <schwab@redhat.com>
59442         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59443         encoding to ACE if AI_IDN.
59445 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
59447         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59448         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59450 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59452         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59453         Fix overflow bug in strncat.
59454         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59456         * string/test-strncat.c: Update.
59457         Add new tests for checking overflow bugs.
59459 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59461         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59462         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59463         * sysdeps/i386/i686/multiarch/strcat.S: New file.
59464         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59465         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59466         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59467         * sysdeps/i386/i686/multiarch/strncat.S: New file.
59468         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59469         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59471         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59472         (USE_AS_STRCAT): Define.
59473         Add strcat and strncat support.
59474         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59476 2011-07-25  Andreas Schwab  <schwab@redhat.com>
59478         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59479         __n bigger than INT_MAX+1.
59480         (__strncmp_g): Likewise.
59482 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
59484         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59485         * libio/stido.h: Likewise.
59487         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59488         (AF_NFC): Define.
59489         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59490         (AF_NFC): Define.
59492         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59493         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59494         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59495         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59496         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59498         [BZ #13021]
59499         * scripts/test-installation.pl: Don't expect libnss_test1 to be
59500         installed.
59502         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59503         typo.
59504         (_dl_x86_64_save_sse): Likewise.
59506 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
59508         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59509         OSXSAVE.
59510         (_dl_x86_64_save_sse): Likewise.
59512         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59514         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59516 2011-07-21  Andreas Schwab  <schwab@redhat.com>
59518         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59519         change.
59520         (_dl_x86_64_save_sse): Use correct AVX check.
59522 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59524         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59525         bug in strncpy/strncat.
59526         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59528 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
59530         * string/tester.c (test_strcat): Add tests for different alignments
59531         of source and destination.
59532         (test_strncat): Likewise.
59534 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59536         [BZ #12852]
59537         * posix/glob.c (glob): Check passed in values before using them in
59538         expressions to avoid some overflows.
59539         (glob_in_dir): Likewise.
59541         [BZ #13007]
59542         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59543         check for AVX enablement so that we don't crash with old kernels and
59544         new hardware.
59545         * elf/tst-audit4.c: Add same checks here.
59546         * elf/tst-audit6.c: Likewise.
59548         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59550 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
59552         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59554 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59556         * po/cs.po: Update from translation team.
59557         * po/bg.po: Likewise.
59559 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
59561         * misc/sys/cdefs.h: Add support for const attribute.
59562         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59563         to gnu_dev_{major,minor,makedev} functions.
59565 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
59567         * intl/dcigettext.c (get_output_charset): Add missing bracket.
59569 2011-07-20  Andreas Schwab  <schwab@redhat.com>
59571         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59572         strlen results.
59574 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59576         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59577         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59578         register in order to avoid conflicts with the soft frame pointer
59579         being held in r11 when necessary.
59580         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59581         (INTERNAL_VSYSCALL_NCS): Likewise.
59583 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
59585         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59586         * elf/dl-fini.c (_dl_fini): Adjust caller.
59587         * elf/dl-close.c (_dl_close_worker): Likewise.
59588         * sysdeps/generic/ldsodefs.h: Adjust declaration.
59590 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59592         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59593         "aux_cache->nlibs < 0".
59595         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59596         in the reload-count case.
59598 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59600         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59601         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59602         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59603         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59604         * sysdeps/x86_64/multiarch/strcat.S: New file.
59605         * sysdeps/x86_64/multiarch/strncat.S: New file.
59606         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59607         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59608         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59609         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59610         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59611         (USE_AS_STRCAT): Define.
59612         Add strcat and strncat support.
59613         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59614         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59615         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59616         * string/strncat.c: Update.
59617         (USE_AS_STRNCAT): Define.
59618         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59619         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59620         and i7.
59621         * sysdeps/x86_64/multiarch/init-arch.h
59622         (bit_Prefer_PMINUB_for_stringop): New.
59623         (index_Prefer_PMINUB_for_stringop): Likewise.
59624         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59625         bit_Prefer_PMINUB_for_stringop.
59627 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59629         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59630         buffer64.
59631         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59632         of casting of buffer.
59633         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59634         buffer32 and buffer64.
59635         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59636         writes instead of casting of buffer.
59637         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59638         buffer32.
59639         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59640         casting of buffer.
59642 2011-07-19  Andreas Schwab  <schwab@redhat.com>
59644         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59646 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59648         * nscd/nscd.c (termination_handler): Don't do anything for a database
59649         if it has not yet been initialized.
59651 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59653         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59655 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59657         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59659 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59661         * po/nl.po: Update from translation team.
59662         * po/sv.po: Likewise.
59664 2011-07-16  Roland McGrath  <roland@hack.frob.com>
59666         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59667         now disallowed by GCC.
59669         * configure.in (use-default-link): Default to yes if a test -shared
59670         link meets our qualifications.
59671         * configure: Regenerated.
59673         * config.make.in (output-format): New variable.
59674         * configure.in: Check for ld --print-output-format support.
59675         * configure: Regenerated.
59676         * Makerules ($(common-objpfx)format.lds)
59677         [$(output-format) != unknown]: Just use $(output-format),
59678         instead of the linker-script munging.
59680 2011-07-14  Roland McGrath  <roland@hack.frob.com>
59682         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59683         of $(common-objpfx)shlib.lds.
59684         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59686         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59687         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59689         * configure.in (-z relro check): Adjust test code to add a large
59690         writable data section after it.
59691         * configure: Regenerated.
59693 2011-07-11  Roland McGrath  <roland@hack.frob.com>
59695         * configure.in (-z relro check): Fix test code to make the variable
59696         truly const.
59697         * configure: Regenerated.
59699 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
59701         * nscd/nscd.h (struct traced_file): Define.
59702         (struct database_dyn): Remove inotify_descr, reset_res, and filename
59703         elements.  Add traced_files.
59704         (inotify_fd): Declare.
59705         (register_traced_file): Declare.
59706         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59707         (inotify_fd): Export.
59708         (resolv_conf_descr): Remove.
59709         (nscd_init): Move inotify descriptor creation to main.
59710         Don't register files for notification here.
59711         (register_traced_file): New function.
59712         (invalidate_cache): Don't use reset_res to determine whether to call
59713         res_init, go through the list of registered files.
59714         (main_loop_poll): The inotify descriptors are now stored in the
59715         structures for the traced files.
59716         (main_loop_epoll): Likewise
59717         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
59718         to __nss_disable_nscd.
59719         * nscd/cache.c (prune_cache): There is no single inotify descriptor
59720         for a database anymore.  Check the records for all the registered
59721         files instead.
59722         * nss/Makefile (libnss_files-routines): Add files-init.
59723         (libnss_db-routines): Add db-init.
59724         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59725         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59726         * nss/nss_db/db-init.c: New file.
59727         * nss/nss_files/files-init.c: New file.
59728         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
59729         __nss_lookup_function.
59730         (__nss_lookup_function): Call nss_load_library.
59731         (nss_load_all_libraries): New function.
59732         (__nss_disable_nscd): Take parameter with callback function for files
59733         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
59734         used for the cached services.
59735         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59736         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59737         options for features to all the files in nscd.
59739         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59741 2011-07-10  Roland McGrath  <roland@hack.frob.com>
59743         * csu/elf-init.c (__libc_csu_init): Comment typo.
59745 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
59747         * po/pl.po: Update from translation team.
59748         * po/ja.po: Likewise.
59749         * po/ru.po: Likewise.
59750         * po/ko.po: Likewise.
59751         * po/fr.po: Likewise.
59753 2011-07-09  Roland McGrath  <roland@hack.frob.com>
59755         * configure.in (.ctors/.dtors header and trailer check):
59756         Use an empirical test on a built program.
59757         * configure: Regenerated.
59759         * configure.in (-z relro check): Use an empirical test on a built DSO.
59760         Detect, but do not require, on ia64.
59761         * configure: Regenerated.
59763         * configure.in (READELF): Find it with AC_CHECK_TOOL.
59764         Update tests that use readelf to use $READELF instead.
59765         * configure: Regenerated.
59767 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
59769         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59770         if the result is not used.
59772 2011-07-05  Andreas Jaeger  <aj@suse.de>
59774         [BZ#9696]
59775         * stdlib/tst-strtod.c: Add testcase.
59777 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
59779         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59780         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59781         The latter has a higher limit.  Take additional parameter to pass to
59782         the new function.
59783         (__pathconf): Pass file to __statfs_link_max.
59784         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59785         __statfs_link_max.
59786         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59787         __statfs_link_max.
59789         [BZ #12868]
59790         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59791         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59792         Handle Lustre.
59793         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59794         (__statfs_filesize_max): Likewise.
59795         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59797 2011-07-05  Andreas Jaeger  <aj@suse.de>
59799         * resolv/res_comp.c (dn_skipname): Remove unused variable.
59801 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
59803         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59804         `status' variable.
59805         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59806         Likewise.
59808 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
59810         * Makefile (strop-tests): Add strncat.
59811         * string/test-strncat.c: New file.
59813 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
59815         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59817 2011-06-21  Andreas Jaeger  <aj@suse.de>
59819         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59820         Copy rule from iconvdata/Makefile.
59822 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59824         [BZ #12922]
59825         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59826         but no long options are defined, just return 'W'.
59828 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
59830         [BZ #9696]
59831         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59833 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59835         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59836         netgroups to read.
59837         (innetgr): Likewise.
59839 2011-07-05  Roland McGrath  <roland@hack.frob.com>
59841         * config.make.in (install_root): Default to $(DESTDIR).
59843 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
59845         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59847 2011-07-02  Roland McGrath  <roland@hack.frob.com>
59849         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59851         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59852         containing directory rather than embedding absolute directory names.
59854         * scripts/check-local-headers.sh: Rewritten using awk.
59855         Match by word, not by line.  Print error messages for matches.
59856         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59858         * Makerules [shlib-lds-flags empty]:
59859         ($(common-objpfx)libc_pic.opts): New target.
59860         ($(common-objpfx)libc_pic.os.clean): New target.
59861         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59863         * config.make.in (OBJCOPY): New variable.
59864         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59865         * configure: Regenerated.
59867         * config.make.in (use-default-link): New variable.
59868         * configure.in (use_default_link): Grok --with-default-link to set it.
59869         * configure: Regenerated.
59870         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59871         (shlib-lds, shlib-lds-flags): Define to empty.
59873         * Makerules (shlib-lds): New variable.
59874         (shlib-lds-flags): New variable.
59875         (build-shlib, build-moduile, build-module-asneeded): Use it.
59876         ($(common-objpfx)libc.so): Use $(shlib-lds).
59877         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59878         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59880         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59881         DT_FLAGS/DT_FLAGS_1 with zero flags.
59883         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59884         linker script munging.
59886 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
59888         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59889         as 128-bit value.
59890         * crypt/sha512.c (sha512_process_block): Perform total addition using
59891         128-bit if possible.
59892         (__sha512_finish_ctx): Likewise.
59893         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59894         as 64-bit value.
59895         * crypt/sha256.c (SWAP64): Define.
59896         (sha256_process_block): Perform total addition using 64-bit if
59897         possible.
59898         (__sha256_finish_ctx): Likewise.
59900 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
59902         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
59903         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59904         * nscd/hstcache.c (cache_addhst): Likewise.
59905         * nscd/grpcache.c (cache_addgr): Likewise.
59906         * nscd/aicache.c (addhstaiX): Likewise
59907         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59909 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
59911         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59912         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59913         * nscd/hstcache.c (cache_addhst): Likewise.
59914         * nscd/grpcache.c (cache_addgr): Likewise.
59915         * nscd/aicache.c (addhstaiX): Likewise
59917 2011-07-01  Andreas Schwab  <schwab@redhat.com>
59919         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59920         domain only when needed.
59922 2011-06-30  Andreas Schwab  <schwab@redhat.com>
59924         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59925         is always restored.
59927 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
59929         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59930         are re-adding the entry.
59931         * nscd/servicescache.c (cache_addserv): Likewise.
59933 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
59935         * sysdeps/generic/dl-irel.h: fix protection against multiple
59936         inclusions.
59937         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59939 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
59941         [BZ #12935]
59942         * malloc/memusage.sh: Fix quoting in message.
59943         * debug/xtrace.sh: Likewise.
59945         * configure.in: Remove support for --experimental-malloc option, make
59946         it the default.
59947         * config.make.in: Likewise.
59948         * malloc/Makefile: Likewise.
59950 2011-06-27  Andreas Schwab  <schwab@redhat.com>
59952         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59953         two-byte characters.
59955 2011-06-27  Roland McGrath  <roland@hack.frob.com>
59957         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59958         AC_CACHE_CHECK invocation.
59959         * configure: Regenerated.
59961         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59963 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
59965         [BZ #12350]
59966         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
59967         bit from old_res_options.
59969         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59971         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59972         value type for setfct.
59974 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
59976         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59977         __gettimeofday instead of gettimeofday.
59979 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
59981         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59983 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
59985         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59987         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59988         info.
59990 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59992         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59993         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59994         strcpy-sse2-unaligned strncpy-sse2-unaligned
59995         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59996         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59997         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59998         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59999         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60000         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60001         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60002         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60003         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60004         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60005         (STRCPY): Support SSE2 and SSSE3 versions.
60007 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60009         [BZ #12874]
60010         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60011         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60012         kernels which artificially limit size of requests.
60014 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60016         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60017         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60018         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60019         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60020         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60021         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60022         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60023         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60024         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60025         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60026         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60027         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60028         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60029         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60030         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60031         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60032         Enable unaligned load optimization for Intel Core i3, i5 and i7
60033         processors.
60034         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60035         Define.
60036         (index_Fast_Unaligned_Load): Define.
60037         (HAS_FAST_UNALIGNED_LOAD): Define.
60039 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60041         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60043 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60045         [BZ #12907]
60046         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60047         until it is clear that the information is realy needed.
60048         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60050 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60052         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60054 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60056         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60057         /sys/devices/system/cpu/online if it is usable.
60059         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60060         reading the information from the /proc filesystem to once a second.
60062 2011-06-21  Andreas Jaeger  <aj@suse.de>
60064         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60065         NULL after inclusion of kernel headers.
60067 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60069         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60070         calls to internal_setent.
60072         [BZ #12885]
60073         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60074         addresses using gethostbyname4_r ignore IPv4 addresses.
60076         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60077         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60079         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60081 2011-06-20  David S. Miller  <davem@davemloft.net>
60083         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60084         inclusions.
60085         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60087         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60088         (elf_irel): Use it.
60089         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60090         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60091         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60092         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60093         * sysdeps/x86_64/dl-irel.h: Likewise.
60095         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60096         * elf/dl-sym.c: Likewise.
60098 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60100         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60101         need to dereference resplen2.
60103 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60105         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60107 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60109         * Makeconfig: Define vardbdir and inst_vardbdir.
60110         * nss/Makefile: Add rules to install db-Makefile.
60112         * nss/nss_db/db-XXX.c: Cleanup.
60114         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60115         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60116         GLIBC_PRIVATE.
60117         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60118         * nss/makedb.c: Implement -g option to specify that value strings
60119         are generated and should not be added to table iterated over for
60120         get*ent calls.
60121         * nss/nss_db/db-initgroups.c: New file.
60123         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60124         interface.
60126         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60127         (internal_getgrouplist): Adjust to name change.
60128         Update use_initgroups_entry if this is not the first call.
60129         * nss/databases.def: Add initgroups entry.
60131         * nss/makedb.c (compute_tables): Check result of multiple hash table
60132         sizes to minimize maximum chain length.
60134 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60136         * Versions.def: Add entry for libnss_db.
60137         * shlib-versions: Likewise.
60138         * nss/Makefile: Add rules to build libnss_db.
60139         * nss/Versions: Add libnss_db information.  Organize libnss_files
60140         entries better.
60141         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60142         makedb progra.  Some minor improvements to generate smaller files.
60143         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60144         here from...
60145         * nss/makedb.c: ...here.
60146         Improve database format to be smaller and require less memory at
60147         runtime.
60148         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60149         db anymore.
60150         * nss/nss_db/db-netgrp.c: Likewise.
60151         * nss/nss_db/db-open.c: Likewise.
60152         * nss/nss_files/flies-XXX.x: Adjust comments.
60153         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60154         * nss/nss_files/files-grp.c: Likewise.
60155         * nss/nss_files/files-hosts.c: Likewise.
60156         * nss/nss_files/files-network.c: Likewise.
60157         * nss/nss_files/files-proto.c: Likewise.
60158         * nss/nss_files/files-pwd.c: Likewise.
60159         * nss/nss_files/files-rpc.c: Likewise.
60160         * nss/nss_files/files-service.c: Likewise.
60161         * nss/nss_files/files-sgrp.c: Likewise.
60162         * nss/nss_files/files-spwd.c: Likewise.
60163         * nss/nss_db/db-alias.c: Removed.
60164         * nss/nss_db/dummy-db.h: Removed.
60166 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60168         * nss/makedb.c: Rewritten to not use database library.
60169         * nss/Makefile: Update to build new makedb program.
60171 2011-06-14  Andreas Jaeger  <aj@suse.de>
60173         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60174         memset declaration.
60176 2011-06-10  Andreas Schwab  <schwab@redhat.com>
60178         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60179         tmpbuf.
60181 2011-06-10  Roland McGrath  <roland@hack.frob.com>
60183         * Makerules (shlib.lds): Fail if the linker script comes out empty.
60184         * elf/Makefile ($(objpfx)ld.so): Likewise.
60186         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60187         Don't list ld.so twice in dependencies.
60189         * posix/bug-regex31.c: Include <stdlib.h>.
60191         * nscd/hstcache.c (cache_addhst): Remove unused variable.
60193         * nis/nss_compat/compat-spwd.c
60194         (getspent_next_nss_netgr): Remove unused variable.
60195         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60197         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60198         nonmembers" output to use the right array.
60200         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60202         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60204         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60205         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60206         * catgets/gencat.c (read_input_file): Likewise.
60207         * locale/programs/locarchive.c (enlarge_archive): Likewise.
60209         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60210         variable definition inside #if's controlling its use.
60212         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60214         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60216         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60218         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60219         unreachable code.
60221         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60223         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60224         * configure: Regenerated.
60226         * Makerules: Revert last change.
60227         * elf/Makefile: Likewise.
60229 2011-06-09  Roland McGrath  <roland@hack.frob.com>
60231         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60232         * elf/Makefile ($(objpfx)librtld.os): Likewise.
60233         (reloc-link): Likewise.
60235 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
60237         * elf/Makefile: Add rules to build pldd.
60238         * elf/pldd.c: New file.
60239         * elf/pldd-xx.c: New file.
60241 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
60243         * version.h: Update for 2.15 development version.
60245 2011-06-07  David S. Miller  <davem@davemloft.net>
60247         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60248         ifuncs.
60249         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60250         elf_machine_lazy_rel): Likewise.
60251         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60252         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60253         elf_machine_lazy_rel): Likewise.
60254         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60255         dl_hwcap via passed in argument.
60256         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60257         Likewise.
60259 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60261         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
60263 2011-06-06  Roland McGrath  <roland@hack.frob.com>
60265         [BZ #12849]
60266         * manual/fdl-1.1.texi: New file, verbatim from:
60267         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60268         * manual/lgpl-2.1.texi: New file, verbatim from:
60269         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60270         * manual/Makefile (licenses): New variable, list those new file names.
60271         (texis): Use it.
60272         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60274         * manual/fdl.texi: File removed.
60275         * manual/lesser.texi: File removed.
60276         * manual/libc.texinfo (Copying, Documentation License):
60277         Use new @include file names, put @appendix directive before @include.
60279 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
60281         [BZ #12841]
60282         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60283         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60284         (mq_open): Add __NTH.
60286 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
60288         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60289         Assume Intel Core i3/i5/i7 processor if AVX is available.
60291 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60293         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60294         typo.
60296 2011-05-31  Andreas Schwab  <schwab@redhat.com>
60298         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60299         memory.  Use alloca_account.  Fix memory leak when retrying.
60301 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60303         * version.h (RELEASE): Bump for 2.14 release.
60304         * include/features.h (__GLIBC_MINOR__): Bump to 14.
60306         * config.make.in (RANLIB): Remove entry.
60308 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
60310         * po/Makefile (po-sed-cmd): Add ksh to extensions.
60311         (libc.pot): Work around missing support for .ksh extension in xgettext.
60313         [BZ #12684]
60314         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60315         if both request failed.
60316         (send_dg): In case of server errors clear resplen or *resplen2.
60318         [BZ #12454]
60319         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
60320         when there are multiple maps.
60321         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
60322         (_dl_fini): Remove test here.
60324         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
60326 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
60328         [BZ #12350]
60329         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
60330         bit from old_res_options.
60331         (gaih_inet): Likewise.
60333         [BZ #11099]
60334         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
60335         as signed.
60337         * resolv/res_init.c (res_setoptions): Make the code more compact.
60339         [BZ #11558]
60340         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
60341         set RES_USEVC.
60343         [BZ #11634]
60344         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
60346         * malloc/malloc.h: Mark malloc hook variables as deprecated.
60348         [BZ #11781]
60349         * malloc/malloc.h: Declare malloc hook variables as volatile.
60351         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
60352         in last patch.
60354         [BZ #11799]
60355         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
60356         raise in the comment.
60357         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60358         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60359         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
60361 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
60363         [BZ #12811]
60364         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
60365         grow the buffers more if it already has to be sufficient.
60366         (build_wcs_upper_buffer): Likewise.
60367         * posix/regexec.c (check_matching): Likewise.
60368         (clean_state_log_if_needed): Likewise.
60369         (extend_buffers): Don't enlarge buffers beyond size of the input
60370         buffer.
60371         Patches mostly by Emil Wojak <emil@wojak.eu>.
60372         * posix/bug-regex32.c: New file.
60373         * posix/Makefile (tests): Add bug-regex32.
60375         * locale/findlocale.c (_nl_find_locale): Return right away if
60376         _nl_explode_name failed.
60377         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
60379         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
60381         * debug/xtrace.sh: Unify messages.
60382         * malloc/memusage.sh: Likewise.
60384         [BZ #12813]
60385         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60386         time symbol from vDSO.  Substitute with vsyscall if not available.
60387         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60388         __vdso_time.
60390         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60391         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60392         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60393         Add sendmmsg and internal_sendmmsg.
60394         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60395         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60396         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60398         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60399         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60400         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60402 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
60404         [BZ #12813]
60405         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60406         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
60407         available.
60408         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60409         __vdso_getcpu.
60411         [BZ #12814]
60412         * iconvdata/Makefile (tests): Add bug-iconv9.
60413         * iconvdata/bug-iconv9.c: New file.
60415 2011-05-27  Andreas Schwab  <schwab@redhat.com>
60417         [BZ #12814]
60418         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60420 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
60422         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60423         (struct user_regs_struct): Change intcs field back to cs.
60425 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
60427         * po/ja.po: Update from translation team.
60429 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
60431         [BZ #12795]
60432         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60433         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60435 2011-05-20  Andreas Schwab  <schwab@redhat.com>
60437         * stdlib/longlong.h: Update from GCC.
60439 2011-05-23  Andreas Schwab  <schwab@redhat.com>
60441         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60442         parameter name.
60443         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60444         Add parameter name.
60445         (__sysconf): Pass it down.
60447 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
60449         [BZ #12671]
60450         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60451         some situations.
60452         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60453         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60454         add in in __libc_use_alloca calls.  Adjust callers.
60455         (glob): Use malloc in some situations.
60457         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60458         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60459         pltexit.
60461 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
60463         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60464         and CLOCK_BOOTTIME_ALARM.
60466         [BZ #12782]
60467         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60468         is returned.
60470         * string/_strerror.c (__strerror_r): Print negative errors as signed
60471         numbers.
60473         [BZ #12777]
60474         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60475         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60476         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60478         * configure.in: Fix typo in redirection and correct removal of test
60479         files in two cases.
60481         [BZ #12788]
60482         * locale/setlocale.c (new_composite_name): Fix test to check for
60483         identical name of all categories.
60485         [BZ #12792]
60486         * libio/filedoalloc.c (local_isatty): New function.
60487         (_IO_file_doallocate): Use local_isatty.
60488         * stdio-common/perror.c (perror): In case a new stream is used
60489         forward the stream error.
60490         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60491         error flag.
60493 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
60495         [BZ #11869]
60496         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60497         alloca.
60498         * include/alloca.h (extend_alloca_account): Define.
60500         [BZ #11857]
60501         * posix/regex.h: Fix comments with documentation of user-accessible
60502         fields after compilation and describe correct free'ing of pattern
60503         after re_compile_pattern.
60504         Patch by Reuben Thomas <rrt@sc3d.org>.
60506 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
60508         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60509         and -mno-altivec to prevent the compiler from using Altivec and/or
60510         VSX instructions when the corresponding registers are not available.
60512 2011-05-19  Andreas Schwab  <schwab@redhat.com>
60514         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60516 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
60518         * libio/freopen.c (freopen): Use __dup2, not dup2.
60519         * libio/freopen64.c (freopen64): Likewise.
60521 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60523         [BZ #12775]
60524         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60525         * math/Makefile (tests): Add test-powl.
60526         (CFLAGS-test-powl.c): Define.
60527         * math/test-powl.c: New file.
60529 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60531         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60533 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
60535         [BZ #11837]
60536         * iconvdata/gb18030.c: Update to GB18020-2005.
60538 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
60540         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60541         RE_SYNTAX_POSIX_AWK): Update to match recent development.
60542         Patch by Aharon Robbins <arnold@skeeve.com>.
60544         [BZ #11892]
60545         * stdlib/putenv.c (putenv): Don't always create copy of the variable
60546         on the stack.
60548         [BZ #11895]
60549         * misc/pselect.c (__pselect): Handle timeout value errors hidden
60550         through underflows.
60552         [BZ #12766]
60553         * misc/error.c (error_at_line): Ensure file_name and old_file_name
60554         point to strings before performing equality test for error_one_per_line
60555         mode.
60557         [BZ #11697]
60558         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60560         [BZ #11820]
60561         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60562         (struct user_fpregs_struct): Avoid __uint*_t types.
60564         [BZ #6420]
60565         * malloc/mtrace.c (tr_where): Add additional parameter to point to
60566         symbol info.  Use it instead of calling _dl_addr locally.
60567         (lock_and_info): New function.
60568         (tr_freehook): Call lock_and_info and pass symbol info as additional
60569         parameter to tr_where.
60570         (tr_mallochook): Likewise.
60571         (tr_reallochook): Likewise.
60572         (tr_memalignhook): Likewise.
60574         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
60575         used and couldn't be at all thread-safe.
60577 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
60579         * libio/freopen.c (freopen): Don't close old file descriptor
60580         before the new one is opened.  Instead dup the new file descriptor
60581         to the old one after the new stream is created.
60582         * libio/freopen64.c (freopen64): Likewise.
60583         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60584         * libio/fileops.c (_IO_new_file_close_it): Handle new
60585         _IO_FLAGS2_NOCLOSE flag.
60586         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60587         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60588         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60589         _IO_FLAGS2_NOCLOSE flag.
60590         * include/unistd.h: Add hidden_proto for dup3.
60591         Define __have_dup3.
60592         * io/dup3.c: Define hidden symbol.
60593         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60595         [BZ #7101]
60596         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60597         when an incomplete long option is used.
60598         * posix/tst-getopt_long1.c: New file.
60599         * posix/Makefile (tests): Add tst-getopt_long1.
60601         [BZ #10138]
60602         * scripts/config.guess: Update from autoconf-2.68.
60603         * scripts/config.sub: Likewise.
60605         [BZ #10157]
60606         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60607         tests into ...
60608         (has_cpuclock): ...this.  New function.
60609         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60610         macro here based on has_cpuclock code.
60612         [BZ #10149]
60613         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60614         First byte (not low byte) is now always NUL.
60615         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60617         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60618         Use non-cancelable interfaces.
60620         [BZ #9809]
60621         * locale/iso-639.def: Add entry for Sorani.
60623         [BZ #11901]
60624         * include/stdlib.h: Move include protection to the right place.
60625         Define abort_msg_s.  Declare __abort_msg with it.
60626         * stdlib/abort.c (__abort_msg): Adjust type.
60627         * assert/assert.c (__assert_fail_base): New function.  Majority
60628         of code from __assert_fail.  Allocate memory for __abort_msg with
60629         mmap.
60630         (__assert_fail): Now call __assert_fail_base.
60631         * assert/assert-perr.c: Remove bulk of implementation.  Use
60632         __assert_fail_base.
60633         * include/assert.hL Declare __assert_fail_base.
60634         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60635         mmap.
60636         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60638 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
60640         [BZ #11952]
60641         [BZ #12453]
60642         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60643         until all modules are registered in the DTV.
60644         * elf/Makefile: Add rules to build and run tst-tls19.
60645         * elf/tst-tls19.c: New file.
60646         * elf/tst-tls19mod1.c: New file.
60647         * elf/tst-tls19mod2.c: New file.
60648         * elf/tst-tls19mod3.c: New file.
60649         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60651         [BZ #12083]
60652         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60653         correctly.
60655         [BZ #12601]
60656         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60657         two-byte sequence errors.
60658         * iconvdata/Makefile (tests): Add bug-iconv8.
60659         * iconvdata/bug-iconv8.c: New file.
60661         [BZ #12626]
60662         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60663         buf2 definition.
60665         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60667         [BZ #12432]
60668         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60669         (dummy_getcfa): New function.
60670         (init): Get _Unwind_GetCFA address, use dummy if not found.
60671         (backtrace_helper): In recursion check, also check whether CFA changes.
60672         (__backtrace): Completely initialize arg.
60674         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60675         storing incomplete byte sequence in state object.  Avoid testing for
60676         guaranteed too small input if we know there is enough data available.
60678 2011-05-11  Andreas Schwab  <schwab@redhat.com>
60680         * Makeconfig (+link-pie): Indent.
60681         * Rules (binaries-pie): Define if $(have-fpie) and
60682         $(build-shared).
60683         (binaries-shared): Also filter out $(binaries-pie).
60684         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60685         * nscd/Makefile (others-pie): Add nscd.
60686         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60687         ($(objpfx)nscd): Remove command override.
60688         * login/Makefile (others-pie): Add pt_chown.
60689         ($(objpfx)pt_chown): Remove command override.
60690         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60691         remove command overrides.
60693 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
60695         * libio/tst_putwc.c: Fix error messages.
60697         [BZ #12724]
60698         * libio/fileops.c (_IO_new_file_close_it): Always flush when
60699         currently writing and seek to current position when not.
60700         * libio/Makefile (tests): Add bug-fclose1.
60701         * libio/bug-fclose1.c: New file.
60703 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
60705         [BZ #12511]
60706         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60707         don't set DF_1_NODELETE here.
60708         (do_lookup_x): When entering new entry test for copy relocation
60709         and if necessary set DF_1_NODELETE flag.
60710         * elf/tst-unique4.cc: New file.
60711         * elf/tst-unique4.h: New file.
60712         * elf/tst-unique4lib.cc: New file.
60713         * elf/Makefile: Add rules to build and run tst-unique4.
60714         Patch by Piotr Bury <pbury@goahead.com>.
60716 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
60718         [BZ #12052]
60719         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60721         [BZ #12625]
60722         * misc/mntent_r.c (addmntent): Flush the stream after the output
60724         [BZ #12393]
60725         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60726         (is_trusted_path_normalize): Skip initial colon.  Append slash
60727         to empty buffer.  Duplicate is_trusted_path code but allow
60728         constructed patch to be prefix.
60729         (is_dst): Allow $ORIGIN followed by /.
60730         (_dl_dst_substitute): Correct clearing of check_for_trusted.
60731         Correct testing of result of is_trusted_path_normalize
60732         (decompose_rpath): Fix warning.
60734 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
60736         [BZ #11257]
60737         * grp/initgroups.c (internal_getgrouplist): When we found the service
60738         list through the initgroups entry in nsswitch.conf do not always
60739         continue on a successful lookup.  Don't always use the
60740         __nss_group_database value if it is set.
60741         * nss/nsswitch.conf (initgroups): Change action for successful db
60742         lookup to continue for compatibility.
60744 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
60746         [BZ #11532]
60747         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60748         and CP774 modules.
60749         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60750         and CP774 modules.
60751         * iconvdata/tst-tables.sh: Likewise.
60752         * iconvdata/cp770.c: New file.
60753         * iconvdata/cp771.c: New file.
60754         * iconvdata/cp772.c: New file.
60755         * iconvdata/cp773.c: New file.
60756         * iconvdata/cp774.c: New file.
60757         * iconvdata/testdata/CP770: New file.
60758         * iconvdata/testdata/CP770..UTF8: New file.
60759         * iconvdata/testdata/CP771: New file.
60760         * iconvdata/testdata/CP771..UTF8: New file.
60761         * iconvdata/testdata/CP772: New file.
60762         * iconvdata/testdata/CP772..UTF8: New file.
60763         * iconvdata/testdata/CP773: New file.
60764         * iconvdata/testdata/CP773..UTF8: New file.
60765         * iconvdata/testdata/CP774: New file.
60766         * iconvdata/testdata/CP774..UTF8: New file.
60768         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60769         END CHARMAP line.
60770         * iconvdata/gen-8bit-gap.sh: Likewise.
60771         * iconvdata/gen-8bit.sh: Likewise.
60773         * locale/iso-639.def: Add ary entry.
60775         [BZ #11258]
60776         * locale/C-translit.h.in: Add U20A1 transliteration.
60778         [BZ #12178]
60779         * locale/iso-639.def: Add wae entry.
60780         Patch by Kevin Bortis <bortis@translate-wae.ch>.
60782         [BZ #12545]
60783         * locale/programs/localedef.c (construct_output_path): Use ssize_t
60784         for n.
60786         [BZ #12711]
60787         * locale/C-translit.h.in: Add entry for U20B9.
60788         Patch by pravin.d.s@gmail.com.
60790 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
60792         [BZ #12713]
60793         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60794         ENAMETOOLONG use generic getcwd.
60795         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
60796         in rtld.  Use *stat64.
60797         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60798         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60799         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60800         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60801         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60802         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60803         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60804         __fstatat64 macros.
60805         * include/dirent.h: Add libc_hidden_proto for rewinddir.
60806         * dirent/rewinddir.c: Add libc_hidden_def.
60807         * sysdeps/mach/hurd/rewinddir.c: Likewise.
60808         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
60810         * include/dirent.h (__alloc_dir): Add flags parameter.
60811         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60812         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60813         __alloc_dir.
60814         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
60815         from fdopendir if O_CLOEXEC is already set.
60817 2011-03-15  Alan Modra  <amodra@gmail.com>
60819         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60820         l_tls_firstbyte_offset non-zero.  Save padding offset in
60821         l_tls_firstbyte_offset for later use.
60822         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60823         freeing static tls block.
60825 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
60827         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60828         where #ifdef was intended.  The intent is to prevent ARG_MAX from
60829         being defined by the kernel headers.
60831 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
60833         [BZ #12734]
60834         * resolv/resolv.h: Define RES_NOTLDQUERY.
60835         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60836         no-tld-query and set RES_NOTLDQUERY.
60837         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60838         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60839         modern BIND to search name as TLD unless forbidden.
60841 2011-05-07  Petr Baudis  <pasky@suse.cz>
60842             Ulrich Drepper  <drepper@gmail.com>
60844         [BZ #12393]
60845         * elf/dl-load.c (fillin_rpath): Move trusted path check...
60846         (is_trusted_path): ...to here.
60847         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60848         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60849         using is_trusted_path_normalize() in setuid scripts.
60851 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60853         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60854         __BEGIN/__END_DECLS.
60856 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
60858         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60859         NSS_STATUS_NOTFOUND if no record was found.
60861 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60863         * sunrpc/Makefile (headers): Add rpc/netdb.h.
60864         (headers-not-in-tirpc): Remove rpc/netdb.h
60865         * resolv/netdb.h: Revert last change.
60867 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60869         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60870         circular dependency between libgcc.a and libc.a.
60872 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60874         * resolv/netdb.h: Don't include <rpc/netdb.h>.
60875         * nis/Makefile: Don't install rpcsvc/*.
60876         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60877         instead of <rpc/types.h>.
60878         (MAXHOSTNAMELEN): Define.
60880 2011-05-03  Andreas Schwab  <schwab@redhat.com>
60882         * elf/ldconfig.c (add_dir): Don't crash on empty path.
60884 2011-04-28  Maciej Babinski  <mbabinski@google.com>
60886         [BZ #12714]
60887         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60888         gethostbyname4_r when IPv6 results are possible.
60890 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
60892         [BZ #12723]
60893         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60894         _PC_PIPE_BUF handling.
60896 2011-04-30  Bruno Haible  <bruno@clisp.org>
60898         [BZ #12717]
60899         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60900         * resolv/netdb.h (getnameinfo): Change type of flags parameter
60901         to 'int'.
60902         * inet/getnameinfo.c (getnameinfo): Likewise.
60904 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
60906         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60907         to groups setting in database lookup.
60908         * nss/nsswitch.conf: Add initgroups entry.
60910 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
60912         [BZ #12685]
60913         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60914         mode string.
60915         Patch by Eric Blake <eblake@redhat.com>.
60917 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
60919         * sunrpc/Makefile (need-export-routines): Add svc_run.
60920         (routines): Remove svc_run.
60921         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60922         * sunrpc/clnt_perr.c (clnt_perrno): Export.
60923         * sunrpc/svc_run.c (svc_run): Likewise.
60924         * sunrpc/svc_udp.c (svcudp_create): Likewise.
60926 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
60928         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60929         problem in reallocation in last patch.
60931 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
60933         * sunrpc/Makefile: Move inclusion of Rules.
60935 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60937         * nss/nss_files/files-initgroups.c: New file.
60938         * nss/Makefile (libnss_files-routines): Add files-initgroups.
60939         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60940         _nss_files_initgroups_dyn.
60942 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
60944         * elf/elf.h (R_ARM_IRELATIVE): Define.
60946 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60948         * po/ru.po: Update from translation team.
60950 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60952         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60953         dependencies.
60955 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
60957         [BZ #12653]
60958         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60959         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60960         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60961         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60962         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60964 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
60966         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60967         differing bytes.
60968         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60969         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60970         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60972 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60974         [BZ #12420]
60975         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60976         storing it.
60977         * stdlib/bug-getcontext.c: New file.
60978         * stdlib/Makefile: Add rules to build and run bug-getcontext.
60980 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60982         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60983         instructions into .machine "z9-109".
60984         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60985         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60987 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60989         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60990         between environment variables and auxiliary vector.
60992 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
60994         * Makefile: Add rules to build linkobj/libc.so.
60995         * include/libc-symbols.h: Define libc_hidden_nolink.
60996         * include/rpc/auth.h: Mark functions which are to be hidden.
60997         * include/rpc/auth_des.h: Likewise.
60998         * include/rpc/auth_unix.h: Likewise.
60999         * include/rpc/clnt.h: Likewise.
61000         * include/rpc/des_crypt.h: Likewise.
61001         * include/rpc/key_prot.h: Likewise.
61002         * include/rpc/pmap_clnt.h: Likewise.
61003         * include/rpc/pmap_prot.h: Likewise.
61004         * include/rpc/pmap_rmt.h: Likewise.
61005         * include/rpc/rpc_msg.h: Likewise.
61006         * include/rpc/svc.h: Likewise.
61007         * include/rpc/svc_auth.h: Likewise.
61008         * include/rpc/xdr.h: Likewise.
61009         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61010         * nss/Makefile: Likewise.
61011         * sunrpc/Makefile: Don't install headers.  Build library with normal
61012         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61013         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61014         for the compat linking library.  Remove use of INTDEF/INTUSE.
61015         * sunrpc/auth_none.c: Likewise.
61016         * sunrpc/auth_unix.c: Likewise.
61017         * sunrpc/authdes_prot.c: Likewise.
61018         * sunrpc/authuxprot.c: Likewise.
61019         * sunrpc/clnt_gen.c: Likewise.
61020         * sunrpc/clnt_perr.c: Likewise.
61021         * sunrpc/clnt_raw.c: Likewise.
61022         * sunrpc/clnt_simp.c: Likewise.
61023         * sunrpc/clnt_tcp.c: Likewise.
61024         * sunrpc/clnt_udp.c: Likewise.
61025         * sunrpc/clnt_unix.c: Likewise.
61026         * sunrpc/des_crypt.c: Likewise.
61027         * sunrpc/des_soft.c: Likewise.
61028         * sunrpc/get_myaddr.c: Likewise.
61029         * sunrpc/key_call.c: Likewise.
61030         * sunrpc/key_prot.c: Likewise.
61031         * sunrpc/netname.c: Likewise.
61032         * sunrpc/pm_getmaps.c: Likewise.
61033         * sunrpc/pm_getport.c: Likewise.
61034         * sunrpc/pmap_clnt.c: Likewise.
61035         * sunrpc/pmap_prot.c: Likewise.
61036         * sunrpc/pmap_prot2.c: Likewise.
61037         * sunrpc/pmap_rmt.c: Likewise.
61038         * sunrpc/publickey.c: Likewise.
61039         * sunrpc/rpc_cmsg.c: Likewise.
61040         * sunrpc/rpc_common.c: Likewise.
61041         * sunrpc/rpc_dtable.c: Likewise.
61042         * sunrpc/rpc_prot.c: Likewise.
61043         * sunrpc/rpc_thread.c: Likewise.
61044         * sunrpc/rtime.c: Likewise.
61045         * sunrpc/svc.c: Likewise.
61046         * sunrpc/svc_auth.c: Likewise.
61047         * sunrpc/svc_authux.c: Likewise.
61048         * sunrpc/svc_raw.c: Likewise.
61049         * sunrpc/svc_run.c: Likewise.
61050         * sunrpc/svc_simple.c: Likewise.
61051         * sunrpc/svc_tcp.c: Likewise.
61052         * sunrpc/svc_udp.c: Likewise.
61053         * sunrpc/svc_unix.c: Likewise.
61054         * sunrpc/svcauth_des.c: Likewise.
61055         * sunrpc/xcrypt.c: Likewise.
61056         * sunrpc/xdr.c: Likewise.
61057         * sunrpc/xdr_array.c: Likewise.
61058         * sunrpc/xdr_float.c: Likewise.
61059         * sunrpc/xdr_intXX_t.c: Likewise.
61060         * sunrpc/xdr_mem.c: Likewise.
61061         * sunrpc/xdr_rec.c: Likewise.
61062         * sunrpc/xdr_ref.c: Likewise.
61063         * sunrpc/xdr_sizeof.c: Likewise.
61064         * sunrpc/xdr_stdio.c: Likewise.
61066 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61068         [BZ #12650]
61069         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61070         * sysdeps/ia64/dl-tls.h: Likewise.
61071         * sysdeps/powerpc/dl-tls.h: Likewise.
61072         * sysdeps/s390/dl-tls.h: Likewise.
61073         * sysdeps/sh/dl-tls.h: Likewise.
61074         * sysdeps/sparc/dl-tls.h: Likewise.
61075         * sysdeps/x86_64/dl-tls.h: Likewise.
61076         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61078 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61080         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61081         rpath element also skip the following colon.
61082         (expand_dynamic_string_token): Add is_path parameter and pass
61083         down to DL_DST_REQUIRED and _dl_dst_substitute.
61084         (decompose_rpath): Call expand_dynamic_string_token with
61085         non-zero is_path.  Ignore empty rpaths.
61086         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61087         with zero is_path.
61089 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61092         Make cancelable.
61094 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61096         [BZ #12655]
61097         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61098         Patch by Filipe David Manana <fdmanana@apache.org>.
61100 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61102         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61103         Maintain aligned stack.
61104         (CHECK_RSP): Remove unused macro.
61106 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61108         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61109         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61111 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61113         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61115         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61117 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61119         [BZ #12518]
61120         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61121         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61122         * sysdeps/x86_64/memmove.c: New file.
61123         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61124         (memcpy): Renamed to ...
61125         (__new_memcpy): This.
61126         (memcpy): Provide GLIBC_2_14 memcpy.
61127         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61128         (memcpy): Provide GLIBC_2_2_5 memcpy.
61130 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61132         [BZ #12631]
61133         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61135 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61137         * misc/syncfs.c: New file.
61138         * misc/Makefile (routines): Add syncfs.
61139         * posix/unistd.h: Declare syncfs.
61140         * sysdeps/unix/syscalls.list: Add syncfs.
61142 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61144         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61145         open_by_handle_at.
61146         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61147         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61148         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61149         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61150         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61151         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61152         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61154 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61156         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61157         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61158         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61159         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61160         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61161         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61162         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61164         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61165         sync_file_range.c with -fexceptions.
61166         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61167         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61168         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61169         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61170         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61171         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61172         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61173         sync_file_range as cancellation point
61174         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
61175         now a wrapper around __call_sync_file_range with cancellation handling.
61176         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61177         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
61178         function name to __call_sync_file_range.
61179         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61180         Add call_sync_file_range.
61182 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61184         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61185         bits/timex.h.
61187 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61189         * iconv/iconv.h: Fix typo in comment.
61190         * io/fcntl.h: Likewise.
61191         * libio/stdio.h: Likewise.
61192         * posix/spawn.h: Likewise.
61193         * posix/unistd.h: Likewise.
61194         * stdlib/stdlib.h: Likewise.
61195         * time/time.h: Likewise.
61196         * wcsmbs/wchar.h: Likewise.
61198         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61199         open_by_handle): Add.
61200         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61201         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
61202         Augment a few comments.
61203         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61204         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61205         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61206         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61207         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61208         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61209         open_by_handle.
61211         * io/fcntl.h (AT_EMPTY_PATH): Define.
61213 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
61215         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61216         * sysdeps/unix/sysv/linux/bits/time.h: New file.
61217         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61218         to...
61219         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
61220         * Versions.def: Add GLIBC_2.14.
61221         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61222         Export.
61224 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
61226         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61227         round counter.
61228         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61230 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61232         [BZ #12597]
61233         * string/test-strncmp.c (do_page_test): New function.
61234         (check2): Likewise.
61235         (test_main): Call check2.
61236         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61238 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
61240         [BZ #12587]
61241         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61242         Handle cache information in CPU leaf 4.
61243         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61245 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
61247         [BZ #12583]
61248         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61249         character representation.
61250         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61252 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
61254         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61255         END(__isnan) to END(__isnanf) to match function entry point/label
61256         EALIGN(__isnanf,...).
61258 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
61260         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61262 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
61264         [BZ #12510]
61265         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61266         copy from the symbol referenced in the relocation to initialize the
61267         used variable.
61268         Patch by Piotr Bury <pbury@goahead.com>.
61269         * elf/Makefile: Add rules to build and tst-unique3.
61270         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61271         * elf/tst-unique3.cc: New file.
61272         * elf/tst-unique3.h: New file.
61273         * elf/tst-unique3lib.cc: New file.
61274         * elf/tst-unique3lib2.cc: New file.
61276         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61278 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
61280         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61281         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
61282         to _start.
61284 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
61286         * elf/dl-load.c (_dl_map_object): If we are looking for the first
61287         to-be-loaded object along a path to loader is ld.so.
61289 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61290             Ulrich Drepper  <drepper@gmail.com>
61292         * sysdeps/x86_64/memset.S: After aligning destination, code
61293         branches to different locations depending on the value of
61294         misalignment, when multiarch is enabled. Fix this.
61296 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61298         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61299         Set _x86_64_preferred_memory_instruction for AMD processsors.
61300         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61301         Set bit_Prefer_SSE_for_memop for AMD processors.
61303 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
61305         * libio/fmemopen.c (fmemopen): Optimize a bit.
61307 2011-03-03  Andreas Schwab  <schwab@redhat.com>
61309         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61311 2011-03-03  Roland McGrath  <roland@redhat.com>
61313         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61315 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
61317         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
61318         __bzero_ultra1 instead of __memset_ultra1.
61320 2011-02-23  Andreas Schwab  <schwab@redhat.com>
61321             Ulrich Drepper  <drepper@gmail.com>
61323         [BZ #12509]
61324         * include/link.h (struct link_map): Add l_orig_initfini.
61325         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
61326         returning unsuccessfully.
61327         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
61328         close of a file loaded at startup, restore the original l_initfini
61329         list.
61330         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
61331         list, store the pointer.
61332         * elf/Makefile ($(objpfx)noload-mem): New rule.
61333         (noload-ENV): Define.
61334         (tests): Add $(objpfx)noload-mem.
61335         * elf/noload.c: Include <memcheck.h>.
61336         (main): Call mtrace.  Close all opened handles.
61338 2011-02-17  Andreas Schwab  <schwab@redhat.com>
61340         [BZ #12454]
61341         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
61342         dependencies are missing.
61344 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61346         Fix __if_freereq crash: Unlike the generic version which uses free,
61347         Hurd needs munmap.
61348         * sysdeps/mach/hurd/ifreq.h: New file.
61350 2011-01-27  Petr Baudis  <pasky@suse.cz>
61351             Ulrich Drepper  <drepper@gmail.com>
61353         [BZ 12445]#
61354         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
61355         to extend_alloca().
61356         * stdio-common/bug23.c: New file.
61357         * stdio-common/Makefile (tests): Add bug23.
61359 2010-09-28  Andreas Schwab  <schwab@redhat.com>
61360             Ulrich Drepper  <drepper@gmail.com>
61362         [BZ #12489]
61363         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
61364         before performing relro protection.  At old place add assertion
61365         to make sure nothing changed.
61367 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
61368             Glauber de Oliveira Costa  <glommer@gmail.com>
61370         * elf/elf.h: Add new ARM TLS relocs.
61372 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
61374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61375         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
61376         cast from r3.
61377         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
61378         'tests' variable.
61379         * sysdeps/wordsize-64/tst-writev.c: New file.
61381 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
61383         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
61384         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61385         insns in _dl_start to prevent a TOC reference before relocs are
61386         resolved.
61388 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
61390         [BZ #12469]
61391         * Makeconfig: Remove RANLIB definition.
61392         * Makerules: Don't use RANLIB.
61393         * aclocal.m4: Remove ranlib test.
61394         * configure.in: No need to check for ranlib.
61395         * elf/rtld-Rules: Don't use RANLIB.
61397 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61399         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61400         protection macro.
61401         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61402         inclusion protection macro.
61404         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61405         SIGRTMIN and SIGRTMAX and print information in that case only when
61406         SIGRTMIN is defined.
61408 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
61410         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61411         arginfo fn returning -1.
61413         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61414         and thousands string is zero terminated.
61416 2011-02-03  Andreas Schwab  <schwab@redhat.com>
61418         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61419         sysdeps/unix/sysv/linux/bits/socket.h.
61421 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61423         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61424         (__CPU_COUNT): Remove old macros.
61425         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61426         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61427         (__CPU_ALLOC, __CPU_FREE): Add macros.
61428         (__sched_cpualloc, __sched_cpufree): Add declarations.
61430 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
61432         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61433         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61434         * nscd/aicache.c (addhstaiX): Return timeout of added value.
61435         (readdhstai): Return value of addhstaiX call.
61436         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61437         (addgrbyX): Return value returned by cache_addgr.
61438         (readdgrbyname): Return value returned by addgrbyX.
61439         (readdgrbygid): Likewise.
61440         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61441         (addpwbyX): Return value returned by cache_addpw.
61442         (readdpwbyname): Return value returned by addhstbyX.
61443         (readdpwbyuid): Likewise.
61444         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61445         (addservbyX): Return value returned by cache_addserv.
61446         (readdservbyname): Return value returned by addservbyX:
61447         (readdservbyport): Likewise.
61448         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61449         (addhstbyX): Return value returned by cache_addhst.
61450         (readdhstbyname): Return value returned by addhstbyX.
61451         (readdhstbyaddr): Likewise.
61452         (readdhstbynamev6): Likewise.
61453         (readdhstbyaddrv6): Likewise.
61454         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61455         (readdinitgroups): Return value returned by addinitgroupsX.
61456         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61457         (prune_cache): Keep track of timeout value of re-added entries.
61458         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61459         * nscd/nscd.h: Adjust prototypes of readd* functions.
61461 2011-02-04  Roland McGrath  <roland@redhat.com>
61463         * nis/nis_server.c (nis_servstate): Use the right name for 0.
61464         (nis_stats): Likewise.
61465         * nis/nis_modify.c (nis_modify): Likewise.
61466         * nis/nis_remove.c (nis_remove): Likewise.
61467         * nis/nis_add.c (nis_add): Likewise.
61469         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61471         * posix/fnmatch_loop.c: Add some consts.
61473         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61475 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
61477         [BZ #12460]
61478         * config.make.in (config-cflags-novzeroupper): Define.
61479         * configure.in: Substitute libc_cv_cc_novzeroupper.
61480         * elf/Makefile (AVX-CFLAGS): Define.
61481         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61482         (CFLAGS-tst-auditmod4a.c): Likewise.
61483         (CFLAGS-tst-auditmod4b.c): Likewise.
61484         (CFLAGS-tst-auditmod6b.c): Likewise.
61485         (CFLAGS-tst-auditmod6c.c): Likewise.
61486         (CFLAGS-tst-auditmod7b.c): Likewise.
61487         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61489 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
61491         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61492         function to the callback.
61493         Patch partly by Jiri Olsa <jolsa@redhat.com>.
61495 2011-02-02  Andreas Schwab  <schwab@redhat.com>
61497         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61498         of errno.
61500 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
61502         [BZ #11724]
61503         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61504         of constructors.
61505         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61506         of destructors.
61507         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61509         [BZ #11724]
61510         * elf/Makefile: Add rules to build and run new test.
61511         * elf/tst-initorder.c: New file.
61512         * elf/tst-initorder.exp: New file.
61513         * elf/tst-initordera1.c: New file.
61514         * elf/tst-initordera2.c: New file.
61515         * elf/tst-initordera3.c: New file.
61516         * elf/tst-initordera4.c: New file.
61517         * elf/tst-initorderb1.c: New file.
61518         * elf/tst-initorderb2.c: New file.
61519         * elf/tst-order-a1.c: New file.
61520         * elf/tst-order-a2.c: New file.
61521         * elf/tst-order-a3.c: New file.
61522         * elf/tst-order-a4.c: New file.
61523         * elf/tst-order-b1.c: New file.
61524         * elf/tst-order-b2.c: New file.
61525         * elf/tst-order-main.c: New file.
61526         New test case by George Gensure <werkt0@gmail.com>.
61528 2010-10-01  Andreas Schwab  <schwab@redhat.com>
61530         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61531         decoding ACE if AI_CANONIDN.
61533 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
61535         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61537 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
61539         * version.h (RELEASE): Bump for 2.13 release.
61540         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61542         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61544         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61545         MADV_NOHUGEPAGE.
61546         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61547         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61548         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61549         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61550         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61551         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61553         * posix/getconf.c: Update copyright year.
61554         * catgets/gencat.c: Likewise.
61555         * csu/version.c: Likewise.
61556         * debug/catchsegv.sh: Likewise.
61557         * debug/xtrace.sh: Likewise.
61558         * elf/ldconfig.c: Likewise.
61559         * elf/ldd.bash.in: Likewise.
61560         * elf/sprof.c (print_version): Likewise.
61561         * iconv/iconv_prog.c: Likewise.
61562         * iconv/iconvconfig.c: Likewise.
61563         * locale/programs/locale.c: Likewise.
61564         * locale/programs/localedef.c: Likewise.
61565         * malloc/memusage.sh: Likewise.
61566         * malloc/mtrace.pl: Likewise.
61567         * nscd/nscd.c (print_version): Likewise.
61568         * nss/getent.c: Likewise.
61570         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61571         PF_CAIF, and PF_ALG.
61572         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61574 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
61576         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61577         (modules-names): Use them.
61578         (ifunc-test-modules, ifunc-pie-tests): Define.
61579         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61580         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61581         (test-extras): Likewise.
61582         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61583         $(compile-command.c).
61584         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61585         (all-built-dso): Define.
61586         (check-textrel.out, check-execstack.out): Depend on it.
61588         * configure.in: Don't override --enable-multi-arch.
61590 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
61592         [BZ #6812]
61593         * nscd/hstcache.c (tryagain): Define.
61594         (cache_addhst): Return tryagain not notfound for temporary errors.
61595         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61596         failed.
61598 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
61600         [BZ #10563]
61601         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61602         to make the syscall.
61603         * sysdeps/unix/sysv/linux/setgroups.c: New file.
61605         [BZ #12378]
61606         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61607         and fall back to matching as normal character if the string ends before
61608         the matching ']' is found.  This is what POSIX requires.
61609         * posix/testfnm.c: Adjust test result.
61610         * posix/globtest.sh: Adjust test result.  Add new test.
61611         * posix/tst-fnmatch.input: Likewise.
61612         * posix/tst-fnmatch2.c: Add new test.
61614 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
61616         * elf/Makefile (check-execstack): Revert last change.  Depend on
61617         check-execstack.h.
61618         (check-execstack.h): New target.
61619         (generated): Add check-execstack.h.
61620         * elf/check-execstack.c: Include "check-execstack.h".
61621         (main): Revert last change.
61622         (handle_file): Return zero if GNU_STACK is absent and
61623         DEFAULT_STACK_PERMS doesn't include PF_X.
61625 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
61627         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61628         in child fails because the descriptor is already closed.
61629         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61630         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61631         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61633         [BZ #12397]
61634         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61635         syscall.
61637         [BZ #10484]
61638         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61639         temporary buffer used to handle multi lookups locally.
61640         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61642 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61644         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61645         loader is ld.so.
61647 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
61649         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61650         alignment for SSE2.
61652 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61654         [BZ #12394]
61655         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61656         characters.  When rounding increased number of integer digits recompute
61657         number of groups.
61658         * stdio-common/tst-grouping.c: New file.
61659         * stdio-common/Makefile: Add rules to build and run tst-grouping.
61661 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
61663         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61664         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
61666         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61667         void.
61668         * bits/select.h: Likewise.
61670 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
61672         * po/ja.po: Update from translation team.
61674 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
61676         [BZ #11155]
61677         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61678         implementation just like for lxstat, fxstatat, et al.
61680 2010-12-27  Jim Meyering  <meyering@redhat.com>
61682         [BZ #12348]
61683         * posix/regexec.c (build_trtable): Return failure indication upon
61684         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
61686 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
61688         [BZ #12201]
61689         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61690         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61691         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61692         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61694         [BZ #12207]
61695         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61697         [BZ #12204]
61698         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61699         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61701 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
61703         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61704         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61705         script has SORT_BY_INIT_PRIORITY.
61706         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61707         NO_CTORS_DTORS_SECTIONS is defined.
61708         * elf/soinit.c: Likewise.
61709         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61710         NO_CTORS_DTORS_SECTIONS is defined.
61711         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61712         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61713         * sysdeps/sh/init-first.c: Likewise.
61714         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61716 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
61718         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61719         always use the slow path.
61721 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
61723         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61724         similar rule which adds the sysdep directories to the header search in
61725         order to pick up the correct platform stackinfo.h.
61726         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61727         perform test if it is, otherwise return successfully without testing.
61728         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61729         DEFAULT_STACK_PERMS define in stackinfo.h.
61730         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61731         defined in stackinfo.h.
61732         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61733         DEFAULT_STACK_PERMS defined in stackinfo.h.
61734         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61735         * sysdeps/ia64/stackinfo.h: Likewise.
61736         * sysdeps/s390/stackinfo.h: Likewise.
61737         * sysdeps/sh/stackinfo.h: Likewise.
61738         * sysdeps/sparc/stackinfo.h: Likewise.
61739         * sysdeps/x86_64/stackinfo.h: Likewise.
61740         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61741         PF_X for powerpc64.  Retain PF_X for powerpc32.
61743 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
61745         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61746         accurately.
61747         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61748         GETDENTS_64BIT_ALIGNED.
61750 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
61752         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61754 2010-12-10  Andreas Schwab  <schwab@redhat.com>
61756         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61757         _GNU_SOURCE.
61759         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61760         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61761         Remove __restrict.
61762         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61763         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61765 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
61767         [BZ #11655]
61768         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61769         are initialized.
61771 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
61773         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61775 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
61777         * po/it.po: Update from translation team.
61779 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
61781         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61782         unused codes.
61784 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
61786         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61788 2010-11-24  Andreas Schwab  <schwab@redhat.com>
61790         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61791         specially.
61792         (gaih_getanswer_slice): Likewise.
61794 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
61796         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61798 2010-05-31  Petr Baudis  <pasky@suse.cz>
61800         [BZ #11149]
61801         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61802         silently even in the chroot mode.
61804 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
61806         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61807         last patch a bit.  Pretty printing
61809 2010-05-31  Petr Baudis <pasky@suse.cz>
61811         [BZ #10085]
61812         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61813         initialization of skip_initgroups_dyn.
61815 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
61817         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61818         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61820 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
61822         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61824 2010-11-11  Andreas Schwab  <schwab@redhat.com>
61826         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61827         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61828         (tst-fnmatch-ENV): Set MALLOC_TRACE.
61829         ($(objpfx)tst-fnmatch-mem): New rule.
61830         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61831         * posix/tst-fnmatch.c (main): Call mtrace.
61833 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
61835         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61836         Support Intel processor model 6 and model 0x2c.
61838 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
61840         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61841           signed comparison.
61843 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
61845         [BZ #12205]
61846         * string/test-strncasecmp.c (check_result): New function.
61847         (do_one_test): Use it.
61848         (check1): New function.
61849         (test_main): Use it.
61850         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61851         Support strcasecmp and strncasecmp.
61853 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
61855         [BZ #12194]
61856         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61857         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61859 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61861         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61862         IFUNC support.
61863         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61864         memset-x86-64.
61865         * sysdeps/x86_64/multiarch/bzero.S: New file.
61866         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61867         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61868         * sysdeps/x86_64/multiarch/memset.S: New file.
61869         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61870         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61871         Set bit_Prefer_SSE_for_memop for Intel processors.
61872         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61873         Define.
61874         (index_Prefer_SSE_for_memop): Define.
61875         (HAS_PREFER_SSE_FOR_MEMOP): Define.
61877 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
61879         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61880         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61882 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
61884         [BZ #12191]
61885         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61886         (__x86_64_raw_data_cache_size_half): Likewise.
61887         (__x86_64_raw_shared_cache_size): Likewise.
61888         (__x86_64_raw_shared_cache_size_half): Likewise.
61890         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61891         (__x86_64_raw_data_cache_size_half): Likewise.
61892         (__x86_64_raw_shared_cache_size): Likewise.
61893         (__x86_64_raw_shared_cache_size_half): Likewise.
61894         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61895         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61896         and __x86_64_raw_shared_cache_size_half.  Round
61897         __x86_64_data_cache_size_half, __x86_64_data_cache_size
61898         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61899         to multiple of 256 bytes.
61901 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
61903         [BZ #12167]
61904         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61905         of inacessible symlinks.  Verify result of symlink before returning it.
61906         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61907         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61909 2010-10-28  Erich Ritz  <erichritz@gmail.com>
61911         * math/math.h (isinf): Fix typo in comment.
61913 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
61915         * po/da.po: Update from translation team.
61917 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
61919         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61920         is added to the list.
61922 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61923             Ulrich Drepper  <drepper@gmail.com>
61925         * elf/dl-object.c (_dl_new_object): Don't append the new object to
61926         the global list here.  Move code to...
61927         (_dl_add_to_namespace_list): ...here.  New function.
61928         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61929         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61930         * elf/dl-load.c (lose): Don't remove the element from the list.
61931         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61932         (_dl_map_object): Likewise.
61934 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
61936         [BZ #12159]
61937         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61938         into all bytes of SSE register.
61939         Patch by Richard Li <richardpku@gmail.com>.
61941 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
61943         [BZ #12140]
61944         * malloc/malloc.c (_int_free): Fill correct number of bytes when
61945         perturbing.
61947 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
61949         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61950         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61951         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61952         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61954         submachine.
61955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61957 2010-10-22  Andreas Schwab  <schwab@redhat.com>
61959         * include/dlfcn.h (__RTLD_SECURE): Define.
61960         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
61961         mode & __RTLD_SECURE instead.
61962         (open_path): Rename preloaded parameter to secure.
61963         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61964         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61965         * elf/dl-deps.c (openaux): Likewise.
61966         * elf/rtld.c (struct map_args): Remove is_preloaded.
61967         (map_doit): Don't use it.
61968         (dl_main): Likewise.
61969         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61970         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61972 2010-09-09  Andreas Schwab  <schwab@redhat.com>
61974         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61975         (sysd-rules-targets): Remove duplicates.
61976         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61977         rtld-%.$o dependency.
61979 2010-10-18  Andreas Schwab  <schwab@redhat.com>
61981         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61982         _dl_map_object do it.
61984 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
61986         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61987         fast fma builtins, define the macros in the C99 standard.
61988         (FP_FAST_FMAF): Likewise.
61989         (FP_FAST_FMAL): Likewise.
61990         * sysdeps/x86_64/bits/mathdef.h: Likewise.
61992         * bits/mathdef.h: Update copyright year.
61993         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61995 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
61997         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61998         builtins, define the macros in the C99 standard.
61999         (FP_FAST_FMAF): Likewise.
62000         (FP_FAST_FMAL): Likewise.
62001         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62002         multiply/add.
62003         (FP_FAST_FMAF): Likewise.
62005 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62007         [BZ #3268]
62008         * math/libm-test.inc (fma_test): Some new testcases.
62009         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62010         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62011         y and infinite z.  Do multiplication by C already in long double.
62012         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62013         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62014         y and infinite z.  Do bitwise or of inexact bit into u.d.
62015         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62016         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62017         * sysdeps/i386/fpu/s_fma.S: Removed.
62018         * sysdeps/i386/fpu/s_fmal.S: Removed.
62020 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62022         [BZ #3268]
62023         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62024         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62025         computation is not scheduled after fetestexcept.  Fix value
62026         of minimum denormal long double.
62028 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62030         [BZ #3268]
62031         * math/libm-test.inc (fma_test): Add some more tests.
62032         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62033         correctly.
62035 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62037         * scripts/data/localplt-s390-linux-gnu.data: New file.
62038         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62040 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62042         [BZ #3268]
62043         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62044         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62045         instead of dbl-64.
62046         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62047         inlines.
62048         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62049         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62050         if one of x and y is very large and the other is subnormal.
62051         * sysdeps/s390/fpu/s_fmaf.c: New file.
62052         * sysdeps/s390/fpu/s_fma.c: New file.
62053         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62054         * sysdeps/powerpc/fpu/s_fma.S: New file.
62055         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62056         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62057         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62059 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62061         [BZ #3268]
62062         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62063         fma tests.
62064         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62065         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62066         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62067         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62068         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62069         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62070         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62072 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62074         [BZ #12078]
62075         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62076         * posix/bug-regex31.input: Add test case.
62078 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62080         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62081         * posix/bug-regex31.input: New file.
62083         [BZ #12078]
62084         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62085         (parse_sub_exp): Fix last change, use postorder.
62087         * posix/bug-regex31.c: New file.
62088         * posix/Makefile: Add rules to build and run bug-regex31.
62090         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62092         [BZ #12078]
62093         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62095         [BZ #12108]
62096         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62097         to have entries in sys_siglist.
62099         [BZ #12093]
62100         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62101         be NULL.
62103 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62105         [BZ #3268]
62106         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62107         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62108         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62109         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62110         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62111         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62112         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62113         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62114         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62115         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62116         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62117         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62118         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62119         * math/ftestexcept.c (fetestexcept): Likewise.
62120         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62121         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62122         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62123         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62124         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62125         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62126         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62128 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62130         [BZ #12107]
62131         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62132         newline.
62134 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62136         * string/bug-strstr1.c: New file.
62137         * string/Makefile: Add rules to build and run bug-strstr1.
62139 2010-10-05  Eric Blake  <eblake@redhat.com>
62141         [BZ #12092]
62142         * string/str-two-way.h (two_way_long_needle): Always clear memory
62143         when skipping input due to the shift table.
62145 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62147         [BZ #12005]
62148         * malloc/mcheck.c: Handle large requests.
62150         [BZ #12077]
62151         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62152         for strncmp and strncasecmp.
62153         * string/stratcliff.c: Add tests for strcmp and strncmp.
62154         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62156 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62158         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62159         __set_fpscr.
62161 2010-09-30  Andreas Jaeger  <aj@suse.de>
62163         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62164         (CGROUP_SUPER_MAGIC): Define.
62165         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62166         Handle btrfs and cgroup file systems.
62167         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62168         Likewise.
62170 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62172         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62173         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62175 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62177         [BZ #12067]
62178         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62179         trying to locate the ELF header.
62181 2010-09-27  Andreas Schwab  <schwab@redhat.com>
62183         [BZ #11611]
62184         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62185         Mask out sign-bit copies when constructing f_fsid.
62187 2010-09-24  Petr Baudis <pasky@suse.cz>
62189         * debug/stack_chk_fail_local.c: Add missing licence exception.
62190         * debug/warning-nop.c: Likewise.
62192 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
62194         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62195         implementing getdents64 using getdents syscall, set d_type if
62196         __ASSUME_GETDENTS32_D_TYPE.
62198 2010-09-16  Andreas Schwab  <schwab@redhat.com>
62200         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62201         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62203 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
62205         [BZ #12037]
62206         * posix/unistd.h: Undo change of feature selection for ftruncate from
62207         2010-01-11.
62209 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
62211         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62212         detection.
62214 2010-09-20  Andreas Schwab  <schwab@redhat.com>
62216         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62217         fanotify_mark.
62218         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62220 2010-09-14  Andreas Schwab  <schwab@redhat.com>
62222         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62223         variables after CHECK_SP call.
62224         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62226 2010-09-13  Andreas Schwab  <schwab@redhat.com>
62227             Ulrich Drepper  <drepper@redhat.com>
62229         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62230         re-relocationg ld.so.
62231         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62232         _dl_init_paths call.
62233         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
62234         here anymore.
62236 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
62238         * resolv/res_init.c (__res_vinit): Count the default server we added.
62240 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
62241             Ulrich Drepper  <drepper@redhat.com>
62243         [BZ #11968]
62244         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62245         (____longjmp_chk): Use %ebx for saving value across system call.
62246         Add unwind info.
62248 2010-09-06  Andreas Schwab  <schwab@redhat.com>
62250         * manual/Makefile: Don't mix pattern rules with normal rules.
62252 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62254         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62255         operation.
62256         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62257         * libio/iofopncook.c (_IO_cookie_init): Likewise.
62258         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62259         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62260         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62261         Likewise.
62263 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
62265         [BZ #11979]
62266         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62267         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62269 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
62271         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62272         * sysdeps/x86_64/addmul_1.S: Likewise.
62273         * sysdeps/x86_64/lshift.S: Likewise.
62274         * sysdeps/x86_64/mul_1.S: Likewise.
62275         * sysdeps/x86_64/rshift.S: Likewise.
62276         * sysdeps/x86_64/sub_n.S: Likewise.
62277         * sysdeps/x86_64/submul_1.S: Likewise.
62279 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62281         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62282         Define __sched_param instead of SCHED_* and sched_param when
62283         <bits/sched.h> is included with __need_schedparam defined.
62284         * bits/sched.h [__need_schedparam]
62285         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62286         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62287         (__defined_schedparam): Define to 1.
62288         (__sched_param): New structure, identical to sched_param.
62289         (__need_schedparam): Undefine.
62291 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
62293         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62294         (epoll_create1): Declare.
62296         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62298 2010-08-31  Andreas Schwab  <schwab@redhat.com>
62300         [BZ #7066]
62301         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62302         shifting retval into place.
62304 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
62306         * nis/rpcsvc/nis.h: Update copyright notice.
62307         * nis/rpcsvc/nis.x: Likewise.
62308         * nis/rpcsvc/nis_callback.h: Likewise.
62309         * nis/rpcsvc/nis_callback.x: Likewise.
62310         * nis/rpcsvc/nis_object.x: Likewise.
62311         * nis/rpcsvc/nis_tags.h: Likewise.
62312         * nis/rpcsvc/yp.h: Likewise.
62313         * nis/rpcsvc/yp.x: Likewise.
62314         * nis/rpcsvc/ypupd.h: Likewise.
62315         * nis/yp_xdr.c: Likewise.
62316         * nis/ypupdate_xdr.c: Likewise.
62318         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
62319         mainly the body of pmap_getport.  Add parameters to specify timeouts.
62320         (pmap_getport): Use __libc_rpc_getport.
62321         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
62322         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
62323         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
62325 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
62327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
62328         fanotify_mark.
62330 2010-08-27  Roland McGrath  <roland@redhat.com>
62332         * sysdeps/i386/i686/multiarch/Makefile
62333         (CFLAGS-varshift.c): New variable.
62335 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
62337         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
62338         * sysdeps/i386/i686/multiarch/varshift.c: New file.
62340         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
62342         * sysdeps/x86_64/strlen.S: Minimal code improvement.
62344 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
62346         * sysdeps/x86_64/strlen.S: Unroll the loop.
62347         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62348         strlen-sse2 strlen-sse2-bsf.
62349         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
62350         __strlen_no_bsf if bit_Slow_BSF is set.
62351         (__strlen_sse42): Removed.
62352         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
62353         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
62355 2010-08-25  Roland McGrath  <roland@redhat.com>
62357         * sysdeps/x86_64/multiarch/varshift.S: File removed.
62358         * sysdeps/x86_64/multiarch/varshift.c: New file.
62359         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
62360         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
62361         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
62362         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62364 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
62366         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62367         strlen-sse2 strlen-sse2-bsf.
62368         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
62369         __strlen_sse2_bsf if bit_Slow_BSF is unset.
62370         (__strlen_sse2): Removed.
62371         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
62372         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
62373         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62374         bit_Slow_BSF for Atom.
62375         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
62376         (index_Slow_BSF): Define.
62377         (HAS_SLOW_BSF): Define.
62379 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
62381         [BZ #10851]
62382         * resolv/res_init.c (__res_vinit): When no server address at all
62383         is given default to loopback.
62385 2010-08-24  Roland McGrath  <roland@redhat.com>
62387         * configure.in: Remove config-name.h generation.
62388         * configure: Regenerated.
62389         * config-name.in: File removed.
62390         * scripts/config-uname.sh: New file.
62391         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62392         ($(objdir)config-name.h): New target.
62394         * sunrpc/rpc_parse.h: Avoid nested comment.
62396 2010-08-24  Richard Henderson  <rth@redhat.com>
62397             Ulrich Drepper  <drepper@redhat.com>
62398             H.J. Lu  <hongjiu.lu@intel.com>
62400         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62401         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62402         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62403         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
62404         _mm_alignr_epi8 with _mm_loadu_si128.
62405         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62406         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62407         (__m128i_shift_right): Removed.
62408         * sysdeps/i386/i686/multiarch/varshift.h: New file.
62409         * sysdeps/i386/i686/multiarch/varshift.S: New file.
62410         * sysdeps/x86_64/multiarch/varshift.h: New file.
62411         * sysdeps/x86_64/multiarch/varshift.S: New file.
62413 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
62415         * configure.in: Move assembler checks to before sysdep dir checking.
62417 2010-08-20  Petr Baudis  <pasky@suse.cz>
62419         * LICENSES: Sync the sunrpc license.
62421 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
62423         * sunrpc/auth_des.c: Update copyright notice once again.
62424         * sunrpc/auth_none.c: Likewise.
62425         * sunrpc/auth_unix.c: Likewise.
62426         * sunrpc/authdes_prot.c: Likewise.
62427         * sunrpc/authuxprot.c: Likewise.
62428         * sunrpc/bindrsvprt.c: Likewise.
62429         * sunrpc/clnt_gen.c: Likewise.
62430         * sunrpc/clnt_perr.c: Likewise.
62431         * sunrpc/clnt_raw.c: Likewise.
62432         * sunrpc/clnt_simp.c: Likewise.
62433         * sunrpc/clnt_tcp.c: Likewise.
62434         * sunrpc/clnt_udp.c: Likewise.
62435         * sunrpc/clnt_unix.c: Likewise.
62436         * sunrpc/des_crypt.c: Likewise.
62437         * sunrpc/des_soft.c: Likewise.
62438         * sunrpc/get_myaddr.c: Likewise.
62439         * sunrpc/getrpcport.c: Likewise.
62440         * sunrpc/key_call.c: Likewise.
62441         * sunrpc/key_prot.c: Likewise.
62442         * sunrpc/openchild.c: Likewise.
62443         * sunrpc/pm_getmaps.c: Likewise.
62444         * sunrpc/pm_getport.c: Likewise.
62445         * sunrpc/pmap_clnt.c: Likewise.
62446         * sunrpc/pmap_prot.c: Likewise.
62447         * sunrpc/pmap_prot2.c: Likewise.
62448         * sunrpc/pmap_rmt.c: Likewise.
62449         * sunrpc/rpc/auth.h: Likewise.
62450         * sunrpc/rpc/auth_unix.h: Likewise.
62451         * sunrpc/rpc/clnt.h: Likewise.
62452         * sunrpc/rpc/des_crypt.h: Likewise.
62453         * sunrpc/rpc/key_prot.h: Likewise.
62454         * sunrpc/rpc/netdb.h: Likewise.
62455         * sunrpc/rpc/pmap_clnt.h: Likewise.
62456         * sunrpc/rpc/pmap_prot.h: Likewise.
62457         * sunrpc/rpc/pmap_rmt.h: Likewise.
62458         * sunrpc/rpc/rpc.h: Likewise.
62459         * sunrpc/rpc/rpc_des.h: Likewise.
62460         * sunrpc/rpc/rpc_msg.h: Likewise.
62461         * sunrpc/rpc/svc.h: Likewise.
62462         * sunrpc/rpc/svc_auth.h: Likewise.
62463         * sunrpc/rpc/types.h: Likewise.
62464         * sunrpc/rpc/xdr.h: Likewise.
62465         * sunrpc/rpc_clntout.c: Likewise.
62466         * sunrpc/rpc_cmsg.c: Likewise.
62467         * sunrpc/rpc_common.c: Likewise.
62468         * sunrpc/rpc_cout.c: Likewise.
62469         * sunrpc/rpc_dtable.c: Likewise.
62470         * sunrpc/rpc_hout.c: Likewise.
62471         * sunrpc/rpc_main.c: Likewise.
62472         * sunrpc/rpc_parse.c: Likewise.
62473         * sunrpc/rpc_parse.h: Likewise.
62474         * sunrpc/rpc_prot.c: Likewise.
62475         * sunrpc/rpc_sample.c: Likewise.
62476         * sunrpc/rpc_scan.c: Likewise.
62477         * sunrpc/rpc_scan.h: Likewise.
62478         * sunrpc/rpc_svcout.c: Likewise.
62479         * sunrpc/rpc_tblout.c: Likewise.
62480         * sunrpc/rpc_util.c: Likewise.
62481         * sunrpc/rpc_util.h: Likewise.
62482         * sunrpc/rpcinfo.c: Likewise.
62483         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62484         * sunrpc/rpcsvc/key_prot.x: Likewise.
62485         * sunrpc/rpcsvc/klm_prot.x: Likewise.
62486         * sunrpc/rpcsvc/mount.x: Likewise.
62487         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62488         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62489         * sunrpc/rpcsvc/rex.x: Likewise.
62490         * sunrpc/rpcsvc/rstat.x: Likewise.
62491         * sunrpc/rpcsvc/rusers.x: Likewise.
62492         * sunrpc/rpcsvc/sm_inter.x: Likewise.
62493         * sunrpc/rpcsvc/spray.x: Likewise.
62494         * sunrpc/rpcsvc/yppasswd.x: Likewise.
62495         * sunrpc/rtime.c: Likewise.
62496         * sunrpc/svc.c: Likewise.
62497         * sunrpc/svc_auth.c: Likewise.
62498         * sunrpc/svc_authux.c: Likewise.
62499         * sunrpc/svc_raw.c: Likewise.
62500         * sunrpc/svc_run.c: Likewise.
62501         * sunrpc/svc_simple.c: Likewise.
62502         * sunrpc/svc_tcp.c: Likewise.
62503         * sunrpc/svc_udp.c: Likewise.
62504         * sunrpc/svc_unix.c: Likewise.
62505         * sunrpc/svcauth_des.c: Likewise.
62506         * sunrpc/xcrypt.c: Likewise.
62507         * sunrpc/xdr.c: Likewise.
62508         * sunrpc/xdr_array.c: Likewise.
62509         * sunrpc/xdr_float.c: Likewise.
62510         * sunrpc/xdr_mem.c: Likewise.
62511         * sunrpc/xdr_rec.c: Likewise.
62512         * sunrpc/xdr_ref.c: Likewise.
62513         * sunrpc/xdr_sizeof.c: Likewise.
62514         * sunrpc/xdr_stdio.c: Likewise.
62516         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62517         handling.
62519 2010-08-19  Andreas Schwab  <schwab@redhat.com>
62521         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62523 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
62525         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62526         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62527         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62528         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62529         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62530         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62531         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62532         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62533         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62534         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62535         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62536         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62537         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62538         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62540 2010-07-26  Anton Blanchard  <anton@samba.org>
62542         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62543         * malloc/arena.c (heap_trim): Likewise.
62545 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
62547         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62548         here.  Not...
62549         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62550         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62552 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
62554         * sysdeps/i386/elf/Makefile: New file.
62556 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62558         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62559         from fanotify_init.
62560         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62561         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62563 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
62565         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62566         of strncasecmp_l.
62567         * sysdeps/multiarch/strcmp.S: Likewise.
62569 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
62571         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62572         strncase_l-nonascii.
62573         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62574         Add strncase_l-ssse3.
62575         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62576         * sysdeps/x86_64/strcmp.S: Likewise.
62577         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62578         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62579         * sysdeps/x86_64/strncase.S: New file.
62580         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62581         * sysdeps/x86_64/strncase_l.S: New file.
62582         * string/Makefile (strop-tests): Add strncasecmp.
62583         * string/test-strncasecmp.c: New file.
62585         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62586         warning.
62588         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62589         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62591 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62593         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62595 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
62597         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62598         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62599         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62601 2010-05-01  Alan Modra  <amodra@gmail.com>
62603         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62604         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62605         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62606         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62607         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62608         tidying.  Don't tail-call __sigjmp_save for static lib.
62609         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62610         save location.
62611         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62612         (CALL_MCOUNT): Add eh info, and nop after bl.
62613         (TAIL_CALL_SYSCALL_ERROR): New macro.
62614         (PSEUDO_RET): Use it.
62615         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62616         Correct save location of integer regs and cr.
62617         (_dl_profile_resolve): Correct cr save location.  Delete nops
62618         after bl when SHARED.  Reduce cfi size a little by better
62619         placement of cfi directives.
62620         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62621         make a stack frame.  Instead use parm save area as a temp.
62622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62623         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
62624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62625         Don't make a stack frame for parent, use parm save area.
62626         Increase child stack frame to 112 bytes.  Don't save unused reg,
62627         and adjust reg usage.  Set up cfi on error recovery and
62628         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62630         (__makecontext): Add dummy nop after jump to exit.
62631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62632         Use correct parm save area and cr save, reduce stack frame.
62633         Correct cfi for possible PSEUDO_RET frame setup.
62634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62635         Branch to local label emitted by PSEUDO_RET rather than
62636         __syscall_error.
62638 2010-08-12  Andreas Schwab  <schwab@redhat.com>
62640         [BZ #11904]
62641         * locale/programs/locale.c (print_assignment): New function.
62642         (show_locale_vars): Use it.
62644 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
62646         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62647         field.
62648         (struct statfs64): Likewise.
62649         (_STATFS_F_FLAGS): Define.
62650         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62651         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62652         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62653         (ST_VALID): Define locally.
62654         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62655         __statvfs_getflags, use the provided value.
62656         * sysdeps/unix/sysv/linux/kernel-features.h: Define
62657         __ASSUME_STATFS_F_FLAGS.
62659         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62661         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62662         Add sys/fanotify.h.
62663         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62664         fanotify_mask for GLIBC_2.13.
62665         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62666         fanotify_init and fanotify_mark.
62667         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62668         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62670         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62671         Add prlimit.
62672         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62673         prlimit64 for GLIBC_2.13.
62674         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62675         prlimit64.
62676         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62677         syscall.
62678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62679         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62680         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62681         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62682         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
62683         add prlimit alias.
62684         * sysdeps/unix/sysv/linux/prlimit.c: New file.
62686         [BZ #11903]
62687         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62688         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62690         * nss/Makefile: Add rules to build and run tst-nss-test1.
62691         * shlib-versions: Add entry for libnss_test1.
62692         * nss/nss_test1.c: New file.
62693         * nss/tst-nss-test1.c: New file.
62695         * nss/nsswitch.c (__nss_database_custom): Define new variable.
62696         (__nss_configure_lookup): Set appropriate entry in
62697         __nss_configure_lookup to true.
62698         * nss/nsswitch.h: Define enum with indeces of databases in
62699         databases and __nss_database_custom arrays.  Declare
62700         __nss_database_custom.
62701         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62702         to avoid using nscd when custom rules are installed.
62703         * nss/getXXbyYY_r.c: Likewise.
62704         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62706         * nss/nss_files/files-parse.c: Whitespace fixes.
62708 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
62710         [BZ #11883]
62711         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62712         * posix/fnmatch_loop.c: Likewise.
62714 2010-07-17  Andi Kleen  <ak@linux.intel.com>
62716         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62717         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62718         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62719         * Versions.def [GLIBC_2.13]: Add.
62721 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
62723         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62724         Also fail if tpwd after pwuid call is NULL.
62726 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62728         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62729         when converting to ms.
62731 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62733         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62734         EOPNOTSUPP errors with ENOTTY.
62735         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62736         EOPNOTSUPP errors with ENOTTY.
62738 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
62740         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62741         Add strcasecmp_l-ssse3.
62742         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62743         strcasecmp.
62744         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62745         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62746         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62748 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
62750         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62752         * string/Makefile (strop-tests): Add strcasecmp.
62753         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62754         strcasecmp_l-nonascii.
62755         (gen-as-const-headers): Add locale-defines.sym.
62756         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62757         * sysdeps/x86_64/strcasecmp.S: New file.
62758         * sysdeps/x86_64/strcasecmp_l.S: New file.
62759         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62760         * sysdeps/x86_64/locale-defines.sym: New file.
62761         * string/test-strcasecmp.c: New file.
62763         * string/test-strcasestr.c: Test both ends of the range of characters.
62764         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62766 2010-07-29  Roland McGrath  <roland@redhat.com>
62768         [BZ #11856]
62769         * manual/locale.texi (Yes-or-No Questions): Fix example code.
62771 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
62773         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62774         for ld.so.
62776 2010-07-27  Andreas Schwab  <schwab@redhat.com>
62778         * manual/memory.texi (Malloc Tunable Parameters): Document
62779         M_PERTURB.
62781 2010-07-26  Roland McGrath  <roland@redhat.com>
62783         [BZ #11840]
62784         * configure.in (-fgnu89-inline check): Set and substitute
62785         gnu89_inline, not libc_cv_gnu89_inline.
62786         * configure: Regenerated.
62787         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62789 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
62791         * string/test-strnlen.c: New file.
62792         * string/Makefile (strop-tests): Add strnlen.
62793         * string/tester.c (test_strnlen): Add a few more test cases.
62794         * string/tst-strlen.c: Better error reporting.
62796         * sysdeps/x86_64/strnlen.S: New file.
62798 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
62800         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62801         lower-latency instructions.
62803 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
62805         * string/test-strcasestr.c: New file.
62806         * string/test-strstr.c: New file.
62807         * string/Makefile (strop-tests): Add strstr and strcasestr.
62808         * string/str-two-way.h: Don't undefine MAX.
62809         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62811 2010-07-21  Andreas Schwab  <schwab@redhat.com>
62813         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62814         strcasestr-nonascii.
62815         (CFLAGS-strcasestr-nonascii.c): Define.
62816         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62817         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62818         Remove unused attribute.
62820 2010-07-20  Roland McGrath  <roland@redhat.com>
62822         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62823         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
62824         ld.so.cache was broken.  With it, there is no way to disable dsocaps
62825         like LD_HWCAP_MASK can disable hwcaps.
62827 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62829         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62831 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
62833         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62834         call in strcasestr.
62835         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62836         __strcasestr_sse42_nonascii.
62837         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62838         strcasestr-nonascii.c.
62839         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62841 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
62843         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62844         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62845         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62846         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62848 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
62850         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62851         fcntl.
62853 2010-07-06  Andreas Schwab  <schwab@redhat.com>
62855         [BZ #11577]
62856         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62857         dl_signal_cerror.
62859 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
62861         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62862         _PC_PIPE_BUF using F_GETPIPE_SZ.
62864 2010-07-05  Roland McGrath  <roland@redhat.com>
62866         * manual/arith.texi (Rounding Functions): Fix rint description
62867         implicit in round description.
62869 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
62871         * elf/Makefile: Fix linking for a few tests to make recent linker
62872         happy.
62874 2010-06-30  Andreas Schwab  <schwab@redhat.com>
62876         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62877         $(common-objpfx)libc_nonshared.a.
62879 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
62881         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62882         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62883         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62884         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62885         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62886         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62887         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62888         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62903         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62904         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62905         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62906         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62907         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62908         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62909         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62910         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62911         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62912         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62913         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62914         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62930 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
62932         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62933         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
62934         * string/memmove.c (memmove): Renamed to ...
62935         (MEMMOVE): ...this.  Default to memmove.
62936         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62937         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62938         (END_CHK): Define.
62939         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62940         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62941         mempcpy-ssse3-back memmove-ssse3-back.
62942         * sysdeps/x86_64/multiarch/bcopy.S: New file .
62943         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62944         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62945         * sysdeps/x86_64/multiarch/memcpy.S: New file.
62946         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62947         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62948         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62949         * sysdeps/x86_64/multiarch/memmove.c: New file.
62950         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62951         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62952         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62953         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62954         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62955         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62956         Define.
62957         (index_Fast_Copy_Backward): Define.
62958         (HAS_ARCH_FEATURE): Define.
62959         (HAS_FAST_REP_STRING): Define.
62960         (HAS_FAST_COPY_BACKWARD): Define.
62962 2010-06-21  Andreas Schwab  <schwab@redhat.com>
62964         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62965         Restore proper fallback handling.
62967 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
62969         [BZ #11701]
62970         * posix/group_member.c (__group_member): Correct checking loop.
62972         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62973         OOM in getpwuid_r correctly.  Return error number when the caller
62974         should return, otherwise -1.
62975         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62976         call returning > 0 value.
62977         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62979 2010-06-07  Andreas Schwab  <schwab@redhat.com>
62981         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62982         libc_nonshared.a from targets in modules-names.
62984 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
62986         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62987         requires it.
62989 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
62991         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62992         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62993         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62994         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62996 2010-06-02  Andreas Schwab  <schwab@redhat.com>
62998         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63000 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63002         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63003         and F_GETPIPE_SZ.
63004         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63005         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63006         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63007         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63008         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63009         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63011 2010-06-14  Roland McGrath  <roland@redhat.com>
63013         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63015 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63017         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63018         __REDIRECT followed by __THROW.
63019         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63020         * posix/getopt.h (getopt): Likewise.
63022 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63024         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63025         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63026         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63027         in AT_FLAGS.
63028         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63029         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63031 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63033         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63035 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63037         [BZ #11640]
63038         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63039         Properly check family and model.
63041 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63043         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63045 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63047         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63049 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63051         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63052         symbol reference.
63054 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63056         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63057         symbol reference.
63059 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63061         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63062         and internal_recvmmsg.
63063         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63064         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63065         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63066         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63068         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63069         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63070         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63072 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63074         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63076 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63078         POWER7 optimizations.
63079         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63080         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63082 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63084         * version.h: Update for 2.13 development version.
63086 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63088         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63089         exceptions.  Return 0.
63091 2010-05-07  Roland McGrath  <roland@redhat.com>
63093         * elf/ldconfig.c (main): Add a const.
63095 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63097         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63098         (args_options): Add no-idn option.
63099         (ahosts_keys_int): Add idn_flags to ai_flags.
63100         (parse_option): Handle 'i' option to clear idn_flags.
63102         * malloc/malloc.c (_int_free): Possible race in the most recently
63103         added check.  Only act on the data if no current modification
63104         happened.
63106 See ChangeLog.17 for earlier changes.