1 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
4 * elf/Makefile (tests): Add Add tst-nodelete2.
5 (modules-names): Add tst-nodelete2mod.
6 (tst-nodelete2mod.so-no-z-defs): New.
7 ($(objpfx)tst-nodelete2): Likewise.
8 ($(objpfx)tst-nodelete2.out): Likewise.
9 (LDFLAGS-tst-nodelete2): Likewise.
10 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
11 out of loop through all loaded libraries.
12 * elf/tst-nodelete2.c: New file.
13 * elf/tst-nodelete2mod.c: Likewise.
15 2015-08-11 Andreas Schwab <schwab@suse.de>
17 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
18 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
19 (__openat64_nocancel): Likewise.
21 2015-08-11 Joseph Myers <joseph@codesourcery.com>
23 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
24 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
25 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
26 * math/auto-libm-test-out: Regenerated.
27 * sysdeps/i386/fpu/libm-test-ulps: Update.
28 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
34 threshold for returning +/- 1.
35 * math/auto-libm-test-in: Add more tests of tanh.
36 * math/auto-libm-test-out: Regenerated.
37 * sysdeps/i386/fpu/libm-test-ulps: Update.
39 2015-08-10 Andreas Schwab <schwab@suse.de>
42 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
44 * io/test-lfs.c (do_test): Test openat64.
46 2015-08-10 Joseph Myers <joseph@codesourcery.com>
49 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
50 smaller threshold for returning the argument.
51 * math/auto-libm-test-in: Add more tests of sinh.
52 * math/auto-libm-test-out: Regenerated.
53 * sysdeps/i386/fpu/libm-test-ulps: Update.
55 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
58 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
61 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
63 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
64 (generated): Don't add $(addprefix z.,$(tzfiles)).
66 2015-08-09 Mike Frysinger <vapier@gentoo.org>
68 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
69 * scripts/sysd-rules.awk: Likewise.
71 2015-08-09 Mike Frysinger <vapier@gentoo.org>
73 * iconvdata/tst-tables.sh: Change echo -n to printf.
74 * nss/db-Makefile: Likewise.
75 * posix/tst-getconf.sh: Likewise.
76 * stdio-common/tst-unbputc.sh: Likewise.
78 2015-08-09 Mike Frysinger <vapier@gentoo.org>
80 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
81 MADV_*_PAGES defines behind this feature check.
83 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
86 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
87 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
89 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
90 LOAD_REGS_5, LOAD_REGS_6): Update.
91 (INTERNAL_SYSCALL): Update using new LOAD defines.
92 (INTERNAL_SYSCALL_NCS): Likewise.
93 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
95 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
98 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
100 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
103 * catgets/Makefile (tst-catgets-mem): New test.
104 * catgets/catgets.c (catopen): Don't use unbounded alloca.
105 * catgets/open_catalog.c (__open_catalog): Likewise.
106 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
108 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
111 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
113 (atomic_compare_and_exchange_val_acq): Use register asms to assign
114 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
115 Cast return to __typeof (oldval).
117 2015-08-08 Mike Frysinger <vapier@gentoo.org>
119 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
120 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
121 and delete sys/syscall.h include.
123 2015-08-07 Joseph Myers <joseph@codesourcery.com>
126 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
127 (tan): Force underflow exception for arguments with small absolute
129 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
130 (__kernel_tanf): Force underflow exception for arguments with
131 small absolute value.
132 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
133 (__kernel_tanl): Force underflow exception for arguments with
134 small absolute value.
135 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
136 (__kernel_tanl): Force underflow exception for arguments with
137 small absolute value.
138 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
139 (__kernel_tanl): Force underflow exception for arguments with
140 small absolute value.
141 * math/auto-libm-test-in: Add more tests of tan.
142 * math/auto-libm-test-out: Regenerated.
144 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
146 Fix sysdeps/i386/fpu/s_scalbn.S build
148 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
150 2015-08-07 Mike Frysinger <vapier@gentoo.org>
152 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
154 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
156 Fix gcrt0.o compilation
158 When static-start-installed-name is different from
159 start-installed-name, we must not use the shared objects.
162 (extra-objs): Add gmon-start.o when building shared library and
163 $(static-start-installed-name) is different from
164 $(start-installed-name).
165 $(objpfx)g$(static-start-installed-name): When building shared
166 library and $(static-start-installed-name) is different from
167 $(static-start-installed-name), revert to non-shared rule,
168 i.e. using $(objpfx)% and gmon-start.o.
170 2015-08-06 Joseph Myers <joseph@codesourcery.com>
173 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
174 (__ieee754_sinh): Force underflow exception for arguments with
175 small absolute value.
176 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
177 (__ieee754_sinhf): Force underflow exception for arguments with
178 small absolute value.
179 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
180 (__ieee754_sinhl): Force underflow exception for arguments with
181 small absolute value.
182 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
183 (__ieee754_sinhl): Force underflow exception for arguments with
184 small absolute value.
185 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
186 (__ieee754_sinhl): Force underflow exception for arguments with
187 small absolute value.
188 * math/auto-libm-test-in: Add more tests of sinh.
189 * math/auto-libm-test-out: Regenerated.
190 * sysdeps/i386/fpu/libm-test-ulps: Update.
192 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
194 * libio/oldfileops.c: Include unistd.h.
196 2015-08-06 Mike Frysinger <vapier@gentoo.org>
198 * stdlib/isomac.c: Include ctype.h.
200 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
202 * dirent/tst-seekdir.c (main): Converted to ...
204 (TEST_FUNCTION): New macro.
205 Include test-skeleton.c.
206 * elf/tst-dlmodcount.c (main): Converted to ...
208 (TEST_FUNCTION): New macro.
209 Include test-skeleton.c.
210 * elf/tst-order-main.c (main): Converted to ...
212 (TEST_FUNCTION): New macro.
213 Include test-skeleton.c.
214 * elf/tst-pie2.c (main): Converted to ...
216 (TEST_FUNCTION): New macro.
217 Include test-skeleton.c.
218 * inet/tst-ether_aton.c (main): Converted to ...
220 (TEST_FUNCTION): New macro.
221 Include test-skeleton.c.
222 * misc/tst-mntent.c (main): Converted to ...
224 (TEST_FUNCTION): New macro.
225 Include test-skeleton.c.
226 * misc/tst-tsearch.c (main): Converted to ...
228 (TEST_FUNCTION): New macro.
229 Include test-skeleton.c.
230 * posix/tst-regexloc.c (main): Converted to ...
232 (TEST_FUNCTION): New macro.
233 Include test-skeleton.c.
234 * resolv/tst-aton.c (main): Converted to ...
236 (TEST_FUNCTION): New macro.
237 Include test-skeleton.c.
238 * stdio-common/test-fwrite.c (main): Converted to ...
240 (TEST_FUNCTION): New macro.
241 Include test-skeleton.c.
242 * stdio-common/tst-ferror.c (main): Converted to ...
244 (TEST_FUNCTION): New macro.
245 Include test-skeleton.c.
246 * stdio-common/tst-printf.c (main): Converted to ...
248 (TEST_FUNCTION): New macro.
249 Include test-skeleton.c.
250 * stdio-common/tst-printfsz.c (main): Converted to ...
252 (TEST_FUNCTION): New macro.
253 Include test-skeleton.c.
254 * stdlib/tst-strtod.c (main): Converted to ...
256 (TEST_FUNCTION): New macro.
257 Include test-skeleton.c.
258 * string/tst-strlen.c (main): Converted to ...
260 (TEST_FUNCTION): New macro.
261 Include test-skeleton.c.
262 * string/tst-svc.c (main): Converted to ...
264 (TEST_FUNCTION): New macro.
265 Include test-skeleton.c.
266 * time/tst-strptime.c (main): Converted to ...
268 (TEST_FUNCTION): New macro.
269 Include test-skeleton.c.
270 * timezone/tst-timezone.c (main): Converted to ...
272 (TEST_FUNCTION): New macro.
273 Include test-skeleton.c.
275 2015-08-05 Zack Weinberg <zackw@panix.com>
277 * misc/regexp.h: Update comments.
279 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
282 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
285 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
288 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
289 when calling __errno_location.
290 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
291 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
293 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
296 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
297 (__lll_timedwait_tid): Align stack to 16 bytes when calling
300 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
303 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
304 (__start_context): Don't use pop to restore %rdi so that stack
305 is aligned to 16 bytes when calling __setcontext.
307 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
309 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
311 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
313 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
315 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
316 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
317 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
319 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
321 * string/memccpy.c (memccpy):
322 Improve performance by using memchr/memcpy/__mempcpy.
324 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
326 * string/strncpy.c (strncpy):
327 Improve performance by using __strnlen/memcpy.
329 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
331 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
332 Optimize to avoid an unnecessary FPCR read.
334 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
336 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
337 Optimize to reduce FPCR/FPSR accesses.
339 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
341 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
342 dead->data[category] != NULL.
344 2015-08-05 Joseph Myers <joseph@codesourcery.com>
347 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
348 and |x| close to 1, use absolute value of x when computing log.
349 * math/auto-libm-test-in: Add more tests of pow.
350 * math/auto-libm-test-out: Regenerated.
352 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
354 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
355 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
356 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
358 2015-08-05 Marko Myllynen <myllynen@redhat.com>
361 * locales/km_KH: Remove timezone definition.
362 * locales/lo_LA: Likewise.
363 * locales/my_MM: Likewise.
364 * locales/nan_TW@latin: Likewise.
365 * locales/th_TH: Likewise.
366 * locales/uk_UA: Likewise.
368 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
371 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
376 2015-08-05 Mike Frysinger <vapier@gentoo.org>
378 * test-skeleton.c (usage): New function.
379 (main): Call usage when opt is '?'.
381 2015-08-05 Mike Frysinger <vapier@gentoo.org>
383 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
386 2015-08-05 Mike Frysinger <vapier@gentoo.org>
388 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
389 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
392 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
394 * version.h (RELEASE): Set to "development".
395 (VERSION): Set to "2.22.90"
397 * version.h (RELEASE): Set to "stable".
398 (VERSION): Set to "2.22"
399 * include/features.h (__GLIBC_MINOR__): Set to 22.
401 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
403 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
404 Restructure macro to avoid "value computed is not used" warning.
405 (atomic_compare_and_exchange_val_acq): Likewise.
407 2015-08-04 Andreas Schwab <schwab@suse.de>
410 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
412 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
414 2015-08-01 Carlos O'Donell <carlos@redhat.com>
416 * po/pl.po: Updated translation.
417 * po/uk.po: Likewise.
418 * po/fi.po: Likewise.
419 * po/ko.po: Likewise.
420 * po/ru.po: Likewise.
421 * po/vi.po: Likewise.
423 2015-07-31 Zack Weinberg <zackw@panix.com>
426 * regexp.h: Add unconditional #warning stating that this header
427 will be removed soon. Revise banner comment to match.
428 (compile): Consistently use ERROR instead of RETURN to report
429 errors (partial fix for bz#18681).
430 * regexp.c: Don't include regexp.h. Remove some unnecessary
433 2015-07-31 Carlos O'Donell <carlos@redhat.com>
435 * po/libc.pot: Regenerated.
437 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
440 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
441 float-vlen4-arch-ext-cflags): Removed.
442 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
443 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
445 2015-07-30 Mike Frysinger <vapier@gentoo.org>
448 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
449 aligned to __aligned__.
450 (pthread_cond_t, pthread_rwlock_t): Likewise.
452 2015-07-30 Torvald Riegel <triegel@redhat.com>
454 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
456 2015-07-30 Mike Frysinger <vapier@gentoo.org>
458 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
459 (struct sigaction): Change sa_flags from a long to an int, and add
460 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
462 2015-07-30 Mike Frysinger <vapier@gentoo.org>
464 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
465 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
466 sysdeps/generic/sysdep.h include.
467 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
468 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
469 sysdeps/hppa/sysdep.h.
470 (ENTRY, PSEUDO): Undefine before defining.
472 2015-07-30 Mike Frysinger <vapier@gentoo.org>
474 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
475 from scratch to use INTERNAL_SYSCALL.
477 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
480 * scripts/check-localplt.awk: Support alternate relocations.
481 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
483 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
484 malloc entries with + REL R_386_GLOB_DAT.
485 * sysdeps/x86_64/localplt.data: New file.
487 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
490 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
491 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
492 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
494 2015-07-27 Mike Frysinger <vapier@gentoo.org>
496 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
498 2015-07-27 Mike Frysinger <vapier@gentoo.org>
500 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
501 directly in terms of __sync_fetch_and_add and delete (int) cast.
503 2015-07-27 Mike Frysinger <vapier@gentoo.org>
505 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
506 the -D_ASM_IA64_CURRENT_H flag.
508 2015-07-27 Mike Frysinger <vapier@gentoo.org>
511 * pwd/pwd.h (putpwent): Delete __nonnull markings.
513 2015-07-27 Andreas Schwab <schwab@suse.de>
515 * conform/conformtest.pl (checknamespace): Filter out string
516 literals while tokenizing.
518 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
520 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
521 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
522 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
524 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
526 * nptl/tst-join7mod.c: Add #include <string.h>.
528 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
530 * sysdeps/nios2/libm-test-ulps: Update.
532 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
534 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
535 Fix order of arguments to the rt_sigprocmask syscall.
536 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
539 2015-07-24 Roland McGrath <roland@hack.frob.com>
541 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
543 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
546 * nptl/Makefile (tests): New test case tst-join7.
547 (modules-names): New test case module tst-join7mod.
548 * nptl/tst-join7.c: New file.
549 * nptl/tst-join7mod.c: New file.
550 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
551 all translation units in libc.so, libpthread.so and rtld.
553 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
557 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
559 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
560 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
561 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
562 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
563 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
564 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
565 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
566 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
567 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
568 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
569 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
570 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
571 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
572 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
573 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
576 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
579 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
580 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
581 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
582 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
583 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
584 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
586 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
588 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
589 instead of just saying load lock in the comments.
591 2015-07-23 Roland McGrath <roland@hack.frob.com>
593 * sysdeps/unix/Subdirs: Moved ...
594 * sysdeps/posix/Subdirs: ... here.
595 * login/pty.h (struct termios, struct winsize): Add forward decls.
596 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
597 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
598 * sysdeps/arm/nacl/libc.abilist: Updated.
599 * sysdeps/nacl/libutil.abilist: New file.
601 * bits/signum.h: Update comments to mention 1003.1-2013 too.
602 (SIGWINCH): New macro.
604 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
605 * sysdeps/arm/nacl/libc.abilist: Add it.
607 2015-07-23 Mike Frysinger <vapier@gentoo.org>
609 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
611 2015-07-23 Mike Frysinger <vapier@gentoo.org>
613 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
614 Swap __glibc_reserved0 and sa_flags order.
616 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
619 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
620 are pending TLS destructor calls.
621 * include/link.h (struct link_map): Add concurrency note for
623 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
624 Don't touch the link map flag. Atomically increment
626 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
627 Avoid taking the load lock and don't touch the link map flag.
628 * stdlib/tst-tls-atexit-nodelete.c: New test case.
629 * stdlib/Makefile (tests): Use it.
630 * stdlib/tst-tls-atexit.c (do_test): dlopen
631 tst-tls-atexit-lib.so again before dlclose. Add conditionals
632 to allow tst-tls-atexit-nodelete test case to use it.
634 2015-07-22 Mike Frysinger <vapier@gentoo.org>
636 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
638 (msgqnum_t): New typedef.
639 (msglen_t): Likewise.
640 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
641 and msg_qbytes type to msglen_t.
643 2015-07-22 Mike Frysinger <vapier@gentoo.org>
645 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
646 pad0 to __glibc_reserved0.
647 (struct stat64): Likewise.
649 2015-07-22 Mike Frysinger <vapier@gentoo.org>
651 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
652 Change sa_flags from a long to an int and add __glibc_reserved0 before
655 2015-07-22 Mike Frysinger <vapier@gentoo.org>
657 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
658 anonymous by deleting "siginfo" name.
660 2015-07-21 Roland McGrath <roland@hack.frob.com>
662 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
663 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
664 rather than __nacl_irt_filename.
665 * sysdeps/nacl/xstat.c (__xstat): Likewise.
667 * NEWS: New item for arm-nacl port.
668 * sysdeps/arm/nacl/libc.abilist: New file.
669 * sysdeps/nacl/ld.abilist: New file.
670 * sysdeps/nacl/libBrokenLocale.abilist: New file.
671 * sysdeps/nacl/libanl.abilist: New file.
672 * sysdeps/nacl/libcrypt.abilist: New file.
673 * sysdeps/nacl/libdl.abilist: New file.
674 * sysdeps/nacl/libm.abilist: New file.
675 * sysdeps/nacl/libpthread.abilist: New file.
676 * sysdeps/nacl/libresolv.abilist: New file.
677 * sysdeps/nacl/librt.abilist: New file.
679 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
681 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
682 __startcontext to initialize the new context.
683 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
684 up CFI directive to forbid further backtracing.
686 2015-07-21 Marko Myllynen <myllynen@redhat.com>
688 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
690 * charmaps/ANSI_X3.4-1968: Likewise.
691 * charmaps/BS_4730: Likewise.
692 * charmaps/BS_VIEWDATA: Likewise.
693 * charmaps/CP1250: Likewise.
694 * charmaps/CP1251: Likewise.
695 * charmaps/CP1252: Likewise.
696 * charmaps/CP1253: Likewise.
697 * charmaps/CP1254: Likewise.
698 * charmaps/CP1255: Likewise.
699 * charmaps/CP1256: Likewise.
700 * charmaps/CSN_369103: Likewise.
701 * charmaps/EBCDIC-DK-NO: Likewise.
702 * charmaps/GB_1988-80: Likewise.
703 * charmaps/GREEK-CCITT: Likewise.
704 * charmaps/GREEK7: Likewise.
705 * charmaps/INIS-8: Likewise.
706 * charmaps/ISIRI-3342: Likewise.
707 * charmaps/ISO_2033-1983: Likewise.
708 * charmaps/ISO_5427-EXT: Likewise.
709 * locales/POSIX: Likewise.
710 * locales/ar_SA: Likewise.
711 * locales/be_BY: Likewise.
712 * locales/be_BY@latin: Likewise.
713 * locales/ca_ES: Likewise.
714 * locales/cs_CZ: Likewise.
715 * locales/da_DK: Likewise.
716 * locales/de_BE: Likewise.
717 * locales/de_CH: Likewise.
718 * locales/de_LU: Likewise.
719 * locales/en_AU: Likewise.
720 * locales/en_BW: Likewise.
721 * locales/en_CA: Likewise.
722 * locales/en_DK: Likewise.
723 * locales/en_GB: Likewise.
724 * locales/en_IE: Likewise.
725 * locales/en_NZ: Likewise.
726 * locales/en_ZA: Likewise.
727 * locales/en_ZW: Likewise.
728 * locales/es_AR: Likewise.
729 * locales/es_BO: Likewise.
730 * locales/es_CL: Likewise.
731 * locales/es_CO: Likewise.
732 * locales/es_DO: Likewise.
733 * locales/es_EC: Likewise.
734 * locales/es_ES: Likewise.
735 * locales/es_HN: Likewise.
736 * locales/es_MX: Likewise.
737 * locales/es_PA: Likewise.
738 * locales/es_PE: Likewise.
739 * locales/es_PY: Likewise.
740 * locales/es_SV: Likewise.
741 * locales/es_US: Likewise.
742 * locales/es_UY: Likewise.
743 * locales/es_VE: Likewise.
744 * locales/et_EE: Likewise.
745 * locales/fa_IR: Likewise.
746 * locales/fo_FO: Likewise.
747 * locales/fr_CA: Likewise.
748 * locales/fr_CH: Likewise.
749 * locales/gv_GB: Likewise.
750 * locales/he_IL: Likewise.
751 * locales/hr_HR: Likewise.
752 * locales/id_ID: Likewise.
753 * locales/is_IS: Likewise.
754 * locales/it_CH: Likewise.
755 * locales/iw_IL: Likewise.
756 * locales/kl_GL: Likewise.
757 * locales/ko_KR: Likewise.
758 * locales/kw_GB: Likewise.
759 * locales/lg_UG: Likewise.
760 * locales/lt_LT: Likewise.
761 * locales/lv_LV: Likewise.
762 * locales/mi_NZ: Likewise.
763 * locales/nhn_MX: Likewise.
764 * locales/nl_BE: Likewise.
765 * locales/pl_PL: Likewise.
766 * locales/sk_SK: Likewise.
767 * locales/sl_SI: Likewise.
768 * locales/sv_FI: Likewise.
769 * locales/tl_PH: Likewise.
770 * locales/tr_TR: Likewise.
771 * locales/vi_VN: Likewise.
773 2015-07-21 Khem Raj <raj.khem@gmail.com>
776 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
779 2015-07-21 Mike Frysinger <vapier@gentoo.org>
782 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
784 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
786 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
788 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
789 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
790 (spawn_thread): New function.
791 (load): Rename to reg_dtor_and_close. Move dlopen to...
792 (do_test): ... here. Use IS_LOADED to test for its
795 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
797 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
799 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
802 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
805 (si_upper): Likewise.
807 2015-07-16 David S. Miller <davem@davemloft.net>
809 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
811 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
813 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
815 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
816 fail output information.
818 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
820 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
822 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
823 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
824 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
825 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
826 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
828 2015-07-16 Mike Frysinger <vapier@gentoo.org>
830 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
831 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
832 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
833 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
835 2015-07-16 Mike Frysinger <vapier@gentoo.org>
837 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
838 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
840 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
842 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
844 * tst-nodelete-opened.c (do_test): Add comment to clarify how
847 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
850 * elf/tst-nodelete-opened.c: New test case.
851 * elf/tst-nodelete-opened-lib.c: New test case module.
852 * elf/Makefile (tests, modules-names): Use them.
853 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
856 2015-07-15 David S. Miller <davem@davemloft.net>
858 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
860 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
861 * sysdeps/sparc/sparc64/Makefile: Likewise.
862 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
863 Remove space from macro define.
864 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
866 2015-07-15 Pravin Satpute <psatpute@redhat.com>
869 * locale/iso-639.def: Update Bhili and Tulu language codes as
872 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
874 * elf/tst-leaks1.c (main): Converted to ...
876 (TEST_FUNCTION): New macro.
877 Include test-skeleton.c.
878 * localedata/tst-langinfo.c (main): Converted to ...
880 (TEST_FUNCTION): New macro.
881 Include test-skeleton.c.
882 * math/test-fpucw.c (main): Converted to ...
884 (TEST_FUNCTION): New macro.
885 Include test-skeleton.c.
886 * math/test-tgmath.c (main): Converted to ...
888 (TEST_FUNCTION): New macro.
889 Include test-skeleton.c.
890 * math/test-tgmath2.c (main): Converted to ...
892 (TEST_FUNCTION): New macro.
893 Include test-skeleton.c.
894 * setjmp/tst-setjmp.c (main): Converted to ...
896 (TEST_FUNCTION): New macro.
897 Include test-skeleton.c.
898 * stdio-common/tst-sscanf.c (main): Converted to ...
900 (TEST_FUNCTION): New macro.
901 Include test-skeleton.c.
902 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
904 (TEST_FUNCTION): New macro.
905 Include test-skeleton.c.
907 * elf/tst-audit9.c (main): Converted to ...
909 (TEST_FUNCTION): New macro.
910 Include test-skeleton.c.
912 2015-07-15 Mike Frysinger <vapier@gentoo.org>
914 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
916 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
918 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
921 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
923 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
925 2015-07-14 Roland McGrath <roland@hack.frob.com>
927 * sysdeps/generic/dl-fileid.h: New file.
928 * sysdeps/posix/dl-fileid.h: New file.
929 * sysdeps/nacl/dl-fileid.h: New file.
930 * include/link.h: Include <dl-fileid.h>.
931 (struct link_map): Replace l_dev and l_ino with l_file_id.
932 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
933 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
934 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
936 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
938 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
940 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
942 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
944 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
946 (tst-nodelete-zmodiff): Likewise.
947 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
949 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
951 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
953 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
955 * sysdeps/aarch64/fpu/math_private.h
956 (define math_opt_barrier): Add AArch64 version.
957 (math_force_eval): Likewise.
959 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
961 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
963 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
965 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
966 %ld with %jd and cast to intmax_t.
967 (do_test_length_zero): Likewise.
969 2015-07-10 Roland McGrath <roland@hack.frob.com>
971 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
973 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
975 * sysdeps/tile/libm-test-ulps: Regenerated.
977 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
978 Comment out the whole function, not just its body.
980 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
982 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
985 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
987 2015-07-10 Torvald Riegel <triegel@redhat.com>
989 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
990 (sem_assume_only_signals_cause_futex_EINTR): Remove.
992 2015-07-10 Torvald Riegel <triegel@redhat.com>
994 * sysdeps/nptl/futex-internal.h: New file.
995 * sysdeps/nacl/futex-internal.h: New file.
996 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
997 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
999 (setxid_unmark_thread): Likewise.
1000 (__nptl_setxid): Likewise.
1001 (__wait_lookup_done): Likewise.
1002 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1003 * nptl/nptl-init.c (sighandler_setxid): Likewise.
1004 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1005 * nptl/pthread_once.c (clear_once_control): Likewise.
1006 (__pthread_once_slow): Likewise.
1007 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1008 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1009 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1010 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1011 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1012 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1014 (__pthread_rwlock_rdlock): Likewise.
1015 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1017 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1019 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1021 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1022 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1024 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1025 __ASSUME_PRIVATE_FUTEX check.
1026 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1027 Check that shared futexes are supported.
1028 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1029 wrappers with error checking.
1030 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1031 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1032 * nptl/pthread_barrierattr_setpshared.c
1033 (pthread_barrierattr_setpshared): Check that shared futexes are
1035 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1037 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1039 * nptl/sem_init.c (futex_private_if_supported): Remove.
1040 (__new_sem_init): Adapt and check that shared futexes are supported.
1041 * nptl/sem_open.c (sem_open): Likewise.
1042 * nptl/sem_post.c (futex_wake): Remove.
1043 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1044 (do_futex_wait): Use futex wrappers with error checking.
1045 * nptl/sem_wait.c: Include lowlevellock.h.
1046 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1047 Use futex_supports_pshared.
1048 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1049 Use futex wrappers with error checking.
1050 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1052 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1053 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1054 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1055 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1056 (futex_wake): Likewise.
1057 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1058 (do_futex_wait): Use futex wrappers with error checking.
1059 (__new_sem_wait_slow): Update EINTR handling.
1060 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1062 2015-07-09 Martin Sebor <msebor@redhat.com>
1065 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1066 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1067 * nptl/Makefile (test-xfail-tst-once5): Define.
1069 2015-07-09 Roland McGrath <roland@hack.frob.com>
1071 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1072 * elf/dl-minimal.c: For readability, reorder some definitions and
1073 introduce more page breaks. Include <stdio.h>.
1074 (__libc_fatal): New function.
1076 * include/unistd.h: Add rtld_hidden_proto for _exit.
1077 * posix/_exit.c: Add rtld_hidden_def.
1078 * sysdeps/mach/hurd/_exit.c: Likewise.
1079 * sysdeps/nacl/_exit.c: Likewise.
1080 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1081 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1083 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
1085 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1086 bndmov encoding with zero displacement.
1088 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
1089 H.J. Lu <hongjiu.lu@intel.com>
1092 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1093 * sysdeps/i386/configure: Regenerated.
1094 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1095 (_dl_runtime_profile): Save and restore Intel MPX return bound
1096 registers when calling _dl_call_pltexit. Add
1097 PRESERVE_BND_REGS_PREFIX before return.
1098 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1099 (LRV_BND1_OFFSET): Likewise.
1100 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1102 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1103 typo in bndmov encoding.
1104 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1105 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
1106 branch instructions to preserve bounds.
1108 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1111 [GLIBC_2.22]: Add fmemopen.
1113 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
1115 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1116 returns an error, also try to use host port from __mach_host_self for
1118 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1120 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1124 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1125 Fix pr_uid and pr_gid members.
1126 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1127 definition to elf_greg_t.
1129 2015-07-08 Roland McGrath <roland@hack.frob.com>
1132 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1133 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1134 * sysdeps/arm/configure: Regenerated.
1135 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1136 (test-xfail-tst-tlsalign-static): Variable removed.
1138 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1139 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1140 rather than explicit 'ln -s'.
1142 * resolv/rpc/netdb.h: New file.
1143 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1145 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1147 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1149 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1158 * include/stdio.h (fmemopen): Remove hidden prototype.
1159 (__fmemopen): Add new hidden prototype.
1160 * libio/Makefile: Add oldfmemopen object.
1161 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1162 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1164 * libio/oldfmemopen.c: New file: old fmemopen implementation for
1165 symbol compatibility.
1166 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1167 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1169 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1170 on append and read mode.
1171 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1173 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1174 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1175 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1176 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1178 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1179 [GLIBC_2.22]: Likewise.
1180 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1182 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1184 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1185 [GLIBC_2.22]: Likewise.
1186 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1187 [GLIBC_2.22]: Likewise.
1188 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1189 [GLIBC_2.22]: Likewise.
1190 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1191 [GLIBC_2.22]: Likewise.
1192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1193 [GLIBC_2.22]: Likewise.
1194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1195 [GLIBC_2.22]: Likewise.
1196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1197 [GLIBC_2.22]: Likewise.
1198 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1200 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1202 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1203 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1204 [GLIBC_2.22]: Likewise.
1205 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1206 [GLIBC_2.22]: Likewise.
1207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1208 [GLIBC_2.22]: Likewise.
1209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1210 [GLIBC_2.22]: Likewise.
1211 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1213 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1215 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1217 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1218 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1220 2015-07-08 Carlos O'Donell <carlos@redhat.com>
1223 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1224 IPV6_PATHMTU, and IPV6_DONTFRAG.
1226 2015-07-08 Feng Gao <gfree.wind@gmail.com>
1228 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1230 * libio/oldfileops.c: Likewise.
1231 * libio/wfileops.c: Likewise.
1233 2015-07-08 Mike Frysinger <vapier@gentoo.org>
1235 * nscd/selinux.c: Delete selinux/flask.h include.
1237 2015-07-08 Mike Frysinger <vapier@gentoo.org>
1240 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1241 (putpwent): Likewise.
1242 (getpwnam): Likewise.
1243 (getpwent_r): Likewise.
1244 (getpwuid_r): Likewise.
1245 (getpwnam_r): Likewise.
1246 (fgetpwent_r): Likewise.
1248 2015-07-08 Carlos O'Donell <carlos@redhat.com>
1251 * inet/rcmd.c (__validuser2_sa): Check user first to
1252 short-circuit host check.
1254 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
1255 Mikhail Ilin <m.ilin@samsung.com>
1258 * elf/Makefile (tests): Add tst-nodelete.
1259 (modules-names): Add tst-nodelete-uniquemod.
1260 (tst-nodelete-uniquemod.so-no-z-defs): New.
1261 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1262 (tst-nodelete-zmod.so-no-z-defs): Likewise.
1263 ($(objpfx)tst-nodelete): Likewise.
1264 ($(objpfx)tst-nodelete.out): Likewise.
1265 (LDFLAGS-tst-nodelete): Likewise.
1266 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1267 * elf/dl-close.c (_dl_close_worker): Add a parameter to
1268 implement forced object deletion.
1269 (_dl_close): Pass false to _dl_close_worker.
1270 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1271 * elf/tst-nodelete.cc: New file.
1272 * elf/tst-nodeletelib.cc: Likewise.
1273 * elf/tst-znodeletelib.cc: Likewise.
1274 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1276 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
1279 * stdlib/Makefile ($(objpfx)tst-makecontext3):
1281 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1282 is not called infinitely times.
1283 (backtrace_helper): New function.
1284 (trace_arg): New struct.
1285 (st1): Enlarge stack size.
1286 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1287 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1288 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1291 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
1293 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1295 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
1297 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1298 Include sys/types.h instead of bits/types.h.
1299 Remove inclusion of bits/wordsize.h.
1301 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
1303 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1304 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1305 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1306 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1307 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1308 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1310 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
1312 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1314 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1315 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1316 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1318 * sysdeps/i386/link-defines.sym: New file.
1320 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
1322 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1323 (modules-names): Add tst-auditmod3a tst-auditmod3b.
1324 ($(objpfx)tst-audit3): New rule.
1325 ($(objpfx)tst-audit3.out): Likewise.
1326 * sysdeps/i386/tst-audit3.c: New file.
1327 * sysdeps/i386/tst-audit3.h: Likewise.
1328 * sysdeps/i386/tst-auditmod3a.c: Likewise.
1329 * sysdeps/i386/tst-auditmod3b.c: Likewise.
1331 2015-07-07 Torvald Riegel <triegel@redhat.com>
1334 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
1336 (__strcat_c): Likewise.
1337 (__strcat_g): Likewise.
1339 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
1342 * misc/sbrk.c: Set errno to ENOMEM on overflow.
1344 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
1346 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1347 New function. (__ieee754_sqrtf): New function.
1348 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1350 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1353 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
1355 * sysdeps/ieee754/support.c: Remove unused file.
1357 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
1359 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1360 registers instead of d ones so the layout is kernel abi compatible.
1361 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1362 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1365 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1367 * sysdeps/aarch64/libm-test-ulps: Regenerated.
1369 2015-07-01 Joseph Myers <joseph@codesourcery.com>
1372 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1373 and return argument in case of subnormal argument.
1375 2015-07-01 Martin Sebor <msebor@redhat.com>
1378 * nptl/Makefile: Add tst-once5.cc.
1379 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1380 Remove macro redefinitions.
1381 * nptl/tst-once5.cc: New test.
1383 2015-07-01 Joseph Myers <joseph@codesourcery.com>
1385 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1387 * sysdeps/arm/libm-test-ulps: Regenerated.
1389 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1390 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1392 2015-06-30 Torvald Riegel <triegel@redhat.com>
1394 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
1395 lll_lock_wait_private and lll_futex_wake probes.
1397 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1398 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
1400 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
1402 * sysdeps/x86_64/bits/atomic.h: Likewise.
1403 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
1404 to atomic_spin_nop and move ...
1405 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1407 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
1408 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1409 atomic_spin_nop instead of BUSY_WAIT_NOP.
1410 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1412 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
1413 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1414 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
1415 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
1416 instead of atomic_delay.
1418 2015-06-29 Joseph Myers <joseph@codesourcery.com>
1421 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
1422 X_ADJ not X when adjusting exponent.
1423 (__ieee754_gamma_r): Do intermediate computations in
1424 round-to-nearest then adjust overflowing and underflowing results
1426 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
1427 of X_ADJ not X when adjusting exponent.
1428 (__ieee754_gammaf_r): Do intermediate computations in
1429 round-to-nearest then adjust overflowing and underflowing results
1431 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
1432 log of X_ADJ not X when adjusting exponent.
1433 (__ieee754_gammal_r): Do intermediate computations in
1434 round-to-nearest then adjust overflowing and underflowing results
1435 as needed. Use 1.0L not 1.0f as numerator of division.
1436 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
1437 log of X_ADJ not X when adjusting exponent.
1438 (__ieee754_gammal_r): Do intermediate computations in
1439 round-to-nearest then adjust overflowing and underflowing results
1440 as needed. Use 1.0L not 1.0f as numerator of division.
1441 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
1442 of X_ADJ not X when adjusting exponent.
1443 (__ieee754_gammal_r): Do intermediate computations in
1444 round-to-nearest then adjust overflowing and underflowing results
1445 as needed. Use 1.0L not 1.0f as numerator of division.
1446 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
1447 to auto-libm-test-in.
1448 (tgamma_test): Use ALL_RM_TEST.
1449 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
1450 tests of tgamma with spurious-overflow.
1451 * math/auto-libm-test-out: Regenerated.
1452 * math/gen-libm-have-vector-test.sh: Do not check for START.
1453 * sysdeps/i386/fpu/libm-test-ulps: Update.
1454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1457 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1458 arguments, just return 0.5 times the argument, with underflow
1460 * math/auto-libm-test-in: Add more tests of j1.
1461 * math/auto-libm-test-out: Regenerated.
1464 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1465 (__ieee754_j1): Force underflow exception for small results.
1466 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1467 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1468 (__ieee754_j1f): Force underflow exception for small results.
1469 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1470 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1471 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1472 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1473 (__ieee754_j1l): Force underflow exception for small results.
1474 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1475 * math/auto-libm-test-in: Add more tests of j1 and jn.
1476 * math/auto-libm-test-out: Regenerated.
1478 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1479 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1480 (PF_MPLS): Likewise.
1482 (AF_MPLS): Likewise.
1483 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1485 (MS_RMT_MASK): Include MS_LAZYTIME.
1487 2015-06-26 Mel Gorman <mgorman@suse.de>
1490 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1493 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
1495 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1496 (DT_MIPS_NUM): Update.
1497 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1498 DT_MIPS_RLD_MAP_REL.
1500 2015-06-25 Joseph Myers <joseph@codesourcery.com>
1504 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1505 round-to-nearest internally then recompute results that
1506 underflowed to zero in the original rounding mode.
1507 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1508 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1509 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1510 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1511 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1512 * sysdeps/i386/fpu/libm-test-ulps: Update.
1513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1515 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
1517 * NEWS: Fixed description of link with vector math library.
1519 2015-06-25 Andreas Schwab <schwab@suse.de>
1522 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1523 * libio/test-fmemopen.c (do_test): Add test for it.
1525 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
1528 * Makeconfig (no-pie-ldflag): New.
1529 (+link): Set to $(+link-pie) if default to PIE.
1530 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1531 * config.make.in (build-pie-default): New.
1532 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
1533 is default. AC_SUBST.
1534 * configure: Regenerated.
1535 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1537 2015-06-24 Roland McGrath <roland@hack.frob.com>
1539 * nptl/descr.h (struct pthread): Change type of field setxid_futex
1542 * resolv/gai_misc.h (struct waitlist): Change type of field
1543 counterp to 'volatile unsigned int *'.
1544 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1545 FUTEXADDR and OLDVAL.
1546 * resolv/getaddrinfo_a.c (getaddrinfo_a):
1547 Give local variable TOTAL type 'volatile unsigned int'.
1548 (struct async_waitlist): Change type of field counter to 'unsigned int'.
1549 * resolv/gai_suspend.c (gai_suspend):
1550 Give local variable CNTR type 'unsigned int'.
1552 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1553 counterp to 'volatile unsigned int *'.
1554 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1555 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1556 (aio_suspend): Give local variable CNTR type 'unsigned int'.
1557 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1558 Give local variable TOTAL type 'volatile unsigned int'.
1559 (struct async_waitlist): Change type of field counter to 'unsigned int'.
1561 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
1564 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1565 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
1566 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1567 comment for i386/x86-64.
1568 (test-xfail-tst-tlsalign-extern-static): Removed.
1570 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1572 * math/test-double.h: New file.
1573 * math/test-float.h: Likewise.
1574 * math/test-ldouble.h: Likewise.
1575 * math/test-math-inline.h: Likewise.
1576 * math/test-math-no-inline.h: Likewise.
1577 * math/test-math-scalar.h: Likewise.
1578 * math/test-math-vector.h: Likewise.
1579 * math/test-vec-loop.h: Remove file. Contents moved into
1581 * math/libm-test.inc (MATHCONST): Do not document macro.
1582 * math/test-double.c: Include test-double.h, test-math-no-inline.h
1583 and test-math-scalar.h.
1584 (FUNC): Remove macro.
1585 (FUNC_TEST): Likewise.
1587 (MATHCONST): Likewise.
1588 (PRINTF_EXPR): Likewise.
1589 (PRINTF_XEXPR): Likewise.
1590 (PRINTF_NEXPR): Likewise.
1591 (TEST_DOUBLE): Likewise.
1592 (TEST_MATHVEC): Likewise.
1593 (__NO_MATH_INLINES): Likewise.
1594 * math/test-float.c: Include test-float.h, test-math-no-inline.h
1595 and test-math-scalar.h.
1596 (FUNC): Remove macro.
1597 (FUNC_TEST): Likewise.
1599 (MATHCONST): Likewise.
1600 (PRINTF_EXPR): Likewise.
1601 (PRINTF_XEXPR): Likewise.
1602 (PRINTF_NEXPR): Likewise.
1603 (TEST_FLOAT): Likewise.
1604 (TEST_MATHVEC): Likewise.
1605 (__NO_MATH_INLINES): Likewise.
1606 * math/test-idouble.c: Include test-double.h, test-math-inline.h
1607 and test-math-scalar.h.
1608 (FUNC): Remove macro.
1609 (FUNC_TEST): Likewise.
1611 (MATHCONST): Likewise.
1612 (PRINTF_EXPR): Likewise.
1613 (PRINTF_XEXPR): Likewise.
1614 (PRINTF_NEXPR): Likewise.
1615 (TEST_DOUBLE): Likewise.
1616 (TEST_MATHVEC): Likewise.
1617 (TEST_INLINE): Likewise.
1618 (__NO_MATH_INLINES): Likewise.
1619 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1621 (FUNC): Remove macro.
1622 (FUNC_TEST): Likewise.
1624 (MATHCONST): Likewise.
1625 (PRINTF_EXPR): Likewise.
1626 (PRINTF_XEXPR): Likewise.
1627 (PRINTF_NEXPR): Likewise.
1628 (TEST_FLOAT): Likewise.
1629 (TEST_MATHVEC): Likewise.
1630 (TEST_INLINE): Likewise.
1631 (__NO_MATH_INLINES): Likewise.
1632 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1633 and test-math-scalar.h.
1634 (FUNC): Remove macro.
1635 (FUNC_TEST): Likewise.
1637 (MATHCONST): Likewise.
1638 (PRINTF_EXPR): Likewise.
1639 (PRINTF_XEXPR): Likewise.
1640 (PRINTF_NEXPR): Likewise.
1641 (TEST_LDOUBLE): Likewise.
1642 (TEST_MATHVEC): Likewise.
1643 (TEST_INLINE): Likewise.
1644 (__NO_MATH_INLINES): Likewise.
1645 * math/test-ldouble.c: Include test-ldouble.h,
1646 test-math-no-inline.h and test-math-scalar.h.
1647 (FUNC): Remove macro.
1648 (FUNC_TEST): Likewise.
1650 (MATHCONST): Likewise.
1651 (PRINTF_EXPR): Likewise.
1652 (PRINTF_XEXPR): Likewise.
1653 (PRINTF_NEXPR): Likewise.
1654 (TEST_LDOUBLE): Likewise.
1655 (TEST_MATHVEC): Likewise.
1656 (__NO_MATH_INLINES): Likewise.
1657 * math/test-double-vlen2.h: Include test-double.h,
1658 test-math-no-inline.h and test-math-vector.h.
1659 (FLOAT): Remove macro.
1661 (MATHCONST): Likewise.
1662 (PRINTF_EXPR): Likewise.
1663 (PRINTF_XEXPR): Likewise.
1664 (PRINTF_NEXPR): Likewise.
1665 (TEST_DOUBLE): Likewise.
1666 (TEST_MATHVEC): Likewise.
1667 (__NO_MATH_INLINES): Likewise.
1670 (WRAPPER_NAME): Likewise.
1671 (WRAPPER_DECL): Likewise.
1672 (WRAPPER_DECL_ff): Likewise.
1673 (WRAPPER_DECL_fFF): Likewise.
1674 (VECTOR_WRAPPER): Likewise.
1675 (VECTOR_WRAPPER_ff): Likewise.
1676 (VECTOR_WRAPPER_fFF): Likewise.
1677 (VEC_LEN): New macro.
1678 * math/test-double-vlen4.h: Include test-double.h,
1679 test-math-no-inline.h and test-math-vector.h.
1680 (FLOAT): Remove macro.
1682 (MATHCONST): Likewise.
1683 (PRINTF_EXPR): Likewise.
1684 (PRINTF_XEXPR): Likewise.
1685 (PRINTF_NEXPR): Likewise.
1686 (TEST_DOUBLE): Likewise.
1687 (TEST_MATHVEC): Likewise.
1688 (__NO_MATH_INLINES): Likewise.
1691 (WRAPPER_NAME): Likewise.
1692 (WRAPPER_DECL): Likewise.
1693 (WRAPPER_DECL_ff): Likewise.
1694 (WRAPPER_DECL_fFF): Likewise.
1695 (VECTOR_WRAPPER): Likewise.
1696 (VECTOR_WRAPPER_ff): Likewise.
1697 (VECTOR_WRAPPER_fFF): Likewise.
1698 (VEC_LEN): New macro.
1699 * math/test-double-vlen8.h: Include test-double.h,
1700 test-math-no-inline.h and test-math-vector.h.
1701 (FLOAT): Remove macro.
1703 (MATHCONST): Likewise.
1704 (PRINTF_EXPR): Likewise.
1705 (PRINTF_XEXPR): Likewise.
1706 (PRINTF_NEXPR): Likewise.
1707 (TEST_DOUBLE): Likewise.
1708 (TEST_MATHVEC): Likewise.
1709 (__NO_MATH_INLINES): Likewise.
1712 (WRAPPER_NAME): Likewise.
1713 (WRAPPER_DECL): Likewise.
1714 (WRAPPER_DECL_ff): Likewise.
1715 (WRAPPER_DECL_fFF): Likewise.
1716 (VECTOR_WRAPPER): Likewise.
1717 (VECTOR_WRAPPER_ff): Likewise.
1718 (VECTOR_WRAPPER_fFF): Likewise.
1719 (VEC_LEN): New macro.
1720 * math/test-float-vlen4.h: Include test-float.h,
1721 test-math-no-inline.h and test-math-vector.h.
1722 (FLOAT): Remove macro.
1724 (MATHCONST): Likewise.
1725 (PRINTF_EXPR): Likewise.
1726 (PRINTF_XEXPR): Likewise.
1727 (PRINTF_NEXPR): Likewise.
1728 (TEST_FLOAT): Likewise.
1729 (TEST_MATHVEC): Likewise.
1730 (__NO_MATH_INLINES): Likewise.
1733 (WRAPPER_NAME): Likewise.
1734 (WRAPPER_DECL): Likewise.
1735 (WRAPPER_DECL_ff): Likewise.
1736 (WRAPPER_DECL_fFF): Likewise.
1737 (VECTOR_WRAPPER): Likewise.
1738 (VECTOR_WRAPPER_ff): Likewise.
1739 (VECTOR_WRAPPER_fFF): Likewise.
1740 (VEC_LEN): New macro.
1741 * math/test-float-vlen8.h: Include test-float.h,
1742 test-math-no-inline.h and test-math-vector.h.
1743 (FLOAT): Remove macro.
1745 (MATHCONST): Likewise.
1746 (PRINTF_EXPR): Likewise.
1747 (PRINTF_XEXPR): Likewise.
1748 (PRINTF_NEXPR): Likewise.
1749 (TEST_FLOAT): Likewise.
1750 (TEST_MATHVEC): Likewise.
1751 (__NO_MATH_INLINES): Likewise.
1754 (WRAPPER_NAME): Likewise.
1755 (WRAPPER_DECL): Likewise.
1756 (WRAPPER_DECL_ff): Likewise.
1757 (WRAPPER_DECL_fFF): Likewise.
1758 (VECTOR_WRAPPER): Likewise.
1759 (VECTOR_WRAPPER_ff): Likewise.
1760 (VECTOR_WRAPPER_fFF): Likewise.
1761 (VEC_LEN): New macro.
1762 * math/test-float-vlen16.h: Include test-float.h,
1763 test-math-no-inline.h and test-math-vector.h.
1764 (FLOAT): Remove macro.
1766 (MATHCONST): Likewise.
1767 (PRINTF_EXPR): Likewise.
1768 (PRINTF_XEXPR): Likewise.
1769 (PRINTF_NEXPR): Likewise.
1770 (TEST_FLOAT): Likewise.
1771 (TEST_MATHVEC): Likewise.
1772 (__NO_MATH_INLINES): Likewise.
1775 (WRAPPER_NAME): Likewise.
1776 (WRAPPER_DECL): Likewise.
1777 (WRAPPER_DECL_ff): Likewise.
1778 (WRAPPER_DECL_fFF): Likewise.
1779 (VECTOR_WRAPPER): Likewise.
1780 (VECTOR_WRAPPER_ff): Likewise.
1781 (VECTOR_WRAPPER_fFF): Likewise.
1782 (VEC_LEN): New macro.
1783 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1785 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1786 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1787 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1788 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1789 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1790 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1791 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1793 2015-06-24 Roland McGrath <roland@hack.frob.com>
1795 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1796 (__getlogin_r): ... this.
1798 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1801 * math/s_ccosh.c (__ccosh): Compare with least normal value
1802 instead of comparing class with FP_SUBNORMAL.
1803 * math/s_ccoshf.c (__ccoshf): Likewise.
1804 * math/s_ccoshl.c (__ccoshl): Likewise.
1805 * math/s_cexp.c (__cexp): Likewise.
1806 * math/s_cexpf.c (__cexpf): Likewise.
1807 * math/s_cexpl.c (__cexpl): Likewise.
1808 * math/s_csin.c (__csin): Likewise.
1809 * math/s_csinf.c (__csinf): Likewise.
1810 * math/s_csinh.c (__csinh): Likewise.
1811 * math/s_csinhf.c (__csinhf): Likewise.
1812 * math/s_csinhl.c (__csinhl): Likewise.
1813 * math/s_csinl.c (__csinl): Likewise.
1814 * math/s_ctan.c (__ctan): Likewise.
1815 * math/s_ctanf.c (__ctanf): Likewise.
1816 * math/s_ctanh.c (__ctanh): Likewise.
1817 * math/s_ctanhf.c (__ctanhf): Likewise.
1818 * math/s_ctanhl.c (__ctanhl): Likewise.
1819 * math/s_ctanl.c (__ctanl): Likewise.
1820 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1821 csin, csinh, ctan and ctanh.
1822 * math/auto-libm-test-out: Regenerated.
1823 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1824 * sysdeps/i386/fpu/libm-test-ulps: Update.
1825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1827 2015-06-24 Roland McGrath <roland@hack.frob.com>
1829 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1830 return value is wrong, print the expected value too.
1832 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
1835 * elf/readlib.c (is_gdb_python_file): New.
1836 (process_file): Don't issue errors on filenames with -gdb.py
1839 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1841 * math/auto-libm-test-in: Add more tests of csin and csinh.
1842 * math/auto-libm-test-out: Regenerated.
1843 * math/libm-test.inc (csin_test_data): Remove tests moved to
1845 (csinh_test_data): Likewise.
1848 * math/s_csin.c (__csin): Negate before rather than after possibly
1849 overflowing multiplication.
1850 * math/s_csinf.c (__csinf): Likewise.
1851 * math/s_csinh.c (__csinh): Likewise.
1852 * math/s_csinhf.c (__csinhf): Likewise.
1853 * math/s_csinhl.c (__csinhl): Likewise.
1854 * math/s_csinl.c (__csinl): Likewise.
1855 * math/auto-libm-test-in: Add some tests of csin and csinh.
1856 * math/auto-libm-test-out: Regenerated.
1857 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1858 (csinh_test_data): Likewise.
1859 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1862 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1863 underflow exception for small results.
1865 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
1867 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1868 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1869 variable and included header.
1870 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1871 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1872 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1873 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1874 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1875 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1876 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1877 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1878 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1879 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1880 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1881 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1882 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1883 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1884 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1885 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1887 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1891 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1892 (__sin): Force underflow exception for arguments with small
1894 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1895 (__kernel_sinf): Force underflow exception for arguments with
1896 small absolute value.
1897 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1898 (__kernel_sincosl): Force underflow exception for arguments with
1899 small absolute value.
1900 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1901 (__kernel_sinl): Force underflow exception for arguments with
1902 small absolute value.
1903 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1904 (__kernel_sincosl): Force underflow exception for arguments with
1905 small absolute value.
1906 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1907 (__kernel_sinl): Force underflow exception for arguments with
1908 small absolute value.
1909 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1910 (__kernel_sinl): Force underflow exception for arguments with
1911 small absolute value.
1912 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1913 (__kernel_sinf): Force underflow exception for arguments with
1914 small absolute value.
1915 * math/auto-libm-test-in: Add more tests of sin and sincos.
1916 * math/auto-libm-test-out: Regenerated.
1920 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1921 (__kernel_standard_l): Use feholdexcept and fesetenv around
1922 conversion to double instead of special-casing overflow and
1924 * math/libm-test.inc (fmod_test_data): Add more tests.
1925 (remainder_test_data): Likewise.
1926 (sqrt_test_data): Likewise.
1928 2015-06-23 Torvald Riegel <triegel@redhat.com>
1931 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1932 atomic_read_barrier, atomic_write_barrier): Define.
1933 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1934 atomic_read_barrier, atomic_write_barrier): Define.
1936 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1938 * math/Makefile [$(PERL) != no]
1939 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1940 dependency on libm-test.stmp below the inclusion of Rules.
1942 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
1944 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1945 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1946 and included header.
1947 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1948 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1949 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1950 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1951 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1952 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1953 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1954 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1955 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1956 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1957 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1958 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1959 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1960 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1961 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1962 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1963 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1964 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1965 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1967 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1970 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1971 intermediate but not final result might underflow.
1972 * math/s_csqrtf.c (__csqrtf): Likewise.
1973 * math/s_csqrtl.c (__csqrtl): Likewise.
1974 * math/auto-libm-test-in: Add more tests of csqrt.
1975 * math/auto-libm-test-out: Regenerated.
1976 * sysdeps/i386/fpu/libm-test-ulps: Update.
1979 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1980 threshold on absolute value of exponent for which scaling is used.
1981 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1982 * math/auto-libm-test-in: Add more tests of exp2.
1983 * math/auto-libm-test-out: Regenerated.
1985 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
1988 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1989 when initializing interface list, based on the bug analysis
1990 and the patch proposed by Eric Newton.
1991 * resolv/tst-res_hconf_reorder.c: New test.
1992 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1993 tst-res_hconf_reorder.
1994 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1995 and $(shared-thread-library).
1996 (tst-res_hconf_reorder-ENV): New variable.
1998 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2001 2015-06-22 Joseph Myers <joseph@codesourcery.com>
2004 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2005 (__expm1): Force underflow exception for arguments with small
2007 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2008 (__expm1f): Force underflow exception for arguments with small
2010 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2011 (__expm1): Force underflow exception for arguments with small
2013 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2014 (__expm1f): Force underflow exception for arguments with small
2016 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2017 Check for small arguments before calling __expm1.
2018 * math/auto-libm-test-in: Do not mark underflow exceptions as
2019 possibly missing for bug 16353.
2020 * math/auto-libm-test-out: Regenerated.
2022 2015-06-22 Andreas Schwab <schwab@suse.de>
2025 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2028 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
2030 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2032 * string/strcoll_l.c: Remove unused struct element idxnow.
2034 2015-06-21 Joseph Myers <joseph@codesourcery.com>
2037 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2038 underflow and return argument in case of subnormal argument.
2039 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2041 * math/auto-libm-test-in: Add more tests of expm1.
2042 * math/auto-libm-test-out: Regenerated.
2045 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2046 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2048 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2049 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2051 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
2052 mark underflow exceptions as possibly missing for bug 16361.
2053 * math/auto-libm-test-out: Regenerated.
2055 2015-06-19 Joseph Myers <joseph@codesourcery.com>
2057 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2058 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2060 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2061 (test-xfail-XOPEN2K8/utmpx.h/conform).
2063 * conform/conformtest.pl ($xerrors): New variable.
2064 (note_error): New function.
2065 (compiletest): New argument $xfail. Use not_error.
2066 (runtest): Likewise.
2067 (top level): Handle xfail- lines. Update calls to compiletest and
2068 runtest. Handle xfail- and optional- in headers listed with
2070 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2072 (O_SEARCH): Likewise.
2073 * conform/data/stropts.h-data (ioctl): Likewise.
2074 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2075 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2076 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2077 (msghdr.msg_controllen): Likewise.
2078 (cmsghdr.cmsg_len): Likewise.
2079 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2080 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2082 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2083 (test-xfail-XPG4/stropts.h/conform): Likewise.
2084 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2085 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2086 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2087 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2088 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2089 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2090 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2091 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2092 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2093 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2094 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2095 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2096 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2097 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2098 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2099 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2100 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2101 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2102 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2104 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
2106 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2107 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2108 definitions for proper unfolding of __MATHDECL_VEC.
2110 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2112 * benchtests/bench-strcoll.c:
2114 (main): Remove unused variable res.
2116 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2118 * timezone/Makefile (%/UTC %/Universal):
2119 Generate test-result files for UTC and Universal.
2121 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2123 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2125 2015-06-18 Joseph Myers <joseph@codesourcery.com>
2128 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2129 for arguments with small absolute value.
2130 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2131 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2132 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2133 (__asinh): Force underflow exception for arguments with small
2135 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2136 (__asinhf): Force underflow exception for arguments with small
2138 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2139 (__asinhl): Force underflow exception for arguments with small
2141 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2142 (__asinhl): Force underflow exception for arguments with small
2144 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2145 (__asinhl): Force underflow exception for arguments with small
2147 * math/auto-libm-test-in: Do not mark underflow exceptions as
2148 possibly missing for bug 16350.
2149 * math/auto-libm-test-out: Regenerated.
2151 * include/bits/ipc.h: Remove file.
2152 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2154 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2155 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2156 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2157 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2158 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2159 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2160 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2161 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2162 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2164 * math/auto-libm-test-in: Remove spurious underflow allowance for
2166 * math/auto-libm-test-out: Regenerated.
2169 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2170 unconditional definition.
2171 (MCAST_BLOCK_SOURCE): Likewise.
2172 (MCAST_UNBLOCK_SOURCE): Likewise.
2173 (MCAST_LEAVE_GROUP): Likewise.
2174 (MCAST_JOIN_SOURCE_GROUP): Likewise.
2175 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2176 (MCAST_MSFILTER): Likewise.
2177 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2179 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2180 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2181 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2182 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2183 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2185 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
2187 * NEWS: Mention addition of x86_64 vector sincosf.
2188 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2189 * math/test-float-vlen4.h: Likewise.
2190 * math/test-float-vlen8.h: Likewise.
2191 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2192 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2193 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2194 * sysdeps/x86_64/fpu/Versions: New versions added.
2195 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2196 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2197 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2198 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2199 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2200 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2201 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2202 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2203 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2204 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2205 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2206 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2207 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2208 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2209 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2210 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2211 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2212 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2213 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2214 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2215 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2216 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2217 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2218 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2220 * NEWS: Mention addition of x86_64 vector sincos.
2221 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2222 * math/math.h (__MATHDECL_VEC): New macro.
2223 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2224 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2225 declaration under condition.
2226 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2227 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2228 TEST_VEC_LOOP change.
2229 * math/test-double-vlen4.h: Likewise.
2230 * math/test-double-vlen8.h: Likewise.
2231 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2232 * math/test-float-vlen4.h: Likewise.
2233 * math/test-float-vlen8.h: Likewise.
2234 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2235 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2236 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2237 * sysdeps/x86_64/fpu/Versions: New versions added.
2238 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2239 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2240 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2241 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2242 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2243 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2244 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2245 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2246 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2247 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2248 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2249 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2250 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2251 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2252 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2253 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2254 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2255 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2256 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2257 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2258 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2259 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2260 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2261 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2263 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2264 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2265 redirections for powf.
2266 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2267 * sysdeps/x86_64/fpu/Versions: New versions added.
2268 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2269 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2270 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2271 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2272 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2273 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2274 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2275 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2276 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2277 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2278 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2279 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2280 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2281 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2282 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2283 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2284 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2285 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2286 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2287 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2288 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2289 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2290 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2291 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2292 * math/test-float-vlen16.h: Fixed 2 argument macro.
2293 * math/test-float-vlen4.h: Likewise.
2294 * math/test-float-vlen8.h: Likewise.
2295 * NEWS: Mention addition of x86_64 vector powf.
2297 2015-06-17 Joseph Myers <joseph@codesourcery.com>
2299 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2301 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2303 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2304 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2305 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2308 * resource/getpriority.c (getpriority): Rename to __getpriority
2309 and define as weak alias of __getpriority.
2310 * resource/setpriority.c (setpriority): Rename to __setpriority
2311 and define as weak alias of __setpriority.
2312 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2313 __getpriority and define as weak alias of __getpriority.
2314 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2315 __setpriority and define as weak alias of __setpriority.
2316 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2318 (setpriority): Use __setpriority as strong name.
2319 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2320 __getpriority and define as weak alias of __getpriority.
2321 * include/sys/resource.h (__getpriority): Declare. Use
2323 (__setpriority): Likewise.
2324 (getpriority): Don't use libc_hidden_proto.
2325 (setpriority): Likewise.
2326 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2327 getpriority. Call __setpriority instead of setpriority.
2328 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2332 * misc/getttyent.c (getttynam): Rename to __getttynam and define
2333 as weak alias of __getttynam. Use prototype function definition.
2334 Call __setttyent, __getttyent and __endttyent instead of
2335 setttyent, getttyent and endttyent.
2336 (getttyent): Rename to __getttyent and define as weak alias of
2337 __getttyent. Call __setttyent instead of setttyent. Call
2338 __fgets_unlocked instead of fgets_unlocked.
2339 (setttyent): Rename to __setttyent and define as weak alias of
2341 (endttyent): Rename to __endttyent and define as weak alias of
2343 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
2344 (__setttyent): Likewise.
2345 (__endttyent): Likewise.
2346 (getttyent): Don't use libc_hidden_proto.
2347 (setttyent): Likewise.
2348 (endttyent): Likewise.
2349 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2350 __endttyent instead of setttyent, getttyent and endttyent.
2351 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2355 * socket/recv.c (__recv): Use libc_hidden_def.
2356 * socket/socket.c (__socket): Likewise.
2357 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2358 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2359 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2360 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2361 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2363 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2365 * include/sys/socket.h (__socket): Do not use attribute_hidden.
2366 Use libc_hidden_proto.
2368 * socket/Versions (libc): Export __recv and __socket at version
2370 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2372 (init_mq_netlink): Call __socket instead of socket.
2373 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2377 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
2378 __mq_timedreceive and define as alias of __mq_timedreceive. Use
2380 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
2381 define as alias of __mq_timedsend. Use hidden_weak.
2382 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
2383 __mq_timedsend as strong name.
2384 (mq_timedreceive): Use __mq_timedreceive as strong name.
2385 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
2386 (__mq_timedreceive): Likewise.
2387 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
2388 __mq_timedreceive instead of mq_timedreceive.
2389 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
2390 instead of mq_timedsend.
2391 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
2394 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
2395 hidden_def and hidden_weak instead of libc_hidden_def and
2397 (top level): Refer to hidden_def in comment.
2398 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
2399 macro. Use it instead of libc_hidden_def.
2400 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
2401 specify __GI_* name explicitly.
2402 (mq_timedreceive): Likewise.
2403 (mq_setattr): Likewise.
2406 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
2407 __pthread_barrier_init and define as weak alias of
2408 __pthread_barrier_init.
2409 * sysdeps/sparc/nptl/pthread_barrier_init.c
2410 (pthread_barrier_init): Likewise.
2411 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
2412 __pthread_barrier_wait and define as weak alias of
2413 __pthread_barrier_wait.
2414 * sysdeps/sparc/nptl/pthread_barrier_wait.c
2415 (pthread_barrier_wait): Likewise.
2416 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2417 (pthread_barrier_wait): Likewise.
2418 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
2419 (pthread_barrier_wait): Likewise.
2420 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
2421 (pthread_barrier_wait): Likewise.
2422 * nptl/Versions (libpthread): Export __pthread_barrier_init and
2423 __pthread_barrier_wait at version GLIBC_PRIVATE.
2424 * include/pthread.h (__pthread_barrier_init): Declare.
2425 (__pthread_barrier_wait): Likewise.
2426 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
2427 Call __pthread_barrier_wait instead of pthread_barrier_wait.
2428 (helper_thread): Likewise.
2429 (init_mq_netlink): Call __pthread_barrier_init instead of
2430 pthread_barrier_init.
2433 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
2434 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
2435 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
2436 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
2438 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
2442 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
2443 strong alias of _IO_fflush. Use libc_hidden_def.
2444 * libio/iofflush_u.c (fflush_unlocked): Rename to
2445 __fflush_unlocked and define as weak alias of __fflush_unlocked.
2446 Use libc_hidden_weak.
2447 * include/stdio.h (__fflush_unlocked): Declare. Use
2449 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2451 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2455 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2456 define as weak alias of __addseverity.
2457 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2459 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2460 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2461 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2464 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2465 (__tfind): Likewise.
2466 (__tdelete): Likewise.
2467 (__twalk): Likewise.
2468 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2469 __twalk to GLIBC_PRIVATE.
2470 * include/search.h (__tsearch): Use libc_hidden_proto.
2471 (__tfind): Likewise.
2472 (__tdelete): Likewise.
2473 (__twalk): Likewise.
2474 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2475 Call __tdelete instead of tdelete.
2476 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2477 tfind. Call __tsearch instead of tsearch.
2478 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2479 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2481 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2484 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2485 (dprintf): Define as a weak alias of __dprintf, not a strong
2487 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
2488 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2490 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2492 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2493 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2496 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2498 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2502 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2503 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
2504 (in6addr_loopback): Rename to __in6addr_loopback and define as
2505 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
2506 * include/netinet/in.h (__in6addr_loopback): Declare. Use
2508 (__in6addr_any): Likewise.
2509 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2511 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2513 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2515 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
2517 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2518 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2519 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2520 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2521 redirections for pow.
2522 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2523 * sysdeps/x86_64/fpu/Versions: New versions added.
2524 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2525 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2526 build of SSE, AVX2 and AVX512 IFUNC versions.
2527 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2528 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2529 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2530 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2531 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2532 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2533 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2534 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2535 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2536 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2537 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2538 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2539 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2540 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2541 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2542 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2543 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2544 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2545 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2546 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2547 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2548 * NEWS: Mention addition of x86_64 vector pow.
2550 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2551 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2552 redirections for expf.
2553 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2554 * sysdeps/x86_64/fpu/Versions: New versions added.
2555 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2556 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2557 build of SSE, AVX2 and AVX512 IFUNC versions.
2558 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2559 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2560 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2561 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2562 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2563 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2564 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2565 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2566 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2567 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2568 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2569 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2570 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2571 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2572 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2573 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2574 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2575 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2576 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2577 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2578 * NEWS: Mention addition of x86_64 vector expf.
2580 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2581 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2582 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2583 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2584 redirections for exp.
2585 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2586 * sysdeps/x86_64/fpu/Versions: New versions added.
2587 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2588 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2589 build of SSE, AVX2 and AVX512 IFUNC versions.
2590 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2591 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2592 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2593 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2594 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2595 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2596 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2597 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2598 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2599 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2600 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2601 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2602 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2603 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2604 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2605 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2606 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2607 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2608 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2609 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2610 * NEWS: Mention addition of x86_64 vector exp.
2612 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2613 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2614 redirections for logf.
2615 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2616 * sysdeps/x86_64/fpu/Versions: New versions added.
2617 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2618 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2619 build of SSE, AVX2 and AVX512 IFUNC versions.
2620 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2621 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2622 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2623 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2624 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2625 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2626 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2627 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2628 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2629 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2630 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2631 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2632 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2633 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2634 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2635 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2636 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2637 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2638 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2639 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2640 * NEWS: Mention addition of x86_64 vector logf.
2642 * bits/libm-simd-decl-stubs.h: Added stubs for log.
2643 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2644 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2645 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2646 redirections for log.
2647 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2648 * sysdeps/x86_64/fpu/Versions: New versions added.
2649 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2650 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2651 build of SSE, AVX2 and AVX512 IFUNC versions.
2652 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2653 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2654 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2655 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2656 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2657 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2658 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2659 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2660 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2661 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2662 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2663 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2664 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2666 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2667 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2668 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2669 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2670 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2671 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2672 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2673 * NEWS: Mention addition of x86_64 vector log.
2675 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
2677 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2678 cfi_adjust_cfa_offset argument.
2679 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2680 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2683 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2684 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2685 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2686 ordering using ldar.
2687 (_dl_tlsdesc_dynamic): Likewise.
2688 (_dl_tlsdesc_return_lazy): Likewise.
2689 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2690 relaxed atomics instead of volatile and synchronize with release store.
2691 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2693 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2695 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
2697 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2698 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2699 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2700 * sysdeps/x86_64/fpu/Versions: New versions added.
2701 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2702 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2703 build of SSE, AVX2 and AVX512 IFUNC versions.
2704 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2705 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2706 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2707 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2708 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2709 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2710 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2711 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2712 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2713 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2714 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2715 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2716 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2717 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2718 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2719 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2720 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2721 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2722 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2723 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2724 * NEWS: Mention addition of x86_64 vector sinf.
2726 2015-06-14 Joseph Myers <joseph@codesourcery.com>
2728 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2729 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2730 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2732 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2733 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2735 2015-06-12 Joseph Myers <joseph@codesourcery.com>
2738 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2739 strong alias of _IO_fputs. Use libc_hidden_def.
2740 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2741 and define as weak alias of __fputs_unlocked. Use
2743 * include/stdio.h (__fputs_unlocked): Declare. Use
2745 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2749 * resolv/netdb.h [__USE_POSIX]: Change condition to
2751 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2753 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2754 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2755 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2756 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2757 [XPG4 || UNIX98] (AI_ALL): Likewise.
2758 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2759 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2760 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2761 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2762 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2763 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2764 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2765 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2766 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2767 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2768 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2769 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2770 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2771 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2772 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2773 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2774 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2775 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2776 [XPG4 || UNIX98] (gai_strerror): Likewise.
2777 [XPG4 || UNIX98] (getaddrinfo): Likewise.
2778 [XPG4 || UNIX98] (getnameinfo): Likewise.
2781 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2782 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2784 (getgrent): Likewise.
2785 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2787 [XPG3 || POSIX2008] (endgrent): Likewise.
2788 [XPG3] (setgrent): Likewise.
2789 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2791 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2794 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2795 define as weak alias of __getlogin_r. Use libc_hidden_weak.
2796 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2797 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2798 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2799 * include/unistd.h (__getlogin_r): Declare. Use
2801 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2802 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2804 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2805 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2806 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2808 2015-06-12 Martin Sebor <msebor@redhat.com>
2811 * Makerules (check-install-supported): New target.
2812 (install): Add check-install-supported as a dependency.
2813 * manual/install.texi (Installing the C Library): Document
2814 that overriding prefix and exec_prefix is not supported.
2816 * INSTALL: Regenerate from the above.
2818 2015-06-12 Joseph Myers <joseph@codesourcery.com>
2821 * posix/Versions (libc): Export __libc_pread at version
2823 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2825 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2830 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2831 (cvt_symbol): Use weak_alias instead of strong_alias.
2832 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2833 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2835 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2836 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2839 * inet/herrno.c (h_errno): Rename to __h_errno.
2840 (__libc_h_errno): Define as alias of __h_errno not h_errno.
2841 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2842 to __h_errno instead of h_errno.
2843 * nptl/herrno.c (h_errno): Rename to __h_errno.
2844 (__h_errno_location): Refer to __h_errno not h_errno.
2845 * resolv/Versions (h_errno): Rename to __h_errno.
2846 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2848 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2850 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
2852 * configure.ac: More strict check for AVX512 assembler support.
2853 * configure: Regenerated.
2855 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2856 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2857 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2858 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2859 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2860 * sysdeps/x86_64/fpu/Versions: New versions added.
2861 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2862 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2863 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2864 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2865 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2866 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2867 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2868 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2869 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2870 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2871 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2872 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2873 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2874 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2875 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2876 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2878 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2879 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2880 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2881 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2882 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2883 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2884 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2885 * NEWS: Mention addition of x86_64 vector sin.
2887 2015-06-11 Florian Weimer <fweimer@redhat.com>
2889 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2892 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2895 * nptl/pt-interp.c: New file.
2896 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2898 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2899 $(common-objpfx)runtime-linker.h.
2901 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
2903 * Makeconfig (+interp): Remove unused variable.
2904 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2905 only. Depend on $(common-objpfx)runtime-linker.h instead of
2906 $(elf-objpfx)runtime-linker.h.
2907 ($(elf-objpfx)runtime-linker.h): Rename to
2908 $(common-objpfx)runtime-linker.h and move ...
2909 * Makerules [$(build-shared) = yes]: ... here.
2910 * elf/interp.c: Include <runtime-linker.h> instead of
2911 <elf/runtime-linker.h>.
2913 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2915 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2916 (__gettimeofday_syscall): Remove vsyscall fallback.
2917 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2918 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2919 Add syscall fallback function.
2920 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2921 if vDSO is not present.
2922 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2924 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2926 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2927 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2929 2015-06-09 Joseph Myers <joseph@codesourcery.com>
2932 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2934 (wcscmp): Define as weak alias of WCSCMP.
2935 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2937 (USE_HIDDEN_DEF): Define.
2938 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2939 __wcscoll. Don't use libc_hidden_weak.
2940 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2942 * sysdeps/i386/i686/multiarch/wcscmp-c.c
2943 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2945 (weak_alias): Undefine and redefine.
2946 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2947 __wcscmp and define as weak alias of __wcscmp.
2948 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2949 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
2950 (__wcscoll): Likewise.
2951 (wcscmp): Don't use libc_hidden_proto.
2952 (wcscoll): Likewise.
2953 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2955 * posix/regexec.c (check_node_accept_bytes): Likewise.
2956 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2958 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2959 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2962 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2963 __fstatvfs and define as weak alias of __fstatvfs. Use
2965 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2966 and define as weak alias of __statvfs. Use libc_hidden_weak.
2967 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2968 Define as alias of __fstatvfs, not fstatvfs.
2969 (fstatvfs64): Likewise.
2970 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2971 Define as alias of __statvfs, not statvfs.
2972 (statvfs64): Likewise.
2973 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2976 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2979 (HAVE_GETCPU_VSYSCALL): Define.
2980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2981 (HAVE_GETCPU_VSYSCALL): Likewise.
2982 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2983 * sysdeps/unix/sysv/linux/sched_getcpu.c
2984 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2985 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2986 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2988 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2989 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2990 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2991 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2993 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2994 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2995 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2996 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2998 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
3000 * sysdeps/x86_64/fpu/Makefile: New file.
3001 * sysdeps/x86_64/fpu/Versions: New file.
3002 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3003 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3004 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3005 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3006 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3007 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3008 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3009 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3010 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3011 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3012 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3013 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3014 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3015 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3016 Added build of SSE, AVX2 and AVX512 IFUNC versions.
3017 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3018 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3019 * sysdeps/x86_64/configure.ac: Options for libmvec build.
3020 * sysdeps/x86_64/configure: Regenerated.
3021 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3022 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3023 * manual/install.texi (Configuring and compiling): Document
3025 * INSTALL: Regenerated.
3026 * NEWS: Mention addition of libmvec and x86_64 vector cos.
3028 * math/Makefile: Added rules for vector tests.
3029 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3030 declaration under condition.
3031 * math/test-double-vlen2.h: New file.
3032 * math/test-double-vlen4.h: New file.
3033 * math/test-double-vlen8.h: New file.
3034 * math/test-vec-loop.h: Added initialization macro.
3035 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3036 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3037 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3038 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3039 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3040 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3041 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3042 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3043 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3044 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3045 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3047 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3048 * sysdeps/x86_64/fpu/Versions: New versions added.
3049 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3050 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3051 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3052 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3053 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3054 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3055 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3056 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3057 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3058 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3059 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3060 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3061 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3062 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3063 Added build of SSE, AVX2 and AVX512 IFUNC versions.
3064 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3065 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3066 * NEWS: Mention addition of x86_64 vector cosf.
3068 * math/Makefile: Added CFLAGS for new tests.
3069 * math/test-float-vlen16.h: New file.
3070 * math/test-float-vlen4.h: New file.
3071 * math/test-float-vlen8.h: New file.
3072 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3073 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3074 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3075 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3076 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3077 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3078 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3079 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3080 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3081 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3082 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3084 2015-06-09 Marko Myllynen <myllynen@redhat.com>
3086 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3087 * locale/programs/ld-ctype.c: Likewise.
3089 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
3091 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3092 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3093 bit_ZMM16_31_state): New macro.
3094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3095 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3097 2015-06-08 Joseph Myers <joseph@codesourcery.com>
3099 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3101 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
3103 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3105 2015-06-05 Joseph Myers <joseph@codesourcery.com>
3108 * libio/memstream.c (open_memstream): Rename to __open_memstream
3109 and define as weak alias of __open_memstream.
3110 * include/stdio.h (__open_memstream): Declare. Use
3112 (open_memstream): Don't use libc_hidden_proto.
3113 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3115 * posix/getopt.c (_getopt_internal_r): Likewise.
3116 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3118 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3119 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3120 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3123 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3127 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3128 [__USE_XOPEN2K8]. Remove redundant #endif.
3129 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3130 Remove redundant #if.
3131 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3133 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3134 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3137 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3138 (__iswlower): Likewise.
3139 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
3140 (__iswlower): Likewise.
3141 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3142 instead of towlower.
3143 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3144 instead of iswlower. Call __towupper instead of towupper.
3145 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3146 instead of iswalnum.
3148 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3150 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3153 2015-06-05 Florian Weimer <fweimer@redhat.com>
3157 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3158 Check for overflow properly. Check for O_APPEND. Ignore large
3159 file system block sizes. Add comments about problems.
3160 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3161 * manual/filesys.texi (Storage Allocation): New node.
3163 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3165 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3166 cancellable syscalls.
3167 (SYS_ify): Add guard to no redefine it.
3168 (INLINE_SYSCALL): Likewise.
3169 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3170 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3171 SYSCALL_CANCEL instead.
3172 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3173 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3174 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3175 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3176 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3177 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3178 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3179 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3180 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3181 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3182 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3183 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3184 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3185 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3186 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3187 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3189 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3190 (__libc_pread64): Likewise.
3191 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3192 (__libc_preadv): Likewise.
3193 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3194 (__libc_readv64): Likewise.
3195 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3196 (__libc_pwrite): Likewise.
3197 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3198 (__libc_pwrite64): Likewise.
3199 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3200 (__libc_pwritev): Likewise.
3201 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3202 (__libc_pwritev64): Likewise.
3203 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3204 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3205 (sync_file_range): Likewise.
3206 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3208 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3210 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3211 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3212 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3213 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3214 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3215 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3216 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3217 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3221 (__libc_read64): Likewise.
3222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3231 (__libc_pread64): Likewise.
3232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3235 (__libc_pwrite64): Likewise.
3236 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3237 (sync_file_range): Likewise.
3238 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3239 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3240 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3241 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3242 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3243 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3244 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3245 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3246 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3247 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3248 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3249 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3250 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3251 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3252 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3253 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3254 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3255 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3256 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3258 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3260 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3261 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3263 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3264 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3265 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3266 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3268 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3269 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3270 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3271 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3272 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3274 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
3276 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3278 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3279 Use VDSO routines for gettimeofday, clock_gettime if
3281 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3282 Declare VDSO symbols.
3283 * sysdeps/unix/sysv/linux/arm/sysdep.h:
3284 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3285 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3286 * sysdeps/unix/sysv/linux/arm/Versions: Add
3287 __vdso_clock_gettime.
3289 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3291 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3292 be an inline implementation regardless of library is built within.
3293 (open_not_cancel_2): Likewise.
3294 (__read_nocancel): Likewise.
3295 (__write_nocancel): Likewise.
3296 (openat_not_cancel): Likewise.
3297 (openat_not_cancel_3): Likewise.
3298 (openat64_not_cancel): Likewise.
3299 (openat64_not_cancel_3): Likewise.
3300 (__close_nocancel): Likewise.
3301 (pause_not_cancel): Likewise.
3302 (nanosleep_not_cancel): Likewise.
3303 (sigsuspend_not_cancel): Likewise.
3305 2015-06-04 Torvald Riegel <triegel@redhat.com>
3308 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3310 (__pthread_rwlock_rdlock_slow): Likewise.
3311 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3313 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3315 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3316 * nptl/tst-rwlock16.c: New file.
3317 * nptl/Makefile (tests): Add new test.
3319 2015-06-04 Torvald Riegel <triegel@redhat.com>
3322 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3323 missing wake-up of readers.
3324 * nptl/tst-rwlock15.c: New file.
3325 * nptl/Makefile (tests): Add new test.
3327 2015-06-03 Roland McGrath <roland@hack.frob.com>
3329 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3330 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3331 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3332 and __nacl_supply_interface_rtld.
3333 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3334 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
3335 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
3336 Add __nacl_supply_interface_rtld.
3337 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3339 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
3341 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3343 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3344 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3346 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
3348 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3349 __signbit* with standard C99 macros.
3350 * math/e_exp10l.c: Likewise.
3351 * math/e_exp2l.c: Likewise.
3352 * math/e_scalb.c: Likewise.
3353 * math/e_scalbf.c: Likewise.
3354 * math/e_scalbl.c: Likewise.
3355 * math/s_ldexp.c: Likewise.
3356 * math/s_ldexpf.c: Likewise.
3357 * math/s_ldexpl.c: Likewise.
3358 * math/w_atan2.c: Likewise.
3359 * math/w_atan2f.c: Likewise.
3360 * math/w_atan2l.c: Likewise.
3361 * math/w_cosh.c: Likewise.
3362 * math/w_coshf.c: Likewise.
3363 * math/w_coshl.c: Likewise.
3364 * math/w_exp10.c: Likewise.
3365 * math/w_exp10f.c: Likewise.
3366 * math/w_exp10l.c: Likewise.
3367 * math/w_exp2.c: Likewise.
3368 * math/w_exp2f.c: Likewise.
3369 * math/w_exp2l.c: Likewise.
3370 * math/w_fmod.c: Likewise.
3371 * math/w_fmodf.c: Likewise.
3372 * math/w_fmodl.c: Likewise.
3373 * math/w_hypot.c: Likewise.
3374 * math/w_hypotf.c: Likewise.
3375 * math/w_hypotl.c: Likewise.
3376 * math/w_jnl.c: Likewise.
3377 * math/w_lgamma.c: Likewise.
3378 * math/w_lgamma_r.c: Likewise.
3379 * math/w_lgammaf.c: Likewise.
3380 * math/w_lgammaf_r.c: Likewise.
3381 * math/w_lgammal.c: Likewise.
3382 * math/w_lgammal_r.c: Likewise.
3383 * math/w_pow.c: Likewise.
3384 * math/w_powf.c: Likewise.
3385 * math/w_powl.c: Likewise.
3386 * math/w_remainder.c: Likewise.
3387 * math/w_remainderf.c: Likewise.
3388 * math/w_remainderl.c: Likewise.
3389 * math/w_scalb.c: Likewise.
3390 * math/w_scalbf.c: Likewise.
3391 * math/w_scalbl.c: Likewise.
3392 * math/w_scalbln.c: Likewise.
3393 * math/w_scalblnf.c: Likewise.
3394 * math/w_scalblnl.c: Likewise.
3395 * math/w_sinh.c: Likewise.
3396 * math/w_sinhf.c: Likewise.
3397 * math/w_sinhl.c: Likewise.
3398 * math/w_tgamma.c: Likewise.
3399 * math/w_tgammaf.c: Likewise.
3400 * math/w_tgammal.c: Likewise.
3401 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3402 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
3403 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3404 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3405 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3406 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3407 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3408 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3409 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3410 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3411 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3412 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3413 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3414 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3415 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3416 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3417 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3418 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3419 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3420 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3421 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3422 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3423 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3424 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3425 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3426 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3427 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3428 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3429 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3430 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3431 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
3432 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
3433 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
3434 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
3435 * stdio-common/printf_fp.c: Likewise.
3436 * stdio-common/printf_fphex.c: Likewise.
3437 * stdio-common/printf_size.c: Likewise.
3439 2015-06-03 Joseph Myers <joseph@codesourcery.com>
3442 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
3444 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3446 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3447 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3448 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3449 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3450 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3451 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3452 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3453 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3454 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3455 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3458 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3459 weak alias of __wmemchr. Use libc_hidden_weak.
3460 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
3461 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3464 2015-06-02 Roland McGrath <roland@hack.frob.com>
3467 * elf/tst-tlsalign-extern.c: New file.
3468 * elf/tst-tlsalign-extern-static.c: New file.
3469 * elf/tst-tlsalign-vars.c: New file.
3470 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3471 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3472 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3473 ($(objpfx)tst-tlsalign-extern-static): Likewise.
3474 (test-xfail-tst-tlsalign-extern-static): New variable.
3476 2015-06-02 Joseph Myers <joseph@codesourcery.com>
3478 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3479 Use variable name _sc_err instead of err.
3480 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3482 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3483 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3484 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3485 (INLINE_SYSCALL): Likewise.
3487 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3488 * include/string.h (__strnlen): Use libc_hidden_proto.
3489 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3490 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3491 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3492 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3493 (libc_hidden_def): Undefine and redefine.
3494 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3495 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3497 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3499 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3502 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3503 weak alias of __towlower. Use libc_hidden_weak.
3504 (towupper): Rename to __towupper and define as weak alias of
3505 __towupper. Use libc_hidden_weak.
3506 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
3507 (__towupper): Likewise.
3508 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3509 __towlower instead of towlower.
3511 2015-06-02 Roland McGrath <roland@hack.frob.com>
3513 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3514 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3516 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3518 * sysdeps/aarch64/libm-test-ulps: Update.
3520 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3522 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3524 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3526 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3527 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3528 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3529 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3530 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3532 2015-06-01 Martin Sebor <msebor@redhat.com>
3535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3536 (__setcontext): Use extended four-operand version of mtsf whenever
3538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3539 (__novec_swapcontext): Likewise.
3541 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3543 * benchtests/scripts/compare_bench.py: New file.
3544 * benchtests/scripts/import_bench.py (mean): New function.
3545 (split_list): Likewise.
3546 (do_for_all_timings): Likewise.
3547 (compress_timings): Likewise.
3549 * benchtests/scripts/import_bench.py: New file.
3550 * benchtests/scripts/validate_benchout.py: Import import_bench
3551 instead of jsonschema.
3552 (validate_bench): Remove function.
3553 (main): Use import_bench.
3555 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
3557 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3558 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3560 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3564 2015-05-28 Roland McGrath <roland@hack.frob.com>
3566 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3567 set THREAD_SELF->tid to a magic value and futex-wake it.
3568 Pass its address to the thread_exit system call.
3569 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3571 * sysdeps/nacl/lowlevellock.h: New file.
3572 * sysdeps/nacl/lll_timedwait_tid.c: New file.
3574 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3575 Add TIMEOUT to current time, don't subtract it.
3577 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
3581 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3582 ($(objpfx)tst-audit2.out): Also depend on
3583 $(objpfx)tst-auditmod9b.so.
3584 * elf/tst-audit2.c: Include <dlfcn.h>.
3585 (calloc_called): New.
3586 (calloc): Allow to be called more than once.
3587 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3589 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
3591 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3592 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3594 2015-05-27 Marko Myllynen <myllynen@redhat.com>
3596 * stdlib/monetary.h: Fix comment.
3598 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
3600 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3601 Avoid using variables in #defines that might cause shadowing.
3602 (INTERNAL_VSYSCALL_CALL): Likewise.
3604 2015-05-26 Roland McGrath <roland@hack.frob.com>
3606 * sysdeps/nacl/lll_timedlock_wait.c: New file.
3608 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3609 * nptl/lll_timedlock_wait.c: ... to this new file.
3610 * nptl/Makefile (libpthread-routines): Add it.
3611 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3612 * nptl/lll_timedwait_tid.c: ... to this new file.
3613 * nptl/Makefile (libpthread-routines): Add it.
3614 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3615 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3616 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3617 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3618 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3619 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3620 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3621 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3622 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3623 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3625 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3627 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3628 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3629 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3630 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3631 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3632 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3633 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3634 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3635 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3636 * sysdeps/unix/sysv/linux/tile/sysdep.h
3637 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3638 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3639 using vDSO syscall macro.
3641 2015-05-26 Andriy Rysin <arysin@gmail.com>
3644 * uk_UA: Fix sorting order for Ukrainian locale
3646 2015-05-26 Marko Myllynen <myllynen@redhat.com>
3648 * stdlib/monetary.h: Fix comment.
3650 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
3653 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3654 st_mtim and st_ctim members.
3655 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3656 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3657 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3658 (struct stat64): Likewise.
3659 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3660 (struct stat64): Likewise.
3661 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3662 (struct stat64): Likewise.
3664 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3666 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3667 Define and include sysdep-vdso.h.
3668 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3670 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3672 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3673 Define with VDSO_SYMBOL and use PTR_MANGLE.
3674 (__vdso_clock_gettime): Likewise.
3675 (__vdso_clock_getres): Likewise.
3676 (_libc_vdso_platform_setup): Likewise.
3677 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3679 (_libc_vdso_platform_setup): Likewise.
3680 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3682 (__vdso_clock_gettime): Likewise.
3683 (__vdso_clock_getres): Likewise.
3684 (__vdso_get_tbfreq): Likewise.
3685 (__vdso_getcpu): Likewise.
3686 (__vdso_time): Likewise.
3687 (__vdso_sigtramp_rt64): Likewise.
3688 (__vdso_signtramp32): Likewise.
3689 (__vdso_sigtramp_rt32): Likewise.
3690 (_libc_vdso_platform_setup): Likewise.
3691 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3693 (__vdso_clock_gettime): Likewise.
3694 (__vdso_clock_getres): Likewise.
3695 (_libc_vdso_platform_setup): Likewise.
3696 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3698 (__vdso_clock_gettime): Likewise.
3699 (_libc_vdso_platform_setup): Likewise.
3700 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3702 (__vdso_getcpu): Likewise.
3703 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3704 Use VDSO_SYMBOL macro to define.
3705 (__vdso_clock_gettime): Likewise.
3706 (__vdso_clock_getres): Likewise.
3707 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3709 (__vdso_clock_gettime): Likewise.
3710 (__vdso_clock_getres): Likewise.
3711 (__vdso_get_tbfreq): Likewise.
3712 (__vdso_getcpu): Likewise.
3713 (__vdso_time): Likewise.
3714 (__vdso_sigtramp_rt64): Likewise.
3715 (__vdso_signtramp32): Likewise.
3716 (__vdso_sigtramp_rt32): Likewise.
3717 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3719 (__vdso_clock_gettime): Likewise.
3720 (__vdso_clock_getres): Likewise.
3721 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3723 (__vdso_clock_gettime): Likewise.
3724 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3726 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
3728 (INTERNAL_VSYSCALL): Likewise.
3729 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3731 (INTERNAL_VSYSCALL): Likewise.
3732 (INTERNAL_VSYSCALL_NCS): Likewise.
3733 (INTERNAL_VSYSCALL_CALL): New macro.
3734 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3735 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3737 (INTERNAL_VSYSCALL): Likewise.
3738 (INTERNAL_VSYSCALL_NCS): Likewise.
3739 (INTERNAL_VSYSCALL_CALL): New macro.
3740 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3742 (INLINE_VSYSCALL): Remove macro.
3743 (INTERNAL_VSYSCALL): Remove macro.
3744 (INTERNAL_VSYSCALL_NCS): Remove macro.
3745 (INTERNAL_VSYSCALL_CALL): New macro.
3746 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3747 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3748 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3749 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3750 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3752 (INLINE_VSYSCALL): Remove macro.
3753 (INTERNAL_VSYSCALL): Likewise.
3754 (INTERNAL_VSYSCALL_NCS): Likewise.
3755 (INTERNAL_VSYSCALL_CALL): New macro.
3756 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3757 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3758 PTR_DEMANGLE on vDSO pointer.
3759 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3760 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3762 (INTERNAL_SYSCALL): Likewise.
3763 (INTERNAL_VSYSCALL_NCS): Remove macro.
3764 (INTERNAL_VSYSCALL_CALL): New macro.
3765 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3767 (INTERNAL_VSYSCALL): Likewise.
3768 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3769 sysdep-vdso.h instead of libc-vdso.h.
3770 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3772 (INLINE_VSYSCALL): Likewise.
3773 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3774 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3776 (INLINE_VSYSCALL): Likewise.
3777 (INTERNAL_VSYSCALL): Likewise.
3778 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3779 * sysdeps/unix/sysv/linux/timespec_get.c
3780 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3781 (timespec_get): Use ANSI prototype.
3782 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3783 and definition for Linux.
3785 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
3787 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3788 * include/libc-symbols.h: libmvec_hidden_* macro series added.
3790 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
3794 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3795 for missing DT_PLTRELSZ.
3797 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
3799 Remove obsolete aliases that broke 'locale -a'
3801 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3802 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3803 breaking some applications that use 'locale -a' output.
3804 Change the encoding of this file from Latin-1 to ASCII to avoid
3805 other potential problems with people grepping this file.
3807 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3809 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3810 -fasynchronous-unwind-tables.
3811 (CFLAGS-sendto.c): Likewise.
3812 (CFLAGS-sendmsg.c): Likewise.
3813 (CFLAGS-connect.c): Likewise.
3814 (CFLAGS-recvmsg.c): Likewise.
3815 (CFLAGS-recvfrom.c): Likewise.
3816 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3817 (SOCKETCALL): New macro: non-cancellable socketcall.
3818 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3819 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3820 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3821 * sysdeps/unix/sysv/linux/accept.c: New file.
3822 * sysdeps/unix/sysv/linux/bind.c: Likewise.
3823 * sysdeps/unix/sysv/linux/connect.c: Likewise.
3824 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3825 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3826 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3827 * sysdeps/unix/sysv/linux/listen.c: Likewise.
3828 * sysdeps/unix/sysv/linux/recv.c: Likewise.
3829 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3830 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3831 * sysdeps/unix/sysv/linux/send.c: Likewise.
3832 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3833 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3834 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3835 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3836 * sysdeps/unix/sysv/linux/socket.c: Likewise.
3837 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3838 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3840 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3841 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3842 instead of __internal_xxx function.
3843 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3845 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3846 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3847 instead of __internal_xxx function.
3848 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3850 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3851 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3852 instead of __internal_xxx function.
3853 * sysdeps/unix/sysv/linux/accept.S: Remove file.
3854 * sysdeps/unix/sysv/linux/bind.S: Likewise.
3855 * sysdeps/unix/sysv/linux/connect.S: Likewise.
3856 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3857 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3858 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3859 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3860 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3861 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3862 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3863 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3864 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3865 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3866 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3867 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3868 * sysdeps/unix/sysv/linux/listen.S: Likewise.
3869 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3870 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3871 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3872 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3875 * sysdeps/unix/sysv/linux/recv.S: Likewise.
3876 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3877 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3878 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3879 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3880 * sysdeps/unix/sysv/linux/send.S: Likewise.
3881 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3882 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3883 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3884 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3885 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3886 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3887 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3888 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3889 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3890 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3891 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3892 socketcall is implemented in GLIBC.
3894 2015-05-22 Joseph Myers <joseph@codesourcery.com>
3896 * soft-fp/fmadf4.c: Include <libc-internal.h>.
3897 (__fma): Ignore uninitialized warnings around packing.
3898 * soft-fp/fmasf4.c: Include <libc-internal.h>.
3899 (__fmaf): Ignore uninitialized warnings around packing.
3900 * soft-fp/fmatf4.c: Include <libc-internal.h>.
3901 (__fmal): Ignore uninitialized warnings around packing.
3903 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3904 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3905 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3906 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3908 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3909 switch statement into default case.
3910 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3912 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3913 a conditional in forcing "inexact".
3914 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3917 2015-05-22 Roland McGrath <roland@hack.frob.com>
3919 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3920 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3921 for each INTERNAL_SYSCALL use.
3923 2015-05-22 Joseph Myers <joseph@codesourcery.com>
3926 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3927 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3931 * string/basename.c (basename): Rename to __basename and define as
3932 weak alias of __basename. Use libc_hidden_weak.
3933 * include/string.h (__basename): Declare. Use libc_hidden_proto.
3934 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3935 __basename instead of basename.
3936 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3938 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3940 2015-05-18 Florian Weimer <fweimer@redhat.com>
3942 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3943 (_IO_JUMPS_FILE_plus): New.
3944 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3945 _IO_CAST_FIELD_ACCESS.
3946 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3947 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3948 * libio/freopen.c (freopen): Likewise.
3949 * libio/freopen64.c (freopen64): Likewise.
3950 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3951 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3952 * libio/iofwide.c (_IO_fwide): Likewise.
3953 * libio/memstream.c (open_memstream): Likewise.
3954 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3955 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3956 * libio/oldiopopen.c (_IO_old_popen): Likewise.
3958 2015-05-21 Joseph Myers <joseph@codesourcery.com>
3960 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3961 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3963 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3964 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3966 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3967 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3970 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3973 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3974 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3976 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3977 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3978 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3980 2015-05-21 Florian Weimer <fweimer@redhat.com>
3982 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3983 Adjust jump table label generation macros.
3985 2015-05-21 Florian Weimer <fweimer@redhat.com>
3987 * stdio-common/vfprintf.c (vfprintf): Move local variables
3988 args_malloced, specs, specs_malloced, and the code after
3989 do_positional to the printf_positional function.
3990 (printf_positional): New function.
3992 2015-05-21 Florian Weimer <fweimer@redhat.com>
3994 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3996 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3997 STEP4_TABLE, process_arg): Move macro definitions
3998 out of the vfprintf function. (Cosmetic change only.)
4000 2015-05-21 Carlos O'Donell <carlos@redhat.com>
4002 * benchtests/Makefile (stdio-common-bench): Define.
4003 (benchset): Add stdio-common-bench.
4004 * sprintf-inputs: New file.
4005 * sprintf-source.c: New file.
4007 2015-05-21 Andreas Schwab <schwab@suse.de>
4011 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4012 of struct __res_state.
4013 * resolv/res_send.c (__libc_res_nsend): Likewise.
4014 (get_nsaddr): New function.
4015 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4018 2015-05-20 Joseph Myers <joseph@codesourcery.com>
4020 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4021 -D_POSIX_C_SOURCE=199506L.
4023 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4025 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4026 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4027 Do not mention otherwise.
4028 [POSIX] (_XOPEN_VERSION): Do not expect.
4029 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4030 [POSIX] (_POSIX2_C_BIND): Likewise.
4031 [POSIX] (_POSIX2_VERSION): Likewise.
4032 [POSIX] (_XOPEN_XPG2): Likewise.
4033 [POSIX] (_XOPEN_XPG3): Likewise.
4034 [POSIX] (_XOPEN_XPG4): Likewise.
4035 [POSIX] (_XOPEN_UNIX): Likewise.
4036 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4037 [POSIX] (_POSIX_BARRIERS): Likewise.
4038 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4039 [POSIX] (_POSIX_CPUTIME): Likewise.
4040 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4041 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4042 [POSIX] (_POSIX_SHELL): Likewise.
4043 [POSIX] (_POSIX_SPAWN): Likewise.
4044 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4045 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4046 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4047 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4048 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4049 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4050 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4051 [POSIX] (_XBS5_LP64_OFF64): Likewise.
4052 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4053 [POSIX] (_POSIX_TIMEOUTS): Likewise.
4054 [POSIX] (_POSIX2_PBS): Likewise.
4055 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4056 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4057 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4058 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4059 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4060 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4061 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4062 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4063 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4064 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4065 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4066 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4067 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4068 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4069 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4070 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4071 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4072 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4073 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4074 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4075 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4076 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4077 [POSIX] (_SC_2_C_BIND): Likewise.
4078 [POSIX] (_SC_2_C_VERSION): Likewise.
4079 [POSIX] (_SC_2_PBS): Likewise.
4080 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4081 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4082 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4083 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4084 [POSIX] (_SC_2_PBS_TRACK): Likewise.
4085 [POSIX] (_SC_ATEXIT_MAX): Likewise.
4086 [POSIX] (_SC_BARRIERS): Likewise.
4087 [POSIX] (_SC_BASE): Likewise.
4088 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4089 [POSIX] (_SC_DEVICE_IO): Likewise.
4090 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4091 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4092 [POSIX] (_SC_FD_MGMT): Likewise.
4093 [POSIX] (_SC_FIFO): Likewise.
4094 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4095 [POSIX] (_SC_FILE_LOCKING): Likewise.
4096 [POSIX] (_SC_FILE_SYSTEM): Likewise.
4097 [POSIX] (_SC_IOV_MAX): Likewise.
4098 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4099 [POSIX] (_SC_NETWORKING): Likewise.
4100 [POSIX] (_SC_PAGE_SIZE): Likewise.
4101 [POSIX] (_SC_PASS_MAX): Likewise.
4102 [POSIX] (_SC_PIPE): Likewise.
4103 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4104 [POSIX] (_SC_REGEXP): Likewise.
4105 [POSIX] (_SC_SHELL): Likewise.
4106 [POSIX] (_SC_SIGNALS): Likewise.
4107 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4108 [POSIX] (_SC_SPIN_LOCKS): Likewise.
4109 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4110 [POSIX] (_SC_USER_GROUPS): Likewise.
4111 [POSIX] (_SC_USER_GROUPS_R): Likewise.
4112 [POSIX] (_SC_STREAMS): Likewise.
4113 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4114 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4115 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4116 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4117 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4118 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4119 [POSIX] (_PC_FILESIZEBITS): Likewise.
4120 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4121 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4122 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4123 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4124 [POSIX] (uid_t): Likewise.
4125 [POSIX] (gid_t): Likewise.
4126 [POSIX] (off_t): Likewise.
4127 [POSIX] (pid_t): Likewise.
4128 [POSIX] (cuserid): Allow.
4129 (_SC_2_CHAR_TERM): Require constant.
4130 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4131 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4134 2015-05-20 Roland McGrath <roland@hack.frob.com>
4136 * sysdeps/nacl/pthread-pids.h: New file.
4137 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4138 (create_thread): Use __nacl_get_tid to initialize PD->tid.
4140 * nptl/pthread-pids.h: New file.
4141 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4142 * nptl/nptl-init.c: Include <pthread-pids.h>.
4143 (__pthread_initialize_minimal_internal):
4144 Call __pthread_initialize_pids instead of set_tid_address syscall.
4146 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4147 * sysdeps/posix/usleep.c: ... here.
4149 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4151 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4152 call_pselect6 object.
4153 [$(subdir) = io]: Remove call_sync_file_range object.
4154 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4155 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4156 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4157 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4159 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
4161 * math/s_cproj.c: Add include "math_private.h".
4162 * math/s_cprojf.c: Likewise.
4163 * math/s_cprojl.c: Likewise.
4165 2015-05-19 Joseph Myers <joseph@codesourcery.com>
4168 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4169 high mantissa bit when testing whether P is a NaN.
4170 * math/libm-test.inc (remainder_test_data): Add more tests.
4171 (remquo_test_data): Likewise.
4174 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4175 below -32, return the argument, with underflow if subnormal.
4176 * math/auto-libm-test-in: Add more tests of atanh.
4177 * math/auto-libm-test-out: Regenerated.
4179 2015-05-19 Roland McGrath <roland@hack.frob.com>
4182 * nptl/tst-sem15.c: New file.
4183 * nptl/Makefile (tests): Add it.
4184 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4185 s/<</>>/ to fix typo in EOVERFLOW check.
4186 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4188 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4190 * manual/strings.texi (envz_remove): Fix typo in safety
4193 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
4194 Steve Ellcey <sellcey@imgtec.com>
4196 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4197 in order to avoid strict alias warnings.
4198 (iruserok_af): Ditto for ra.
4200 2015-05-19 James Lemke <jwlemke@codesourcery.com>
4204 (magicbyte): Convert to a function and avoid returning 0x01.
4205 (mem2mem_check): Avoid using a length byte equal to the magic byte.
4206 (mem2chunk_check): Fix unsigned comparisons to zero.
4207 Hoist defs of sz and magic.
4209 2015-05-19 Richard Henderson <rth@redhat.com>
4211 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4213 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4215 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4218 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4219 * malloc/arena.c (arena_lock): Check if arena is corrupt.
4220 (reused_arena): Find a non-corrupt arena.
4221 (heap_trim): Pass arena to unlink.
4222 * malloc/hooks.c (malloc_check_get_size): Pass arena to
4224 (top_check): Likewise.
4225 (free_check): Likewise.
4226 (realloc_check): Likewise.
4227 * malloc/malloc.c (malloc_printerr): Add arena argument.
4229 (munmap_chunk): Adjust.
4230 (ARENA_CORRUPTION_BIT): New macro.
4231 (arena_is_corrupt): Likewise.
4232 (set_arena_corrupt): Likewise.
4233 (sysmalloc): Use mmap if there are no usable arenas.
4234 (_int_malloc): Likewise.
4235 (__libc_malloc): Don't fail if arena_get returns NULL.
4236 (_mid_memalign): Likewise.
4237 (__libc_calloc): Likewise.
4238 (__libc_realloc): Adjust for additional argument to
4240 (_int_free): Likewise.
4241 (malloc_consolidate): Likewise.
4242 (_int_realloc): Likewise.
4243 (_int_memalign): Don't touch corrupt arenas.
4244 * malloc/tst-malloc-backtrace.c: New test case.
4246 * Makefile (summarize-tests): Fix return value on success.
4248 * manual/string.texi (Envz Functions): Add envz_remove.
4250 2015-05-18 Roland McGrath <roland@hack.frob.com>
4252 * sysdeps/posix/opendir.c: Include <stdbool.h>.
4253 (invalid_name): New function, broken out of ...
4254 (__opendirat): ... here. Call it.
4255 (need_isdir_precheck): New function, broken out of ...
4256 (__opendirat): ... here. Call it.
4257 Use __fxstatat64, not __xstatat64.
4258 (opendir_oflags): New function, broken out of ...
4259 (__opendirat): ... here. Call it.
4260 (opendir_tail): New function, broken out of ...
4261 (__opendirat): ... here. Call it.
4262 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4263 opendir_tail, rather than punting to __opendirat.
4264 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4266 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4268 * .gitignore: Ignore generated *.pyc.
4270 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
4272 * include/stdio.h: Define __need_wint_t.
4273 * test-skeleton.c: Avoid `for' loop initial declaration.
4274 * nptl/tst-initializers1.c: Use test-skeleton.c.
4276 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4279 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4281 2015-05-15 Joseph Myers <joseph@codesourcery.com>
4284 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4285 (__ieee754_atanh): Force underflow exception for results with
4286 small absolute value.
4287 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4288 (__ieee754_atanhf): Force underflow exception for results with
4289 small absolute value.
4290 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4291 (__ieee754_atanh): Force underflow exception for results with
4292 small absolute value.
4293 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4294 (__ieee754_atanhf): Force underflow exception for results with
4295 small absolute value.
4296 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4297 (__ieee754_atanhl): Force underflow exception for results with
4298 small absolute value.
4299 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4300 (__ieee754_atanhl): Force underflow exception for results with
4301 small absolute value.
4302 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4303 (__ieee754_atanhl): Force underflow exception for results with
4304 small absolute value.
4305 * math/auto-libm-test-in: Do not allow missing underflow
4306 exceptions from atanh.
4307 * math/auto-libm-test-out: Regenerated.
4310 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4311 2**-28 as threshold for returning x or +/- 1/x.
4312 * math/auto-libm-test-in: Add more tests of tan.
4313 * math/auto-libm-test-out: Regenerated.
4316 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4317 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4318 * math/auto-libm-test-in: Add another test of lgamma.
4319 * math/auto-libm-test-out: Regenerated.
4321 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
4323 * stdio-common/printf_fp.c (___printf_fp): Use abs.
4324 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
4325 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4326 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4327 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
4328 (ADD2A): Use fabs. (SUB2A): Use fabs.
4329 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4330 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4331 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4332 (log1): Use fabs. (my_log2): Use fabs.
4333 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4334 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
4335 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
4336 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
4337 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4338 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
4339 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
4340 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
4341 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
4342 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4343 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4345 2015-05-15 Joseph Myers <joseph@codesourcery.com>
4348 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4349 as threshold for returning 1 - x.
4350 * math/auto-libm-test-in: Add more tests of erfc.
4351 * math/auto-libm-test-out: Regenerated.
4353 2015-05-14 Joseph Myers <joseph@codesourcery.com>
4356 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4357 threshold for large arguments.
4358 * math/auto-libm-test-in: Add another test of atan.
4359 * math/auto-libm-test-out: Regenerated.
4362 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4363 (__log1p): Force underflow exception for results with small
4365 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4366 (__log1pf): Force underflow exception for results with small
4368 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4369 (__log1p): Force underflow exception for results with small
4371 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4372 (__log1pf): Force underflow exception for results with small
4374 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4375 (__log1pl): Force underflow exception for results with small
4377 * math/auto-libm-test-in: Do not allow missing underflow
4378 exceptions from log1p.
4379 * math/auto-libm-test-out: Regenerated.
4381 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
4382 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4385 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
4387 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
4389 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
4390 (libmvec): New variable.
4391 * configure.ac: Added option for mathvec build.
4392 * configure: Regenerated.
4393 * mathvec/Depend: New file.
4394 * mathvec/Makefile: New file.
4395 * shlib-versions: Added libmvec.
4396 * math/Makefile: Added rule for libm.so installation.
4398 * bits/math-vector.h: New file.
4399 * bits/libm-simd-decl-stubs.h: New header.
4400 * math/Makefile (headers): Added new header
4401 libm-simd-decl-stubs.h.
4402 * math/math.h (__MATHCALL_VEC): New macro.
4404 * math/gen-libm-have-vector-test.sh: Script generates series of macros
4405 for conditions in testing functions.
4406 * math/Makefile: Added call of libm-have-vector-test.sh.
4407 * math/libm-test.inc (HAVE_VECTOR): New macros.
4409 * math/libm-test.inc: START refactored.
4410 * math/test-double.c (TEST_MATHVEC): Add define.
4411 * math/test-float.c: Likewise.
4412 * math/test-idouble.c: Likewise.
4413 * math/test-ifloat.c: Likewise.
4414 * math/test-ildoubl.c: Likewise.
4415 * math/test-ldouble.c: Likewise.
4416 * sysdeps/generic/math-tests-arch.h
4417 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
4420 * math/test-double.c (FUNC_TEST): New macro.
4421 * math/test-float.c: Likewise.
4422 * math/test-idouble.c: Likewise.
4423 * math/test-ifloat.c: Likewise.
4424 * math/test-ildoubl.c: Likewise.
4425 * math/test-ldouble.c: Likewise.
4426 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
4428 2015-05-13 Roland McGrath <roland@hack.frob.com>
4430 * sysdeps/nacl/fdopendir.c: New file.
4432 * dirent/scandir-tail.c: New file.
4433 * dirent/scandir64-tail.c: New file.
4434 * dirent/Makefile (routines): Add them.
4435 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
4436 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
4437 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
4438 [!SCANDIR] (SCANDIR_TAIL): New macro.
4439 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
4440 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
4441 (SCANDIRAT): Macro removed.
4442 (SCANDIR_TAIL): New macro.
4443 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
4444 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4445 (SCANDIRAT): Just call __opendirat and __scandir_tail.
4446 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4447 (READDIR): Macro removed.
4448 (SCANDIR_TAIL): New macro.
4449 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4450 (SCANDIR_TAIL): New macro.
4452 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4453 * dirent/scandir-cancel.c: ... to this new file.
4454 * dirent/Makefile (routines): Add it.
4455 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4456 * sysdeps/unix/sysv/linux/i386/scandir64.c
4457 (SKIP_SCANDIR_CANCEL): Macro removed.
4458 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4460 * dirent/tst-scandir.c: New file.
4461 * dirent/tst-scandir64.c: New file.
4462 * dirent/Makefile (tests): Add them.
4464 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
4467 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4469 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
4471 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4474 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
4476 * benchtests/bench-strcoll.c: New benchmark.
4477 * benchtests/Makefile: Generate locales and run benchmark.
4478 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4479 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4480 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4481 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4482 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4483 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4484 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4485 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4486 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4487 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4488 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4489 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4490 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4491 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4492 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4493 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4494 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4495 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4496 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4497 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4498 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4499 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4500 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4501 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4503 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
4505 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4506 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4508 2015-05-12 Roland McGrath <roland@hack.frob.com>
4510 * posix/uname-values.h: New file.
4511 * posix/uname.c: Include that instead of <config-name.h>.
4512 * sysdeps/nacl/uname-values.h: New file.
4513 * sysdeps/arm/nacl/uname-values.h: New file.
4515 2015-05-12 Joseph Myers <joseph@codesourcery.com>
4517 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4518 splitting into fields.
4520 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
4522 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4523 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4524 * locale/localeinfo.h: Add enum collation_encoding_type.
4525 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4526 * programs/ld-collate.c (collate_output): Add encoding type info.
4527 * string/strcoll_l.c (STRDIFF): New function.
4528 * (STRCOLL): Use STRDIFF to skip over equal prefix.
4529 * wcsmbs/wcscoll_l.c: Define STRDIFF.
4531 2015-05-11 Joseph Myers <joseph@codesourcery.com>
4534 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4535 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
4536 <fpu_control.h> instead of <math/fpu_control.c>.
4537 * sysdeps/mips/mips32/fpu/Makefile: New file.
4539 2015-05-11 Andreas Schwab <schwab@suse.de>
4542 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4544 (_nss_compat_endgrent): Call nss_endgrent.
4545 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4547 (_nss_compat_endpwent): Call nss_endpwent.
4548 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4549 needent, call nss_setspent only if non-zero.
4550 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4551 (internal_endspent): Don't call nss_endspent.
4552 (_nss_compat_endspent): Call nss_endspent.
4553 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4554 Remove. All uses removed.
4555 (internal_setent): Remove parameter stayopen, add parameter
4556 stream. Use it instead of global variable.
4557 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4558 (internal_endent, internal_getent): Add parameter stream. Use it
4559 instead of global variable.
4560 (CONCAT(_nss_files_end,ENTNAME))
4561 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4562 (_nss_files_get##name##_r): Pass local stream. Remove locking.
4563 * nss/nss_files/files-alias.c (position, last_use): Remove. All
4565 (internal_setent, internal_endent): Add parameter stream. Use it
4566 instead of global variable.
4567 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4569 (get_next_alias): Add parameter stream.
4570 (_nss_files_getaliasent_r): Pass global stream.
4571 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
4572 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4573 (_nss_files_gethostbyname4_r): Pass local stream to
4574 internal_setent, internal_getent and internal_endent. Remove
4577 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4579 * tst-strfmon1.c (tests): Update expected currency symbol.
4581 2015-05-08 Roland McGrath <roland@hack.frob.com>
4583 * sysdeps/nacl/gethostname.c: New file.
4585 2015-05-08 Joseph Myers <joseph@codesourcery.com>
4587 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4589 * math/auto-libm-test-out: Regenerated.
4590 * sysdeps/i386/fpu/libm-test-ulps: Update.
4591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4593 2015-05-08 Carlos O'Donell <carlos@redhat.com>
4596 * stdlib/tst-setcontext3.c: New file.
4597 * stdlib/tst-setcontext3.sh: New file.
4598 * stdlib/Makefile (tests): Add tst-setcontext3.
4599 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4600 to verify test program created output file.
4601 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4602 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4603 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4604 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4606 2015-05-06 Roland McGrath <roland@hack.frob.com>
4609 * elf/tst-tlsalign.c: New file.
4610 * elf/tst-tlsalign-static.c: New file.
4611 * elf/tst-tlsalign-lib.c: New file.
4612 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4613 (tests-static): Add tst-tlsalign-static.
4614 (modules-names): Add tst-tlsalign-lib.
4615 (test-xfail-tst-tlsalign): New variable.
4616 (test-xfail-tst-tlsalign-static): New variable.
4618 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4619 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4621 2015-05-06 Joseph Myers <joseph@codesourcery.com>
4623 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4624 csqrt, erfc, sin and sincos.
4625 * math/auto-libm-test-out: Regenerated.
4626 * sysdeps/i386/fpu/libm-test-ulps: Update.
4627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4629 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
4631 * sysdeps/aarch64/libm-test-ulps: Update.
4633 2015-05-05 Joseph Myers <joseph@codesourcery.com>
4635 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4636 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4637 * math/auto-libm-test-out: Regenerated.
4638 * sysdeps/i386/fpu/libm-test-ulps: Update.
4639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4641 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
4644 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4645 (wcsncpy): Likewise.
4647 2015-05-05 Florian Weimer <fweimer@redhat.com>
4649 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4650 Assume __ASSUME_FALLOCATE is always true.
4651 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4652 (__posix_fallocate64_l64): Likweise.
4653 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4654 (posix_fallocate): Likewise.
4655 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4656 (__posix_fallocate64_l64): Likewise.
4657 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4658 [!__ASSUME_FALLOCATE]: Add comment.
4660 2015-05-05 Florian Weimer <fweimer@redhat.com>
4662 * sysdeps/unix/sysv/linux/i386/Makefile
4663 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4664 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4665 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4666 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4667 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4668 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4669 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4671 2015-05-02 Joseph Myers <joseph@codesourcery.com>
4673 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4674 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4676 * math/auto-libm-test-out: Regenerated.
4677 * sysdeps/i386/fpu/libm-test-ulps: Update.
4678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4680 2015-05-01 Joseph Myers <joseph@codesourcery.com>
4682 * math/auto-libm-test-in: Add more tests of tgamma.
4683 * math/auto-libm-test-out: Regenerated.
4684 * sysdeps/i386/fpu/libm-test-ulps: Update.
4685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4687 * math/auto-libm-test-in: Add more tests of tanh.
4688 * math/auto-libm-test-out: Regenerated.
4689 * sysdeps/i386/fpu/libm-test-ulps: Update.
4690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4692 * math/auto-libm-test-in: Add more tests of tan.
4693 * math/auto-libm-test-out: Regenerated.
4694 * sysdeps/i386/fpu/libm-test-ulps: Update.
4695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4697 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4698 * math/auto-libm-test-out: Regenerated.
4699 * sysdeps/i386/fpu/libm-test-ulps: Update.
4700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4702 * math/auto-libm-test-in: Add another test of pow.
4703 * math/auto-libm-test-out: Regenerated.
4704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4706 * math/auto-libm-test-in: Add more tests of lgamma.
4707 * math/auto-libm-test-out: Regenerated.
4708 * sysdeps/i386/fpu/libm-test-ulps: Update.
4709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4711 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4713 * math/auto-libm-test-out: Regenerated.
4714 * sysdeps/i386/fpu/libm-test-ulps: Update.
4715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4717 2015-05-01 Mark Wielaard <mjw@redhat.com>
4719 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4720 Elf64_Chdr structs and ELFCOMPRESS constants.
4722 2015-05-01 Joseph Myers <joseph@codesourcery.com>
4724 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4726 * math/auto-libm-test-out: Regenerated.
4727 * sysdeps/i386/fpu/libm-test-ulps: Update.
4728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4730 * math/auto-libm-test-in: Add more tests of erf and erfc.
4731 * math/auto-libm-test-out: Regenerated.
4732 * sysdeps/i386/fpu/libm-test-ulps: Update.
4733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4735 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
4737 * config.h.in (HAVE_AARCH64_BE): Add.
4739 2015-04-30 Joseph Myers <joseph@codesourcery.com>
4741 * math/auto-libm-test-in: Add more tests of csqrt.
4742 * math/auto-libm-test-out: Regenerated.
4743 * sysdeps/i386/fpu/libm-test-ulps: Update.
4744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4746 * math/auto-libm-test-in: Add more tests of cosh and sinh.
4747 * math/auto-libm-test-out: Regenerated.
4748 * sysdeps/i386/fpu/libm-test-ulps: Update.
4749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4751 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4753 2015-04-29 Roland McGrath <roland@hack.frob.com>
4755 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4756 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4758 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4759 (euidaccess, eaccess): Define as weak aliases.
4761 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4762 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
4763 but __suseconds_t is often 'long int' so some sources assume that
4764 type is being used (e.g. they use %ld to print tv_usec).
4766 2015-04-29 Florian Weimer <fweimer@redhat.com>
4769 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4771 * nss/tst-nss-getpwent.c: New file.
4772 * nss/Makefile (tests): Add new test.
4774 2015-04-28 Joseph Myers <joseph@codesourcery.com>
4777 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4778 exponents less than 48 as cases where high part of mantissa needs
4779 examining to determine whether argument is integral.
4780 * math/libm-test.inc (round_test_data): Add more tests.
4782 2015-04-28 Mark Wielaard <mjw@redhat.com>
4784 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4786 2015-04-27 David S. Miller <davem@davemloft.net>
4788 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4790 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4792 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
4795 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4797 2015-04-27 Florian Weimer <fweimer@redhat.com>
4800 * time/tzset.c (parse_tzname): Return error on memory allocation
4802 * test-skeleton.c (struct temp_name_list): Change type of name
4803 member to non-const.
4804 (add_temp_file): Create a copy of the file name.
4805 (delete_temp_files): Deallocate memory.
4806 (create_temp_file): Add comment.
4808 2015-04-24 Florian Weimer <fweimer@redhat.com>
4810 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4811 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4813 2015-04-24 Roland McGrath <roland@hack.frob.com>
4815 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4816 * sysdeps/arm/configure: Regenerated.
4818 2015-04-24 Florian Weimer <fweimer@redhat.com>
4821 * time/tzfile.c (__tzfile_read): Check for large values of
4822 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
4823 * time/tzset.c (__tzstring_len): New function, based on the old
4824 __tzstring function.
4825 (__tzstring): Call __tzstring_len.
4826 (parse_tzname): New helper function extracted from
4827 __tzset_parse_tz. Call __tzstring_len, without making a copy of
4829 (parse_offset): New helper function extracted from
4830 __tzset_parse_tz. Replace switch with fallthrough with
4831 initialization before sscanf.
4832 (parse_rule): Likewise.
4833 (__tzset_parse_tz): Rewrite using the new helper functions. Use
4834 new-style function definition.
4835 * timezone/Makefile (tests): Add tst-tzset.
4836 (tst-tzset.out): Dependencies on time zone files.
4837 (tst-tzset-ENV): Set TZDIR.
4838 (testdata/XT%): Copy crafted time zone files.
4839 * timezone/README: Mention crafted time zone files.
4840 * timezone/testdata/XT1, timezone/testdata/XT2,
4841 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4843 * timezone/tst-tzset.c: New test.
4845 2015-04-24 Florian Weimer <fweimer@redhat.com>
4847 * Makeconfig (+gccwarn): Remove -Winline.
4849 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4851 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4853 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4855 * NEWS: Mention sysconf() cache information support for s390.
4856 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4858 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
4860 * math/k_casinh.c (__kernel_casinh): Use __copysign.
4861 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4862 (__nearbyint): Likewise.
4863 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4864 (copysignl): Likewise.
4866 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
4869 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4870 based on padding. (CVE-2015-1781)
4872 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4874 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4876 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4877 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4878 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4879 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4880 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4881 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4882 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4883 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4884 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4885 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4886 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4887 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4888 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4889 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4890 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4891 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4892 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4893 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4894 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4895 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4896 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4897 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4898 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4900 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
4902 * stdlib/setenv.c (__add_to_environ):
4903 Dump core quickly if setenv (..., NULL, ...) is called.
4904 This time, do it the right way, and pacify GCC with a pragma.
4906 2015-04-17 Roland McGrath <roland@hack.frob.com>
4908 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4909 IMAP->l_prev cannot be null, and #if out the code for the contrary
4910 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4911 believe that NS (&_dl_ns[NSID]) could point outside the array.
4913 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4914 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4915 before using NSID as an index.
4917 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
4920 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4921 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4922 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4924 2015-04-17 Roland McGrath <roland@hack.frob.com>
4926 Add preliminary port to Google Native Client on ARM.
4927 * abi-tags (.*-.*-nacl.*): New entry.
4928 * sysdeps/arm/nacl: New directory.
4929 * sysdeps/nacl: New directory.
4931 2015-04-16 David S. Miller <davem@davemloft.net>
4933 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4934 lowlevellock-futex.h
4936 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
4938 * sysdeps/tile/configure.ac: New file.
4939 * sysdeps/tile/configure: Regenerated.
4941 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4943 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
4944 conditionals for weak_alias and libc_hidden_weak.
4945 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4946 libc_hidden_weak and weak_alias.
4947 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4948 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4949 and weak_alias for static one.
4951 2015-04-15 David S. Miller <davem@davemloft.net>
4953 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4955 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4958 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4959 Use signed comparision instead of substraction to avoid
4961 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4962 Take the sign of ret.
4963 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4964 Do not expect precise return values. Only the sign matters.
4965 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4966 * wcsmbs/test-wcsncmp.c: New File.
4967 * string/test-strncmp.c: Add wcsncmp support.
4969 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4972 * math/w_log1p.c: New file.
4973 * math/w_log1pf.c: Likewise.
4974 * math/w_log1pl.c: Likewise.
4975 * math/Makefile (libm-calls): Add w_log1p.
4976 * math/s_log1pl.c (log1pl): Remove weak_alias.
4977 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4978 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4979 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4980 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4981 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4982 [NO_LONG_DOUBLE] (log1pl): Likewise.
4983 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4984 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4985 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4986 (log1p): Remove long_double_symbol.
4987 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4988 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4989 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4990 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4991 remove weak_alias for corresponding log1p function.
4992 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4993 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4994 * sysdeps/ia64/fpu/w_log1p.c: New file.
4995 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4996 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4997 * math/libm-test.inc (log1p_test_data): Add errno expectations.
4999 2015-04-10 Joseph Myers <joseph@codesourcery.com>
5002 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5003 decimal exponent by 1.
5004 * stdlib/tst-strtod-round-data: Add more tests.
5005 * stdlib/tst-strtod-round.c (tests): Regenerated.
5007 2015-04-09 Joseph Myers <joseph@codesourcery.com>
5009 * math/auto-libm-test-in: Add more tests of clog and clog10.
5010 * math/auto-libm-test-out: Regenerated.
5011 * sysdeps/i386/fpu/libm-test-ulps: Update.
5012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5014 2015-04-09 Roland McGrath <roland@hack.frob.com>
5016 * Makeconfig (module-cppflags): Exclude all .v.i files.
5017 (skip-module-cppflags): Variable removed.
5019 * configure.ac (libc_config_ok): Initialize before reading
5020 preconfigure scripts, not after.
5021 * configure: Regenerated.
5023 * test-skeleton.c (TIMEOUT): Move #define to top level.
5024 (main): Grok environment variable TEST_DIRECT. If set, print
5025 test expectation details into that file and then behave as if
5028 2015-04-09 Florian Weimer <fweimer@redhat.com>
5030 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5033 2015-04-08 David S. Miller <davem@davemloft.net>
5035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5037 2015-04-08 Joseph Myers <joseph@codesourcery.com>
5039 * math/auto-libm-test-in: Add more tests of atanh.
5040 * math/auto-libm-test-out: Regenerated.
5041 * sysdeps/i386/fpu/libm-test-ulps: Update.
5042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5044 * math/auto-libm-test-in: Add more tests of atan.
5045 * math/auto-libm-test-out: Regenerated.
5046 * sysdeps/i386/fpu/libm-test-ulps: Update.
5047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5049 2015-04-08 Florian Weimer <fweimer@redhat.com>
5051 * elf/pldd.c (main): Rewrite to use struct
5052 scratch_buffer instead of extend_alloca.
5053 * elf/pldd-xx.c (find_maps): Likewise.
5054 * grp/initgroups.c: Include <scratch_buffer.h> instead of
5056 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5057 scratch_buffer instead of extend_alloca.
5058 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5059 grp/compat-initgroups.c.
5060 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5061 Rewrite to use struct scratch_buffer instead of extend_alloca.
5062 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5063 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5065 2015-04-08 Joseph Myers <joseph@codesourcery.com>
5067 * math/auto-libm-test-in: Add more tests of cbrt.
5068 * math/auto-libm-test-out: Regenerated.
5069 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5071 * math/auto-libm-test-in: Add more tests of cabs.
5072 * math/auto-libm-test-out: Regenerated.
5073 * sysdeps/i386/fpu/libm-test-ulps: Update.
5074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5078 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5079 (__ieee754_atan2): Set FE_TONEAREST mode for internal
5081 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5083 * math/auto-libm-test-out: Regenerated.
5084 * sysdeps/i386/fpu/libm-test-ulps: Update.
5085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5088 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5089 (atan): Set FE_TONEAREST mode for internal computations.
5090 * math/auto-libm-test-in: Add more tests of atan.
5091 * math/auto-libm-test-out: Regenerated.
5093 2015-04-07 James Cowgill <james410@cowgill.org.uk>
5096 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5098 2015-04-07 Florian Weimer <fweimer@redhat.com>
5100 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5102 2015-04-07 Florian Weimer <fweimer@redhat.com>
5104 * include/scratch_buffer.h: New file.
5105 * malloc/scratch_buffer_grow.c: Likewise.
5106 * malloc/scratch_buffer_grow_preserve.c: Likewise.
5107 * malloc/scratch_buffer_set_array_size.c: Likewise.
5108 * malloc/tst-scratch_buffer.c: Likewise.
5109 * malloc/Makefile (routines): Add scratch_buffer_grow.
5110 (tests): Add test case.
5111 * malloc/Versions (GLIBC_PRIVATE): Export
5112 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5113 __libc_scratch_buffer_set_array_size.
5115 2015-04-06 Richard Henderson <rth@redhat.com>
5117 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5118 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5120 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5121 unsigned int before printing.
5123 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5126 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5127 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5129 2015-04-02 Florian Weimer <fweimer@redhat.com>
5131 * include/libc-internal.h (libc_max_align_t): Define.
5133 2015-04-02 Andreas Schwab <schwab@suse.de>
5136 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5138 2015-04-02 Mel Gorman <mgorman@suse.de>
5141 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5142 as well as the main arena.
5144 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
5147 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5148 sharing L2 cache to 2 for Silvermont/Knights Landing.
5150 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
5153 * config.make.in (have-protected-data): New.
5154 * configure.ac: Check linker support for protected data symbol.
5155 * configure: Regenerated.
5156 * elf/Makefile (modules-names): Add tst-protected1moda and
5157 tst-protected1modb if $(have-protected-data) is yes.
5158 (tests): Add tst-protected1a and tst-protected1b if
5159 $(have-protected-data) is yes.
5160 ($(objpfx)tst-protected1a): New.
5161 ($(objpfx)tst-protected1b): Likewise.
5162 (tst-protected1modb.so-no-z-defs): Likewise.
5163 * elf/tst-protected1a.c: New file.
5164 * elf/tst-protected1b.c: Likewise.
5165 * elf/tst-protected1mod.h: Likewise.
5166 * elf/tst-protected1moda.c: Likewise.
5167 * elf/tst-protected1modb.c: Likewise.
5169 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
5172 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5173 indicates it is called from do_lookup_x on relocation against
5174 protected data, skip the data definion in the executable from
5176 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5177 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5178 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5179 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5180 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5182 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5183 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5184 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5185 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5186 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5187 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5189 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
5191 * sysdeps/nptl/pthread.h: Remove duplicate definition of
5192 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5194 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
5196 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5198 * sysdeps/x86_64/nptl/tls.h: Ditto.
5200 2015-03-27 Roland McGrath <roland@hack.frob.com>
5202 * dlfcn/tststatic.c (main): Converted to ...
5203 (do_test): ... this.
5204 (TEST_FUNCTION): New macro.
5205 Include test-skeleton.c.
5207 2015-03-26 Alan Modra <amodra@gmail.com>
5209 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5210 Don't segfault if ifunc resolver returns a NULL. Do set plt to
5211 zero for undefined weak.
5212 (elf_machine_plt_conflict): Similarly.
5214 2015-03-25 Joseph Myers <joseph@codesourcery.com>
5216 * math/auto-libm-test-in: Add more tests of acosh, asinh and
5218 * math/auto-libm-test-out: Regenerated.
5219 * sysdeps/i386/fpu/libm-test-ulps: Update.
5220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5222 * math/auto-libm-test-in: Add another test of asin.
5223 * math/auto-libm-test-out: Regenerated.
5224 * sysdeps/i386/fpu/libm-test-ulps: Update.
5225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5227 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5229 (LLL_EBX_REG): Likewise.
5230 (LLL_ENTER_KERNEL): Likewise.
5232 * math/auto-libm-test-in: Add more tests of asin.
5233 * math/auto-libm-test-out: Regenerated.
5234 * sysdeps/i386/fpu/libm-test-ulps: Update.
5235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5238 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5239 libc_do_syscall_args): New structure.
5240 (INTERNAL_SYSCALL_MAIN_0): New macro.
5241 (INTERNAL_SYSCALL_MAIN_1): Likewise.
5242 (INTERNAL_SYSCALL_MAIN_2): Likewise.
5243 (INTERNAL_SYSCALL_MAIN_3): Likewise.
5244 (INTERNAL_SYSCALL_MAIN_4): Likewise.
5245 (INTERNAL_SYSCALL_MAIN_5): Likewise.
5246 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
5247 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5248 Replace conditional definitions by conditional definitions of ....
5249 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
5250 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5251 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5252 (libpthread-sysdep_routines): Add libc-do-syscall.
5253 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5254 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5255 to __NR_futex not 240.
5257 2015-03-25 Alan Modra <amodra@gmail.com>
5259 * NEWS: Advertise TLS optimization.
5260 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5261 (DT_PPC_NUM): Increment.
5262 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5263 (CHECK_STATIC_TLS): Use here.
5264 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5266 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5267 * sysdeps/powerpc/dl-tls.c: New file.
5268 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5269 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5270 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5271 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5276 2015-03-25 Alan Modra <amodra@gmail.com>
5278 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5279 for overlapping .opd entries" to "support...".
5280 * sysdeps/powerpc/powerpc64/configure: Regenerate
5282 2015-03-25 Joseph Myers <joseph@codesourcery.com>
5284 * math/auto-libm-test-in: Add more tests of acos.
5285 * math/auto-libm-test-out: Regenerated.
5286 * sysdeps/i386/fpu/libm-test-ulps: Update.
5287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5289 * math/auto-libm-test-in: Add more tests of expm1.
5290 * math/auto-libm-test-out: Regenerated.
5291 * sysdeps/i386/fpu/libm-test-ulps: Update.
5292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5294 2015-03-24 Joseph Myers <joseph@codesourcery.com>
5296 * math/auto-libm-test-in: Add more tests of cosh and sinh.
5297 * math/auto-libm-test-out: Regenerated.
5298 * sysdeps/i386/fpu/libm-test-ulps: Update.
5299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5301 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5304 * math/auto-libm-test-in: Add more tests of log2.
5305 * math/auto-libm-test-out: Regenerated.
5306 * sysdeps/i386/fpu/libm-test-ulps: Update.
5307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5309 2015-03-23 Roland McGrath <roland@hack.frob.com>
5311 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5312 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
5313 _IO_IS_APPENDING bit in READ_WRITE instead.
5315 2015-03-23 Florian Weimer <fweimer@redhat.com>
5317 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5318 (__determine_cpumask_size): Replace extend_alloca with a
5319 variable-length array. Do not treat res == 0 as an error.
5321 2015-03-23 Florian Weimer <fweimer@redhat.com>
5324 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5325 and integer overflow.
5326 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5327 (main): Add integer overflow tests.
5328 * manual/pattern.texi (Calling Wordexp): Document additional use
5331 2015-03-23 Alan Modra <amodra@gmail.com>
5333 * config.h.in: Remove HAVE_ASM_PPC_REL16.
5334 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5335 and false branch of conditional.
5336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5339 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
5341 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5343 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5344 unused declaration of _hurd_intr_rpc_msg_in_trap.
5345 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5346 defined instead of whether it is non-zero.
5347 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5348 input constraint instead of both input and output constraint. Use ecx
5349 clobber instead of %ecx.
5350 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5351 mutex_unlock): Use a statement expression instead of an expression list.
5352 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5353 type to vm_size_t instead of vm_address_t.
5354 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5355 defined instead of whether it is non-zero.
5356 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5357 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5358 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5359 comparisons with mapaddr.
5360 * nscd/nscd-client.h: Include <time.h>.
5361 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5362 9th parameter to __vm_region instead of int.
5363 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5364 * scripts/check-local-headers.sh (exclude): Add device/,
5365 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5368 2015-03-19 Roland McGrath <roland@hack.frob.com>
5370 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5371 to account for alignment padding.
5372 * sysdeps/arm/memmove.S: Likewise.
5374 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
5376 * sysdeps/unix/sysv/linux/generic/README: New file.
5378 2015-03-18 Joseph Myers <joseph@codesourcery.com>
5381 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
5382 (futex_abstimed_wait)
5383 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
5384 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
5385 of lll_futex_timed_wait.
5387 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
5390 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
5392 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
5399 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
5400 entries with Static TLS too. Skip entries past the end of the
5401 allocated DTV, from Alan Modra.
5402 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
5403 Static TLS DTV entry set up from...
5404 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
5405 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
5406 * nptl/allocatestack.c (init_one_static_tls): ... and here...
5407 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
5409 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
5410 that the slot we find is associated with the given map before
5411 using its generation count.
5412 * nptl_db/db_info.c: Include ldsodefs.h.
5413 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
5414 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
5415 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
5416 (link_map::l_tls_offset): New struct field.
5417 (dtv_t::counter): Likewise.
5418 (rtld_global): New struct.
5419 (_rtld_global): New rtld variable.
5420 (dl_tls_dtv_slotinfo_list): New rtld global field.
5421 (dtv_slotinfo_list): New struct.
5422 (dtv_slotinfo): Likewise.
5423 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
5424 (td_lookup): Rename to...
5425 (td_mod_lookup): ... this. Use new mod parameter instead of
5427 * nptl_db/td_thr_tlsbase.c: Include link.h.
5428 (dtv_slotinfo_list, dtv_slotinfo): New functions.
5429 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
5430 addresses even if the DTV is out of date or missing them.
5431 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
5432 index zero-length arrays.
5433 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
5434 (td_lookup): Make it a macro implemented in terms of...
5435 (td_mod_lookup): ... this declaration.
5436 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
5437 (DB_MAIN_VARIABLE): Likewise.
5439 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
5442 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5444 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
5446 * stdlib/setenv.c (__add_to_environ): Revert previous change.
5448 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
5451 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5452 (atomic_add, atomic_increment_and_test)
5453 (atomic_decrement_and_test): Fix 64-bit arithmetic.
5455 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
5457 * stdlib/setenv.c (__add_to_environ):
5458 Dump core quickly if setenv (..., NULL, ...) is called.
5460 2015-03-13 Roland McGrath <roland@hack.frob.com>
5462 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5463 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5464 all the necessary asm magic in one place.
5465 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5468 2015-03-13 Carlos O'Donell <carlos@redhat.com>
5471 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5472 traced file mtime. Use consistent log message.
5473 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5474 (register_traced_file): Call install_watches. Always set mtime.
5475 (invalidate_cache): Iterate over all trace files. Call install_watches.
5476 (inotify_check_files): Don't inline. Handle watching parent
5477 directories and configuration file movement in and out.
5478 (handle_inotify_events): New function.
5479 (main_loop_poll): Call handle_inotify_events.
5480 (main_loop_epoll): Likewise.
5481 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5482 (struct traced_file): Use array of inotify fds. Add parent directory,
5484 (struct database_dyn): Remove unused file_mtime.
5485 (init_traced_file): New inline function.
5486 (define_traced_file): New macro.
5487 * nss/nss_db/db-init.c: Use define_traced_file.
5488 (_nss_db_init): Use init_traced_file.
5489 * nss/nss_files/files-init.c: Use define_traced_file.
5490 (_nss_files_init): Use init_traced_file.
5492 2015-03-12 Joseph Myers <joseph@codesourcery.com>
5494 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5495 [_LIBC]: Do not include <stdlib.h>.
5496 [!_LIBC] (abort): Remove declaration.
5497 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5498 _FP_STATIC_ASSERT instead of conditionally calling abort.
5499 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5500 (_FP_EXTEND_CNAN): Likewise.
5501 (FP_TRUNC): Likewise.
5502 (__FP_CLZ): Likewise.
5503 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5505 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
5507 * manual/string.texi (XPG basename): Fix prototype.
5509 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5512 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5513 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5514 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5515 (__setcontext): Likewise.
5516 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5517 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5518 Call rt_sigprocmask syscall one time to set new signal mask
5519 and retrieve the current signal mask instead of two calls.
5520 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5521 (__swapcontext): Likewise.
5522 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5523 * stdlib/tst-setcontext2.c: New file.
5525 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5527 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5529 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
5532 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5535 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5538 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5540 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5542 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5543 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5545 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5546 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5547 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5548 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5549 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5550 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5552 * nptl_db/td_symbol_list.c (td_lookup): Remove
5553 HAVE_ASM_GLOBAL_DOT_NAME code.
5554 * sysdeps/powerpc/powerpc64/configure.ac: Remove
5555 HAVE_ASM_GLOBAL_DOT_NAME check.
5556 * sysdeps/powerpc/powerpc64/configure: Regenerate.
5557 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5558 (DOT_LABEL): Remove define.
5559 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5560 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5561 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5562 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5563 (__TLS_GET_ADDR): Likewise.
5564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5565 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5567 2015-03-11 Carlos O'Donell <carlos@redhat.com>
5570 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5571 (_FPU_SETCW): Initialize cw from fpsr before storing.
5572 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5573 (fesetexceptflag): Rewrite using fpu_control.h.
5574 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5576 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
5579 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5581 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5583 2015-03-11 Joseph Myers <joseph@codesourcery.com>
5585 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5586 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5588 (_FP_FMA): Likewise.
5589 (_FP_DIV): Likewise.
5591 2015-03-10 Roland McGrath <roland@hack.frob.com>
5593 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5594 with 0 in that case.
5595 * Makefile (summarize-tests): New canned sequence, factored out of
5596 commands for targets tests and xtests. Display summary lines that
5597 don't start with PASS: or XFAIL: rather than ones that do start with
5598 ERROR: or FAIL:. Make the commands fail if any summary lines fail
5599 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5600 do start with ERROR: or FAIL:.
5601 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5602 (except for [$(build-shared) = yes]).
5603 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5604 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5605 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5606 * nptl/Makefile: Revert 2015-03-04 changes.
5607 [$(CXX) empty] (tests-unsupported): New variable.
5608 * debug/Makefile: Likewise.
5610 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5611 gnulib file. Replace __attribute with __attribute__ throughout.
5613 2015-03-10 Carlos O'Donell <carlos@redhat.com>
5615 * sysdeps/hppa/fpu/libm-test-ulps: Update.
5617 2015-03-10 Joseph Myers <joseph@codesourcery.com>
5620 * math/auto-libm-test-in: Add another test of pow.
5621 * math/auto-libm-test-out: Regenerated.
5623 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5625 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5626 $(config-cflags-nofma).
5628 2015-03-10 Joseph Myers <joseph@codesourcery.com>
5630 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5631 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5632 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5633 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5634 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5635 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5636 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5637 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5638 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5639 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5640 Add comment on closing #endif.
5642 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5644 * posix/wordexp.c (CHAR_IN_SET): New macro.
5645 (parse_param): Use it.
5647 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5649 * sysdeps/powerpc/fpu/libm-test-ulps: update.
5651 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5654 * posix/wordexp.c (parse_param): Fix buffer overflow.
5655 * posix/wordexp-test.c (test_case): Add test case.
5657 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5660 * posix/wordexp.c (parse_backtick): Fix off-by-one.
5661 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5663 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5666 * posix/wordexp-test.c (test_case): Add test for BZ #18043
5667 (do_bz18043): Delete.
5669 (testit): Refactor to have words at the edge of unreadable page.
5671 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5674 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5675 Cleanup read-only streams as well.
5676 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5678 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5680 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5683 2015-03-07 Joseph Myers <joseph@codesourcery.com>
5685 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
5687 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5688 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5689 * soft-fp/op-common.h (_FP_DECL): Likewise.
5691 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
5693 * elf/ifuncdep2.c (global): Replace
5694 __attribute__((visibility("protected"))) with
5695 asm (".protected global").
5696 * elf/ifuncmod1.c (global): Likewise.
5697 * elf/ifuncmod5.c (global): Likewise.
5699 2015-03-06 Joseph Myers <joseph@codesourcery.com>
5701 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5702 <asm/sfp-machine.h> instead of <sfp-machine.h>.
5704 2015-03-06 Roland McGrath <roland@hack.frob.com>
5706 * manual/install.texi (Configuring and compiling):
5707 Document test-wrapper-env-only.
5708 * INSTALL: Regenerated.
5710 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5713 * posix/wordexp.c (parse_param): Fix buffer overflow.
5714 * posix/wordexp-test.c (do_bz18043): Add test case.
5716 2015-03-06 Vincent Bernat <vincent@bernat.im>
5718 * time/tst-strptime2.c (do_test): Ensure failing tests are
5720 * time/tst-strptime3.c (do_test): Likewise.
5722 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
5724 Fix aio_error thread-safety.
5725 * sysdeps/pthread/aio_error.c: New file
5726 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5729 2015-03-06 Florian Weimer <fweimer@redhat.com>
5731 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5732 (group_number, vfprintf): Use it.
5733 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5734 (JUMP, REF): Use it.
5735 (WORK_BUFFER_SIZE): New enum constant.
5736 (process_arg, vfprintf): Use it.
5738 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
5740 * manual/errno.texi (Error Messages): Complete example function
5741 by adding missing #define.
5742 (program_invocation_name): Add statement indicating GNU
5743 extension and reference which header file declares the variable.
5744 (program_invocation_short_name): Likewise.
5746 2015-03-06 Mike Frysinger <vapier@gentoo.org>
5748 * manual/errno.texi (Error Messages): Delete strerror ISO C89
5751 2015-03-05 Roland McGrath <roland@hack.frob.com>
5753 * Makeconfig (test-wrapper-env-only): New variable.
5754 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5755 then use that with $(test-wrapper-env-only) rather than using
5756 $(test-wrapper-env) $(run-program-env) $($*-ENV).
5758 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
5761 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5762 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5763 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5764 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5765 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5766 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5767 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5768 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5770 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5771 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5773 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5775 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5777 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5779 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5780 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5782 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5784 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5785 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5787 2015-03-04 Roland McGrath <roland@hack.frob.com>
5789 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5790 (ETH_ALEN): New macro.
5791 (struct ether_addr): Use it for length of ether_addr_octet.
5793 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5794 (setdb): Don't call __nss_configure_lookup for "rpc".
5795 (do_test): Don't call test_rpc.
5796 (output_rpcent, test_rpc): Functions moved ...
5797 * sunrpc/test-rpcent.c: ... to this new file.
5798 * sunrpc/Makefile (tests): Add it.
5800 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5802 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5803 * nptl/tst-signal6.c: Likewise.
5804 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5805 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5807 * configure.ac (libc_cv_cxx_link_ok): New check.
5808 Reset CXX to empty if it fails to link.
5809 * configure: Regenerated.
5810 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5811 bug-atexit3-lib only if $(CXX) is nonempty.
5812 * nptl/Makefile (tests): Likewise for tst-cancel24.
5813 (tests, tests-static): Likewise for tst-cancel24-static.
5814 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5815 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5816 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5817 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5819 2015-03-04 Andreas Schwab <schwab@suse.de>
5822 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5823 for non-GCC compilers.
5824 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5827 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5830 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5831 integer before bitwise and assembly operations.
5832 (feclearexcept): Likewise.
5833 * math/test-fenvinline.c: New file.
5834 * math/Makefile: Add test-fenvinline test.
5836 2015-03-03 Alan Modra <amodra@gmail.com>
5839 * scripts/localplt.awk: Strip off symbol version.
5840 * NEWS: Mention bug fix.
5842 2015-03-02 Roland McGrath <roland@hack.frob.com>
5844 * sysdeps/pthread/timer_routines.c
5845 (timer_free_list, thread_free_list, thread_active_list): Make static.
5847 2015-03-02 Joseph Myers <joseph@codesourcery.com>
5850 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5851 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5853 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5854 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5856 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5857 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5860 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5863 * posix/fnmatch_loop.c (END): Detect invalid pattern.
5864 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5866 2015-03-02 Andreas Schwab <schwab@suse.de>
5868 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5871 2015-03-02 Florian Weimer <fweimer@redhat.com>
5873 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5874 Return error status.
5876 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
5879 * locale/findlocale.c (_nl_find_locale): Introduce const
5880 version of loc_name and drop unsafe type casts.
5882 2015-02-27 Roland McGrath <roland@hack.frob.com>
5884 * dlfcn/tststatic2.c (main): Converted to ...
5885 (do_test): ... this.
5886 (TEST_FUNCTION): New macro.
5887 Include test-skeleton.c.
5889 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
5892 * elf/Makefile (tests): Add vismain only if PIE is enabled.
5893 (tests-pie): Add vismain.
5894 (CFLAGS-vismain.c): New.
5895 * elf/vismain.c: Add comments for PIE requirement.
5897 2015-02-27 Joseph Myers <joseph@codesourcery.com>
5901 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5902 0x1p-56L as threshold for just returning the argument.
5903 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5904 0x1p-32L as threshold for just returning the argument.
5905 * math/auto-libm-test-in: Add more tests of atanh.
5906 * math/auto-libm-test-out: Regenerated.
5907 * sysdeps/i386/fpu/libm-test-ulps: Update.
5908 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5910 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
5912 * string/bcopy.c (bcopy): Call memmove for performance.
5914 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
5916 * string/bzero.c (__bzero): Call memset for performance.
5918 2015-02-27 John David Anglin <dave.anglin@bell.net>
5921 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5924 2015-02-27 Joseph Myers <joseph@codesourcery.com>
5926 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5928 2015-02-26 Joseph Myers <joseph@codesourcery.com>
5930 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5931 (__kernel_standard): Use CSTR macro when setting exc.name.
5932 * sysdeps/ieee754/Makefile [$(subdir) = math]
5933 (CFLAGS-k_standard.c): Remove variable.
5935 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5936 setting p and q from "else if" to "else".
5938 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5940 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5942 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5944 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5946 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5951 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5952 return pi/2 for arguments below 0x1p-113L.
5953 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5954 return pi/2 for arguments below 0x1p-106L.
5955 * math/auto-libm-test-in: Add more tests of acos.
5956 * math/auto-libm-test-out: Regenerated.
5959 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5961 (__ieee754_asin): Force underflow exception for results with small
5963 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5965 (__ieee754_asinf): Force underflow exception for results with
5966 small absolute value.
5967 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5968 (__ieee754_asin): Force underflow exception for results with small
5970 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5971 (__ieee754_asinf): Force underflow exception for results with
5972 small absolute value.
5973 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5974 (__ieee754_asinl): Force underflow exception for results with
5975 small absolute value.
5976 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5977 (__ieee754_asinl): Force underflow exception for results with
5978 small absolute value.
5979 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5980 (__ieee754_asinl): Force underflow exception for results with
5981 small absolute value.
5982 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5984 * math/auto-libm-test-in: Do not mark underflow exceptions as
5985 possibly missing for bug 16351.
5986 * math/auto-libm-test-out: Regenerated.
5989 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5990 of power of 2 down when low part has opposite sign.
5991 * math/libm-test.inc (logb_test_data): Add more tests.
5993 2015-02-26 Andreas Schwab <schwab@suse.de>
5996 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5997 over collating symbol inside a bracket expression. Minor cleanup.
5998 * posix/tst-fnmatch3.c (do_test): Add test case.
6000 2015-02-26 Joseph Myers <joseph@codesourcery.com>
6003 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6004 Adjust exponent of power of 2 down when low part has opposite
6006 * math/libm-test.inc (ilogb_test_data): Add more tests.
6008 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
6011 * locale/findlocale.c (_nl_find_locale): Fix constness error in
6012 the previous change.
6015 * locale/findlocale.c (_nl_find_locale): Retry archive search
6016 after alias expansion.
6018 2015-02-25 Roland McGrath <roland@hack.frob.com>
6020 * iconv/tst-iconv3.c (main): Converted to ...
6021 (do_test): ... this.
6022 (TEST_FUNCTION): New macro.
6023 Include test-skeleton.c.
6025 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6026 (convert): Make function static.
6027 (test_unalign): Likewise. Add const to argument pointee types.
6028 (main): Replace with static function do_test.
6029 Print "Succeeded." only if RET is zero.
6030 (TEST_FUNCTION): New macro.
6031 Include test-skeleton.c.
6033 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6034 returns a null pointer.
6036 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6038 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6039 to __memcpy_ppc only for static builds.
6041 2015-02-25 Joseph Myers <joseph@codesourcery.com>
6044 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6045 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6046 * math/auto-libm-test-in: Add more tests of asinh.
6047 * math/auto-libm-test-out: Regenerated.
6048 * sysdeps/i386/fpu/libm-test-ulps: Update.
6049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6051 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
6054 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6055 and ip6_mtuinfo definitions here.
6056 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6057 in this define too. Update comment.
6059 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
6061 * elf/sprof.c (load_shobj): Tweak error message to match others.
6063 2015-02-24 Kevin Easton <kevin@guarana.org>
6065 [BZ #16145] (partial fix)
6066 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6067 to reduce lock contention.
6069 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
6071 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6072 (struct timex): Update time comment.
6073 (ADJ_SETOFFSET): Define.
6075 2015-02-24 Joseph Myers <joseph@codesourcery.com>
6078 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6079 2**56 not 2**28 as threshold for log (2x) formula.
6080 * math/auto-libm-test-in: Add more tests of acosh.
6081 * math/auto-libm-test-out: Regenerated.
6082 * sysdeps/i386/fpu/libm-test-ulps: Update.
6083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6085 2015-02-24 Mike Frysinger <vapier@gentoo.org>
6087 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6088 parenthesis around the buf assignment.
6089 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6091 2015-02-24 Joseph Myers <joseph@codesourcery.com>
6094 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6095 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6096 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6097 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6098 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6099 * math/libm-test.inc (scalb_test_data): Add more tests.
6101 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6104 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6105 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6107 2015-02-24 Eric Rannaud <e@nanocritical.com>
6110 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6111 * io/bits/fcntl2.h (open): Use it.
6113 * io/open.c (__libc_open): Likewise.
6114 * io/open64.c (__libc_open64): Likewise.
6115 * io/open64_2.c (__open64_2): Likewise.
6116 * io/open_2.c (__open_2): Likewise.
6117 * io/openat.c (__openat): Likewise.
6118 * io/openat64.c (__openat64): Likewise.
6119 * io/openat64_2.c (__openat64_2): Likewise.
6120 * io/openat_2.c (__openat_2): Likewise.
6121 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6122 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6123 * sysdeps/posix/open64.c (__libc_open64): Likewise.
6124 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6125 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6126 (__open_nocancel): Likewise.
6127 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6128 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6129 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6131 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6134 * resolv/gethnamaddr.c (getanswer): Skip logging if
6135 RES_USE_DNSSEC is set.
6136 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6138 2015-02-24 Mike Frysinger <vapier@gentoo.org>
6140 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6142 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
6144 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6145 201304L, for Unicode 7.
6147 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
6150 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6151 shared library. Add gmon-start.os otherwise.
6152 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6153 $(objpfx)gmon-start.os if builing shared library.
6154 ($(objpfx)g$(static-start-installed-name)): Likewise.
6156 2015-02-23 Andreas Schwab <schwab@suse.de>
6158 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6160 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6163 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6164 (enlarge_userbuf): Likewise.
6166 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
6168 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6169 * math/atest-exp.c (TIMEOUT): Adjust to 200.
6170 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6171 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6173 2015-02-20 Joseph Myers <joseph@codesourcery.com>
6175 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6176 expression inside statement expression.
6178 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6180 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6181 <sysdeps/nptl/lowlevellock.h> and remove macros and
6182 functions that are now defined there.
6183 (SYS_futex): Remove.
6184 (lll_compare_and_swap): Remove.
6185 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6187 2015-02-19 Joseph Myers <joseph@codesourcery.com>
6190 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6191 instead of scandirat.
6192 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6193 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6194 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6196 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6197 (__scandirat): Declare. Use libc_hidden_proto.
6198 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6200 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6202 2015-02-18 Joseph Myers <joseph@codesourcery.com>
6205 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6207 (__ieee754_atan2): For results with small absolute value, force
6208 underflow exception and remove excess range and precision from
6210 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6212 (__ieee754_atan2f): For results with small absolute value, force
6213 underflow exception and remove excess range and precision from
6215 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6217 (__atan): For results with small absolute value, force underflow
6218 exception and remove excess range and precision from return value.
6219 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6221 (__atanf): For results with small absolute value, force underflow
6222 exception and remove excess range and precision from return value.
6223 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6225 (__ieee754_atan2): Force underflow exception for results with
6226 small absolute value.
6227 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6229 (atan): Force underflow exception for results with small absolute
6231 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6232 (__atanf): Force underflow exception for results with small
6234 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6236 (__atanl): Force underflow exception for results with small
6238 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6239 (__atanl): Force underflow exception for results with small
6241 * sysdeps/x86/fpu/bits/mathinline.h
6242 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6243 (__ieee754_atan2): Only define inline for long double.
6244 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6245 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6246 * math/auto-libm-test-in: Do not mark underflow exceptions as
6247 possibly missing for bug 15319. Add more tests of atan2.
6248 * math/auto-libm-test-out: Regenerated.
6249 * math/libm-test.inc (casin_test_data): Do not mark underflow
6250 exceptions as possibly missing for bug 15319.
6251 (casinh_test_data): Likewise.
6252 * sysdeps/i386/fpu/libm-test-ulps: Update.
6254 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
6256 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6257 * sysdeps/mips/bits/endian.h: Fix comments.
6259 2015-02-18 Joseph Myers <joseph@codesourcery.com>
6262 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6263 (hdestroy_r): Likewise.
6264 (hsearch_r): Likewise.
6265 (__hcreate_r): Declare and use libc_hidden_proto.
6266 (__hdestroy_r): Likewise.
6267 (__hsearch_r): Likewise.
6268 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6269 (hcreate): Call __hcreate_r instead of hcreate_r.
6270 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6271 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6272 as weak alias of __hcreate_r.
6273 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6275 (hsearch_r): Rename to __hsearch_r and define as weak alias of
6277 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6279 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6280 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6281 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6282 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6284 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6286 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6287 arena_lock into a single arena_get.
6289 2015-02-17 Carlos O'Donell <carlos@redhat.com>
6291 * dl-reloc.c: Inlucde libc-internal.h.
6292 (_dl_try_allocate_static_tls): Call ALIGN_UP.
6293 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6294 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6295 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6296 (grow_heap): Likewise.
6297 * malloc/malloc.c: Include libc-internal.h.
6298 (do_check_malloc): Call powerof2.
6299 (sysmalloc): Use pagesize. Call ALIGN_UP.
6300 (systrim): Use pagesize.
6301 (mremap_chunk): Use pagesize. Call ALIGN_UP.
6302 (__libc_valloc): Use pagesize.
6303 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6305 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6308 * include/sys/resource.h (__getrlimit64): Declare. Use
6310 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6311 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
6312 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6314 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6316 [!getrlimit64] (getrlimit64): Define as weak alias of
6317 __getrlimit64. Use libc_hidden_weak.
6318 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6319 using __getrlimit64 not __new_getrlimit64.
6320 (__GI_getrlimit64): Likewise.
6321 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6323 (__GI_getrlimit64): Likewise.
6324 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6326 (getrlimit): Add __getrlimit64 alias.
6327 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6329 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6331 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6332 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6334 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6336 * libio/fileops.c: Add missing sys/mman.h
6337 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6339 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6341 * manual/math.texi (Errors in Math Functions): Clarify goals
6342 regarding inexact and underflow exceptions.
6344 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
6346 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6347 * sysdeps/mips/memset.S: Ditto.
6349 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
6351 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6353 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6355 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6356 (__v1longjmp): Remove versioned symbol.
6357 (__v1siglongjmp): Remove alias and versioned symbol.
6358 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6359 (__v2siglongjmp): Likewise.
6361 2015-02-16 Torvald Riegel <triegel@redhat.com>
6363 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6365 2015-02-16 Mike Frysinger <vapier@gentoo.org>
6367 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6369 2015-02-16 Joseph Myers <joseph@codesourcery.com>
6372 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6373 zero result does not depend on the sign resulting from
6375 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6377 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6378 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6379 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6380 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6381 * math/libm-test.inc (remquo_test_data): Add more tests.
6383 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
6385 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
6386 Problem reported by J William Piggott.
6388 2015-02-16 Joseph Myers <joseph@codesourcery.com>
6391 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
6392 products 4 * y and 2 * y where those would overflow.
6393 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6395 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6396 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6397 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6398 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6399 * math/libm-test.inc (remquo_test_data): Add more tests.
6401 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
6403 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6404 [defined _COMPILING_NEWLIB].
6405 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
6406 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
6408 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
6409 [!defined __mips_isa_rev || __mips_isa_rev < 6].
6411 2015-02-16 Torvald Riegel <triegel@redhat.com>
6413 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
6416 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
6419 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
6420 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
6421 HOST_STACK_END_ADDR): Likewise.
6423 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
6425 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
6426 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
6427 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
6429 2015-02-13 Roland McGrath <roland@hack.frob.com>
6431 * sysdeps/generic/c++-types.data: New file.
6432 * sysdeps/generic/ld.abilist: New file.
6433 * sysdeps/generic/libBrokenLocale.abilist: New file.
6434 * sysdeps/generic/libanl.abilist: New file.
6435 * sysdeps/generic/libc.abilist: New file.
6436 * sysdeps/generic/libcrypt.abilist: New file.
6437 * sysdeps/generic/libdl.abilist: New file.
6438 * sysdeps/generic/libm.abilist: New file.
6439 * sysdeps/generic/libpthread.abilist: New file.
6440 * sysdeps/generic/libresolv.abilist: New file.
6441 * sysdeps/generic/librt.abilist: New file.
6443 2015-02-13 Joseph Myers <joseph@codesourcery.com>
6446 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6447 Compute absolute value of x as modified by fmod, not original
6449 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6450 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
6451 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
6452 RUN_TEST_ffI_f1_mod8.
6453 (remquo_test_data): Add more tests.
6455 2015-02-13 Roland McGrath <roland@hack.frob.com>
6457 * sysdeps/init_array/pt-crti.S: New file.
6459 2015-02-13 Joseph Myers <joseph@codesourcery.com>
6462 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6463 __builtin_fmaf instead of relying on contraction of a * b + c.
6465 2015-02-12 J William Piggott <elseifthen@gmx.com>
6468 * manual/time.texi: correct the zoneinfo path in the TZ Variable
6471 2015-02-12 Joseph Myers <joseph@codesourcery.com>
6474 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6475 __builtin_fma instead of relying on contraction of a * b + c.
6477 2015-02-12 Roland McGrath <roland@hack.frob.com>
6479 * Makeconfig (ASFLAGS): Add -Werror=undef.
6480 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6481 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6482 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6484 * Makeconfig (after-link): New variable.
6485 (+link-pie, +link-pie-tests): Use it.
6486 (+link-static, +link-static-tests): Likewise.
6487 (+link, +link-tests): Likewise.
6488 * Makerules (build-module, build-module-asneeded): Likewise.
6489 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6491 * elf/Makefile ($(objpfx)ld.so): Likewise.
6493 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
6496 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6497 both struct timeval and struct timespec.
6499 2015-02-12 Joseph Myers <joseph@codesourcery.com>
6502 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6504 (__ieee754_exp2l): Do not multiply small fractional parts by
6506 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6508 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6509 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6510 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6511 * math/auto-libm-test-in: Add more tests of exp2.
6512 * math/auto-libm-test-out: Regenerated.
6514 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6516 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6519 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6521 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6524 2015-02-12 Andreas Schwab <schwab@suse.de>
6527 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6528 Filter out elision flags from value returned in kind.
6529 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6530 * nptl/tst-pthread-mutexattr.c: New file.
6532 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
6534 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6535 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6536 into gnu-gnu, and update comment to refer to abi-tags.
6538 2015-02-11 Joseph Myers <joseph@codesourcery.com>
6541 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6542 (__sincos): Set errno to EDOM for infinite argument.
6543 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6544 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6545 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6546 (__sincosl): Set errno to EDOM for infinite argument.
6547 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6548 (__sincosl): Set errno to EDOM for infinite argument.
6549 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6550 (__sincosl): Set errno to EDOM for infinite argument.
6551 * math/libm-test.inc (sincos_test_data): Test errno setting.
6553 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
6555 * string/strxfrm_l.c: Remove #define STRCMP.
6556 * string/strcoll_l.c: Remove #define STRLEN.
6557 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6558 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6560 2015-02-10 Joseph Myers <joseph@codesourcery.com>
6562 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6563 * sysdeps/mips/mips32/sfp-machine.h: ... here.
6564 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6565 * sysdeps/mips/mips64/Makefile: ... here.
6566 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6567 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6568 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6569 * sysdeps/mips/mips64/sfp-machine.h: ... here.
6570 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6571 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6572 * sysdeps/mips/mips64/n64/Implies: Likewise.
6574 2015-02-10 Roland McGrath <roland@hack.frob.com>
6576 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6577 <sys/time.h>, <string.h>, and <errno.h>.
6578 (dest_offset, dest_address, value, zero): Remove unused variables.
6579 (ldouble): Remove typedef.
6580 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6581 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
6583 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6584 (check): Function removed.
6586 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
6587 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6588 Don't call set_sigaction_FP and remove_sigaction_FP here.
6589 (ldouble_test): Just use 'long double' as macro argument, no need for
6590 the 'ldouble' typedef.
6591 (do_test): Set up SIGFPE handler at start, using plain signal rather
6592 than sigaction. Fix code style.
6594 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
6597 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6600 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6602 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6603 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6605 * sysdeps/powerpc/configure.ac: Remove file.
6606 * sysdeps/powerpc/configure: Likewise.
6608 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6609 [sysdep_routines]: Remove wordcopy-power6 object.
6610 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6611 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6612 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6613 (__memmove_ppc32): Likewise.
6614 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6616 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6617 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6618 Remove preprocessor.
6620 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6621 [sysdep_routines]: Remove wide chars objects.
6622 [wcsmbs]: New rule for wide char objects.
6624 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6625 Remove wordcopy-power6 obejct.
6626 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6627 Use local call for wordcopy and memcpy symbols.
6628 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6629 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6630 implementation for loader.
6631 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6633 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6634 Remove wordcopy-power7 object.
6635 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6636 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6637 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6638 (_wordcopy_fwd_dest_aligned): Likewise.
6639 (_wordcopy_bwd_aligned): Likewise.
6640 (_wordcopy_bwd_dest_aligned): Likewise.
6642 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6643 Rewrite to call __memmove_ppc instead of include default
6646 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6647 Remove wide chars objects.
6648 [wcsmbs]: New rule for wide char objects.
6650 2015-02-09 Andreas Schwab <schwab@suse.de>
6653 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6654 in terms of __O_DIRECTORY.
6656 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6658 * time/getdate.c: Include <stdbool.h>.
6659 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6661 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6664 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
6666 Add ersatz _Static_assert on older C hosts
6667 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6668 pre-C11 C platform that is not known to support _Static_assert.
6670 2015-02-07 Richard Braun <rbraun@sceen.net>
6672 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6674 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6676 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6678 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6679 priority against unexistent AIO_PRIO_DELTA_MAX.
6680 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6682 * misc/fchflags.c (fchflags): Likewise.
6683 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6684 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6685 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6686 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6687 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6689 [__USE_MISC] (chflags, fchflags): Declare functions.
6690 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6691 EINVAL when nfds is greater than FD_SETSIZE.
6692 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6693 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6695 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6696 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6697 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6699 * hurd/hurd/signal.h (_hurd_self_sigstate,
6700 _hurd_critical_section_lock, _hurd_critical_section_unlock):
6701 Explicit casts from void *.
6702 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6703 * abi-tags: Rename gnu-gnu os into gnu.
6706 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6707 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6708 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6709 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6710 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6711 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6714 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6715 duplicates ADDR->sun_path with sockaddr LEN limitation.
6716 * sysdeps/mach/hurd/connect.c: Include <string.h>
6717 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6718 * sysdeps/mach/hurd/sendmsg.c: Likewise.
6719 * sysdeps/mach/hurd/sendto.c: Likewise.
6720 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6721 implementing it by hand.
6723 2015-02-06 Roland McGrath <roland@hack.frob.com>
6725 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6726 Use sfi_breg on ldr.
6727 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6730 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6732 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6733 Test SIGSETXID only if it's defined.
6735 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6737 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6738 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
6740 * nptl/tst-align2.c: Moved ...
6741 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6742 * nptl/Makefile (tests): Remove tst-align2.
6743 * sysdeps/unix/sysv/linux/Makefile
6744 [$(subdir) = nptl] (tests): Add tst-align-clone.
6745 * nptl/tst-getpid1.c: Moved ...
6746 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6747 * nptl/tst-getpid2.c: Moved ...
6748 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6749 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6750 * sysdeps/unix/sysv/linux/Makefile
6751 [$(subdir) = nptl] (tests): ... here.
6752 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6753 * sysdeps/unix/sysv/linux/Makefile
6754 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6756 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6757 Drop trailing \n from perror argument. Use return rather than exit.
6759 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6761 * nptl/tst-cancel21.c (do_test): Likewise.
6762 * debug/tst-backtrace6.c: Include <signal.h> first thing.
6763 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6764 [!SA_SIGINFO]: Make it a stub test.
6766 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6767 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6769 * posix/tst-getlogin.c: Move to ...
6770 * login/tst-getlogin.c: ... here.
6771 * posix/Makefile (tests): Move tst-getlogin to ...
6772 * login/Makefile (tests): ... here.
6774 * libio/tst-atime.c (do_test): Move local variables SV and E
6775 inside [ST_NOATIME] conditional.
6777 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6779 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6781 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6782 (wait_code): New function replaces macro.
6783 Call nanosleep rather than syscall.
6785 * nptl/pt-system.c: Rewritten. Put everything under
6786 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6787 Use IFUNC to redirect when possible.
6789 * nptl/pt-longjmp.c: Rewritten. Put everything under
6790 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6791 Use IFUNC to redirect when possible.
6793 * nptl/pt-fork.c: Rewritten. Put everything under
6794 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6795 Use IFUNC to redirect when possible.
6796 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6798 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6799 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6800 unconditionally nowadays. This included the only reference to
6801 __vdso_clock_gettime that appears outside libc proper.
6802 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6803 Remove version set (containing only __vdso_clock_gettime).
6804 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6805 Add attribute_hidden.
6806 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6807 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6808 libc_hidden_data_def.
6809 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6810 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6812 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6813 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6814 setrpcent, and getrpcport to ...
6815 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6816 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6817 getrpcbynumber_r, and getrpcent_r to ...
6818 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6819 * inet/getrpcbyname.c: Moved ...
6820 * sunrpc/getrpcbyname.c: ... here.
6821 * inet/getrpcbyname_r.c: Moved ...
6822 * sunrpc/getrpcbyname_r.c: ... here.
6823 * inet/getrpcbynumber.c: Moved ...
6824 * sunrpc/getrpcbynumber.c: ... here.
6825 * inet/getrpcbynumber_r.c: Moved ...
6826 * sunrpc/getrpcbynumber_r.c: ... here.
6827 * inet/getrpcent.c: Moved ...
6828 * sunrpc/getrpcent.c: ... here.
6829 * inet/getrpcent_r.c: Moved ...
6830 * sunrpc/getrpcent_r.c: ... here.
6831 * inet/Makefile (routines): Move those to ...
6832 * sunrpc/Makefile (routines): ... here.
6833 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6834 the $(subdirs) list.
6835 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
6836 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6837 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6838 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6840 * elf/Makefile (routines): Include $(all-dl-routines), not just
6842 (rtld-routines): Likewise. Use = rather than :=.
6843 * sysdeps/aarch64/Makefile [$(subdir) = elf]
6844 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6845 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6846 * sysdeps/arm/Makefile: Likewise.
6847 * sysdeps/i386/Makefile: Likewise.
6848 * sysdeps/x86_64/Makefile: Likewise.
6849 * sysdeps/hppa/Makefile [$(subdir) = elf]
6850 (sysdep_routines, sysdep-rtld-routines): Don't add
6851 $(sysdep-dl-routines) to these.
6852 * sysdeps/ia64/Makefile: Likewise.
6853 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6854 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6855 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6856 Don't add dl-static to these; sysdep-dl-routines alone is enough.
6857 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6858 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6859 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6860 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6861 * sysdeps/powerpc/Makefile [$(subdir) = elf]
6862 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6863 these; sysdep-dl-routines alone is enough.
6865 2015-02-06 Joseph Myers <joseph@codesourcery.com>
6868 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6869 where multiplication results in zero and third argument is finite
6871 * math/auto-libm-test-in: Add more tests of fma.
6872 * math/auto-libm-test-out: Regenerated.
6874 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6875 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6876 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6877 (_FP_CMP_EQ): Likewise.
6878 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6880 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6881 extra argument CHECK_NAN. Redefine as wrapper around
6884 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
6886 * version.h (RELEASE): Set to "stable".
6887 (VERSION): Set to "2.21"
6888 * include/features.h (__GLIBC_MINOR__): Set to 21.
6890 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6892 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6893 Paul Eggert <eggert@cs.ucla.edu>
6896 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6897 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6898 size in bytes. Store needed elements in wpmax. Use needed size
6899 in bytes for extend_alloca.
6901 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
6903 * manual/install.texi: Latest tested versions are GCC 4.9.2,
6904 binutls 2.25, and texinfo 5.2.
6905 * INSTALL: Regenerate.
6906 * sysdeps/nios2/configure: Regenerate.
6907 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6908 * manual/contrib.texi: Update.
6932 * po/pt_BR.po: Update.
6941 * po/zh_CN.po: Update.
6942 * po/zh_TW.po: Update.
6944 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6945 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6946 * sysdeps/hppa/dl-irel.h: Remove #warning.
6947 * sysdeps/hppa/entry.h: Provide prototype for
6948 __canonicalize_funcptr_for_compare and cast argument.
6949 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6950 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6951 * sysdeps/hppa/sotruss-lib.c: New file.
6952 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6953 (atomic_compare_and_exchange_val_acq): Use __typeof__.
6954 (atomic_compare_and_exchange_bool_acq): Likewise.
6955 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6956 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6958 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6959 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6960 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6962 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6964 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6965 called function in non-PIC case.
6967 2015-01-31 David S. Miller <davem@davemloft.net>
6969 * sysdeps/sparc/sparc32/bits/atomic.h
6970 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6971 unlock not after it.
6972 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6973 volatile register usage warnings from the compiler.
6975 * sysdeps/sparc/nptl/sem_init.c: Delete.
6976 * sysdeps/sparc/nptl/sem_post.c: Delete.
6977 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6978 * sysdeps/sparc/nptl/sem_wait.c: Delete.
6979 * sysdeps/sparc/sparc32/sem_init.c: New file.
6980 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6981 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6982 padding explicitly initialized.
6983 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6984 padding for in-semaphore spinlock.
6985 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6986 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6987 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6988 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6989 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6990 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6991 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6992 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6994 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6995 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6997 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
7000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7001 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7002 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7004 (index_AVX_Fast_Unaligned_Load): Likewise.
7005 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7006 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7007 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7008 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7009 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7010 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7011 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7012 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7013 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7015 2015-01-29 Andreas Schwab <schwab@suse.de>
7017 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7019 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7022 * nscd/nscd_stat.c (send_stats): Initialize DATA.
7024 2015-01-28 Martin Sebor <msebor@redhat.com>
7026 * math/README.libm-test: Clarify. Add "How to read the test output."
7028 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
7030 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7033 2015-01-28 Joseph Myers <joseph@codesourcery.com>
7035 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7036 (__HAVE_64B_ATOMICS): Define to 0.
7038 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7041 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7042 value to set as new flag.
7045 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7046 and use _ARCH_PPCSQ instead.
7047 (__ieee754_sqrt): Likewise.
7048 (__ieee754_sqrtf): Likewise.
7049 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7050 _ARCH_PPCSQ is defined.
7051 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7053 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7054 _ARCH_PPCSQ is defined.
7055 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7057 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7059 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7061 * iconv/loop.c: Suppress array out of bound warning caused by GCC
7062 bug (GCC BZ #64739).
7064 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
7066 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7067 Mark _retval as used.
7068 (lll_futex_wake_unlock): Likewise.
7069 (lll_futex_timed_wait_requeue_pi): Likewise.
7071 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7072 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7075 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7078 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7079 (__bswap_64): Mark as __always_inline.
7081 2015-01-25 Bram <bug_rh@spam.wizbit.be>
7084 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7085 when none of the search directories exist.
7087 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7090 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7091 power8 in .machine directive.
7094 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7095 set dependency from opd value.
7097 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
7099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7100 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7103 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
7106 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7108 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7110 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7111 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7112 Replace 1UL with (uint64_t) 1.
7113 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7116 2015-01-23 Roland McGrath <roland@hack.frob.com>
7118 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7119 (if_freenameindex): Likewise.
7121 * resource/getrlimit64.c: Add missing libc_hidden_def.
7123 2015-01-22 Joseph Myers <joseph@codesourcery.com>
7125 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7127 (_FP_FMA): Likewise.
7128 (_FP_TO_INT_ROUND): Likewise.
7129 (_FP_FROM_INT): Likewise.
7131 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7134 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7135 Make code racy and cancel safe.
7137 2015-01-21 Carlos O'Donell <carlos@redhat.com>
7139 * sysdeps/arm/unwind-resume.h: Fix copyright year.
7140 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7143 * pwd/tst-getpw.c: Rewrite.
7146 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7147 (modules-names): Add moddummy1 and moddummy2.
7148 ($(objpfx)tst-rec-dlopen): Define.
7149 * dlfcn/moddummy1.c: New file.
7150 * dlfcn/moddummy2.c: New file.
7151 * dlfcn/tst-rec-dlopen.c: New file.
7152 * elf/dl-cache.c (_dl_load_cache_lookup):
7153 Return char*. Copy result with alloca/strcpy/strdup.
7154 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7155 returns char*. Free cached. If not saving realname
7157 * elf/dl-open.c (dl_open_worker): Do not assert that
7158 _r_debug->r_state is RT_CONSISTENT.
7159 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7162 2015-01-21 Torvald Riegel <triegel@redhat.com>
7163 Carlos O'Donell <carlos@redhat.com>
7166 * nptl/sem_waitcommon.c: New file.
7167 * nptl/sem_wait.c: Include sem_waitcommon.c.
7168 (__sem_wait_cleanup, do_futex_wait): Remove.
7169 (__new_sem_wait): Adapt.
7170 (__new_sem_trywait): New function.
7171 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7172 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7173 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7174 (sem_timedwait): Adapt.
7175 * nptl/sem_post.c (__new_sem_post): Adapt.
7176 (futex_wake): New function.
7177 (__old_sem_post): Add release MO fence.
7178 * nptl/sem_open.c (sem_open): Adapt.
7179 * nptl/sem_init.c (__new_sem_init): Adapt.
7180 (futex_private_if_supported): New function.
7181 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7182 (__old_sem_getvalue): Add using previous code.
7183 * sysdeps/nptl/internaltypes.h: Adapt.
7184 * nptl/tst-sem13.c (do_test): Adapt.
7185 * nptl/tst-sem11.c (main): Adapt.
7186 * nptl/sem_trywait.c: Remove.
7187 * nptl/DESIGN-sem.txt: Remove.
7188 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7189 (gen-as-const-headers): Remove structsem.sym.
7190 * nptl/structsem.sym: Remove.
7191 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7192 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7193 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7194 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7195 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7196 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7197 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7198 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7199 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7200 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7201 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7202 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7203 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7204 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7205 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7206 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7207 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7208 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7209 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7210 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7211 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7212 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7214 2015-01-20 Carlos O'Donell <carlos@redhat.com>
7216 * INSTALL: Regenerated.
7218 * po/libc.pot: Regenerated.
7220 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
7221 Sandra Loosemore <sandra@codesourcery.com>
7222 Andrew Jenner <andrew@codesourcery.com>
7223 Joseph Myers <joseph@codesourcery.com>
7224 Nathan Sidwell <nathan@codesourcery.com>
7226 * NEWS: Mention new Nios II port.
7227 * sysdeps/nios2/Implies: New file.
7228 * sysdeps/nios2/Makefile: New file.
7229 * sysdeps/nios2/Subdirs: New file.
7230 * sysdeps/nios2/Versions: New file.
7231 * sysdeps/nios2/__longjmp.S: New file.
7232 * sysdeps/nios2/abort-instr.h: New file.
7233 * sysdeps/nios2/backtrace.c: New file.
7234 * sysdeps/nios2/bits/endian.h: New file.
7235 * sysdeps/nios2/bits/fenv.h: New file.
7236 * sysdeps/nios2/bits/link.h: New file.
7237 * sysdeps/nios2/bits/setjmp.h: New file.
7238 * sysdeps/nios2/bsd-_setjmp.S: New file.
7239 * sysdeps/nios2/bsd-setjmp.S: New file.
7240 * sysdeps/nios2/configure: New generated file.
7241 * sysdeps/nios2/configure.ac: New file.
7242 * sysdeps/nios2/crti.S: New file.
7243 * sysdeps/nios2/crtn.S: New file.
7244 * sysdeps/nios2/dl-init.c: New file.
7245 * sysdeps/nios2/dl-machine.h: New file.
7246 * sysdeps/nios2/dl-sysdep.h: New file.
7247 * sysdeps/nios2/dl-tls.h: New file.
7248 * sysdeps/nios2/dl-trampoline.S: New file.
7249 * sysdeps/nios2/gccframe.h: New file.
7250 * sysdeps/nios2/gmp-mparam.h: New file.
7251 * sysdeps/nios2/jmpbuf-offsets.h: New file.
7252 * sysdeps/nios2/jmpbuf-unwind.h: New file.
7253 * sysdeps/nios2/ldsodefs.h: New file.
7254 * sysdeps/nios2/libc-tls.c: New file.
7255 * sysdeps/nios2/libm-test-ulps: New file.
7256 * sysdeps/nios2/machine-gmon.h: New file.
7257 * sysdeps/nios2/math-tests.h: New file.
7258 * sysdeps/nios2/math_private.h: New file.
7259 * sysdeps/nios2/memusage.h: New file.
7260 * sysdeps/nios2/nptl/Makefile: New file.
7261 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7262 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7263 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7264 * sysdeps/nios2/nptl/pthreaddef.h: New file.
7265 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7266 * sysdeps/nios2/nptl/tls.h: New file.
7267 * sysdeps/nios2/preconfigure: New file.
7268 * sysdeps/nios2/s_fma.c: New file.
7269 * sysdeps/nios2/s_fmaf.c: New file.
7270 * sysdeps/nios2/setjmp.S: New file.
7271 * sysdeps/nios2/sfp-machine.h: New file.
7272 * sysdeps/nios2/sotruss-lib.c: New file.
7273 * sysdeps/nios2/stackguard-macros.h: New file.
7274 * sysdeps/nios2/stackinfo.h: New file.
7275 * sysdeps/nios2/start.S: New file.
7276 * sysdeps/nios2/sysdep.h: New file.
7277 * sysdeps/nios2/tls-macros.h: New file.
7278 * sysdeps/nios2/tst-audit.h: New file.
7279 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7280 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7281 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7282 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7283 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7284 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7285 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7286 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7287 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7288 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7289 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7290 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7291 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7292 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7293 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7294 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7295 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7296 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7297 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7298 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7299 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7300 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7301 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7302 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7303 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7304 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7305 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7306 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7307 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7308 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7309 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7310 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7311 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7312 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7313 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7314 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7315 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7316 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7317 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7318 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7319 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7320 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7321 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7322 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7324 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7327 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7328 (getutent): Use weak_alias in non SHARED case
7329 and default_symbol_version in SHARED case.
7330 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7331 (getutent_r, pututline): Likewise.
7332 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7333 (getutid): Likewise.
7334 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
7335 (getutid_r): Likewise.
7336 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
7337 (getutline): Likewise.
7338 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7339 (getutline_r): Likewise.
7340 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7341 (updwtmp): Likewise.
7343 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7346 * sysdeps/s390/s390-32/memcmp.S
7347 (memcmp_g5): Rename to __memcmp_g5.
7348 * sysdeps/s390/s390-32/memcpy.S
7349 (memcpy_g5): Rename to __memcpy_g5.
7350 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7351 (memcpy_mvcle) Rename to __memcpy_mvcle.
7352 * sysdeps/s390/s390-32/memset.S
7353 (memset_g5): Rename to __memset_g5.
7354 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7355 (IFUNC_RESOLVE): Prefix ifunc-resolve function
7356 and use prefixed functions.
7357 * sysdeps/s390/s390-32/multiarch/memcmp.S
7358 (memcmp_z196): Rename to __memcmp_z196.
7359 (memcmp_z10): Rename to __memcmp_z10.
7360 (memcmp): Set alias to __memcmp_g5.
7361 (bcmp): Set alias to __memcmp_g5.
7362 * sysdeps/s390/s390-32/multiarch/memcpy.S
7363 (memcpy_z196): Rename to __memcpy_z196.
7364 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7365 (memcpy_z10): Rename to __memcpy_z10.
7366 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7367 (memcpy): Set alias to __memcpy_g5.
7368 * sysdeps/s390/s390-32/multiarch/memset.S
7369 (memset_z196): Rename to __memset_z196.
7370 Jump to __memset_mvcle instead of memset_mvcle.
7371 (memset_z10): Rename to __memset_z10.
7372 Jump to __memset_mvcle instead of memset_mvcle.
7373 (memset_mvcle) Rename to __memset_mvcle.
7374 (memset): Set alias to __memset_g5.
7375 * sysdeps/s390/s390-64/memcmp.S
7376 (memcmp_z900): Rename to __memcmp_z900.
7377 * sysdeps/s390/s390-64/memcpy.S
7378 (memcpy_z900): Rename to __memcpy_z900.
7379 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7380 (memcpy_mvcle) Rename to __memcpy_mvcle.
7381 * sysdeps/s390/s390-64/memset.S
7382 (memset_z900): Rename to __memset_z900.
7383 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
7384 (IFUNC_RESOLVE): Prefix ifunc-resolve function
7385 and use prefixed functions.
7386 * sysdeps/s390/s390-64/multiarch/memcmp.S
7387 (memcmp_z196): Rename to __memcmp_z196.
7388 (memcmp_z10): Rename to __memcmp_z10.
7389 (memcmp): Set alias to __memcmp_z900.
7390 (bcmp): Set alias to __memcmp_z900.
7391 * sysdeps/s390/s390-64/multiarch/memcpy.S
7392 (memcpy_z196): Rename to __memcpy_z196.
7393 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7394 (memcpy_z10): Rename to __memcpy_z10.
7395 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7396 (memcpy): Set alias to __memcpy_z900.
7397 * sysdeps/s390/s390-64/multiarch/memset.S
7398 (memset_z196): Rename to __memset_z196.
7399 Jump to __memset_mvcle instead of memset_mvcle.
7400 (memset_z10): Rename to __memset_z10.
7401 Jump to __memset_mvcle instead of memset_mvcle.
7402 (memset_mvcle) Rename to __memset_mvcle.
7403 (memset): Set alias to __memset_z900.
7405 2015-01-14 Joseph Myers <joseph@codesourcery.com>
7408 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
7409 __fesetenv instead of fesetenv.
7411 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7413 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
7416 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7418 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
7421 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
7422 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
7423 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7424 strncmp-power8 object.
7425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7426 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
7427 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
7430 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7431 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7433 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
7434 trailing byte check.
7436 2015-01-13 David S. Miller <davem@davemloft.net>
7438 * include/signal.h (__sigreturn): Guard with __USE_MISC.
7440 2015-01-13 Roland McGrath <roland@hack.frob.com>
7442 * login/logout.c (logout): Use memset rather than bzero.
7443 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
7444 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7445 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7446 (_gethtbyaddr): Likewise.
7447 * locale/programs/simple-hash.c (bcopy): Macro removed.
7449 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7451 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7452 Add strcmp-power8 object.
7453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7454 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7455 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7456 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7457 __strcmp_power8 implementation.
7458 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7461 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7462 Add strncpy-power8 and stpncpy-power8 objects.
7463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7464 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7466 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7467 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7468 __stpncpy_power8 implementation.
7469 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7470 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7471 __strncpy_power8 implementation.
7472 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7473 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7476 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7477 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7478 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7480 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7481 strncat-power8 object.
7482 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7483 __strcat_power8 implementation.
7484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7485 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7486 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7487 optimized strcat for power8.
7489 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7490 strcpy-power8 and stpcpy-power8 objects.
7491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7492 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7494 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7495 multiarch stpcpy implementation for POWER8.
7496 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7497 multiarch strcpy implementation for POWER8.
7498 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7499 __strcpy_power8 function.
7500 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7502 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7506 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
7509 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7510 weights and rules. Use do_xfrm_cached if data fits in cache,
7511 do_xfrm otherwise. Moved former main loop to...
7512 * (do_xfrm_cached): New function.
7513 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7514 find_idx, find_position and stack_push.
7515 * (find_idx): New function.
7516 * (find_position): Likewise.
7517 * localedata/sort-test.sh: Added test run for do_xfrm.
7518 * localedata/xfrm-test.c (main): Added command line option
7519 -nocache to run the test with strings that are too large for
7522 2015-01-13 Torvald Riegel <triegel@redhat.com>
7524 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7525 variable to lll_futex_wake call, not the value itself.
7527 2015-01-12 Joseph Myers <joseph@codesourcery.com>
7530 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7531 twom64. Adjust value to 0x1p-64L.
7532 (__scalblnl): Only return standard underflowing result for K <=
7533 -64 not K <= -63; adjust exponent for underflowing result by 64
7535 * math/libm-test.inc (scalbn_test_data): Add more tests.
7536 (scalbln_test_data): Likewise.
7539 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7541 (__scalblnl): Get new exponent of adjusted subnormal value from ES
7543 * math/libm-test.inc (scalbn_test_data): Add more tests.
7544 (scalbln_test_data): Likewise.
7546 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7547 Stefani Seibold <stefani@seibold.net>
7549 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7550 (sysdep_routines): Add dl-vdso here, ...
7551 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7552 (sysdep_routines): ... not here.
7553 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7554 fallback when vDSO is not presented.
7555 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7556 Define with libc_hidden_proto/libc_hidden_data_def definitions.
7557 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7558 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7559 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7560 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7561 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7562 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7563 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7564 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7565 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
7566 fallback configurable symbol when vDSO is not available.
7567 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7568 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
7569 be able to redefine fallback symbol when vDSO is not available.
7570 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7571 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7573 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7575 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7576 (TLS_INIT_TP): Add tm_capable initialization.
7577 (TLS_DEFINE_INIT_TP): Likewise.
7578 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7580 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7581 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7583 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7584 transactoion is lock elision is built and TCB tm_capable is set.
7585 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7587 (INTERNAL_SYSCALL_NCS): Likewise.
7588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7589 (INTERNAL_SYSCALL_NCS): Likewise.
7590 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7592 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7594 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7595 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7596 and remove it for 32 bits case.
7597 [pthread_rwlock_t] (__rwelision): New field for lock elision.
7598 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7600 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7601 Disable lock elision with rdlocks if elision is not available.
7603 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7604 (sysdep_routines): Add lock elision objects.
7605 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7606 [pthread_mutex_t] (__spins): Rework to add lock elision field.
7607 [pthread_mutex_t] (__elision): Add field.
7608 [__PTHREAD_SPINS]: Adjust to init lock elision field.
7609 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7610 elision definitions for powerpc.
7611 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7612 implementation of lock elision for powerpc.
7613 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7614 implementation of timed lock elision for powerpc.
7615 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7616 implementation of trylock with lock elision for powerpc.
7617 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7618 implementaion of unlock for lock elision for powerpc.
7619 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7620 automatic enable lock elision for mutexes.
7621 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7622 transaction execution definitions for powerpc.
7623 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7625 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7626 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7627 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7628 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7631 2015-01-09 Roland McGrath <roland@hack.frob.com>
7633 * sysdeps/posix/shm-directory.c: Use <> rather than ""
7634 for #include of <shm-directory.h>.
7636 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
7638 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7639 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7641 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
7644 * NEWS: Mention bug fix.
7645 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7646 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7647 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7649 2015-01-09 Torvald Riegel <triegel@redhat.com>
7651 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7653 2015-01-09 Torvald Riegel <triegel@redhat.com>
7655 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7657 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7659 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7660 pointer and cast to uintptr_t.
7662 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7664 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7666 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7668 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7670 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7673 2015-01-08 Roland McGrath <roland@hack.frob.com>
7675 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7676 <nptl/pthreadP.h> instead.
7677 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7679 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7681 [__SIGRTMIN] (init): Function removed.
7682 [__SIGRTMIN] (initialized): Variable removed.
7683 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7684 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7685 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7686 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7687 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7688 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7689 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7690 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7691 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7692 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7693 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7694 * sysdeps/nptl/allocrtsig.c: New file.
7695 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7696 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7697 * sysdeps/generic/testrtsig.h: File removed.
7699 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7700 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7702 * nptl/nptl-init.c (pthread_functions): Conditionalize
7703 .ptr__nptl_setxid initialization on [SIGSETXID].
7705 * sysdeps/nptl/sys/procfs.h: New file.
7706 * nptl_db/Makefile (headers): Add it.
7707 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7709 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7710 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7711 * nptl/pthread_attr_setaffinity.c: Include it.
7712 * nptl/pthread_setattr_default_np.c: Likewise.
7713 * nptl/check-cpuset.h: New file.
7715 2015-01-08 Richard Henderson <rth@redhat.com>
7717 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7718 (CFLAGS-tst-execstack-prog.c): Likewise.
7719 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7721 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
7722 Sandra Loosemore <sandra@codesourcery.com>
7723 Andrew Jenner <andrew@codesourcery.com>
7724 Joseph Myers <joseph@codesourcery.com>
7725 Nathan Sidwell <nathan@codesourcery.com>
7727 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7728 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7729 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7730 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7731 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7732 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7733 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7734 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7735 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7736 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7737 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7738 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7739 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7740 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7741 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7742 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7743 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7745 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7747 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7748 timespec struct member in syscall macro.
7749 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7750 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7751 first timeval struct member in syscall macro.
7752 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7754 2015-01-07 Joseph Myers <joseph@codesourcery.com>
7757 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7758 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7759 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7760 __feupdateenv and define as weak alias of __feupdateenv. Use
7762 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7764 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7765 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
7766 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7767 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7769 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7770 __feupdateenv and define as weak alias of __feupdateenv. Use
7772 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7774 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7775 __feupdateenv and define as weak alias of __feupdateenv. Use
7777 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7779 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7780 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7781 (__feupdateenv): Likewise.
7782 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7783 __feupdateenv and define as weak alias of __feupdateenv. Use
7785 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7786 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7788 * sysdeps/tile/math_private.h (__feupdateenv): New inline
7790 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7792 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7793 __feupdateenv instead of feupdateenv.
7794 (default_libc_feupdateenv_test): Likewise.
7795 (libc_feresetround_ctx): Likewise.
7797 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7799 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7802 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
7804 * posix/regcomp.c (parse_bracket_exp): Initialize type to
7805 COLL_SYM in a couple of places to avoid uninitialized variable
7806 wanings on tilegx gcc 4.8.2.
7808 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
7810 * sysdeps/aarch64/strcpy.S: New file.
7811 * sysdeps/aarch64/stpcpy.S: New file.
7814 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
7816 * sysdeps/aarch64/strrchr.S: New file.
7819 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
7822 * stdlib/setenv.c: Fix memory leak when setting large,
7825 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
7828 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7829 and tabs from buffer before parsing fstab entry.
7830 * misc/tst-mntent.c (main): Add test for mount entry with
7831 trailing spaces and tabs.
7833 2015-01-06 Joseph Myers <joseph@codesourcery.com>
7836 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
7837 * math/fesetround.c (fesetround): Rename to __fesetround and
7838 define as weak alias of __fesetround. Use libm_hidden_weak.
7839 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7840 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7841 * sysdeps/arm/fesetround.c (fesetround): Likewise.
7842 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7843 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7844 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7845 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7846 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7847 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7848 __fesetround_inline.
7849 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7850 __fesetround_inline instead of __fesetround.
7851 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7852 __fesetround and define as weak alias of __fesetround. Use
7853 libm_hidden_weak. Call __fesetround_inline instead of
7855 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7856 __fesetround and define as weak alias of __fesetround. Use
7858 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7860 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7861 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7862 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7863 * sysdeps/tile/math_private.h (__fesetround): New inline function.
7864 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7865 __fesetround and define as weak alias of __fesetround. Use
7867 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7868 __fesetround instead of fesetround.
7869 (default_libc_feholdexcept_setround): Likewise.
7870 (libc_feholdsetround_ctx): Likewise.
7871 (libc_feholdsetround_noex_ctx): Likewise.
7874 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7875 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7876 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7877 and define as weak alias of __fesetenv. Use libm_hidden_weak.
7878 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7879 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7880 define as weak alias of __fesetenv. Use libm_hidden_weak.
7881 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7882 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7883 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7884 define as weak alias of __fesetenv. Use libm_hidden_weak.
7885 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7886 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7887 define as weak alias of __fesetenv. Use libm_hidden_weak.
7888 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7890 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7891 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7893 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7894 define as weak alias of __fesetenv. Use libm_hidden_weak.
7895 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7896 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7897 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7898 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7899 and define as weak alias of __fesetenv. Use libm_hidden_weak.
7900 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7901 __fesetenv instead of fesetenv.
7902 (libc_feresetround_noex_ctx): Likewise.
7903 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7904 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7905 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7906 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7907 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7908 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7909 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7910 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7911 (__feupdateenv): Likewise.
7912 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7913 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7914 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7915 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7917 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
7920 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7921 addresses have been freed.
7923 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
7925 * resolv/res_init.c (__res_vinit): Improve comments about nserv
7928 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
7930 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7931 Clean up check_pf allocation pattern. addresses
7933 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7935 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7936 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7937 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7938 * nptl/pthread_exit.c (__pthread_exit): Likewise.
7939 * nptl/pthread_join.c (pthread_join): Likewise.
7940 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7941 * sysdeps/posix/waitid.c (__waitid): Likewise.
7942 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7943 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7944 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7945 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7946 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7948 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7949 (__libc_pread64): Likewise.
7950 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7951 (__libc_pwrite): Likewise.
7952 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7953 (__libc_pwrite64): Likewsie.
7954 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7955 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7956 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7957 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7958 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7959 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7960 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7964 (__libc_pread64): Likewise.
7965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7968 (__libc_pwrite64): Likewise.
7969 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7970 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7971 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7972 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7973 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7974 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7975 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7976 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7977 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7978 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7979 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7980 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7981 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7982 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7983 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7984 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7987 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
7989 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7990 (CFLAGS-test-double.c): Likewise.
7991 (CFLAGS-test-ldouble.c): Likewise.
7992 (CPPFLAGS-test-ifloat.c): Likewise.
7993 (CPPFLAGS-test-idouble.c): Likewise.
7994 (CPPFLAGS-test-ildoubl.c): Likewise.
7995 (CFLAGS-test-test-fenv.c): Remove variable.
7996 (CFLAGS-test-misc.c): Likewise.
7998 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
8001 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8002 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8003 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8004 CLOCKS_PER_SEC == 1000000.
8005 * time/clocktest.c (main): Replace %ld with %jd and cast to
8008 2015-01-05 Roland McGrath <roland@hack.frob.com>
8010 * sysdeps/generic/unwind-resume.h: New file.
8011 * sysdeps/gnu/unwind-resume.c: Include it.
8012 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8013 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8015 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8016 global rather than static.
8017 (_Unwind_Resume): Update user.
8018 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8019 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
8020 rather than static. Add __attribute__ ((cold)).
8021 (_Unwind_Resume, __gcc_personality_v0): Update callers.
8022 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8023 * sysdeps/arm/arm-unwind-resume.S: New file.
8024 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8025 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8026 * sysdeps/arm/Makefile [$(subdir) = csu]
8027 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8028 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8029 Add rt-arm-unwind-resume.
8031 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8032 Add pt-arm-unwind-resume.
8033 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8034 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8036 2015-01-05 Joseph Myers <joseph@codesourcery.com>
8039 * include/fenv.h (__feholdexcept): Declare. Use
8041 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8042 define as weak alias of __feholdexcept. Use libm_hidden_weak.
8043 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8044 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8045 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8046 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8047 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8048 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8049 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8050 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8051 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8052 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8053 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8054 (feholdexcept): Likewise.
8055 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8056 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8057 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8058 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8059 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8060 __feholdexcept instead of feholdexcept.
8061 (default_libc_feholdexcept_setround): Likewise.
8063 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
8065 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8066 to avoid using stl/str to align destination.
8068 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
8070 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8072 2015-01-05 Joseph Myers <joseph@codesourcery.com>
8075 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8076 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8077 Define as weak alias not strong alias.
8079 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
8081 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8082 bltzal with addiupc.
8083 (RTLD_START): Ditto.
8085 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
8087 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8088 for __vdso_* functions in declarations.
8089 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8091 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8092 INTERNAL_VSYSCALL): Use struct return types to check for error.
8094 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8095 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8096 function with cast from llround().
8097 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8098 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8101 2015-01-05 Joseph Myers <joseph@codesourcery.com>
8104 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8105 Define as weak alias not strong alias.
8108 * ctype/ctype-c99.c: New file. isblank implementation moved from
8110 * ctype/ctype-extn.c: ... here.
8111 (__isblank_l): Move to ...
8112 * ctype/ctype-c99_l.c: ... here. New file.
8113 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8114 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8116 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8117 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8118 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8119 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8120 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8123 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8124 (posix_fadvise64): Define as weak alias not strong alias.
8125 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8126 (posix_fallocate64): Likewise.
8127 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8129 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8130 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8131 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8132 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8133 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8135 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
8138 * NEWS: Mention bug fix.
8139 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8140 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8141 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8142 (HOST_STACK_END_ADDR): Likewise.
8144 2015-01-02 Joseph Myers <joseph@codesourcery.com>
8147 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
8148 * math/fegetround.c (fegetround): Rename to __fegetround and
8149 define as weak alias of __fegetround. Use libm_hidden_weak.
8150 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8151 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8152 * sysdeps/arm/fegetround.c (fegetround): Likewise.
8153 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8154 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8155 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8156 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8157 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8158 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8159 Undefine after rather than before function definition; use
8160 parentheses around function name in definition.
8161 (__fegetround): Also undefine macro after function definition.
8162 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8163 __fegetround and define as weak alias of __fegetround. Use
8164 libm_hidden_weak. Do not undefine as macro.
8165 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8167 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8168 __fegetround and define as weak alias of __fegetround. Use
8170 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8171 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8172 * sysdeps/tile/math_private.h (__fegetround): New inline function.
8173 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8174 __fegetround and define as weak alias of __fegetround. Use
8176 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8177 __fegetround instead of fegetround.
8180 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8181 Condition macro definition on [__USE_MISC].
8184 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8185 (struct sigaction): Change type of sa_flags field to int.
8188 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8189 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8192 * nptl/version.c (banner): Use single year in copyright notice.
8194 * NEWS: Update copyright dates.
8195 * catgets/gencat.c (print_version): Likewise.
8196 * csu/version.c (banner): Likewise.
8197 * debug/catchsegv.sh: Likewise.
8198 * debug/pcprofiledump.c (print_version): Likewise.
8199 * debug/xtrace.sh (do_version): Likewise.
8200 * elf/ldconfig.c (print_version): Likewise.
8201 * elf/ldd.bash.in: Likewise.
8202 * elf/pldd.c (print_version): Likewise.
8203 * elf/sotruss.sh: Likewise.
8204 * elf/sprof.c (print_version): Likewise.
8205 * iconv/iconv_prog.c (print_version): Likewise.
8206 * iconv/iconvconfig.c (print_version): Likewise.
8207 * locale/programs/locale.c (print_version): Likewise.
8208 * locale/programs/localedef.c (print_version): Likewise.
8209 * login/programs/pt_chown.c (print_version): Likewise.
8210 * malloc/memusage.sh (do_version): Likewise.
8211 * malloc/memusagestat.c (print_version): Likewise.
8212 * malloc/mtrace.pl: Likewise.
8213 * manual/libc.texinfo: Likewise.
8214 * nptl/version.c (banner): Likewise.
8215 * nscd/nscd.c (print_version): Likewise.
8216 * nss/getent.c (print_version): Likewise.
8217 * nss/makedb.c (print_version): Likewise.
8218 * posix/getconf.c (main): Likewise.
8219 * scripts/test-installation.pl: Likewise.
8220 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8222 2015-01-02 Will Newton <will.newton@linaro.org>
8224 * sysdeps/arm/armv7/configure: Removed.
8225 * sysdeps/arm/armv7/configure.ac: Likewise.
8227 2015-01-02 Joseph Myers <joseph@codesourcery.com>
8229 * All files with FSF copyright notices: Update copyright dates
8230 using scripts/update-copyrights.
8231 * intl/plural.c: Regenerated.
8232 * locale/programs/charmap-kw.h: Likewise.
8233 * locale/programs/locfile-kw.h: Likewise.
8235 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8237 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8239 2014-12-31 Joseph Myers <joseph@codesourcery.com>
8242 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8243 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8244 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8245 and define as weak alias of __fegetenv. Use libm_hidden_weak.
8246 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8247 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8248 define as weak alias of __fegetenv. Use libm_hidden_weak.
8249 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8250 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8251 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8252 define as weak alias of __fegetenv. Use libm_hidden_weak.
8253 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8254 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8255 define as weak alias of __fegetenv. Use libm_hidden_weak.
8256 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8258 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8259 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8261 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8262 define as weak alias of __fegetenv. Use libm_hidden_weak.
8263 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8264 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8265 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8266 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8267 and define as weak alias of __fegetenv. Use libm_hidden_weak.
8268 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8269 __fegetenv instead of fegetenv.
8270 (libc_feholdsetround_noex_ctx): Likewise.
8272 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
8274 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8275 (Elf_MIPS_ABIFlags_v0): New structure.
8276 (EF_MIPS_FP64): Define.
8277 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8278 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8279 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8280 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8281 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8282 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8283 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8284 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8285 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8286 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8287 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8288 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8289 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8290 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8291 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8292 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8293 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8294 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8295 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8296 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8297 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8298 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8300 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8302 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8303 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8304 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8305 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8306 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8307 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8308 * sysdeps/mips/tst-abi-interlink.c: Likewise.
8309 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8310 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8311 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8312 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8313 record the current FP ABI extension.
8314 (mips-mode-switch): Define to show if kernel headers support mode
8316 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8317 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8318 supported SYSV ABI version to 3.
8319 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8322 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8323 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8325 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8327 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8329 2014-12-31 Joseph Myers <joseph@codesourcery.com>
8331 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8332 __fegetround and redefine to call __fegetround. Remove condition
8333 on [!__NO_MATH_INLINES].
8334 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
8336 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
8337 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8339 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8340 instead of <fenv_libc.h>.
8341 (__llrintl): Call fegetround instead of __fegetround.
8342 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8343 instead of <fenv_libc.h>.
8344 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8345 (__lrintl): Call fegetround instead of __fegetround.
8346 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8347 instead of <fenv_libc.h>.
8348 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8349 (__rintl): Call fegetround instead of __fegetround.
8351 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8353 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8356 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
8359 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8360 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8361 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8363 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
8365 * sysdeps/i386/tls-macros.h: Include <features.h>.
8366 (TLS_LE): Use non-PIC version for GCC >= 5.0.
8370 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8371 define for GCC >= 5.0.
8373 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
8375 * math/test-fenv.c (test_single_exception, set_single_exc,
8376 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8377 feexcp_mask_test, feenable_test, fe_single_test): Add
8378 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
8379 case where they are not used.
8380 * math/libm-test.inc: Likewise.
8381 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
8382 unused in the absence of FP rounding/exception support.
8383 * stdio-common/tst-printf-round.c: Likewise.
8384 * stdlib/tst-strtod-round.c: Likewise.
8385 * stdlib/tst-strtod-underflow.c: Likewise.
8387 2014-12-30 Joseph Myers <joseph@codesourcery.com>
8390 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
8391 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
8392 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8393 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8395 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
8396 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8397 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
8399 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8400 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8402 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
8404 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
8405 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8406 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8408 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8410 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8411 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
8412 (__feraiseexcept): Likewise.
8413 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8414 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8416 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8417 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8419 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
8420 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
8421 Use libm_hidden_def.
8422 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
8424 (feraiseexcept): Define as weak not strong alias. Use
8426 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
8427 New inline function. Factored out of ...
8428 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
8429 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
8430 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
8432 * math/w_acos.c (__acos): Likewise.
8433 * math/w_asin.c (__asin): Likewise.
8434 * math/w_ilogb.c (__ilogb): Likewise.
8435 * math/w_j0.c (y0): Likewise.
8436 * math/w_j1.c (y1): Likewise.
8437 * math/w_jn.c (yn): Likewise.
8438 * math/w_log.c (__log): Likewise.
8439 * math/w_log10.c (__log10): Likewise.
8440 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
8441 * sysdeps/aarch64/fpu/math_private.h
8442 (libc_feupdateenv_test_aarch64): Likewise.
8443 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8444 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8445 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8446 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8447 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8448 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8449 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8450 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8451 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8452 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8454 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
8457 * io/test-utime.c (main): Replace %ld with %jd and cast to
8459 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8460 * nptl/tst-mutex5.c: Include <stdint.h>.
8461 (do_test): Replace %ld with %jd and cast to intmax_t.
8462 * posix/tst-regex.c (run_test): Likewise.
8463 (run_test_backwards): Likewise.
8464 * rt/tst-clock.c: Include <stdint.h>.
8465 (clock_test): Replace %ld with %jd and cast to intmax_t.
8466 * rt/tst-cpuclock1.c: Include <stdint.h>.
8467 (do_test): Replace %lu with %ju and cast to uintmax_t.
8468 * rt/tst-cpuclock2.c: Include <stdint.h>.
8469 (do_test): Replace %lu with %ju and cast to uintmax_t.
8470 * rt/tst-mqueue1.c: Include <stdint.h>.
8471 (check_attrs): Replace %ld with %jd and cast to intmax_t.
8472 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8474 * rt/tst-mqueue4.c (do_test): Likewise.
8475 * rt/tst-timer4.c: Include <stdint.h>.
8476 (check_ts): Replace %ld with %jd and cast to intmax_t.
8477 (do_test): Likewise.
8478 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8479 and cast to intmax_t.
8480 * sysdeps/pthread/tst-timer.c (main): Likewise.
8481 * time/clocktest.c (main): Likewise.
8482 * time/tst-posixtz.c (do_test): Likewise.
8483 * timezone/tst-timezone.c (main): Likewise.
8485 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
8486 H.J. Lu <hongjiu.lu@intel.com>
8488 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8489 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8490 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8491 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8492 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8493 version if bit_Fast_Unaligned_Load is set.
8494 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8495 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8496 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8497 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8498 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8499 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8500 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8501 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8502 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8503 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8505 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8506 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8507 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8508 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8510 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
8512 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8513 instead of #if to avoid a Wundef warning.
8514 * stdlib/tst-limits.c (do_test): Likewise.
8516 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8517 parallel other exception macros.
8518 (fegetenv): Convert from macro to extern inline so that it applies
8519 retroactively to inline functions already seen by the compiler.
8520 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8522 * posix/Makefile (before-compile): Use $(objpfx) for
8523 posix-conf-vars-def.h.
8525 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8527 * posix/getconf.c (main): Use size_t for type of I.
8528 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8531 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8532 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8533 * posix/posix-envs.def: Likewise.
8534 * sysdeps/posix/sysconf.c: Likewise.
8535 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8536 (specs): Remove array.
8537 * scripts/gen-posix-conf-vars.awk: Support generation of specs
8540 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8541 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8542 (__sysconf): Use CONF_IS_* macros.
8544 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8545 ($(objpfx)posix-conf-vars-def.h): New target.
8546 * posix/posix-conf-vars.list: New file.
8547 * posix/posix-conf-vars.h: New file.
8548 * posix/confstr.c: Include posix-conf-vars.h.
8549 (confstr): Use CONF_IS_* macros.
8550 * posix/posix-envs.def: Include posix-conf-vars.h. Use
8552 * scripts/gen-posix-conf-vars.awk: New file.
8554 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
8556 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8557 fegetround): Add no-op macros to avoid linknamespace issues.
8559 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8560 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8562 * sysdeps/unix/sysv/linux/tile/sysdep.h
8563 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8564 assembly-specific section to avoid a redefinition warning.
8566 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8567 long before casting to pointer to avoid a cast warning.
8569 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
8571 * sysdeps/tile/tilegx/Implies: New file.
8573 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
8575 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8577 2014-12-23 Florian Weimer <fweimer@redhat.com>
8579 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8581 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8583 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8585 * sysdeps/unix/sysv/linux/utimes.c: Do not include
8586 <kernel-features.h>.
8587 (__utimes) [__NR_utimes]: Make code unconditional.
8588 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8589 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8590 (__ASSUME_UTIMES): Do not undefine.
8591 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8592 (__ASSUME_UTIMES): Likewise.
8593 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8594 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8595 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8596 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8598 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
8600 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8602 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
8605 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8606 alias to weak alias for j0l, y0l.
8607 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8608 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8611 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8614 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
8616 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8617 to zero if not already defined.
8619 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8622 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8623 (__kernel_standard_f): Remove. Moved to k_standardf.c.
8624 (__kernel_standard_l): Remove. Moved to k_standardl.c with
8625 (char *) casts added.
8626 * sysdeps/ieee754/k_standardf.c: New file.
8627 * sysdeps/ieee754/k_standardl.c: Likewise.
8628 * math/Makefile (libm-support): Remove k_standard.
8629 (libm-calls): Add k_standard.
8631 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8633 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8634 Optimize to avoid an unnecessary FPCR read.
8636 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8638 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8639 Optimize to reduce FPCR/FPSR accesses.
8641 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8643 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8644 Call libc_fetestexcept_aarch64.
8646 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8648 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8649 Call libc_fesetround_aarch64.
8651 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8654 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8655 (__bind): Do not define as weak alias.
8656 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8658 (__getsockname): Do not define as weak alias.
8660 2014-12-22 Will Newton <will.newton@linaro.org>
8662 * manual/install.texi: Document that we require bison 2.7
8664 * INSTALL: Regenerate.
8665 * configure.ac: Use AC_CHECK_PROG_VER instead of
8666 AC_PATH_PROG when checking for bison and check for
8667 version 2.7 or above.
8668 * configure: Regenerate.
8670 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
8673 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8674 * sysdeps/tile/ffsll.c (ffsll): To here.
8676 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8678 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
8680 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8682 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8684 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8685 hidden ___tls_get_addr.
8686 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8687 hidden __tls_get_addr.
8688 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8689 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8692 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
8694 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8697 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
8699 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8700 from "call _dl_init@PLT".
8701 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8703 2014-12-21 Anders Kaseorg <andersk@mit.edu>
8705 * manual/search.texi: (Array Sort Function): Clarify stable sorting
8708 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
8710 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8712 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
8715 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8718 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
8720 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8722 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8723 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8724 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8725 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8726 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8728 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
8730 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8731 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8732 (PTR_SUBU): Use subu for mips32r6/mips64r6.
8733 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8734 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8736 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8738 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
8740 * string/strncat.c (STRNCAT): Simplify implementation.
8742 2014-12-19 David S. Miller <davem@davemloft.net>
8744 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8745 access the quad as both a long double and as a series of 4 words.
8747 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8748 link_map->l_info array access.
8750 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
8752 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8754 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8755 * math/atest-exp2.c (TIMEOUT): Likewise.
8756 * math/atest-sincos.c (TIMEOUT): Likewise.
8758 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8760 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8761 -Wno-error with -fno-builtin-lround.
8763 2014-12-19 Torvald Riegel <triegel@redhat.com>
8765 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8766 Contains futex constants and functions moved over from ...
8767 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
8768 <lowlevellock-futex.h>.
8769 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8770 (lll_timedwait_tid): Add comments and parentheses around macro
8773 2014-12-19 Torvald Riegel <triegel@redhat.com>
8775 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8776 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
8777 (__lll_private_flag): Remove.
8778 (lll_futex_wait): Likewise.
8779 (lll_futex_timed_wait): Likewise.
8780 (lll_futex_wake): Likewise.
8781 (lll_futex_requeue): Likewise.
8782 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8783 (__lll_timedwait_tid): Spell out argument names.
8784 (lll_timedwait_tid): Add comments and parentheses around macro
8786 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8787 LLL_SHARED and LLL_PRIVATE usable from assembly code.
8789 2014-12-19 Torvald Riegel <triegel@redhat.com>
8791 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8792 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8793 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8794 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8795 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8796 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8797 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8798 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8799 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8800 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8801 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8802 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8803 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8804 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8805 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8806 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8807 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8808 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8809 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8811 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8813 * sysdeps/x86_64/x32/Makefile: New file.
8815 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8817 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8818 1L with (mp_limb_t) 1.
8820 2014-12-17 Roland McGrath <roland@hack.frob.com>
8822 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8823 * nptl/libc_pthread_init.c: ... here.
8824 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8825 * nptl/register-atfork.c: ... here.
8827 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8828 Use pthread_sigmask rather than INTERNAL_SYSCALL.
8829 Use assert_perror to check its return value.
8830 (__gai_create_helper_thread): Likewise.
8832 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8834 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8836 2014-12-17 Joseph Myers <joseph@codesourcery.com>
8839 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8841 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8843 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8845 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8847 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8848 (profil_counter): Likewise.
8849 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8850 (profil_counter): Likewise.
8851 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8853 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8855 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8856 (profil_counter): Likewise.
8857 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8859 [!__profil_counter] (profil_counter): Define as weak alias of
8861 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8862 (profil_counter): Rename to __profil_counter.
8863 [!__profil_counter] (profil_counter): Define as weak alias of
8865 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8866 (profil_counter): Rename to __profil_counter.
8867 [!__profil_counter] (profil_counter): Define as weak alias of
8869 * sysdeps/posix/profil.c: Update comment referring to
8871 (__profil): Use __profil_counter instead of profil_counter.
8872 * sysdeps/posix/sprofil.c (profil_counter): Rename to
8873 __profil_counter. Use __profil_counter_ushort and
8874 __profil_counter_uint in definitions.
8875 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8876 instead of profil_counter_uint and profil_counter_ushort.
8879 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8880 define as weak alias of __inet_makeaddr.
8881 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8882 as weak alias of __inet_addr.
8883 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8884 as weak alias of __inet_pton. Use libc_hidden_weak.
8885 * include/arpa/inet.h (__inet_pton): Declare. Use
8887 (inet_makeaddr): Don't use libc_hidden_proto.
8888 (__inet_makeaddr): Declare. Use libc_hidden_proto.
8889 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8890 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
8891 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8893 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8894 (test-xfail-POSIX/time.h/linknamespace): Likewise.
8896 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
8898 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8900 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8902 * stdio-common/bug-vfprintf-nargs.c (do_test):
8903 Cast value to intptr_t to avoid format warning
8904 for usage with PRIdPTR printing macro.
8906 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8908 * libio/tst-widetext.c (do_test):
8909 Use format type %td instead of %Zd for ptrdiff_t
8910 in order to avoid format warning.
8912 2014-12-17 Andreas Schwab <schwab@suse.de>
8914 * nscd/mem.c (gc): Add size_t cast to match printf format.
8916 2014-12-16 Roland McGrath <roland@hack.frob.com>
8918 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8919 (init): Apply PTR_MANGLE to pointers before storing them.
8920 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8923 2014-12-16 Joseph Myers <joseph@codesourcery.com>
8926 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8927 define as weak alias of __memrchr.
8928 (__memrchr): Do not define as strong alias of memrchr.
8929 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8931 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8932 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8933 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8936 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8937 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
8938 (if_indextoname): Rename to __if_indextoname and define as weak
8939 alias of __if_indextoname. Use libc_hidden_weak.
8940 (if_freenameindex): Rename to __if_freenameindex and define as
8941 weak alias of __if_freenameindex.
8942 (if_nameindex): Rename to __if_nameindex and define as weak alias
8944 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8945 __if_nametoindex and define as weak alias of __if_nametoindex.
8946 Use libc_hidden_weak.
8947 (if_freenameindex): Rename to __if_freenameindex and define as
8948 weak alias of __if_freenameindex.
8949 (if_nameindex): Rename to __if_nameindex and define as weak alias
8951 (if_indextoname): Rename to __if_indextoname and define as weak
8952 alias of __if_indextoname. Use libc_hidden_weak.
8953 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8954 __if_nametoindex and define as weak alias of __if_nametoindex.
8955 Use libc_hidden_weak.
8956 (if_freenameindex): Rename to __if_freenameindex and define as
8957 weak alias of __if_freenameindex. Use libc_hidden_weak.
8958 (if_nameindex_netlink): Use __if_freenameindex instead of
8960 (if_nameindex): Rename to __if_nameindex and define as weak alias
8961 of __if_nameindex. Use libc_hidden_weak.
8962 (if_indextoname): Rename to __if_indextoname and define as weak
8963 alias of __if_indextoname. Use libc_hidden_weak.
8964 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8966 [!_ISOMAC] (__if_freenameindex): Likewise.
8967 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8969 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8971 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8972 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8973 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8974 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8975 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8976 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8977 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8979 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8981 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8982 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8984 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8986 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8987 subscript above bounds'
8989 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8992 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
8994 * libio/tst-fopenloc.c: Use test-skeleton.c.
8996 * stdlib/tst-bsearch.c: Use test-skeleton.c.
8997 (entry): Rename to ITEM.
8998 (do_test, comp): Adjust.
9000 * stdio-common/tst-fseek.c: Use test-skeleton.c.
9002 2014-12-16 Torvald Riegel <triegel@redhat.com>
9004 * string/tester.c: Include <libc-internal.h>.
9005 (test_memset): Ignore -Wmemset-transposed-args.
9007 2014-12-16 Torvald Riegel <triegel@redhat.com>
9009 * misc/tst-mntent2.c (do_test): Fix warning.
9011 2014-12-16 Torvald Riegel <triegel@redhat.com>
9013 * elf/tst-unique4lib.cc(a): Mark as used.
9015 2014-12-16 Florian Weimer <fweimer@redhat.com>
9018 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9021 2014-12-16 Allan McRae <allan@archlinux.org>
9023 * stdio-common/Makefile (tests): Re-add bug26.
9025 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
9028 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9031 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
9033 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9034 (__lll_lock_wait): Likewise.
9035 (__lll_timedlock_wait): Likewise.
9036 (__lll_timedwait_tid): Likewise.
9037 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9038 (__lll_robust_timedlock_wait): Likewise.
9039 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9040 (lll_cond_trylock): Likewise.
9041 (__lll_lock): Likewise.
9042 (__lll_robust_lock): Likewise.
9043 (__lll_cond_lock): Likewise.
9044 (lll_robust_cond_lock): Likewise.
9045 (__lll_timedlock): Likewise.
9046 (__lll_robust_timedlock): Likewise.
9047 (__lll_unlock): Likewise.
9048 (__lll_robust_unlock): Likewise.
9049 (lll_wait_tid): Likewise.
9050 (lll_timedwait_tid): Likewise.
9052 2014-12-15 Torvald Riegel <triegel@redhat.com>
9054 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9056 2014-12-15 Torvald Riegel <triegel@redhat.com>
9058 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9060 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
9062 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9063 * stdio-common/tst-sprintf.c: Likewise.
9065 2014-12-15 Torvald Riegel <triegel@redhat.com>
9067 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9069 2014-12-15 Jeff Law <law@redhat.com>
9072 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9073 on the heap. (CVE-2012-3406)
9074 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9075 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
9076 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9078 2014-12-15 Will Newton <will.newton@linaro.org>
9080 * manual/install.texi: Bump required version of texinfo
9082 * INSTALL: Regenerated.
9083 * configure.ac: Check for makeinfo version 4.7 and above.
9084 * configure: Regenerated.
9086 2014-12-12 Roland McGrath <roland@hack.frob.com>
9088 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9089 PREFIX, string constant to insert between directory and name.
9090 * sysdeps/posix/shm_open.c: Update caller.
9091 * sysdeps/posix/shm_unlink.c: Likewise.
9092 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9093 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9094 (SEM_SHM_PREFIX): New macro.
9095 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9096 [$(have-thread-library) = no].
9097 * nptl/Makefile (libpthread-routines): Add shm-directory.
9098 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9099 * sysdeps/nptl/shm-directory.h: New file.
9100 * sysdeps/posix/shm-directory.c
9101 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9102 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9103 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9105 (__where_is_shmfs): Function removed.
9106 (mountpoint, defaultmount, defaultdir, __namedsem_once):
9108 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9110 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
9112 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9113 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9114 unconditional for use inside libpthread.
9115 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9117 2014-12-12 Roland McGrath <roland@hack.frob.com>
9119 * nptl/pthread_getaffinity.c: New file.
9120 * nptl/pthread_setaffinity.c: New file.
9121 * nptl/pthread_getname.c: New file.
9122 * nptl/pthread_setname.c: New file.
9124 * nptl/pthread_create.c (START_THREAD_DEFN)
9125 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9127 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9128 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9130 * resolv/res_send.c (send_vc): Disable warning resplen may
9131 be used uninitialized.
9133 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9136 (ATTR_NULL): New define checks ATTR against NULL.
9137 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9138 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9140 2014-12-11 James Lemke <jwlemke@codesourcery.com>
9144 (mem2mem_check): Revert my previous change.
9145 (malloc_check_get_size): Revert my previous change.
9146 (mem2chunk_check): Revert my previous change.
9148 2014-12-11 Roland McGrath <roland@hack.frob.com>
9150 * sysdeps/posix/shm-directory.c: New file.
9151 * sysdeps/posix/shm-directory.h: New file.
9152 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9153 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9154 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
9155 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9156 Transmute EPERM to EACCES.
9157 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9159 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
9160 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9162 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9164 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9165 pointer and cast to uintptr_t.
9166 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9167 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9168 Add cast to avoid warning.
9169 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9171 2014-12-11 Joseph Myers <joseph@codesourcery.com>
9173 * nptl/semaphore.h: Move to ...
9174 * sysdeps/pthread/semaphore.h: ... here.
9175 * Makefile (installed-headers): Change nptl/semaphore.h to
9176 sysdeps/pthread/semaphore.h.
9178 2014-12-11 Roland McGrath <roland@hack.frob.com>
9180 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9181 generated error format strings.
9183 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9184 -Wformat-extra-args warnings for scanf formats.
9185 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9186 test of zero-length format (duh).
9187 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9188 corner-case scanf format test.
9189 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9190 generated fprintf format string.
9191 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9192 corner-case sprintf format tests.
9193 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9194 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9195 -Wformat-extra-args warnings throughout.
9196 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9197 (CFLAGS-scanf4.c): Likewise.
9198 (CFLAGS-scanf7.c): Likewise.
9199 (CFLAGS-tst-sprintf.c): Likewise.
9200 (CFLAGS-tst-printf.c): Likewise.
9201 (CFLAGS-tst-printfsz.c): Likewise.
9203 2014-12-11 Joseph Myers <joseph@codesourcery.com>
9205 * include/cpio.h: New file.
9206 * include/fmtmsg.h: Likewise.
9208 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
9209 corresponding format argument to size_t.
9210 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
9212 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
9213 corresponding format argument to size_t.
9214 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
9216 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
9217 corresponding format argument to size_t.
9218 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9219 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9220 (CFLAGS-tst-mbswcs2.c): Likewise.
9221 (CFLAGS-tst-mbswcs3.c): Likewise.
9222 (CFLAGS-tst-mbswcs4.c): Likewise.
9223 (CFLAGS-tst-mbswcs5.c): Likewise.
9224 (CFLAGS-tst-trans.c): Likewise
9226 2014-12-11 Roland McGrath <roland@hack.frob.com>
9228 * posix/regexbug1.c (main): Use "%s" format with regerror results,
9229 rather than assuming they won't contain any '%'s.
9231 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
9233 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9234 inhibit_loop_to_libcall to avoid recursive calls.
9235 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9236 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9238 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
9240 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9243 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
9245 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9246 integer value instead of boolean.
9248 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
9250 * malloc/malloc.c: Fix powerof2 check.
9252 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9254 * locale/programs/locfile.h (maybe_swap_uint32):
9255 Remove inline and add unused attribute.
9257 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9259 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9260 Truncating assembler expression to a .long expression.
9262 2014-12-11 Andreas Schwab <schwab@suse.de>
9264 * elf/rtld.c (struct map_args): Constify str member.
9265 (do_preload): Constify fname argument.
9267 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9269 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9270 constants definition.
9272 2014-12-11 Andreas Schwab <schwab@suse.de>
9275 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9276 FORCE_ELISION instead of DO_ELISION.
9277 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9279 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9282 * iconvdata/gconv-modules: Remove duplicate entry.
9284 2014-12-11 Will Newton <will.newton@linaro.org>
9286 Merge gettext 0.19.3 into intl/.
9288 This involves a number of cosmetic changes to comments
9289 and ANSI function definitions and prototypes throughout
9290 all the files. The gettext copyright header is used but
9291 with the date ranges taken from the glibc copy.
9293 * NEWS: Add gettext merge to 2.21.
9294 * intl/bindtextdom.c: Switch to gettext copyright.
9295 Use ANSI definitions and prototypes.
9296 Use gl_* locking primitives rather than __libc_* ones.
9297 Use __builtin_expect rather than __glibc_likely/unlikely.
9298 * intl/dcgettext.c: Switch to gettext copyright.
9299 Use ANSI definitions and prototypes.
9300 * intl/dcigettext.c: Switch to gettext copyright.
9301 Use ANSI definitions and prototypes.
9302 (INTDIV0_RAISES_SIGFPE): New define.
9303 Use gl_* locking primitives rather than __libc_* ones.
9304 Include eval-plural.h instead of plural-eval.c.
9305 Use __builtin_expect rather than __glibc_likely/unlikely.
9306 * intl/dcngettext.c: Switch to gettext copyright.
9307 Use ANSI definitions and prototypes.
9308 * intl/dgettext.c: Likewise.
9309 * intl/dngettext.c: Likewise.
9310 * intl/plural-eval.c: Renamed to...
9311 * intl/eval-plural.h: ...this.
9312 * intl/explodename.c: Switch to gettext copyright.
9313 Use ANSI definitions and prototypes.
9314 (_nl_explode_name): Use strchr instead of __rawmemchr.
9315 * intl/finddomain.c: Switch to gettext copyright.
9316 Use ANSI definitions and prototypes.
9317 Use gl_* locking primitives rather than __libc_* ones.
9318 (_nl_find_domain): Use malloc rather than alloca for
9319 allocation of temporary locale name.
9320 * intl/gettext.c: Switch to gettext copyright.
9321 Use ANSI definitions and prototypes.
9322 * intl/gettextP.h: Switch to gettext copyright.
9323 Use ANSI definitions and prototypes.
9324 Use gl_* locking primitives rather than __libc_* ones.
9325 * intl/gmo.h: Switch to gettext copyright.
9326 (struct sysdep_string): Move struct segment_pair outside of
9328 * intl/hash-string.c: Use ANSI definitions and prototypes.
9329 * intl/hash-string.h: Switch to gettext copyright.
9330 Use ANSI definitions and prototypes.
9331 * intl/l10nflist.c: Switch to gettext copyright.
9332 Use ANSI definitions and prototypes.
9333 (_nl_normalize_codeset): Avoid integer overflow.
9334 * intl/loadinfo.h: Switch to gettext copyright.
9335 Use ANSI definitions and prototypes.
9336 (LIBINTL_DLL_EXPORTED): New define.
9337 (PATH_SEPARATOR): New define.
9338 * intl/loadmsgcat.c: Switch to gettext copyright.
9339 * intl/localealias.c: Switch to gettext copyright.
9340 Use ANSI definitions and prototypes.
9341 (_nl_expand_alias): Use PATH_SEPARATOR.
9342 * intl/ngettext.c: Switch to gettext copyright.
9343 Use ANSI definitions and prototypes.
9344 * intl/plural-exp.c: Likewise.
9345 * intl/plural-exp.h: Switch to gettext copyright.
9346 Use ANSI definitions and prototypes.
9347 (struct expression): Move definition of enum operator outside
9348 of struct definition.
9349 * intl/plural.c: Regenerate.
9350 * intl/plural.y: Switch to gettext copyright.
9351 Use ANSI definitions and prototypes.
9353 * intl/textdomain.c: Switch to gettext copyright.
9354 Use ANSI definitions and prototypes.
9355 Use gl_* locking primitives rather than __libc_* ones.
9357 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
9359 * debug/warning-nop.c: Add used atrribute.
9361 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9363 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9365 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9366 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9367 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9369 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9370 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9373 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9374 Undefine after defining function. Define as weak alias of
9375 __wcschr. Use libc_hidden_weak.
9376 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
9377 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
9378 (libc_hidden_def): Also define __GI___wcschr alias.
9379 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
9380 __wcschr and define as weak alias of __wcschr.
9381 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
9383 [!WCSCHR] (DEFAULT_WCSCHR): Define.
9384 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
9385 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
9386 libc_hidden_weak. Do not use libc_hidden_def.
9387 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
9388 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
9389 __GI___wcschr alias.
9390 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
9391 [IS_IN (libc)] (wcschr): Define as macro expanding to
9393 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
9394 [IS_IN (libc)] (__wcschr_power6): Likewise.
9395 [IS_IN (libc)] (__wcschr_power7): Likewise.
9396 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
9398 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
9400 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
9401 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
9402 __wcschr and define as weak alias of __wcschr. Use
9403 libc_hidden_builtin_def.
9404 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
9405 as weak alias of __wcschr. Use libc_hidden_weak.
9406 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
9408 * time/era.c (_nl_init_era_entries): Likewise.
9409 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
9411 (test-xfail-XPG3/time.h/linknamespace): Likewise.
9412 (test-xfail-XPG4/time.h/linknamespace): Likewise.
9414 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9416 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
9417 format for long int variable.
9419 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
9422 * manual/search.texi: (Array Sort Function): Remove claim how to make
9425 2014-12-10 Andreas Schwab <schwab@suse.de>
9428 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
9429 user-controlled locks.
9431 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
9433 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
9436 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9438 * configure.ac (--disable-werror): New configure option.
9439 (enable_werror): New AC_SUBST.
9440 * configure: Regenerated.
9441 * config.make.in (enable-werror): New variable.
9442 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
9444 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9445 * manual/install.texi (Configuring and compiling): Document
9447 * INSTALL: Regenerated.
9448 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9449 (CFLAGS-tst-chk2.c): Likewise.
9450 (CFLAGS-tst-chk3.c): Likewise.
9451 (CFLAGS-tst-chk4.cc): Likewise.
9452 (CFLAGS-tst-chk5.cc): Likewise.
9453 (CFLAGS-tst-chk6.cc): Likewise.
9454 (CFLAGS-tst-lfschk1.c): Likewise.
9455 (CFLAGS-tst-lfschk2.c): Likewise.
9456 (CFLAGS-tst-lfschk3.c): Likewise.
9457 (CFLAGS-tst-lfschk4.cc): Likewise.
9458 (CFLAGS-tst-lfschk5.cc): Likewise.
9459 (CFLAGS-tst-lfschk6.cc): Likewise.
9461 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9462 (main): Disable -Wdeprecated-declarations around calls to
9463 register_printf_function.
9465 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9466 (do_test): Disable -Wdiv-by-zero around some calls to
9467 fwrite_unlocked and fread_unlocked.
9469 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9470 (DIAG_POP_NEEDS_COMMENT): Likewise.
9471 (_DIAG_STR1): Likewise.
9472 (_DIAG_STR): Likewise.
9473 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9474 * stdio-common/bug21.c: Include <libc-internal.h>.
9475 (do_test): Disable -Wformat around call to sscanf.
9476 * stdio-common/scanf14.c: Include <libc-internal.h>.
9477 (main): Disable -Wformat around some calls to scanf functions.
9479 2014-12-09 Torvald Riegel <triegel@redhat.com>
9481 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9483 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9485 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9486 stack variable alignment.
9488 2014-12-06 Joseph Myers <joseph@codesourcery.com>
9491 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9492 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9493 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9494 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9495 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9496 __getrlimit instead of getrlimit.
9497 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9498 __gettimeofday instead of gettimeofday.
9499 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9501 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9503 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9504 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9506 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9507 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9509 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9511 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9512 for wide-character tests.
9514 2014-12-04 Roland McGrath <roland@hack.frob.com>
9516 * io/openat64.c: #include <libc-internal.h>
9517 (__openat64): Prototypify. Use ignore_value on MODE.
9518 * io/openat.c: Likewise.
9519 * misc/reboot.c: #include <libc-internal.h>
9520 (reboot): Prototypify. Use ignore_value on HOWTO.
9521 * misc/ptrace.c: #include <libc-internal.h>
9522 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
9524 2014-12-04 Joseph Myers <joseph@codesourcery.com>
9526 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9527 XPG4, UNIX98 and XOPEN2K.
9528 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9530 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9532 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9534 * libio/fileops.c: Use ISO C style for function definitions.
9535 * libio/iofopen.c: Likewise.
9536 * libio/wfileops.c: Likewise.
9539 * libio/fileops.c (_IO_new_file_underflow): Unset cached
9541 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9542 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9543 (fgets_func): Function pointer to fgets and fgetws.
9544 (do_ftell_test): Add test to verify ftell value after read
9546 (do_test): Set fgets_func.
9548 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9549 O_TRUNC flag for w and w+ modes.
9550 (do_rewind_test): Likewise.
9551 (do_ftell_test): Likewise.
9552 (do_write_test): Likewise.
9555 * libio/fileops.c (do_ftell): Seek only when there are
9557 * libio/wfileops.c (do_ftell_wide): Likewise.
9558 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9560 (do_one_test): Call it.
9562 2014-12-03 Joseph Myers <joseph@codesourcery.com>
9564 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9565 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9566 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9568 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9569 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9570 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9572 2014-12-02 Joseph Myers <joseph@codesourcery.com>
9574 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9576 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9579 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9580 as weak alias of __getifaddrs. Use libc_hidden_weak.
9581 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9582 __freeifaddrs. Use libc_hidden_weak.
9583 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9584 define as weak alias of __getifaddrs. Use libc_hidden_weak.
9585 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9586 __freeifaddrs. Use libc_hidden_weak.
9587 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9588 __getifaddrs and define as weak alias of __getifaddrs. Use
9590 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9591 __freeifaddrs. Use libc_hidden_weak.
9592 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9594 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9595 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9597 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
9600 * sysdeps/mips/start.S (__start): Use indirect jump to call
9603 2014-12-02 Joseph Myers <joseph@codesourcery.com>
9605 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9607 * nptl/tst-mutex1.c: Include <stdbool.h>.
9608 [!ATTR] (ATTR_NULL): New macro.
9609 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9610 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9611 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9613 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9617 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9618 Change conditional to [__USE_MISC].
9621 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9623 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9625 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9627 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9629 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9630 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9631 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9632 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9633 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9634 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9635 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9636 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9637 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9639 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9641 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9643 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9644 Remove strpbrk objects.
9645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9646 (__libc_ifunc_impl_list): Remove strpbrk implementation.
9647 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9648 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9649 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9650 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9652 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9653 Remove strcspn objects.
9654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9655 (__libc_ifunc_impl_list): Remove strcspn implementation.
9656 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9657 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9658 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9659 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9661 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9662 Remove strspn objetcs.
9663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9664 (__libc_ifunc_impl_list): Remove strspn implementation.
9665 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9666 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9667 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9668 * sysdeps/powerpc/powerpc64/strspn.S: New file.
9670 2014-12-01 James Lemke <jwlemke@codesourcery.com>
9674 (mem2mem_check): Add a terminator to the chain of checking blocks.
9675 (malloc_check_get_size): Use it here.
9676 (mem2chunk_check): Ditto.
9678 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9680 * sysdeps/powerpc/powerpc64/strtok.S: New file.
9681 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9683 2014-11-29 Carlos O'Donell <carlos@redhat.com>
9685 * bits/ioctl-types.h: Indent preprocessor directives correctly.
9687 * nptl/nptl-init.c: Include libc-internal.h.
9688 (__pthread_initialize_minimal_internal): Use ROUND_UP.
9690 * elf/ldconfig.c (search_dir): Expand comment.
9692 2014-11-29 Joseph Myers <joseph@codesourcery.com>
9694 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9696 (linknamespace-symlist-stdlibs-tests): Likewise.
9697 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9698 instead of $(objpfx)symlist-stdlibs.
9699 (linknamespace-libs-isoc): New variable.
9700 (linknamespace-libs): Use $(linknamespace-libs-isoc).
9701 (linknamespace-libs-ISO): New variable.
9702 (linknamespace-libs-ISO99): Likewise.
9703 (linknamespace-libs-ISO11): Likewise.
9704 (linknamespace-libs-XPG3): Likewise.
9705 (linknamespace-libs-XPG4): Likewise.
9706 (linknamespace-libs-POSIX): Likewise.
9707 (linknamespace-libs-UNIX98): Likewise.
9708 (linknamespace-libs-XOPEN2K): Likewise.
9709 (linknamespace-libs-POSIX2008): Likewise.
9710 (linknamespace-libs-XOPEN2K8): Likewise.
9711 ($(objpfx)symlist-stdlibs): Replace by
9712 $(linknamespace-symlist-stdlibs-tests). Use
9713 $(linknamespace-libs-$*) as set of libraries.
9714 ($(linknamespace-header-tests)): Update dependencies. Use
9715 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9716 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9717 * conform/linknamespace.pl: Remove comment about considering
9718 definitions of symbols from irrelevant libraries.
9720 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
9723 * elf/dl-tls.c: Include <atomic.h>.
9724 (oom): Remove #ifdef SHARED/#endif.
9725 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9726 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
9727 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9729 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9730 * nptl/Makefile (tests): Add tst-stack4.
9731 (modules-names): Add tst-stack4mod.
9732 ($(objpfx)tst-stack4): New.
9733 (tst-stack4mod.sos): Likewise.
9734 ($(objpfx)tst-stack4.out): Likewise.
9735 ($(tst-stack4mod.sos)): Likewise.
9737 * nptl/tst-stack4.c: New file.
9738 * nptl/tst-stack4mod.c: Likewise.
9740 2014-11-27 J. Brown <jb999@gmx.de>
9742 * sysdeps/x86/bits/string.h: Add recent CPUs.
9744 2014-11-27 Joseph Myers <joseph@codesourcery.com>
9746 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9749 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9752 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9755 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
9757 * nscd/connections.c: Include libc-internal.h because of macro
9760 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9762 * string/bits/string3.h (__warn_memset_zero_len): Don't
9763 declare for gcc newer than 5.0.
9764 (memset): Don't test for zero-length __LEN for gcc newer than
9767 2014-11-27 Joseph Myers <joseph@codesourcery.com>
9769 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9770 size_t for %zu format.
9772 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9773 difference, not %ju.
9775 2014-11-26 Joseph Myers <joseph@codesourcery.com>
9777 * include/libc-internal.h (ignore_value): New macro.
9778 * nscd/connections.c (restart): Wrap calls to setuid and setgid
9781 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9784 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9785 pthread_cleanup_push to void *.
9787 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9792 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9793 instead of 1L << 52.
9795 * libio/bug-rewind.c (do_test): Check fwscanf return values.
9796 * libio/bug-rewind2.c (do_test): Likewise.
9798 * debug/test-stpcpy_chk-ifunc.c: Remove file.
9799 * debug/test-strcpy_chk-ifunc.c: Likewise.
9800 * wcsmbs/test-wcschr-ifunc.c: Likewise.
9801 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9802 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9803 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9804 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9805 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9806 * Rules [$(multi-arch) = no] (tests): Do not filter out
9808 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9809 * debug/Makefile (tests-ifunc): Remove variable.
9810 (tests): Do not add $(tests-ifunc).
9811 * wcsmbs/Makefile (tests-ifunc): Remove variable.
9812 (tests): Do not add $(tests-ifunc).
9813 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9814 [TEST_IFUNC]: Remove conditionals.
9815 * string/test-string.h (TEST_IFUNC): Remove macro.
9816 [TEST_IFUNC]: Remove conditionals.
9818 * string/test-strchr.c [!WIDE] (L): New macro.
9819 [WIDE] (L): Likewise.
9820 (check1): Use CHAR instead of char. Use L on string and character
9823 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
9825 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9827 * sysdeps/powerpc/bits/atomic.h
9828 (__arch_atomic_exchange_and_add_32_acq): Add definition.
9829 (__arch_atomic_exchange_and_add_32_rel): Likewise.
9830 (atomic_exchange_and_add_acq): Likewise.
9831 (atomic_exchange_and_add_rel): Likewise.
9832 * sysdeps/powerpc/powerpc32/bits/atomic.h
9833 (__arch_atomic_exchange_and_add_64_acq): Add definition.
9834 (__arch_atomic_exchange_and_add_64_rel): Likewise.
9835 * sysdeps/powerpc/powerpc64/bits/atomic.h
9836 (__arch_atomic_exchange_and_add_64_acq): Add definition.
9837 (__arch_atomic_exchange_and_add_64_rel): Likewise.
9839 2014-11-26 Torvald Riegel <triegel@redhat.com>
9841 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9842 Change synchronization of __sched_fifo_min_prio and
9843 __sched_fifo_max_prio.
9844 * nptl/pthread_mutexattr_getprioceiling.c
9845 (pthread_mutexattr_getprioceiling): Likewise.
9846 * nptl/pthread_mutexattr_setprioceiling.c
9847 (pthread_mutexattr_setprioceiling): Likewise.
9848 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9849 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9852 2014-11-26 Joseph Myers <joseph@codesourcery.com>
9854 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9857 2014-11-25 Joseph Myers <joseph@codesourcery.com>
9859 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9860 third argument const.
9862 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
9864 fnmatch: work around GCC compiler warning bug with uninit var
9865 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9866 This works around a bug with x86-64 GCC 4.9.2 and earlier
9867 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9868 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9869 used uninitialized in this function [-Wmaybe-uninitialized]".
9871 2014-11-25 Joseph Myers <joseph@codesourcery.com>
9873 * posix/bug-regex31.c (main): Return RES not 0.
9875 2014-11-25 Anton Blanchard <anton@samba.org>
9877 * sysdeps/powerpc/bits/atomic.h
9878 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9880 2014-11-24 Sterling Augustine <saugustine@google.com>
9882 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9884 2014-11-24 Ryan Cumming <etaoins@gmail.com>
9887 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9889 2014-11-24 Joseph Myers <joseph@codesourcery.com>
9892 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9893 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9895 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9896 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9898 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
9900 * string/strncpy.c (strncpy): Improve performance by using memset.
9902 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
9904 * string/strcpy.c (strcpy):
9905 Improve performance by using strlen and memcpy.
9907 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
9909 * string/strcoll_l.c (get_next_seq): __always_inline.
9910 * string/strcoll_l.c (do_compare): __always_inline.
9912 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9914 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9916 * include/mqueue.h: Likewise.
9917 * include/stdlib.h: Likewise.
9919 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9920 (get_null_defines): Adjust.
9921 * sunrpc/Makefile: Adjust comment.
9922 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9923 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9924 (CFLAGS-interp.c): Likewise.
9925 (CFLAGS-ldconfig.c): Likewise.
9926 (CPPFLAGS-.os): Likewise.
9927 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9928 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9929 * extra-modules.mk (extra-modules.mk): Likewise.
9930 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9931 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9932 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9933 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9934 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9935 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9936 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9937 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9938 * iconvdata/Makefile (CPPFLAGS): Likewise.
9939 (cpp-srcs-left): Add libof for all iconvdata routines.
9940 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9941 * include/assert.h: Likewise.
9942 * include/ctype.h: Likewise.
9943 * include/errno.h: Likewise.
9944 * include/libc-symbols.h: Likewise.
9945 * include/math.h: Likewise.
9946 * include/netdb.h: Likewise.
9947 * include/resolv.h: Likewise.
9948 * include/stdio.h: Likewise.
9949 * include/stdlib.h: Likewise.
9950 * include/string.h: Likewise.
9951 * include/sys/stat.h: Likewise.
9952 * include/wctype.h: Likewise.
9953 * intl/l10nflist.c: Likewise.
9954 * libidn/idn-stub.c: Likewise.
9955 * libio/libioP.h: Likewise.
9956 * nptl/libc_multiple_threads.c: Likewise.
9957 * nptl/pthreadP.h: Likewise.
9958 * posix/regex_internal.h: Likewise.
9959 * resolv/res_hconf.c: Likewise.
9960 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9961 * sysdeps/arm/memmove.S: Likewise.
9962 * sysdeps/arm/sysdep.h: Likewise.
9963 * sysdeps/generic/_itoa.h: Likewise.
9964 * sysdeps/generic/symbol-hacks.h: Likewise.
9965 * sysdeps/gnu/errlist.awk: Likewise.
9966 * sysdeps/gnu/errlist.c: Likewise.
9967 * sysdeps/i386/i586/memcpy.S: Likewise.
9968 * sysdeps/i386/i586/memset.S: Likewise.
9969 * sysdeps/i386/i686/memcpy.S: Likewise.
9970 * sysdeps/i386/i686/memmove.S: Likewise.
9971 * sysdeps/i386/i686/mempcpy.S: Likewise.
9972 * sysdeps/i386/i686/memset.S: Likewise.
9973 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9974 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9975 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9976 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9977 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9978 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9979 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9980 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9981 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9982 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9983 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9984 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9985 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9986 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9987 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9988 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9989 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9990 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9991 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9992 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9993 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9994 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9995 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9996 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9997 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9998 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9999 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10000 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10001 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10002 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10003 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10004 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10005 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10006 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10007 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10008 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10009 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10010 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10011 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10012 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10013 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10014 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10015 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10016 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10017 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10018 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10019 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10020 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10021 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10022 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10023 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10024 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10025 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10026 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10027 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10028 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10029 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10030 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10031 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10032 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10033 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10034 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10035 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10036 * sysdeps/nptl/bits/libc-lock.h: Likewise.
10037 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10038 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10039 * sysdeps/posix/closedir.c: Likewise.
10040 * sysdeps/posix/opendir.c: Likewise.
10041 * sysdeps/posix/readdir.c: Likewise.
10042 * sysdeps/posix/rewinddir.c: Likewise.
10043 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10044 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10045 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10046 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10047 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10048 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10049 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10050 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10051 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10052 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10053 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10054 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10055 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10056 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10057 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10058 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10059 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10060 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10061 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10062 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10063 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10064 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10065 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10066 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10067 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10068 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10069 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10070 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10071 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10072 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10073 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10074 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10075 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10077 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10078 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10079 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10080 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10081 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10082 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10083 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10084 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10085 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10086 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10087 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10088 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10089 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10090 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10091 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10092 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10093 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10094 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10095 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10096 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10097 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10098 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10099 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10100 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10101 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10102 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10103 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10104 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10105 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10106 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10107 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10108 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10109 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10110 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10111 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10112 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10113 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10114 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10115 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10116 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10117 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10118 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10119 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10120 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10121 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10122 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10123 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10124 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10125 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10126 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10127 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10128 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10129 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10130 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10131 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10132 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10133 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10134 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10135 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10136 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10137 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10138 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10139 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10140 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10141 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10142 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10143 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10144 * sysdeps/unix/alpha/sysdep.S: Likewise.
10145 * sysdeps/unix/alpha/sysdep.h: Likewise.
10146 * sysdeps/unix/make-syscalls.sh: Likewise.
10147 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10148 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10149 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10150 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10151 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10152 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10153 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10154 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10155 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10156 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10157 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10158 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10159 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10160 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10161 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10162 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10163 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10164 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10165 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10166 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10167 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10168 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10169 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10170 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10171 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10172 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10173 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10176 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10177 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10178 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10179 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10180 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10181 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10182 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10183 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10184 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10185 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10186 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10187 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10188 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10189 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10190 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10191 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10192 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10193 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10194 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10195 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10196 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10197 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10198 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10199 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10200 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10201 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10202 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10203 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10204 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10205 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10206 * sysdeps/x86_64/memcpy.S: Likewise.
10207 * sysdeps/x86_64/memmove.c: Likewise.
10208 * sysdeps/x86_64/memset.S: Likewise.
10209 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10210 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10211 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10212 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10213 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10214 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10215 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10216 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10217 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10218 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10219 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10220 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10221 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10222 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10223 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10224 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10225 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10226 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10227 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10228 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10229 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10230 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10231 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10232 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10233 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10234 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10235 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10236 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10237 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10238 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10239 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10240 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10241 * sysdeps/x86_64/strcmp.S: Likewise.
10243 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10245 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10246 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10247 * elf/rtld-Rules: Likewise.
10248 * elf/setup-vdso.h: Likewise.
10249 * include/assert.h: Likewise.
10250 * include/bits/stdlib-float.h: Likewise.
10251 * include/errno.h: Likewise.
10252 * include/sys/stat.h: Likewise.
10253 * include/unistd.h: Likewise.
10254 * sysdeps/aarch64/setjmp.S: Likewise.
10255 * sysdeps/alpha/setjmp.S: Likewise.
10256 * sysdeps/arm/__longjmp.S: Likewise.
10257 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10258 * sysdeps/arm/setjmp.S: Likewise.
10259 * sysdeps/arm/sysdep.h: Likewise.
10260 * sysdeps/generic/_itoa.h: Likewise.
10261 * sysdeps/generic/dl-sysdep.h: Likewise.
10262 * sysdeps/generic/ldsodefs.h: Likewise.
10263 * sysdeps/i386/dl-tls.h: Likewise.
10264 * sysdeps/i386/setjmp.S: Likewise.
10265 * sysdeps/m68k/setjmp.c: Likewise.
10266 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10267 * sysdeps/mach/hurd/opendir.c: Likewise.
10268 * sysdeps/posix/getcwd.c: Likewise.
10269 * sysdeps/posix/opendir.c: Likewise.
10270 * sysdeps/posix/profil.c: Likewise.
10271 * sysdeps/powerpc/dl-procinfo.h: Likewise.
10272 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10273 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10274 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10275 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10276 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10277 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10278 * sysdeps/s390/dl-tls.h: Likewise.
10279 * sysdeps/s390/s390-32/setjmp.S: Likewise.
10280 * sysdeps/s390/s390-64/setjmp.S: Likewise.
10281 * sysdeps/sh/sh3/setjmp.S: Likewise.
10282 * sysdeps/sh/sh4/setjmp.S: Likewise.
10283 * sysdeps/unix/alpha/sysdep.h: Likewise.
10284 * sysdeps/unix/arm/sysdep.S: Likewise.
10285 * sysdeps/unix/i386/sysdep.S: Likewise.
10286 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10287 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10288 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10289 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10290 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10291 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10292 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10293 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10294 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10295 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10296 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10297 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10298 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10301 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10302 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10303 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10304 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10305 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10306 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10307 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10308 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10309 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10310 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10311 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10312 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10313 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10314 * sysdeps/x86_64/setjmp.S: Likewise.
10316 * include/math.h: Use IS_IN instead of IS_IN_libm.
10317 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10318 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10319 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10320 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10321 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10322 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10323 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10324 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10325 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10326 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10327 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10328 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10329 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10330 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10331 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10332 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10333 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10334 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10335 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10336 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
10337 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10338 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10339 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10340 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10341 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10342 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10343 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10344 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10345 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10346 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10347 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10348 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10349 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10360 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10361 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10362 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10363 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10364 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10365 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10371 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10372 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10373 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10374 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10375 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10376 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10377 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10378 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10379 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10380 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
10381 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
10382 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
10383 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
10384 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
10385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10386 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
10388 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
10389 * nptl/pthreadP.h: Likewise.
10390 * nptl_db/structs.def: Likewise.
10391 * sysdeps/arm/sysdep.h: Likewise.
10392 * sysdeps/nptl/bits/libc-lock.h: Likewise.
10393 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10394 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
10395 * sysdeps/unix/alpha/sysdep.h: Likewise.
10396 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10397 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10398 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10399 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10400 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10401 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10402 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10403 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10404 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10405 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10406 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10407 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10408 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10409 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10412 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10413 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10414 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10415 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10417 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10418 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10419 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10420 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10421 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10423 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
10424 * nptl/pthreadP.h: Likewise.
10425 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10426 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10427 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10428 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10429 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10430 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10431 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10432 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10433 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10434 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10435 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10436 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10441 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10442 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10443 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10444 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10445 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10446 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10447 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10448 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10450 * dlfcn/dladdr.c: Use IS_IN.
10451 * dlfcn/dladdr1.c: Likewise.
10452 * dlfcn/dlclose.c: Likewise.
10453 * dlfcn/dlerror.c: Likewise.
10454 * dlfcn/dlinfo.c: Likewise.
10455 * dlfcn/dlmopen.c: Likewise.
10456 * dlfcn/dlopen.c: Likewise.
10457 * dlfcn/dlsym.c: Likewise.
10458 * dlfcn/dlvsym.c: Likewise.
10460 * include/ifaddrs.h: Use IS_IN.
10461 * inet/check_pf.c: Likewise.
10462 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10463 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10465 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10467 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10468 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10470 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10471 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10474 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10476 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10477 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10478 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10479 * include/libc-symbols.h (IS_IN_LIB): New macro.
10480 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10481 * include/netdb.h: Likewise.
10482 * include/stap-probe.h: Remove all uses of IN_LIB.
10484 * Makeconfig (module-cppflags-real): Define MODULE_NAME
10485 instead of IN_MODULE.
10486 * include/libc-symbols.h (IN_MODULE): Define using
10488 (PASTE_NAME, PASTE_NAME1): New macros.
10489 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10491 (STAP_PROBE_ASM): Likewise.
10493 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
10495 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10496 __mach_init in dlopened libc.
10498 2014-11-22 Mike Frysinger <vapier@gentoo.org>
10500 * sysdeps/arm/preconfigure.ac: Delete EABI check.
10501 * sysdeps/arm/preconfigure: Regenerate.
10503 2014-11-21 Roland McGrath <roland@hack.frob.com>
10505 * nptl/pthread_create.c (__pthread_create_2_1): Set
10506 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10507 when copying values from IATTR into PD.
10509 2014-11-21 Will Newton <will.newton@linaro.org>
10510 Andrew Pinski <andrew.pinski@caviumnetworks.com>
10512 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10513 Refactor inline-asm. Also add comment.
10515 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10516 ElfW macro instead of hardcoded Elf64 types.
10517 (la_aarch64_gnu_pltenter): Likewise.
10518 * sysdeps/aarch64/dl-machine.h
10519 (elf_machine_runtime_setup): Use ElfW(Addr).
10521 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10522 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10523 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10524 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10525 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10526 (R_AARCH64_TLS_DTPMOD64): Rename to ..
10527 (R_AARCH64_TLS_DTPMOD): This.
10528 (R_AARCH64_TLS_DTPREL64): Rename to ...
10529 (R_AARCH64_TLS_DTPREL): This.
10530 (R_AARCH64_TLS_TPREL64): Rename to ...
10531 (R_AARCH64_TLS_TPREL): This.
10532 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10533 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10534 R_AARCH64_TLS_TPREL64.
10535 (elf_machine_rela): Likewise.
10537 2014-11-21 Torvald Riegel <triegel@redhat.com>
10539 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10540 by setting it to 0. 64b atomics are not supported currently.
10542 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10545 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10546 search domain names.
10548 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10552 * resolv/res_query.c (__libc_res_nquerydomain): Retain
10554 * posix/tst-getaddrinfo5.c: New.
10555 * posix/Makefile (tests): Add it.
10557 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10561 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10562 after parsing line but before break_if_match.
10563 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10564 if there is a protocol mismatch.
10566 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10568 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10569 because the potential race is on the user-supplied stream.
10571 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10573 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10574 string literal if not passed a buffer.
10575 * manual/job.texi (ctermid): Update reasoning, note deviation
10576 from posix, suggest mtasurace when not passed a buffer, for
10577 future non-preliminary safety notes.
10579 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10581 * manual/users.texi (cuserid): Fix MT-Safety note for the case
10582 of not passing it a buffer.
10583 Reported by Peng Haitao.
10585 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10587 * manual/Makefile ($(objpfx)stamp-summary): Require
10588 check-safety.sh to pass.
10589 * manual/check-safety.sh: Wish for verification that every
10590 @deftypefn and @deftypefun is followed by a @safety remark.
10592 2014-11-20 Roland McGrath <roland@hack.frob.com>
10594 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10596 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10597 PTHREAD_CANCEL_ASYNCHRONOUS.
10598 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10601 * nptl/default-sched.h: New file.
10602 * sysdeps/unix/sysv/linux/default-sched.h: New file.
10603 * nptl/pthread_create.c: Include it.
10604 (__pthread_create_2_1): Use collect_default_sched instead of making
10605 Linux syscalls here directly.
10607 2014-11-20 Torvald Riegel <triegel@redhat.com>
10609 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10610 __pthread_once): Use C11 atomics.
10612 2014-11-20 Torvald Riegel <triegel@redhat.com>
10614 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10616 2014-11-20 Torvald Riegel <triegel@redhat.com>
10618 * include/atomic.h (__atomic_link_error, __atomic_check_size,
10619 atomic_thread_fence_acquire, atomic_thread_fence_release,
10620 atomic_thread_fence_seq_cst, atomic_load_relaxed,
10621 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10622 atomic_compare_exchange_weak_relaxed,
10623 atomic_compare_exchange_weak_acquire,
10624 atomic_compare_exchange_weak_release,
10625 atomic_exchange_acquire, atomic_exchange_release,
10626 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10627 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10628 atomic_fetch_and_acquire,
10629 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10631 2014-11-20 Torvald Riegel <triegel@redhat.com>
10633 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10634 USE_ATOMIC_COMPILER_BUILTINS): Define.
10635 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10636 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10637 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10638 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10639 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10640 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10641 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10642 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10643 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10644 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10645 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10646 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10647 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10648 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10649 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10650 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10651 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10652 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10653 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10654 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10655 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10656 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10657 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10658 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10659 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10660 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10661 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10662 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10663 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10664 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10665 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10666 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10667 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10668 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10669 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10670 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10671 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10672 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10673 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10674 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10676 2014-11-19 Roland McGrath <roland@hack.frob.com>
10678 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10679 the sched_priority value here. It was already checked when the user
10680 called pthread_attr_setschedparam.
10682 * nptl/tst-bad-schedattr.c: New file.
10683 * nptl/Makefile (tests): Add it.
10685 2014-11-19 Carlos O'Donell <carlos@redhat.com>
10686 Florian Weimer <fweimer@redhat.com>
10687 Joseph Myers <joseph@codesourcery.com>
10688 Adam Conrad <adconrad@0c3.net>
10689 Andreas Schwab <schwab@suse.de>
10690 Brooks <bmoses@google.com>
10693 * wordexp-test.c (__dso_handle): Add prototype.
10694 (__register_atfork): Likewise.
10695 (__app_register_atfork): New function.
10696 (registered_forks): New global.
10697 (register_fork): New function.
10698 (test_case): Add 3 new tests for WRDE_CMDSUB.
10699 (main): Call __app_register_atfork.
10700 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10701 fork count is non-zero fail the test.
10702 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10704 (parse_dollars): Remove check for WRDE_NOCMD.
10705 (parse_dquote): Likewise.
10707 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10709 * Makeconfig (built-modules): List non-library modules to be
10711 (module-cppflags): Include libc-modules.h for
10712 everything except shlib-versions.v.i.
10713 (CPPFLAGS): Use it.
10714 (before-compile): Add libc-modules.h.
10715 ($(common-objpfx)libc-modules.h,
10716 $(common-objpfx)libc-modules.stmp): New targets.
10717 (common-generated): Add libc-modules.h and libc-modules.stmp.
10718 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10719 * include/libc-symbols.h: Don't include libc-modules.h.
10720 * include/libc-modules.h: Remove file.
10721 * scripts/gen-libc-modules.awk: New script to generate
10723 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10724 Depend on libc-modules.stmp.
10726 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10728 * Makeconfig (in-module): Get value of libof set for the
10730 (CPPFLAGS): Use $(in-module).
10731 * Makerules: Don't suffix routine names for nonlib.
10732 * include/libc-modules.h: New file.
10733 * include/libc-symbols.h: Include libc-modules.h
10734 (IS_IN): New macro to replace IS_IN_* macros.
10735 * elf/Makefile: Set libof-* for each routine.
10736 * elf/rtld-Rules: Likewise.
10737 * extra-modules.mk: Likewise.
10738 * iconv/Makefile: Likewise.
10739 * iconvdata/Makefile: Likewise.
10740 * locale/Makefile: Likewise.
10741 * malloc/Makefile: Likewise.
10742 * nss/Makefile: Likewise.
10743 * sysdeps/gnu/Makefile: Likewise.
10744 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10745 * sysdeps/unix/sysv/linux/Makefile: Likewise.
10746 * sysdeps/s390/s390-64/Makefile: Likewise.
10747 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
10748 CPPFLAGS for nscd instead of nonlib.
10750 2014-11-18 Roland McGrath <roland@hack.frob.com>
10752 * nptl/createthread.c: New file.
10754 * nptl/createthread.c: Moved ...
10755 * sysdeps/unix/sysv/linux/createthread.c: ... here.
10757 * nptl/createthread.c: Add proper top-line comment.
10758 (do_clone): Folded into ...
10759 (create_thread): ... here. Take new arguments STOPPED_START and
10760 THREAD_RAN. Always set PD->stopped_start to something here. Don't
10761 increment __nptl_threads, do event-reporting logic, do
10762 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10763 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
10764 resource cleanup if sched_setaffinity or sched_setscheduler fails,
10765 just send SIGCANCEL.
10766 * nptl/pthread_create.c: Forward-declare create_thread before
10767 including createthread.c.
10768 (start_thread): Use new macro START_THREAD_DEFN to replace defining
10769 declaration, and new macro START_THREAD_SELF to replace argument.
10770 Remove return statement.
10771 (report_thread_creation): New function.
10772 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
10773 synchronization logic, and __nptl_nthreads increment here, around
10774 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
10775 PD->parent_cancelhandling here, before create_thread. When
10776 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10777 __deallocate_stack, and ENOMEM translation here.
10779 2014-11-18 Joseph Myers <joseph@codesourcery.com>
10782 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10783 (mptwo): Rename to __mptwo.
10784 (__inv): Use __mptwo instead of mptwo.
10785 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10786 (mptwo): Rename to __mptwo.
10787 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10788 of mpone and __mptwo instead of mptwo.
10789 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10791 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10792 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10793 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10794 of mpone and __mptwo instead of mptwo.
10795 (__mpranred): Use __mpone instead of mpone.
10796 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10798 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10799 (test-xfail-ISO99/math.h/linknamespace): Likewise.
10800 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10801 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10802 (test-xfail-ISO11/math.h/linknamespace): Likewise.
10803 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10804 (test-xfail-XPG3/math.h/linknamespace): Likewise.
10805 (test-xfail-XPG4/math.h/linknamespace): Likewise.
10806 (test-xfail-POSIX/math.h/linknamespace): Likewise.
10807 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10808 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10809 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10810 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10811 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10812 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10813 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10814 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10815 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10816 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10818 2014-11-18 Tom de Vries <tom@codesoucery.com>
10820 * manual/signal.texi (Primitives Interrupted by Signals): In section,
10821 replace BSD Handler xref with BSD Signal Handling.
10823 2014-11-17 Richard Henderson <rth@redhat.com>
10825 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10826 (_FP_PACK_RAW_2): Remove.
10827 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10828 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10829 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10830 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10831 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10832 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10833 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10834 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10835 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10836 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10837 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10838 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10839 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10840 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10841 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10842 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10844 2014-11-14 Roland McGrath <roland@hack.frob.com>
10846 * signal/signal.h [__USE_MISC]
10847 (struct sigvec): Remove type.
10848 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10849 (sigvec): Remove declaration.
10850 * sysdeps/posix/sigvec.c: Moved ...
10851 * signal/sigvec.c: ... here, replacing old file.
10852 (struct sigvec): New type, copied from old signal.h definition.
10853 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10854 (__sigvec): Convert definition to prototype.
10855 (sigvec): Replace weak_alias with compat_symbol.
10856 * signal/Versions (libc: GLIBC_2.21): New version set.
10857 * include/signal.h: Remove __sigvec declaration.
10858 * sysdeps/unix/bsd/sigvec.c: Remove file.
10859 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10860 * manual/signal.texi (BSD Handler): Remove subsection.
10861 Move siginterrupt up to ...
10862 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
10863 (Blocking in BSD): Fold subsection into its parent.
10864 * NEWS: Mention sigvec removal.
10866 2014-11-14 Joseph Myers <joseph@codesourcery.com>
10868 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10869 (DLA_FMS): Make definition conditional only on [__FMA4__].
10870 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10873 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10874 Make definition conditional only on [PROF].
10875 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10877 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10878 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10880 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10882 * include/signal.h (__sigpause): Move declaration above call to
10884 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10886 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10887 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10889 2014-11-14 David S. Miller <davem@davemloft.net>
10891 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10892 Define before including <string/memcpy.c> and <string/mempcpy.c>.
10894 2014-11-14 Joseph Myers <joseph@codesourcery.com>
10896 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10897 * configure: Regenerated.
10898 * manual/install.texi (Tools for Compilation): Document a
10899 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10900 compiler verified to work.
10901 * INSTALL: Regenerated.
10903 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10904 redeclare with asm name.
10905 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10906 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10907 including <string.h>.
10908 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10909 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10910 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10911 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10912 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10913 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10914 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10916 2014-11-13 Joseph Myers <joseph@codesourcery.com>
10918 * stdlib/strtol.c (__strtol): Use prototype definition.
10921 * stdlib/strtol.c (SYM__): New macro.
10922 (SYM__1): Likewise.
10923 (__strtol): Likewise.
10924 (strtol): Rename to __strtol and define as weak alias of
10925 __strtol. Use libc_hidden_weak.
10927 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10929 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10930 Use numbered labels in inline assembly.
10932 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10934 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10935 Add setjmp LIBC_PROBE.
10936 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10938 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10939 Add longjmp, longjmp_target LIBC_PROBE.
10940 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10943 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10945 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10946 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10947 to get rid of unused variable warning.
10949 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10951 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10952 Check for unwind_backtrace == NULL only in SHARED case.
10953 (__backchain_backtrace): Compile only in SHARED case.
10954 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10956 (__backchain_backtrace): Declare as static.
10958 2014-11-12 Roland McGrath <roland@hack.frob.com>
10960 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10961 (__libc_multiple_threads_ptr): Variable moved ...
10962 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10964 2014-11-12 Joseph Myers <joseph@codesourcery.com>
10966 * conform/GlibcConform.pm: New file.
10967 * conform/conformtest.pl: Use GlibcConform module.
10968 * conform/linknamespace.pl: New file.
10969 * conform/list-header-symbols.pl: Likewise.
10970 * conform/Makefile (linknamespace-symlists-base): New variable.
10971 (linknamespace-symlists-tests): Likewise.
10972 (linknamespace-header-base): Likewise.
10973 (linknamespace-header-tests): Likewise.
10974 (tests-special): Add new tests.
10975 ($(linknamespace-symlists-tests)): New rule.
10976 (linknamespace-libs): New variable.
10977 ($(objpfx)symlist-stdlibs): New rule.
10978 ($(linknamespace-header-tests)): Likewise.
10979 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10980 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10981 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10982 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10983 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10984 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10985 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10986 (test-xfail-ISO/math.h/linknamespace): Likewise.
10987 (test-xfail-ISO/signal.h/linknamespace): Likewise.
10988 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10989 (test-xfail-ISO/time.h/linknamespace): Likewise.
10990 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10991 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10992 (test-xfail-ISO99/math.h/linknamespace): Likewise.
10993 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10994 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10995 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10996 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10997 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10998 (test-xfail-ISO11/math.h/linknamespace): Likewise.
10999 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11000 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11001 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11002 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11003 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11004 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11005 (test-xfail-XPG3/math.h/linknamespace): Likewise.
11006 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11007 (test-xfail-XPG3/search.h/linknamespace): Likewise.
11008 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11009 (test-xfail-XPG3/time.h/linknamespace): Likewise.
11010 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11011 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11012 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11013 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11014 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11015 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11016 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11017 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11018 (test-xfail-XPG4/math.h/linknamespace): Likewise.
11019 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11020 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11021 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11022 (test-xfail-XPG4/search.h/linknamespace): Likewise.
11023 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11024 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11025 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11026 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11027 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11028 (test-xfail-XPG4/time.h/linknamespace): Likewise.
11029 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11030 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11031 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11032 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11033 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11034 (test-xfail-POSIX/math.h/linknamespace): Likewise.
11035 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11036 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11037 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11038 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11039 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11040 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11041 (test-xfail-POSIX/time.h/linknamespace): Likewise.
11042 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11043 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11044 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11045 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11046 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11047 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11048 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11049 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11050 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11051 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11052 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11053 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11054 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11055 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11056 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11057 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11058 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11059 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11060 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11061 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11062 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11063 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11064 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11065 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11066 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11067 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11068 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11069 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11070 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11071 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11072 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11073 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11074 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11075 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11076 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11077 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11078 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11079 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11080 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11081 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11082 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11083 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11084 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11085 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11086 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11087 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11088 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11089 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11090 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11091 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11092 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11093 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11094 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11095 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11096 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11097 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11098 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11099 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11100 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11101 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11102 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11103 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11104 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11105 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11106 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11107 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11108 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11109 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11110 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11111 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11112 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11113 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11114 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11115 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11116 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11117 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11118 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11119 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11120 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11121 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11122 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11123 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11124 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11125 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11126 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11127 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11128 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11129 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11130 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11131 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11132 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11133 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11134 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11135 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11136 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11137 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11138 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11139 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11142 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11146 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11147 (memmem): Rename to __memmem and define as weak alias of
11148 __memmem. Use libc_hidden_weak.
11149 (__memmem): Use libc_hidden_def.
11150 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
11151 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11155 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11156 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
11157 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11158 and define as weak alias of __fgets_unlocked. Use
11160 (__fgets_unlocked): Use libc_hidden_def.
11161 * include/stdio.h (__fgets_unlocked): Declare. Use
11163 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11164 __fgets_unlocked instead of fgets_unlocked.
11165 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11166 (GET_NPROCS_CONF_PARSER): Likewise.
11167 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11168 (GET_NPROCS_CONF_PARSER): Likewise.
11171 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11172 weak alias of __wmemset. Use libc_hidden_weak.
11173 (__wmemset): Use libc_hidden_def.
11174 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
11175 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11179 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11180 with asm name __mempcpy.
11181 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11184 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11185 and define as weak alias of __rawmemchr.
11186 (__rawmemchr): Do not define as strong alias of rawmemchr.
11189 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11190 alias of __qsort_r.
11191 (qsort): Call __qsort_r instead of qsort_r.
11192 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11193 (__qsort_r): Declare. Call libc_hidden_proto.
11194 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11195 instead of qsort_r.
11196 * nscd/gai.c (__qsort_r): Define to qsort_r.
11197 * posix/tst-rfc3484.c (__qsort_r): Likewise.
11198 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11199 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11202 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11203 define as weak alias of __malloc_info.
11206 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11207 as weak alias of __rewinddir. Don't use libc_hidden_def.
11208 (__rewinddir): Use libc_hidden_def.
11209 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11210 as weak alias of __rewinddir. Don't use libc_hidden_def.
11211 (__rewinddir): Use libc_hidden_def.
11212 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11213 weak alias of __rewinddir. Don't use libc_hidden_def.
11214 (__rewinddir): Use libc_hidden_def.
11215 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11216 (__rewinddir): Use libc_hidden_proto.
11217 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11219 (__getcwd): Use __rewinddir instead of rewinddir.
11222 * libio/fileno.c (fileno): Rename to __fileno and define as weak
11223 alias of __fileno. Use libc_hidden_weak.
11224 (__fileno): Use libc_hidden_def.
11225 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11226 * libio/ftello.c (ftello): Rename to __ftello and define as weak
11228 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11230 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11231 (__fread_unlocked): Define as strong alias of _IO_fread. Use
11233 (fread_unlocked): Don't use libc_hidden_ver.
11234 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11235 and define as weak alias of __fread_unlocked. Don't use
11237 (__fread_unlocked): Use libc_hidden_def.
11238 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
11239 (ftello): Don't use libc_hidden_proto.
11240 (__ftello): Declare. Use libc_hidden_proto.
11241 (fread_unlocked): Don't use libc_hidden_proto.
11242 (__fread_unlocked): Declare. Use libc_hidden_proto.
11243 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11244 and __ftello instead of fileno, fread_unlocked and ftello.
11246 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11248 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11250 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11252 (_dl_start_user): Likewise.
11253 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11255 2014-11-12 Carlos O'Donell <carlos@redhat.com>
11256 Siddhesh Poyarekar <siddhesh@redhat.com>
11258 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11259 Move argv and envp down instead of moving argc up.
11260 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11262 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
11265 * test-skeleton.c (main): Return successful if one of
11266 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11267 * string/tst-strcoll-overflow.c: Define expected status.
11269 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
11272 * locale/iso-639.def: Define Bhili and Tulu language codes.
11274 2014-11-11 Alan Hayward <alan.hayward@arm.com>
11276 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11278 2014-11-10 Renlin Li <Renlin.Li@arm.com>
11281 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11283 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
11285 * configure.ac: Updated check of minimal required version to
11287 * manual/install.texi (Tools for Compilation): Updated version
11289 * configure: Regenerated.
11290 * INSTALL: Likewise.
11292 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
11294 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11297 2014-11-07 Joseph Myers <joseph@codesourcery.com>
11299 * include/sys/wait.h (__libc_waitpid): Remove declaration.
11300 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11301 (__waitpid): Don't define as alias. Use libc_hidden_def not
11303 (waitpid): Define as alias of __waitpid.
11304 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11306 (__waitpid): Don't define as alias. Use libc_hidden_def not
11308 (waitpid): Define as alias of __waitpid.
11309 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11310 __libc_waitpid alias.
11311 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11312 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11314 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11315 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11316 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11318 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11320 (__waitpid): Don't define as alias. Use libc_hidden_def not
11322 (waitpid): Define as alias of __waitpid.
11324 2014-11-06 Carlos O'Donell <carlos@redhat.com>
11326 * manual/llio.texi: Add comment that write safety has been
11329 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11330 (localplt-build-dso): Add elf/ld.so.
11331 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11332 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11333 and free for ld.so.
11334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
11335 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
11336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
11338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11340 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11341 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11342 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11343 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11344 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11345 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11346 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11347 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11348 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11349 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11350 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11352 2014-11-05 Joseph Myers <joseph@codesourcery.com>
11355 * include/libc-symbols.h (INTUSE): Remove macro.
11356 (INTDEF): Likewise.
11357 (INTVARDEF): Likewise.
11358 (_INTVARDEF): Likewise.
11359 (INTDEF2): Likewise.
11360 (INTVARDEF2): Likewise.
11361 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11362 rtld_hidden_def instead of INTVARDEF.
11363 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11364 (_dl_starting_up_internal): Remove declaration.
11365 (_dl_starting_up): Use rtld_hidden_proto.
11366 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11368 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11369 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11371 * elf/dl-writev.h (_dl_writev): Likewise.
11372 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11373 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11374 _dl_starting_up_internal.
11376 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11378 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11381 2014-11-05 Will Newton <will.newton@linaro.org>
11383 * benchtests/Makefile: (bench-malloc): Add malloc thread
11384 scalability benchmark.
11385 * benchtests/bench-malloc-threads.c: New file.
11387 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
11389 * sysdeps/aarch64/strchrnul.S: New file.
11391 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11393 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
11395 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11397 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11399 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11401 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11403 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11406 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
11408 * catgets/test-gencat.c: Use test-skeleton.c.
11409 * catgets/tst-catgets.c: Likewise.
11410 * csu/tst-empty.c: Likewise.
11411 * elf/tst-audit2.c: Likewise.
11412 * elf/tst-global1.c: Likewise.
11413 * elf/tst-pathopt.c: Likewise.
11414 * elf/tst-piemod1.c: Likewise.
11415 * elf/tst-tls10.c: Likewise.
11416 * elf/tst-tls11.c: Likewise.
11417 * elf/tst-tls12.c: Likewise.
11418 * gnulib/tst-gcc.c: Likewise.
11419 * iconvdata/tst-e2big.c: Likewise.
11420 * iconvdata/tst-loading.c: Likewise.
11421 * iconv/tst-iconv1.c: Likewise.
11422 * iconv/tst-iconv2.c: Likewise.
11423 * inet/test-inet6_opt.c: Likewise.
11424 * inet/tst-gethnm.c: Likewise.
11425 * inet/tst-network.c: Likewise.
11426 * inet/tst-ntoa.c: Likewise.
11427 * intl/tst-codeset.c: Likewise.
11428 * intl/tst-gettext2.c: Likewise.
11429 * intl/tst-gettext3.c: Likewise.
11430 * intl/tst-ngettext.c: Likewise.
11431 * intl/tst-translit.c: Likewise.
11432 * io/test-stat.c: Likewise.
11433 * libio/test-fmemopen.c: Likewise.
11434 * libio/tst-freopen.c: Likewise.
11435 * libio/tst-sscanf.c: Likewise.
11436 * libio/tst-ungetwc1.c: Likewise.
11437 * libio/tst-ungetwc2.c: Likewise.
11438 * libio/tst-widetext.c: Likewise.
11439 * localedata/tst-ctype.c: Likewise.
11440 * localedata/tst-digits.c: Likewise.
11441 * localedata/tst-leaks.c: Likewise.
11442 * localedata/tst-mbswcs1.c: Likewise.
11443 * localedata/tst-mbswcs2.c: Likewise.
11444 * localedata/tst-mbswcs3.c: Likewise.
11445 * localedata/tst-mbswcs4.c: Likewise.
11446 * localedata/tst-mbswcs5.c: Likewise.
11447 * localedata/tst-setlocale.c: Likewise.
11448 * localedata/tst-trans.c: Likewise.
11449 * localedata/tst-wctype.c: Likewise.
11450 * localedata/tst-xlocale1.c: Likewise.
11451 * login/tst-grantpt.c: Likewise.
11452 * malloc/tst-calloc.c: Likewise.
11453 * malloc/tst-malloc.c: Likewise.
11454 * malloc/tst-mallocstate.c: Likewise.
11455 * malloc/tst-mcheck.c: Likewise.
11456 * malloc/tst-mtrace.c: Likewise.
11457 * malloc/tst-obstack.c: Likewise.
11458 * math/atest-exp2.c: Likewise.
11459 * math/atest-exp.c: Likewise.
11460 * math/atest-sincos.c: Likewise.
11461 * math/test-matherr.c: Likewise.
11462 * math/test-misc.c: Likewise.
11463 * math/test-powl.c: Likewise.
11464 * math/tst-definitions.c: Likewise.
11465 * misc/tst-dirname.c: Likewise.
11466 * misc/tst-efgcvt.c: Likewise.
11467 * misc/tst-fdset.c: Likewise.
11468 * misc/tst-hsearch.c: Likewise.
11469 * misc/tst-mntent2.c: Likewise.
11470 * nptl/tst-sem7.c: Likewise.
11471 * nptl/tst-sem8.c: Likewise.
11472 * nptl/tst-sem9.c: Likewise.
11473 * nss/test-netdb.c: Likewise.
11474 * posix/tst-fnmatch.c: Likewise.
11475 * posix/tst-getlogin.c: Likewise.
11476 * posix/tst-gnuglob.c: Likewise.
11477 * posix/tst-mmap.c: Likewise.
11478 * pwd/tst-getpw.c: Likewise.
11479 * resolv/tst-inet_ntop.c: Likewise.
11480 * rt/tst-timer.c: Likewise.
11481 * stdio-common/test-fseek.c: Likewise.
11482 * stdio-common/test-popen.c: Likewise.
11483 * stdio-common/test-vfprintf.c: Likewise.
11484 * stdio-common/tst-cookie.c: Likewise.
11485 * stdio-common/tst-fileno.c: Likewise.
11486 * stdio-common/tst-gets.c: Likewise.
11487 * stdio-common/tst-obprintf.c: Likewise.
11488 * stdio-common/tst-perror.c: Likewise.
11489 * stdio-common/tst-sprintf2.c: Likewise.
11490 * stdio-common/tst-sprintf3.c: Likewise.
11491 * stdio-common/tst-sprintf.c: Likewise.
11492 * stdio-common/tst-swprintf.c: Likewise.
11493 * stdio-common/tst-tmpnam.c: Likewise.
11494 * stdio-common/tst-unbputc.c: Likewise.
11495 * stdio-common/tst-wc-printf.c: Likewise.
11496 * stdlib/tst-environ.c: Likewise.
11497 * stdlib/tst-fmtmsg.c: Likewise.
11498 * stdlib/tst-limits.c: Likewise.
11499 * stdlib/tst-rand48-2.c: Likewise.
11500 * stdlib/tst-rand48.c: Likewise.
11501 * stdlib/tst-random2.c: Likewise.
11502 * stdlib/tst-random.c: Likewise.
11503 * stdlib/tst-strtol.c: Likewise.
11504 * stdlib/tst-strtoll.c: Likewise.
11505 * stdlib/tst-tls-atexit.c: Likewise.
11506 * stdlib/tst-xpg-basename.c: Likewise.
11507 * string/test-ffs.c: Likewise.
11508 * string/tst-bswap.c: Likewise.
11509 * string/tst-inlcall.c: Likewise.
11510 * string/tst-strtok.c: Likewise.
11511 * string/tst-strxfrm.c: Likewise.
11512 * sysdeps/x86_64/tst-audit10.c: Likewise.
11513 * sysdeps/x86_64/tst-audit3.c: Likewise.
11514 * sysdeps/x86_64/tst-audit4.c: Likewise.
11515 * sysdeps/x86_64/tst-audit5.c: Likewise.
11516 * time/tst-ftime_l.c: Likewise.
11517 * time/tst-getdate.c: Likewise.
11518 * time/tst-mktime3.c: Likewise.
11519 * time/tst-mktime.c: Likewise.
11520 * time/tst-posixtz.c: Likewise.
11521 * time/tst-strptime2.c: Likewise.
11522 * time/tst-strptime3.c: Likewise.
11523 * wcsmbs/tst-btowc.c: Likewise.
11524 * wcsmbs/tst-mbrtowc.c: Likewise.
11525 * wcsmbs/tst-mbsrtowcs.c: Likewise.
11526 * wcsmbs/tst-wchar-h.c: Likewise.
11527 * wcsmbs/tst-wcpncpy.c: Likewise.
11528 * wcsmbs/tst-wcrtomb.c: Likewise.
11529 * wcsmbs/tst-wcsnlen.c: Likewise.
11530 * wcsmbs/tst-wcstof.c: Likewise.
11532 2014-11-04 Joseph Myers <joseph@codesourcery.com>
11535 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11537 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11539 (_dl_mcount): Use rtld_hidden_proto.
11540 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11542 * elf/rtld.c (_rtld_global_ro): Likewise.
11545 * elf/dl-init.c (_dl_init): Don't use INTDEF.
11546 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11547 of _dl_init_internal.
11548 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11549 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11550 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11551 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11552 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11553 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11554 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11555 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11556 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11557 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11558 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11559 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11560 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11561 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11562 * sysdeps/tile/dl-start.S (_start): Likewise.
11563 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11564 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11567 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11568 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11569 (rtld_progname): Make macro definition unconditional.
11570 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11572 (dlmopen_doit): Do not use INTUSE with _dl_argv.
11573 (dl_main): Likewise.
11574 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11575 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11576 instead of _dl_argv_internal.
11577 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11578 __GI__dl_argv instead of INTUSE(_dl_argv).
11579 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11580 __GI__dl_argv instead of _dl_argv_internal.
11582 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11583 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11585 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11586 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11588 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11589 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11591 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11592 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11594 2014-11-04 Andreas Schwab <schwab@suse.de>
11596 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11598 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11600 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11601 mtvsrd instruction in binary form.
11603 2014-11-03 Andreas Schwab <schwab@suse.de>
11606 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11607 for less than MB_LEN_MAX use a local buffer of that size.
11608 * libio/tst-fputws.c: New file.
11609 * libio/Makefile (tests): Add tst-fputws.
11611 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
11613 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11614 the size of the fpu_fr.fpu_dregs[] array.
11616 2014-11-01 Joseph Myers <joseph@codesourcery.com>
11618 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11619 (__nanosleep): Do not define as alias.
11620 (nanosleep): Define as alias of __nanosleep.
11621 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11622 __libc_nanosleep name.
11624 2014-10-31 Joseph Myers <joseph@codesourcery.com>
11626 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11627 install.texi in comment.
11629 2014-10-31 Torvald Riegel <triegel@redhat.com>
11631 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11632 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11633 ... add here and use lwsync or sync ...
11634 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11635 ... and add here using lwsync.
11637 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
11639 * elf/dl-machine-reject-phdr.h: New file.
11640 * elf/dl-load.c: #include that.
11641 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11642 if that returned true.
11644 2014-10-31 Roland McGrath <roland@hack.frob.com>
11647 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11648 gen-as-const-headers chunk. Add a big scare comment after the last
11649 safe place to touch before-compile.
11651 2014-10-31 Joseph Myers <joseph@codesourcery.com>
11653 * manual/install.texi (Tools for Compilation): Update autoconf
11654 version requirements.
11655 * INSTALL: Regenerated.
11657 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11658 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11659 (__libc_pselect): Likewise.
11662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11667 2014-10-31 Torvald Riegel <triegel@redhat.com>
11669 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11670 correct barrier instruction.
11671 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11673 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11676 2014-10-30 Roland McGrath <roland@hack.frob.com>
11678 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11679 after defining inlines. Instead, just use parens to defeat macro
11680 expansion of __isctype in its declaration.
11682 2014-10-30 Joseph Myers <joseph@codesourcery.com>
11684 * include/sys/uio.h (__libc_readv): Remove declaration.
11685 (__libc_writev): Likewise.
11686 * misc/readv.c (__libc_readv): Rename to __readv.
11687 (__readv): Do not define as alias.
11688 (readv): Define as alias of __readv.
11689 * misc/writev.c (__libc_writev): Rename to __writev.
11690 (__writev): Do not define as alias.
11691 (writev): Define as alias of __writev.
11692 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11693 (__readv): Do not define as alias.
11694 (readv): Define unconditionally as alias of __readv.
11695 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11696 (__writev): Do not define as alias.
11697 (writev): Define unconditionally as alias of __writev.
11698 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11700 (writev): Do not define __libc_writev name.
11702 2014-10-30 Roland McGrath <roland@hack.frob.com>
11704 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11705 (convert_charseq): New function, broken out of ...
11706 (use_from_charmap): ... here. Call it.
11707 (use_to_charmap): Use convert_charseq and free instead of duplicating
11708 its code with a variable-length stack struct.
11710 2014-10-30 Joseph Myers <joseph@codesourcery.com>
11712 * include/fcntl.h (__libc_creat): Remove declaration.
11713 * io/creat.c (__libc_creat): Rename to creat.
11714 (creat): Do not define as alias.
11715 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11716 of creat instead of __libc_creat.
11717 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11719 (creat): Do not define as alias.
11720 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11722 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11724 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11727 2014-10-29 Carlos O'Donell <carlos@redhat.com>
11729 * manual/llio.texi: Add comments discussing why write() may be
11730 considered MT-unsafe on Linux.
11732 2014-10-28 Carlos O'Donell <carlos@redhat.com>
11734 * dl-load.c (local_strdup): Remove.
11735 (expand_dynamic_string_token): Use __strdup.
11736 (decompose_rpath): Likewise.
11737 (_dl_map_object): Likewise.
11739 2014-10-28 Joseph Myers <joseph@codesourcery.com>
11742 * sysdeps/generic/unwind-dw2-fde.c
11743 (__register_frame_info_bases_internal): Do not declare.
11744 (__register_frame_info_table_bases_internal): Likewise.
11745 (__deregister_frame_info_bases_internal): Likewise.
11746 (__register_frame_info_bases): Declare and use hidden_proto before
11747 definition. Use hidden_def instead of INTDEF.
11748 (__register_frame_info_table_bases): Likewise.
11749 (__deregister_frame_info_bases): Likewise.
11750 (__register_frame_info): Do not use INTUSE.
11751 (__register_frame): Likewise.
11752 (__register_frame_info_table): Likewise.
11753 (__register_frame_table): Likewise.
11754 (__deregister_frame_info): Likewise.
11755 (__deregister_frame): Likewise.
11757 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
11759 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11760 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11762 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11764 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11767 2014-10-27 Joseph Myers <joseph@codesourcery.com>
11770 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11771 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11772 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11773 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11774 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11775 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11776 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11777 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11778 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11779 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11780 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11781 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11782 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11784 (setfsuid): Likewise.
11785 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11786 (setfsuid): Likewise.
11787 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11788 (setfsuid): Likewise.
11789 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11791 (setfsuid): Likewise.
11792 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11793 (setfsuid): Likewise.
11794 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11796 (setfsuid): Likewise.
11798 2014-10-27 Andreas Schwab <schwab@suse.de>
11801 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11802 check for Slow_SSE4_2 feature bit.
11803 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11804 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11805 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11806 Likewise. Fix check for Fast_Unaligned_Load feature bit.
11808 2014-10-24 Roland McGrath <roland@hack.frob.com>
11810 * configure.ac: Validate compiler version with a empirical test of
11811 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11813 * configure: Regenerated.
11815 * inet/htons.c (htons): Prototypify.
11816 * inet/htonl.c (htonl): Likewise.
11818 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11820 * string/strncat.c (strncat): Improve performance by using strlen.
11822 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11824 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11826 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11828 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11829 Call libc_fetestexcept_aarch64.
11831 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11833 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11834 Call libc_feholdexcept_aarch64.
11836 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11838 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11839 Call get_rounding_mode.
11841 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11843 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11846 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11848 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11851 2014-10-24 Joseph Myers <joseph@codesourcery.com>
11854 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11855 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11856 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11857 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11858 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11859 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11860 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11861 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11862 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11863 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11864 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11865 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11866 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11867 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11868 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11869 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11870 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11871 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11872 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11873 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11874 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11875 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11876 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11877 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11878 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11879 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11880 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11881 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11882 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11883 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11884 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11885 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11886 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11887 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11888 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11889 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11890 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11891 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11892 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11893 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11894 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11896 (geteuid): Likewise.
11897 (getgid): Likewise.
11898 (getuid): Likewise.
11899 (getresgid): Likewise.
11900 (getresuid): Likewise.
11901 (getgroups): Likewise.
11902 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11903 (geteuid): Likewise.
11904 (getgid): Likewise.
11905 (getuid): Likewise.
11906 (getresgid): Likewise.
11907 (getresuid): Likewise.
11908 (getgroups): Likewise.
11909 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11910 (geteuid): Likewise.
11911 (getgid): Likewise.
11912 (getuid): Likewise.
11913 (getresgid): Likewise.
11914 (getresuid): Likewise.
11915 (getgroups): Likewise.
11916 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11918 (geteuid): Likewise.
11919 (getgid): Likewise.
11920 (getuid): Likewise.
11921 (getresgid): Likewise.
11922 (getresuid): Likewise.
11923 (getgroups): Likewise.
11924 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11925 (geteuid): Likewise.
11926 (getgid): Likewise.
11927 (getuid): Likewise.
11928 (getresgid): Likewise.
11929 (getresuid): Likewise.
11930 (getgroups): Likewise.
11931 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11933 (geteuid): Likewise.
11934 (getgid): Likewise.
11935 (getuid): Likewise.
11936 (getgroups): Likewise.
11939 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11940 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11941 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11942 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11943 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11944 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11945 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11946 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11947 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11948 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11949 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11950 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11951 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11953 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11954 (lchown): Likewise.
11955 (fchown): Likewise.
11956 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11958 (lchown): Likewise.
11959 (fchown): Likewise.
11960 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11961 (lchown): Likewise.
11962 (fchown): Likewise.
11963 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11965 (lchown): Likewise.
11966 (fchown): Likewise.
11968 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11970 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11973 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11975 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11978 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11980 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11981 Remove unused include.
11983 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11985 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11986 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11987 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11988 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11990 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
11991 Helge Deller <deller@gmx.de>
11994 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11995 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11996 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11998 2014-10-23 Joseph Myers <joseph@codesourcery.com>
12001 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12002 Remove macro definition.
12003 (__ashrdi3_v_glibc20): Likewise.
12004 (__lshrdi3_v_glibc20): Likewise.
12005 (__cmpdi2_v_glibc20): Likewise.
12006 (__ucmpdi2_v_glibc20): Likewise.
12007 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12008 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12009 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12010 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12011 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12012 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12014 2014-10-22 Roland McGrath <roland@hack.frob.com>
12016 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12017 old GNU extension [0] syntax.
12018 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12019 alloca rather than an array member with variable length.
12020 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12021 * nscd/nscd.c (invalidate_db): New function, broken out of ...
12022 (parse_opt): ... here. Likewise use alloca there.
12023 Validate the -i argument before checking for rootness.
12024 (send_shutdown): New function, broken out of ...
12025 (parse_opt): ... here.
12027 2014-10-22 Roland McGrath <roland@hack.frob.com>
12029 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12030 macro to get at the _rt_local_ro field.
12031 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12032 ([PIC] case) or _dl_hwcap ([!PIC] case).
12033 * sysdeps/arm/setjmp.S: Likewise.
12035 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12036 * sysdeps/arm/configure.ac: New check to define it.
12037 * sysdeps/arm/configure: Regenerated.
12038 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12039 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12040 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12041 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12042 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12043 Use move/movt pair instead of a load.
12044 (LDST_GLOBAL): Macro removed.
12045 (LDR_GLOBAL): New macro replaces it.
12046 (LDR_HIDDEN): New macro.
12047 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12048 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12050 * setjmp/tst-setjmp-static.c: New file.
12051 * setjmp/Makefile (tests): Add it.
12052 (tests-static): New variable.
12054 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
12057 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12059 2014-10-21 Joseph Myers <joseph@codesourcery.com>
12062 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12064 2014-10-21 Roland McGrath <roland@hack.frob.com>
12066 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12068 2014-10-20 Roland McGrath <roland@hack.frob.com>
12070 * io/fts.c (dirent_not_directory): New function.
12071 (fts_build): Call it.
12073 2014-10-20 Roland McGrath <roland@hack.frob.com>
12075 * nptl/version.c (__nptl_main): Use normal __write rather than
12077 (banner): Update copyright years.
12079 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12081 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12082 * nptl/pthread_cond_timedwait.c: Likewise.
12083 * nptl/pthread_mutex_timedlock.c: Likewise.
12084 * nptl/sem_timedwait.c: Likewise.
12086 * sysdeps/nptl/bits/libc-lock.h
12087 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12088 (__libc_lock_init_recursive): Return void, not 0.
12089 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12090 (__libc_rwlock_init): Likewise.
12091 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12093 2014-10-20 Torvald Riegel <triegel@redhat.com>
12096 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12097 (__pthread_once_slow): ... here.
12098 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12099 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12101 2014-10-20 Torvald Riegel <triegel@redhat.com>
12104 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12105 __PTHREAD_ONCE_FORK_GEN_INCR): New.
12106 * sysdeps/nptl/fork.c (__libc_fork): Use them.
12107 * nptl/pthread_once.c (__pthread_once): Likewise.
12110 2014-10-20 Joseph Myers <joseph@codesourcery.com>
12113 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12115 (writev): Use __libc_writev as strong name.
12116 * sysdeps/unix/sysv/linux/readv.c: Remove file.
12117 * sysdeps/unix/sysv/linux/writev.c: Likewise.
12119 2014-10-17 Roland McGrath <roland@hack.frob.com>
12121 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12123 * sysdeps/i386/nptl/tls.h
12124 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12125 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12127 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12128 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12129 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12130 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12131 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12132 Call CHECK_THREAD_SYSINFO instead of doing an assert.
12134 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12135 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12137 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12139 (__pthread_mutex_init): ... here. Call it.
12140 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12141 Conditionalize PI cases on [__NR_futex].
12142 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12143 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12144 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12146 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12147 conditional on [SIGSETXID].
12148 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12149 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12150 is defined. Likewise for SIGSETXID.
12151 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12152 Conditionalize definitions on [SIGSETXID].
12153 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12154 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12155 unblocking on [SIGCANCEL].
12157 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12158 [__NR_set_robust_list].
12160 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12162 * string/strcoll_l.c (get_next_seq): Fix up formatting.
12163 (do_compare): Likewise.
12165 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
12168 * string/strcoll_l.c: Don't include stdio.h.
12169 (coll_seq): Remove members idxarr and rulearr.
12170 (get_next_seq_cached): Remove function.
12171 (get_next_seq): Likewise.
12172 (get_next_seq_nocache): Rename to get_next_seq.
12173 (do_compare): Remove function.
12174 (do_compare_nocache): Rename to do_compare.
12175 (STRCOLL): Remove weight and rules cache.
12177 2014-10-16 Roland McGrath <roland@hack.frob.com>
12179 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12180 * sysdeps/arm/sfp-machine.h: ... to here.
12181 * sysdeps/arm/Implies: Remove arm/soft-fp.
12183 2014-10-14 Joseph Myers <joseph@codesourcery.com>
12185 * conform/data/sys/utsname.h-data (*_t): Allow.
12186 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12187 [POSIX] (WEXITED): Do not expect constant.
12188 [POSIX] (WSTOPPED): Likewise.
12189 [POSIX] (WNOHANG): Likewise.
12190 [POSIX] (WNOWAIT): Likewise.
12191 [POSIX] (siginfo_t): Do not expect type or elements.
12192 [POSIX] (pid_t): Do not expect type.
12193 [POSIX] (signal.h): Do not allow header.
12194 [POSIX] (sys/resource.h): Likewise.
12195 [POSIX] (si_*): Do not allow pattern.
12196 [POSIX] (W*): Likewise.
12197 [POSIX] (P_*): Likewise.
12198 [POSIX] (BUS_*): Likewise.
12199 [POSIX] (CLD_*): Likewise.
12200 [POSIX] (FPE_*): Likewise.
12201 [POSIX] (ILL_*): Likewise.
12202 [POSIX] (POLL_*): Likewise.
12203 [POSIX] (SEGV_*): Likewise.
12204 [POSIX] (SI_*): Likewise.
12205 [POSIX] (TRAP_*): Likewise.
12206 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12209 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
12212 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12213 infinite loop when __recvmsg returns 0.
12215 2014-10-10 Joseph Myers <joseph@codesourcery.com>
12217 * CANCEL-FCT-WAIVE: Remove file.
12218 * CANCEL-FILE-WAIVE: Likewise.
12221 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12222 instead of INTVARDEF.
12223 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12224 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12225 rtld_hidden_data_def instead of INTVARDEF.
12226 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12227 * elf/dl-deps.c (expand_dst): Likewise.
12228 * elf/dl-load.c (_dl_dst_count): Likewise.
12229 (_dl_dst_substitute): Likewise.
12230 (decompose_rpath): Likewise.
12231 (_dl_init_paths): Likewise.
12232 (open_path): Likewise.
12233 (_dl_map_object): Likewise.
12234 * elf/rtld.c (dl_main): Likewise.
12235 (process_dl_audit): Likewise.
12236 (process_envvars): Likewise.
12237 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12238 Remove declaration.
12239 (__libc_enable_secure): Use rtld_hidden_proto.
12241 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12244 (add_path): New function broken out of _dl_rtld_di_serinfo.
12245 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
12247 2014-10-09 Joseph Myers <joseph@codesourcery.com>
12249 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12250 parentheses around macro arguments.
12251 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12252 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12253 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12254 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12255 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12256 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12257 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12258 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12259 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12260 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12261 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12262 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12263 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12264 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12265 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12266 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12267 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12268 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12269 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12270 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12271 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12272 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12273 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12274 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12275 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12276 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12277 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12278 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12279 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12280 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12281 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12282 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12283 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12284 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12285 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12286 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12288 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12289 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12290 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12291 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12292 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12293 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12294 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12295 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12296 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12297 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12298 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12299 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12300 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12301 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12302 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12303 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12304 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12305 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12306 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12307 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12308 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12309 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12310 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12311 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12312 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12313 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12314 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12315 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12316 (_FP_FRAC_SRS_1): Likewise.
12317 (_FP_FRAC_CLZ_1): Likewise.
12318 (_FP_MUL_MEAT_1_imm): Likewise.
12319 (_FP_MUL_MEAT_1_wide): Likewise.
12320 (_FP_MUL_MEAT_1_hard): Likewise.
12321 (_FP_SQRT_MEAT_1): Likewise.
12322 (_FP_FRAC_ASSEMBLE_1): Likewise.
12323 (_FP_FRAC_DISASSEMBLE_1): Likewise.
12324 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12325 (__FP_CLZ_2): Likewise.
12326 (_FP_MUL_MEAT_2_wide): Likewise.
12327 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12328 (_FP_MUL_MEAT_2_gmp): Likewise.
12329 (_FP_MUL_MEAT_2_120_240_double): Likewise.
12330 (_FP_SQRT_MEAT_2): Likewise.
12331 (_FP_FRAC_ASSEMBLE_2): Likewise.
12332 (_FP_FRAC_DISASSEMBLE_2): Likewise.
12333 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12334 (_FP_FRAC_CLZ_4): Likewise.
12335 (_FP_MUL_MEAT_4_wide): Likewise.
12336 (_FP_MUL_MEAT_4_gmp): Likewise.
12337 (_FP_SQRT_MEAT_4): Likewise.
12338 (_FP_FRAC_ASSEMBLE_4): Likewise.
12339 (_FP_FRAC_DISASSEMBLE_4): Likewise.
12340 * soft-fp/op-common.h (_FP_CMP): Likewise.
12341 (_FP_CMP_EQ): Likewise.
12342 (_FP_CMP_UNORD): Likewise.
12343 (_FP_TO_INT): Likewise.
12344 (_FP_FROM_INT): Likewise.
12345 [!__FP_CLZ] (__FP_CLZ): Likewise.
12346 (_FP_DIV_HELP_imm): Likewise.
12347 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12349 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12350 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12351 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12352 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12353 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12354 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12355 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12356 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12357 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12358 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12359 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12360 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12361 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12362 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12363 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12364 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12365 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12366 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12367 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12368 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12369 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12370 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12371 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12372 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12373 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12374 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12375 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12376 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12377 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
12378 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
12379 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
12380 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
12381 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
12382 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
12383 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
12384 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
12385 (FP_UNPACK_RAW_SP): Likewise.
12386 (FP_PACK_RAW_S): Likewise.
12387 (FP_PACK_RAW_SP): Likewise.
12388 (FP_UNPACK_S): Likewise.
12389 (FP_UNPACK_SP): Likewise.
12390 (FP_UNPACK_SEMIRAW_S): Likewise.
12391 (FP_UNPACK_SEMIRAW_SP): Likewise.
12392 (FP_PACK_S): Likewise.
12393 (FP_PACK_SP): Likewise.
12394 (FP_PACK_SEMIRAW_S): Likewise.
12395 (FP_PACK_SEMIRAW_SP): Likewise.
12396 (_FP_SQRT_MEAT_S): Likewise.
12397 (FP_CMP_S): Likewise.
12398 (FP_CMP_EQ_S): Likewise.
12399 (FP_CMP_UNORD_S): Likewise.
12400 (FP_TO_INT_S): Likewise.
12401 (FP_FROM_INT_S): Likewise.
12403 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
12405 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
12406 (FP_EX_INVALID_IMZ): Likewise.
12407 (FP_EX_INVALID_IMZ_FMA): Likewise.
12408 (FP_EX_INVALID_ISI): Likewise.
12409 (FP_EX_INVALID_ZDZ): Likewise.
12410 (FP_EX_INVALID_IDI): Likewise.
12411 (FP_EX_INVALID_SQRT): Likewise.
12412 (FP_EX_INVALID_CVI): Likewise.
12413 (FP_EX_INVALID_VC): Likewise.
12414 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
12415 "invalid" exceptions.
12416 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
12417 (_FP_ADD_INTERNAL): Likewise.
12418 (_FP_MUL): Likewise.
12419 (_FP_FMA): Likewise.
12420 (_FP_DIV): Likewise.
12421 (_FP_CMP_CHECK_NAN): Likewise.
12422 (_FP_SQRT): Likewise.
12423 (_FP_TO_INT): Likewise.
12424 (FP_EXTEND): Likewise.
12426 2014-10-09 Allan McRae <allan@archlinux.org>
12428 * po/fr.po: Update French translation from translation project.
12430 2014-10-09 Joseph Myers <joseph@codesourcery.com>
12433 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
12435 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
12436 (__cxa_atexit): Use libc_hidden_proto.
12437 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
12440 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12442 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
12443 [!_ISOMAC] (__iswspace_l_internal): Likewise.
12444 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12445 [!_ISOMAC] (__iswctype_internal): Likewise.
12446 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12447 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12449 (fcntl): Remove __fcntl_internal alias.
12450 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12451 __connect_internal alias.
12452 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12455 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12456 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12458 (_FP_CHECK_FLUSH_ZERO): New macro.
12459 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12460 (_FP_CMP): Likewise.
12461 (_FP_CMP_EQ): Likewise.
12462 (_FP_TO_INT): Do not set inexact for subnormal arguments if
12464 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12465 (FP_TRUNC): Likewise.
12467 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12468 treated as invalid conversion, not as normal exponent.
12470 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12471 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
12472 (_FP_CMP_EQ): Likewise.
12473 (_FP_CMP_UNORD): Likewise.
12474 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12475 (FP_CMP_EQ_D): Likewise.
12476 (FP_CMP_UNORD_D): Likewise.
12477 * soft-fp/extended.h (FP_CMP_E): Likewise.
12478 (FP_CMP_EQ_E): Likewise.
12479 (FP_CMP_UNORD_E): Likewise.
12480 * soft-fp/quad.h (FP_CMP_Q): Likewise.
12481 (FP_CMP_EQ_Q): Likewise.
12482 (FP_CMP_UNORD_Q): Likewise.
12483 * soft-fp/single.h (FP_CMP_S): Likewise.
12484 (FP_CMP_EQ_S): Likewise.
12485 (FP_CMP_UNORD_S): Likewise.
12486 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12487 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12488 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12489 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12490 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12491 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12492 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12493 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12494 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12495 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12496 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12497 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12498 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12500 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12502 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12503 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12505 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12507 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12508 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12509 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12510 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12512 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12514 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12515 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12517 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12519 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12520 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12521 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12522 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12525 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12526 a subnormal result, set the underflow exception if trapping on
12527 underflow is enabled.
12528 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12529 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12530 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12532 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12533 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12534 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12535 * soft-fp/extendxftf2.c (__extendxftf2): Use
12536 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12538 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12539 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12540 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12541 FP_HANDLE_EXCEPTIONS.
12542 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12543 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12544 FP_HANDLE_EXCEPTIONS.
12545 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12546 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12547 FP_HANDLE_EXCEPTIONS.
12548 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12549 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12550 FP_HANDLE_EXCEPTIONS.
12552 2014-10-08 Joseph Myers <joseph@codesourcery.com>
12555 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12556 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12558 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12559 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12561 (__adjtimex): Define using libc_hidden_ver.
12562 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12563 Remove declaration.
12564 (ntp_gettime): Call __adjtimex directly.
12565 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12566 Remove declaration.
12567 (ntp_gettimex): Call __adjtimex directly.
12568 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12569 __adjtimex_internal alias.
12571 2014-10-08 Roland McGrath <roland@hack.frob.com>
12574 * nscd/nscd.c (more_help): Rewrite list of tables collection
12575 using xstrdup and asprintf.
12577 * nscd/nscd_conf.c: Remove local xstrdup declaration.
12579 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12580 Roland McGrath <roland@hack.frob.com>
12582 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12583 (do_lookup_unique): ... local function 'enter' here; update callers.
12585 2014-10-06 Joseph Myers <joseph@codesourcery.com>
12587 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12588 compat_symbol calls on [SHARED].
12589 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12590 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12592 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12593 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12594 (oldsetrlimit): Remove.
12595 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12597 (lchown): New syscall entry.
12598 (oldsetrlimit): Remove.
12599 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12600 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12601 (oldsetrlimit): Remove.
12602 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12605 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12606 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12607 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12608 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12609 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12610 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12611 (fchown): Likewise.
12612 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12613 (fchown): Likewise.
12614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12617 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12619 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12620 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12621 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12622 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12623 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12625 (__old_sem_post): Likewise.
12627 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
12629 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12630 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12631 HAVE_CLOCK_GETTIME_VSYSCALL macros.
12632 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12633 Use INLINE_VSYSCALL macro.
12634 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12635 __vdso_clock_gettime.
12636 * sysdeps/unix/sysv/linux/tile/init-first.c
12637 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12638 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12639 __vdso_clock_gettime.
12641 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12642 to set up frame more cleanly.
12644 * sysdeps/tile/memcmp.c: New file.
12646 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12648 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12649 * sysdeps/tile/tilegx/strcasestr.c: New file.
12650 * sysdeps/tile/tilegx/strnlen.c: New file.
12651 * sysdeps/tile/tilegx/strstr.c: New file.
12653 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12655 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
12657 * nptl/tst-setuid3.c: Write errors to stdout.
12659 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12662 (preload): New functions broken out of _dl_map_object_deps.
12663 (_dl_map_object_deps): Remove a nested function. Update call sites.
12665 2014-10-01 Joseph Myers <joseph@codesourcery.com>
12668 * sysdeps/unix/sysv/linux/execve.c: Remove file.
12669 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12671 2014-10-01 Steve Ellcey <sellcey@mips.com>
12673 * sysdeps/mips/strcmp.S: New.
12675 2014-09-30 Joseph Myers <joseph@codesourcery.com>
12678 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12679 (linkat): Likewise.
12680 (mkdirat): Likewise.
12681 (readlinkat): Likewise.
12682 (renameat): Likewise.
12683 (symlinkat): Likewise.
12684 (unlinkat): Likewise.
12685 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12686 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12687 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12688 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12689 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12690 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12691 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12693 2014-09-30 Will Newton <will.newton@linaro.org>
12695 * math/math.h: Define long double math functions if
12696 _LIBC_TEST is defined.
12697 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12699 * localedata/Makefile: Move assignment to tests-special
12700 into an ifdef testing run-built-tests.
12701 * timezone/Makefile: Likewise.
12703 2014-09-29 Joseph Myers <joseph@codesourcery.com>
12705 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12706 with $(BASH) not $(SHELL).
12708 2014-09-29 Carlos O'Donell <carlos@redhat.com>
12709 Matthew LeGendre <legendre1@llnl.gov>
12712 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12715 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12717 * stdio-common/printf_fp.c
12718 (hack_digit): New function, broken out of ...
12719 (__printf_fp): ... local function here. Update call sites.
12720 hack_digit now takes an additional parameter that is a pointer
12721 to a struct of the referenced locals. Those locals moved inside
12722 the struct and references updated.
12724 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
12726 * aclocal.m4: Require autoconf 2.69.
12727 * configure: Regenerated.
12728 * sysdeps/aarch64/configure: Likewise.
12729 * sysdeps/alpha/configure: Likewise.
12730 * sysdeps/arm/armv7/configure: Likewise.
12731 * sysdeps/arm/configure: Likewise.
12732 * sysdeps/ia64/configure: Likewise.
12733 * sysdeps/mach/configure: Likewise.
12734 * sysdeps/mips/configure: Likewise.
12735 * sysdeps/s390/configure: Likewise.
12736 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12739 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12741 * sysdeps/ia64/configure.ac: Likewise.
12743 2014-09-26 Joseph Myers <joseph@codesourcery.com>
12745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12746 specify symbol version for ld.so. Do not include entry for
12748 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12749 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12750 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12753 * Makeconfig [$(build-shared) = yes]
12754 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12756 [$(build-shared) = yes && $(soversions.mk-done) = t]
12757 ($(common-objpfx)gnu/lib-names.h): Remove rule.
12758 [$(build-shared) = yes && $(soversions.mk-done) = t]
12759 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
12761 [$(build-shared) = yes && $(soversions.mk-done) = t]
12762 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12764 [$(build-shared) = yes && $(soversions.mk-done) = t]
12765 (common-generated): Don't append gnu/lib-names.h and
12766 gnu/lib-names.stmp here.
12767 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12768 (lib-names-h-abi): New variable.
12769 [$(build-shared) = yes && $(soversions.mk-done) = t]
12770 (lib-names-stmp-abi): Likewise.
12771 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12772 abi-variants] (before-compile): Append
12773 $(common-objpfx)$(lib-names-h-abi).
12774 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12775 abi-variants] (common-generated): Append gnu/lib-names.h.
12776 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12777 abi-variants] (install-others-nosubdir): Depend on
12778 $(inst_includedir)/$(lib-names-h-abi).
12779 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12780 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12781 [$(build-shared) = yes && $(soversions.mk-done) = t]
12782 ($(common-objpfx)$(lib-names-h-abi)): New rule.
12783 [$(build-shared) = yes && $(soversions.mk-done) = t]
12784 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12785 [$(build-shared) = yes && $(soversions.mk-done) = t]
12786 (common-generated): Append $(lib-names-h-abi) and
12787 $(lib-names-stmp-abi).
12788 * scripts/lib-names.awk: Do not handle multi being set.
12789 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12791 (abi-lp64_be-ld-soname): Likewise.
12792 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12794 (abi-hard-ld-soname): Likewise.
12795 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12796 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12798 (abi-o32_hard-ld-soname): Likewise.
12799 (abi-o32_soft_2008-ld-soname): Likewise.
12800 (abi-o32_hard_2008-ld-soname): Likewise.
12801 (abi-n32_soft-ld-soname): Likewise.
12802 (abi-n32_hard-ld-soname): Likewise.
12803 (abi-n32_soft_2008-ld-soname): Likewise.
12804 (abi-n32_hard_2008-ld-soname): Likewise.
12805 (abi-n64_soft-ld-soname): Likewise.
12806 (abi-n64_hard-ld-soname): Likewise.
12807 (abi-n64_soft_2008-ld-soname): Likewise.
12808 (abi-n64_hard_2008-ld-soname): Likewise.
12809 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12811 (abi-64-v2-ld-soname): Likewise.
12812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12814 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12816 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12818 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12820 (abi-64-ld-soname): Likewise.
12821 (abi-x32-ld-soname): Likewise.
12822 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12824 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12826 2014-09-23 Joseph Myers <joseph@codesourcery.com>
12829 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12830 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12831 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12832 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12833 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12834 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12835 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12836 syscall entry for GLIBC_2.2 symbol version.
12837 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12840 (setrlimit): Likewise.
12841 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12844 2014-09-23 Will Newton <will.newton@linaro.org>
12846 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12847 _LINUX_ARM_SYSDEP_H include guard too.
12848 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12851 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12853 * sysdeps/unix/sysv/linux/eventfd.c:
12854 Make first argument unsigned.
12855 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12856 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12858 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
12860 * socket/recvmmsg.c (recvmmsg): Drop const argument.
12861 * socket/sys/socket.h: Likewise
12862 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12864 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12866 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12868 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
12870 * time/tst-ftime.c: New test.
12871 * time/Makefile (tests): Add tst-ftime.
12873 2014-09-17 Joseph Myers <joseph@codesourcery.com>
12875 * soft-fp/extended.h: Fix comment formatting.
12876 * soft-fp/op-1.h: Likewise.
12877 * soft-fp/op-2.h: Likewise.
12878 * soft-fp/op-4.h: Likewise.
12879 * soft-fp/op-8.h: Likewise.
12880 * soft-fp/op-common.h: Likewise.
12881 * soft-fp/soft-fp.h: Likewise.
12883 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12885 2014-09-16 Joseph Myers <joseph@codesourcery.com>
12888 * Makeconfig (soversions-default-setname): Remove variable.
12889 ($(common-objpfx)soversions.i): Don't pass default_setname to
12891 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12892 oldest_abi to abi-versions.awk.
12893 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12894 * config.make.in (oldest-abi): Remove variable.
12895 * configure.ac (--enable-oldest-abi): Remove configure option.
12896 * configure: Regenerated.
12897 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12899 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12900 * scripts/soversions.awk: Do not handle default_setname variable.
12901 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12903 * sysdeps/mach/hurd/configure: Regenerated.
12904 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12906 * sysdeps/unix/sysv/linux/configure: Regenerated.
12908 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12910 * elf/Makefile (CFLAGS-interp.c): Remove.
12911 ($(elf-objpfx)runtime-linker.h): Generate header with linker
12913 * elf/interp.c: Include generated runtime-linker.h
12915 * Makerules (lib%.so): Don't include $(+interp) in
12917 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12918 * dlfcn/eval.c: Remove file.
12920 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12924 * misc/sys/cdefs.h: Define __extern_always_inline for clang
12928 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12930 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12931 Jakub Jelinek <jakub@redhat.com>
12934 * libio/stdio.h: Check definition of __fortify_function
12935 instead of __extern_always_inline to include bits/stdio2.h.
12936 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12937 check if __extern_always_inline is defined.
12938 [__USE_MISC || __USE_XOPEN]: Likewise.
12939 [__USE_ISOC99] Likewise.
12940 * misc/sys/cdefs.h (__fortify_function): Define only if
12941 __extern_always_inline is defined.
12942 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12943 __extern_always_inline and __extern_inline only for g++-4.3
12944 and newer or a compatible gcc.
12946 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
12949 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12950 last change to handle zero prefix length.
12952 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12954 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12957 * posix/getconf.c (vars): Add _POSIX_IPV6 and
12958 _POSIX_RAW_SOCKETS.
12960 2014-09-13 Allan McRae <allan@archlinux.org>
12962 * po/ru.po: Update Russian translation from translation project.
12964 2014-09-12 Roland McGrath <roland@hack.frob.com>
12966 * locale/programs/locale.c (show_locale_vars): Inline local function
12967 into its sole call site. Clean up some style nits.
12968 (print_item): New function, broken out of ...
12969 (show_info): ... local function here. Clean up style nits.
12971 * locale/programs/ld-ctype.c (set_one_default): New function, broken
12973 (set_class_defaults): ... local function set_default here.
12974 Define set_default as a macro locally to pass constant parameters.
12975 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12976 rather than a shared local.
12978 * stdlib/rpmatch.c (try): New function, broken out of ...
12979 (rpmatch): ... local function here. Also, prototypify definition.
12981 2014-09-12 Joseph Myers <joseph@codesourcery.com>
12983 * scripts/soversions.awk: Do not handle configuration names.
12984 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12985 vendor and os variables to soversions.awk.
12986 * configure.ac: Do not modify gnu-* host_os.
12987 * configure: Regenerated
12988 * shlib-versions: Remove first column with configuration names.
12989 * nptl/shlib-versions: Likewise.
12990 * nptl_db/shlib-versions: Likewise.
12991 * sysdeps/hppa/shlib-versions: Likewise.
12992 * sysdeps/m68k/shlib-versions: Likewise.
12993 * sysdeps/mach/hurd/shlib-versions: Likewise.
12994 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12995 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12996 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12997 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12998 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12999 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13000 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13001 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13004 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13005 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13006 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13007 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13008 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13009 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13010 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13011 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13014 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13017 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13019 Condition symbol version definitions on [HAVE_ELFV2_ABI].
13021 * shlib-versions: Remove OS-specific entries. Moved to files in
13023 * sysdeps/mach/hurd/shlib-versions: New file.
13024 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13026 * nptl/shlib-versions: Remove architecture-specific entries.
13027 Moved to files in sysdeps.
13028 * shlib-versions: Likewise.
13029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13031 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13032 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13033 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13034 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13036 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13037 (UDP_NO_CHECK6_RX): Likewise.
13039 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13041 * sysdeps/posix/sysconf.c (__sysconf): Spell
13042 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13044 2014-08-12 Florian Weimer <fweimer@redhat.com>
13046 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13048 * iconv/Versions (__gconv_transliterate): Export for use from
13050 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13051 (struct __gconv_trans_data, __gconv_trans_fct,
13052 __gconv_trans_context_fct, __gconv_trans_query_fct,
13053 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13055 (struct __gconv_step_data): Remove __trans member.
13056 (__gconv_transliterate): Declaration moved from gconv_int.h. No
13057 longer hidden. Remove unused trans_data argument.
13058 * iconv/gconv_int.h (struct trans_struct): Remove definition.
13059 (__gconv_translit_find): Remove declaration.
13060 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
13062 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13063 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13064 trans_data argument. Add hidden definition.
13065 (__gconv_translit_find): Remove.
13066 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13067 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13068 * iconv/skeleton.c: Remove transliteration initialization.
13069 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13070 __gconv_step_data initialization.
13071 * libio/iofwide.c (__libio_translit_): Remove.
13072 (_IO_fwide): Adjust struct __gconv_step_data initialization.
13073 * wcsmbs/btowc.c (__btowc): Likewise.
13074 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13075 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13076 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13077 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13078 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13079 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13080 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13081 * wcsmbs/wctob.c (wctob): Likewise.
13083 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13086 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13087 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
13089 * sysdeps/x86/Makefile: Adjust.
13091 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13092 Roland McGrath <roland@hack.frob.com>
13094 * locale/weight.h: Add include guard.
13095 (findidx): Make static rather than auto; take new parameters
13096 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13097 * locale/weightwc.h: Likewise.
13098 * posix/fnmatch_loop.c
13099 (FCT): Change type of EXTRA from int32_t to wint_t.
13100 Don't include either header inside the function.
13101 Call FINDIDX rather than findidx, and pass new arguments.
13102 #undef FINDIDX at the end of the file.
13103 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13104 FINDIDX before including fnmatch_loop.c for the non-wide version.
13105 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13106 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13107 for the wide version.
13108 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13109 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13110 Pass new arguments to findidx.
13111 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13112 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13113 Don't #include it inside the function. Pass new arguments to findidx.
13114 * posix/regex_internal.h
13115 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13116 (re_string_elem_size_at): Don't #include it inside the function.
13117 Pass new arguments to findidx.
13118 * string/strcoll_l.c: #include WEIGHT_H at top level.
13119 (get_next_seq): Don't #include it inside the function.
13120 Pass new arguments to findidx.
13121 (get_next_seq_nocache): Likewise.
13122 * string/strxfrm_l.c: #include WEIGHT_H at top level.
13123 (STRXFRM): Don't #include it inside the function.
13124 Pass new arguments to findidx.
13126 2014-09-11 Florian Weimer <fweimer@redhat.com>
13129 * malloc/malloc.c (unlink): Turn asserts into a call to
13132 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
13135 * libio/wfileops (do_ftell_wide): Free OUT.
13137 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
13139 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13141 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13144 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13145 group if the current group is empty.
13147 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13149 * benchtests/bench-memset.c (test_main): Add more test from size
13150 from 32 to 512 bytes.
13151 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13152 Add POWER8 memset object.
13153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13154 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13155 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13157 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13159 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13160 multiarch POWER8 memset optimization.
13161 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13162 POWER8 memset optimization.
13164 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13165 Remove bzero multiarch objects.
13166 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13167 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13168 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13169 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13171 [__bzero]: Redefine to specific name.
13172 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13173 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13174 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13176 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13177 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13179 2014-09-10 Florian Weimer <fweimer@redhat.com>
13181 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13182 warnings into errors.
13184 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13185 __cxa_thread_atexit_impl prototype.
13187 2014-09-09 Steve Ellcey <sellcey@mips.com>
13189 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13190 Fix capitalization of error message.
13192 2014-09-09 Steve Ellcey <sellcey@mips.com>
13194 * sysdeps/mips/preconfigure: Modify ABI tests.
13196 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
13198 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13200 2014-09-07 Roland McGrath <roland@hack.frob.com>
13201 Carlos O'Donell <carlos@systemhalted.org>
13203 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13204 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13205 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13206 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13207 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13208 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13209 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13210 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13211 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13212 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13213 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13214 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13215 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13216 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13217 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13218 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13219 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13220 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13221 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13222 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13223 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13224 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13225 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13226 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13227 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13228 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13229 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13230 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13231 Deconditionalize the code that was previously under [RESET_PID].
13232 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13233 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13234 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13235 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13238 2014-09-08 Allan McRae <allan@archlinux.org>
13240 * version.h (RELEASE): Set to "development".
13241 (VERSION): Set to "2.20.90"
13243 2014-09-07 Allan McRae <allan@archlinux.org
13245 * version.h (RELEASE): Set to "stable".
13246 (VERSION): Set to "2.20"
13247 * include/features.h (__GLIBC_MINOR__): Set to 20.
13249 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13252 * po/ko.po: Update Korean translation from translation project.
13254 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
13257 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13258 macro for handling signed relocations.
13260 2014-09-03 Florian Weimer <fweimer@redhat.com>
13263 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13264 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13266 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13267 * iconvdata/ibm935.c (BODY): Likewise.
13268 * iconvdata/ibm937.c (BODY): Likewise.
13269 * iconvdata/ibm939.c (BODY): Likewise.
13270 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13272 * iconvdata/Makefile (iconv-test.out): Pass module list to test
13274 * iconvdata/run-iconv-test.sh: New test loop for checking for
13277 2014-09-02 Khem Raj <raj.khem@gmail.com>
13279 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13282 2014-09-01 Allan McRae <allan@archlinux.org>
13284 * po/eo.po: Update Esperanto translation from translation project.
13286 * po/ca.po: Update Catalan translation from translation project.
13288 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
13290 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13291 __proc_dostop call.
13293 2014-08-27 Mark Wielaard <mjw@redhat.com>
13296 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13297 to call set_thread_area instead of hand written asm.
13298 (__NR_set_thread_area): Removed define.
13299 (TLS_FLAG_WRITABLE): Likewise.
13300 (__ASSUME_SET_THREAD_AREA): Remove check.
13301 (TLS_EBX_ARG): Remove define.
13302 (TLS_LOAD_EBX): Likewise.
13304 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13306 Simplify atomicity of socket creation in bind.
13308 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13309 looking up the name after linking the file.
13311 2014-08-27 Allan McRae <allan@archlinux.org>
13313 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13315 2014-08-26 Florian Weimer <fweimer@redhat.com>
13318 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13319 trans_compare, open_translit, __gconv_translit_find):
13320 Remove module loading code.
13322 2014-08-26 Allan McRae <allan@archlinux.org>
13324 * po/vi.po: Update Vietnamese translation from translation project.
13326 * po/uk.po: Update Ukrainian translation from translation project.
13328 * po/fr.po: Update French translation from translation project.
13330 * po/ru.po: Update Russian translation from translation project.
13332 * po/pl.po: Update Polish translation from translation project.
13334 * po/cs.po: Update Czech translation from translation project.
13336 * po/de.po: Update German translation from translation project.
13338 * po/bg.po: Update Bulgarian translation from translation project.
13340 * po/sv.po: Update Sweedish translation from translation project.
13342 * po/nl.po: Update Dutch translation from translation project.
13344 * po/es.po: Update Spanish translation from translation project.
13346 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13348 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13350 * catgets/Makefile (CPPFLAGS-gencat): Remove.
13351 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13352 (CPPFLAGS-iconvconfig): Likewise.
13353 * timezone/Makefile (CPPFLAGS-zic): Likewise.
13355 * include/libc-symbols.h: Remove unnecessary check for
13357 * nptl/pthreadP.h: Likewise.
13358 * sysdeps/aarch64/setjmp.S: Likewise.
13359 * sysdeps/alpha/setjmp.S: Likewise.
13360 * sysdeps/arm/sysdep.h: Likewise.
13361 * sysdeps/i386/setjmp.S: Likewise.
13362 * sysdeps/m68k/setjmp.c: Likewise.
13363 * sysdeps/posix/getcwd.c: Likewise.
13364 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13365 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13366 * sysdeps/s390/s390-32/setjmp.S: Likewise.
13367 * sysdeps/s390/s390-64/setjmp.S: Likewise.
13368 * sysdeps/sh/sh3/setjmp.S: Likewise.
13369 * sysdeps/sh/sh4/setjmp.S: Likewise.
13370 * sysdeps/unix/alpha/sysdep.h: Likewise.
13371 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13372 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13373 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13374 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13377 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13378 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13379 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13381 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13382 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13383 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13384 * sysdeps/x86_64/setjmp.S: Likewise.
13386 2014-08-13 Joseph Myers <joseph@codesourcery.com>
13389 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
13391 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
13392 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
13394 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13396 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
13399 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
13400 and __x86_64__ when disabling x87 inline functions.
13402 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
13405 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13406 asm statement with __cpuid_count.
13408 2014-08-12 Mike Frysinger <vapier@gentoo.org>
13410 * configure.ac: Change __ehdr_start code to dereference the struct.
13411 Run readelf on the output to look for relocations.
13412 * configure: Regenerated.
13414 2014-08-12 Joseph Myers <joseph@codesourcery.com>
13417 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
13419 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
13421 2014-08-12 Roland McGrath <roland@hack.frob.com>
13423 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
13425 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
13428 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
13429 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
13431 2014-08-12 Sean Anderson <seanga2@gmail.com>
13433 * malloc/malloc.c: Fix typo in comment.
13435 2014-08-09 Allan McRae <allan@archlinux.org>
13437 * Regenerate libc.po.
13439 2014-08-08 Mike Frysinger <vapier@gentoo.org>
13441 * intl/tst-gettext2.sh: Check every lang file for creation.
13443 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
13445 * sysdeps/aarch64/fpu/math_private.h
13446 (libc_feholdsetround_noex_aarch64_ctx): New function.
13448 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
13450 * sysdeps/arm/armv6/strcpy.S (strcpy):
13451 Fix performance issue in misaligned cases.
13453 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13455 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13456 Move definition from termios.h.
13457 (struct termio): Likewise.
13458 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13459 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13460 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13461 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13463 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13464 Move definition to ioctl-types.h
13465 (struct termio): Likewise.
13466 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13467 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13468 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13469 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13472 2014-08-05 Richard Henderson <rth@redhat.com>
13474 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13476 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13478 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13479 Use __feraiseexcept.
13480 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13481 Protect libm symbols with IS_IN_libm.
13483 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13485 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
13487 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13489 2014-08-04 Will Newton <will.newton@linaro.org>
13491 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13494 2014-08-04 Mike Frysinger <vapier@gentoo.org>
13496 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13497 variants for each function.
13499 2014-08-04 Roland McGrath <roland@hack.frob.com>
13501 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13503 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13504 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13506 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13507 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13508 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13509 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13510 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13511 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13512 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13513 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13514 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13515 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13516 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13517 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13518 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13519 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13520 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13521 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13522 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13523 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13524 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13525 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13526 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13527 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13528 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13529 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13530 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13531 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13532 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13533 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13534 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13535 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13536 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13537 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13538 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13539 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13540 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13541 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13542 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13543 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13544 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13545 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13546 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13547 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13548 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13549 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13550 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13551 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13552 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13553 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13554 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13555 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13556 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13557 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13558 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13560 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13561 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13563 2014-08-04 Roland McGrath <roland@hack.frob.com>
13565 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13566 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13567 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13568 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13569 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13570 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13572 2014-08-04 Roland McGrath <roland@hack.frob.com>
13574 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13575 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13576 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13577 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13579 2014-08-04 Roland McGrath <roland@hack.frob.com>
13581 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13582 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13583 (__libc_vfork): Define function under this name.
13584 (__vfork): Define as an alias.
13585 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13586 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13588 2014-08-04 Roland McGrath <roland@hack.frob.com>
13590 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13591 that was previously under [RESET_PID].
13592 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13594 2014-08-04 Andreas Schwab <schwab@suse.de>
13596 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13598 2014-08-03 Mike Frysinger <vapier@gentoo.org>
13600 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13603 2014-08-01 Roland McGrath <roland@hack.frob.com>
13605 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13607 2014-08-01 Richard Henderon <rth@redhat.com>
13609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13610 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13611 typo in exact zero test.
13612 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13613 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13614 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13616 2014-08-01 Roland McGrath <roland@hack.frob.com>
13618 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13619 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13620 * sysdeps/arm/sysdep.h: ... here.
13621 [!__ASSEMBLER__]: Include <stdint.h>.
13623 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13625 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13626 (HAVE_WCTYPE_H): Likewise.
13627 (HAVE_ISWCTYPE): Likewise.
13628 (ENABLE_NLS): Likewise.
13629 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13630 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13632 * posix/regex_internal.c: Check if DEBUG is defined and is
13635 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13636 (HAVE_MBSRTOWCS): Likewise.
13637 * posix/fnmatch.c: Include string.h unconditionally.
13639 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13641 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13644 2014-07-31 Roland McGrath <roland@hack.frob.com>
13646 * sysdeps/generic/safe-fatal.h: New file.
13647 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13648 * nptl/forward.c: Include it.
13649 (__pthread_unwind): Use __safe_fatal as default action, rather
13650 than a bogus use of INTERNAL_SYSCALL that could never work.
13652 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13653 * configure.ac (libc_cv_builtin_trap): New test.
13654 * configure: Regenerated.
13655 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13656 (ABORT_INSTRUCTION): Define using __builtin_trap.
13658 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13659 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13660 * sysdeps/nptl/nptl-signals.h: New file.
13661 * nptl/pthreadP.h: Include <nptl-signals.h>.
13663 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13665 * sysdeps/s390/s390-64/utf16-utf32-z9.c
13666 (ONE_DIRECTION): Define.
13667 * sysdeps/s390/s390-64/utf8-utf16-z9.c
13668 (ONE_DIRECTION): Define.
13669 * sysdeps/s390/s390-64/utf8-utf32-z9.c
13670 (ONE_DIRECTION): Define.
13672 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13674 * sysdeps/s390/Makefile: Delete file.
13675 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13676 * sysdeps/s390/__longjmp.c: Delete file.
13677 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13678 Remove fields __flags and __reserved.
13679 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13680 and add versioning.
13681 * sysdeps/s390/rtld-__longjmp.c: Delete file.
13682 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13683 * sysdeps/s390/rtld-setjmp.S: Likewise.
13684 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13685 * sysdeps/s390/s390-32/__longjmp.c: ... here.
13686 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13687 * sysdeps/s390/s390-32/setjmp.S: ... here.
13689 (__sigsetjmp): Remove setting __flags field.
13690 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13691 * sysdeps/s390/s390-64/__longjmp.c: ... here.
13692 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13693 * sysdeps/s390/s390-64/setjmp.S: ... here.
13695 (__sigsetjmp): Remove setting __flags field.
13696 * sysdeps/s390/setjmp.S: Delete file.
13697 * sysdeps/s390/sigjmp.c: Likewise.
13698 * sysdeps/s390/v1-longjmp.c: Likewise.
13699 * sysdeps/s390/v1-setjmp.h: Likewise.
13700 * sysdeps/s390/v1-sigjmp.c: Likewise.
13701 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13702 Remove v1-longjmp_chk.
13703 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13704 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13705 Include debug/longjmp_chk.c and add versioning.
13706 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13707 Include nptl/pt-longjmp.c and add versioning.
13708 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13709 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13710 Include __longjmp.c.
13711 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13713 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13714 (__getcontext): Remove setting __flags field.
13716 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13717 Don't restore upper high grps.
13718 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13720 (__swapcontext): Remove setting uc_flags field.
13721 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13723 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13724 Include __longjmp.c.
13725 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13727 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13728 (__getcontext): Remove setting __flags field.
13730 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13731 (__swapcontext): Remove setting uc_flags field.
13732 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13733 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13734 Remove fields uc_high_gprs and __reserved.
13735 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13736 New file with reverted content.
13737 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13738 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13740 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13743 2014-07-31 Andreas Schwab <schwab@suse.de>
13745 * config.h.in (HAVE_IFUNC): Define to 0.
13746 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13749 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
13751 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13752 memmove-avx-unaligned, memcpy-avx-unaligned and
13753 mempcpy-avx-unaligned.
13754 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13755 Add tests for AVX memcpy functions.
13756 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13757 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13759 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13760 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13762 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13763 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13765 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13766 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13767 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13769 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13772 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13775 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
13778 * manual/llio.texi: Add section about open file description locks.
13779 * manual/examples/ofdlocks.c: Example of open file description
13781 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13782 F_OFD_SETLK, and F_OFD_SETLKW.
13784 2014-07-23 Allan McRae <allan@archlinux.org>
13786 * po/es.po: Update Spanish translation from translation project.
13788 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
13790 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13792 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
13795 * sysdeps/arm/dl-machine.h (elf_machine_rela)
13796 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13797 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13799 2014-07-17 Joseph Myers <joseph@codesourcery.com>
13802 * math/fesetenv.c (__fesetenv)
13803 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13804 * math/feupdateenv.c (__feupdateenv)
13805 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13807 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13808 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13809 (__ASSUME_SOCKETCALL): Do not define.
13811 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13812 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13813 (__ASSUME_SOCKETCALL): Do not define.
13814 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13815 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13816 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13817 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13818 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13819 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13820 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13821 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13823 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13824 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13825 (__ASSUME_SOCKETCALL): Do not define.
13826 (__ASSUME_IPC64): Define unconditionally.
13827 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13828 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13829 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13830 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13831 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13832 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13833 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13836 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13837 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13838 (__ASSUME_SOCKETCALL): Do not define.
13839 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13840 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13841 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13842 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13843 (__ASSUME_REQUEUE_PI): Define unconditionally.
13844 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13845 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13846 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13847 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13848 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13849 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13851 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13852 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13853 (__ASSUME_SOCKETCALL): Do not define.
13854 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13855 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13856 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13857 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13858 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13859 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13861 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13862 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13863 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13864 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13865 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13866 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13867 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13868 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13869 (__ASSUME_GETCPU_SYSCALL): Likewise.
13871 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13872 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
13873 cases for individual architectures.
13874 * sysdeps/gnu/configure: Regenerated.
13875 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13876 LIBC_SLIBDIR_RTLDDIR.
13877 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13878 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13879 LIBC_SLIBDIR_RTLDDIR.
13880 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13882 LIBC_SLIBDIR_RTLDDIR.
13883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13885 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13886 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13888 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13889 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13891 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13892 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13893 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13894 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13896 * sysdeps/aarch64/shlib-versions: Move to ...
13897 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13898 * sysdeps/alpha/shlib-versions: Move to ...
13899 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13900 * sysdeps/arm/shlib-versions: Move to ...
13901 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13902 * sysdeps/hppa/shlib-versions: Move all contents except for
13903 libgcc_s entry to ...
13904 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
13906 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
13907 * sysdeps/ia64/shlib-versions: Move to ...
13908 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
13910 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
13911 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13912 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13913 * sysdeps/microblaze/shlib-versions: Move to ...
13914 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13915 * sysdeps/mips/shlib-versions: Move to ...
13916 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
13918 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
13919 * sysdeps/tile/shlib-versions: Move to ...
13920 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13921 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13923 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
13924 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13926 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
13928 2014-07-17 Will Newton <will.newton@linaro.org>
13930 * sysdeps/arm/bits/atomic.h
13931 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13932 (__arch_compare_and_exchange_bool_16_int): Likewise.
13933 (__arch_compare_and_exchange_bool_64_int): Likewise.
13935 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13936 into an #else block.
13938 2014-07-16 Roland McGrath <roland@hack.frob.com>
13940 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13941 just Linux configurations. Test empirically that the compiler sets
13942 __ARM_EABI__, rather than using the tuple to decide.
13943 * sysdeps/arm/preconfigure: Regenerated.
13944 * sysdeps/unix/sysv/linux/arm/configure: File removed.
13945 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13946 contents appended ...
13947 * sysdeps/arm/configure.ac: ... here.
13948 * sysdeps/arm/configure: Regenerated.
13950 2014-07-15 Roland McGrath <roland@hack.frob.com>
13952 * nptl/pthread_kill.c: New file.
13953 * nptl/pthread_sigmask.c: New file.
13954 * nptl/pthread_sigqueue.c: New file.
13956 * sysdeps/nptl/lowlevellock.h: New file.
13957 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13958 * sysdeps/nptl/lowlevellock-futex.h: New file.
13960 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13961 Remove dead declarations.
13963 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
13965 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13966 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13967 config-cflags-avx2.
13968 * sysdeps/x86_64/configure.ac: Likewise.
13969 * sysdeps/i386/configure: Regenerated.
13970 * sysdeps/x86_64/configure: Likewise.
13971 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13972 memset-avx2 only if config-cflags-avx2 is yes.
13973 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13974 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13976 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13977 only if HAVE_AVX2_SUPPORT is defined.
13978 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13980 2014-07-14 Alan Modra <amodra@gmail.com>
13983 * elf/elf.h (DT_PPC64_NUM): Correct value.
13984 * NEWS: Add to fixed bug list.
13986 2014-07-13 Jim Meyering <meyering@fb.com>
13989 regex: don't deref NULL upon heap allocation failure
13990 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13991 failure in one more place.
13992 To trigger the segfault, configure grep -with-included-regex,
13993 build it, and run these commands:
13994 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13996 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
13998 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14000 2014-07-11 Richard Henderson <rth@redhat.com>
14002 * sysdeps/aarch64/libm-test-ulps: Update.
14004 2014-07-10 Florian Weimer <fweimer@redhat.com>
14007 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14008 * nptl/allocatestack.c (__nptl_setxid_error): New function.
14009 (__nptl_setxid): Initialize error member. Call
14010 __nptl_setxid_error.
14011 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14012 * nptl/descr.h (struct xid_command): Add error member.
14013 * nptl/tst-setuid3.c: New file.
14014 * nptl/Makefile (tests): Add it.
14016 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14018 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14020 (__lll_trylock): Use __lll_base_trylock.
14021 (__lll_cond_trylock): Likewise.
14023 2014-07-10 Roland McGrath <roland@hack.frob.com>
14025 * nptl/pthread_create.c (start_thread): Use atomic_or and
14026 lll_futex_wake directly rather than lll_robust_dead.
14027 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14028 (lll_robust_dead): Macro removed.
14029 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14030 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14031 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14032 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14033 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14034 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14035 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14036 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14037 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14038 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14039 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14040 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14041 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14042 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14043 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14045 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14046 Use atomic_compare_and_exchange_val_acq directly rather than
14047 lll_robust_trylock.
14048 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14049 (__lll_robust_trylock, lll_robust_trylock): Removed.
14050 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14051 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14052 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14053 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14054 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14055 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14056 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14057 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14058 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14059 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14060 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14061 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14062 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14063 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14065 2014-07-02 Florian Weimer <fweimer@redhat.com>
14067 * manual/locale.texi (Locale Names): New section documenting
14068 locale name syntax. Adjust menu and node chaining accordingly.
14069 (Choosing Locale): Reference Locale Names, Locale Categories.
14070 Mention setting LC_ALL=C. Reflect that name syntax is now
14072 (Locale Categories): New section title. Reference Locale Names.
14073 LC_ALL is an environment variable, but not a category.
14074 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14075 description, now in Locale Name. Reference that section. Locale
14076 name syntax is now documented.
14078 2014-07-02 Florian Weimer <fweimer@redhat.com>
14081 * locale/findlocale.c (name_present, valid_locale_name): New
14083 (_nl_find_locale): Use the loc_name variable to store name
14084 candidates. Call name_present and valid_locale_name to check and
14085 validate locale names. Return an error if the locale is invalid.
14087 2014-07-02 Florian Weimer <fweimer@redhat.com>
14089 * locale/setlocale.c (setlocale): Use strdup for allocating
14090 composite name copy.
14092 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14094 Sync up with gnulib.
14095 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14096 [!_LIBC && ENABLE_NLS]: Include gettext.h.
14097 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14098 and _GL_ARG_NONNULL.
14099 [USE_UNLOCKED_IO]: Include unlocked-io.h.
14100 [!_LIBC]: Include code for Windows and Cygwin.
14101 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14102 Include prototype for int strerror_r.
14103 [!_LIBC] (is_open): New function.
14104 (flush_stdout): New function.
14105 (print_errno_message): Use it.
14107 (error_at_line): Likewise.
14108 (error_tail) Add function attribute macros. Use
14111 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14113 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14115 * io/ftw.c: Include sys/param.h unconditionally.
14117 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14120 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14122 (freecache): New function to free CACHE on exit.
14124 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14127 2014-07-09 David S. Miller <davem@davemloft.net>
14129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14131 * sysdeps/sparc/nptl/internaltypes.h: Delete.
14132 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14133 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14134 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14135 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14136 * sysdeps/sparc/nptl/sem_init.c: Likewise.
14137 * sysdeps/sparc/nptl/sem_post.c: Likewise.
14138 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14139 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14140 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14141 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14142 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14143 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14145 2014-07-09 Andreas Schwab <schwab@suse.de>
14147 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14149 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14150 (do_test): Likewise.
14152 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14154 2014-07-09 Will Newton <will.newton@linaro.org>
14156 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14157 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14158 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14159 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14160 * sysdeps/hppa/start.S (_start): Likewise.
14162 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14164 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14166 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14169 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14171 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14172 after checking that it is non-NULL.
14174 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14176 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14178 * sysdeps/powerpc/memmove.c: Remove file.
14179 * sysdeps/powerpc/powerpc32/power4/memcopy.h
14180 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14181 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14182 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14183 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14184 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14185 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14186 string memmove instead of removed powerpc one.
14188 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14189 [weak_alias]: Fix compiler warning due trailing data.
14190 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14191 [weak_alias]: Likewise.
14192 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14193 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14195 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14196 (__libc_ifunc_impl_list): Add memmove functions.
14198 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14200 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14202 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14204 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14206 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14208 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14210 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14212 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14214 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14216 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14218 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14220 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14222 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14224 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14226 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14228 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14230 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14232 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14235 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14237 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14238 to avoid alignment traps in non-cacheable memory.
14239 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14241 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14243 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14244 file: multiarch power7 memmove.
14245 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14246 multiarch default memmove.
14247 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14248 multiarch memove for powerpc32/power4.
14250 * string/bcopy.c: Use full path to include memmove.c.
14251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14253 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14254 bcopy for powerpc64.
14255 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14256 bcopy for powerpc64.
14257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14258 and memmove implementations.
14259 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14260 optimized multiarch memmove for POWER7/powerpc64.
14261 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14262 default multiarch memmove for powerpc64.
14263 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14264 multiarch for powerpc64.
14265 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14266 for POWER7/powerpc64.
14267 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14268 memmove for POWER7/powerpc64.
14270 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14273 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14274 __ELF_NATIVE_CLASS equal to 64.
14276 2014-07-07 Roland McGrath <roland@hack.frob.com>
14278 * sysdeps/nptl/lowlevellock.h: File removed.
14280 * NEWS: NPTL is no longer an add-on!
14281 * nptl/internaltypes.h: Moved ...
14282 * sysdeps/nptl/internaltypes.h: ... here.
14283 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14284 * sysdeps/nptl/fork.c: Likewise.
14285 * sysdeps/nptl/gai_misc.h: Likewise.
14286 * sysdeps/nptl/librt-cancellation.c: Likewise.
14287 * sysdeps/nptl/jmp-unwind.c: Likewise.
14288 * sysdeps/nptl/setxid.h: Likewise.
14289 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14290 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14291 * sysdeps/unix/sysv/linux/arm/Implies: New file.
14292 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14293 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14294 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14295 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14296 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14297 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14298 * sysdeps/unix/sysv/linux/mips/Implies: New file.
14299 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14300 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14301 * sysdeps/unix/sysv/linux/sh/Implies: New file.
14302 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14303 * sysdeps/unix/sysv/linux/tile/Implies: New file.
14304 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14305 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14306 * nptl/Makeconfig: Moved ...
14307 * sysdeps/nptl/Makeconfig: ... here.
14308 * nptl/configure: File removed.
14309 * nptl/ANNOUNCE: File removed.
14310 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14311 * sysdeps/unix/sysv/linux/configure: Regenerated.
14313 * nptl/Makefile (routines): Add libc_pthread_init,
14314 libc_multiple_threads, register-atfork and unregister-atfork.
14315 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14316 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14317 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14318 pthread-pi-defines.sym, structsem.sym.
14319 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14320 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14321 [$(subdir) = nptl] (tests): Add tst-setgetname.
14322 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14323 * sysdeps/unix/sysv/linux/sigaction.c: Just include
14324 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14325 [!LIBC_SIGACTION]: Remove aliases.
14326 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14327 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14328 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14329 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14330 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14331 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14332 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14333 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14334 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14335 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
14336 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
14337 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14338 __libc_allocate_rtsig_private.
14339 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14340 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14341 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14342 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14343 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14344 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14345 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14346 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14347 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14348 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14349 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14350 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14351 * nptl/internaltypes.h: ... here.
14352 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14353 * sysdeps/nptl/jmp-unwind.c: ... here.
14354 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14355 * nptl/libc-lowlevellock.c: ... here.
14356 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14357 * nptl/libc_multiple_threads.c: ... here.
14358 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14359 * nptl/libc_pthread_init.c: ... here.
14360 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14361 * nptl/lowlevelbarrier.sym: ... here.
14362 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14363 * nptl/lowlevelcond.sym: ... here.
14364 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14365 * nptl/lowlevellock.c: ... here.
14366 * nptl/lowlevellock.h: Moved ...
14367 * sysdeps/nptl/lowlevellock.h: ... here.
14368 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14369 * nptl/lowlevelrobustlock.c: ... here.
14370 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14371 * nptl/lowlevelrobustlock.sym: ... here.
14372 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14373 * nptl/lowlevelrwlock.sym: ... here.
14374 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14375 * nptl/pt-fork.c: ... here.
14376 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14377 * nptl/pthread-pi-defines.sym: ... here.
14378 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
14379 * nptl/pthread_attr_getaffinity.c: ... here.
14380 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
14381 * nptl/pthread_attr_setaffinity.c: ... here.
14382 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
14383 * nptl/pthread_mutex_cond_lock.c: ... here.
14384 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14386 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
14387 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
14388 * nptl/pthread_once.c: ... here, replacing old file.
14389 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
14390 * nptl/pthread_yield.c: ... here.
14391 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
14392 * nptl/register-atfork.c: ... here.
14393 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
14394 * nptl/sem_post.c: ... here.
14395 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
14396 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
14397 * nptl/sem_timedwait.c: ... here.
14398 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
14399 * nptl/sem_trywait.c: ... here.
14400 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
14401 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
14402 * nptl/sem_wait.c: ... here.
14403 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
14404 * nptl/structsem.sym: ... here.
14405 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
14406 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
14407 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
14408 * nptl/unregister-atfork.c: ... here.
14409 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
14410 * nptl/unwindbuf.sym: ... here.
14411 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
14412 * sysdeps/nptl/fork.c: ... here.
14413 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
14414 * sysdeps/nptl/fork.h: ... here.
14415 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
14416 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
14417 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
14418 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
14419 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
14420 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
14421 * sysdeps/unix/sysv/linux/getpid.c: ... here.
14422 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
14423 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
14424 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
14425 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
14426 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
14427 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
14428 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
14429 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
14430 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
14431 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
14432 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
14433 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
14434 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
14435 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
14436 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
14437 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
14438 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
14439 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
14440 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
14441 * sysdeps/unix/sysv/linux/raise.c: ... here.
14442 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
14443 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
14444 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14445 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14446 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14447 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14448 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14449 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14450 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14451 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14452 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14453 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14454 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14455 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14456 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14458 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14460 * sysdeps/generic/memcopy.h: Add comment for
14461 MEMCPY_OK_FOR_FWD_MEMMOVE.
14463 2014-07-04 Will Newton <will.newton@linaro.org>
14465 * string/memchr.c: Merge from gnulib.
14466 [_LIBC]: Remove conditionals.
14467 (__ptr_t): Remove define.
14468 (LONG_MAX_32_BITS): Likewise.
14469 (LONG_MAX): Likewise.
14470 (MEMCHR): Use ANSI prototype and optimize algorithm.
14472 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14474 2014-07-03 Roland McGrath <roland@hack.frob.com>
14476 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14477 (lll_futex_timed_wait_bitset): Fix syscall argument count.
14479 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14480 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14481 in a bare environment with no <stdlib.h> installed.
14482 * sysdeps/nptl/configure: Regenerated.
14484 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14486 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14487 AC_EGREP_CPP for kernel header checks, so they only succeed if
14488 including <linux/version.h> actually works right.
14489 * sysdeps/unix/sysv/linux/configure: Regenerated.
14491 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14492 value so it's not diagnosed as unused.
14494 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14495 thing) with "ifeq ($(subdir),rt)".
14497 2014-07-03 Richard Henderson <rth@redhat.com>
14499 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14500 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14501 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14503 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14504 (math_force_eval): New.
14506 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14507 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14509 * sysdeps/alpha/fpu/s_round.c: Remove file.
14510 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14512 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14513 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14514 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14515 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14516 (_dl_start, print_statistics): Likewise.
14517 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14518 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14520 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14521 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14522 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14523 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14524 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14525 (HP_SMALL_TIMING_AVAIL): Define.
14526 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14527 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14528 (HP_SMALL_TIMING_AVAIL): Define.
14529 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14530 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14532 * sysdeps/aarch64/hp-timing.h: New file.
14534 * sysdeps/generic/hp-timing.h: Remove dead comment.
14535 * sysdeps/generic/hp-timing-common.h: New file.
14536 * sysdeps/alpha/hp-timing.h: Include it.
14537 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14538 * sysdeps/i386/i686/hp-timing.h: Likewise.
14539 * sysdeps/ia64/hp-timing.h: Likewise.
14540 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14541 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14542 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14543 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14544 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14545 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14546 (hp_timing_t): New.
14548 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14549 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14550 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14551 * elf/rtld.c (_dl_start_final): Likewise.
14552 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14553 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14554 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14555 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14556 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14557 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14558 (HP_TIMING_DIFF_INIT): Remove.
14559 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14560 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14561 (HP_TIMING_DIFF_INIT): Remove.
14562 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14563 * sysdeps/i386/i686/hp-timing.c: Remove file.
14564 * sysdeps/x86_64/hp-timing.c: Remove file.
14565 * sysdeps/ia64/hp-timing.c: Remove file.
14566 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14567 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14568 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14569 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14571 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14572 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14573 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14574 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14575 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14576 (HP_TIMING_ACCUM): Remove.
14577 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14578 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14579 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14581 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14582 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14583 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14584 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14585 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14586 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14587 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14588 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14590 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14592 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
14594 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14596 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14598 Sync up with gettext.
14599 * intl/loadmsgcat.c: Define O_BINARY if not defined.
14600 [_MSC_VER]: Include malloc.h
14601 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14602 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14603 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
14604 TEMP_FAILURE_RETRY. Cast return of alloca.
14605 [!_LIBC] Call gl_rwlock_init.
14606 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14608 2014-07-02 Roland McGrath <roland@hack.frob.com>
14610 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14611 before checking its value.
14613 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14615 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14617 * debug/memcpy_chk.c: Don't include pagecopy.h.
14618 * debug/mempcpy_chk.c: Likewise.
14619 * string/memcpy.c: Likewise.
14620 * string/memmove.c: Likewise.
14621 * sysdeps/powerpc/memmove.c: Likewise.
14622 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
14623 definition of PAGE_COPY_FWD_MAYBE here...
14624 * sysdeps/generic/pagecopy.h: ... from here.
14625 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14627 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14628 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14630 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14634 (__libc_ifunc_impl_list): Likewise.
14635 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14636 multiarch strcat for PPC64.
14637 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14638 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14640 2014-07-02 Roland McGrath <roland@hack.frob.com>
14642 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14644 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14646 * intl/loadmsgcat.c: Remove declaration of
14647 get_sysdep_segment_value.
14648 (get_sysdep_segment_value): Use ISO C style.
14649 (_nl_load_domain): Use ISO C style. Get rid of redundant
14650 semicolon. Fix typo and formatting in comment.
14651 (_nl_unload_domain): Use ISO C style.
14653 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14655 2014-07-02 Will Newton <will.newton@linaro.org>
14657 * malloc/obstack.c: Merge from gnulib master.
14658 [HAVE_CONFIG_H]: Remove conditional code.
14659 [!_LIBC]: Include config.h.
14660 [!ELIDE_CODE]: Don't include inttypes.h, include
14661 stdint.h unconditionally.
14662 (print_and_abort): Mark as _Noreturn.
14663 (_obstack_allocated_p): Mark as __attribute_pure__.
14664 (obstack_free): Rename to __obstack_free.
14665 [!__attribute__]: Remove conditional code.
14666 * malloc/obstack.h: Merge from gnulib master.
14667 [__cplusplus]: Move conditional down.
14668 [!__attribute_pure__]: Define __attribute_pure__ here
14669 if it is not already defined.
14670 (_obstack_memory_used): Mark as __attribute_pure__.
14671 [!__obstack_free]: Define as obstack_free.
14672 [__GNUC__]: Remove check for ancient NeXT gcc.
14674 2014-07-02 Will Newton <will.newton@linaro.org>
14675 Paul Eggert <eggert@cs.ucla.edu>
14677 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14679 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14681 * resolv/gethnamaddr.c: Add comment warning that the file is
14684 2014-07-01 Carlos O'Donell <carlos@redhat.com>
14686 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14689 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14690 entry for aio_cancel and aio_cancel64.
14691 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14692 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14693 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14694 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14695 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14696 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14697 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14698 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14699 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14700 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14701 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14702 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14703 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14705 2014-07-01 Roland McGrath <roland@hack.frob.com>
14707 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14708 * nptl/pthread_mutex_lock.c: Likewise.
14709 * nptl/pthread_mutex_timedlock.c: Likewise.
14710 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14712 2014-07-01 Richard henderson <rth@redhat.com>
14714 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14715 (__isnan, __isnanl): Remove.
14716 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14718 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14720 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
14722 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14724 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
14726 * resolv/nss_dns/dns-host.c (getanswer_r)
14727 [MULTI_PTRS_ARE_ALIASES]: Remove code.
14729 2014-07-01 Joseph Myers <joseph@codesourcery.com>
14731 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14732 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14734 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14735 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14737 2014-07-01 Roland McGrath <roland@hack.frob.com>
14739 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14740 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14742 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14743 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14745 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14746 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14748 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14749 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14751 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14752 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14753 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14754 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14756 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14757 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14758 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14759 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14760 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14762 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14764 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14765 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14766 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14767 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14768 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14769 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14770 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14771 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14772 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14773 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14774 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14775 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14776 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14777 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14778 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14779 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14780 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14781 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14782 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14783 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14785 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14786 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14787 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14788 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14789 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14790 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14791 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14792 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14794 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
14796 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14797 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14798 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14801 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14805 2014-06-30 Joseph Myers <joseph@codesourcery.com>
14807 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14808 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14810 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14812 * sysdeps/arm/libm-test-ulps: Regenerated.
14814 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
14815 Roland McGrath <roland@hack.frob.com>
14817 * test-skeleton.c (signal_handler): Kill the whole process group
14818 before killing the child individually.
14819 (main): Report any failure on `setpgid'.
14821 2014-06-30 Roland McGrath <roland@hack.frob.com>
14823 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14824 from _TLS_H to _ARM_NPTL_TLS_H.
14825 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14826 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14828 2014-06-30 Joseph Myers <joseph@codesourcery.com>
14831 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14832 (__expm1l): Return argument unchanged when small but not
14835 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14836 include macro name.
14837 (_FP_UNPACK_RAW_1_P): Likewise.
14838 (_FP_PACK_RAW_1): Likewise.
14839 (_FP_PACK_RAW_1_P): Likewise.
14840 (_FP_MUL_MEAT_1_wide): Likewise.
14841 (_FP_MUL_MEAT_DW_1_hard): Likewise.
14842 (_FP_MUL_MEAT_1_hard): Likewise.
14843 (_FP_DIV_MEAT_1_imm): Likewise.
14844 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14845 (_FP_DIV_MEAT_1_udiv): Likewise.
14846 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14847 (_FP_UNPACK_RAW_2): Likewise.
14848 (_FP_UNPACK_RAW_2_P): Likewise.
14849 (_FP_PACK_RAW_2): Likewise.
14850 (_FP_PACK_RAW_2_P): Likewise.
14851 (_FP_MUL_MEAT_DW_2_wide): Likewise.
14852 (_FP_MUL_MEAT_2_wide): Likewise.
14853 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14854 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14855 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14856 (_FP_MUL_MEAT_2_gmp): Likewise.
14857 (_FP_DIV_MEAT_2_udiv): Likewise.
14858 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14859 (_FP_FRAC_SRL_4): Likewise.
14860 (_FP_FRAC_SRST_4): Likewise.
14861 (_FP_FRAC_SRS_4): Likewise.
14862 (_FP_UNPACK_RAW_4): Likewise.
14863 (_FP_UNPACK_RAW_4_P): Likewise.
14864 (_FP_PACK_RAW_4): Likewise.
14865 (_FP_PACK_RAW_4_P): Likewise.
14866 (_FP_MUL_MEAT_DW_4_wide): Likewise.
14867 (_FP_MUL_MEAT_4_wide): Likewise.
14868 (_FP_MUL_MEAT_4_gmp): Likewise.
14869 (umul_ppppmnnn): Likewise.
14870 (_FP_DIV_MEAT_4_udiv): Likewise.
14871 (__FP_FRAC_ADD_4): Likewise.
14872 (__FP_FRAC_SUB_3): Likewise.
14873 (__FP_FRAC_SUB_4): Likewise.
14874 (__FP_FRAC_DEC_3): Likewise.
14875 (__FP_FRAC_DEC_4): Likewise.
14876 (__FP_FRAC_ADDI_4): Likewise.
14877 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14878 (_FP_FRAC_SRL_8): Likewise.
14879 (_FP_FRAC_SRS_8): Likewise.
14881 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14882 include macro name.
14883 (FP_UNPACK_RAW_EP): Likewise.
14884 (FP_PACK_RAW_E): Likewise.
14885 (FP_PACK_RAW_EP): Likewise.
14886 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14887 (_FP_ISSIGNAN): Likewise.
14888 (_FP_ADD_INTERNAL): Likewise.
14889 (_FP_FMA): Likewise.
14890 (_FP_CMP): Likewise.
14891 (_FP_SQRT): Likewise.
14892 (_FP_TO_INT): Likewise.
14893 (_FP_FROM_INT): Likewise.
14894 (FP_EXTEND): Likewise.
14895 (_FP_DIV_MEAT_N_loop): Likewise.
14897 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
14899 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14902 2014-06-29 Joseph Myers <joseph@codesourcery.com>
14905 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14906 result with correct sign in case of exponents that produce
14907 overflow except for X very close to 1.
14909 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
14911 mktime: merge #if/#ifdef usage from glibc
14912 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14913 as that works with both Glibc's and Gnulib's style.
14914 See thread starting at Siddhesh Poyarekar's bug report at:
14915 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14917 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14919 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14920 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14921 * sysdeps/tile/tilegx/memmove.c: Remove file.
14923 2014-06-27 Joseph Myers <joseph@codesourcery.com>
14925 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14926 abi-name definition.
14927 * scripts/soversions.awk: Do not handle or generate ABI lines.
14928 * shlib-versions: Remove ABI entries.
14929 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14930 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14932 2014-06-27 Roland McGrath <roland@hack.frob.com>
14934 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14935 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14936 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14937 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14938 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14939 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14940 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14942 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14944 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14945 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14946 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14947 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14948 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14949 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14950 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14951 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14952 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14953 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14954 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14955 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14956 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14958 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14959 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14960 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14961 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14962 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14963 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14965 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14966 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14968 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14969 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14970 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14971 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14973 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14974 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14975 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14976 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14977 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14978 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14979 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14980 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14982 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14983 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14984 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14985 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14987 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14988 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14990 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14991 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14992 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14993 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14995 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14997 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14998 Identical file removed.
14999 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15001 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15002 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15003 Identical file removed.
15004 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15005 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15006 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15008 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15009 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15010 Identical file removed.
15011 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15012 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15013 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15014 Identical file removed.
15015 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15016 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15017 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15018 Identical file removed.
15019 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15020 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15021 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15022 Identical file removed.
15023 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15025 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15026 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15027 Identical file removed.
15028 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15030 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15031 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15032 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15033 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15034 Identical file removed.
15035 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15037 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15039 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15040 Identical file removed.
15041 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15043 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15044 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15045 Identical file removed.
15046 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15048 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15049 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15050 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15051 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15052 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15053 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15055 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15056 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15057 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15059 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15060 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15061 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15062 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15063 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15065 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
15068 * nscd/nscd.c (monitor_child): Return exit status of child
15069 instead of return value from wait syscall.
15071 2014-06-27 Joseph Myers <joseph@codesourcery.com>
15073 * configure.ac (libc_commonpagesize): Remove variable.
15074 (libc_relro_required): Likewise.
15075 (libc_cv_z_relro): Remove configure test.
15076 * configure: Regenerated.
15077 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15079 (libc_relro_required): Likewise.
15080 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15081 (libc_relro_required): Likewise.
15082 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15083 (libc_relro_required): Likewise.
15084 * sysdeps/arm/preconfigure: Regenerated.
15085 * sysdeps/ia64/preconfigure: Remove file.
15086 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15088 (libc_relro_required): Likewise.
15092 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15093 (__ieee754_yn): Set FE_TONEAREST mode internally and then
15094 recompute overflowing results in original rounding mode.
15095 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15096 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15097 recompute overflowing results in original rounding mode.
15098 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15099 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15100 recompute overflowing results in original rounding mode.
15101 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15102 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15103 recompute overflowing results in original rounding mode.
15104 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15105 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15106 recompute overflowing results in original rounding mode.
15107 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15108 (libc_feholdsetround_ctx): New macro.
15109 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15110 * sysdeps/i386/fpu/libm-test-ulps: Update.
15111 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15113 2014-06-26 Joseph Myers <joseph@codesourcery.com>
15115 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15116 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15117 corresponding .cpsetup call.
15119 2014-06-26 Roland McGrath <roland@hack.frob.com>
15121 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15122 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15123 * sysdeps/arm/Makefile [$(subdir) = csu]
15124 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15125 (static-only-routines): Add aeabi_read_tp here.
15126 (shared-only-routines): Add libc-aeabi_read_tp here.
15127 (CFLAGS-libc-start.c): Add -fexceptions here.
15128 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15129 (sysdep_routines, static-only-routines, shared-only-routines):
15130 Don't add to these here.
15131 (CFLAGS-libc-start.c): Likewise.
15133 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15134 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15135 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15136 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15137 * sysdeps/arm/Makefile [$(subdir) = rt]
15138 (librt-sysdep_routines, librt-shared-only-routines):
15139 Append rt-aeabi_unwind_cpp_pr1 here.
15140 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15141 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15142 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15143 (libpthread-sysdep_routines, libpthread-shared-only-routines):
15144 Append nptl-aeabi_unwind_cpp_pr1 here.
15145 (tests): Filter out tst-cleanupx4 here.
15146 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15147 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15148 Don't do those here.
15150 2014-06-26 Joseph Myers <joseph@codesourcery.com>
15152 * scripts/list-sources.sh: Do not handle ports specially.
15154 2014-06-26 Roland McGrath <roland@hack.frob.com>
15156 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15157 * sysdeps/arm/feupdateenv.c: Likewise.
15159 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15161 2014-06-26 Joseph Myers <joseph@codesourcery.com>
15163 * manual/texinfo.tex: Update to version 2014-05-05.10 with
15164 trailing whitespace removed.
15165 * scripts/config.guess: Update to version 2014-03-23.
15166 * scripts/config.sub: Update to version 2014-05-01
15167 * scripts/install-sh: Update to version 2013-12-25.23.
15168 * scripts/move-if-change: Update from gnulib.
15170 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15172 * debug/memmove_chk.c: Remove pagecopy.h include.
15174 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
15176 * time/mktime.c (leapyear): Remove inline keyword. The code is now
15177 identical to gnulib mktime.
15179 2014-06-26 Joseph Myers <joseph@codesourcery.com>
15181 * configure.ac: Do not test for machine being rs6000. Do not test
15182 for powerpc*-*soft.
15183 * configure: Regenerated.
15186 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15188 * configure: Regenerated.
15189 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15190 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15191 Remove configure test.
15192 * sysdeps/arm/configure: Regenerated.
15193 * sysdeps/nptl/configure.ac: Do not check
15194 libc_cv_asm_cfi_directives.
15195 * sysdeps/nptl/configure: Regenerated.
15196 * sysdeps/x86_64/nptl/configure.ac: Remove file.
15197 * sysdeps/x86_64/nptl/configure: Remove generated file.
15198 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15200 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15202 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15204 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15205 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15206 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15209 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15210 instead of whether it is defined.
15211 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15212 * sysdeps/hppa/dl-machine.h: Likewise.
15213 * sysdeps/ia64/dl-machine.h: Likewise.
15214 * sysdeps/m68k/dl-machine.h: Likewise.
15215 * sysdeps/microblaze/dl-machine.h: Likewise.
15216 * sysdeps/mips/dl-machine.: Likewise.
15217 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15218 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15219 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15220 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15221 * sysdeps/sh/dl-machine.h: Likewise.
15222 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15223 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15224 * sysdeps/tile/dl-machine.h: Likewise.
15225 * sysdeps/x86_64/dl-machine.h: Likewise.
15227 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15229 (verify_persistent_db): Likewise.
15231 2014-06-26 Roland McGrath <roland@hack.frob.com>
15233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15234 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15236 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15239 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15242 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15244 Identical file removed.
15245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15246 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15248 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15250 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15252 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15254 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15257 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15259 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15261 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15264 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15266 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15268 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15270 Identical file removed.
15271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15272 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15274 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15277 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15280 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15282 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15284 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15286 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15288 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15291 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15294 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15296 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15299 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15301 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15303 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15305 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15306 * sysdeps/unix/sysv/linux/s390/Versions
15307 (libpthread: GLIBC_2.19): New version set.
15308 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15309 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15310 (librt: GLIBC_2.3.3): New version set.
15311 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15312 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15313 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15314 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15315 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15316 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15317 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15318 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15319 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15320 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15321 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15322 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15323 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15324 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15325 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15326 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15327 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15328 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15329 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15330 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15331 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15332 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15333 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15334 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
15335 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
15336 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
15337 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15338 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15339 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15340 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15341 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15342 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15343 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15344 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15345 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15346 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15347 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15348 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15349 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15350 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15351 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15352 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15353 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15354 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15355 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15357 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15358 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15359 (__libc_vfork): Define the function under this name.
15360 [!NOT_IN_libc] (__vfork): Make this an alias.
15361 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15362 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15363 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15364 (__libc_vfork): Define the function under this name.
15365 [!NOT_IN_libc] (__vfork): Make this an alias.
15366 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15367 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15368 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15369 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15370 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15371 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15373 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15374 code that was previously under [RESET_PID].
15375 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15376 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15377 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
15379 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
15380 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
15381 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
15382 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
15383 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
15384 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15385 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
15386 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
15387 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
15388 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
15389 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
15391 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
15392 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
15393 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
15394 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
15395 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
15396 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
15397 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
15398 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
15399 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
15400 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
15401 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
15402 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
15403 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
15404 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
15405 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
15406 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
15407 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
15408 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
15409 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
15410 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
15411 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
15412 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
15413 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
15414 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
15415 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
15416 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
15417 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
15418 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
15419 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
15421 2014-06-25 Roland McGrath <roland@hack.frob.com>
15423 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
15424 that was previously under [RESET_PID].
15425 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
15427 2014-06-25 Joseph Myers <joseph@codesourcery.com>
15429 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
15430 not undefine and redefine.
15431 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
15432 [O_CLOEXEC]: Make code unconditional.
15433 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
15434 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15435 <kernel-features.h>.
15436 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
15437 conditional variable definition.
15438 (shm_open) [O_CLOEXEC]: Make code unconditional.
15439 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
15442 * configure.ac (USE_REGPARMS): Don't define here.
15443 * configure: Regenerated.
15444 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15445 * sysdeps/i386/configure: Regenerated.
15447 * nptl/createthread.c: Don't include kernel-features.h.
15448 * nptl/pthread_cancel.c: Likewise.
15449 * nptl/pthread_condattr_setclock.c: Likewise.
15450 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15451 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15452 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15453 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15454 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15455 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15456 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15457 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15458 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15459 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15460 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15461 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15462 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15463 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15464 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15465 * nscd/gai.c: Likewise.
15466 * nss/nss_db/db-open.c: Likewise.
15467 * sysdeps/generic/ldsodefs.h: Likewise.
15468 * sysdeps/sh/nptl/tls.h: Likewise.
15469 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15470 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15471 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15472 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15473 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15474 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15475 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15476 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15477 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15478 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15479 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15480 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15481 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15482 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15483 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15484 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15485 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15486 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15487 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15488 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15489 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15490 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15491 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15492 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15493 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15494 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15495 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15496 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15497 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15498 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15499 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15500 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15501 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15502 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15503 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15504 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15505 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15506 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15507 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15508 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15509 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15510 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15511 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15512 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15513 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15514 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15515 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15516 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15517 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15518 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15519 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15520 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15521 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15522 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15523 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15524 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15525 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15526 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15549 * sysdeps/unix/sysv/linux/pread.c: Likewise.
15550 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15551 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15552 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15553 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15554 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15555 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15556 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15557 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15558 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15559 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15560 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15561 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15562 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15563 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15564 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15565 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15566 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15567 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15568 * sysdeps/unix/sysv/linux/system.c: Likewise.
15569 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15570 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15571 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15572 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15573 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15574 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15575 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15577 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15578 * configure: Regenerated.
15579 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15581 * configure.ac (base_machine): Do not set specially for particular
15583 * configure: Regenerated.
15584 * sysdeps/powerpc/preconfigure: Move machine and base_machine
15585 settings from configure.ac.
15586 * sysdeps/i386/preconfigure: New file.
15587 * sysdeps/s390/preconfigure: Likewise.
15588 * sysdeps/sh/preconfigure: Likewise.
15589 * sysdeps/sparc/preconfigure: Likewise.
15591 2014-06-25 Roland McGrath <roland@hack.frob.com>
15593 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15594 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15595 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15596 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15597 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15598 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15599 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15600 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15601 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15602 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15603 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15604 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15605 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15606 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15607 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15608 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15609 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15610 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15611 * sysdeps/sparc/sparc64/Makefile: ... appended here.
15613 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15614 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15615 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15616 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15617 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15618 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15619 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15620 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15621 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15622 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15623 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15624 * sysdeps/sparc/sparc32/sem_post.c: ... here.
15625 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15626 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15627 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15628 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15629 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15630 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15631 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15632 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15633 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15634 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15635 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15636 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15637 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15638 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15639 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15640 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15641 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15642 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15643 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15644 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15645 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15646 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15647 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15648 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15649 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15650 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15653 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15655 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15658 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15661 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15663 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15666 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15668 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15670 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15672 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15675 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15678 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15680 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15683 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15685 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15687 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15689 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15691 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15694 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15697 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15699 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15702 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15704 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15706 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15708 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15711 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15714 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15716 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15719 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15721 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15723 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15725 2014-06-25 Joseph Myers <joseph@codesourcery.com>
15727 * timezone/checktab.awk: Update from tzcode 2014e.
15728 * timezone/private.h: Likewise.
15729 * timezone/tzfile.h: Likewise.
15730 * timezone/zdump.c: Likewise.
15731 * timezone/zic.c: Likewise.
15733 * sysdeps/unix/sysv/linux/kernel-features.h
15734 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15735 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15736 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15737 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15738 Remove conditional code.
15740 2014-06-25 Will Newton <will.newton@linaro.org>
15742 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15743 (_dl_arm_cap_flags): Add HWCAP2 values.
15744 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15745 (_DL_HWCAP_COUNT): Increase to 37.
15746 (_DL_HWCAP_LAST): New define.
15747 (_DL_HWCAP2_LAST): New define.
15748 (_dl_procinfo): Add support for printing
15750 (_dl_string_hwcap): Use _dl_hwcap_string.
15752 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15756 2014-06-25 Joseph Myers <joseph@codesourcery.com>
15758 * README: Do not mention ports directory.
15760 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15762 * sysdeps/unix/sysv/linux/futimes.c: Do not include
15763 <kernel-features.h>.
15764 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15765 conditional variable definition.
15766 (__futimes): Update comment.
15767 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15768 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15771 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15772 arguments close to 0.
15773 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15775 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15777 * math/auto-libm-test-in: Add more tests of exp10.
15778 * math/auto-libm-test-out: Regenerated.
15779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15781 * sysdeps/unix/sysv/linux/kernel-features.h
15782 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15783 * sysdeps/unix/sysv/linux/readv.c: Do not include
15784 <kernel-features.h>.
15785 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15786 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15787 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15789 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15791 * sysdeps/unix/sysv/linux/writev.c: Do not include
15792 <kernel-features.h>.
15793 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15794 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15795 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15797 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15800 2014-06-25 Will Newton <will.newton@linaro.org>
15802 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15803 comment changes throughout the file. Remove checks
15804 for HAVE_*_H definitions that are not required.
15805 (__gen_tempname): Call abort if an unknown kind value is
15808 2014-06-25 Andreas Schwab <schwab@suse.de>
15811 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15812 scalbln, scalblnf, scalblnl in libc.
15814 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15817 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15818 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15819 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15821 2014-06-24 Roland McGrath <roland@hack.frob.com>
15823 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15824 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15825 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15826 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15828 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15829 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15831 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15832 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15833 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15834 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15835 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15836 * sysdeps/x86/bits/pthreadtypes.h: ... here.
15837 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15838 * sysdeps/x86/bits/semaphore.h: ... here.
15839 * sysdeps/x86/nptl/elide.h: Moved ...
15840 * sysdeps/x86/elide.h: ... here.
15841 * sysdeps/x86_64/nptl/Implies: File removed.
15842 * sysdeps/i386/nptl/Implies: File removed.
15844 2014-06-24 Joseph Myers <joseph@codesourcery.com>
15847 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15848 return the argument for normal arguments with exponent below -64.
15849 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15851 * math/auto-libm-test-in: Add another test of expm1.
15852 * math/auto-libm-test-out: Regenerated.
15855 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15856 calling __erfcl for arguments at least 16.
15857 * math/auto-libm-test-in: Add more tests of erf.
15858 * math/auto-libm-test-out: Regenerated.
15860 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15861 individual architectures.
15862 * sysdeps/unix/sysv/linux/configure: Regenerated.
15863 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15864 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15865 * sysdeps/unix/sysv/linux/powerpc/configure.ac
15866 (ldd_rewrite_script): Define variable.
15867 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15872 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15873 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15874 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15875 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15876 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15877 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15878 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15879 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15881 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15884 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15885 Rename member __data.d to __data.__elision_data.
15887 2014-06-24 Wilco <wdijkstr@arm.com>
15889 * NEWS: Add 16918 to fixed bug list.
15891 2014-06-24 Wilco <wdijkstr@arm.com>
15893 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15895 2014-06-24 Wilco <wdijkstr@arm.com>
15897 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15898 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15899 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15900 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15901 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15902 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15903 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15906 2014-06-24 Wilco <wdijkstr@arm.com>
15908 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15910 2014-06-24 Wilco <wdijkstr@arm.com>
15912 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15913 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15914 * sysdeps/arm/fesetround.c (fesetround): Remove space.
15915 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15917 2014-06-24 Wilco <wdijkstr@arm.com>
15920 * sysdeps/arm/feupdateenv.c (feupdateenv):
15921 Rewrite to reduce FPSCR accesses and fix return value.
15923 2014-06-24 Wilco <wdijkstr@arm.com>
15925 * sysdeps/arm/fclrexcpt.c (feclearexcept):
15926 Optimize to avoid unnecessary FPSCR writes.
15927 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15928 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15929 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15930 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15932 2014-06-24 Wilco <wdijkstr@arm.com>
15934 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15935 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15936 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15937 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15938 Call libc_fetestexcept_vfp.
15939 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15940 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15941 __SOFTFP__ ifdef so that they can be built for softfp.
15943 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15945 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15946 argument type signed char.
15948 * Makerules (check-abi): Dump diff of symlist if the test
15951 2014-06-23 Roland McGrath <roland@hack.frob.com>
15953 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15956 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15957 Remove unused variable ST.
15959 2014-06-23 Joseph Myers <joseph@codesourcery.com>
15963 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15964 small arguments before calling __expm1.
15965 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15966 small arguments before calling __expm1f.
15967 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15968 small arguments before calling __expm1l.
15969 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15971 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15972 * math/auto-libm-test-in: Add more cosh tests. Do not allow
15973 spurious underflow for some cosh tests.
15974 * math/auto-libm-test-out: Regenerated.
15975 * sysdeps/i386/fpu/libm-test-ulps: Update.
15978 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15979 (__ieee754_y1): Set errno if return value overflows.
15980 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15981 (__ieee754_y1f): Set errno if return value overflows.
15982 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15983 (__ieee754_y1l): Set errno if return value overflows.
15984 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15985 (__ieee754_y1l): Set errno if return value overflows.
15986 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15987 * math/auto-libm-test-out: Regenerated.
15989 * math/gen-auto-libm-tests.c: Document use of
15990 ignore-zero-inf-sign.
15991 (input_flag_type): Add value flag_ignore_zero_inf_sign.
15992 (input_flags): Add ignore-zero-inf-sign.
15993 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15994 * math/gen-libm-test.pl (generate_testfile): Handle
15995 ignore-zero-inf-sign.
15996 * math/auto-libm-test-in: Mark some cpow tests with
15997 ignore-zero-inf-sign and some with xfail-rounding.
15998 * math/auto-libm-test-out: Regenerated.
15999 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16000 * sysdeps/i386/fpu/libm-test-ulps: Update.
16001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16004 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16005 overflowing or underflowing operations take place with sign of
16007 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16008 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16009 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16010 (__ieee754_pow): Recompute overflowing and underflowing results in
16011 original rounding mode.
16012 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16013 (__powl_helper): Allow negative argument X and scale negated value
16014 as needed. Avoid passing value outside [-1, 1] to f2xm1.
16015 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16016 overflowing or underflowing operations take place with sign of
16018 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16020 * math/auto-libm-test-in: Add more tests of pow.
16021 * math/auto-libm-test-out: Regenerated.
16022 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16023 (pow_tonearest_test_data): Remove.
16024 (pow_test_tonearest): Likewise.
16025 (pow_towardzero_test_data): Likewise.
16026 (pow_test_towardzero): Likewise.
16027 (pow_downward_test_data): Likewise.
16028 (pow_test_downward): Likewise.
16029 (pow_upward_test_data): Likewise.
16030 (pow_test_upward): Likewise.
16031 (main): Don't call removed functions.
16032 * sysdeps/i386/fpu/libm-test-ulps: Update.
16033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16035 2014-06-23 Roland McGrath <roland@hack.frob.com>
16037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16211 2014-06-23 Will Newton <will.newton@linaro.org>
16212 Wilco <wdijkstr@arm.com>
16214 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16215 implementation. Include get-rounding-mode.h.
16216 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16217 [!libc_feholdsetround_noex_ctx]: Define
16218 libc_feholdsetround_noex_ctx.
16219 [!libc_feholdsetround_noexf_ctx]: Define
16220 libc_feholdsetround_noexf_ctx.
16221 [!libc_feholdsetround_noexl_ctx]: Define
16222 libc_feholdsetround_noexl_ctx.
16223 (libc_feholdsetround_ctx): New function.
16224 (libc_feresetround_ctx): New function.
16225 (libc_feholdsetround_noex_ctx): New function.
16226 (libc_feresetround_noex_ctx): New function.
16228 2014-06-23 Roland McGrath <roland@hack.frob.com>
16230 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16231 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16232 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16233 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16234 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16235 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16237 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16238 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16239 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16240 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16241 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16242 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16243 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16244 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16245 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16246 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16247 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16249 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16251 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16252 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16253 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16254 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16255 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16257 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16258 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16259 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16260 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16261 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16262 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16263 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16264 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16266 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16267 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16269 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16270 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16271 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16272 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16274 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16275 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16276 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16277 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16278 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16279 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16280 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16281 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16282 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16283 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16285 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16287 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16288 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16289 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16290 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16291 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16292 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16293 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16294 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16295 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16296 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16297 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16298 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16299 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16301 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16302 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16303 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16304 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16305 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16306 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16308 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16309 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16310 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16311 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16312 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16314 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16315 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16316 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16317 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16318 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16319 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16320 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16321 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16322 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16323 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16324 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16325 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16326 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16327 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16328 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16329 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16330 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16331 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16332 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16333 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16334 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
16335 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
16336 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
16337 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16338 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16339 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16340 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16341 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16343 2014-06-23 Joseph Myers <joseph@codesourcery.com>
16345 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16346 (FALLOC_FL_COLLAPSE_RANGE): New macro.
16347 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16348 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16349 (IPV6_PMTUDISC_INTERFACE): Likewise.
16350 (IPV6_PMTUDISC_OMIT): Likewise.
16352 2014-06-23 Andreas Schwab <schwab@suse.de>
16354 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16355 Remove unused errout label.
16357 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16359 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16360 macro: hardware supports Vector Crypto instructions.
16362 2014-06-23 Will Newton <will.newton@linaro.org>
16364 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16365 rather than __builtin_expect.
16367 * elf/dl-lookup.c (undefined_msg): Remove variable.
16368 (_dl_lookup_symbol_x): Replace undefined_msg with string
16371 * elf/dl-lookup.c (do_lookup_unique): New function.
16372 (do_lookup_x): Move STB_GNU_UNIQUE handling code
16373 to a separate function.
16375 2014-06-23 Andreas Schwab <schwab@suse.de>
16378 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
16379 before reading the next line.
16381 2014-06-23 Will Newton <will.newton@linaro.org>
16383 * test-skeleton.c (signal_handler): Use printf and %m
16384 rather than perror. Use printf rather than fprintf to
16385 stderr. Use puts rather than fputs to stderr.
16388 2014-06-22 Ludovic Courtès <ludo@gnu.org>
16390 * nscd/nscd.c (thread_info_t): Remove typedef.
16391 (thread_info): Remove variable.
16393 2014-06-21 Allan McRae <allan@archlinux.org>
16395 * NEWS: Mention CVE-2014-4043.
16397 2014-06-20 Roland McGrath <roland@hack.frob.com>
16399 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
16400 * nptl/smp.h: ... here.
16402 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
16404 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
16405 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
16406 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
16407 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
16409 * nptl/allocatestack.c: Include <stack-aliasing.h>.
16410 * nptl/stack-aliasing.h: New file.
16411 * sysdeps/i386/i686/stack-aliasing.h: New file.
16412 * sysdeps/i386/i686/nptl/Makefile: File removed.
16413 * sysdeps/x86_64/stack-aliasing.h: New file.
16414 * sysdeps/x86_64/nptl/Makefile
16415 (CFLAGS-pthread_create.c): Variable removed.
16417 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
16418 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
16420 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
16421 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16424 2014-06-21 Joseph Myers <joseph@codesourcery.com>
16426 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16427 (__ASSUME_SIGFRAME_V2): Remove macro.
16428 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
16429 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16430 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
16431 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
16432 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
16433 Declare as function. Remove conditional macro definitions.
16434 (__default_rt_sa_restorer): Likewise.
16435 (__default_sa_restorer_v1): Remove declaration.
16436 (__default_sa_restorer_v2): Likewise.
16437 (__default_rt_sa_restorer_v1): Likewise.
16438 (__default_rt_sa_restorer_v2): Likewise.
16439 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
16440 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
16441 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
16443 2014-06-20 Roland McGrath <roland@hack.frob.com>
16445 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16446 (libpthread-routines): Add sysdep.
16447 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16448 * sysdeps/unix/sysv/linux/sparc/Versions
16449 (libpthread: GLIBC_2.3.3): New version set.
16450 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16451 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16452 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16453 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16454 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
16455 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16457 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16458 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16459 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16460 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16461 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16462 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16463 * sysdeps/sparc/nptl/sem_init.c: ... here.
16464 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16465 * sysdeps/sparc/nptl/sem_post.c: ... here.
16466 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16467 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16468 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16469 * sysdeps/sparc/nptl/sem_wait.c: ... here.
16470 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16471 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16472 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16473 (libpthread-routines): Add cpu_relax.
16474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16476 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16477 (librt: GLIBC_2.3.3): New version set.
16478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16479 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16480 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16481 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16483 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16484 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16487 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16489 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16491 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16493 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16495 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16498 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16502 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16506 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16508 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16510 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16512 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16514 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16516 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16518 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16520 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16521 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16522 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16523 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16524 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16525 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16526 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16527 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16528 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16529 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16530 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16532 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16533 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16534 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16535 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16536 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16538 2014-06-20 Joseph Myers <joseph@codesourcery.com>
16540 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16541 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16542 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16543 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16544 * nscd/nscd.c: Likewise.
16545 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16546 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16547 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16548 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16550 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16551 <kernel-features.h>.
16552 (init_mq_netlink): Remove conditional have_sock_cloexec
16553 definitions. Remove code conditional on have_sock_cloexec < 0.
16554 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16555 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16556 * sysdeps/unix/sysv/linux/opensock.c: Do not include
16557 <kernel-features.h>.
16558 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16559 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16561 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
16563 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16564 Add tests for memset_chk and memset.
16566 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16569 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
16572 * elf/tst-dl-iter-static.c: New file.
16573 * elf/Makefile (tests-static): Add tst-dl-iter-static.
16575 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16578 2014-06-20 Joseph Myers <joseph@codesourcery.com>
16580 * sysdeps/unix/sysv/linux/kernel-features.h
16581 (__ASSUME_F_GETOWN_EX): Remove macro.
16582 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16583 <kernel-features.h>.
16584 (miss_F_GETOWN_EX): Remove variable or macro.
16585 (do_fcntl): Do not check miss_F_GETOWN_EX.
16586 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16588 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16590 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16591 [!__ASSUME_AT_RANDOM]: Remove conditional code.
16592 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16594 * sysdeps/unix/sysv/linux/kernel-features.h
16595 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16596 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16597 [ADJ_OFFSET_SS_READ]: Make code unconditional.
16598 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16600 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
16603 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16604 Fix calculation of the symbol's value.
16605 * sysdeps/arm/tst-armtlsdescloc.c: New file.
16606 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16607 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16608 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16609 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16610 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16611 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16612 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16613 (modules-names): Add `tst-armtlsdescmod',
16614 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16615 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16616 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16617 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16618 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16619 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16620 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16621 ($(objpfx)tst-armtlsdescloc): New dependency.
16622 ($(objpfx)tst-armtlsdescextnow): Likewise.
16623 ($(objpfx)tst-armtlsdescextlazy): Likewise.
16624 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16625 TLS scheme support.
16626 * sysdeps/arm/configure: Regenerate.
16628 2014-06-20 Joseph Myers <joseph@codesourcery.com>
16630 * include/fcntl.h (__atfct_seterrno): Remove prototype.
16631 (__atfct_seterrno_2): Likewise.
16632 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16633 <kernel-features.h>.
16634 (__ASSUME_ATFCTS): Do not undefine and redefine.
16635 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16636 (__have_atfcts): Remove conditional definition.
16637 (__fxstatat([__NR_fstatat64]: Make code unconditional.
16638 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16639 unreachable if [__ASSUME_ATFCTS].
16640 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16641 not undefine and redefine.
16642 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16643 <kernel-features.h>.
16644 (faccessat) [__NR_faccessat]: Make code unconditional.
16645 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16646 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16647 <kernel-features.h>.
16648 (fchmodat) [__NR_fchmodat]: Make code unconditional.
16649 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16650 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16651 <kernel-features.h>.
16652 (fchownat) [__NR_fchownat]: Make code unconditional.
16653 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16654 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16655 <kernel-features.h>.
16656 (futimesat) [__NR_futimesat]: Make code unconditional.
16657 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16658 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16659 <kernel-features.h>.
16660 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16661 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16662 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16663 <kernel-features.h>.
16664 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16665 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16666 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16667 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16668 <kernel-features.h>.
16669 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16670 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16671 * sysdeps/unix/sysv/linux/linkat.c: Do not include
16672 <kernel-features.h>.
16673 (linkat) [__NR_linkat]: Make code unconditional.
16674 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16675 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16676 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16677 <kernel-features.h>.
16678 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16679 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16680 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16681 <kernel-features.h>.
16682 (mkdirat) [__NR_mkdirat]: Make code unconditional.
16683 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16684 * sysdeps/unix/sysv/linux/openat.c: Do not include
16685 <kernel-features.h>.
16686 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16687 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16688 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16689 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16690 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16691 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16692 <kernel-features.h>.
16693 (readlinkat) [__NR_readlinkat]: Make code unconditional.
16694 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
16695 result of INLINE_SYSCALL directly, not via int variable.
16696 * sysdeps/unix/sysv/linux/renameat.c: Do not include
16697 <kernel-features.h>.
16698 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16699 (renameat) [__NR_renameat]: Make code unconditional.
16700 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16701 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16702 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16703 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16704 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16705 (__ASSUME_ATFCTS): Do not undefine and redefine.
16706 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16707 <kernel-features.h>.
16708 (symlinkat) [__NR_symlinkat]: Make code unconditional.
16709 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16710 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16711 <kernel-features.h>.
16712 (unlinkat) [__NR_unlinkat]: Make code unconditional.
16713 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16714 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16715 (__ASSUME_ATFCTS): Do not undefine and redefine.
16716 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16717 <kernel-features.h>.
16718 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16719 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16720 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16721 <kernel-features.h>.
16722 (__xmknodat) [__NR_mknodat]: Make code unconditional.
16723 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16725 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
16727 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16729 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
16732 * posix/regcomp.c (parse_reg_exp): Deallocate partially
16733 constructed tree before returning error.
16734 * posix/bug-regexp36.c: Expand test case.
16736 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
16739 * math/libm-test.inc (scalbln_test_date):
16740 Add errno expectations.
16741 * math/w_scalblnf.c: New File.
16742 Add wrapper which checks for setting errno to ERANGE.
16743 Add weak_alias for corresponding scalbln function.
16744 * math/w_scalbln.c: Likewise.
16745 * math/w_scalblnl.c: Likewise.
16746 * math/Makefile (libm-calls): Add w_scalbln.
16747 * sysdeps/ieee754/flt-32/s_scalblnf.c:
16748 Remove weak_alias for corresponding scalbln function.
16749 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16750 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16751 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16753 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16754 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16755 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16756 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16757 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16758 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16759 Remove long_double_symbol for scalblnl function in libm, libc.
16760 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16761 Add wrapper which checks for setting errno to ERANGE.
16762 Add long_double_symbol for scalblnl function in libm, libc.
16763 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16764 Remove long_double_symbol for scalblnl in libm.
16765 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16766 Add wrapper which checks for setting errno to ERANGE.
16767 Add long_double_symbol for scalblnl function in libm.
16768 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16769 Do not use wrapper because of own implementation.
16771 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
16773 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16774 3 bytes for __pad1 for x32.
16775 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16777 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
16778 H.J. Lu <hongjiu.lu@intel.com>
16780 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16781 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16782 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16783 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16784 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16786 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
16789 * posix/regcomp.c (parse_expression): Deallocate partially
16790 constructed tree before returning error.
16791 * posix/Makefile.c (tests): Add bug-regex36.
16792 (generated): Add bug-regex36.mtrace.
16793 (tests-special): Add $(objpfx)bug-regex36-mem.out
16794 (bug-regex36-ENV): New variable.
16795 ($(objpfx)bug-regex36-mem.out): New rule.
16796 * posix/bug-regex36.c: New file.
16798 2014-06-19 Will Newton <will.newton@linaro.org>
16800 * malloc/malloc.c (systrim): If extra is zero then return
16803 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16805 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16807 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
16809 * sysdeps/aarch64/strchr.S: New file.
16811 2014-06-18 Joseph Myers <joseph@codesourcery.com>
16814 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16815 from arguments -2 or below.
16816 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16817 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16819 2014-06-18 Andreas Schwab <schwab@suse.de>
16822 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16823 of a bracket expr not to run off the end of the string.
16824 * posix/Makefile (tests): Add tst-fnmatch3.
16825 * posix/tst-fnmatch3.c: New file.
16827 2014-06-18 Joseph Myers <joseph@codesourcery.com>
16829 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16830 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16831 [$(cross-compiling) = no]: Likewise.
16832 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16833 [$(cross-compiling) = no]: Likewise.
16835 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16838 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16839 double, adjusted for any remainder from the high double.
16840 * math/libm-test.inc (nearbyint): Add tests.
16843 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16845 * nptl/sysdeps/powerpc/Makefile: Moved ...
16846 * sysdeps/powerpc/nptl/Makefile: ... here.
16847 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16848 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16849 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16850 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16851 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16852 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16853 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16854 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16855 * nptl/sysdeps/powerpc/tls.h: Moved ...
16856 * sysdeps/powerpc/nptl/tls.h: ... here.
16858 2014-06-16 Joseph Myers <joseph@codesourcery.com>
16861 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16862 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16863 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16864 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16865 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16866 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16867 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16868 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16869 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16871 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
16873 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16875 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
16877 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16880 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16883 2014-06-16 Florian Weimer <fweimer@redhat.com>
16886 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16887 non-executed part of the test.
16889 2014-06-16 Andreas Schwab <schwab@suse.de>
16891 * string/bits/string2.h (strdup, strndup): Update feature guard.
16893 2014-06-14 David S. Miller <davem@davemloft.net>
16895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16897 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
16899 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16900 that was previously under [RESET_PID].
16901 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16903 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16904 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16905 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16906 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16907 (__libc_vfork): New strong alias.
16908 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16910 2014-06-14 Andi Kleen <ak@linux.intel.com>
16912 * sysdeps/generic/elide.h: New file.
16914 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
16916 * Makefile (installed-headers): Adjust path of pthread.h header.
16918 2014-06-13 Roland McGrath <roland@hack.frob.com>
16920 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16921 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16922 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16923 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16925 * nptl/sysdeps/s390/Makefile: Moved ...
16926 * sysdeps/s390/nptl/Makefile: ... here.
16927 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16928 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16929 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16930 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16931 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16932 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16933 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16934 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16935 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16936 * sysdeps/s390/nptl/pthreaddef.h: ... here.
16937 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16938 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16939 * nptl/sysdeps/s390/tls.h: Moved ...
16940 * sysdeps/s390/nptl/tls.h: ... here.
16942 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16943 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16945 2014-06-13 David S. Miller <davem@davemloft.net>
16947 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16949 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16950 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16951 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16953 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16954 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16955 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16956 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16957 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16958 Remove RESET_PID cpp guards.
16959 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16960 Remove RESET_PID cpp guards.
16961 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16963 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
16965 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16968 2014-06-13 Andi Kleen <ak@linux.intel.com>
16970 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16971 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16972 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16973 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16974 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16975 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16976 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16977 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16978 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16979 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16980 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16981 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16982 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16983 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16984 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16985 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16986 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16987 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16988 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16989 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16991 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16992 (pthread_rwlock_rdlock): Add elision.
16993 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16994 (pthread_rwlock_wrlock): Add elision.
16995 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16996 (pthread_rwlock_trywrlock): Add elision.
16997 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16998 (pthread_rwlock_tryrdlock): Add elision.
16999 * nptl/pthread_rwlock_unlock.c: Include elide.h.
17000 (pthread_rwlock_tryrdlock): Add elision unlock.
17001 * nptl/sysdeps/pthread/pthread.h:
17002 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17003 (PTHREAD_RWLOCK_INITIALIZER,
17004 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17005 Handle new elision field.
17006 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17007 * sysdeps/arm/nptl/bits/pthreadtypes.h
17008 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17009 * sysdeps/sh/nptl/bits/pthreadtypes.h
17010 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17011 * sysdeps/tile/nptl/bits/pthreadtypes.h
17012 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17013 * sysdeps/a/nptl/bits/pthreadtypes.h
17014 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17015 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17016 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17017 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17018 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17019 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17020 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17021 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17022 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17023 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17024 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17025 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17026 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17027 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17028 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17029 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17030 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17031 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17032 (elision_init): Set try_xbegin to zero when no RTM.
17033 * sysdeps/x86/nptl/bits/pthreadtypes.h
17034 (pthread_rwlock_t): Change __pad1 to __rwelision.
17035 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17037 2014-06-13 Andi Kleen <ak@linux.intel.com>
17039 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17040 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17041 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17042 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17044 2014-06-13 Meador Inge <meadori@codesourcery.com>
17047 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17048 that the cached result has been set before returning it.
17050 2014-06-12 Roland McGrath <roland@hack.frob.com>
17052 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17053 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17054 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17055 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17056 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17057 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17059 * nptl/sysdeps/sparc/Makefile: Moved ...
17060 * sysdeps/sparc/nptl/Makefile: ... here.
17061 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17062 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17063 * nptl/sysdeps/sparc/tls.h: Moved ...
17064 * sysdeps/sparc/nptl/tls.h: ... here.
17065 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17066 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17067 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17068 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17069 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17070 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17071 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17072 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17073 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17074 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17075 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17076 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17077 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17078 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17079 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17080 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17081 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17082 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17084 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17085 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17087 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17088 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17090 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17091 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17094 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17096 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17097 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17099 * sysdeps/pthread/posix-timer.h: Include <list.h>.
17100 (struct list_links): Type removed.
17101 (struct thread_node, struct timer_node): Replace struct list_links
17102 with struct list_head.
17103 (list_unlink_ip): Likewise.
17104 * sysdeps/pthread/timer_routines.c
17105 (timer_free_list, thread_free_list, thread_active_list): Likewise.
17106 (list_append, list_insbefore): Likewise.
17107 (list_init): Function removed.
17108 (thread_init, init_module): Use INIT_LIST_HEAD instead.
17109 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17110 * sysdeps/pthread/Makefile: ... here, new file.
17112 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17113 * sysdeps/nptl/Implies: ... here.
17114 * sysdeps/unix/sysv/linux/Implies: Add nptl.
17115 * nptl/sysdeps/pthread/list.h: Moved ...
17116 * include/list.h: ... here.
17117 * nptl/sysdeps/pthread/createthread.c: Moved ...
17118 * nptl/createthread.c: ... here.
17119 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17120 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17121 * nptl/pt-longjmp.c: ... here.
17122 * nptl/sysdeps/pthread/Makefile: Moved ...
17123 * sysdeps/nptl/Makefile: ... here.
17124 * nptl/sysdeps/pthread/Subdirs: Moved ...
17125 * sysdeps/nptl/Subdirs: ... here.
17126 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17127 * sysdeps/nptl/aio_misc.h: ... here.
17128 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17129 * sysdeps/nptl/bits/libc-lock.h: ... here.
17130 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17131 * sysdeps/nptl/bits/libc-lockP.h: ... here.
17132 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17133 * sysdeps/nptl/bits/stdio-lock.h: ... here.
17134 * nptl/sysdeps/pthread/configure: Moved ...
17135 * sysdeps/nptl/configure: ... here.
17136 * nptl/sysdeps/pthread/configure.ac: Moved ...
17137 * sysdeps/nptl/configure.ac: ... here.
17138 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17139 * sysdeps/nptl/gai_misc.h: ... here.
17140 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17141 * sysdeps/nptl/librt-cancellation.c: ... here.
17142 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17143 * sysdeps/nptl/malloc-machine.h: ... here.
17144 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17145 * sysdeps/nptl/pthread-functions.h: ... here.
17146 * nptl/sysdeps/pthread/pthread.h: Moved ...
17147 * sysdeps/nptl/pthread.h: ... here.
17148 * nptl/sysdeps/pthread/setxid.h: Moved ...
17149 * sysdeps/nptl/setxid.h: ... here.
17150 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17151 * sysdeps/nptl/sigfillset.c: ... here.
17152 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17153 * sysdeps/nptl/tcb-offsets.h: ... here.
17154 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17155 * sysdeps/nptl/tst-mqueue8x.c: ... here.
17156 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17157 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17158 * nptl/sysdeps/pthread/allocalim.h: Moved ...
17159 * sysdeps/pthread/allocalim.h: ... here.
17160 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17161 * sysdeps/pthread/bits/sigthread.h: ... here.
17162 * nptl/sysdeps/pthread/flockfile.c: Moved ...
17163 * sysdeps/pthread/flockfile.c: ... here.
17164 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17165 * sysdeps/pthread/ftrylockfile.c: ... here.
17166 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17167 * sysdeps/pthread/funlockfile.c: ... here.
17168 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17169 * sysdeps/pthread/posix-timer.h: ... here.
17170 * nptl/sysdeps/pthread/timer_create.c: Moved ...
17171 * sysdeps/pthread/timer_create.c: ... here.
17172 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17173 * sysdeps/pthread/timer_delete.c: ... here.
17174 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17175 * sysdeps/pthread/timer_getoverr.c: ... here.
17176 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17177 * sysdeps/pthread/timer_gettime.c: ... here.
17178 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17179 * sysdeps/pthread/timer_routines.c: ... here.
17180 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17181 * sysdeps/pthread/timer_settime.c: ... here.
17182 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17183 * sysdeps/pthread/tst-timer.c: ... here.
17184 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17185 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17187 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17188 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17190 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17191 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17192 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17193 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17194 Update #include target.
17195 * nptl/sysdeps/i386/i686/Makefile: Moved ...
17196 * sysdeps/i386/i686/nptl/Makefile: ... here.
17197 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17198 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17199 Update #include target.
17200 * nptl/sysdeps/i386/i686/tls.h: Moved ...
17201 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
17202 * nptl/sysdeps/i386/Makefile: Moved ...
17203 * sysdeps/i386/nptl/Makefile: ... here.
17204 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17205 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17206 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17207 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17208 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17209 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17210 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17211 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17212 * sysdeps/i386/nptl/pthreaddef.h: ... here.
17213 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17214 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17215 * nptl/sysdeps/i386/tls.h: Moved ...
17216 * sysdeps/i386/nptl/tls.h: ... here.
17218 * sysdeps/sh/Makefile [$(subdir) = csu]
17219 (gen-as-const-headers): Add tcb-offsets.sym.
17220 * nptl/sysdeps/sh/Makefile: File removed.
17221 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17222 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17223 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17224 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17225 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17226 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17227 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17228 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17229 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17230 * sysdeps/sh/nptl/pthreaddef.h: ... here.
17231 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17232 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17233 * nptl/sysdeps/sh/tls.h: Moved ...
17234 * sysdeps/sh/nptl/tls.h: ... here.
17235 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17236 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17237 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17238 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17239 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17240 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17241 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17242 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17243 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17244 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17245 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17246 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17247 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17248 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17249 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17250 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17251 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17252 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17253 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17254 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17255 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17256 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17257 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17258 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17259 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17261 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17262 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17264 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17265 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17266 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17267 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17268 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17269 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17270 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17271 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17272 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17273 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17274 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17275 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17276 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17277 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17278 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17279 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17280 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17281 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17282 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17284 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
17286 * posix/spawn_faction_addopen.c: Include string.h.
17288 2014-06-11 Roland McGrath <roland@hack.frob.com>
17290 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17291 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17292 * nptl/sysdeps/x86_64/Makefile: Moved ...
17293 * sysdeps/x86_64/nptl/Makefile: ... here.
17294 * nptl/sysdeps/x86_64/configure: Moved ...
17295 * sysdeps/x86_64/nptl/configure: ... here.
17296 * nptl/sysdeps/x86_64/configure.ac: Moved ...
17297 * sysdeps/x86_64/nptl/configure.ac: ... here.
17298 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17299 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17300 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17301 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17302 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17303 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17304 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17305 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17306 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17307 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17308 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17309 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17310 * nptl/sysdeps/x86_64/tls.h: Moved ...
17311 * sysdeps/x86_64/nptl/tls.h: ... here.
17312 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17313 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17314 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17315 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17317 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17319 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17323 2014-06-11 Joseph Myers <joseph@codesourcery.com>
17325 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17327 [POSIX] (off_t): Likewise.
17328 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17329 [POSIX] (S_ISBLK): Require macro.
17330 [POSIX] (S_ISCHR): Likewise.
17331 [POSIX] (S_ISDIR): Likewise.
17332 [POSIX] (S_ISFIFO): Likewise.
17333 [POSIX] (S_ISREG): Likewise.
17334 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
17336 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
17338 [POSIX] (time_t): Likewise.
17339 [POSIX] (timer_t): Likewise.
17341 2014-06-11 Florian Weimer <fweimer@redhat.com>
17344 * posix/spawn_int.h (struct __spawn_action): Make the path string
17345 non-const to support deallocation.
17346 * posix/spawn_faction_addopen.c
17347 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17348 * posix/spawn_faction_destroy.c
17349 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
17350 path in all spawn_do_open actions.
17351 * posix/tst-spawn.c (do_test): Exercise the copy operation in
17352 posix_spawn_file_actions_addopen.
17354 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
17356 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17357 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17358 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17359 conditional code always true.
17360 (__libc_vfork): New alias.
17362 2014-06-11 Roland McGrath <roland@hack.frob.com>
17364 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17365 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17367 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17369 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17370 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17372 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17373 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17375 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17376 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17378 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17380 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17381 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
17382 multiarch strcmp for PPC64.
17383 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
17384 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
17385 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
17386 multiarch optimizations.
17387 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17388 (__libc_ifunc_impl_list): Likewise.
17390 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17392 * benchtests/scripts/validate_benchout.py: New script.
17393 * benchtests/Makefile (bench-func): Call it.
17394 * benchtests/scripts/benchout.schema.json: New file.
17396 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
17398 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
17399 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
17400 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
17401 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
17402 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
17403 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17404 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
17405 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17406 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
17407 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
17408 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
17409 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
17410 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
17411 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
17412 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
17413 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
17414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
17416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
17418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
17420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
17421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
17423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
17425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
17427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
17429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
17431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
17432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
17434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
17436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
17438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
17440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
17442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
17443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
17445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17517 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17518 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17519 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17520 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17521 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17523 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17525 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17526 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17527 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17528 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17529 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17530 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17531 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17532 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17533 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17534 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17535 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17536 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17537 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17539 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17540 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17542 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17543 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17544 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17545 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17547 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17548 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17549 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17550 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17551 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17552 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17553 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17555 2014-06-10 Wilco <wdijkstr@arm.com>
17557 * math/test-fenv-return.c: New file.
17558 * math/Makefile: Add new test test-fenv-return.
17560 2014-06-10 Joseph Myers <joseph@codesourcery.com>
17563 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17564 when x - 1 is zero.
17565 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17566 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17567 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17568 0.0L for an argument of 1.0L.
17569 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17571 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17572 value when x - 1 is zero.
17573 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17574 * sysdeps/i386/fpu/libm-test-ulps: Update.
17575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17577 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
17580 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17582 2014-06-09 Roland McGrath <roland@hack.frob.com>
17584 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17585 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17587 2014-06-09 Roland McGrath <roland@hack.frob.com>
17589 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17590 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17592 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17593 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17595 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17596 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17598 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17599 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17601 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17602 if not already defined.
17603 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17604 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17605 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17606 (TLS_INIT_TP): Use it.
17607 (TLS_DEFINE_INIT_TP): New macro.
17608 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17610 2014-06-09 Joseph Myers <joseph@codesourcery.com>
17612 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17614 [POSIX] (IXANY): Likewise.
17615 [POSIX] (OLCUC): Likewise.
17616 [POSIX || POSIX2008] (CBAUD): Do not allow.
17617 [POSIX || POSIX2008] (DEFECHO): Likewise.
17618 [POSIX || POSIX2008] (ECHOCTL): Likewise.
17619 [POSIX || POSIX2008] (ECHOKE): Likewise.
17620 [POSIX || POSIX2008] (ECHOPRT): Likewise.
17621 [POSIX || POSIX2008] (EXTA): Likewise.
17622 [POSIX || POSIX2008] (EXTB): Likewise.
17623 [POSIX || POSIX2008] (FLUSHO): Likewise.
17624 [POSIX || POSIX2008] (LOBLK): Likewise.
17625 [POSIX || POSIX2008] (PENDIN): Likewise.
17626 [POSIX || POSIX2008] (SWTCH): Likewise.
17627 [POSIX || POSIX2008] (VDISCARD): Likewise.
17628 [POSIX || POSIX2008] (VDSUSP): Likewise.
17629 [POSIX || POSIX2008] (VLNEXT): Likewise.
17630 [POSIX || POSIX2008] (VREPRINT): Likewise.
17631 [POSIX || POSIX2008] (VSTATUS): Likewise.
17632 [POSIX || POSIX2008] (VWERASE): Likewise.
17633 (B*): Change to B[0123456789]*.
17634 * conform/data/time.h-data [POSIX || UNIX98]
17635 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17636 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17637 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17638 [POSIX] (tm_*): Do not allow.
17640 2014-06-07 Joseph Myers <joseph@codesourcery.com>
17642 * Makefile (install): Don't set LANGUAGE.
17643 * Makefile.in (install): Likewise.
17644 * assert/Makefile (test-assert-ENV): Remove variable.
17645 (test-assert-perr-ENV): Likewise.
17646 * elf/Makefile (neededtest4-ENV): Likewise.
17647 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17648 [$(cross-compiling) = no]: Don't set LANGUAGE.
17649 * io/ftwtest-sh (LANG): Remove variable.
17650 * libio/Makefile (tst-widetext-ENV): Likewise.
17651 * manual/install.texi (Running make install): Don't refer to
17652 environment settings for make install.
17653 * INSTALL: Regenerated.
17654 * nptl/tst-tls6.sh: Don't set LANG.
17655 * posix/globtest.sh (LANG): Remove variable.
17656 * string/Makefile (tester-ENV): Likewise.
17657 (inl-tester-ENV): Likewise.
17658 (noinl-tester-ENV): Likewise.
17659 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17660 [$(cross-compiling) = no]: Don't set LANGUAGE.
17661 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17662 without explicit environment settings.
17664 2014-06-06 Roland McGrath <roland@hack.frob.com>
17666 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17667 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17668 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17669 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17671 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
17673 * crypt/crypt-private.h [DOS]: Add some includes taken from the
17674 other files in the crypt directory.
17675 * crypt/crypt.c: Remove duplicate includes.
17676 * crypt/crypt-entry.c: Likewise.
17677 * crypt/crypt_util.c: Likewise.
17679 2014-06-06 Joseph Myers <joseph@codesourcery.com>
17681 * Makeconfig (run-program-env): New variable.
17682 (run-program-prefix-before-env): Likewise.
17683 (run-program-prefix-after-env): Likewise.
17684 (run-program-prefix): Define in terms of new variables.
17685 (built-program-cmd-before-env): New variable.
17686 (built-program-cmd-after-env): Likewise.
17687 (built-program-cmd): Define in terms of new variables.
17688 (test-program-prefix-before-env): New variable.
17689 (test-program-prefix-after-env): Likewise.
17690 (test-program-prefix): Define in terms of new variables.
17691 (test-program-cmd-before-env): New variable.
17692 (test-program-cmd-after-env): Likewise.
17693 (test-program-cmd): Define in terms of new variables.
17694 * Rules (make-test-out): Use $(run-program-env).
17695 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17696 (help): Do not mention environment variables. Mention
17697 --timeoutfactor option.
17698 (timeoutfactor): New variable.
17699 (blacklist_exports): Remove function.
17700 (exports): Remove variable.
17701 (command): Do not include ${exports}.
17702 * manual/install.texi (Configuring and compiling): Do not mention
17703 test wrappers preserving environment variables. Mention that last
17704 assignment to a variable must take precedence.
17705 * INSTALL: Regenerated.
17706 * benchtests/Makefile (run-bench): Use $(run-program-env).
17707 * catgets/Makefile ($(objpfx)test1.cat): Use
17708 $(built-program-cmd-before-env), $(run-program-env) and
17709 $(built-program-cmd-after-env).
17710 ($(objpfx)test2.cat): Do not specify environment variables
17712 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17713 $(run-program-env) and $(built-program-cmd-after-env).
17714 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17715 $(run-program-env) and $(test-program-cmd-after-env).
17716 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17718 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17719 run_program_env and test_program_cmd_after_env arguments.
17720 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17721 * elf/tst-pathopt.sh: Use run_program_env argument.
17722 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17723 $(test-wrapper-env) and $(run-program-env).
17724 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17725 run_program_env arguments.
17726 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17727 * intl/Makefile ($(objpfx)tst-gettext.out): Use
17728 $(test-program-prefix-before-env), $(run-program-env) and
17729 $(test-program-prefix-after-env).
17730 ($(objpfx)tst-gettext2.out): Likewise.
17731 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17732 run_program_env and test_program_prefix_after_env arguments.
17733 * intl/tst-gettext2.sh: Likewise.
17734 * intl/tst-gettext4.sh: Do not set environment variables
17736 * intl/tst-gettext6.sh: Likewise.
17737 * intl/tst-translit.sh: Likewise.
17738 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17739 $(test-program-prefix-before-env), $(run-program-env) and
17740 $(test-program-prefix-after-env).
17741 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17742 run_program_env and test_program_prefix_after_env arguments.
17743 * math/Makefile (run-regen-ulps): Use $(run-program-env).
17744 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17745 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
17746 explicitly with each use of ${test_wrapper_env}.
17747 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17748 $(test-program-prefix-before-env), $(run-program-env) and
17749 $(test-program-prefix-after-env).
17750 * posix/tst-getconf.sh: Do not set environment variables
17752 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17753 run_program_env and test_program_prefix_after_env arguments.
17754 * stdio-common/tst-printf.sh: Do not set environment variables
17756 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17757 $(test-program-prefix-before-env), $(run-program-env) and
17758 $(test-program-prefix-after-env).
17759 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17760 run_program_env and test_program_prefix_after_env arguments.
17761 Split $test calls into $test_pre and $test.
17762 * timezone/Makefile (build-testdata): Use
17763 $(built-program-cmd-before-env), $(run-program-env) and
17764 $(built-program-cmd-after-env).
17766 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17768 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17769 strlen for non SHARED builds.
17771 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17773 * nptl/allocatestack.c (check_list): Inlined function...
17774 (__reclaim_stacks): ... here.
17776 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
17779 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17782 2014-06-05 Joseph Myers <joseph@codesourcery.com>
17784 * Rules (make-test-out): Include
17785 LOCPATH=$(common-objpfx)localedata in default environment.
17786 * debug/Makefile (tst-chk1-ENV): Remove variable.
17787 (tst-chk2-ENV): Likewise.
17788 (tst-chk3-ENV): Likewise.
17789 (tst-chk4-ENV): Likewise.
17790 (tst-chk5-ENV): Likewise.
17791 (tst-chk6-ENV): Likewise.
17792 (tst-lfschk1-ENV): Likewise.
17793 (tst-lfschk2-ENV): Likewise.
17794 (tst-lfschk3-ENV): Likewise.
17795 (tst-lfschk4-ENV): Likewise.
17796 (tst-lfschk5-ENV): Likewise.
17797 (tst-lfschk6-ENV): Likewise.
17798 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17799 (tst-iconv7-ENV): Likewise.
17800 * intl/Makefile (LOCPATH-ENV): Likewise.
17801 (tst-codeset-ENV): Likewise.
17802 (tst-gettext3-ENV): Likewise.
17803 (tst-gettext5-ENV): Likewise.
17804 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17805 (tst-fopenloc-ENV): Likewise.
17806 (tst-fgetws-ENV): Remove variable.
17807 (tst-ungetwc1-ENV): Likewise.
17808 (tst-ungetwc2-ENV): Likewise.
17809 (bug-ungetwc2-ENV): Likewise.
17810 (tst-swscanf-ENV): Likewise.
17811 (bug-ftell-ENV): Likewise.
17812 (tst-fgetwc-ENV): Likewise.
17813 (tst-fseek-ENV): Likewise.
17814 (tst-ftell-partial-wide-ENV): Likewise.
17815 (tst-ftell-active-handler-ENV): Likewise.
17816 (tst-ftell-append-ENV): Likewise.
17817 * posix/Makefile (tst-fnmatch-ENV): Likewise.
17818 (tst-regexloc-ENV): Likewise.
17819 (bug-regex1-ENV): Likewise.
17820 (tst-regex-ENV): Likewise.
17821 (tst-regex2-ENV): Likewise.
17822 (bug-regex5-ENV): Likewise.
17823 (bug-regex6-ENV): Likewise.
17824 (bug-regex17-ENV): Likewise.
17825 (bug-regex18-ENV): Likewise.
17826 (bug-regex19-ENV): Likewise.
17827 (bug-regex20-ENV): Likewise.
17828 (bug-regex22-ENV): Likewise.
17829 (bug-regex23-ENV): Likewise.
17830 (bug-regex25-ENV): Likewise.
17831 (bug-regex26-ENV): Likewise.
17832 (bug-regex30-ENV): Likewise.
17833 (bug-regex32-ENV): Likewise.
17834 (bug-regex33-ENV): Likewise.
17835 (bug-regex34-ENV): Likewise.
17836 (bug-regex35-ENV): Likewise.
17837 (tst-rxspencer-ENV): Likewise.
17838 (tst-rxspencer-no-utf8-ENV): Likewise.
17839 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17840 (tst-sscanf-ENV): Likewise.
17841 (tst-swprintf-ENV): Likewise.
17842 (tst-swscanf-ENV): Likewise.
17843 (test-vfprintf-ENV): Likewise.
17844 (scanf13-ENV): Likewise.
17845 (bug14-ENV): Likewise.
17846 (tst-grouping-ENV): Likewise.
17847 * stdlib/Makefile (tst-strtod-ENV): Likewise.
17848 (tst-strtod3-ENV): Likewise.
17849 (tst-strtod4-ENV): Likewise.
17850 (tst-strtod5-ENV): Likewise.
17851 (testmb2-ENV): Likewise./
17852 * string/Makefile (tst-strxfrm-ENV): Likewise.
17853 (tst-strxfrm2-ENV): Likewise.
17854 (bug-strcoll1-ENV): Likewise.
17855 (test-strcasecmp-ENV): Likewise.
17856 (test-strncasecmp-ENV): Likewise.
17857 * time/Makefile (tst-strptime-ENV): Likewise.
17858 (tst-ftime_l-ENV): Likewise.
17859 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17860 (tst-mbrtowc-ENV): Likewise.
17861 (tst-wcrtomb-ENV): Likewise.
17862 (tst-mbrtowc2-ENV): Likewise.
17863 (tst-c16c32-1-ENV): Likewise.
17864 (tst-mbsnrtowcs-ENV): Likewise.
17866 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
17868 * manual/resource.texi (How to get information about the memory
17869 subsystem?): Fix typo.
17870 Reported by Peon de la Parra Ivan <peon@keba.com>
17872 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
17875 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17876 (pthread_spin_lock): Branch out of spin loop to proper location.
17877 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17878 (pthread_spin_lock): Likewise.
17880 * nptl/tst-spin4.c: New test.
17881 * nptl/Makefile (tests): Add tst-spin4.
17883 2014-06-03 Andreas Schwab <schwab@suse.de>
17886 * resolv/res_send.c (send_dg): Reload file descriptor after
17889 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
17891 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17893 2014-06-03 Richard Henderson <rth@redhat.com>
17895 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17896 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17897 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17898 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
17899 in the SAVE_PID block.
17900 (__libc_vfork): New alias.
17901 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17903 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17904 child in registers, not on the stack. Remove RESET_PID conditionals.
17905 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17907 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
17909 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17911 2014-06-03 Wilco <wdijkstr@arm.com>
17913 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17914 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17915 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17916 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17917 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17920 2014-06-03 Wilco <wdijkstr@arm.com>
17922 * sysdeps/aarch64/fpu/math_private.h
17923 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17924 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17925 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17926 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17929 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17931 * crypt/crypt-private.h: Include ufc-crypt.h.
17932 (__b64_from_24bit): Declare extern.
17933 * crypt/crypt_util.c(__b64_from_24bit): New function.
17934 (b64t): New static const variable.
17935 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17936 (b64t): Remove variable.
17937 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17938 * crypt/sha256-crypt.c: Include crypt-private.h.
17939 (b64t): Remove variable.
17940 (__sha256_crypt_r): Remove b64_from_24bit and replace
17941 with __b64_from_24bit.
17942 * crypt/sha512-crypt.c: Likewise.
17944 2014-06-02 Roland McGrath <roland@hack.frob.com>
17946 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17947 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17948 Label the code __libc_vfork rather than __vfork.
17949 [!NOT_IN_libc] (vfork): Define as weak alias.
17950 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17951 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17952 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17954 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17956 * malloc/malloc.c (malloc_info): Fix format specifier for
17959 2014-06-02 Wilco <wdijkstr@arm.com>
17961 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17964 2014-06-02 Wilco <wdijkstr@arm.com>
17967 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17968 Rewrite to reduce FPCR/FPSR accesses.
17970 2014-06-01 David S. Miller <davem@davemloft.net>
17972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17974 2014-05-31 David S. Miller <davem@davemloft.net>
17976 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17977 to occur in round to nearest mode when |x| >= 2.0
17979 2014-05-30 Richard Henderson <rth@twiddle.net>
17981 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17982 (PSEUDO_RET_NOERRNO): Remove.
17983 (ret): Don't redefine.
17984 (ret_NOERRNO): Define in terms of ret.
17985 (ret_ERRVAL): Likewise.
17987 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17988 use of PSEUDO_RET; perform the error check directly.
17990 2014-05-30 Marko Myllynen <myllynen@redhat.com>
17992 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17995 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17997 * malloc/malloc (malloc_info): Fix formatting.
17999 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18000 Roland McGrath <roland@hack.frob.com>
18002 * malloc/malloc (malloc_info): Also print mmapped statistics.
18004 2014-05-30 Roland McGrath <roland@hack.frob.com>
18006 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18007 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18009 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
18011 * malloc/malloc.c (malloc_info): Inline mi_arena.
18013 2014-05-29 Richard Henderson <rth@twiddle.net>
18015 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18016 Remove comma before expanding ASM_ARGS_##nr.
18017 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18018 Make _x0 a strict output; make _x8 a strict input; adjust expansion
18020 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18021 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18022 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18023 (ASM_ARGS_1): Add leading comma.
18025 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18026 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18027 to __errno_location.
18028 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18029 Remove the expected plt for __errno_location.
18031 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18032 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18035 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18036 Always allocate 64 bytes of stack frame. Use ldp/stp to create
18037 it and break it down.
18038 (DOCARGS_0, DOCARGS_1): Do nothing.
18039 (DOCARGS_2): Update to store into the new stack frame.
18040 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18041 (UNDOCARGS_1): Update to restore from the new stack frame.
18042 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18043 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18045 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18046 (SINGLE_THREAD_P): New parameter for result regno.
18047 (PSEUDO): Update to match; use cbz instead of beq.
18049 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18050 Use ENTRY to define the _nocancel entry point. Share the syscall
18051 and syscall error check paths with the cancel path.
18054 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18055 whitespace; tabs before and after asm mnemonics.
18057 2014-05-29 Eric Wong <normalperson@yhbt.net>
18060 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18061 Call fstat64 or stat64 internally, depending on arguments passed.
18062 Replace stat buffer argument with file descriptor argument.
18063 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18064 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18065 Pass fd to __internal_statvfs instead of calling fstat64.
18066 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18067 Pass fd to __internal_statvfs64 instead of calling fstat64.
18068 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18069 Pass -1 to __internal_statvfs instead of calling stat64.
18070 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18071 Pass -1 to __internal_statvfs64 instead of calling stat64.
18073 2014-05-28 Roland McGrath <roland@hack.frob.com>
18075 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18076 that was previously under [RESET_PID].
18077 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18079 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18080 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18082 2014-05-27 Roland McGrath <roland@hack.frob.com>
18084 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18086 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18087 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18089 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
18091 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18093 2014-05-27 Andreas Schwab <schwab@suse.de>
18095 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18097 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18098 * elf/rtld.c (init_tls, dl_main): Likewise.
18099 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18100 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18101 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18102 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18103 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18104 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18105 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18106 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18107 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18108 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18109 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18110 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18111 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18112 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18113 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18114 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18115 * sysdeps/generic/tls.h: Update description.
18117 2014-05-27 Will Newton <will.newton@linaro.org>
18120 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18121 and restore r2 rather than just restoring.
18123 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18126 * libio/tst-ftell-append.c: New test case.
18127 * libio/Makefile (tests): Add test case.
18128 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18130 * libio/wfileops.c (do_ftell_wide): Likewise.
18132 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18136 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18140 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18141 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18142 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18143 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18144 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18145 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18146 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18149 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18152 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18153 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18154 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18155 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18156 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18158 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18159 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18161 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18163 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18165 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18166 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18167 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18169 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18170 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18171 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18172 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18174 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18177 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18180 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18183 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18187 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18190 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18195 conditional [RESET_PID].
18196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18197 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18199 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18204 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18205 (__libc_vfork): New strong alias.
18206 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18208 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18213 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18214 (__libc_vfork): New strong alias.
18215 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18217 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18220 2014-05-26 Carlos O'Donell <carlos@redhat.com>
18222 * malloc/malloc.c (mi_arena): New function.
18223 (malloc_info): Remove nested function mi_arena. Call non-nosted
18226 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18228 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18230 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18231 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18232 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18233 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18234 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18235 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18236 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18238 2014-05-26 Andreas Schwab <schwab@suse.de>
18241 * locale/programs/repertoire.c (repertoire_read): Add slash
18242 between I18NPATH element and file name.
18243 * locale/programs/locfile.c (locfile_read): Likewise.
18245 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
18247 * nptl/pthread_mutexattr_settype.c
18248 (__pthread_mutexattr_settype):
18249 Disable lock elision for PTHREAD_MUTEX_NORMAL.
18251 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
18253 * nptl/tst-mutex5 (do_test):
18254 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18256 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18258 * benchtests/README: Document 'init' directive.
18259 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18261 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18262 (parse_file): Recognize 'init' directive.
18264 2014-05-26 Kyle McMartin <kyle@redhat.com>
18267 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18268 alignment of struct pthread.
18270 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18273 * nscd/netgroupcache.c (addgetnetgrentX): Look for
18274 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18275 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18276 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18278 2014-05-25 Richard Henderson <rth@twiddle.net>
18280 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18281 (SINGLE_THREAD_P_PIC): Remove.
18282 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18283 (SINGLE_THREAD_P_PIC): Remove.
18285 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18286 branch to syscall error ...
18287 (PSEUDO): ... here.
18288 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18289 from __local_syscall_error to .Lsyscall_error.
18290 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18291 (SYSCALL_ERROR): Update label name.
18293 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18294 Do not use DOARGS/UNDOARGS.
18295 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18296 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18297 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18298 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18299 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18301 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18304 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18305 define if !NOT_IN_libc.
18306 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18307 define with non-default symbol versions.
18309 2014-05-23 Richard Henderson <rth@twiddle.net>
18311 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18312 (vfork, __vfork): Define via compat_symbol.
18314 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18315 [!HAVE_IFUNC] (vfork_compat): Remove.
18316 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18318 2014-05-23 Joseph Myers <joseph@codesourcery.com>
18321 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18322 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18325 2014-05-23 Richard Henderson <rth@twiddle.net>
18327 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18328 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18329 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18330 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18332 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18333 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18334 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
18335 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
18336 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
18337 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18338 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18339 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18340 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18341 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18342 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18343 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18344 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18345 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18346 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18347 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18348 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18349 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18350 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18351 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18352 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18353 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18354 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18355 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18356 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18357 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18358 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18359 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18360 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18361 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18362 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18363 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18364 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18365 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18366 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18367 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18368 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18369 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18370 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18371 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18372 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18373 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18374 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18375 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18376 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18377 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
18378 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
18379 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
18380 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
18381 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
18382 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
18383 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
18384 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
18385 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
18386 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
18387 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
18389 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
18390 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
18391 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
18392 before exiting on error.
18393 (__libc_vfork): New strong alias.
18394 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
18395 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
18397 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
18398 that was previously under [RESET_PID].
18399 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
18401 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
18403 2014-05-23 Joseph Myers <joseph@codesourcery.com>
18406 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
18407 value when x - 1 is zero.
18408 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
18409 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18410 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
18411 0.0L for an argument of 1.0L.
18412 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
18414 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
18415 value when x - 1 is zero.
18416 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
18417 * sysdeps/i386/fpu/libm-test-ulps: Update.
18418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18420 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
18422 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
18423 alphasort and versionsort.
18425 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18427 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
18429 [copysignf]: Likewise.
18431 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18433 * crypt/md5-crypt.c: Fix formatting.
18435 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
18437 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
18438 (b64_from_24bit): New function.
18440 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18442 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
18443 libc_hidden_builtin_def to ifunc.
18444 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18445 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18447 2014-05-21 Roland McGrath <roland@hack.frob.com>
18449 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18450 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18452 2014-05-21 Joseph Myers <joseph@codesourcery.com>
18454 * nscd/Depend (linuxthreads): Remove.
18456 * resolv/Depend (linuxthreads): Remove.
18457 * rt/Depend (linuxthreads): Remove.
18459 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18460 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18461 $(common-objpfx)elf/.
18462 (link-libc-before-gnulib): Likewise.
18463 (elfobjdir): Remove variable.
18464 * Makefile (install): Use $(elf-objpfx) instead of
18465 $(common-objpfx)elf/.
18466 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18468 (link-libc-deps): Likewise.
18469 ($(common-objpfx)libc.so): Likewise.
18470 ($(common-objpfx)linkobj/libc.so): Likewise.
18471 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18472 instead of $(common-objpfx)elf/.
18473 (symbolic-link-list): Likewise.
18474 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18475 [$(cross-compiling) = no]: Likewise.
18476 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18478 (static-gnulib-arch): Likewise.
18479 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18480 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18481 $(common-objpfx)elf/.
18483 2014-05-21 Richard Henderson <rth@redhat.com>
18485 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18486 (SINGLE_THREAD_P): Use the correct width load. Fold
18487 into the ldr offset.
18489 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18490 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18492 2014-05-20 Joseph Myers <joseph@codesourcery.com>
18494 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18495 (libgcc_s_resume): Use __attribute_used__.
18496 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18499 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18501 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18502 optimization when used with float constants.
18504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18506 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
18509 * locale/nl_langinfo_l.c: Make direct reference to every
18510 _nl_current_CATEGORY symbol.
18511 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18512 (tests-static): Add tst-langinfo-static.
18513 (tests-special): Add tst-langinfo-static.out.
18514 ($(objpfx)tst-langinfo.out): Redirect output.
18515 ($(objpfx)tst-langinfo-static.out): New.
18516 * localedata/tst-langinfo.sh: Send output to stdout.
18517 * localedata/tst-langinfo-static.c: New file.
18520 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18521 when the shift amount is modulo the limb size.
18523 2014-05-20 Richard Henderson <rth@redhat.com>
18526 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18527 Change type of sa_flags from unsigned int to int.
18530 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18532 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18534 2014-05-20 Will Newton <will.newton@linaro.org>
18536 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18537 Test the return value of the system call in the nocancel case.
18539 2014-05-20 Will Newton <will.newton@linaro.org>
18540 Yvan Roux <yvan.roux@linaro.org>
18542 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18543 #include of asm/ptrace.h.
18544 (PTRACE_GET_THREAD_AREA): Remove #undef.
18545 (PTRACE_GETHBPREGS): Likewise.
18546 (PTRACE_SETHBPREGS): Likewise.
18547 (struct user_regs_struct): New structure.
18548 (struct user_fpsimd_struct): New structure.
18549 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18550 #include of asm/ptrace.h and second #include of sys/user.h.
18551 (PTRACE_GET_THREAD_AREA): Remove #undef.
18552 (PTRACE_GETHBPREGS): Likewise.
18553 (PTRACE_SETHBPREGS): Likewise.
18554 (ELF_NGREG): Use new struct user_regs_struct.
18555 (elf_fpregset_t): Use new struct user_fpsimd_struct.
18557 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18559 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18560 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18562 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18565 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18566 membar to avoid block loads/stores to overlap previous stores.
18568 2014-05-17 Richard Henderson <rth@redhat.com>
18570 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18571 Create the __##syscall_name##_nocancel entry point.
18572 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18573 Remove; let the sysdep-cancel.h code create it.
18575 2014-05-17 David S. Miller <davem@davemloft.net>
18577 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18578 Protect with __USE_GNU.
18579 (TIOCSET_TEMPT): Likewise.
18580 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18581 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18582 these are already provided in bits/ioctl-types.h
18584 2014-05-16 Roland McGrath <roland@hack.frob.com>
18586 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18587 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18589 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18590 Use wait4 regardless of [__NR_waitpid].
18592 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18595 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18596 (_FP_NANSIGN_Q): Set the quiet bit.
18598 2014-05-16 Joseph Myers <joseph@codesourcery.com>
18600 * benchtests/Makefile
18601 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18602 not $(common-objpfx)math/libm.so.
18603 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18604 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18605 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18606 $(common-objpfx)dlfcn/libdl.so.
18607 ($(objpfx)tst-audit8): Depend on $(libm), not
18608 $(common-objpfx)math/libm.so.
18609 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18610 not $(common-objpfx)dlfcn/libdl.so.
18612 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18613 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
18614 [$(build-shared) = yes].
18615 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18616 $(common-objpfx)nptl/libpthread.so.
18617 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18618 $(common-objpfx)math/libm.so$(libm.so-version) or
18619 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18620 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18621 $(common-objpfx)dlfcn/libdl.so.
18622 * setjmp/Makefile (link-libm): Remove variable.
18623 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18624 * stdio-common/Makefile (link-libm): Remove variable.
18625 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18626 * stdlib/Makefile (link-libm): Remove variable.
18627 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18628 ($(objpfx)tst-strtod-round): Likewise.
18629 ($(objpfx)tst-tininess): Likewise.
18630 ($(objpfx)tst-strtod-underflow): Likewise.
18631 ($(objpfx)tst-strtod6): Likewise.
18632 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18633 $(libdl), not $(common-objpfx)nptl/libpthread.so and
18634 $(common-objpfx)dlfcn/libdl.so.
18636 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18638 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18639 BSD terminal modes definitions.
18641 2014-05-16 Roland McGrath <roland@hack.frob.com>
18643 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18644 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18646 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18647 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18648 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18649 Don't do #include_next.
18650 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18651 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18652 Don't do #include_next.
18653 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18654 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18655 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18656 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18658 2014-05-16 Allan McRae <allan@archlinux.org>
18660 * po/sv.po: Update Swedish translation from translation project.
18662 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18665 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
18668 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18669 errno if the TIOCGPTN ioctl fails with an error different than
18671 * login/tst-ptsname.c: New file.
18672 * login/Makefile (tests): Add tst-ptsname.
18675 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18678 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18681 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18682 herrno to return EAI_AGAIN.
18684 2014-05-14 Roland McGrath <roland@hack.frob.com>
18686 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18687 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18688 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18689 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18690 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18691 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18692 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18693 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18694 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18695 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18696 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18697 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18698 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18699 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18700 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18701 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18702 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18703 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18704 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18705 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18706 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18707 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18708 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18709 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18710 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18711 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18712 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18713 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18714 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18715 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18717 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18719 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18722 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18724 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18726 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18728 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18730 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18732 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18734 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18736 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18738 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18740 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18742 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18744 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18746 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18748 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18751 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18753 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18755 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18757 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18759 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18761 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18763 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18765 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18767 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18769 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18772 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18774 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18776 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18777 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18778 (libpthread-sysdep_routines): Add elision-related stuff here instead.
18779 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18780 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18781 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18782 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18783 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18784 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18785 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18786 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18787 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18788 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18789 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18790 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18791 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18792 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18793 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18794 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18795 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18796 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18797 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18798 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18799 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18800 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18801 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18802 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18803 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18804 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18805 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18806 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18808 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18809 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18811 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18812 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18813 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18814 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18815 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18816 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18818 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18819 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18821 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18822 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18824 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18825 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18827 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18828 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18829 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18830 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18832 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18833 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18834 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18835 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18836 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18837 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18838 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18839 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18841 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18842 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18844 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18846 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18847 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18848 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18849 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18850 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18852 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18854 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18856 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18857 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18858 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18859 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18860 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18861 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18863 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18864 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18866 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18867 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18869 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18870 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18872 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18873 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18874 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18875 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18877 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18878 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18879 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18880 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18881 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18882 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18883 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18884 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18886 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18887 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18889 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18891 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18892 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18893 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18894 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18895 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18897 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18899 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18901 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18902 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18903 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18904 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18905 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18906 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18907 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18908 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18909 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18910 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18912 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18913 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18915 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18916 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18918 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18919 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18921 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18922 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18923 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18924 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18925 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18926 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18928 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18929 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18930 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18931 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18932 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18933 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18934 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18935 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18937 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18938 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18940 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18942 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18943 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18944 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18945 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18946 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18948 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18950 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18952 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18953 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18954 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18955 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18956 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18957 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18958 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18959 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18960 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18961 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18962 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18964 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18965 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18967 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18968 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18970 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18971 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18972 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18973 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18974 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18975 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18976 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18977 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18978 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18979 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18980 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18981 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18982 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18983 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18984 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18985 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18986 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18987 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18989 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18990 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18991 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18992 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18994 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18995 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18996 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18997 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18998 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18999 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19000 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19001 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19003 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19004 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19006 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19007 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19008 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19009 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19010 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19011 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19012 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19013 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19014 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19015 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19016 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19017 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19018 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19019 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19020 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19021 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19022 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19024 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19025 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19026 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19027 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19028 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19030 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19031 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19032 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19033 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19034 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19035 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19036 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19037 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19038 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19039 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19041 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19042 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19044 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19045 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19046 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19047 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19048 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19049 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19050 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19051 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19052 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19053 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19054 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19055 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19056 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19057 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19058 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19060 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19062 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19064 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19066 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19068 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19070 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19072 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19074 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19076 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19078 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19079 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19080 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19081 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19082 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19083 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19084 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19085 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19086 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19087 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19088 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19089 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19090 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19091 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
19092 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
19094 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19095 that was previously under [RESET_PID].
19096 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19097 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19098 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19100 * sysdeps/i386/nptl/Implies: New file.
19101 * sysdeps/x86_64/nptl/Implies: New file.
19102 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19103 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19104 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19105 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19107 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19108 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19109 (__libc_vfork): New strong alias.
19110 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19111 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19113 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19114 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19115 (__libc_vfork): New strong alias.
19116 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19117 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19119 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19120 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19121 (__libc_vfork): New strong alias.
19122 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19123 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19124 * nptl/pt-vfork.c: New file.
19125 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19126 (libpthread: GLIBC_2.20): New version set (empty).
19128 2014-05-14 Will Newton <will.newton@linaro.org>
19130 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19133 2014-05-14 Joseph Myers <joseph@codesourcery.com>
19136 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19137 arguments with exponent 65 or above.
19138 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19139 arguments 0x1p113L or above.
19140 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19141 to arguments 0x1p107L or above.
19142 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19143 positive arguments with exponent 65 or above.
19144 * math/auto-libm-test-in: Add more tests of log1p.
19145 * math/auto-libm-test-out: Regenerated.
19148 * math/s_cacos.c (__cacos): Ensure zero real part of result from
19149 non-finite arguments is +0.
19150 * math/s_cacosf.c (__cacosf): Likewise.
19151 * math/s_cacosl.c (__cacosl): Likewise.
19152 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19153 * sysdeps/i386/fpu/libm-test-ulps: Update.
19154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19157 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19159 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19160 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19161 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19162 for explicit high bit of mantissa when testing for argument equal
19164 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19165 * sysdeps/i386/fpu/libm-test-ulps: Update.
19166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19169 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19170 (__erf): Scale by 16 instead of 8 in potentially underflowing
19171 case. Ensure exception if result actually underflows.
19172 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19173 (__erff): Scale by 16 instead of 8 in potentially underflowing
19174 case. Ensure exception if result actually underflows.
19175 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19176 (efx8): Remove variable.
19177 (__erfl): Scale by 16 instead of 8 in potentially underflowing
19178 case. Ensure exception if result actually underflows.
19179 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19180 (efx8): Remove variable.
19181 (__erfl): Scale by 16 instead of 8 in potentially underflowing
19182 case. Ensure exception if result actually underflows.
19183 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19184 (efx8): Remove variable.
19185 (__erfl): Scale by 16 instead of 8 in potentially underflowing
19186 case. Ensure exception if result actually underflows.
19187 * math/auto-libm-test-in: Add more tests of erf.
19188 * math/auto-libm-test-out: Regenerated.
19190 2014-05-14 Andreas Schwab <schwab@suse.de>
19192 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19193 Remove code conditionalized on USE___THREAD.
19195 * config.h.in (HAVE_PT_CHOWN): Define as 0.
19196 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19199 2014-05-14 Joseph Myers <joseph@codesourcery.com>
19201 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19202 Define unconditionally.
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/aarch64/kernel-features.h
19211 (__ASSUME_DUP3): Do not define.
19212 (__ASSUME_EVENTFD2): Likewise.
19213 (__ASSUME_IN_NONBLOCK): Likewise.
19214 (__ASSUME_O_CLOEXEC): Likewise.
19215 (__ASSUME_PIPE2): Likewise.
19216 (__ASSUME_SIGNALFD4): Likewise.
19217 (__ASSUME_SOCK_CLOEXEC): Likewise.
19218 (__ASSUME_UTIMES): Undefine.
19219 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19220 (__ASSUME_UTIMES): Do not define.
19221 (__ASSUME_O_CLOEXEC): Likewise.
19222 (__ASSUME_SOCK_CLOEXEC): Likewise.
19223 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19224 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19226 (__ASSUME_PIPE2): Likewise.
19227 (__ASSUME_EVENTFD2): Likewise.
19228 (__ASSUME_SIGNALFD4): Likewise.
19229 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19230 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19232 (__ASSUME_EVENTFD2): Likewise.
19233 (__ASSUME_SIGNALFD4): Likewise.
19234 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19235 (__ASSUME_32BITUIDS): Likewise.
19236 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19237 (__ASSUME_IPC64): Likewise.
19238 (__ASSUME_ST_INO_64_BIT): Likewise.
19239 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19240 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19241 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19242 (__ASSUME_UTIMES): Do not define.
19243 (__ASSUME_PSELECT): Likewise.
19244 (__ASSUME_PPOLL): Likewise.
19245 (__ASSUME_O_CLOEXEC): Likewise.
19246 (__ASSUME_SOCK_CLOEXEC): Likewise.
19247 (__ASSUME_IN_NONBLOCK): Likewise.
19248 (__ASSUME_PIPE2): Likewise.
19249 (__ASSUME_EVENTFD2): Likewise.
19250 (__ASSUME_SIGNALFD4): Likewise.
19251 (__ASSUME_DUP3): Likewise.
19252 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19253 (__ASSUME_UTIMES): Likewise.
19254 (__ASSUME_O_CLOEXEC): Likewise.
19255 (__ASSUME_SOCK_CLOEXEC): Likewise.
19256 (__ASSUME_IN_NONBLOCK): Likewise.
19257 (__ASSUME_PIPE2): Likewise.
19258 (__ASSUME_EVENTFD2): Likewise.
19259 (__ASSUME_SIGNALFD4): Likewise.
19260 (__ASSUME_DUP3): Likewise.
19261 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19262 (__ASSUME_UTIMES): Likewise.
19263 (__ASSUME_O_CLOEXEC): Likewise.
19264 (__ASSUME_SOCK_CLOEXEC): Likewise.
19265 (__ASSUME_IN_NONBLOCK): Likewise.
19266 (__ASSUME_PIPE2): Likewise.
19267 (__ASSUME_EVENTFD2): Likewise.
19268 (__ASSUME_SIGNALFD4): Likewise.
19269 (__ASSUME_DUP3): Likewise.
19270 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19272 (__ASSUME_UTIMES): Likewise.
19273 (__ASSUME_EVENTFD2): Likewise.
19274 (__ASSUME_SIGNALFD4): Likewise.
19275 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19276 (__ASSUME_O_CLOEXEC): Likewise.
19277 (__ASSUME_SOCK_CLOEXEC): Likewise.
19278 (__ASSUME_IN_NONBLOCK): Likewise.
19279 (__ASSUME_PIPE2): Likewise.
19280 (__ASSUME_EVENTFD2): Likewise.
19281 (__ASSUME_SIGNALFD4): Likewise.
19282 (__ASSUME_DUP3): Likewise.
19283 (__ASSUME_UTIMES): Undefine.
19285 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19286 feclearexcept. Remove symbol versioning code.
19287 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
19288 symbol versioning code.
19289 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
19290 symbol versioning code.
19291 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19292 feupdateenv. Remove symbol versioning code.
19293 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19294 fegetexceptflag. Remove symbol versioning code.
19295 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19296 fesetexceptflag. Remove symbol versioning code.
19297 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19298 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
19299 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19300 (__posix_fadvise64_l32): Remove prototype.
19301 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19304 2014-05-13 Roland McGrath <roland@hack.frob.com>
19306 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19307 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19308 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19309 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19311 2014-05-13 Sami Kerola <kerolasa@iki.fi>
19313 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19314 current working directory
19316 2014-05-13 Roland McGrath <roland@hack.frob.com>
19318 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19319 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19320 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19321 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19322 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19323 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19324 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19325 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19326 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19327 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19328 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19329 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19330 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19331 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19332 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19333 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19334 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
19335 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
19336 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
19337 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19338 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19339 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19340 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19341 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19342 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19343 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19344 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19345 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19346 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19347 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19348 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19349 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19350 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19351 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19352 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19353 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19354 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19355 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19356 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19357 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19358 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19359 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19361 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19362 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19364 * sysdeps/unix/sysv/linux/arm/Makefile
19365 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19366 Add rt-aeabi_unwind_cpp_pr1.
19367 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19368 Add nptl-aeabi_unwind_cpp_pr1.
19369 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19370 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19371 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19372 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19373 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19374 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19376 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19377 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
19378 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
19379 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
19381 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
19382 Deconditionalize the code that was previously under [RESET_PID].
19383 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
19385 * sysdeps/generic/exit-thread.h: New file.
19386 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
19387 * include/unistd.h (__exit_thread): Remove declaration.
19388 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
19389 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
19390 * csu/libc-start.c: Include <exit-thread.h>.
19391 (LIBC_START_MAIN): Pass no argument to __exit_thread.
19392 * nptl/pthread_create.c: Include <exit-thread.h>.
19393 (start_thread): Call __exit_thread in place of __exit_thread_inline.
19394 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
19395 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
19396 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19397 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
19398 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
19399 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
19400 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
19401 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
19402 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
19403 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
19404 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
19405 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
19406 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
19407 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
19408 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
19409 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
19411 2014-05-13 Andreas Schwab <schwab@suse.de>
19413 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
19415 2014-05-12 Joseph Myers <joseph@codesourcery.com>
19417 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19418 (__ASSUME_UTIMES): Do not condition on kernel version.
19419 (__ASSUME_PSELECT): Define unconditionally.
19420 (__ASSUME_PPOLL): Likewise.
19421 (__ASSUME_ATFCTS): Likewise.
19422 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
19423 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
19424 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
19425 (__ASSUME_UTIMENSAT): Define unconditionally.
19426 (__ASSUME_PRIVATE_FUTEX): Likewise.
19427 (__ASSUME_FALLOCATE): Likewise.
19428 (__ASSUME_O_CLOEXEC): Likewise.
19429 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
19430 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
19431 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
19432 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
19433 (__ASSUME_IN_NONBLOCK): Likewise.
19434 (__ASSUME_PIPE2): Likewise.
19435 (__ASSUME_EVENTFD2): Likewise.
19436 (__ASSUME_SIGNALFD4): Likewise.
19437 (__ASSUME_DUP3): Likewise.
19438 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19439 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
19440 (__ASSUME_AT_RANDOM): Likewise.
19441 (__ASSUME_PREADV): Likewise.
19442 (__ASSUME_PWRITEV): Likewise.
19443 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
19444 (__ASSUME_F_GETOWN_EX): Define unconditionally.
19445 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19446 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19447 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19448 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19449 (__ASSUME_O_CLOEXEC): Define unconditionally.
19450 (__ASSUME_PSELECT): Do not undefine conditionally.
19451 (__ASSUME_PPOLL): Likewise.
19452 (__ASSUME_ATFCTS): Likewise.
19453 (__ASSUME_SET_ROBUST_LIST): Likewise.
19454 (__ASSUME_UTIMENSAT): Likewise.
19455 (__ASSUME_FDATASYNC): Define unconditionally.
19456 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19457 (__ASSUME_SIGFRAME_V2): Likewise.
19458 )__ASSUME_EVENTFD2): Likewise.
19459 (__ASSUME_SIGNALFD4): Likewise.
19460 (__ASSUME_PSELECT): Do not undefine conditionally.
19461 (__ASSUME_PPOLL): Likewise.
19462 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19463 (__ASSUME_PSELECT): Define unconditionally.
19464 (__ASSUME_PPOLL): Likewise.
19465 (__ASSUME_O_CLOEXEC): Likewise.
19466 (__ASSUME_SOCK_CLOEXEC): Likewise.
19467 (__ASSUME_IN_NONBLOCK): Likewise.
19468 (__ASSUME_PIPE2): Likewise.
19469 (__ASSUME_EVENTFD2): Likewise.
19470 (__ASSUME_SIGNALFD4): Likewise.
19471 (__ASSUME_DUP3): Likewise.
19472 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19473 (__ASSUME_O_CLOEXEC): Likewise.
19474 (__ASSUME_SOCK_CLOEXEC): Likewise.
19475 (__ASSUME_IN_NONBLOCK): Likewise.
19476 (__ASSUME_PIPE2): Likewise.
19477 (__ASSUME_EVENTFD2): Likewise.
19478 (__ASSUME_SIGNALFD4): Likewise.
19479 (__ASSUME_DUP3): Likewise.
19480 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19481 (__ASSUME_EVENTFD2): Likewise.
19482 (__ASSUME_SIGNALFD4): Likewise.
19483 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19485 2014-05-12 Andreas Schwab <schwab@suse.de>
19488 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19489 (_nss_nis_gethostbyname4_r): Return error if item length is larger
19490 than maximum RPC packet size.
19491 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19492 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19493 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19494 (_nss_nis_getservbyport_r): Likewise.
19496 2014-05-12 Will Newton <will.newton@linaro.org>
19498 * malloc/Makefile (tests): Add tst-mallopt.
19499 * malloc/tst-mallopt.c: New file.
19501 2014-05-09 Roland McGrath <roland@hack.frob.com>
19503 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19504 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19506 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19508 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19509 (tst-tlsmod6.so): Likewise.
19511 2014-05-09 Roland McGrath <roland@hack.frob.com>
19513 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19515 2014-05-09 Joseph Myers <joseph@codesourcery.com>
19518 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19519 and <dl-procinfo.h>.
19520 (__fegetenv): Save SSE state in envp->__eip if supported.
19521 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19522 envp->__eip if supported.
19523 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19524 and <dl-procinfo.h>.
19525 (__fesetenv): Always set __eip, __cs_selector, __opcode,
19526 __data_offset and __data_selector in environment to 0. Set SSE
19527 state if supported.
19528 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19530 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19532 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19534 2014-05-09 Will Newton <will.newton@linaro.org>
19536 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19537 and libc_relro_required for ARM.
19538 * sysdeps/arm/preconfigure: Regenerate.
19540 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
19541 Stefan Liebler <stli@linux.vnet.ibm.com>
19543 * config.make.in (enable-lock-elision): New Makefile variable.
19544 * configure.ac: Likewise.
19545 * configure: Regenerate.
19546 * sysdeps/s390/configure.ac:
19547 Add check for gcc transactions support.
19548 * sysdeps/s390/configure: Regenerate.
19549 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19550 Build elision files if enabled.
19551 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19552 Add lock elision support for s390.
19553 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19554 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19555 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19556 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19557 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19558 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19559 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19561 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19563 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19565 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19567 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19568 (__lll_timedlock_elision, __lll_lock_elision)
19569 (__lll_unlock_elision, __lll_trylock_elision)
19570 (lll_timedlock_elision, lll_lock_elision)
19571 (lll_unlock_elision, lll_trylock_elision): Add.
19572 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19573 (pthread_mutex_t): Add lock elision support for s390.
19575 2014-05-14 Wilco <wdijkstr@arm.com>
19577 * sysdeps/arm/fclrexcpt.c: Cleanup.
19578 * sysdeps/arm/fedisblxcpt.c: Cleanup.
19579 * sysdeps/arm/feenablxcpt.c: Cleanup.
19580 * sysdeps/arm/fegetenv.c: Cleanup.
19581 * sysdeps/arm/fegetexcept.c: Cleanup.
19582 * sysdeps/arm/fegetround.c: Cleanup.
19583 * sysdeps/arm/feholdexcpt.c: Cleanup.
19584 * sysdeps/arm/fesetenv.c: Cleanup.
19585 * sysdeps/arm/fesetround.c: Cleanup.
19586 * sysdeps/arm/feupdateenv.c: Cleanup.
19587 * sysdeps/arm/fgetexcptflg.c: Cleanup.
19588 * sysdeps/arm/fraiseexcpt.c: Cleanup.
19589 * sysdeps/arm/fsetexcptflg.c: Cleanup.
19590 * sysdeps/arm/ftestexcept.c: Cleanup.
19591 * sysdeps/arm/get-rounding-mode.h: Cleanup.
19592 * sysdeps/arm/setfpucw.c: Cleanup.
19594 2014-05-09 Will Newton <will.newton@linaro.org>
19596 * sysdeps/arm/armv7/strcmp.S: New file.
19597 * NEWS: Mention addition of ARMv7 optimized strcmp.
19599 2014-05-08 Roland McGrath <roland@hack.frob.com>
19601 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19602 look for %.ac rather than %.in.
19604 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19605 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19606 * sysdeps/mach/hurd/configure: Regenerated.
19607 * sysdeps/unix/sysv/linux/configure: Regenerated.
19609 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19611 2014-05-07 Steve Ellcey <sellcey@mips.com>
19614 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19618 2014-05-07 Andreas Schwab <schwab@suse.de>
19620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19621 when skipping over non-matching result from nscd.
19623 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
19626 * nptl/sockperf.c (client): Check socket return value.
19629 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19630 nscd security class.
19632 2014-05-06 Roland McGrath <roland@hack.frob.com>
19634 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19635 * sysdeps/arm/unwind.h: ... here.
19637 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
19640 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19643 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19645 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19646 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19647 multiarch strncpy for PPC64.
19648 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19649 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19650 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19651 multiarch optimizations.
19652 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19653 (__libc_ifunc_impl_list): Likewise.
19654 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19655 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19656 multiarch stpncpy for PPC64.
19657 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19658 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19660 2014-05-06 Andreas Schwab <schwab@suse.de>
19663 * gmon/mcount.c (_MCOUNT_DECL): Use
19664 atomic_compare_and_exchange_bool_acq instead of
19665 catomic_compare_and_exchange_bool_acq.
19667 2014-05-05 Roland McGrath <roland@hack.frob.com>
19669 * elf/Makefile (others, install-bin): Remove pldd.
19670 (pldd-modules): Variable removed.
19671 ($(objpfx)pldd): Target removed.
19672 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19673 (others, install-bin): Append pldd here.
19674 ($(objpfx)pldd): New target.
19676 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19677 to 0, so the first #if test emitted later doesn't see it undefined.
19678 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19679 * sysdeps/gnu/errlist.c: Regenerated.
19681 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19683 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19684 [libc_hidden_builtin_def]: Define to empty value.
19685 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19686 [libc_hidden_builtin_def]: Likewise.
19687 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19688 [libc_hidden_builtin_def]: Likewise.
19689 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19690 [libc_hidden_builtin_def]: Likewise.
19691 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19692 __redirect_memcpy and define ifunc as default hidden symbol.
19693 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19694 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19696 2014-05-04 Adam Conrad <adconrad@0c3.net>
19698 * locale/iso-4217.def: Reintroduce XDR currency.
19700 2014-05-04 Allan McRae <allan@archlinux.org>
19702 * po/eo.po: Update Esperanto translation from translation project.
19704 2014-05-02 Carlos O'Donell <carlos@redhat.com>
19706 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19707 and FEATURE_INDEX_MAX to 1.
19708 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19710 2014-05-01 Steve Ellcey <sellcey@mips.com>
19712 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19713 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19714 * iconvdata/big5.c (ONE_DIRECTION): Define.
19715 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19716 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19717 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19718 * iconvdata/cp932.c (ONE_DIRECTION): Define.
19719 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19720 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19721 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19722 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19723 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19724 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19725 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19726 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19727 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19728 * iconvdata/gbk.c (ONE_DIRECTION): Define.
19729 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19730 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19731 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19732 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19733 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19734 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19735 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19736 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19737 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19738 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19739 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19740 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19741 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19742 * iconvdata/iso646.c (ONE_DIRECTION): Define.
19743 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19744 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19745 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19746 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19747 * iconvdata/johab.c (ONE_DIRECTION): Define.
19748 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19749 * iconvdata/sjis.c (ONE_DIRECTION): Define.
19750 * iconvdata/t.61.c (ONE_DIRECTION): Define.
19751 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19752 * iconvdata/tscii.c (ONE_DIRECTION): Define.
19753 * iconvdata/uhc.c (ONE_DIRECTION): Define.
19754 * iconvdata/unicode.c (ONE_DIRECTION): Define.
19755 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19756 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19757 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19759 2014-05-01 Roland McGrath <roland@hack.frob.com>
19761 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19762 (_IO_JUMPS_OFFSET): Define to 0.
19764 * nptl/sysdeps/pthread/bits/libc-lock.h
19765 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19766 (__libc_lock_define_initialized_recursive): Always define using
19767 initializer. Modern compilers treat uninitialized (implicit zero) and
19768 explicit zero initializers the same (i.e. put the datum in bss).
19770 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
19772 * nscd/nscd-client.h: Include <string.h>.
19774 2014-05-01 David S. Miller <davem@davemloft.net>
19777 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19778 multiple zero bytes exist at the end of a string.
19779 Reported by Aurelien Jarno <aurelien@aurel32.net>
19781 * string/test-strcmp.c (check): Add explicit test for situations where
19782 there are multiple zero bytes after the first.
19784 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
19787 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19788 when compiling wprintf.
19789 * stdio-common/tstdiomisc.c (t3): New function.
19792 2014-05-01 Steve Ellcey <sellcey@mips.com>
19794 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19795 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19796 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19797 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19799 2014-05-01 Steve Ellcey <sellcey@mips.com>
19801 * stdlib/longlong.h: Updated from GCC.
19803 2014-05-01 Will Newton <will.newton@linaro.org>
19804 Bernard Ogden <bernie.ogden@linaro.org>
19806 * NEWS: Update fixed bug list.
19809 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19811 2014-04-30 David S. Miller <davem@davemloft.net>
19813 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19814 (libc_feholdexcept_setround_sparc_ctx): New function.
19815 (libc_fesetenv_sparc_ctx): Likewise.
19816 (libc_feupdateenv_sparc_ctx): Likewise.
19817 (libc_feholdsetround_sparc_ctx): Likewise.
19818 (libc_feholdexcept_setround_ctx): Define.
19819 (libc_feholdexcept_setroundf_ctx): Likewise.
19820 (libc_feholdexcept_setroundl_ctx): Likewise.
19821 (libc_fesetenv_ctx): Likewise.
19822 (libc_fesetenvf_ctx): Likewise.
19823 (libc_fesetenvl_ctx): Likewise.
19824 (libc_feupdateenv_ctx): Likewise.
19825 (libc_feupdateenvf_ctx): Likewise.
19826 (libc_feupdateenvl_ctx): Likewise.
19827 (libc_feresetround_ctx): Likewise.
19828 (libc_feresetroundf_ctx): Likewise.
19829 (libc_feresetroundl_ctx): Likewise.
19830 (libc_feholdsetround_ctx): Likewise.
19831 (libc_feholdsetroundf_ctx): Likewise.
19832 (libc_feholdsetroundl_ctx): Likewise.
19834 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19835 with __USE_GNU instead of XOPEN cpp guards.
19837 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19840 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19841 with XOPEN cpp guards.
19843 2014-04-30 Julian Brown <julian@codesourcery.com>
19846 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19849 2014-04-30 Joseph Myers <joseph@codesourcery.com>
19852 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19854 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19855 * sysdeps/unix/sysv/linux/configure: Regenerated.
19856 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19857 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19858 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19859 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19860 * README: Update reference to required Linux kernel version.
19861 * manual/install.texi (Linux): Update reference to required Linux
19862 kernel headers version.
19863 * INSTALL: Regenerated.
19865 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19867 [POSIX] (limits.h): Likewise.
19868 [POSIX] (math.h): Likewise.
19869 [POSIX] (sys/wait.h): Likewise.
19870 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19872 [POSIX] (stddef.h): Do not allow header inclusion.
19874 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19876 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19878 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
19880 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19881 Return immediately after lll_futex_wake.
19883 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19886 * nscd/nscd-client.h (datahead_init_common): Initialize entire
19888 (datahead_init_pos): Call datahead_init_common early.
19889 (datahead_init_neg): Likewise.
19891 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19892 datahead_init_neg): New functions.
19893 * nscd/aicache.c (addhstaiX): Use them.
19894 * nscd/grpcache.c (cache_addgr): Likewise.
19895 * nscd/hstcache.c (cache_addhst): Likewise.
19896 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19897 * nscd/netgroupcache.c (do_notfound): Likewise.
19898 (addgetnetgrentX): Likewise.
19899 (addinnetgrX): Likewise.
19900 * nscd/pwdcache.c (cache_addpw): Likewise.
19901 * nscd/servicescache.c (cache_addserv): Likewise.
19903 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19904 Atsushi Onoe <atsushi@onoe.org>
19909 * resolv/res_query.c (__libc_res_nsearch): Return if at least
19910 one response is valid.
19911 * resolv/res_send.c (send_dg): Check for validity of other
19912 response if the current response is a referral.
19914 2014-04-29 Steve Ellcey <sellcey@mips.com>
19916 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19918 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
19921 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19922 Always divide by positive zero when computing -Inf result.
19923 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19924 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19926 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19928 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19929 FPSCR if value do not change.
19930 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19931 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19932 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19933 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19934 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19935 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19938 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
19940 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19941 * sysdeps/unix/sysv/linux/hppa: Move directory from
19942 ports/systeps/unix/sysv/linux/hppa.
19943 * README: Update listing for hppa-*-linux-gnu.
19945 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
19948 * manual/stdio.texi (Hook functions): Fix types of stream hook
19951 * socket/sys/socket.h: Fix typo in comment.
19953 2014-04-28 Wilco <wdijkstr@arm.com>
19955 * sysdeps/arm/fenv_private.h: New file.
19956 * sysdeps/arm/math_private.h: New file.
19957 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19959 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
19961 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19963 (La_x86_64_retval): Likewise.
19965 2014-04-24 Ian Bolton <ian.bolton@arm.com>
19967 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19968 fpsr if value didn't change.
19969 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19970 to fpcr if value didn't change.
19971 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19972 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19973 fpsr or fpcr if value didn't change.
19974 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19975 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19976 fpcr if value didn't change.
19977 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19978 to fpsr if value didn't change.
19980 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19982 * nptl/tst-sem3.c: Use test-skeleton.c
19983 (main): Rename to do_test. Use return instead of
19985 * nptl/tst-sem4.c: Use test-skeleton.c
19986 (main): Rename to do_test.
19988 2014-04-22 David S. Miller <davem@davemloft.net>
19990 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19991 (struct sigaction): New struct member __glibc_reserved0, change
19992 type of sa_flags to int.
19994 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
19996 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19997 (COUNT_LEADING_ZEROS_0): Define for AArch64.
19999 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20001 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20002 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20004 2014-04-22 Will Newton <will.newton@linaro.org>
20005 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
20007 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20008 (__longjmp): Add longjmp and longjmp_target SystemTap
20010 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20011 (__sigsetjmp): Add setjmp SystemTap probe.
20013 2014-04-17 Carlos O'Donell <carlos@redhat.com>
20015 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20016 match manual order.
20018 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20020 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20022 * sysdeps/powerpc/fpu/fenv_private.h
20023 (libc_feholdexcept_setroundl_ctx): Define to
20024 libc_feholdexcept_setround_ppc_ctx.
20025 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20026 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20027 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20028 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20030 2014-04-17 Ian Bolton <ian.bolton@arm.com>
20032 * sysdeps/aarch64/math-tests.h: New file.
20034 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
20036 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20038 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20039 Check and set bit_AVX2_Usable.
20040 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20042 (bit_AVX2): Likewise.
20043 (index_AVX2_Usable): Likewise.
20044 (CPUID_AVX2): Likewise.
20045 (HAS_AVX2): Likewise.
20047 2014-04-17 Will Newton <will.newton@linaro.org>
20049 * manual/setjmp.texi (System V contexts): Add note that
20050 calling setcontext on a context created by a call to a
20051 signal handler is undefined. Update text to note that
20052 setcontext from a signal handler is possible but not
20056 * stdlib/tst-setcontext.c: Include signal.h.
20057 (main): Check that the signal stack before and
20058 after swapcontext is the same.
20060 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20061 Re-implement to restore registers in user code and avoid
20062 rt_sigreturn system call.
20064 2014-04-17 Wilco <wdijkstr@arm.com>
20066 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20067 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20068 * math/test-fenv.c: Skip exception trap tests on targets which only
20069 support non-stop mode.
20071 2014-04-17 Ian Bolton <ian.bolton@arm.com>
20072 Wilco Dijkstra <wilco.dijkstra@arm.com>
20074 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20075 (libc_feholdsetround_aarch64_ctx)
20076 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20077 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20078 (libc_feresetround_ctx, libc_feresetroundf_ctx)
20079 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20080 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20081 (libc_feresetround_noexl_ctx): Define.
20083 2014-04-16 Richard Henderson <rth@redhat.com>
20085 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20087 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20090 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20091 const from the non-libc, non-ldso copy.
20093 * sysdeps/alpha/libm-test-ulps: Regenerate.
20095 2014-04-16 Ian Bolton <ian.bolton@arm.com>
20096 Wilco Dijkstra <wilco.dijkstra@arm.com>
20098 * sysdeps/aarch64/fpu/math_private.h: New file.
20100 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
20102 * sysdeps/aarch64/libm-test-ulps: Regenerate.
20104 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
20107 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20108 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20109 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20110 Intel MPX bound registers before _dl_profile_fixup.
20111 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20112 registers after _dl_profile_fixup. Save and restore bound
20113 registers bnd0/bnd1 when calling _dl_call_pltexit.
20114 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20115 (LR_BND_OFFSET): Likewise.
20116 (LRV_BND0_OFFSET): Likewise.
20117 (LRV_BND1_OFFSET): Likewise.
20119 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20121 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20123 * sysdeps/mach/hurd/i386/tls.h: ... here.
20124 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20125 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20128 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20130 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20132 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
20134 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20136 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
20139 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20140 * sysdeps/s390/configure: Regenerate.
20143 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20144 Set round-to-nearest internally to reduce error accumulation.
20146 2014-04-16 Alan Modra <amodra@gmail.com>
20150 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20151 * math/libm-test.inc (frexp_test_data): Add tests.
20152 * NEWS: Update fixed bug list.
20154 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20156 * benchtests/Makefile: Depend on libraries in build directory.
20157 (bench-math): Separate out math tests.
20158 (bench-pthread): Separate out pthread tests.
20159 (bench): Include math and pthread tests.
20161 2014-04-14 Carlos O'Donell <carlos@redhat.com>
20164 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20165 _dl_debug_initialize.
20167 * configure.ac: Remove SELinux header check.
20168 * configure: Regenerate.
20169 * nscd/selinux.c (perms): Array of const char* to permission names.
20170 (nscd_request_avc_has_perm): Call security_deny_unknown to find
20171 default policy. Call string_to_security_class and string_to_av_perm to
20172 translate strings. Enforce default policy and call avs_has_perm with
20173 results of translated strings.
20175 2014-04-13 David S. Miller <davem@davemloft.net>
20177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20179 2014-04-12 Allan McRae <allan@archlinux.org>
20182 * manual/string.texi (Collation Functions): Fix qsort argument
20184 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20186 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
20188 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20189 Make the test a no-op if there are no exceptions defined.
20191 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
20193 * elf/Makefile (tests): make tst-dlopen-aout conditional on
20194 enable-hardcoded-path-in-tests
20196 2014-04-11 Will Newton <will.newton@linaro.org>
20198 * benchtests/Makefile (extra-objs): Add json-lib.o.
20199 (bench-func): Tidy up JSON output.
20200 * benchtests/bench-skeleton.c: Include json-lib.h.
20201 (main): Use JSON library functions to do output of
20203 * benchtests/bench-timing-type.c (main): Output the
20204 timing type simply, leaving formatting to the user.
20205 * benchtests/json-lib.c: New file.
20206 * benchtests/json-lib.h: Likewise.
20208 2014-04-11 Torvald Riegel <triegel@redhat.com>
20211 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20212 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
20213 memory barriers. Add comments.
20214 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20215 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20216 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20217 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20218 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20219 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20221 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20223 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20224 * sysdeps/s390/s390-64/configure.ac: ... this ...
20225 * sysdeps/s390/configure.ac: ... to here.
20226 * sysdeps/s390/s390-32/configure: Delete file.
20227 * sysdeps/s390/s390-64/configure: Delete file.
20228 * sysdeps/s390/configure: Regenerate.
20230 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
20232 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20234 2014-04-11 Will Newton <will.newton@linaro.org>
20236 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20237 to zero if it is not defined elsewhere. (mtrim): Test
20238 the value of MALLOC_DEBUG with #if rather than #ifdef.
20240 2014-04-10 Torvald Riegel <triegel@redhat.com>
20242 * benchtests/pthread_once-inputs: New file.
20243 * benchtests/pthread_once-source.c: New file.
20244 * benchtests/README: Update documentation.
20246 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
20247 H.J. Lu <hongjiu.lu@intel.com>
20250 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20251 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20252 * sysdeps/x86_64/configure: Regenerated.
20253 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20255 (REGISTER_SAVE_RAX): Likewise.
20256 (REGISTER_SAVE_RCX): Likewise.
20257 (REGISTER_SAVE_RDX): Likewise.
20258 (REGISTER_SAVE_RSI): Likewise.
20259 (REGISTER_SAVE_RDI): Likewise.
20260 (REGISTER_SAVE_R8): Likewise.
20261 (REGISTER_SAVE_R9): Likewise.
20262 (REGISTER_SAVE_BND0): Likewise.
20263 (REGISTER_SAVE_BND1): Likewise.
20264 (REGISTER_SAVE_BND2): Likewise.
20265 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
20266 bound registers when calling _dl_fixup.
20268 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20270 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20271 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20273 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20274 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20275 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20276 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20277 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20278 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20279 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20281 2014-04-09 Peter Brett <peter@peter-b.co.uk>
20284 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20285 pathconf(_PC_NAME_MAX).
20287 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20289 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20290 Remove macro usage.
20291 (__PTHREAD_SPINS): Move definition to ...
20292 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20293 (__PTHREAD_SPINS): ... here.
20294 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20295 (__PTHREAD_SPIN): Likewise.
20296 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20297 (__PTHREAD_SPIN): Likewise.
20298 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20299 (__PTHREAD_SPIN): Likewise.
20300 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20301 (__PTHREAD_SPIN): Likewise.
20302 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20303 (__PTHREAD_SPIN): Likewise.
20304 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20305 (__PTHREAD_SPIN): Likewise.
20306 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20307 (__PTHREAD_SPIN): Likewise.
20308 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20309 (__PTHREAD_SPIN): Likewise.
20310 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20311 (__PTHREAD_SPIN): Likewise.
20312 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20313 (__PTHREAD_SPIN): Likewise.
20314 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20315 (__PTHREAD_SPIN): Likewise.
20316 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20317 (__PTHREAD_SPIN): Likewise.
20319 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20320 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20321 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20322 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20324 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20325 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20326 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20327 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20328 correct imply path.
20329 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20330 strlen symbol for non multi-arch builds.
20331 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20332 missing hidden_def and weak_alias.
20334 2014-04-08 Carlos O'Donell <carlos@redhat.com>
20336 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20338 2014-04-07 Will Newton <will.newton@linaro.org>
20340 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20341 and contents. [!_LIBC] Remove #ifndef and contents.
20342 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
20343 * string/memccpy.c (__memccpy): Use ANSI prototype.
20344 * string/memfrob.c (memfrob): Likewise.
20345 * string/strcoll.c (STRCOLL): Likewise.
20346 * string/strlen.c (strlen): Likewise.
20347 * string/strtok.c (STRTOK): Likewise.
20348 * string/strcat.c: Remove unused #include of memcopy.h.
20349 (strcat): Use ANSI prototype.
20350 * string/strchr.c: Remove unused #include of memcopy.h.
20351 (strchr): Use ANSI prototype.
20352 * string/strcmp.c: Remove unused #include of memcopy.h.
20353 (strcmp): Use ANSI prototype.
20354 * string/strcpy.c: Remove unused #include of memcopy.h.
20355 (strcpy): Use ANSI prototype.
20357 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20359 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20360 * config.make.in (config-extra-cppflags): Set it from
20361 libc_extra_cppflags.
20362 * configure.ac (libc_extra_cflags): Make it accumulate over
20363 configure fragments.
20364 (libc_extra_cppflags): New flag.
20365 * configure. Regenerate.
20366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20367 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20368 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20372 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20373 result for FE_DOWNWARD rounding mode.
20374 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20378 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
20380 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
20381 in function argument name.
20383 2014-04-03 David Svoboda <svoboda@cert.org>
20386 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
20389 2014-04-03 Roland McGrath <roland@hack.frob.com>
20391 * elf/dl-unmap-segments.h: New file.
20392 * sysdeps/generic/ldsodefs.h
20393 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
20394 * elf/dl-close.c: Include <dl-unmap-segments.h>.
20395 * elf/dl-fptr.c: Likewise.
20396 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20397 * sysdeps/aarch64/tlsdesc.c: Likewise.
20398 * sysdeps/arm/tlsdesc.c: Likewise.
20399 * sysdeps/i386/tlsdesc.c: Likewise.
20400 * sysdeps/tile/dl-runtime.c: Likewise.
20401 * sysdeps/x86_64/tlsdesc.c: Likewise.
20402 * elf/dl-load.h: New file.
20403 * elf/dl-load.c: Include it.
20404 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
20405 Macros moved to dl-load.h.
20406 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
20407 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
20408 Use _dl_unmap_segments in place of __munmap.
20409 Break out segment-mapping loop into ...
20410 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
20412 2014-04-03 Will Newton <will.newton@linaro.org>
20414 * elf/dl-lookup.c (do_lookup_x): Remove comment
20415 referring to nested function and move variable
20416 declarations down to before first use.
20418 2014-04-02 Joseph Myers <joseph@codesourcery.com>
20422 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
20424 * math/s_catanf.c (__catanf): Likewise.
20425 * math/s_catanh.c (__catanh): Likewise.
20426 * math/s_catanhf.c (__catanhf): Likewise.
20427 * math/s_catanhl.c (__catanhl): Likewise.
20428 * math/s_catanl.c (__catanl): Likewise.
20429 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
20430 by positive zero when computing -Inf result.
20431 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
20432 (catanh_test): Likewise.
20433 * sysdeps/i386/fpu/libm-test-ulps: Update.
20434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20437 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
20438 instead of using underflowing value in computing result.
20439 * math/s_clog10.c (__clog10): Likewise.
20440 * math/s_clog10f.c (__clog10f): Likewise.
20441 * math/s_clog10l.c (__clog10l): Likewise.
20442 * math/s_clogf.c (__clogf): Likewise.
20443 * math/s_clogl.c (__clogl): Likewise.
20444 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20445 (clog10_test): Likewise.
20446 * sysdeps/i386/fpu/libm-test-ulps: Update.
20447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20449 2014-04-02 Alan Modra <amodra@gmail.com>
20452 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20453 output when value is near a power of two. Use int64_t for lx and
20454 remove casts. Use decimal rather than hex exponent constants.
20455 Don't use long double multiplication when double will suffice.
20456 * math/libm-test.inc (nextafter_test_data): Add tests.
20457 * NEWS: Add 16739 and 16786 to bug list.
20459 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20461 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20463 2014-04-01 Will Newton <will.newton@linaro.org>
20465 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20466 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
20468 2014-04-01 Florian Weimer <fweimer@redhat.com>
20471 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20472 * nptl/tst-setuid2.c: New file.
20473 * nptl/Makefile (xtests): Add tst-setuid2.
20475 2014-04-01 Alan Modra <amodra@gmail.com>
20478 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20480 2014-03-31 Joseph Myers <joseph@codesourcery.com>
20484 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20485 set errno as appropriate.
20486 * math/w_scalbf.c (__scalbf): Likewise.
20487 * math/w_scalbl.c (__scalbl): Likewise.
20488 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20489 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20490 * math/libm-test.inc (scalb_test_data): Add errno expectations.
20491 Add more NaN tests.
20494 * math/w_atan2.c: Include <errno.h>.
20495 (__atan2): Set errno for result underflowing to zero.
20496 * math/w_atan2f.c: Include <errno.h>.
20497 (__atan2f): Set errno for result underflowing to zero.
20498 * math/w_atan2l.c: Include <errno.h>.
20499 (__atan2l): Set errno for result underflowing to zero.
20500 * math/auto-libm-test-in: Don't allow missing errno for some atan2
20502 * math/auto-libm-test-out: Regenerated.
20504 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20506 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20507 Encode instruction correctly in little endian.
20508 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20510 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20512 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20514 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20517 2014-03-31 Joseph Myers <joseph@codesourcery.com>
20520 * sysdeps/unix/sysv/linux/kernel-features.h
20521 [__sparc__ && !__arch64__ && !__sparc_v9__]
20522 (__ASSUME_SET_ROBUST_LIST): Do not define.
20523 [__sparc__ && !__arch64__ && !__sparc_v9__]
20524 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20525 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20527 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20528 (__ASSUME_FUTEX_LOCK_PI): Undefine.
20529 (__ASSUME_REQUEUE_PI): Likewise.
20530 (__ASSUME_SET_ROBUST_LIST): Likewise.
20531 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20532 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20534 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20535 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20537 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20539 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20541 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20542 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20544 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20545 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20549 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20550 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20551 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20553 2014-03-31 Will Newton <will.newton@linaro.org>
20555 * benchtests/Makefile (bench): Add ffs and ffsll to list
20557 * benchtests/ffs-inputs: New file.
20558 * benchtests/ffsll-inputs: Likewise.
20560 2014-03-29 Joseph Myers <joseph@codesourcery.com>
20563 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20564 too large before casting to int.
20565 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20566 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20567 * math/libm-test.inc (scalb_test_data): Add more tests.
20569 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20571 * benchtests/Makefile (DETAILED_OPT): New make option.
20572 (bench-func): Run benchmark program with -d if DETAILED_OPT is
20574 * benchtests/bench-skeleton.c: Include stdbool.h.
20575 (main): Store and print timings per input.
20576 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20577 member to each argument value.
20578 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20579 (_print_arg_data): Initialize per-input timing to 0.
20581 * benchtests/Makefile (timing-type): New binary.
20582 (bench-clean): Also remove bench-timing-type.
20583 (bench): New target for timing-type.
20584 (bench-func): Print output in JSON format.
20585 * benchtests/bench-skeleton.c (main): Print output in JSON
20587 * benchtests/bench-timing-type.c: New file.
20588 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20589 (TIMING_PRINT_STATS): Remove.
20590 * benchtests/scripts/bench.py (_print_arg_data): Store variant
20593 * benchtests/bench-modf.c: Remove.
20594 * benchtests/modf-inputs: New inputs file.
20596 2014-03-28 Joseph Myers <joseph@codesourcery.com>
20599 * math/s_clog10.c (M_PI_LOG10E): New macro.
20600 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20601 imaginary parts are 0.
20602 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20603 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20604 imaginary parts are 0.
20605 * math/s_clog10l.c (M_PI_LOG10El): New macro.
20606 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20607 imaginary parts are 0.
20608 * math/libm-test.inc (clog10_test_data): Update expected results
20609 for when real and imaginary parts are 0.
20611 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
20613 * elf/dl-load.c: Finish conversion of __builtin_expect into
20614 __glibc_{un}likely.
20616 2014-03-27 Joseph Myers <joseph@codesourcery.com>
20619 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20620 1+x for argument with exponent below -67.
20621 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20623 * math/auto-libm-test-in: Add more tests of exp.
20624 * math/auto-libm-test-out: Regenerated.
20626 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20629 * inet/getnetgrent_r.c (get_nonempty_val): New function.
20630 (nscd_getnetgrent): Use it.
20633 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20636 2014-03-27 Andi Kleen <ak@linux.intel.com>
20638 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20639 (lll_robust_lock, lll_cond_lock, lll_timedlock)
20640 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20641 (lll_robust_unlock): Remove out of line section. Use cfi
20643 (LLL_STUB_UNWIND_INFO*): Remove.
20644 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20645 (lll_robust_lock, lll_cond_lock, lll_timedlock)
20646 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20647 (lll_robust_unlock): Remove out of line section. Use cfi
20649 (LLL_STUB_UNWIND_INFO*): Remove.
20651 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20654 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20657 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
20659 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20661 2014-03-26 Joseph Myers <joseph@codesourcery.com>
20664 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20666 * math/test-fenv-preserve.c: New file.
20667 * math/Makefile (tests): Add test-fenv-preserve.
20669 2014-03-26 Will Newton <will.newton@linaro.org>
20671 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20673 2014-03-25 Roland McGrath <roland@hack.frob.com>
20675 * scripts/versionlist.awk: Partition the version sets and emit all
20676 GLIBC_* (sorted) before all others (sorted).
20678 2014-03-25 Joseph Myers <joseph@codesourcery.com>
20680 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20681 GLIBC_2.2.5 version.
20683 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20685 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20688 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20693 2014-03-25 Andreas Schwab <schwab@suse.de>
20695 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20696 label to be used after in6ailist is initialized.
20698 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20700 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20701 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20703 2014-03-25 Joseph Myers <joseph@codesourcery.com>
20707 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20709 (fp_formats): Update initializers.
20710 (init_fp_formats): Initialize new field.
20711 (output_for_one_input_case): Allow underflow for results up to
20713 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20714 * math/auto-libm-test-in: Don't mark some underflows from asin and
20716 * math/auto-libm-test-out: Regenerated.
20717 * sysdeps/i386/fpu/libm-test-ulps: Update.
20718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20720 2014-03-25 Andreas Schwab <schwab@suse.de>
20722 * libio/Makefile (tst-ftell-partial-wide-ENV)
20723 (tst-ftell-active-handler-ENV): Define.
20725 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20727 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20729 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
20731 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20733 2014-03-24 Joseph Myers <joseph@codesourcery.com>
20735 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20736 * sysdeps/x86_64/fpu/multiarch/e_exp.c
20737 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20739 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
20742 * elf/dl-load.c (open_verify): Add mode parameter.
20743 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20744 (open_path): Change from boolean 'secure' to complete flag 'mode'
20745 (_dl_map_object): Adjust.
20746 * elf/Makefile (tests): Add tst-dlopen-aout.
20747 * elf/tst-dlopen-aout.c: New test.
20749 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20752 * sysdeps/unix/sysv/linux/s390/bits/stat.h
20753 (struct stat): Rename member pad0 to __glibc_reserved0.
20756 * sysdeps/s390/s390-32/bits/wordsize.h
20757 (__WORDSIZE32_SIZE_ULONG): New define.
20758 * sysdeps/s390/s390-64/bits/wordsize.h
20759 (__WORDSIZE32_SIZE_ULONG): Likewise.
20760 * sysdeps/generic/stdint.h (SIZE_MAX):
20761 Define as UL if __WORDSIZE32_SIZE_ULONG.
20764 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20765 (__glibc_reserved0): New variable.
20766 (sa_flags): Change type to int.
20768 * posix/Makefile (before-compile): Use += before-compile instead
20771 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20772 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20774 2014-03-20 Andreas Schwab <schwab@suse.de>
20777 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20778 non-matching result from nscd.
20780 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20782 * scripts/bench.py: Moved to ...
20783 * benchtests/scripts/bench.py: ... here.
20784 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20786 2014-03-24 Andreas Schwab <schwab@suse.de>
20789 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20790 alloca_account and account alloca use for struct in6ailist.
20792 2014-03-24 Joseph Myers <joseph@codesourcery.com>
20795 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20796 rounding mode to recompute results that overflow to infinity or
20798 * math/auto-libm-test-in: Don't mark tests as expected to fail for
20800 * math/auto-libm-test-out: Regenerated.
20801 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20802 (ccosh_test): Likewise.
20803 (csin_test_data): Use plus_oflow.
20804 (csin_test): Use ALL_RM_TEST.
20805 (csinh_test_data): Use plus_oflow.
20806 (csinh_test): Use ALL_RM_TEST.
20807 * sysdeps/i386/fpu/libm-test-ulps: Update.
20808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20810 2014-03-21 Joseph Myers <joseph@codesourcery.com>
20812 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20813 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20814 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20817 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20818 when x - 1 is zero.
20819 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20820 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20821 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20822 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20824 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20825 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20827 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20828 * sysdeps/i386/fpu/libm-test-ulps: Update.
20829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20831 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20833 * scripts/bench.pl: Remove file.
20834 * scripts/bench.py: New benchmark script.
20835 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20836 * benchtests/README: Mention python dependency.
20837 * scripts/pylintrc: New file.
20838 * scripts/pylint: New file.
20840 * bits/mathdef.h: Use #ifdef instead of #if.
20841 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20842 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20843 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20844 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20845 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20846 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20848 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20849 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20851 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20852 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20853 and strpbrk-ppc64 objects.
20854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20855 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20856 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20857 multiarch strpbrk for POWER7.
20858 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20859 multiarch strpbrk for PPC64.
20860 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20862 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20863 strpbrk for POWER7.
20865 2014-03-20 Joseph Myers <joseph@codesourcery.com>
20867 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20868 (atan_test): Likewise.
20869 (atanh_test_data): Use NO_TEST_INLINE for two tests.
20870 (atanh_test): Use ALL_RM_TEST.
20871 (atan2_test_data): Likewise.
20872 (cabs_test): Likewise.
20873 (cacosh_test): Likewise.
20874 (carg_test): Likewise.
20875 (casin_test): Likewise.
20876 (casinh_test): Likewise.
20877 (cbrt_test): Likewise.
20878 (csqrt_test): Likewise.
20879 (erf_test): Likewise.
20880 (erfc_test): Likewise.
20881 (pow10_test): Likewise.
20882 (exp2_test): Likewise.
20883 (hypot_test): Likewise.
20884 (j0_test): Likewise.
20885 (j1_test): Likewise.
20886 (lgamma_test): Likewise.
20887 (gamma_test): Likewise.
20888 (sincos_test): Likewise.
20889 (tanh_test): Likewise.
20890 (y0_test): Likewise.
20891 (y1_test): Likewise.
20892 * sysdeps/i386/fpu/libm-test-ulps: Update.
20893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20895 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20897 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20898 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20899 and strcspn-ppc64 objects.
20900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20901 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20902 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20903 multiarch strcspn for POWER7.
20904 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20905 multiarch strcspn for PPC64.
20906 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20908 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20909 strcspn for POWER7.
20911 2014-03-20 Joseph Myers <joseph@codesourcery.com>
20913 * math/gen-libm-test.pl (generate_testfile): Expect only function
20914 name as argument to AUTO_TESTS_* and pass results for all rounding
20915 modes to parse_args.
20916 (parse_auto_input): Separate inputs of automatic tests from
20917 outputs before storing in %auto_tests.
20918 * math/libm-test.inc (acos_test_data): Update call to
20920 (acos_test): Use ALL_RM_TEST.
20921 (acos_tonearest_test_data): Remove.
20922 (acos_test_tonearest): Likewise.
20923 (acos_towardzero_test_data): Likewise.
20924 (acos_test_towardzero): Likewise.
20925 (acos_downward_test_data): Likewise.
20926 (acos_test_downward): Likewise.
20927 (acos_upward_test_data): Likewise.
20928 (acos_test_upward): Likewise.
20929 (acosh_test_data): Update call to AUTO_TESTS_f_f.
20930 (asin_test_data): Likewise.
20931 (asin_test): Use ALL_RM_TEST.
20932 (asin_tonearest_test_data): Remove.
20933 (asin_test_tonearest): Likewise.
20934 (asin_towardzero_test_data): Likewise.
20935 (asin_test_towardzero): Likewise.
20936 (asin_downward_test_data): Likewise.
20937 (asin_test_downward): Likewise.
20938 (asin_upward_test_data): Likewise.
20939 (asin_test_upward): Likewise.
20940 (asinh_test_data): Update call to AUTO_TESTS_f_f.
20941 (atan_test_data): Likewise.
20942 (atanh_test_data): Likewise.
20943 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20944 (cabs_test_data): Update call to AUTO_TESTS_c_f.
20945 (carg_test_data): Likewise.
20946 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20947 (ccos_test_data): Update call to AUTO_TESTS_c_c.
20948 (ccosh_test_data): Likewise.
20949 (cexp_test_data): Likewise.
20950 (clog_test_data): Likewise.
20951 (clog10_test_data): Likewise.
20952 (cos_test_data): Update call to AUTO_TESTS_f_f.
20953 (cos_test): Use ALL_RM_TEST.
20954 (cos_tonearest_test_data): Remove.
20955 (cos_test_tonearest): Likewise.
20956 (cos_towardzero_test_data): Likewise.
20957 (cos_test_towardzero): Likewise.
20958 (cos_downward_test_data): Likewise.
20959 (cos_test_downward): Likewise.
20960 (cos_upward_test_data): Likewise.
20961 (cos_test_upward): Likewise.
20962 (cosh_test_data): Update call to AUTO_TESTS_f_f.
20963 (cosh_test): Use ALL_RM_TEST.
20964 (cosh_tonearest_test_data): Remove.
20965 (cosh_test_tonearest): Likewise.
20966 (cosh_towardzero_test_data): Likewise.
20967 (cosh_test_towardzero): Likewise.
20968 (cosh_downward_test_data): Likewise.
20969 (cosh_test_downward): Likewise.
20970 (cosh_upward_test_data): Likewise.
20971 (cosh_test_upward): Likewise.
20972 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20973 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20974 (ctan_test_data): Likewise.
20975 (ctan_test): Use ALL_RM_TEST.
20976 (ctan_tonearest_test_data): Remove.
20977 (ctan_test_tonearest): Likewise.
20978 (ctan_towardzero_test_data): Likewise.
20979 (ctan_test_towardzero): Likewise.
20980 (ctan_downward_test_data): Likewise.
20981 (ctan_test_downward): Likewise.
20982 (ctan_upward_test_data): Likewise.
20983 (ctan_test_upward): Likewise.
20984 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20985 (ctanh_test): Use ALL_RM_TEST.
20986 (ctanh_tonearest_test_data): Remove.
20987 (ctanh_test_tonearest): Likewise.
20988 (ctanh_towardzero_test_data): Likewise.
20989 (ctanh_test_towardzero): Likewise.
20990 (ctanh_downward_test_data): Likewise.
20991 (ctanh_test_downward): Likewise.
20992 (ctanh_upward_test_data): Likewise.
20993 (ctanh_test_upward): Likewise.
20994 (erf_test_data): Update call to AUTO_TESTS_f_f.
20995 (erfc_test_data): Likewise.
20996 (exp_test_data): Likewise.
20997 (exp_test): Use ALL_RM_TEST.
20998 (exp_tonearest_test_data): Remove.
20999 (exp_test_tonearest): Likewise.
21000 (exp_towardzero_test_data): Likewise.
21001 (exp_test_towardzero): Likewise.
21002 (exp_downward_test_data): Likewise.
21003 (exp_test_downward): Likewise.
21004 (exp_upward_test_data): Likewise.
21005 (exp_test_upward): Likewise.
21006 (exp10_test_data): Update call to AUTO_TESTS_f_f.
21007 (exp10_test): Use ALL_RM_TEST.
21008 (exp10_tonearest_test_data): Remove.
21009 (exp10_test_tonearest): Likewise.
21010 (exp10_towardzero_test_data): Likewise.
21011 (exp10_test_towardzero): Likewise.
21012 (exp10_downward_test_data): Likewise.
21013 (exp10_test_downward): Likewise.
21014 (exp10_upward_test_data): Likewise.
21015 (exp10_test_upward): Likewise.
21016 (exp2_test_data): Update call to AUTO_TESTS_f_f.
21017 (expm1_test_data): Likewise.
21018 (expm1_test): Use ALL_RM_TEST.
21019 (expm1_tonearest_test_data): Remove.
21020 (expm1_test_tonearest): Likewise.
21021 (expm1_towardzero_test_data): Likewise.
21022 (expm1_test_towardzero): Likewise.
21023 (expm1_downward_test_data): Likewise.
21024 (expm1_test_downward): Likewise.
21025 (expm1_upward_test_data): Likewise.
21026 (expm1_test_upward): Likewise.
21027 (fma_test_data): Update call to AUTO_TESTS_fff_f.
21028 (fma_test): Use ALL_RM_TEST.
21029 (fma_towardzero_test_data): Remove.
21030 (fma_test_towardzero): Likewise.
21031 (fma_downward_test_data): Likewise.
21032 (fma_test_downward): Likewise.
21033 (fma_upward_test_data): Likewise.
21034 (fma_test_upward): Likewise.
21035 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21036 (j0_test_data): Update call to AUTO_TESTS_f_f.
21037 (j1_test_data): Likewise.
21038 (jn_test_data): Update call to AUTO_TESTS_if_f.
21039 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21040 (log_test_data): Update call to AUTO_TESTS_f_f.
21041 (log10_test_data): Likewise.
21042 (log1p_test_data): Likewise.
21043 (log2_test_data): Likewise.
21044 (pow_test_data): Update call to AUTO_TESTS_ff_f.
21045 (pow_tonearest_test_data): Likewise.
21046 (sin_test_data): Update call to AUTO_TESTS_f_f.
21047 (sin_test): Use ALL_RM_TEST.
21048 (sin_tonearest_test_data): Remove.
21049 (sin_test_tonearest): Likewise.
21050 (sin_towardzero_test_data): Likewise.
21051 (sin_test_towardzero): Likewise.
21052 (sin_downward_test_data): Likewise.
21053 (sin_test_downward): Likewise.
21054 (sin_upward_test_data): Likewise.
21055 (sin_test_upward): Likewise.
21056 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21057 (sinh_test_data): Update call to AUTO_TESTS_f_f.
21058 (sinh_test): Use ALL_RM_TEST.
21059 (sinh_tonearest_test_data): Remove.
21060 (sinh_test_tonearest): Likewise.
21061 (sinh_towardzero_test_data): Likewise.
21062 (sinh_test_towardzero): Likewise.
21063 (sinh_downward_test_data): Likewise.
21064 (sinh_test_downward): Likewise.
21065 (sinh_upward_test_data): Likewise.
21066 (sinh_test_upward): Likewise.
21067 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21068 (sqrt_test): Use ALL_RM_TEST.
21069 (sqrt_tonearest_test_data): Remove.
21070 (sqrt_test_tonearest): Likewise.
21071 (sqrt_towardzero_test_data): Likewise.
21072 (sqrt_test_towardzero): Likewise.
21073 (sqrt_downward_test_data): Likewise.
21074 (sqrt_test_downward): Likewise.
21075 (sqrt_upward_test_data): Likewise.
21076 (sqrt_test_upward): Likewise.
21077 (tan_test_data): Update call to AUTO_TESTS_f_f.
21078 (tan_test): Use ALL_RM_TEST.
21079 (tan_tonearest_test_data): Remove.
21080 (tan_test_tonearest): Likewise.
21081 (tan_towardzero_test_data): Likewise.
21082 (tan_test_towardzero): Likewise.
21083 (tan_downward_test_data): Likewise.
21084 (tan_test_downward): Likewise.
21085 (tan_upward_test_data): Likewise.
21086 (tan_test_upward): Likewise.
21087 (tanh_test_data): Update call to AUTO_TESTS_f_f.
21088 (tgamma_test_data): Likewise.
21089 (y0_test_data): Likewise.
21090 (y1_test_data): Likewise.
21091 (yn_test_data): Update call to AUTO_TESTS_if_f.
21092 (main): Do not call removed functions.
21094 2014-03-19 Joseph Myers <joseph@codesourcery.com>
21096 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21097 (ldexp_test_data): Remove.
21098 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
21100 (scalb_test): Use ALL_RM_TEST.
21102 2014-03-19 Andreas Schwab <schwab@suse.de>
21104 * nscd/nscd.service: Also invalidate netgroup cache on reload.
21106 2014-03-19 Joseph Myers <joseph@codesourcery.com>
21109 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21110 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21111 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21112 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21113 (__ASSUME_PREADV): Undefine.
21114 (__ASSUME_PWRITEV): Likewise.
21116 2014-03-18 Roland McGrath <roland@hack.frob.com>
21118 * bits/mman-linux.h: Add comment about non-Linux use.
21119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21120 bits/mman-linux.h resting place.
21122 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21123 * bits/mman-linux.h: ... here.
21125 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21127 * conform/conformtest.pl: Add standard definition when calling C
21128 preprocessor on data files.
21129 (checknamespace): Remove unused variable.
21131 2014-03-18 Joseph Myers <joseph@codesourcery.com>
21133 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21134 minus_oflow, plus_uflow and minus_uflow in expected results.
21135 * math/libm-test.inc (scalbn_test_data): Add more tests of
21136 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
21138 (scalbn_test): Use ALL_RM_TEST.
21139 (scalbln_test_data): Add more tests of negative arguments. Use
21140 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21141 (scalbln_test): Use ALL_RM_TEST.
21143 2014-03-18 Roland McGrath <roland@hack.frob.com>
21145 * scripts/abilist.awk: Ignore symbols marked with .hidden.
21147 2014-03-18 Will Newton <will.newton@linaro.org>
21149 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21150 inaccurate comment.
21152 2014-03-18 Joseph Myers <joseph@codesourcery.com>
21154 * Makerules [!subdir] (check-abi): Exit with error status if a
21157 2014-03-17 Joseph Myers <joseph@codesourcery.com>
21159 * math/libm-test.inc (nearbyint_test_data): Include all tests used
21160 for rint. Include results for all rounding modes.
21161 (nearbyint_test): Use ALL_RM_TEST.
21162 (rint_test_data): Include all tests used for nearbyint.
21164 2014-03-17 Will Newton <will.newton@linaro.org>
21166 * nptl/sysdeps/pthread/pthread.h: Revert previous
21169 * sysdeps/generic/ldsodefs.h: Revert previous
21172 * libio/genops.c: Revert previous change.
21173 * libio/libioP.h: Likewise.
21174 * stdio-common/vfprintf.c: Likewise.
21176 * sysdeps/generic/math_private.h: Revert previous
21179 * sysdeps/generic/math_private.h: Check whether
21180 HAVE_RM_CTX is defined with #ifdef rather
21183 * argp/argp-fmtstream.h: Check whether
21184 __STRICT_ANSI__ is defined with #ifdef rather
21186 * argp/argp.h: Likewise.
21188 * libio/genops.c: Check whether
21189 _IO_JUMPS_OFFSET is defined with #ifdef rather
21191 * libio/libioP.h: Likewise.
21192 * stdio-common/vfprintf.c: Likewise.
21194 * sysdeps/generic/ldsodefs.h: Check whether
21195 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21198 * nptl/sysdeps/pthread/pthread.h: Check
21199 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21202 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21204 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21206 * libio/tst-ftell-active-handler.c (do_append_test): Add a
21210 * libio/fileops.c (_IO_file_open): Seek to end of file but
21211 don't cache the offset.
21212 (get_file_offset): Remove function.
21213 (do_ftell): Use cached offset when available.
21214 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21215 don't cache the offset.
21216 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21218 (do_one_test): Call it.
21219 (do_ftell_test): Fix up expected old offset for a+ mode.
21220 * libio/wfileops.c (do_ftell_wide): Used cached offset when
21223 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21224 up test status with function return status.
21225 (do_write_test): Likewise.
21226 (do_append_test): Likewise.
21228 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21229 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21232 2014-03-17 Joseph Myers <joseph@codesourcery.com>
21234 * math/gen-libm-test.pl (parse_args): Handle results specified for
21235 each rounding mode separately.
21236 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21237 tests and results from lrint_tonearest_test_data,
21238 lrint_towardzero_test_data, lrint_downward_test_data and
21239 lrint_upward_test_data.
21240 (lrint_test): Use ALL_RM_TEST.
21241 (lrint_tonearest_test_data): Remove.
21242 (lrint_test_tonearest): Likewise.
21243 (lrint_towardzero_test_data): Likewise.
21244 (lrint_test_towardzero): Likewise.
21245 (lrint_downward_test_data): Likewise.
21246 (lrint_test_downward): Likewise.
21247 (lrint_upward_test_data): Likewise.
21248 (lrint_test_upward): Likewise.
21249 (llrint_test_data): Merge in per-rounding-mode tests and results
21250 from llrint_tonearest_test_data, llrint_towardzero_test_data,
21251 llrint_downward_test_data and llrint_upward_test_data.
21252 (llrint_test): Use ALL_RM_TEST.
21253 (llrint_tonearest_test_data): Remove.
21254 (llrint_test_tonearest): Likewise.
21255 (llrint_towardzero_test_data): Likewise.
21256 (llrint_test_towardzero): Likewise.
21257 (llrint_downward_test_data): Likewise.
21258 (llrint_test_downward): Likewise.
21259 (llrint_upward_test_data): Likewise.
21260 (llrint_test_upward): Likewise.
21261 (rint_test_data): Merge in per-rounding-mode tests and results
21262 from rint_tonearest_test_data, rint_towardzero_test_data,
21263 rint_downward_test_data and rint_upward_test_data. Add
21264 per-rounding-mode results for tests not in those arrays.
21265 (rint_test): Use ALL_RM_TEST.
21266 (rint_tonearest_test_data): Remove.
21267 (rint_test_tonearest): Likewise.
21268 (rint_towardzero_test_data): Likewise.
21269 (rint_test_towardzero): Likewise.
21270 (rint_downward_test_data): Likewise.
21271 (rint_test_downward): Likewise.
21272 (rint_upward_test_data): Likewise.
21273 (rint_test_upward): Likewise.
21274 (main): Don't call removed functions.
21276 2014-03-14 Roland McGrath <roland@hack.frob.com>
21278 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21279 "Compiled on ..." crapola. It is anti-useful.
21281 2014-03-14 Joseph Myers <joseph@codesourcery.com>
21283 * scripts/evaluate-test.sh: Handle fourth argument to determine
21284 whether test run should stop on failure.
21285 * Makeconfig (stop-on-test-failure): New variable.
21286 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21287 $(stop-on-test-failure).
21288 * Makefile (tests): Give a summary of results from testing and
21289 exit with failure status if they include an ERROR or FAIL.
21290 (xtests): Likewise.
21291 * manual/install.texi (Configuring and compiling): Mention
21292 stop-on-test-failure=y.
21293 * INSTALL: Regenerated.
21295 2014-03-14 Roland McGrath <roland@hack.frob.com>
21297 * scripts/versionlist.awk: New file.
21298 * Makerules [$(build-shared) = yes]
21299 (postclean-generated): Add Versions.def, not Versions.def.v and
21301 ($(common-objpfx)Versions.def.v.i): Target removed.
21302 ($(common-objpfx)Versions.def): New target.
21303 ($(common-objpfx)Versions.all): Depend on that rather that
21304 $(common-objpfx)Versions.def.v.
21305 * Versions.def: File removed.
21307 * Makeconfig (+gccwarn): Add -Wundef.
21308 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21309 a dl-sysdep.h breaking its contract.
21310 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21311 * include/stackinfo.h: New file.
21312 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21313 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21314 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21315 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21316 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21317 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21318 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21319 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21320 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21321 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21322 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21323 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21324 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21325 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21326 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21328 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21331 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21333 * math/libm-test.inc (round_test_data): Add more tests.
21336 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
21338 * math/libm-test.inc (nearbyint_test_data): Add more tests.
21341 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21343 * math/libm-test.inc (ceil_test_data): Add more tests.
21345 * math/libm-test.inc (trunc_test_data): Add more tests related to
21348 2014-03-14 Roland McGrath <roland@hack.frob.com>
21350 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21351 with #if rather than #ifdef.
21352 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21354 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
21356 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21357 first. Disable AVX-512 GCC support if assembler doesn't support
21359 * sysdeps/x86_64/configure: Regenerated.
21361 2014-03-13 Carlos O'Donell <carlos@redhat.com>
21363 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21364 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21365 (__old_pthread_attr_setstack): Likewise.
21366 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21367 [!_STACK_GROWS_DOWN]: Likewise.
21369 2014-03-13 Mike Frysinger <vapier@gentoo.org>
21371 * config.make.in (have-bash2): Delete.
21372 * configure.ac (libc_cv_have_bash2): Delete.
21373 * configure: Regenerate.
21374 * elf/Makefile (common-ldd-rewrite): Rename to ...
21375 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
21376 (sh-ldd-rewrite): Delete.
21377 (bash-ldd-rewrite): Delete.
21378 (have-bash2): Delete checks.
21379 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
21382 * config.make.in (have-ksh): Delete.
21384 * configure.ac (libc_cv_have_ksh): Delete.
21385 * configure: Regenerate.
21387 * elf/Makefile: Delete $(have-ksh) check.
21388 ($(objpfx)sotruss): Change KSH to BASH.
21389 * elf/sotruss.ksh: Rename to ...
21390 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
21391 function style to match POSIX. Drop ksh vim mode setting.
21393 * manual/time.texi (Specifying the Time Zone with TZ): Change
21394 Tuesday to Thursday.
21396 * debug/tst-longjmp_chk2.c: Update header comment.
21397 (stackoverflow_handler): Add comment. Call assert on pass value.
21399 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
21402 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
21403 (HAVE_AVX512_ASM_SUPPORT): Likewise.
21404 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
21405 (La_x86_64_vector): Add zmm.
21406 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
21407 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
21408 ($(objpfx)tst-audit10): New target.
21409 ($(objpfx)tst-audit10.out): Likewise.
21410 (tst-audit10-ENV): New.
21411 (AVX512-CFLAGS): Likewise.
21412 (CFLAGS-tst-audit10.c): Likewise.
21413 (CFLAGS-tst-auditmod10a.c): Likewise.
21414 (CFLAGS-tst-auditmod10b.c): Likewise.
21415 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
21416 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
21417 * sysdeps/x86_64/configure: Regenerated.
21418 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
21419 AVX-512 zmm register support.
21420 (_dl_x86_64_save_sse): Likewise.
21421 (_dl_x86_64_restore_sse): Likewise.
21422 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
21423 size vector registers.
21424 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
21425 (ZMM_SIZE): Likewise.
21426 * sysdeps/x86_64/tst-audit10.c: New file.
21427 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
21428 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
21430 2014-03-13 Roland McGrath <roland@hack.frob.com>
21432 * configure.ac (HAVE_EHDR_START): New check.
21433 * configure: Regenerated.
21434 * config.h.in (HAVE_EHDR_START): New #undef.
21435 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
21436 assuming the lowest-addressed segment maps the start of the file.
21438 2014-03-13 Joseph Myers <joseph@codesourcery.com>
21440 * INSTALL: Regenerated.
21442 2014-03-13 Will Newton <will.newton@linaro.org>
21444 * manual/setjmp.texi (System V contexts): Improve
21445 clarity and grammar of documentation.
21447 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
21450 * elf/Makefile (tests): Add tst-pie2.
21451 (tests-pie): Add tst-pie2.
21452 * elf/tst-pie2.c: New file.
21453 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21455 * elf/rtld.c (map_doit): Load executable as lt_executable.
21456 (dl_main): Likewise.
21458 2014-03-12 Joseph Myers <joseph@codesourcery.com>
21461 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21462 (__ASSUME_PSELECT): Undefine.
21464 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21467 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21468 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21470 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21471 selector for static builds.
21473 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21476 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21479 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21481 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21482 IFUNC selector for static builds.
21484 2014-03-11 Joseph Myers <joseph@codesourcery.com>
21486 * sysdeps/mips/math_private.h [__mips_hard_float]
21487 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21488 libc_feresetround_mips_ctx.
21489 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21490 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21491 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21494 * math/s_nextafter.c (__nextafter): Do not return value from
21495 overflowing computation.
21496 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21497 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21498 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21500 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21502 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21503 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21505 2014-03-11 Roland McGrath <roland@hack.frob.com>
21507 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21508 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21509 Move sfi_sp use from the load-multiple (that no longer sets sp) to
21510 the new mov targetting sp.
21512 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21515 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21516 Define it for static builds as well.
21517 (NO_BZERO_IMPL): Likewise.
21519 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21521 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21522 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21523 multiarch strspn for PPC64.
21524 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21525 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21527 (__libc_ifunc_impl_list): Likewise.
21528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21529 multiarch optimizations
21530 * string/strspn.c (strspn): Using macro to redefine symbol name.
21532 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21533 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21535 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21536 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21537 multiarch strncat for PPC64.
21538 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21539 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21541 (__libc_ifunc_impl_list): Likewise.
21542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21543 multiarch optimizations
21545 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21548 * nscd/nscd.service: Make service type forking.
21550 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21552 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21553 sign in non default rounding modes.
21554 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21556 2014-03-08 Joseph Myers <joseph@codesourcery.com>
21558 * math/libm-test.inc (ALL_RM_TEST): New macro.
21559 (ceil_test): Use ALL_RM_TEST.
21560 (cimag_test): Likewise.
21561 (conj_test): Likewise.
21562 (copysign_test): Likewise.
21563 (cproj_test): Likewise.
21564 (creal_test): Likewise.
21565 (fabs_test): Likewise.
21566 (floor_test): Likewise.
21567 (fmax_test): Likewise.
21568 (fmin_test): Likewise.
21569 (fmod_test): Likewise.
21570 (fpclassify_test): Likewise.
21571 (frexp_test): Likewise.
21572 (ilogb_test): Likewise.
21573 (isfinite_test): Likewise.
21574 (finite_test): Likewise.
21575 (isgreater_test): Likewise.
21576 (isgreaterequal_test): Likewise.
21577 (isinf_test): Likewise.
21578 (isless_test): Likewise.
21579 (islessequal_test): Likewise.
21580 (islessgreater_test): Likewise.
21581 (isnan_test): Likewise.
21582 (isnormal_test): Likewise.
21583 (issignaling_test): Likewise.
21584 (isunordered_test): Likewise.
21585 (logb_test): Likewise.
21586 (logb_downward_test_data): Remove.
21587 (logb_test_downward): Likewise.
21588 (lround_test): Use ALL_RM_TEST.
21589 (llround_test): Likewise.
21590 (modf_test): Likewise.
21591 (nexttoward_test): Likewise.
21592 (remainder_test): Likewise.
21593 (drem_test): Likewise.
21594 (remainder_tonearest_test_data): Likewise.
21595 (remainder_test_tonearest): Likewise.
21596 (drem_test_tonearest): Likewise.
21597 (remainder_towardzero_test_data): Likewise.
21598 (remainder_test_towardzero): Likewise.
21599 (drem_test_towardzero): Likewise.
21600 (remainder_downward_test_data): Likewise.
21601 (remainder_test_downward): Likewise.
21602 (drem_test_downward): Likewise.
21603 (remainder_upward_test_data): Likewise.
21604 (remainder_test_upward): Likewise.
21605 (drem_test_upward): Likewise.
21606 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
21607 (round_test): Use ALL_RM_TEST.
21608 (signbit_test): Likewise.
21609 (trunc_test): Likewise.
21610 (significand_test): Likewise.
21611 (main): Don't call removed functions.
21613 2014-03-07 Joseph Myers <joseph@codesourcery.com>
21616 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21617 || __USE_XOPEN2K8].
21618 (ILL_ILLOPN): Likewise.
21619 (ILL_ILLADR): Likewise.
21620 (ILL_ILLTRP): Likewise.
21621 (ILL_PRVOPC): Likewise.
21622 (ILL_PRVREG): Likewise.
21623 (ILL_COPROC): Likewise.
21624 (ILL_BADSTK): Likewise.
21625 (FPE_INTDIV): Likewise.
21626 (FPE_INTOVF): Likewise.
21627 (FPE_FLTDIV): Likewise.
21628 (FPE_FLTOVF): Likewise.
21629 (FPE_FLTUND): Likewise.
21630 (FPE_FLTRES): Likewise.
21631 (FPE_FLTINV): Likewise.
21632 (FPE_FLTSUB): Likewise.
21633 (SEGV_MAPERR): Likewise.
21634 (SEGV_ACCERR): Likewise.
21635 (BUS_ADRALN): Likewise.
21636 (BUS_ADRERR): Likewise.
21637 (BUS_OBJERR): Likewise.
21638 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21639 (TRAP_TRACE): Likewise.
21640 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21642 (CLD_KILLED): Likewise.
21643 (CLD_DUMPED): Likewise.
21644 (CLD_TRAPPED): Likewise.
21645 (CLD_STOPPED): Likewise.
21646 (CLD_CONTINUED): Likewise.
21647 (POLL_IN): Likewise.
21648 (POLL_OUT): Likewise.
21649 (POLL_MSG): Likewise.
21650 (POLL_ERR): Likewise.
21651 (POLL_PRI): Likewise.
21652 (POLL_HUP): Likewise.
21653 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21655 (ILL_ILLOPN): Likewise.
21656 (ILL_ILLADR): Likewise.
21657 (ILL_ILLTRP): Likewise.
21658 (ILL_PRVOPC): Likewise.
21659 (ILL_PRVREG): Likewise.
21660 (ILL_COPROC): Likewise.
21661 (ILL_BADSTK): Likewise.
21662 (FPE_INTDIV): Likewise.
21663 (FPE_INTOVF): Likewise.
21664 (FPE_FLTDIV): Likewise.
21665 (FPE_FLTOVF): Likewise.
21666 (FPE_FLTUND): Likewise.
21667 (FPE_FLTRES): Likewise.
21668 (FPE_FLTINV): Likewise.
21669 (FPE_FLTSUB): Likewise.
21670 (SEGV_MAPERR): Likewise.
21671 (SEGV_ACCERR): Likewise.
21672 (BUS_ADRALN): Likewise.
21673 (BUS_ADRERR): Likewise.
21674 (BUS_OBJERR): Likewise.
21675 (BUS_MCEERR_AR): Likewise.
21676 (BUS_MCEERR_AO): Likewise.
21677 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21678 (TRAP_TRACE): Likewise.
21679 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21681 (CLD_KILLED): Likewise.
21682 (CLD_DUMPED): Likewise.
21683 (CLD_TRAPPED): Likewise.
21684 (CLD_STOPPED): Likewise.
21685 (CLD_CONTINUED): Likewise.
21686 (POLL_IN): Likewise.
21687 (POLL_OUT): Likewise.
21688 (POLL_MSG): Likewise.
21689 (POLL_ERR): Likewise.
21690 (POLL_PRI): Likewise.
21691 (POLL_HUP): Likewise.
21692 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21693 (ILL_ILLOPN): Likewise.
21694 (ILL_ILLADR): Likewise.
21695 (ILL_ILLTRP): Likewise.
21696 (ILL_PRVOPC): Likewise.
21697 (ILL_PRVREG): Likewise.
21698 (ILL_COPROC): Likewise.
21699 (ILL_BADSTK): Likewise.
21700 (FPE_INTDIV): Likewise.
21701 (FPE_INTOVF): Likewise.
21702 (FPE_FLTDIV): Likewise.
21703 (FPE_FLTOVF): Likewise.
21704 (FPE_FLTUND): Likewise.
21705 (FPE_FLTRES): Likewise.
21706 (FPE_FLTINV): Likewise.
21707 (FPE_FLTSUB): Likewise.
21708 (SEGV_MAPERR): Likewise.
21709 (SEGV_ACCERR): Likewise.
21710 (BUS_ADRALN): Likewise.
21711 (BUS_ADRERR): Likewise.
21712 (BUS_OBJERR): Likewise.
21713 (BUS_MCEERR_AR): Likewise.
21714 (BUS_MCEERR_AO): Likewise.
21715 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21716 (TRAP_TRACE): Likewise.
21717 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21719 (CLD_KILLED): Likewise.
21720 (CLD_DUMPED): Likewise.
21721 (CLD_TRAPPED): Likewise.
21722 (CLD_STOPPED): Likewise.
21723 (CLD_CONTINUED): Likewise.
21724 (POLL_IN): Likewise.
21725 (POLL_OUT): Likewise.
21726 (POLL_MSG): Likewise.
21727 (POLL_ERR): Likewise.
21728 (POLL_PRI): Likewise.
21729 (POLL_HUP): Likewise.
21730 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21732 (ILL_ILLOPN): Likewise.
21733 (ILL_ILLADR): Likewise.
21734 (ILL_ILLTRP): Likewise.
21735 (ILL_PRVOPC): Likewise.
21736 (ILL_PRVREG): Likewise.
21737 (ILL_COPROC): Likewise.
21738 (ILL_BADSTK): Likewise.
21739 (ILL_BADIADDR): Likewise.
21740 (ILL_BREAK): Likewise.
21741 (FPE_INTDIV): Likewise.
21742 (FPE_INTOVF): Likewise.
21743 (FPE_FLTDIV): Likewise.
21744 (FPE_FLTOVF): Likewise.
21745 (FPE_FLTUND): Likewise.
21746 (FPE_FLTRES): Likewise.
21747 (FPE_FLTINV): Likewise.
21748 (FPE_FLTSUB): Likewise.
21749 (FPE_DECOVF): Likewise.
21750 (FPE_DECDIV): Likewise.
21751 (FPE_DECERR): Likewise.
21752 (FPE_INVASC): Likewise.
21753 (FPE_INVDEC): Likewise.
21754 (SEGV_MAPERR): Likewise.
21755 (SEGV_ACCERR): Likewise.
21756 (SEGV_PSTKOVF): Likewise.
21757 (BUS_ADRALN): Likewise.
21758 (BUS_ADRERR): Likewise.
21759 (BUS_OBJERR): Likewise.
21760 (BUS_MCEERR_AR): Likewise.
21761 (BUS_MCEERR_AO): Likewise.
21762 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21763 (TRAP_TRACE): Likewise.
21764 (TRAP_BRANCH): Likewise.
21765 (TRAP_HWBKPT): Likewise.
21766 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21768 (CLD_KILLED): Likewise.
21769 (CLD_DUMPED): Likewise.
21770 (CLD_TRAPPED): Likewise.
21771 (CLD_STOPPED): Likewise.
21772 (CLD_CONTINUED): Likewise.
21773 (POLL_IN): Likewise.
21774 (POLL_OUT): Likewise.
21775 (POLL_MSG): Likewise.
21776 (POLL_ERR): Likewise.
21777 (POLL_PRI): Likewise.
21778 (POLL_HUP): Likewise.
21779 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21780 (ILL_ILLOPN): Likewise.
21781 (ILL_ILLADR): Likewise.
21782 (ILL_ILLTRP): Likewise.
21783 (ILL_PRVOPC): Likewise.
21784 (ILL_PRVREG): Likewise.
21785 (ILL_COPROC): Likewise.
21786 (ILL_BADSTK): Likewise.
21787 (FPE_INTDIV): Likewise.
21788 (FPE_INTOVF): Likewise.
21789 (FPE_FLTDIV): Likewise.
21790 (FPE_FLTOVF): Likewise.
21791 (FPE_FLTUND): Likewise.
21792 (FPE_FLTRES): Likewise.
21793 (FPE_FLTINV): Likewise.
21794 (FPE_FLTSUB): Likewise.
21795 (SEGV_MAPERR): Likewise.
21796 (SEGV_ACCERR): Likewise.
21797 (BUS_ADRALN): Likewise.
21798 (BUS_ADRERR): Likewise.
21799 (BUS_OBJERR): Likewise.
21800 (BUS_MCEERR_AR): Likewise.
21801 (BUS_MCEERR_AO): Likewise.
21802 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21803 (TRAP_TRACE): Likewise.
21804 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21806 (CLD_KILLED): Likewise.
21807 (CLD_DUMPED): Likewise.
21808 (CLD_TRAPPED): Likewise.
21809 (CLD_STOPPED): Likewise.
21810 (CLD_CONTINUED): Likewise.
21811 (POLL_IN): Likewise.
21812 (POLL_OUT): Likewise.
21813 (POLL_MSG): Likewise.
21814 (POLL_ERR): Likewise.
21815 (POLL_PRI): Likewise.
21816 (POLL_HUP): Likewise.
21817 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21818 (ILL_ILLOPN): Likewise.
21819 (ILL_ILLADR): Likewise.
21820 (ILL_ILLTRP): Likewise.
21821 (ILL_PRVOPC): Likewise.
21822 (ILL_PRVREG): Likewise.
21823 (ILL_COPROC): Likewise.
21824 (ILL_BADSTK): Likewise.
21825 (FPE_INTDIV): Likewise.
21826 (FPE_INTOVF): Likewise.
21827 (FPE_FLTDIV): Likewise.
21828 (FPE_FLTOVF): Likewise.
21829 (FPE_FLTUND): Likewise.
21830 (FPE_FLTRES): Likewise.
21831 (FPE_FLTINV): Likewise.
21832 (FPE_FLTSUB): Likewise.
21833 (SEGV_MAPERR): Likewise.
21834 (SEGV_ACCERR): Likewise.
21835 (BUS_ADRALN): Likewise.
21836 (BUS_ADRERR): Likewise.
21837 (BUS_OBJERR): Likewise.
21838 (BUS_MCEERR_AR): Likewise.
21839 (BUS_MCEERR_AO): Likewise.
21840 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21841 (TRAP_TRACE): Likewise.
21842 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21844 (CLD_KILLED): Likewise.
21845 (CLD_DUMPED): Likewise.
21846 (CLD_TRAPPED): Likewise.
21847 (CLD_STOPPED): Likewise.
21848 (CLD_CONTINUED): Likewise.
21849 (POLL_IN): Likewise.
21850 (POLL_OUT): Likewise.
21851 (POLL_MSG): Likewise.
21852 (POLL_ERR): Likewise.
21853 (POLL_PRI): Likewise.
21854 (POLL_HUP): Likewise.
21855 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21856 (ILL_ILLOPN): Likewise.
21857 (ILL_ILLADR): Likewise.
21858 (ILL_ILLTRP): Likewise.
21859 (ILL_PRVOPC): Likewise.
21860 (ILL_PRVREG): Likewise.
21861 (ILL_COPROC): Likewise.
21862 (ILL_BADSTK): Likewise.
21863 (FPE_INTDIV): Likewise.
21864 (FPE_INTOVF): Likewise.
21865 (FPE_FLTDIV): Likewise.
21866 (FPE_FLTOVF): Likewise.
21867 (FPE_FLTUND): Likewise.
21868 (FPE_FLTRES): Likewise.
21869 (FPE_FLTINV): Likewise.
21870 (FPE_FLTSUB): Likewise.
21871 (SEGV_MAPERR): Likewise.
21872 (SEGV_ACCERR): Likewise.
21873 (BUS_ADRALN): Likewise.
21874 (BUS_ADRERR): Likewise.
21875 (BUS_OBJERR): Likewise.
21876 (BUS_MCEERR_AR): Likewise.
21877 (BUS_MCEERR_AO): Likewise.
21878 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21879 (TRAP_TRACE): Likewise.
21880 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21882 (CLD_KILLED): Likewise.
21883 (CLD_DUMPED): Likewise.
21884 (CLD_TRAPPED): Likewise.
21885 (CLD_STOPPED): Likewise.
21886 (CLD_CONTINUED): Likewise.
21887 (POLL_IN): Likewise.
21888 (POLL_OUT): Likewise.
21889 (POLL_MSG): Likewise.
21890 (POLL_ERR): Likewise.
21891 (POLL_PRI): Likewise.
21892 (POLL_HUP): Likewise.
21893 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21894 (ILL_ILLOPN): Likewise.
21895 (ILL_ILLADR): Likewise.
21896 (ILL_ILLTRP): Likewise.
21897 (ILL_PRVOPC): Likewise.
21898 (ILL_PRVREG): Likewise.
21899 (ILL_COPROC): Likewise.
21900 (ILL_BADSTK): Likewise.
21901 (ILL_DBLFLT): Likewise.
21902 (ILL_HARDWALL): Likewise.
21903 (FPE_INTDIV): Likewise.
21904 (FPE_INTOVF): Likewise.
21905 (FPE_FLTDIV): Likewise.
21906 (FPE_FLTOVF): Likewise.
21907 (FPE_FLTUND): Likewise.
21908 (FPE_FLTRES): Likewise.
21909 (FPE_FLTINV): Likewise.
21910 (FPE_FLTSUB): Likewise.
21911 (SEGV_MAPERR): Likewise.
21912 (SEGV_ACCERR): Likewise.
21913 (BUS_ADRALN): Likewise.
21914 (BUS_ADRERR): Likewise.
21915 (BUS_OBJERR): Likewise.
21916 (BUS_MCEERR_AR): Likewise.
21917 (BUS_MCEERR_AO): Likewise.
21918 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21919 (TRAP_TRACE): Likewise.
21920 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21922 (CLD_KILLED): Likewise.
21923 (CLD_DUMPED): Likewise.
21924 (CLD_TRAPPED): Likewise.
21925 (CLD_STOPPED): Likewise.
21926 (CLD_CONTINUED): Likewise.
21927 (POLL_IN): Likewise.
21928 (POLL_OUT): Likewise.
21929 (POLL_MSG): Likewise.
21930 (POLL_ERR): Likewise.
21931 (POLL_PRI): Likewise.
21932 (POLL_HUP): Likewise.
21933 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21934 (ILL_ILLOPN): Likewise.
21935 (ILL_ILLADR): Likewise.
21936 (ILL_ILLTRP): Likewise.
21937 (ILL_PRVOPC): Likewise.
21938 (ILL_PRVREG): Likewise.
21939 (ILL_COPROC): Likewise.
21940 (ILL_BADSTK): Likewise.
21941 (FPE_INTDIV): Likewise.
21942 (FPE_INTOVF): Likewise.
21943 (FPE_FLTDIV): Likewise.
21944 (FPE_FLTOVF): Likewise.
21945 (FPE_FLTUND): Likewise.
21946 (FPE_FLTRES): Likewise.
21947 (FPE_FLTINV): Likewise.
21948 (FPE_FLTSUB): Likewise.
21949 (SEGV_MAPERR): Likewise.
21950 (SEGV_ACCERR): Likewise.
21951 (BUS_ADRALN): Likewise.
21952 (BUS_ADRERR): Likewise.
21953 (BUS_OBJERR): Likewise.
21954 (BUS_MCEERR_AR): Likewise.
21955 (BUS_MCEERR_AO): Likewise.
21956 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21957 (TRAP_TRACE): Likewise.
21958 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21960 (CLD_KILLED): Likewise.
21961 (CLD_DUMPED): Likewise.
21962 (CLD_TRAPPED): Likewise.
21963 (CLD_STOPPED): Likewise.
21964 (CLD_CONTINUED): Likewise.
21965 (POLL_IN): Likewise.
21966 (POLL_OUT): Likewise.
21967 (POLL_MSG): Likewise.
21968 (POLL_ERR): Likewise.
21969 (POLL_PRI): Likewise.
21970 (POLL_HUP): Likewise.
21971 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21972 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21975 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21976 before #include of <time.h>.
21977 [!__USE_XOPEN2K] (__need_timespec): Likewise.
21978 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21979 (test-xfail-UNIX98/sched.h/conform): Likewise.
21981 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
21983 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21984 error absence of trapping exception support.
21985 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21987 2014-03-07 Joseph Myers <joseph@codesourcery.com>
21989 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21990 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21991 * timezone/Makefile (testdata): Move definition above include of
21993 (test-zones): New variable.
21994 (tests-special): Add zone files.
21995 (build-testdata): Use $(evaluate-test).
21997 * elf/Makefile (tests-special): Rename tests to end with .out.
21998 ($(objpfx)noload-mem): Likewise.
21999 ($(objpfx)tst-leaks1-mem): Likewise.
22000 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22001 * iconv/Makefile (xtests-special): Change test-iconvconfig to
22002 $(objpfx)test-iconvconfig.out.
22003 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
22004 set -e inside subshell and redirect output to file.
22005 * iconvdata/Makefile (generated): Rename tests to end with .out.
22007 (tests-special): Rename tests to end with .out.
22008 ($(objpfx)mtrace-tst-loading): Likewise.
22009 * intl/Makefile (generated): Likewise.
22010 (tests-special): Likewise.
22011 ($(objpfx)mtrace-tst-gettext): Likewise.
22012 * misc/Makefile (generated): Likewise.
22013 (tests-special): Likewise.
22014 ($(objpfx)tst-error1-mem): Likewise.
22015 * nptl/Makefile (tests-special): Likewise.
22016 ($(objpfx)tst-stack3-mem): Likewise.
22017 (generated): Likewise.
22018 * posix/Makefile (generated): Likewise.
22019 (tests-special): Likewise.
22020 (xtests-special): Likewise.
22021 ($(objpfx)tst-fnmatch-mem): Likewise.
22022 ($(objpfx)bug-regex2-mem): Likewise.
22023 ($(objpfx)bug-regex14-mem): Likewise.
22024 ($(objpfx)bug-regex21-mem): Likewise.
22025 ($(objpfx)bug-regex31-mem): Likewise.
22026 ($(objpfx)tst-vfork3-mem): Likewise.
22027 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22028 ($(objpfx)tst-pcre-mem): Likewise.
22029 ($(objpfx)tst-boost-mem): Likewise.
22030 ($(objpfx)bug-ga2-mem): Likewise.
22031 ($(objpfx)bug-glob2-mem): Likewise.
22032 * resolv/Makefile (generate): Likewise.
22033 (tests-special): Likewise.
22034 (xtests-special): Likewise.
22035 (generated): Likewise.
22036 ($(objpfx)mtrace-tst-leaks): Likewise.
22037 ($(objpfx)mtrace-tst-leaks2): Likewise.
22039 * scripts/merge-test-results.sh: New file.
22040 * Makefile (tests-special-notdir): New variable.
22041 (tests): Run merge-test-results.sh.
22042 (xtests): Likewise.
22043 * Rules (tests-special-notdir): New variable.
22044 (xtests-special-notdir): Likewise.
22045 (tests): Run merge-test-results.sh
22046 (xtests): Likewise.
22048 * Makeconfig (test-xfail-name): New variable.
22049 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22050 compute variable name for expected failures.
22051 * conform/Makefile (conformtest-headers-data): New variable.
22052 (conformtest-standards): Likewise.
22053 (conformtest-headers-ISO): Likewise.
22054 (conformtest-headers-ISO99): Likewise.
22055 (conformtest-headers-ISO11): Likewise.
22056 (conformtest-headers-POSIX): Likewise.
22057 (conformtest-headers-XPG3): Likewise.
22058 (conformtest-headers-XPG4): Likewise.
22059 (conformtest-headers-UNIX98): Likewise.
22060 (conformtest-headers-XOPEN2K): Likewise.
22061 (conformtest-headers-POSIX2008): Likewise.
22062 (conformtest-headers-XOPEN2K8): Likewise.
22063 (conformtest-header-list-base): Likewise.
22064 (conformtest-header-list-tests): Likewise.
22065 (conformtest-header-base): Likewise.
22066 (conformtest-header-tests): Likewise.
22067 (tests-special): Add $(conformtest-header-list-tests). If
22068 [$(fast-check) && !$(cross-compiling)], add
22069 $(conformtest-header-tests) instead of
22070 $(objpfx)run-conformtest.out.
22071 (generated): Add $(conformtest-header-list-base). If
22072 [$(fast-check) && !$(cross-compiling)], add
22073 $(conformtest-header-base). Remove previous setting.
22074 ($(conformtest-header-list-tests)): New target.
22075 (test-xfail-run-conformtest): Remove variable.
22076 ($(objpfx)run-conformtest.out): Remove target.
22077 (test-xfail-ISO11/complex.h/conform): New variable.
22078 (test-xfail-ISO11/stdalign.h/conform): Likewise.
22079 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22080 (test-xfail-XPG3/varargs.h/conform): Likewise.
22081 (test-xfail-XPG4/varargs.h/conform): Likewise.
22082 (test-xfail-UNIX98/varargs.h/conform): Likewise.
22083 (test-xfail-XPG4/ndbm.h/conform): Likewise.
22084 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22085 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22086 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22087 (test-xfail-XPG3/fcntl.h/conform): Likewise.
22088 (test-xfail-XPG3/ftw.h/conform): Likewise.
22089 (test-xfail-XPG3/grp.h/conform): Likewise.
22090 (test-xfail-XPG3/langinfo.h/conform): Likewise.
22091 (test-xfail-XPG3/limits.h/conform): Likewise.
22092 (test-xfail-XPG3/pwd.h/conform): Likewise.
22093 (test-xfail-XPG3/search.h/conform): Likewise.
22094 (test-xfail-XPG3/signal.h/conform): Likewise.
22095 (test-xfail-XPG3/stdio.h/conform): Likewise.
22096 (test-xfail-XPG3/stdlib.h/conform): Likewise.
22097 (test-xfail-XPG3/string.h/conform): Likewise.
22098 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22099 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22100 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22101 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22102 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22103 (test-xfail-XPG3/sys/types.h/conform): Likewise.
22104 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22105 (test-xfail-XPG3/termios.h/conform): Likewise.
22106 (test-xfail-XPG3/time.h/conform): Likewise.
22107 (test-xfail-XPG3/unistd.h/conform): Likewise.
22108 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22109 (test-xfail-XPG4/fcntl.h/conform): Likewise.
22110 (test-xfail-XPG4/langinfo.h/conform): Likewise.
22111 (test-xfail-XPG4/netdb.h/conform): Likewise.
22112 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22113 (test-xfail-XPG4/signal.h/conform): Likewise.
22114 (test-xfail-XPG4/stdio.h/conform): Likewise.
22115 (test-xfail-XPG4/stdlib.h/conform): Likewise.
22116 (test-xfail-XPG4/stropts.h/conform): Likewise.
22117 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22118 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22119 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22120 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22121 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22122 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22123 (test-xfail-XPG4/sys/time.h/conform): Likewise.
22124 (test-xfail-XPG4/sys/types.h/conform): Likewise.
22125 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22126 (test-xfail-XPG4/termios.h/conform): Likewise.
22127 (test-xfail-XPG4/ucontext.h/conform): Likewise.
22128 (test-xfail-XPG4/unistd.h/conform): Likewise.
22129 (test-xfail-XPG4/utmpx.h/conform): Likewise.
22130 (test-xfail-POSIX/sched.h/conform): Likewise.
22131 (test-xfail-POSIX/signal.h/conform): Likewise.
22132 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22133 (test-xfail-POSIX/tar.h/conform): Likewise.
22134 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22135 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22136 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22137 (test-xfail-UNIX98/netdb.h/conform): Likewise.
22138 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22139 (test-xfail-UNIX98/sched.h/conform): Likewise.
22140 (test-xfail-UNIX98/signal.h/conform): Likewise.
22141 (test-xfail-UNIX98/stdio.h/conform): Likewise.
22142 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22143 (test-xfail-UNIX98/stropts.h/conform): Likewise.
22144 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22145 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22146 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22147 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22148 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22149 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22150 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22151 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22152 (test-xfail-UNIX98/unistd.h/conform): Likewise.
22153 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22154 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22155 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22156 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22157 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22158 (test-xfail-XOPEN2K/math.h/conform): Likewise.
22159 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22160 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22161 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22162 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22163 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22164 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22165 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22166 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22167 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22168 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22169 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22170 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22171 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22172 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22173 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22174 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22175 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22176 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22177 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22178 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22179 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22180 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22181 (test-xfail-POSIX2008/signal.h/conform): Likewise.
22182 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22183 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22184 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22185 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22186 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22187 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22188 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22189 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22190 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22191 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22192 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22193 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22194 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22195 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22196 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22197 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22198 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22199 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22200 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22201 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22202 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22203 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22204 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22205 (conformtest-cc-flags): Likewise.
22206 ($(conformtest-header-tests): New target.
22207 * conform/check-header-lists.sh: New file.
22208 * conform/run-conformtest.sh: Remove.
22210 * conform/conformtest.pl: Allow ' and \ in values given for
22212 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22214 [POSIX] (sys/types.h): Likewise.
22215 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22217 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22219 * conform/data/signal.h-data (SIGIO): Remove expectation.
22220 [XPG3] (SIGBUS): Do not expect.
22221 [POSIX || XPG3] (SIGPOLL): Likewise.
22222 [POSIX || XPG3] (SIGPROF): Likewise.
22223 [POSIX || XPG3] (SIGSYS): Likewise.
22224 [XPG3] (SIGTRAP): Likewise.
22225 [POSIX || XPG3] (SIGURG): Likewise.
22226 [POSIX || XPG3] (SIGVTALRM): Likewise.
22227 [POSIX || XPG3] (SIGXCPU): Likewise.
22228 [POSIX || XPG3] (SIGXFSZ): Likewise.
22229 [POSIX] (SA_SIGINFO): Expect.
22230 [XPG3] (siginfo_t): Do not expect type or contents.
22231 [POSIX] (si_pid): Do not expect element.
22232 [POSIX] (si_uid): Likewise.
22233 [POSIX] (si_addr): Likewise.
22234 [POSIX] (si_status): Likewise.
22235 [POSIX] (si_band): Likewise.
22236 [XPG4] (si_value): Likewise.
22237 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22238 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22239 [POSIX || XPG3] (ILL_ILLADR): Likewise.
22240 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22241 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22242 [POSIX || XPG3] (ILL_PRVREG): Likewise.
22243 [POSIX || XPG3] (ILL_COPROC): Likewise.
22244 [POSIX || XPG3] (ILL_BADSTK): Likewise.
22245 [POSIX || XPG3] (FPE_INTDIV): Likewise.
22246 [POSIX || XPG3] (FPE_INTOVF): Likewise.
22247 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22248 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22249 [POSIX || XPG3] (FPE_FLTUND): Likewise.
22250 [POSIX || XPG3] (FPE_FLTRES): Likewise.
22251 [POSIX || XPG3] (FPE_FLTINV): Likewise.
22252 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22253 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22254 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22255 [POSIX || XPG3] (BUS_ADRALN): Likewise.
22256 [POSIX || XPG3] (BUS_ADRERR): Likewise.
22257 [POSIX || XPG3] (BUS_OBJERR): Likewise.
22258 [POSIX || XPG3] (CLD_EXITED): Likewise.
22259 [POSIX || XPG3] (CLD_KILLED): Likewise.
22260 [POSIX || XPG3] (CLD_DUMPED): Likewise.
22261 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22262 [POSIX || XPG3] (CLD_STOPPED): Likewise.
22263 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22264 [POSIX || XPG3] (POLL_IN): Likewise.
22265 [POSIX || XPG3] (POLL_OUT): Likewise.
22266 [POSIX || XPG3] (POLL_MSG): Likewise.
22267 [POSIX || XPG3] (POLL_ERR): Likewise.
22268 [POSIX || XPG3] (POLL_PRI): Likewise.
22269 [POSIX || XPG3] (POLL_HUP): Likewise.
22270 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22271 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22272 (SIG*): Do not allow.
22273 [XPG3] (si_*): Likewise.
22274 [XPG3] (SI_*): Likewise.
22275 [XPG3 || XPG4] (sigev_*): Likewise.
22276 [XPG3 || XPG4] (SIGEV_*): Likewise.
22277 [XPG3 || XPG4] (sival_*): Likewise.
22278 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22279 [POSIX || XPG3] (BUS_*): Likewise.
22280 [POSIX || XPG3] (CLD_*): Likewise.
22281 [POSIX || XPG3] (FPE_*): Likewise.
22282 [POSIX || XPG3] (ILL_*): Likewise.
22283 [POSIX || XPG3] (POLL_*): Likewise.
22284 [POSIX || XPG3] (SEGV_*): Likewise.
22285 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22286 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22287 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22288 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22289 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22290 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22291 Specify type and value.
22292 (TVERSLEN): Likewise.
22293 (REGTYPE): Likewise.
22294 (AREGTYPE): Likewise.
22295 (LNKTYPE): Likewise.
22296 (SYMTYPE): Likewise.
22297 (CHRTYPE): Likewise.
22298 (BLKTYPE): Likewise.
22299 (DIRTYPE): Likewise.
22300 (FIFOTYPE): Likewise.
22301 (CONTTYPE): Likewise.
22305 (TUREAD): Likewise.
22306 (TUWRITE): Likewise.
22307 (TUEXEC): Likewise.
22308 (TGREAD): Likewise.
22309 (TGWRITE): Likewise.
22310 (TGEXEC): Likewise.
22311 (TOREAD): Likewise.
22312 (TOWRITE): Likewise.
22313 (TOEXEC): Likewise.
22314 [POSIX] (TSVTX): Expect constant.
22316 2014-03-06 Joseph Myers <joseph@codesourcery.com>
22318 * Makefile (tests): Change dependencies to ....
22319 (tests-special): ... additions to this variable.
22320 (tests): Depend on $(tests-special).
22321 * Makerules (check-abi-list): New variable.
22322 (check-abi): Depend on $(check-abi-list).
22323 [$(subdir) = elf] (tests-special): Add
22324 $(objpfx)check-abi-libc.out.
22325 [$(build-shared) = yes && subdir] (tests-special): Add
22327 [$(build-shared) = yes && subdir] (tests): Do not depend on
22329 * Rules (tests): Depend on $(tests-special).
22330 (xtests): Depend on $(xtests-special).
22331 * catgets/Makefile (tests): Change dependencies to ....
22332 (tests-special): ... additions to this variable.
22333 * conform/Makefile (tests): Change dependencies to ....
22334 (tests-special): ... additions to this variable.
22335 * elf/Makefile (tests): Change dependencies to ....
22336 (tests-special): ... additions to this variable.
22337 * grp/Makefile (tests): Change dependencies to ....
22338 (tests-special): ... additions to this variable.
22339 * iconv/Makefile (xtests): Change dependencies to ....
22340 (xtests-special): ... additions to this variable.
22341 * iconvdata/Makefile (tests): Change dependencies to ....
22342 (tests-special): ... additions to this variable.
22343 * intl/Makefile (tests): Change dependencies to ....
22344 (tests-special): ... additions to this variable. Also add
22345 $(objpfx)tst-gettext.out.
22346 * io/Makefile (tests): Change dependencies to ....
22347 (tests-special): ... additions to this variable.
22348 * libio/Makefile (tests): Change dependencies to ....
22349 (tests-special): ... additions to this variable.
22350 * malloc/Makefile (tests): Change dependencies to ....
22351 (tests-special): ... additions to this variable.
22352 * misc/Makefile (tests): Change dependencies to ....
22353 (tests-special): ... additions to this variable.
22354 * nptl/Makefile (tests): Change dependencies to ....
22355 (tests-special): ... additions to this variable.
22356 * nptl_db/Makefile (tests): Change dependencies to ....
22357 (tests-special): ... additions to this variable.
22358 * posix/Makefile (tests): Change dependencies to ....
22359 (tests-special): ... additions to this variable.
22360 (xtests): Change dependencies to ....
22361 (xtests-special): ... additions to this variable.
22362 * resolv/Makefile (tests): Change dependencies to ....
22363 (tests-special): ... additions to this variable.
22364 (xtests): Change dependencies to ....
22365 (xtests-special): ... additions to this variable.
22366 * stdio-common/Makefile (tests): Change dependencies to ....
22367 (tests-special): ... additions to this variable.
22368 (do-tst-unbputc): Remove target.
22369 (do-tst-printf): Likewise.
22370 * stdlib/Makefile (tests): Change dependencies to ....
22371 (tests-special): ... additions to this variable.
22372 * string/Makefile (tests): Change dependencies to ....
22373 (tests-special): ... additions to this variable.
22374 * sysdeps/x86/Makefile (tests): Change dependencies to ....
22375 (tests-special): ... additions to this variable.
22377 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
22379 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
22381 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
22382 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
22384 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
22385 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
22386 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
22387 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
22388 * conform/data/libgen.h-data [XPG3]: Likewise.
22389 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
22390 * conform/data/ndbm.h-data [XPG3]: Likewise.
22391 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22392 * conform/data/netdb.h-data [XPG3]: Likewise.
22393 * conform/data/netinet/in.h-data [XPG3]: Likewise.
22394 * conform/data/poll.h-data [XPG3]: Likewise.
22395 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22396 * conform/data/strings.h-data [XPG3]: Likewise.
22397 * conform/data/stropts.h-data [XPG3]: Likewise.
22398 * conform/data/sys/mman.h-data [XPG3]: Likewise.
22399 * conform/data/sys/resource.h-data [XPG3]: Likewise.
22400 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
22402 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22403 * conform/data/sys/time.h-data [XPG3]: Likewise.
22404 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
22405 * conform/data/sys/uio.h-data [XPG3]: Likewise.
22406 * conform/data/sys/un.h-data [XPG3]: Likewise.
22407 * conform/data/syslog.h-data [XPG3]: Likewise.
22408 * conform/data/ucontext.h-data [XPG3]: Likewise.
22409 * conform/data/utmpx.h-data [XPG3]: Likewise.
22410 * conform/data/varargs.h-data [UNIX98]: Enable file.
22412 * manual/Makefile (INSTALL_INFO): Remove variable setting.
22414 * math/libm-test.inc (struct test_f_f_data): Move expected results
22415 into structure for each rounding mode.
22416 (struct test_ff_f_data): Likewise.
22417 (struct test_ff_f_data_nexttoward): Likewise.
22418 (struct test_fi_f_data): Likewise.
22419 (struct test_fl_f_data): Likewise.
22420 (struct test_if_f_data): Likewise.
22421 (struct test_fff_f_data): Likewise.
22422 (struct test_c_f_data): Likewise.
22423 (struct test_f_f1_data): Likewise.
22424 (struct test_fF_f1_data): Likewise.
22425 (struct test_ffI_f1_data): Likewise.
22426 (struct test_c_c_data): Likewise.
22427 (struct test_cc_c_data): Likewise.
22428 (struct test_f_i_data): Likewise.
22429 (struct test_ff_i_data): Likewise.
22430 (struct test_f_l_data): Likewise.
22431 (struct test_f_L_data): Likewise.
22432 (struct test_fFF_11_data): Likewise.
22434 (RM_FE_DOWNWARD): Likewise.
22435 (RM_FE_TONEAREST): Likewise.
22436 (RM_FE_TOWARDZERO): Likewise.
22437 (RM_FE_UPWARD): Likewise.
22438 (RUN_TEST_LOOP_f_f): Update references to expected results.
22439 (RUN_TEST_LOOP_2_f): Likewise.
22440 (RUN_TEST_LOOP_fff_f): Likewise.
22441 (RUN_TEST_LOOP_c_f): Likewise.
22442 (RUN_TEST_LOOP_f_f1): Likewise.
22443 (RUN_TEST_LOOP_fF_f1): Likewise.
22444 (RUN_TEST_LOOP_fI_f1): Likewise.
22445 (RUN_TEST_LOOP_ffI_f1): Likewise.
22446 (RUN_TEST_LOOP_c_c): Likewise.
22447 (RUN_TEST_LOOP_cc_c): Likewise.
22448 (RUN_TEST_LOOP_f_i): Likewise.
22449 (RUN_TEST_LOOP_f_i_tg): Likewise.
22450 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22451 (RUN_TEST_LOOP_f_b): Likewise.
22452 (RUN_TEST_LOOP_f_b_tg): Likewise.
22453 (RUN_TEST_LOOP_f_l): Likewise.
22454 (RUN_TEST_LOOP_f_L): Likewise.
22455 (RUN_TEST_LOOP_fFF_11): Likewise.
22456 * math/gen-libm-test.pl (parse_args): Output four copies of
22457 expected results for each test.
22459 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22460 (__ASSUME_UTIMES): Remove.
22461 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22462 (__ASSUME_UTIMES): Likewise.
22464 * math/gen-auto-libm-tests.c: Update comment on output format.
22465 (output_for_one_input_case): Generate before-rounding and
22466 after-rounding information as conditions on output flags not
22467 floating-point format.
22468 * math/auto-libm-test-out: Regenerated.
22469 * math/gen-libm-test.pl (cond_value): New function.
22470 (or_cond_value): Use cond_value.
22471 (generate_testfile): Handle conditional exceptions.
22473 2014-03-05 Joseph Myers <joseph@codesourcery.com>
22475 * math/libm-test.inc (max_valid_error): New variable.
22476 (init_max_error): Take new argument specifying whether function
22477 results are exactly determined. Set max_valid_error and bound
22478 other variables for errors based on this argument.
22479 (set_max_error): Do not record results above max_valid_error.
22480 (check_float_internal): Only accept errors of up to 0.5ulps if
22481 also at most max_valid_error.
22482 (START): Take new argument EXACT and pass it to init_max_error.
22483 (acos_test): Update call to START.
22484 (acos_test_tonearest): Likewise.
22485 (acos_test_towardzero): Likewise.
22486 (acos_test_downward): Likewise.
22487 (acos_test_upward): Likewise.
22488 (acosh_test): Likewise.
22489 (asin_test): Likewise.
22490 (asin_test_tonearest): Likewise.
22491 (asin_test_towardzero): Likewise.
22492 (asin_test_downward): Likewise.
22493 (asin_test_upward): Likewise.
22494 (asinh_test): Likewise.
22495 (atan_test): Likewise.
22496 (atanh_test): Likewise.
22497 (atan2_test): Likewise.
22498 (cabs_test): Likewise.
22499 (cacos_test): Likewise.
22500 (cacosh_test): Likewise.
22501 (carg_test): Likewise.
22502 (casin_test): Likewise.
22503 (casinh_test): Likewise.
22504 (catan_test): Likewise.
22505 (catanh_test): Likewise.
22506 (cbrt_test): Likewise.
22507 (ccos_test): Likewise.
22508 (ccosh_test): Likewise.
22509 (ceil_test): Likewise.
22510 (cexp_test): Likewise.
22511 (cimag_test): Likewise.
22512 (clog_test): Likewise.
22513 (clog10_test): Likewise.
22514 (conj_test): Likewise.
22515 (copysign_test): Likewise.
22516 (cos_test): Likewise.
22517 (cos_test_tonearest): Likewise.
22518 (cos_test_towardzero): Likewise.
22519 (cos_test_downward): Likewise.
22520 (cos_test_upward): Likewise.
22521 (cosh_test): Likewise.
22522 (cosh_test_tonearest): Likewise.
22523 (cosh_test_towardzero): Likewise.
22524 (cosh_test_downward): Likewise.
22525 (cosh_test_upward): Likewise.
22526 (cpow_test): Likewise.
22527 (cproj_test): Likewise.
22528 (creal_test): Likewise.
22529 (csin_test): Likewise.
22530 (csinh_test): Likewise.
22531 (csqrt_test): Likewise.
22532 (ctan_test): Likewise.
22533 (ctan_test_tonearest): Likewise.
22534 (ctan_test_towardzero): Likewise.
22535 (ctan_test_downward): Likewise.
22536 (ctan_test_upward): Likewise.
22537 (ctanh_test): Likewise.
22538 (ctanh_test_tonearest): Likewise.
22539 (ctanh_test_towardzero): Likewise.
22540 (ctanh_test_downward): Likewise.
22541 (ctanh_test_upward): Likewise.
22542 (erf_test): Likewise.
22543 (erfc_test): Likewise.
22544 (exp_test): Likewise.
22545 (exp_test_tonearest): Likewise.
22546 (exp_test_towardzero): Likewise.
22547 (exp_test_downward): Likewise.
22548 (exp_test_upward): Likewise.
22549 (exp10_test): Likewise.
22550 (exp10_test_tonearest): Likewise.
22551 (exp10_test_towardzero): Likewise.
22552 (exp10_test_downward): Likewise.
22553 (exp10_test_upward): Likewise.
22554 (pow10_test): Likewise.
22555 (exp2_test): Likewise.
22556 (expm1_test): Likewise.
22557 (expm1_test_tonearest): Likewise.
22558 (expm1_test_towardzero): Likewise.
22559 (expm1_test_downward): Likewise.
22560 (expm1_test_upward): Likewise.
22561 (fabs_test): Likewise.
22562 (fdim_test): Likewise.
22563 (floor_test): Likewise.
22564 (fma_test): Likewise.
22565 (fma_test_towardzero): Likewise.
22566 (fma_test_downward): Likewise.
22567 (fma_test_upward): Likewise.
22568 (fmax_test): Likewise.
22569 (fmin_test): Likewise.
22570 (fmod_test): Likewise.
22571 (fpclassify_test): Likewise.
22572 (frexp_test): Likewise.
22573 (hypot_test): Likewise.
22574 (ilogb_test): Likewise.
22575 (isfinite_test): Likewise.
22576 (finite_test): Likewise.
22577 (isgreater_test): Likewise.
22578 (isgreaterequal_test): Likewise.
22579 (isinf_test): Likewise.
22580 (isless_test): Likewise.
22581 (islessequal_test): Likewise.
22582 (islessgreater_test): Likewise.
22583 (isnan_test): Likewise.
22584 (isnormal_test): Likewise.
22585 (issignaling_test): Likewise.
22586 (isunordered_test): Likewise.
22587 (j0_test): Likewise.
22588 (j1_test): Likewise.
22589 (jn_test): Likewise.
22590 (ldexp_test): Likewise.
22591 (lgamma_test): Likewise.
22592 (gamma_test): Likewise.
22593 (lrint_test): Likewise.
22594 (lrint_test_tonearest): Likewise.
22595 (lrint_test_towardzero): Likewise.
22596 (lrint_test_downward): Likewise.
22597 (lrint_test_upward): Likewise.
22598 (llrint_test): Likewise.
22599 (llrint_test_tonearest): Likewise.
22600 (llrint_test_towardzero): Likewise.
22601 (llrint_test_downward): Likewise.
22602 (llrint_test_upward): Likewise.
22603 (log_test): Likewise.
22604 (log10_test): Likewise.
22605 (log1p_test): Likewise.
22606 (log2_test): Likewise.
22607 (logb_test): Likewise.
22608 (logb_test_downward): Likewise.
22609 (lround_test): Likewise.
22610 (llround_test): Likewise.
22611 (modf_test): Likewise.
22612 (nearbyint_test): Likewise.
22613 (nextafter_test): Likewise.
22614 (nexttoward_test): Likewise.
22615 (pow_test): Likewise.
22616 (pow_test_tonearest): Likewise.
22617 (pow_test_towardzero): Likewise.
22618 (pow_test_downward): Likewise.
22619 (pow_test_upward): Likewise.
22620 (remainder_test): Likewise.
22621 (drem_test): Likewise.
22622 (remainder_test_tonearest): Likewise.
22623 (drem_test_tonearest): Likewise.
22624 (remainder_test_towardzero): Likewise.
22625 (drem_test_towardzero): Likewise.
22626 (remainder_test_downward): Likewise.
22627 (drem_test_downward): Likewise.
22628 (remainder_test_upward): Likewise.
22629 (drem_test_upward): Likewise.
22630 (remquo_test): Likewise.
22631 (rint_test): Likewise.
22632 (rint_test_tonearest): Likewise.
22633 (rint_test_towardzero): Likewise.
22634 (rint_test_downward): Likewise.
22635 (rint_test_upward): Likewise.
22636 (round_test): Likewise.
22637 (scalb_test): Likewise.
22638 (scalbn_test): Likewise.
22639 (scalbln_test): Likewise.
22640 (signbit_test): Likewise.
22641 (sin_test): Likewise.
22642 (sin_test_tonearest): Likewise.
22643 (sin_test_towardzero): Likewise.
22644 (sin_test_downward): Likewise.
22645 (sin_test_upward): Likewise.
22646 (sincos_test): Likewise.
22647 (sinh_test): Likewise.
22648 (sinh_test_tonearest): Likewise.
22649 (sinh_test_towardzero): Likewise.
22650 (sinh_test_downward): Likewise.
22651 (sinh_test_upward): Likewise.
22652 (sqrt_test): Likewise.
22653 (sqrt_test_tonearest): Likewise.
22654 (sqrt_test_towardzero): Likewise.
22655 (sqrt_test_downward): Likewise.
22656 (sqrt_test_upward): Likewise.
22657 (tan_test): Likewise.
22658 (tan_test_tonearest): Likewise.
22659 (tan_test_towardzero): Likewise.
22660 (tan_test_downward): Likewise.
22661 (tan_test_upward): Likewise.
22662 (tanh_test): Likewise.
22663 (tgamma_test): Likewise.
22664 (trunc_test): Likewise.
22665 (y0_test): Likewise.
22666 (y1_test): Likewise.
22667 (yn_test): Likewise.
22668 (significand_test): Likewise.
22670 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22671 individual tests in comment.
22672 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22673 (prev_max_error): New variable.
22674 (prev_real_max_error): Likewise.
22675 (prev_imag_max_error): Likewise.
22676 (compare_ulp_data): Don't refer to test names in comment.
22677 (find_test_ulps): Remove function.
22678 (find_function_ulps): Likewise.
22679 (find_complex_function_ulps): Likewise.
22680 (init_max_error): Take function name as argument. Look up ulps
22682 (print_ulps): Remove function.
22683 (print_max_error): Use prev_max_error instead of calling
22684 find_function_ulps.
22685 (print_complex_max_error): Use prev_real_max_error and
22686 prev_imag_max_error instead of calling find_complex_function_ulps.
22687 (check_float_internal): Take max_ulp parameter instead of calling
22688 find_test_ulps. Don't call print_ulps.
22689 (check_float): Update call to check_float_internal.
22690 (check_complex): Update calls to check_float_internal.
22691 (START): Pass argument to init_max_error.
22692 * math/gen-libm-test.pl (%results): Don't include "kind"
22694 (parse_ulps): Don't handle ulps of individual tests.
22695 (print_ulps_file): Likewise.
22696 (output_ulps): Likewise.
22697 * math/README.libm-test: Update.
22698 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22700 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22701 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22702 * sysdeps/arm/libm-test-ulps: Likewise.
22703 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22704 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22705 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22706 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22707 * sysdeps/microblaze/libm-test-ulps: Likewise.
22708 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22709 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22710 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22711 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22712 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22713 * sysdeps/sh/libm-test-ulps: Likewise.
22714 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22715 * sysdeps/tile/libm-test-ulps: Likewise.
22716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22718 2014-03-04 Joseph Myers <joseph@codesourcery.com>
22720 * math/libm-test.inc (print_complex_max_error): Check separately
22721 whether real and imaginary errors are within allowed range and
22722 pass 0 to print_complex_function_ulps instead of value within
22725 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22727 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22729 (get_handles_fopen): Likewise.
22730 (do_write_test): Likewise.
22732 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22734 * libio/fileops.c (do_ftell): Use cached offset when
22736 * libio/iofwide.c (do_ftell_wide): Likewise.
22737 * libio/iofdopen.c (_IO_new_fdopen): Don't use
22739 * libio/wfileops.c (_IO_fwide): Don't cache offset.
22742 * libio/libioP.h (get_file_offset): New function.
22743 * libio/fileops.c (get_file_offset): Likewise.
22744 (do_ftell): Likewise.
22745 (_IO_new_file_seekoff): Split out ftell logic.
22746 * libio/wfileops.c (do_ftell_wide): Likewise.
22747 (_IO_wfile_seekoff): Split out ftell logic.
22748 * libio/tst-ftell-active-handler.c: New test case.
22749 * libio/Makefile (tests): Add it.
22751 2014-03-03 Roland McGrath <roland@hack.frob.com>
22753 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22754 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22756 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22759 * nscd/connections.c (nscd_init): Call do_exit.
22760 (start_threads): Call do_exit and notify_parent.
22761 (begin_drop_privileges): Call do_exit.
22762 (finish_drop_privileges): Likewise.
22763 * nscd/selinux.c (preserve_capabilities): Likewise.
22764 (install_real_capabilities): Likewise.
22765 (nscd_selinux_enabled): Likewise.
22766 (avc_create_thread): Likewise.
22767 (avc_alloc_lock): Likewise.
22768 (nscd_avc_init): Likewise.
22769 * nscd/nscd.c (parent_fd): New static variable.
22770 (main): Create a pipe between parent and child processes.
22771 Skip closing parent_fd.
22772 (monitor_child): New function.
22773 (do_exit): Likewise.
22774 (notify_parent): Likewise.
22775 * nscd/nscd.h (notify_parent): Likewise.
22776 (do_exit): Likewise.
22778 2014-03-03 Carlos O'Donell <carlos@redhat.com>
22780 * malloc/malloc.c (__libc_calloc): Revert last change.
22782 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22786 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22788 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22789 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22792 (__libc_ifunc_impl_list): Likewise.
22793 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22794 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22795 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22796 * string/strrchr.c: Define STRRCHR.
22798 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
22800 * benchtest/bench-strtok.c (simple_strtok): Delete.
22801 (strtok_string): Use as benchmark.
22802 * string/strtok (STRTOK): New macro.
22804 2014-02-28 Carlos O'Donell <carlos@redhat.com>
22806 * manual/threads.texi: Add header and standard comments to all
22809 * elf/dl-lookup.c (check_match): New function.
22810 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22811 (do_lookup_x): Remove nested function check_match. Use non-nested
22812 function check_match.
22814 2014-02-28 Roland McGrath <roland@hack.frob.com>
22816 * csu/Makefile (generated, before-compile): Use += rather than =.
22817 * catgets/Makefile (generated, generated-dirs): Likewise.
22818 * debug/Makefile (generated): Likewise.
22819 * dlfcn/Makefile (generated): Likewise.
22820 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22821 * iconvdata/Makefile (before-compile, generated): Likewise.
22822 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22823 * libio/Makefile (generated): Likewise.
22824 * malloc/Makefile (generated): Likewise.
22825 * manual/Makefile (generated, generated-dirs): Likewise.
22826 * misc/Makefile (generated): Likewise.
22827 * posix/Makefile (generated): Likewise.
22828 * resolv/Makefile (generated): Likewise.
22829 * sunrpc/Makefile (generated, generated-dirs): Likewise.
22830 * timezone/Makefile (generated, generated-dirs): Likewise.
22832 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22834 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22836 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22837 power8 implementation.
22838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22839 file: POWER8 llround ifunc implementation.
22840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22841 (__lllround): Add POWER8 implementation.
22842 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22843 POWER8 llround implementation.
22845 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22846 power8 implementation.
22847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22848 file: POWER8 llrint ifunc implementation.
22849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22850 Add POWER8 implementation.
22851 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22852 POWER8 llrint implementation.
22854 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22855 power8 implementation.
22856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22857 file: POWER8 finite ifunc implementation.
22858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22859 Add POWER8 implementation.
22860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22862 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22863 POWER8 finite implementation.
22864 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22866 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22867 power8 implementation.
22868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22869 file: POWER8 isinf ifunc implementation.
22870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22871 POWER8 implementation.
22872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22874 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22875 isinf implementation.
22876 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22878 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22879 (INIT_ARCH): Add hwcap2 initialization.
22880 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22881 power8 implementation.
22882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22883 file: POWER8 isnan ifunc implementation.
22884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22885 POWER8 implementation.
22886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22888 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22889 isnan implementation.
22890 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22892 2014-02-27 Joey Ye <joey.ye@arm.com>
22894 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22895 (_FP_NANFRAC_Q): Set to zero.
22897 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22900 * math/auto-libm-test-in: New test inputs.
22901 * math/auto-libm-test-out: Regenerate.
22902 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22905 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22907 2014-02-27 Joseph Myers <joseph@codesourcery.com>
22909 * scripts/evaluate-test.sh: Take new argument indicating whether
22910 failure is expected.
22911 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22912 indicating whether failure is expected.
22913 * conform/Makefile (test-xfail-run-conformtest): New variable.
22914 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22916 * posix/Makefile (test-xfail-annexc): New variable.
22917 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22919 2014-02-26 Joseph Myers <joseph@codesourcery.com>
22921 * argp/Makefile: Include Makeconfig immediately after defining
22923 * assert/Makefile: Likewise.
22924 * benchtests/Makefile: Likewise.
22925 * catgets/Makefile: Likewise.
22926 * conform/Makefile: Likewise.
22927 * crypt/Makefile: Likewise.
22928 * csu/Makefile: Likewise.
22929 (all): Remove target.
22930 * ctype/Makefile: Include Makeconfig immediately after defining
22932 * debug/Makefile: Likewise.
22933 * dirent/Makefile: Likewise.
22934 * dlfcn/Makefile: Likewise.
22935 * gmon/Makefile: Likewise.
22936 * gnulib/Makefile: Likewise.
22937 * grp/Makefile: Likewise.
22938 * gshadow/Makefile: Likewise.
22939 * hesiod/Makefile: Likewise.
22940 * hurd/Makefile: Likewise.
22941 (all): Remove target.
22942 * iconvdata/Makefile: Include Makeconfig immediately after
22944 * inet/Makefile: Likewise.
22945 * intl/Makefile: Likewise.
22946 * io/Makefile: Likewise.
22947 * libio/Makefile: Likewise.
22948 (all): Remove target.
22949 * locale/Makefile: Include Makeconfig immediately after defining
22951 * login/Makefile: Likewise.
22952 * mach/Makefile: Likewise.
22953 (all): Remove target.
22954 * malloc/Makefile: Include Makeconfig immediately after defining
22956 (all): Remove target.
22957 * manual/Makefile: Include Makeconfig immediately after defining
22959 * math/Makefile: Likewise.
22960 * misc/Makefile: Likewise.
22961 * nis/Makefile: Likewise.
22962 * nss/Makefile: Likewise.
22963 * po/Makefile: Likewise.
22964 (all): Remove target.
22965 * posix/Makefile: Include Makeconfig immediately after defining
22967 * pwd/Makefile: Likewise.
22968 * resolv/Makefile: Likewise.
22969 * resource/Makefile: Likewise.
22970 * rt/Makefile: Likewise.
22971 * setjmp/Makefile: Likewise.
22972 * shadow/Makefile: Likewise.
22973 * signal/Makefile: Likewise.
22974 * socket/Makefile: Likewise.
22975 * soft-fp/Makefile: Likewise.
22976 * stdio-common/Makefile: Likewise.
22977 * stdlib/Makefile: Likewise.
22978 * streams/Makefile: Likewise.
22979 * string/Makefile: Likewise.
22980 * sunrpc/Makefile: Likewise.
22981 (all): Remove target.
22982 * sysvipc/Makefile: Include Makeconfig immediately after defining
22984 * termios/Makefile: Likewise.
22985 * time/Makefile: Likewise.
22986 * timezone/Makefile: Likewise.
22987 (all): Remove target.
22988 * wcsmbs/Makefile: Include Makeconfig immediately after defining
22990 * wctype/Makefile: Likewise.
22992 2014-02-26 Steve Ellcey <sellcey@mips.com>
22994 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22995 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22996 (libc_feholdexcept_setround_mips): Ditto.
22997 (libc_feholdsetround): New.
22998 (libc_feholdsetroundf): New.
22999 (libc_feholdsetroundl): New.
23000 (libc_feupdateenv_test_mips): New.
23001 (libc_feupdateenv_test): New.
23002 (libc_feupdateenv_testf): New.
23003 (libc_feupdateenv_testl): New.
23004 (libc_feresetround): New.
23005 (libc_feresetroundf): New.
23006 (libc_feresetroundl): New.
23007 (libc_fetestexcept_mips): New.
23008 (libc_fetestexcept): New.
23009 (libc_fetestexceptf): New.
23010 (libc_fetestexceptl): New.
23011 (HAVE_RM_CTX): New.
23012 (libc_feholdexcept_setround_mips_ctx): New.
23013 (libc_feholdexcept_setround_ctx): New.
23014 (libc_feholdexcept_setroundf_ctx): New.
23015 (libc_feholdexcept_setroundl_ctx): New.
23016 (libc_fesetenv_mips_ctx): New.
23017 (libc_fesetenv_ctx): New.
23018 (libc_fesetenv_ctxf): New.
23019 (libc_fesetenv_ctxl): New.
23020 (libc_feupdateenv_mips_ctx): New.
23021 (libc_feupdateenv_ctx): New.
23022 (libc_feupdateenvf_ctx): New.
23023 (libc_feupdateenvl_ctx): New.
23024 (libc_feholdsetround_mips_ctx): New.
23025 (libc_feholdsetround_ctx): New.
23026 (libc_feholdsetroundf_ctx): New.
23027 (libc_feholdsetroundl_ctx): New.
23028 (libc_feresetround_mips_ctx): New.
23029 (libc_feresetround_ctx): New.
23030 (libc_feresetroundf_ctx): New.
23031 (libc_feresetroundl_ctx): New.
23033 2014-02-26 Carlos O'Donell <carlos@redhat.com>
23035 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23037 * manual/ipc.texi: New file.
23038 * manual/Makefile (chapters): Add ipc.
23039 * manual/job.texi: Add "Inter-Process Communication" to next.
23040 * manual/process.texi: Add "Inter-Process Communication" to prev.
23042 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23046 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
23048 * malloc/malloc.c (__libc_calloc): Simplify implementation.
23050 * manual/arith.texi: Fix spaces after sentences.
23051 * manual/charset.texi: Likewise.
23052 * manual/errno.texi: Likewise.
23053 * manual/install.texi: Likewise.
23054 * manual/llio.texi: Likewise.
23055 * manual/locale.texi: Likewise.
23056 * manual/maint.texi: Likewise.
23057 * manual/math.texi: Likewise.
23058 * manual/memory.texi: Likewise.
23059 * manual/message.texi: Likewise.
23060 * manual/probes.texi: Likewise.
23061 * manual/resource.texi: Likewise.
23062 * manual/signal.texi: Likewise.
23063 * manual/socket.texi: Likewise.
23064 * manual/stdio.texi: Likewise.
23065 * manual/string.texi: Likewise.
23066 * manual/time.texi: Likewise.
23067 * manual/users.texi: Likewise.
23069 2014-02-25 Carlos O'Donell <carlos@redhat.com>
23072 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23073 _DEFAULT_SOURCE is defined.
23075 2014-02-25 Ulrich Drepper <drepper@gmail.com>
23076 Carlos O'Donell <carlos@redhat.com>
23079 * elf/dl-tls.c (_dl_count_modids): New function.
23080 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23081 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23082 audit library and increment generation counter.
23083 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23084 * elf/tst-audit9.c: New file.
23085 * elf/tst-auditmod9a.c: New file.
23086 * elf/tst-auditmod9b.c: New file.
23087 * elf/Makefile: Add rules to build and run tst-audit9.
23089 2014-02-25 Florian Weimer <fweimer@redhat.com>
23092 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23094 2014-02-25 Will Newton <will.newton@linaro.org>
23096 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23097 (__longjmp): Restore sp and lr before restoring callee
23098 saved registers. Add longjmp and longjmp_target
23099 SystemTap probe point.
23100 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23101 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23102 Define to zero to match jmpbuf layout.
23103 * sysdeps/arm/setjmp.S: Include stap-probe.h.
23104 (__sigsetjmp): Save sp and lr before saving callee
23105 saved registers. Add setjmp SystemTap probe point.
23107 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
23109 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23111 2014-02-24 Andreas Schwab <schwab@suse.de>
23114 * elf/pldd.c (wait_for_ptrace_stop): New function.
23115 (main): Call it after attaching.
23117 2014-02-22 Roland McGrath <roland@hack.frob.com>
23119 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23120 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23121 Versions files is now verboten.
23122 * hurd/Versions (libc: GLIBC_2.0):
23123 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23124 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23125 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23126 * mach/Versions: Likewise.
23128 * csu/Versions: Remove unused %include.
23129 * resolv/Versions: Likewise.
23131 2014-02-21 Joseph Myers <joseph@codesourcery.com>
23133 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23134 ($(objpfx)check-local-headers.out): Likewise.
23135 ($(objpfx)begin-end-check.out): Likewise.
23136 * Makerules (check-abi-%.out): Likewise.
23137 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23138 ($(objpfx)test2.cat): Likewise.
23139 ($(objpfx)de/libc.cat): Likewise.
23140 ($(objpfx)test-gencat.out): Likewise.
23141 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23142 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23143 ($(objpfx)noload-mem): Likewise.
23144 ($(objpfx)tst-pathopt.out): Likewise.
23145 ($(objpfx)tst-rtld-load-self.out): Likewise.
23146 ($(objpfx)tst-array1-cmp.out): Likewise.
23147 ($(objpfx)tst-array1-static-cmp.out): Likewise.
23148 ($(objpfx)tst-array2-cmp.out): Likewise.
23149 ($(objpfx)tst-array3-cmp.out): Likewise.
23150 ($(objpfx)tst-array4-cmp.out): Likewise.
23151 ($(objpfx)tst-array5-cmp.out): Likewise.
23152 ($(objpfx)tst-array5-static-cmp.out): Likewise.
23153 ($(objpfx)check-textrel.out): Likewise.
23154 ($(objpfx)check-execstack.out): Likewise.
23155 ($(objpfx)check-localplt.out): Likewise.
23156 ($(objpfx)order2-cmp.out): Likewise.
23157 ($(objpfx)tst-leaks1-mem): Likewise.
23158 ($(objpfx)tst-leaks1-static-mem): Likewise.
23159 ($(objpfx)tst-initorder-cmp.out): Likewise.
23160 ($(objpfx)tst-initorder2-cmp.out): Likewise.
23161 ($(objpfx)tst-unused-dep.out): Likewise.
23162 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23163 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23164 * iconv/Makefile (test-iconvconfig): Likewise.
23165 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23166 ($(objpfx)iconv-test.out): Likewise.
23167 ($(objpfx)tst-tables.out): Likewise.
23168 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23169 ($(objpfx)tst-gettext.out): Likewise.
23170 ($(objpfx)tst-translit.out): Likewise.
23171 ($(objpfx)tst-gettext2.out): Likewise.
23172 ($(objpfx)tst-gettext4.out): Likewise.
23173 ($(objpfx)tst-gettext6.out): Likewise.
23174 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23175 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23176 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23177 ($(objpfx)tst-fopenloc-mem.out): Likewise.
23178 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23179 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23180 * posix/Makefile ($(objpfx)globtest.out): Likewise.
23181 ($(objpfx)wordexp-tst.out): Likewise.
23182 ($(objpfx)annexc.out): Likewise.
23183 ($(objpfx)tst-fnmatch-mem): Likewise.
23184 ($(objpfx)bug-regex2-mem): Likewise.
23185 ($(objpfx)bug-regex14-mem): Likewise.
23186 ($(objpfx)bug-regex21-mem): Likewise.
23187 ($(objpfx)bug-regex31-mem): Likewise.
23188 ($(objpfx)tst-vfork3-mem): Likewise.
23189 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23190 ($(objpfx)tst-pcre-mem): Likewise.
23191 ($(objpfx)tst-boost-mem): Likewise.
23192 ($(objpfx)tst-getconf.out): Likewise.
23193 ($(objpfx)bug-ga2-mem): Likewise.
23194 ($(objpfx)bug-glob2-mem): Likewise.
23195 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23196 ($(objpfx)mtrace-tst-leaks2): Likewise.
23197 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23198 ($(objpfx)tst-printf.out): Likewise.
23199 ($(objpfx)tst-setvbuf1.out): Likewise.
23200 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23201 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23202 ($(objpfx)tst-fmtmsg.out): Likewise.
23203 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23204 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23206 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23207 * bits/sigaction.h [__USE_MISC]: Likewise.
23208 * bits/waitstatus.h: Update #endif comments.
23209 * ctype/ctype.h: Likewise.
23210 * dirent/dirent.h: Likewise.
23211 [__USE_MISC]: Remove redundant conditionals.
23212 * grp/grp.h: Update #endif comments.
23213 [__USE_GNU]: Remove redundant conditionals.
23214 [__USE_MISC]: Likewise.
23215 * inet/netinet/in.h [__USE_GNU]: Likewise.
23216 * io/sys/stat.h [__USE_MISC]: Likewise.
23217 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23218 * libio/bits/stdio.h: Update #endif comments.
23219 [__USE_MISC]: Remove redundant conditionals.
23220 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23221 * libio/stdio.h: Update #endif comments.
23222 [__USE_MISC]: Remove redundant conditionals.
23223 * math/bits/math-finite.h [__USE_MISC]: Likewise.
23224 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23225 * math/math.h: Update #else and #endif comments.
23226 [__USE_MISC]: Remove redundant conditionals.
23227 * misc/sys/uio.h: Update #endif comments.
23228 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23229 * posix/glob.h [__USE_MISC]: Likewise.
23230 * posix/sys/types.h: Update #endif comments.
23231 [__USE_MISC]: Remove redundant conditionals.
23232 * posix/sys/wait.h: Update #endif comments.
23233 [__USE_MISC]: Remove redundant conditionals.
23234 * posix/unistd.h: Update #endif comments.
23235 [__USE_MISC]: Remove redundant conditionals.
23236 * pwd/pwd.h [__USE_GNU]: Likewise.
23237 [__USE_MISC]: Likewise.
23238 * resolv/netdb.h [__USE_GNU]: Likewise.
23239 * signal/signal.h: Update #endif comments.
23240 [__USE_MISC]: Remove redundant conditionals.
23241 * stdlib/stdlib.h: Update #else and #endif comments.
23242 [__USE_MISC]: Remove redundant conditionals.
23243 [__USE_GNU]: Likewise.
23244 * string/bits/string2.h [__USE_MISC]: Likewise.
23245 * string/string.h: Update #endif comments.
23246 [__USE_MISC]: Remove redundant conditionals.
23247 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23249 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23250 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23251 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23253 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23255 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23257 [__USE_MISC]: Remove redundant conditionals.
23258 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23259 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23260 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23261 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23262 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23264 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23265 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23267 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23268 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23270 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23272 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23273 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23275 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23277 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23278 * sysdeps/x86/bits/string.h: Update #endif comments.
23279 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23281 * time/sys/time.h: Update #endif comments.
23282 * time/time.h: Likewise.
23283 [__USE_MISC]: Remove redundant conditionals.
23285 2014-02-21 Yury Gribov <y.gribov@samsung.com>
23288 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23290 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
23292 * Versions.def (librt): Add GLIBC_2.17.
23294 2014-02-21 Adam Conrad <adconrad@0c3.net>
23296 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23297 synonym for _SYS_AUXV_H to allow direct inclusion.
23298 * sysdeps/sparc/bits/hwcap.h: Likewise.
23299 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23300 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23301 * sysdeps/sparc/sysdep.h: Likewise.
23303 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23305 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23307 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23309 * benchtests/bench-strrchr.c: Print length instead of position.
23311 2014-02-20 Joseph Myers <joseph@codesourcery.com>
23314 * sysdeps/unix/sysv/linux/kernel-features.h
23315 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23316 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23317 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23318 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23320 [__i386__ || __powerpc__ || __sh__ || __sparc__]
23321 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23322 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23323 (__ASSUME_SENDMMSG): Define instead of using previous
23324 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23325 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23326 (__ASSUME_SENDMMSG_SYSCALL): Define.
23327 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23328 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23330 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23331 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23333 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23334 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23336 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
23337 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23338 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23339 [__ASSUME_SENDMMSG]: Change conditionals to
23340 [__ASSUME_SENDMMSG_SOCKETCALL].
23341 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23342 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23344 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23345 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23347 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23348 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23349 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23350 [!__ASSUME_SENDMMSG]: Change conditional to
23351 [!__ASSUME_SENDMMSG_SOCKETCALL].
23352 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23353 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23357 * sysdeps/unix/sysv/linux/kernel-features.h
23358 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23359 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23360 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23361 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23362 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23363 [__i386__ || __sparc__]
23364 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23365 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23366 (__ASSUME_RECVMMSG): Define instead of using previous
23367 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23368 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23369 (__ASSUME_RECVMMSG_SYSCALL): Define.
23370 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23371 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23373 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23374 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23376 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23377 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23379 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
23380 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23381 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23382 [__ASSUME_RECVMMSG]: Change condition to
23383 [__ASSUME_RECVMMSG_SOCKETCALL].
23384 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23385 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23387 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23388 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23389 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23391 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
23392 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23393 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23394 [!__ASSUME_RECVMMSG]: Change condition to
23395 [!__ASSUME_RECVMMSG_SOCKETCALL].
23396 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23397 (__ASSUME_RECVMMSG_SYSCALL): Define.
23400 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
23401 __powerpc__ || __s390__ || __sh__ || __sparc__]
23402 (__ASSUME_SOCKETCALL): Define.
23403 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
23404 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
23405 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
23406 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
23407 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23408 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23409 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
23410 (__ASSUME_ACCEPT4): Define instead of using previous
23411 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
23412 __powerpc__ || __sparc__ || __s390__)] condition.
23413 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23414 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23415 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
23416 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23417 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23418 [!__ASSUME_ACCEPT4]: Change condition to
23419 [!__ASSUME_ACCEPT4_SOCKETCALL].
23420 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23421 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
23422 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
23423 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23424 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
23425 __ASSUME_ACCEPT4_SYSCALL.
23426 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
23427 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
23428 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23429 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
23430 __ASSUME_ACCEPT4_SYSCALL.
23431 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
23432 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23433 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23434 [__ASSUME_ACCEPT4]: Change condition to
23435 [__ASSUME_ACCEPT4_SOCKETCALL].
23436 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23437 (__ASSUME_SOCKETCALL): Define.
23438 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
23439 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23440 (__ASSUME_SOCKETCALL): Define.
23441 (__ASSUME_ACCEPT4): Remove.
23442 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
23444 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23445 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23447 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23448 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23450 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23452 (HWCAP_ARM_LPAE): Likewise.
23453 (HWCAP_ARM_EVTSTRM): Likewise.
23454 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23455 Add vpfd32, lpae and evtstrm.
23456 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23459 2014-02-19 Joseph Myers <joseph@codesourcery.com>
23461 * math/auto-libm-test-in: Add tests of clog10.
23462 * math/auto-libm-test-out: Regenerated.
23463 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23464 * sysdeps/i386/fpu/libm-test-ulps: Update.
23465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23467 2014-02-18 Andreas Schwab <schwab@suse.de>
23470 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23471 Store non-zero if the second buffer was newly allocated.
23472 (send_dg): Likewise.
23473 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23474 to send_vc and send_dg.
23475 (res_nsend): Pass NULL for ansp2_malloced.
23476 * resolv/res_query.c (__libc_res_nquery): Add parameter
23477 answerp2_malloced and pass it down to __libc_res_nsend.
23478 (res_nquery): Pass additional NULL to __libc_res_nquery.
23479 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23480 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
23481 second answer buffer if answerp2_malloced was set.
23482 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23483 (__libc_res_nquerydomain): Add parameter
23484 answerp2_malloced and pass it down to __libc_res_nquery.
23485 (res_nquerydomain): Pass additional NULL to
23486 __libc_res_nquerydomain.
23487 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23488 additional NULL to __libc_res_nsend and __libc_res_nquery.
23489 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23490 additional NULL to __libc_res_nsearch.
23491 (_nss_dns_gethostbyname4_r): Revert last change. Use new
23492 parameter of __libc_res_nsearch to check for separately allocated
23494 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23496 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23497 additional NULL to __libc_res_nquery.
23498 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23499 __libc_res_nsearch.
23500 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23501 * include/resolv.h: Update prototypes of __libc_res_nquery,
23502 __libc_res_nsearch, __libc_res_nsend.
23504 2014-02-18 Joseph Myers <joseph@codesourcery.com>
23506 * math/auto-libm-test-in: Add tests of fma.
23507 * math/auto-libm-test-out: Regenerated.
23508 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23509 (fma_towardzero_test_data): Likewise.
23510 (fma_downward_test_data): Likewise.
23511 (fma_upward_test_data): Likewise.
23512 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23514 (rounding_modes): Add values for new field.
23515 (func_calc_method): Add value mpfr_fff_f.
23516 (func_calc_desc): Add mpfr_fff_f union field.
23517 (test_function): Add field exact_args.
23518 (FUNC): Add macro argument EXACT_ARGS.
23519 (FUNC_mpfr_f_f): Update call to FUNC.
23520 (FUNC_mpfr_f_f): Likewise.
23521 (FUNC_mpfr_ff_f): Likewise.
23522 (FUNC_mpfr_if_f): Likewise.
23523 (FUNC_mpc_c_f): Likewise.
23524 (FUNC_mpc_c_c): Likewise.
23525 (test_functions): Add fma. Update calls to FUNC.
23526 (handle_input_arg): Add argument exact_args.
23527 (add_test): Update call to handle_input_arg.
23528 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
23529 (output_for_one_input_case): Update call to calc_generic_results.
23530 Recalculate exact zero results in each rounding mode.
23532 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23533 non-negative before setting low bit.
23534 * math/auto-libm-test-in: Mark one asin test possibly having
23535 spurious underflow.
23536 * math/auto-libm-test-out: Regenerated.
23537 * sysdeps/i386/fpu/libm-test-ulps: Update.
23538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23540 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
23542 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23543 * sysdeps/unix/sysv/linux/microblaze: Move directory from
23544 ports/sysdeps/unix/sysv/linux/microblaze.
23545 * README: Add missing listing for microblaze*-*-linux-gnu.
23547 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
23549 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23552 2014-02-16 Mike Frysinger <vapier@gentoo.org>
23554 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23555 * sysdeps/unix/sysv/linux/ia64: Move directory from
23556 ports/sysdeps/unix/sysv/linux/ia64.
23557 * README: Update listing for ia64-*-linux-gnu.
23559 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
23560 Joseph Myers <joseph@codesourcery.com>
23562 * Makeconfig (test-name): New variable.
23563 (evaluate-test): Likewise.
23564 * Makerules (do-test-clean): Remove .test-result files.
23565 (common-mostlyclean): Likewise.
23566 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23567 * scripts/evaluate-test.sh: New file.
23569 2014-02-14 Joseph Myers <joseph@codesourcery.com>
23571 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23572 separate $(objpfx)tst-fopenloc-cmp.out and
23573 $(objpfx)tst-fopenloc-mem.out targets.
23574 (tests): Update dependencies.
23575 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23576 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23577 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23578 (tst-rxspencer-no-utf8-ARGS): New variable.
23579 (tst-rxspencer-no-utf8-ENV): Likewise.
23580 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23581 instead of $(objpfx)tst-rxspencer-mem.
23582 ($(objpfx)tst-rxspencer-mem): Change target to
23583 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
23584 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23585 * posix/tst-rxspencer-no-utf8.c: New file.
23587 * elf/Makefile ($(objpfx)order.out): Remove rule.
23588 [$(run-built-tests) = yes] (tests): Depend on
23589 $(objpfx)order-cmp.out.
23590 ($(objpfx)order-cmp.out): New rule.
23591 [$(run-built-tests) = yes] (tests): Depend on
23592 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23593 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23594 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23595 $(objpfx)tst-array5-static-cmp.out.
23596 ($(objpfx)tst-array1.out): Remove rule.
23597 ($(objpfx)tst-array1-cmp.out): New rule.
23598 ($(objpfx)tst-array1-static.out): Remove rule.
23599 ($(objpfx)tst-array1-static-cmp.out): New rule.
23600 ($(objpfx)tst-array2.out): Remove rule.
23601 ($(objpfx)tst-array2-cmp.out): New rule.
23602 ($(objpfx)tst-array3.out): Remove rule.
23603 ($(objpfx)tst-array3-cmp.out): New rule.
23604 ($(objpfx)tst-array4.out): Remove rule.
23605 ($(objpfx)tst-array4-cmp.out): New rule.
23606 ($(objpfx)tst-array5.out): Remove rule.
23607 ($(objpfx)tst-array5-cmp.out): New rule.
23608 ($(objpfx)tst-array5-static.out): Remove rule.
23609 ($(objpfx)tst-array5-static-cmp.out): New rule.
23610 [$(run-built-tests) = yes] (tests): Depend on
23611 $(objpfx)order2-cmp.out.
23612 ($(objpfx)order2.out): Remove rule.
23613 ($(objpfx)order2-cmp.out): New rule.
23614 ($(objpfx)tst-initorder.out): Remove rule.
23615 [$(run-built-tests) = yes] (tests): Depend on
23616 $(objpfx)tst-initorder-cmp.out.
23617 ($(objpfx)tst-initorder-cmp.out): New rule.
23618 ($(objpfx)tst-initorder2.out): Remove rule.
23619 [$(run-built-tests) = yes] (tests): Depend on
23620 $(objpfx)tst-initorder2-cmp.out.
23621 ($(objpfx)tst-initorder2-cmp.out): New rule.
23622 [$(run-built-tests) = yes] (tests): Depend on
23623 $(objpfx)tst-unused-dep-cmp.out.
23624 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23625 ($(objpfx)tst-unused-dep-cmp.out): New rule.
23626 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23627 on $(objpfx)tst-setvbuf1-cmp.out.
23628 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23629 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23630 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23631 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23632 ($(objpfx)tst-svc.out): Remove rule.
23633 ($(objpfx)tst-svc-cmp.out): New rule.
23635 2014-02-13 Joseph Myers <joseph@codesourcery.com>
23637 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23638 * ctype/ctype.h [__USE_MISC]: Likewise.
23639 * dirent/dirent.h [__USE_MISC]: Likewise.
23640 * grp/grp.h [__USE_MISC]: Likewise.
23641 * io/fcntl.h [__USE_MISC]: Likewise.
23642 * io/sys/stat.h [__USE_MISC]: Likewise.
23643 * libio/stdio.h [__USE_MISC]: Likewise.
23644 * posix/unistd.h [__USE_MISC]: Likewise.
23645 * pwd/pwd.h [__USE_MISC]: Likewise.
23646 * stdlib.h [__USE_MISC]: Likewise.
23647 * string/bits/string2.h [__USE_MISC]: Likewise.
23648 * string/string.h [__USE_MISC]: Likewise.
23649 * time/time.h [__USE_MISC]: Likewise.
23651 2014-02-13 Andreas Schwab <schwab@suse.de>
23654 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23655 second answer buffer if it was separately allocated.
23657 2014-02-12 Joseph Myers <joseph@codesourcery.com>
23659 * sysdeps/mips/math-tests.h: Include <features.h>.
23660 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23661 (ROUNDING_TESTS_long_double): Do not define.
23662 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23663 (EXCEPTION_TESTS_long_double): Likewise.
23664 * sysdeps/mips/mips64/libm-test-ulps: Update.
23666 * include/features.h (__USE_BSD): Remove macro definitions.
23667 (__USE_SVID): Likewise.
23668 (_BSD_SOURCE): Likewise.
23669 (_SVID_SOURCE): Likewise.
23670 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23671 from definition of _DEFAULT_SOURCE.
23672 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23674 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23675 * bits/mman.h [__USE_BSD]: Likewise.
23676 * bits/termios.h [__USE_BSD]: Likewise.
23677 * bits/waitstatus.h [__USE_BSD]: Likewise.
23678 * ctype/ctype.h [__USE_SVID]: Likewise.
23679 * dirent/dirent.h [__USE_BSD]: Likewise.
23680 * grp/grp.h [__USE_SVID]: Likewise.
23681 [__USE_BSD]: Likewise.
23682 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23683 * io/fcntl.h [__USE_BSD]: Likewise.
23684 * io/ftw.h [__USE_BSD]: Likewise.
23685 * io/sys/stat.h [__USE_BSD]: Likewise.
23686 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23687 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23688 * libio/stdio.h [__USE_SVID]: Likewise.
23689 [__USE_BSD]: Likewise.
23690 * math/math.h [__USE_SVID]: Likewise.
23691 [__USE_BSD]: Likewise.
23692 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23693 * misc/bits/syslog.h [__USE_BSD]: Likewise.
23694 * misc/search.h [__USE_SVID]: Likewise.
23695 * misc/sys/mman.h [__USE_BSD]: Likewise.
23696 * misc/sys/syslog.h [__USE_BSD]: Likewise.
23697 * misc/sys/uio.h [__USE_BSD]: Likewise.
23698 * posix/bits/unistd.h [__USE_BSD]: Likewise.
23699 * posix/glob.h [__USE_BSD]: Likewise.
23700 * posix/regex.h [__USE_BSD]: Likewise.
23701 * posix/sys/types.h [__USE_BSD]: Likewise.
23702 [__USE_SVID]: Likewise.
23703 * posix/sys/utsname.h [__USE_SVID]: Likewise.
23704 * posix/sys/wait.h [__USE_BSD]: Likewise.
23705 [__USE_SVID]: Likewise.
23706 * posix/unistd.h [__USE_BSD]: Likewise.
23707 [__USE_SVID]: Likewise.
23708 * pwd/pwd.h [__USE_SVID]: Likewise.
23709 * resolv/netdb.h [__USE_BSD]: Likewise.
23710 * setjmp/setjmp.h [__USE_BSD]: Likewise.
23711 * signal/signal.h [__USE_BSD]: Likewise.
23712 [__USE_SVID]: Likewise.
23713 * socket/sys/socket.h [__USE_BSD]: Likewise.
23714 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23715 * stdlib/stdlib.h [__USE_BSD]: Likewise.
23716 [__USE_SVID]: Likewise.
23717 * string/bits/string2.h [__USE_BSD]: Likewise.
23718 [__USE_SVID]: Likewise.
23719 * string/bits/string3.h [__USE_BSD]: Likewise.
23720 * string/endian.h [__USE_BSD]: Likewise.
23721 * string/string.h [__USE_SVID]: Likewise.
23722 [__USE_BSD]: Likewise.
23723 * string/strings.h [__USE_BSD]: Likewise.
23724 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23725 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23726 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23727 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23728 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23729 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23731 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23733 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23734 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23736 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23737 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23739 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23741 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23742 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23743 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23745 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23747 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23748 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23749 * termios/termios.h [__USE_BSD]: Likewise.
23750 * time/sys/time.h [__USE_BSD]: Likewise.
23751 * time/time.h [__USE_BSD]: Likewise.
23752 [__USE_SVID]: Likewise.
23754 * Makefile (subdir_targets): Remove subdir_lint.out.
23756 * stdio-common/Makefile (do-tst-unbputc): Remove target.
23757 (do-tst-printf): Likewise.
23758 (tests): Depend directly on $(objpfx)tst-unbputc.out and
23759 $(objpfx)tst-printf.out.
23761 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23763 * Makerules (check-abi-%): Change target to
23764 $(objpfx)check-abi-%.out.
23765 (check-abi target): Update dependencies.
23766 (check-abi-pattern variable): Redirect output of diff to $@.
23767 (check-abi variable): Likewise.
23768 * elf/Makefile (check-abi): Update dependencies.
23770 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23772 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23773 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23775 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23776 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23777 value has largest subnormal exponent.
23778 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23779 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23780 * sysdeps/aarch64/soft-fp/sfp-machine.h
23781 (_FP_TININESS_AFTER_ROUNDING): New macro.
23782 * sysdeps/alpha/soft-fp/sfp-machine.h
23783 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23784 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23786 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23787 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23788 * sysdeps/mips/soft-fp/sfp-machine.h
23789 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23790 * sysdeps/powerpc/soft-fp/sfp-machine.h
23791 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23792 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23794 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23795 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23796 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23797 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23798 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23801 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
23804 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23807 2014-02-12 Richard Henderson <rth@redhat.com>
23809 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23810 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23811 * sysdeps/unix/sysv/linux/alpha: Move directory from
23812 ports/sysdeps/unix/sysv/linux/alpha.
23813 * README: Update listing for alpha-*-linux-gnu.
23815 2014-02-11 Joseph Myers <joseph@codesourcery.com>
23817 * include/features.h: Update comment documenting feature test
23819 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
23821 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23822 (_SVID_SOURCE): Likewise.
23823 (_DEFAULT_SOURCE): Update description of default features.
23824 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23826 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23827 (S_ISVTX): Likewise.
23828 * manual/math.texi (Mathematical Constants): Likewise.
23829 * manual/signal.texi (Interrupted Primitives): Likewise.
23830 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23831 * math/test-matherr.c (_SVID_SOURCE): Do not define.
23832 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23833 Don't refer to _SVID_SOURCE in warning text.
23835 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23837 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23839 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23840 * sysdeps/mips/dl-lookup.c: Remove.
23841 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23843 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23846 * math/auto-libm-test-in: Add testcase for expl.
23847 * math/auto-libm-test-out: Regenerate.
23848 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23849 calculation of unsafe.
23850 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23852 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
23854 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23855 * sysdeps/unix/sysv/linux/aarch64: Move directory from
23856 ports/sysdeps/unix/sysv/linux/aarch64.
23857 * README: Update listing for aarch64*-*-linux-gnu.
23859 2014-02-11 Will Newton <will.newton@linaro.org>
23861 * manual/probes.texi (Mathematical Function Probes): Use
23862 "triggered" instead of "hit".
23864 * manual/probes.texi (Internal Probes): Add documentation
23865 of setjmp, longjmp and longjmp_target probes.
23867 * include/stap-probe.h: Add comment about probe argument
23870 * malloc/mtrace.c (attribute_hidden): Remove unused macro
23871 definition. (tr_where, tr_freehook, tr_mallochook,
23872 tr_reallochook, tr_memalignhook): Use ANSI protoype.
23874 2014-02-11 David S. Miller <davem@davemloft.net>
23876 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23877 processing int_tests.
23879 2014-02-10 Joseph Myers <joseph@codesourcery.com>
23881 * sysdeps/mips: Move directory from ports/sysdeps/mips.
23882 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23883 * sysdeps/unix/sysv/linux/mips: Move directory from
23884 ports/sysdeps/unix/sysv/linux/mips.
23885 * README: Update listing for mips-*-linux-gnu and
23886 mips64-*-linux-gnu.
23888 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
23890 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23891 * sysdeps/unix/sysv/linux/m68k: Move directory from
23892 ports/sysdeps/unix/sysv/linux/m68k.
23893 * README: Update listing for m68k-*-linux-gnu.
23895 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
23897 * sysdeps/tile: Move directory from ports/sysdeps/tile.
23898 * sysdeps/unix/sysv/linux/generic: Move directory from
23899 ports/sysdeps/unix/sysv/linux/generic.
23900 * sysdeps/unix/sysv/linux/tile: Move directory from
23901 ports/sysdeps/unix/sysv/linux/tile.
23902 * README: Update listing for tile*-*-linux-gnu.
23904 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
23906 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23908 * benchtests/bench-memmem.c (simple_memmem): Likewise.
23909 * catgets/open_catalog.c (__open_catalog): Likewise.
23910 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23911 * debug/confstr_chk.c: Likewise.
23912 * debug/fread_chk.c (__fread_chk): Likewise.
23913 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23914 * debug/getgroups_chk.c: Likewise.
23915 * debug/mbsnrtowcs_chk.c: Likewise.
23916 * debug/mbsrtowcs_chk.c: Likewise.
23917 * debug/mbstowcs_chk.c: Likewise.
23918 * debug/memcpy_chk.c: Likewise.
23919 * debug/memmove_chk.c: Likewise.
23920 * debug/mempcpy_chk.c: Likewise.
23921 * debug/memset_chk.c: Likewise.
23922 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23923 * debug/strcat_chk.c (__strcat_chk): Likewise.
23924 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23925 * debug/strncat_chk.c (__strncat_chk): Likewise.
23926 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23927 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23928 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23929 * debug/wcpncpy_chk.c: Likewise.
23930 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23931 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23932 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23933 * debug/wcsncpy_chk.c: Likewise.
23934 * debug/wcsnrtombs_chk.c: Likewise.
23935 * debug/wcsrtombs_chk.c: Likewise.
23936 * debug/wcstombs_chk.c: Likewise.
23937 * debug/wmemcpy_chk.c: Likewise.
23938 * debug/wmemmove_chk.c: Likewise.
23939 * debug/wmempcpy_chk.c: Likewise.
23940 * debug/wmemset_chk.c: Likewise.
23941 * dirent/scandirat.c (SCANDIRAT): Likewise.
23942 * dlfcn/dladdr1.c (dladdr1): Likewise.
23943 * dlfcn/dladdr.c (dladdr): Likewise.
23944 * dlfcn/dlclose.c (dlclose_doit): Likewise.
23945 * dlfcn/dlerror.c (__dlerror): Likewise.
23946 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23947 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23948 * dlfcn/dlopen.c (dlopen_doit): Likewise.
23949 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23950 * dlfcn/dlsym.c (dlsym_doit): Likewise.
23951 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23952 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23953 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23955 * elf/dl-conflict.c: Likewise.
23956 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23957 * elf/dl-dst.h: Likewise.
23958 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23959 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23960 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23961 * elf/dl-init.c (call_init, _dl_init): Likewise.
23962 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23963 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23964 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23966 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23968 * elf/dl-minimal.c (__libc_memalign): Likewise.
23969 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23970 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23971 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23972 * elf/dl-sym.c (do_sym): Likewise.
23973 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23974 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23975 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23976 * elf/dl-writev.h (_dl_writev): Likewise.
23977 * elf/ldconfig.c (search_dir): Likewise.
23978 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23979 (dl_main): Likewise.
23980 * elf/setup-vdso.h (setup_vdso): Likewise.
23981 * grp/compat-initgroups.c (compat_call): Likewise.
23982 * grp/fgetgrent.c (fgetgrent): Likewise.
23983 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23984 * grp/putgrent.c (putgrent): Likewise.
23985 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23987 * hurd/hurdinit.c: Likewise.
23988 * iconvdata/8bit-gap.c (struct): Likewise.
23989 * iconvdata/ansi_x3.110.c : Likewise.
23990 * iconvdata/big5.c : Likewise.
23991 * iconvdata/big5hkscs.c : Likewise.
23992 * iconvdata/cp1255.c: Likewise.
23993 * iconvdata/cp1258.c : Likewise.
23994 * iconvdata/cp932.c : Likewise.
23995 * iconvdata/euc-cn.c: Likewise.
23996 * iconvdata/euc-jisx0213.c : Likewise.
23997 * iconvdata/euc-jp.c: Likewise.
23998 * iconvdata/euc-jp-ms.c : Likewise.
23999 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24000 * iconvdata/gb18030.c : Likewise.
24001 * iconvdata/gbbig5.c (const): Likewise.
24002 * iconvdata/gbgbk.c: Likewise.
24003 * iconvdata/gbk.c : Likewise.
24004 * iconvdata/ibm1364.c : Likewise.
24005 * iconvdata/ibm930.c : Likewise.
24006 * iconvdata/ibm932.c: Likewise.
24007 * iconvdata/ibm933.c : Likewise.
24008 * iconvdata/ibm935.c : Likewise.
24009 * iconvdata/ibm937.c : Likewise.
24010 * iconvdata/ibm939.c : Likewise.
24011 * iconvdata/ibm943.c: Likewise.
24012 * iconvdata/iso_11548-1.c: Likewise.
24013 * iconvdata/iso-2022-cn.c : Likewise.
24014 * iconvdata/iso-2022-cn-ext.c : Likewise.
24015 * iconvdata/iso-2022-jp-3.c: Likewise.
24016 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24017 * iconvdata/iso-2022-kr.c : Likewise.
24018 * iconvdata/iso646.c (gconv_end): Likewise.
24019 * iconvdata/iso_6937-2.c : Likewise.
24020 * iconvdata/iso_6937.c : Likewise.
24021 * iconvdata/iso8859-1.c: Likewise.
24022 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24023 * iconvdata/shift_jisx0213.c : Likewise.
24024 * iconvdata/sjis.c : Likewise.
24025 * iconvdata/t.61.c : Likewise.
24026 * iconvdata/tcvn5712-1.c : Likewise.
24027 * iconvdata/tscii.c: Likewise.
24028 * iconvdata/uhc.c : Likewise.
24029 * iconvdata/unicode.c (gconv_end): Likewise.
24030 * iconvdata/utf-16.c (gconv_end): Likewise.
24031 * iconvdata/utf-32.c (gconv_end): Likewise.
24032 * iconvdata/utf-7.c (base64): Likewise.
24033 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24034 * iconv/gconv_close.c (__gconv_close): Likewise.
24035 * iconv/gconv_open.c (__gconv_open): Likewise.
24036 * iconv/gconv_simple.c (internal_ucs4_loop_single)
24037 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24038 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24039 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24040 (ucs4le_internal_loop_single): Likewise.
24041 * iconv/iconv.c (iconv): Likewise.
24042 * iconv/iconv_close.c: Likewise.
24043 * iconv/loop.c (SINGLE): Likewise.
24044 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24045 * include/atomic.h: Likewise.
24046 * inet/inet6_option.c (option_alloc): Likewise.
24047 * intl/bindtextdom.c (set_binding_values): Likewise.
24048 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24049 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24050 * intl/localealias.c (read_alias_file): Likewise.
24051 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24052 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24053 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24054 * libio/fmemopen.c (fmemopen): Likewise.
24055 * libio/iofgets.c (_IO_fgets): Likewise.
24056 * libio/iofgets_u.c (fgets_unlocked): Likewise.
24057 * libio/iofgetws.c (fgetws): Likewise.
24058 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24059 * libio/iogetdelim.c (_IO_getdelim): Likewise.
24060 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24061 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24062 * locale/findlocale.c (_nl_find_locale): Likewise.
24063 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24064 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24066 * locale/setlocale.c (setlocale): Likewise.
24067 * login/programs/pt_chown.c (main): Likewise.
24068 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24069 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24070 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24071 (mmap, mmap64, mremap, munmap): Likewise.
24072 * math/e_exp2l.c: Likewise.
24073 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24074 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24075 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24076 * math/s_catan.c (__catan): Likewise.
24077 * math/s_catanf.c (__catanf): Likewise.
24078 * math/s_catanh.c (__catanh): Likewise.
24079 * math/s_catanhf.c (__catanhf): Likewise.
24080 * math/s_catanhl.c (__catanhl): Likewise.
24081 * math/s_catanl.c (__catanl): Likewise.
24082 * math/s_ccosh.c (__ccosh): Likewise.
24083 * math/s_ccoshf.c (__ccoshf): Likewise.
24084 * math/s_ccoshl.c (__ccoshl): Likewise.
24085 * math/s_cexp.c (__cexp): Likewise.
24086 * math/s_cexpf.c (__cexpf): Likewise.
24087 * math/s_cexpl.c (__cexpl): Likewise.
24088 * math/s_clog10.c (__clog10): Likewise.
24089 * math/s_clog10f.c (__clog10f): Likewise.
24090 * math/s_clog10l.c (__clog10l): Likewise.
24091 * math/s_clog.c (__clog): Likewise.
24092 * math/s_clogf.c (__clogf): Likewise.
24093 * math/s_clogl.c (__clogl): Likewise.
24094 * math/s_csin.c (__csin): Likewise.
24095 * math/s_csinf.c (__csinf): Likewise.
24096 * math/s_csinh.c (__csinh): Likewise.
24097 * math/s_csinhf.c (__csinhf): Likewise.
24098 * math/s_csinhl.c (__csinhl): Likewise.
24099 * math/s_csinl.c (__csinl): Likewise.
24100 * math/s_csqrt.c (__csqrt): Likewise.
24101 * math/s_csqrtf.c (__csqrtf): Likewise.
24102 * math/s_csqrtl.c (__csqrtl): Likewise.
24103 * math/s_ctan.c (__ctan): Likewise.
24104 * math/s_ctanf.c (__ctanf): Likewise.
24105 * math/s_ctanh.c (__ctanh): Likewise.
24106 * math/s_ctanhf.c (__ctanhf): Likewise.
24107 * math/s_ctanhl.c (__ctanhl): Likewise.
24108 * math/s_ctanl.c (__ctanl): Likewise.
24109 * math/w_pow.c: Likewise.
24110 * math/w_powf.c: Likewise.
24111 * math/w_powl.c: Likewise.
24112 * math/w_scalb.c (sysv_scalb): Likewise.
24113 * math/w_scalbf.c (sysv_scalbf): Likewise.
24114 * math/w_scalbl.c (sysv_scalbl): Likewise.
24115 * misc/error.c (error_tail): Likewise.
24116 * misc/pselect.c (__pselect): Likewise.
24117 * nis/nis_callback.c (__nis_create_callback): Likewise.
24118 * nis/nis_call.c (__nisfind_server): Likewise.
24119 * nis/nis_creategroup.c (nis_creategroup): Likewise.
24120 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24121 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24122 * nis/nis_getservlist.c (nis_getservlist): Likewise.
24123 * nis/nis_lookup.c (nis_lookup): Likewise.
24124 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24125 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24126 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24127 * nis/nis_xdr.c (xdr_endpoint): Likewise.
24128 * nis/nss_compat/compat-grp.c (getgrent_next_file)
24129 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24130 * nis/nss_compat/compat-initgroups.c (add_group)
24131 (internal_getgrent_r): Likewise.
24132 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24133 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24134 * nis/nss_compat/compat-spwd.c (getspent_next_file)
24135 (internal_getspnam_r): Likewise.
24136 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24137 (_nss_nis_getaliasbyname_r): Likewise.
24138 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24139 (_nss_nis_getntohost_r): Likewise.
24140 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24141 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24142 (_nss_nis_getgrgid_r): Likewise.
24143 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24144 (internal_nis_gethostent_r, internal_gethostbyname2_r)
24145 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24146 (_nss_nis_gethostbyname4_r): Likewise.
24147 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24148 (initgroups_netid): Likewise.
24149 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24150 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24151 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24152 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24153 (_nss_nis_getprotobynumber_r): Likewise.
24154 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24155 (_nss_nis_getsecretkey): Likewise.
24156 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24157 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24158 (_nss_nis_getpwuid_r): Likewise.
24159 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24160 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24161 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24162 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24163 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24164 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24165 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24167 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24168 (_nss_nisplus_getntohost_r): Likewise.
24169 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24170 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24171 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24172 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24174 * nis/nss_nisplus/nisplus-initgroups.c
24175 (_nss_nisplus_initgroups_dyn): Likewise.
24176 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24177 (_nss_nisplus_getnetbyaddr_r): Likewise.
24178 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24179 (_nss_nisplus_getprotobynumber_r): Likewise.
24180 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24181 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24182 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24184 * nis/nss_nisplus/nisplus-service.c
24185 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24186 (_nss_nisplus_getservbyport_r): Likewise.
24187 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24188 (_nss_nisplus_getspnam_r): Likewise.
24189 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24191 * nscd/aicache.c (addhstaiX): Likewise.
24192 * nscd/cache.c (cache_search, prune_cache): Likewise.
24193 * nscd/connections.c (register_traced_file, send_ro_fd)
24194 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24195 (main_loop_epoll): Likewise.
24196 * nscd/grpcache.c (addgrbyX): Likewise.
24197 * nscd/hstcache.c (addhstbyX): Likewise.
24198 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24199 * nscd/mem.c (gc, mempool_alloc): Likewise.
24200 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24201 (addinnetgrX): Likewise.
24202 * nscd/nscd-client.h (__nscd_acquire_maplock)
24203 (__nscd_drop_map_ref): Likewise.
24204 * nscd/nscd_getai.c (__nscd_getai): Likewise.
24205 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24206 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24208 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24209 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24210 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24211 (__nscd_get_map_ref): Likewise.
24212 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24213 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24215 * nscd/pwdcache.c (addpwbyX): Likewise.
24216 * nscd/selinux.c (preserve_capabilities): Likewise.
24217 * nscd/servicescache.c (addservbyX): Likewise.
24218 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24219 * posix/fnmatch.c (fnmatch): Likewise.
24220 * posix/getopt.c (_getopt_internal_r): Likewise.
24221 * posix/glob.c (glob, glob_in_dir): Likewise.
24222 * posix/wordexp.c (exec_comm_child): Likewise.
24223 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24224 (getanswer_r, gaih_getanswer_slice): Likewise.
24225 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24226 * resolv/res_init.c: Likewise.
24227 * resolv/res_mkquery.c (res_nmkquery): Likewise.
24228 * resolv/res_query.c (__libc_res_nquery): Likewise.
24229 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24231 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24232 * stdio-common/perror.c (perror): Likewise.
24233 * stdio-common/printf_fp.c (___printf_fp): Likewise.
24234 * stdio-common/tmpnam.c (tmpnam): Likewise.
24235 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24236 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24237 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24239 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24240 * stdlib/putenv.c (putenv): Likewise.
24241 * stdlib/setenv.c (__add_to_environ): Likewise.
24242 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24243 * stdlib/strtol_l.c (INTERNAL): Likewise.
24244 * string/memmem.c (memmem): Likewise.
24245 * string/strerror.c (strerror): Likewise.
24246 * string/strnlen.c (__strnlen): Likewise.
24247 * string/test-memmem.c (simple_memmem): Likewise.
24248 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24249 * sunrpc/pm_getport.c (__get_socket): Likewise.
24250 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24251 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24252 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24253 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24255 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24256 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24257 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24258 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24259 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24260 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24262 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24264 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24265 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24266 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24267 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24268 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24269 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24270 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24271 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24272 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24273 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24274 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24275 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24277 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24279 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24281 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24282 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24283 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24284 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24285 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24286 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24287 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24288 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24289 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24290 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24291 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24292 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24293 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24294 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24295 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24296 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24298 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24300 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24302 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24304 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24305 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24306 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24308 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24309 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24310 * sysdeps/posix/opendir.c (__opendirat): Likewise.
24311 * sysdeps/posix/sleep.c: Likewise.
24312 * sysdeps/posix/tempname.c: Likewise.
24313 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24314 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24316 * sysdeps/powerpc/powerpc32/dl-machine.h
24317 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24318 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24319 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24320 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24321 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24323 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24324 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24325 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24326 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24327 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24328 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24329 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24330 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24331 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24332 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24334 (elf_machine_lazy_rel): Likewise.
24335 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24336 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
24337 (elf_machine_lazy_rel): Likewise.
24338 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24339 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24340 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24341 * sysdeps/unix/grantpt.c (grantpt): Likewise.
24342 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24343 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24344 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24345 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24347 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24348 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24349 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24350 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24351 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24352 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24353 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24354 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24355 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24356 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24357 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24359 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24360 (__posix_fallocate64_l64): Likewise.
24361 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24362 (posix_fallocate): Likewise.
24363 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24365 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24366 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24367 (getifaddrs_internal): Likewise.
24368 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24369 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24370 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24371 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24372 * sysdeps/unix/sysv/linux/posix_fallocate64.c
24373 (__posix_fallocate64_l64): Likewise.
24374 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24376 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24377 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
24378 (__get_clockfreq): Likewise.
24379 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
24380 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24381 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
24382 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24383 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24384 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
24385 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
24386 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
24388 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
24389 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
24390 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24391 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
24392 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24393 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
24394 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
24396 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24397 (posix_fallocate): Likewise.
24398 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24399 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24400 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
24401 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
24402 (elf_machine_rela, elf_machine_rela_relative)
24403 (elf_machine_lazy_rel): Likewise.
24404 * time/asctime.c (asctime_internal): Likewise.
24405 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
24406 * time/tzset.c (__tzset_parse_tz): Likewise.
24407 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24408 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24409 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
24410 * wcsmbs/wcsmbsload.h: Likewise.
24413 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
24415 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
24416 (arena_get2): Remove THREAD_STATS conditionals.
24417 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
24418 (__malloc_stats, int): Likewise.
24420 2014-02-08 Mike Frysinger <vapier@gentoo.org>
24422 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
24423 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
24425 * manual/setjmp.texi: Fix typos/grammar errors.
24427 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
24428 Only return early when n is <= 0. Delete unused return statement.
24430 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
24431 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24432 * debug/tst-longjmp_chk3.c: New file.
24434 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
24435 (test_main): Replace code with set_fortify_handler call.
24436 * debug/test-strcpy_chk.c: Likewise.
24437 * debug/tst-chk1.c: Likewise.
24438 * debug/tst-longjmp_chk.c: Likewise.
24439 * test-skeleton.c: Include fcntl.h & paths.h
24440 (set_fortify_handler): Define.
24442 * debug/tst-longjmp_chk.c: Add header comment and include
24443 ../test-skeleton.c.
24444 (do_test): Mark static.
24445 (TEST_FUNCTION): Define.
24447 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24448 (IP_PMTUDISC_INTERFACE): Likewise.
24449 (IP_MULTICAST_IF): Likewise.
24450 (IP_MULTICAST_TTL): Likewise.
24451 (IP_MULTICAST_LOOP): Likewise.
24452 (IP_ADD_MEMBERSHIP): Likewise.
24453 (IP_DROP_MEMBERSHIP): Likewise.
24454 (IP_UNBLOCK_SOURCE): Likewise.
24455 (IP_BLOCK_SOURCE): Likewise.
24456 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24457 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24458 (IP_MSFILTER): Likewise.
24459 (MCAST_JOIN_GROUP): Likewise.
24460 (MCAST_BLOCK_SOURCE): Likewise.
24461 (MCAST_UNBLOCK_SOURCE): Likewise.
24462 (MCAST_LEAVE_GROUP): Likewise.
24463 (MCAST_JOIN_SOURCE_GROUP): Likewise.
24464 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24465 (MCAST_MSFILTER): Likewise.
24466 (IP_MULTICAST_ALL): Likewise.
24467 (IP_UNICAST_IF): Likewise.
24469 * timezone/Makefile: Delete $(have-ksh) check.
24470 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24471 * timezone/tzselect.ksh: Add +x mode bits.
24473 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24474 (ANON_INODE_FS_MAGIC): Likewise.
24475 (BDEVFS_MAGIC): Likewise.
24476 (BINFMTFS_MAGIC): Likewise.
24477 (BTRFS_TEST_MAGIC): Likewise.
24478 (CRAMFS_MAGIC_WEND): Likewise.
24479 (DEBUGFS_MAGIC): Likewise.
24480 (ECRYPTFS_SUPER_MAGIC): Likewise.
24481 (EXT3_SUPER_MAGIC): Likewise.
24482 (EXT4_SUPER_MAGIC): Likewise.
24483 (FUTEXFS_SUPER_MAGIC): Likewise.
24484 (HOSTFS_SUPER_MAGIC): Likewise.
24485 (HUGETLBFS_MAGIC): Likewise.
24486 (MINIX3_SUPER_MAGIC): Likewise.
24487 (MTD_INODE_FS_MAGIC): Likewise.
24488 (NILFS_SUPER_MAGIC): Likewise.
24489 (OPENPROM_SUPER_MAGIC): Likewise.
24490 (PIPEFS_MAGIC): Likewise.
24491 (PSTOREFS_MAGIC): Likewise.
24492 (QNX6_SUPER_MAGIC): Likewise.
24493 (RAMFS_MAGIC): Likewise.
24494 (REISERFS_SUPER_MAGIC_STRING): Likewise.
24495 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24496 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24497 (SECURITYFS_MAGIC): Likewise.
24498 (SELINUX_MAGIC): Likewise.
24499 (SMACK_MAGIC): Likewise.
24500 (SOCKFS_MAGIC): Likewise.
24501 (SQUASHFS_MAGIC): Likewise.
24502 (STACK_END_MAGIC): Likewise.
24503 (TMPFS_MAGIC): Likewise.
24504 (USBDEVICE_SUPER_MAGIC): Likewise.
24505 (V9FS_MAGIC): Likewise.
24506 (XENFS_SUPER_MAGIC): Likewise.
24507 (CRAMFS_MAGIC): Fix typo in comment.
24508 (EXT2_SUPER_MAGIC): Update comment.
24509 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24511 2014-02-08 Joseph Myers <joseph@codesourcery.com>
24513 * sysdeps/arm: Move directory from ports/sysdeps/arm.
24514 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24515 * sysdeps/unix/sysv/linux/arm: Move directory from
24516 ports/sysdeps/unix/sysv/linux/arm.
24517 * README: Update listing for arm-*-linux-gnueabi.
24519 * README: Remove mention of am33.
24521 2014-02-07 Roland McGrath <roland@hack.frob.com>
24523 * bits/sigset.h (__sigemptyset): Use a statement expression rather
24524 than the comma operator, to avoid "rhs of comma has no effect"
24526 (__sigfillset, __sigandset, __sigorset): Likewise.
24527 * include/signal.h (__sigemptyset): Likewise.
24528 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24530 2014-02-07 Allan McRae <allan@archlinux.org>
24532 * version.h (RELEASE): Set to "development".
24533 (VERSION): Set to "2.19.90"
24534 * NEWS: Add 2.20 section.
24536 2014-02-06 Carlos O'Donell <carlos@redhat.com>
24539 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24541 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24543 * manual/contrib.texi: Update entry for Carlos O'Donell,
24544 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24546 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
24548 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24550 * sysdeps/unix/sysv/linux/kernel-features.h
24551 [__LINUX_KERNEL_VERSION >= 0x020621]
24552 (__ASSUME_PROC_PID_TASK_COMM): Define.
24554 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24557 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24558 conversion when destination buffer does not have enough space.
24559 * libio/tst-ftell-partial-wide.c: New test case.
24560 * libio/Makefile (tests): Add tst-ftell-partial-wide.
24562 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24563 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
24564 Leonard and Allan McRae.
24566 2014-02-04 David S. Miller <davem@davemloft.net>
24568 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24571 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24600 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24602 * nptl/shlib-versions: Change powerpc*le start to 2.17.
24603 * shlib-versions: Likewise.
24605 2014-02-04 Roland McGrath <roland@hack.frob.com>
24606 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24608 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24609 (abilist-pattern): New variable, set to %-le.abilist.
24611 * Makerules (abilist-pattern): New variable.
24612 (vpath): Use $(abilist-pattern) in place of %.abilist.
24613 (check-abi-% pattern rule): Likewise.
24614 (check-abi, update-abi): Likewise.
24616 2014-02-04 Eric Wong <normalperson@yhbt.net>
24618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24620 2014-02-03 Carlos O'Donell <carlos@redhat.com>
24622 * manual/startup.texi: Add next, previous, and top entries for
24623 the `Program Arguments' and `Environment Variables' nodes.
24625 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
24627 * manual/macros.texi: Add comments before MTASC-safety macros.
24629 * manual/users.texi: Document MTASC-safety properties.
24631 * manual/threads.texi (pthread_key_create, pthread_key_delete)
24632 (pthread_getspecific, pthread_setspecific): Format with
24633 @deftypefun, and add @safety note.
24634 * manual/signal.texi: Move comments that analyze the above
24635 functions to their home place.
24637 2014-02-03 Allan McRae <allan@archlinux.org>
24639 * po/sl.po: Update Slovenian translation from translation project.
24641 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
24643 * manual/time.texi (timegm): Add missing blank after @c.
24644 Reported by Joseph Myers <joseph@codesourcery.com>.
24646 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
24648 * manual/check-safety.sh: New.
24649 * manual/Makefile ($(objpfx)stamp-summary): Run it.
24651 * manual/terminal.texi: Document MTASC-safety properties.
24653 * manual/filesys.texi: Document MTASC-safety properties.
24655 * manual/errno.texi: Document MTASC-safety properties.
24657 * manual/intro.texi: Document safety identifiers and
24660 * manual/string.texi (wcstok): Fix prototype.
24661 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24663 * manual/time.texi: Document MTASC-safety properties.
24665 * manual/string.texi: Document MTASC-safety properties.
24667 * manual/threads.texi: Document MTASC-safety properties.
24669 * manual/stdio.texi: Document MTASC-safety properties.
24671 * manual/syslog.texi: Document MTASC-safety properties.
24673 * manual/sysinfo.texi: Document MTASC-safety properties.
24675 * manual/startup.texi: Document MTASC-safety properties.
24677 * manual/socket.texi: Document MTASC-safety properties.
24679 * manual/signal.texi: Document MTASC-safety properties.
24681 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
24683 * manual/setjmp.texi: Document MTASC-safety properties.
24685 * manual/search.texi: Document MTASC-safety properties.
24687 * manual/resource.texi: Document MTASC-safety properties.
24689 * manual/process.texi: Document MTASC-safety properties.
24691 * manual/platform.texi: Document MTASC-safety properties.
24693 * manual/pipe.texi: Document MTASC-safety properties.
24695 * manual/pattern.texi: Document MTASC-safety properties.
24697 * manual/message.texi: Document MTASC-safety properties.
24700 * manual/memory.texi: Document MTASC-safety properties.
24702 * manual/math.texi: Document MTASC-safety properties.
24704 * manual/locale.texi: Document MTASC-safety properties.
24706 * manual/llio.texi: Document MTASC-safety properties.
24708 * manual/libdl.texi: New.
24710 * manual/lang.texi: Document MTASC-safety properties.
24712 * manual/job.texi: Document MTASC-safety properties.
24714 * manual/getopt.texi: Document MTASC-safety properties.
24716 * manual/ctype.texi: Document MTASC-safety properties.
24718 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
24721 * csu/libc-tls.c (static_map): Remove variable.
24722 (__libc_setup_tls): Use main executable's link map for TLS data.
24723 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24724 casing for LM_ID_BASE and GL(dl_nns).
24725 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24726 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
24727 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24728 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24729 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24731 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24734 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
24736 * manual/debug.texi: Document MTASC-safety properties.
24738 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
24741 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24742 of __x86_64__ when disabling x87 inline functions.
24744 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
24746 * manual/charset.texi: Document MTASC-safety properties.
24748 * manual/crypt.texi: Document MTASC-safety properties.
24750 * manual/conf.texi: Document MTASC-safety properties.
24752 * manual/arith.texi: Document MTASC-safety properties.
24754 * manual/argp.texi: Document MTASC-safety properties.
24756 * manual/macros.texi: Introduce macros to document multi
24757 thread, asynchronous signal and asynchronous cancellation
24759 * manual/intro.texi: Introduce the properties themselves.
24761 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24763 * sysdeps/sh/sh4/Makefile: New file.
24765 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
24767 * math/gen-libm-test.pl ($srcdir): New variable.
24768 ($auto_input): Use it.
24770 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24773 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24774 access beyond array bounds when parsing netgroups file.
24776 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24777 the old buffer before realloc.
24779 2014-01-27 Allan McRae <allan@archlinux.org>
24781 * po/fr.po: Update French translation from translation project.
24783 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24785 * sysdeps/sh/libm-test-ulps: Regenerate.
24787 2014-01-24 David S. Miller <davem@davemloft.net>
24789 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24791 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24793 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24794 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24796 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24799 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24800 string pointers after reallocation.
24802 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24804 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24805 __SH4A__ instead of __SH_FPU_ANY__.
24807 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24809 * sysdeps/sh/fpu_control.h: New file.
24810 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24811 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24812 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24813 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24814 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24815 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24816 * sysdeps/sh/sys/ucontext.h: Remove.
24817 * sysdeps/sh/sys: Remove directory.
24819 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24821 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24822 s390/sys/ucontext.h.
24823 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24824 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24826 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
24829 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24831 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24834 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24835 Adjust the vDSO correctly for internal calls.
24836 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24838 2014-01-20 Allan McRae <allan@archlinux.org>
24840 * po/ca.po: Update Catalan translation from translation project.
24842 2014-01-16 Mike Frysinger <vapier@gentoo.org>
24844 * sysdeps/s390/sotruss-lib.c: New file.
24846 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24849 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24850 (__GI___gettimeofday): Alias for a different internal symbol to avoid
24851 local calls issues by not having a PLT stub required for IFUNC calls.
24852 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24854 2014-01-16 Joseph Myers <joseph@codesourcery.com>
24856 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24857 * math/test-fpucw-static.c: Likewise.
24859 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24862 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24864 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24866 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24867 implementation for powerpc.
24869 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
24872 * sysdeps/posix/system.c (__libc_system): Do not enable
24873 asynchronous cancellation.
24875 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24878 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24879 handling only for numbers special also in the IEEE case.
24881 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24883 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24885 2014-01-11 Allan McRae <allan@archlinux.org>
24887 * po/bg.po: Update Bulgarian translation from translation project.
24889 * po/de.po: Update German translation from translation project.
24891 2014-01-10 Roland McGrath <roland@hack.frob.com>
24893 * sysdeps/generic/gcc-compat.h: New file.
24895 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24897 * benchtests/asin-inputs: Correct slow inputs.
24898 * benchtests/acos-inputs: Likewise.
24900 2014-01-10 Allan McRae <allan@archlinux.org>
24902 * po:sv.po: Update Swedish translation from translation project.
24904 * po/vi.po: Update Vietnamese translation from translation project.
24906 * po/eo.po: Update Esperanto translation from translation project.
24908 * po/cs.po: Update Czech translation from translation project.
24910 * po/nl.po: Update Dutch translation from translation project.
24912 * po/pl.po: Update Polish translation from translation project.
24914 * po/ru.po: Update Russian translation from translation project.
24916 * po/uk.po: Update Ukrainian translation from translation project.
24918 2014-01-08 Brooks Moses <bmoses@google.com>
24920 * elf/dl-load.c: Fix comment typo.
24922 2014-01-08 Carlos O'Donell <carlos@redhat.com>
24924 * po/header.pot: Rename to...
24925 * po/pot.header: ... this.
24926 * po/Makefile: Use pot.header.
24928 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
24929 Maxim Kuvyrkov <maxim@kugelworks.com>
24932 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24933 SRC and DEST against LEN.
24935 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24938 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24940 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24942 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24946 2014-01-08 Joseph Myers <joseph@codesourcery.com>
24949 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24950 for large positive arguments.
24952 2014-01-07 Joseph Myers <joseph@codesourcery.com>
24954 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24956 * math/auto-libm-test-in: Mark various tests with
24957 xfail-rounding:ldbl-128ibm.
24958 * math/auto-libm-test-out: Regenerated.
24961 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24962 Increase overflow threshold.
24964 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
24967 * stdio-common/vfprintf.c: Check for integer overflow.
24969 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24971 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24972 the first argument and return value of __tls_get_addr_internal.
24974 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24976 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24977 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24979 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24981 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24982 * sysdeps/s390/rtld-global-offsets.sym: New file.
24983 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24985 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24986 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24987 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24989 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24990 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24996 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24997 halfs of GPRs for high_gprs contexts.
24998 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24999 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
25001 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25003 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25005 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25006 for high GPRs (uc_high_gprs) and for future extensions
25008 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25009 for future extensions (__reserved).
25010 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25012 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25013 SC_HIGHGPRS offset definition.
25014 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25015 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25017 * Versions.def: Add GLIBC_2.19 for libpthread.
25018 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25019 siglongjmp for libpthread with GLIBC_2.19 symver.
25020 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25021 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25022 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25023 * sysdeps/s390/__longjmp.c: New file.
25024 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25025 * sysdeps/s390/longjmp.c: New file.
25026 * sysdeps/s390/setjmp.S: New file.
25027 * sysdeps/s390/sigjmp.S: New file.
25028 * sysdeps/s390/v1-longjmp.c: New file.
25029 * sysdeps/s390/v1-setjmp.h: New file.
25030 * sysdeps/s390/v1-sigjmp.c: New file.
25031 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25032 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25033 GLIBC_2.19 version.
25034 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25035 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25036 versioned symbols for ____longjmp_chk.
25037 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25047 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25048 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25049 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25050 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25051 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25052 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25053 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25054 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25055 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25056 * sysdeps/s390/rtld-__longjmp.c: New file.
25057 * sysdeps/s390/rtld-setjmp.S: New file.
25059 2014-01-06 Joseph Myers <joseph@codesourcery.com>
25062 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25063 Return -__logl (x) for small positive arguments without evaluating
25066 2014-01-06 Mike Frysinger <vapier@gentoo.org>
25068 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25070 (__ptrace_peeksiginfo_args): ... this.
25071 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25072 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25073 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25075 2014-01-06 Allan McRae <allan@archlinux.org>
25077 * inet/netinet/in.h: Fix typo in comment.
25079 2014-01-05 Andreas Jaeger <aj@suse.de>
25081 * sysdeps/i386/fpu/libm-test-ulps: Update.
25083 2014-01-05 Allan McRae <allan@archlinux.org>
25085 * po/libc.pot: Regenerated.
25087 * malloc/memusagestat.c: Fix gettext call formatting.
25089 2014-01-04 Sami Kerola <kerolasa@iki.fi>
25091 * nscd/nscd.c: Improve usage() output.
25093 2014-01-04 Mike Frysinger <vapier@gentoo.org>
25095 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25096 * sysdeps/unix/sysv/linux/configure: Regenerated.
25097 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25098 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25100 2014-01-03 Joseph Myers <joseph@codesourcery.com>
25103 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25104 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25106 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25108 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25109 extra tokens at end of #undef directive.
25110 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25111 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25112 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25114 2014-01-03 Joseph Myers <joseph@codesourcery.com>
25116 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25118 * math/auto-libm-test-in: Mark various tests with
25119 xfail-rounding:ldbl-128ibm.
25120 * math/auto-libm-test-out: Regenerated.
25122 2014-01-02 Joseph Myers <joseph@codesourcery.com>
25125 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25126 numbers with subnormal high part when calculating exponent.
25129 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25133 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25135 (__ieee754_acoshl): Use __log1pl not __log1p.
25137 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
25139 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25140 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25141 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25142 (grow_heap, heap_trim, _int_new_arena, get_free_list)
25143 (reused_arena, arena_get2): Convert to GNU style.
25144 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25145 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25146 (memalign_check, __malloc_set_state): Likewise.
25147 * malloc/mallocbug.c (main): Likewise.
25148 * malloc/malloc.c (__malloc_assert, malloc_init_state)
25149 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25150 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25151 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25152 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25153 (__posix_memalign, malloc_info): Likewise.
25154 * malloc/malloc.h: Likewise.
25155 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25156 (mallochook, memalignhook, reallochook, mabort): Likewise.
25157 * malloc/mcheck.h: Likewise.
25158 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25159 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25160 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25161 * malloc/morecore.c (__default_morecore): Likewise.
25162 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25163 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25164 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25165 (print_and_abort): Likewise.
25166 * malloc/obstack.h: Likewise.
25167 * malloc/set-freeres.c (__libc_freeres): Likewise.
25168 * malloc/tst-mallocstate.c (main): Likewise.
25169 * malloc/tst-mtrace.c (main): Likewise.
25170 * malloc/tst-realloc.c (do_test): Likewise.
25172 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25175 * nscd/netgroupcache.c (do_notfound): New function.
25176 (addgetnetgrentX): Use it.
25179 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25180 NSS_STATUS_NOTFOUND.
25182 2014-01-01 Joseph Myers <joseph@codesourcery.com>
25184 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25187 2014-01-01 Allan McRae <allan@archlinux.org>
25189 * scripts/update-copyrights: Update configure input file suffix.
25191 * NEWS: Update copyright year.
25192 * catgets/gencat.c: Likewise.
25193 * csu/version.c: Likewise.
25194 * debug/catchsegv.sh: Likewise.
25195 * debug/pcprofiledump.c: Likewise.
25196 * debug/xtrace.sh: Likewise.
25197 * elf/ldconfig.c: Likewise.
25198 * elf/ldd.bash.in: Likewise.
25199 * elf/pldd.c: Likewise.
25200 * elf/sotruss.ksh: Likewise.
25201 * elf/sprof.c: Likewise.
25202 * iconv/iconv_prog.c: Likewise.
25203 * iconv/iconvconfig.c: Likewise.
25204 * locale/programs/locale.c: Likewise.
25205 * locale/programs/localedef.c: Likewise.
25206 * login/programs/pt_chown.c: Likewise.
25207 * malloc/memusage.sh: Likewise.
25208 * malloc/memusagestat.c: Likewise.
25209 * malloc/mtrace.pl: Likewise.
25210 * manual/libc.texinfo: Likewise.
25211 * nscd/nscd.c: Likewise.
25212 * nss/getent.c: Likewise.
25213 * nss/makedb.c: Likewise.
25214 * posix/getconf.c: Likewise.
25215 * scripts/test-installation.pl: Likewise.
25217 * All files with FSF copyright notices: Update copyright dates
25218 using scripts/update-copyrights.
25219 * intl/plural.c: Regenerated.
25220 * locale/programs/charmap-kw.h: Likewise.
25221 * locale/programs/locfile-kw.h: Likewise.
25223 2013-12-31 Mike Frysinger <vapier@gentoo.org>
25225 * sysdeps/unix/sysv/linux/configure: Regenerated.
25226 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25227 the linux/fanotify.h header.
25228 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25229 HAVE_LINUX_FANOTIFY_H is defined.
25231 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25233 * benchtests/cos-inputs: New inputs.
25234 * benchtests/sin-inputs: Likewise.
25236 * benchtests/atan-inputs: New inputs. Fix name of multiple
25237 precision fallback inputs.
25239 * benchtests/atanh-inputs: New inputs.
25240 * benchtests/tanh-inputs: Likewise.
25242 * benchtests/acosh-inputs: New inputs.
25243 * benchtests/asinh-inputs: Likewise.
25245 * benchtests/cosh-inputs: New inputs.
25246 * benchtests/sinh-inputs: Likewise.
25248 * benchtests/acos-inputs: Add more inputs.
25249 * benchtests/asin-inputs: Likewise.
25251 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
25254 * manual/arith.texi: Fix spelling.
25255 * manual/charset.texi: Likewise.
25256 * manual/errno.texi: Likewise.
25257 * manual/filesys.texi: Likewise.
25258 * manual/lang.texi: Likewise.
25259 * manual/llio.texi: Likewise.
25260 * manual/locale.texi: Likewise.
25261 * manual/message.texi: Likewise.
25262 * manual/resource.texi: Likewise.
25263 * manual/search.texi: Likewise.
25264 * manual/setjmp.texi: Likewise.
25265 * manual/stdio.texi: Likewise.
25266 * manual/string.texi: Likewise.
25267 * manual/sysinfo.texi: Likewise.
25268 * manual/time.texi: Likewise.
25270 2013-12-27 Carlos O'Donell <carlos@redhat.com>
25272 * po/sl.po: New file.
25274 2013-12-27 Mike Frysinger <vapier@gentoo.org>
25276 * .gitignore: Add core/.gdbinit/.gdb_history.
25278 2013-12-27 Allan McRae <allan@archlinux.org>
25281 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25282 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25284 2013-12-24 Brooks Moses <bmoses@google.com>
25286 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25287 all compilers that claim C++98 compliance, not just GCC.
25288 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25291 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
25293 * NEWS: Restore accidentally deleted bug-fix entries.
25295 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
25296 Ondřej Bílka <neleai@seznam.cz>
25299 * malloc/malloc.c (_int_free): Perform sanity check only if we
25302 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
25305 * manual/stdio.texi (String Input Conversions): Clarify that character
25306 classes are not supported.
25308 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25312 2013-12-22 Joseph Myers <joseph@codesourcery.com>
25315 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25316 Calculate results for small negative arguments directly rather
25317 than using reflection formula with special underflow handling.
25319 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25320 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25321 sysdeps/unix/bsd/bsd4.4/syscalls.list.
25322 (fchflags): Likewise.
25323 (revoke): Likewise.
25324 (setlogin): Likewise.
25325 (sigaltstack): Likewise.
25327 (sigblock): Remove.
25328 (sigsetmask): Likewise.
25330 (waitpid): Likewise.
25331 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25332 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25334 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
25335 * sysdeps/unix/bsd/Makefile: ... here.
25336 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
25337 * sysdeps/unix/bsd/Versions: ... here.
25338 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25339 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25340 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25341 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25342 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25343 * sysdeps/unix/bsd/sigblock.c: ... here.
25344 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25345 * sysdeps/unix/bsd/sigsetmask.c: ... here.
25346 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25347 * sysdeps/unix/bsd/sigvec.c: ... here.
25348 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25349 * sysdeps/unix/bsd/tcdrain.c: ... here.
25350 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25351 * sysdeps/unix/bsd/tcgetattr.c: ... here.
25352 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25353 * sysdeps/unix/bsd/tcsetattr.c: ... here.
25354 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25355 * sysdeps/unix/bsd/wait.c: ... here.
25356 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25357 * sysdeps/unix/bsd/wait3.c: ... here.
25358 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25359 * sysdeps/unix/bsd/waitpid.c: ... here.
25361 2013-12-21 Joseph Myers <joseph@codesourcery.com>
25364 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25365 round-to-nearest for [!USE_AS_EXPM1L].
25366 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25367 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
25368 more tests of exp and exp10. Expect some exp10 tests to miss
25369 exceptions or fail in directed rounding modes.
25370 * math/auto-libm-test-out: Regenerated.
25371 * math/libm-test.inc (exp10_tonearest_test_data): New array.
25372 (exp10_test_tonearest): New function.
25373 (exp10_towardzero_test_data): New array.
25374 (exp10_test_towardzero): New function.
25375 (exp10_downward_test_data): New array.
25376 (exp10_test_downward): New function.
25377 (exp10_upward_test_data): New array.
25378 (exp10_test_upward): New function.
25379 (main): Call the new functions.
25380 * sysdeps/i386/fpu/libm-test-ulps: Update.
25381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25383 2013-12-20 Joseph Myers <joseph@codesourcery.com>
25385 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25386 asinh, atan, atan2, atanh, cbrt, cos and cosh.
25387 * math/auto-libm-test-out: Regenerated.
25388 * math/libm-test.inc (acosh_test_data): Add more tests.
25389 (atanh_test_data): Likewise.
25390 (ceil_test_data): Likewise.
25391 (copysign_test_data): Likewise.
25392 * sysdeps/i386/fpu/libm-test-ulps: Update.
25393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25395 * timezone/checktab.awk: Update from tzcode 2013i.
25396 * timezone/private.h: Likewise.
25397 * timezone/scheck.c: Likewise.
25398 * timezone/tzfile.h: Likewise.
25399 * timezone/tzselect.ksh: Likewise.
25400 * timezone/zdump.c: Likewise.
25401 * timezone/zic.c: Likewise.
25403 * math/auto-libm-test-in: Add tests of cpow.
25404 * math/auto-libm-test-out: Regenerated.
25405 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
25406 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25408 (func_calc_desc): Add mpc_cc_c union field.
25409 (test_functions): Add cpow.
25410 (special_fill_2pi): New function.
25411 (special_real_inputs): Add 2pi.
25412 (calc_generic_results): Handle mpc_cc_c.
25413 * sysdeps/i386/fpu/libm-test-ulps: Update.
25414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25416 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
25417 csqrt, ctan and ctanh.
25418 * math/auto-libm-test-out: Regenerated.
25419 * math/libm-test.inc (TEST_COND_x86_64): New macro.
25420 (TEST_COND_x86): Likewise.
25421 (ccos_test_data): Use AUTO_TESTS_c_c.
25422 (ccosh_test_data): Likewise.
25423 (cexp_test_data): Likewise.
25424 (clog_test_data): Likewise.
25425 (csqrt_test_data): Likewise.
25426 (ctan_test_data): Likewise.
25427 (ctan_tonearest_test_data): Likewise.
25428 (ctan_towardzero_test_data): Likewise.
25429 (ctan_downward_test_data): Likewise.
25430 (ctan_upward_test_data): Likewise.
25431 (ctanh_test_data): Likewise.
25432 (ctanh_tonearest_test_data): Likewise.
25433 (ctanh_towardzero_test_data): Likewise.
25434 (ctanh_downward_test_data): Likewise.
25435 (ctanh_upward_test_data): Likewise.
25436 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25438 (func_calc_desc): Add mpc_c_c union field.
25439 (FUNC_mpc_c_c): New macro.
25440 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
25441 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
25443 (special_fill_min_subnorm_p120): New function.
25444 (special_real_inputs): Add min_subnorm_p120.
25445 (calc_generic_results): Handle mpc_c_c.
25446 * sysdeps/i386/fpu/libm-test-ulps: Update.
25447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25449 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25451 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25452 (do_sin_slow): New functions.
25453 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25454 (cslow2, csloww1, csloww2): Use the new functions.
25456 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25457 Use M to change sign of result instead of X. Assume X is
25459 (csloww1): Likewise.
25463 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25464 arguments A and DA.
25468 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25470 (sloww1): Don't adjust sign of DX.
25471 (csloww1): Likewise.
25472 (sloww2): Use X directly and don't adjust sign of DX.
25473 (csloww2): Likewise.
25475 2013-12-19 Joseph Myers <joseph@codesourcery.com>
25477 * math/auto-libm-test-in: Add tests of cabs and carg.
25478 * math/auto-libm-test-out: Regenerated.
25479 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25480 (carg_test_data): Likewise.
25481 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25483 (func_calc_desc): Add mpc_c_f union field.
25484 (test_functions): Add cabs and carg.
25485 (calc_generic_results): Handle mpc_c_f.
25487 * sysdeps/powerpc/powerpc32/libgcc-compat.S
25488 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25489 as a macro and a compat symbol.
25490 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25491 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25492 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25493 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25494 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25495 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25497 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25499 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25501 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25503 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25505 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25507 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25508 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25511 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25515 2013-12-19 Joseph Myers <joseph@codesourcery.com>
25517 * manual/texinfo.tex: Update to version 2013-11-26.10 with
25518 trailing whitespace removed.
25519 * scripts/config.guess: Update to version 2013-11-29.
25520 * scripts/config.sub: Update to version 2013-10-01.
25522 * math/auto-libm-test-in: Add tests of sincos.
25523 * math/auto-libm-test-out: Regenerated.
25524 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25525 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25527 (func_calc_desc): Add mpfr_f_11 union field.
25528 (test_functions): Add sincos.
25529 (calc_generic_results): Handle mpfr_f_11.
25530 * sysdeps/i386/fpu/libm-test-ulps: Update.
25531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25533 2013-12-19 Andreas Schwab <schwab@suse.de>
25535 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25537 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25538 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25539 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25541 2013-12-19 Joseph Myers <joseph@codesourcery.com>
25543 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25544 * sysdeps/i386/fpu/libm-test-ulps: Update.
25545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25548 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25549 round-to-nearest mode when using frndint.
25550 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25551 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25552 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25554 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
25556 * math/auto-libm-test-out: Regenerated.
25557 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25558 (TEST_COND_x86): Likewise.
25559 (expm1_tonearest_test_data): New array.
25560 (expm1_test_tonearest): New function.
25561 (expm1_towardzero_test_data): New array.
25562 (expm1_test_towardzero): New function.
25563 (expm1_downward_test_data): New array.
25564 (expm1_test_downward): New function.
25565 (expm1_upward_test_data): New array.
25566 (expm1_test_upward): New function.
25567 (main): Run the new test functions.
25568 * sysdeps/i386/fpu/libm-test-ulps: Update.
25569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25571 * include/features.h: Update comment documenting feature test
25572 macros. Mention _DEFAULT_SOURCE in comment.
25573 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25574 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25575 _BSD_SOURCE and _SVID_SOURCE.
25576 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25577 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25578 !_SVID_SOURCE]: Likewise.
25579 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25580 (__USE_POSIX_IMPLICITLY): Define.
25581 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25582 (_POSIX_SOURCE): Undefine and redefine.
25583 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25584 (_POSIX_C_SOURCE): Likewise.
25585 * manual/creature.texi (_DEFAULT_SOURCE): Document.
25586 (Feature Test Macros): Update documentation of default features.
25588 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25590 * benchtests/Makefile: Add bench-strtok.
25591 * benchtests/bench-strtok.c: New file: strtok benchtest.
25593 2013-12-19 Allan McRae <allan@archlinux.org>
25595 * manual/install.texi: Suppress menu for plain text output.
25596 * INSTALL: Regenerated.
25598 2013-12-18 Brooks Moses <bmoses@google.com>
25601 * misc/getauxval.c: Include errno.h.
25602 (__getauxval): Set errno to ENOENT if the requested type is not
25604 * misc/sys/auxv.h (getauxval): Document that it may set errno;
25605 don't declare with __attribute_const__.
25606 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25607 * manual/startup.texi: Document that getauxval sets errno.
25609 2013-12-18 Joseph Myers <joseph@codesourcery.com>
25611 * math/auto-libm-test-in: Add tests of jn and yn.
25612 * math/auto-libm-test-out: Regenerated.
25613 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25614 (yn_test_data): Likewise.
25615 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25617 (func_calc_desc): Add mpfr_if_f union field.
25618 (FUNC_mpfr_if_f): New macro.
25619 (test_functions): Add jn and yn.
25620 (calc_generic_results): Assert type of second input for
25621 mpfr_ff_f. Handle mpfr_if_f.
25622 (output_for_one_input_case): Disable all checking for arguments
25623 fitting floating-point types in case of an integer argument.
25624 * sysdeps/i386/fpu/libm-test-ulps: Update.
25625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25628 Don't expect fegetround reference in libm.so.
25630 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25632 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25633 $(config-cflags-nofma).
25635 2013-12-18 Joseph Myers <joseph@codesourcery.com>
25637 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25638 * math/auto-libm-test-out: Regenerated.
25641 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25642 to determine exponent and adjust argument to have exponent of -1.
25643 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25645 * math/auto-libm-test-out: Regenerated.
25646 * sysdeps/i386/fpu/libm-test-ulps: Update.
25647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25649 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
25651 * manual/probes.texi: Remove cases when per-thread arenas are
25654 2013-12-18 Andreas Schwab <schwab@suse.de>
25656 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25657 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25658 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25659 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25660 * sysdeps/i386/i686/multiarch/Makefile: Update.
25661 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25663 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25665 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25666 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25668 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
25671 Support TZ transition times < 00:00:00.
25672 This is needed for version-3 tz-format files; it supports time
25673 stamps past 2037 for America/Godthab (the only entry in the tz
25674 database for which this change is relevant).
25675 * manual/time.texi (TZ Variable): Document transition times
25676 from -167:59:59 through -00:00:01.
25677 * time/tzset.c (tz_rule): Time of day is now signed.
25678 (__tzset_parse_tz): Parse negative time of day.
25680 Document TZ transition times >= 25:00:00.
25681 * manual/time.texi (TZ Variable): Document transition times from
25682 25:00:00 through 167:59:59. These are already supported, and this
25683 support will help with version-3 tz-format files.
25685 * manual/time.texi (TZ Variable): Modernize North America example
25686 to reflect current (i.e., 2007-and-later) daylight saving rules.
25688 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25690 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25692 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25693 * sysdeps/unix/bsd/bits/stat.h: Likewise.
25694 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25695 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25696 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25697 * sysdeps/unix/bsd/bsdstat.h: Likewise.
25698 * sysdeps/unix/bsd/clock.c: Likewise.
25699 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25700 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25701 * sysdeps/unix/bsd/init-posix.c: Likewise.
25702 * sysdeps/unix/bsd/poll.c: Likewise.
25703 * sysdeps/unix/bsd/ptsname.c: Likewise.
25704 * sysdeps/unix/bsd/seekdir.c: Likewise.
25705 * sysdeps/unix/bsd/setegid.c: Likewise.
25706 * sysdeps/unix/bsd/seteuid.c: Likewise.
25707 * sysdeps/unix/bsd/setgid.c: Likewise.
25708 * sysdeps/unix/bsd/setrgid.c: Likewise.
25709 * sysdeps/unix/bsd/setruid.c: Likewise.
25710 * sysdeps/unix/bsd/setsid.c: Likewise.
25711 * sysdeps/unix/bsd/setuid.c: Likewise.
25712 * sysdeps/unix/bsd/sigaction.c: Likewise.
25713 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25714 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25715 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25716 * sysdeps/unix/bsd/telldir.c: Likewise.
25717 * sysdeps/unix/bsd/times.c: Likewise.
25718 * sysdeps/unix/bsd/usleep.c: Likewise.
25720 * misc/Makefile (install-lib): Remove libbsd-compat.a.
25721 ($(objpfx)libbsd-compat.a): Remove rule.
25723 * include/features.h (__FAVOR_BSD): Do not define.
25724 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25725 features conflicting with POSIX.
25726 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25727 (_BSD_SOURCE): Remove description of not being a subset of other
25728 feature test macros.
25729 * manual/job.texi (getpgrp): Do not document BSD version.
25730 (getpgid): Do not document by reference to BSD getpgrp.
25731 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25732 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25733 * signal/signal.h [__FAVOR_BSD]: Likewise.
25734 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25735 instead of making contents conditional on [__FAVOR_BSD].
25736 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25738 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25742 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25745 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25746 values below 2**-450, not 2**-500.
25747 * math/auto-libm-test-in: Don't allow spurious underflow from
25749 * math/auto-libm-test-out: Regenerated.
25753 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25754 values of ha and hb and sort them after adjusting subnormal
25756 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25758 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25759 values of ea and eb and sort them after adjusting subnormal
25761 * math/auto-libm-test-in: Do not expect some hypot tests of
25762 subnormals to fail. Add more hypot tests.
25763 * math/auto-libm-test-out: Regenerated.
25765 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25768 * sysdeps/sh/s_fma.c: New file.
25769 * sysdeps/sh/s_fmaf.c: New file.
25770 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
25772 * sysdeps/sh/Implies: Add sh/soft-fp.
25774 2013-12-16 Roland McGrath <roland@hack.frob.com>
25776 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
25777 level of indirection to members `objname', `errstring', `malloced'.
25778 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25779 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
25780 it as the __longjmp argument (just pass 1 instead).
25781 (_dl_catch_error): Initialize C with argument pointers and address of
25782 volatile local ERRCODE rather than copying values out of C at return.
25784 2013-12-16 Joseph Myers <joseph@codesourcery.com>
25786 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25787 * math/auto-libm-test-out: Regenerated.
25788 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25789 (hypot_test_data): Likewise.
25790 (pow_test_data): Likewise.
25791 (pow_tonearest_test_data): Likewise.
25792 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25794 (func_calc_desc): Add mpfr_ff_f union field.
25795 (FUNC_mpfr_ff_f): New macro.
25796 (test_functions): Add atan2, hypot and pow.
25797 (special_fill_min): New function.
25798 (special_fill_minus_min): Likewise.
25799 (special_fill_min_subnorm): Likewise.
25800 (special_fill_minus_min_subnorm): Likewise.
25801 (special_real_inputs): Add min, -min, min_subnorm and
25803 (calc_generic_results): Handle mpfr_ff_f.
25804 * sysdeps/i386/fpu/libm-test-ulps: Update.
25805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25807 2013-12-16 Will Newton <will.newton@linaro.org>
25809 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25810 (Aligned Memory Blocks): Add documentation for aligned_alloc
25811 and suggest it as an alternative to posix_memalign.
25812 (Hooks for Malloc): Document __memalign_hook is also called
25813 for aligned_alloc. (Summary of Malloc): Add summary for
25814 aligned alloc. Document __memalign_hook is also called
25817 2013-12-16 Will Newton <will.newton@linaro.org>
25819 * manual/memory.texi (Malloc Examples): Clarify default
25820 alignment documentation. Suggest posix_memalign rather
25821 than memalign or valloc.
25822 (Aligned Memory Blocks): Remove suggestion to use memalign
25823 or valloc. Remove obsolete comment about BSD.
25824 Document memalign errno values and mark the function obsolete.
25825 Document posix_memalign returned error codes. Mark valloc
25826 as obsolete. (Hooks for Malloc): __memalign_hook is also
25827 called for posix_memalign and valloc.
25828 (Summary of Malloc): Add posix_memalign to function summary.
25829 __memalign_hook is also called for posix_memalign and valloc.
25831 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25833 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25837 (sloww): Use mynumber union. Expand ternary operator into
25838 if-else statements.
25839 (cslow): use mynumber union.
25841 2013-12-16 Allan McRae <allan@archlinux.org>
25843 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25844 * configure: Regenerated.
25846 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25849 * configure.ac: Added --enable-maintainer-mode. Check for
25850 autoconf when enabled.
25851 * configure: Regenerated.
25853 * nscd/nscd.service: New file.
25854 * nscd/nscd.tmpfiles: New file.
25856 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
25859 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25860 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25861 * sysdeps/x86_64/multiarch/strstr.c: ... here.
25862 (strstr): Add __strstr_sse2_unaligned ifunc.
25863 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25864 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25865 (strcasestr): Remove __strcasestr_sse42 ifunc.
25866 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25867 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25868 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25870 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25872 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25873 * sysdeps/sh/bits/fenv.h: ... here.
25874 * sysdeps/sh/sh4/fpu/bits: Remove directory.
25876 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25878 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25880 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25881 hypotf multiarch implementations.
25882 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25883 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25884 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25885 multiarch hypot for PPC64.
25886 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25887 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25888 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25889 multiarch hypotf for PPC64.
25891 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25892 modff multiarch implementations.
25893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25896 multiarch modf for PPC64.
25897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25900 multiarch modff for PPC64.
25902 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25903 and logl multiarch implementations.
25904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25907 multiarch logb for PPC64.
25908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25911 multiarch logb for PPC64.
25912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25915 multiarch logb for PPC64.
25917 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25918 isinff multiarch implementation.
25919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25923 multiarch isinf for PPC64.
25924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25927 multiarch isinff for PPC64.
25929 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25930 finitef multiarch implementation.
25931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25935 multiarch finite for PPC64.
25936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25939 multiarch finitef for PPC64.
25941 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25942 lrint multiarch implementation.
25943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25947 multiarch llrint for PPC64.
25948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25949 multiarch lrint for PPC64.
25951 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25952 copysignf multiarch implementation.
25953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25958 multiarch copysign for PPC64.
25959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25960 multiarch copysignf for PPC64.
25962 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25963 multiarch implementation.
25964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25972 multiarch llround for PPC64.
25973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25974 multiarch trunc for PPC64.
25975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25976 multiarch truncf for PPC64.
25978 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25979 multiarch implementation.
25980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25988 multiarch llround for PPC64.
25989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25990 multiarch round for PPC64.
25991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25992 multiarch roundf for PPC64.
25994 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25995 multiarch implementation.
25996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26004 multiarch llround for PPC64.
26005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26006 multiarch floor for PPC64.
26007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26008 multiarch floorf for PPC64.
26010 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26011 multiarch implementation.
26012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26020 multiarch llround for PPC64.
26021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26022 multiarch ceil for PPC64.
26023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26024 multiarch ceilf for PPC64.
26026 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26027 multiarch implementation.
26028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26035 multiarch llround for PPC64.
26036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26037 multiarch lround for PPC64.
26039 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26040 multiarch implementation.
26041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26048 multiarch isnan for PPC64.
26049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26050 multiarch isnanf for PPC64.
26052 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26053 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26054 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26055 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26056 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26059 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26060 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26061 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26062 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26064 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26065 multiarch implementations.
26066 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26067 (__libc_ifunc_impl_list): Likewise.
26068 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26069 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26070 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26071 multiarch stpcpy for PPC64.
26073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26074 multiarch implementations.
26075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26076 (__libc_ifunc_impl_list): Likewise.
26077 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26078 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26079 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26080 multiarch strcpy for PPC64.
26082 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26083 redefine function name.
26084 (_wordcopy_fwd_dest_aligned): Likewise.
26085 (_wordcopy_bwd_aligned): Likewise.
26086 (_wordcopy_bwd_dest_aligned): Likewise.
26087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26088 multiarch implementations.
26089 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26090 (__libc_ifunc_impl_list): Likewise.
26091 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26092 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26093 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26094 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26095 multiarch wcscpy for PPC64.
26097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26098 multiarch implementations.
26099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26100 (__libc_ifunc_impl_list): Likewise.
26101 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26102 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26103 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26104 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26105 multiarch wcscpy for PPC64.
26107 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26108 multiarch implementations.
26109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26110 (__libc_ifunc_impl_list): Likewise.
26111 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26112 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26113 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26114 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26115 multiarch wcsrchr for PPC64.
26117 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26118 multiarch implementations.
26119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26120 (__libc_ifunc_impl_list): Likewise.
26121 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26122 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26123 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26124 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26125 multiarch wcschr for PPC64.
26127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26128 multiarch implementations.
26129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26130 (__libc_ifunc_impl_list): Likewise.
26131 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26132 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26133 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26134 multiarch strchrnul for PPC64.
26136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26139 (__libc_ifunc_impl_list): Likewise.
26140 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26141 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26142 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26143 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26149 (__libc_ifunc_impl_list): Likewise.
26150 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26151 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26152 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26153 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26156 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26157 multiarch implementations.
26158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26159 (__libc_ifunc_impl_list): Likewise.
26160 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26161 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26162 strncasecmp for PPC64.
26163 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26164 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26165 multiarch strncasecmp_l for PPC64.
26167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26168 multiarch implementations.
26169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26170 (__libc_ifunc_impl_list): Likewise.
26171 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26172 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26173 multiarch strcasecmp for PPC64.
26174 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26176 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26177 multiarch strcasecmp_l for PPC64.
26179 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26182 (__libc_ifunc_impl_list): Likewise.
26183 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26184 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26185 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26191 (__libc_ifunc_impl_list): Likewise.
26192 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26193 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26194 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26197 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26200 (__libc_ifunc_impl_list): Likewise.
26201 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26202 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26203 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26204 rawmemrchr for PPC64.
26206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26209 (__libc_ifunc_impl_list): Likewise.
26210 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26211 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26212 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26215 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26217 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26218 (__libc_ifunc_impl_list): Likewise.
26219 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26220 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26221 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26224 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26226 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26227 (__libc_ifunc_impl_list): Likewise.
26228 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26229 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26230 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26233 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26234 avoid cretion of __bzero symbol.
26235 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26237 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26239 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26241 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26242 multiarch implementations.
26243 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26244 (__libc_ifunc_impl_list): Likewise.
26245 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26246 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26247 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26248 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26250 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26251 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26252 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26253 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26254 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26256 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26258 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26262 (__libc_ifunc_impl_list): Likewise.
26263 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26264 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26265 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26266 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26270 multiarch for POWER/PPC64.
26271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26272 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26273 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26274 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26275 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26276 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26277 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26278 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26279 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26282 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26283 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26284 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26285 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26286 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26287 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26288 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26289 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26290 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26291 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26292 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26293 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26294 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26295 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26296 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26305 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26307 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26309 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26311 * benchtests/Makefile (bench): Add exp2 and log2.
26312 (LDLIBS-bench-exp2): Add -lm.
26313 (LDLIBS-bench-log2): Likewise.
26314 * benchtests/exp2-inputs: New inputs file.
26315 * benchtests/log2-inputs: New inputs file.
26316 * benchtests/log-inputs: Add new inputs.
26317 * benchtests/tan-inputs: Likewise.
26319 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26321 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26323 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26324 (csloww2): ... from here.
26326 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26327 instead of structures.
26328 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26329 (POLYNOMIAL): Likewise.
26330 (TAYLOR_SLOW): Likewise.
26336 (sloww1); Likewise.
26337 (sloww2): Likewise.
26338 (bsloww1): Likewise.
26339 (bsloww2): Likewise.
26340 (cslow2): Likewise.
26341 (csloww): Likewise.
26342 (csloww1): Likewise.
26343 (csloww2): Likewise.
26345 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
26347 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26348 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26349 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26350 * malloc/hooks.c (realloc_check): Likewise.
26352 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26353 * malloc/arena.c: Remove PER_THREAD conditional.
26354 [!PER_THREAD]: Remove code.
26355 (ptmalloc_unlock_all2): Likewise.
26356 (ptmalloc_init): Likewise.
26357 (_int_new_arena): Likewise.
26358 (arena_get2): Likewise.
26359 * malloc/hooks.c (__malloc_get_state): Likewise.
26360 (__malloc_set_state): Likewise.
26361 * malloc/malloc.c: Likewise.
26362 (struct malloc_state): Likewise.
26363 (struct malloc_par): Likewise.
26364 (__libc_realloc): Likewise.
26365 (__libc_mallopt): Likewise.
26367 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26369 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26371 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
26373 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26374 macro to a function. Check for zero perturb_byte.
26375 (_int_malloc, _int_free): Remove zero perturb_byte checks.
26377 * malloc/malloc.c: (force_reg): Remove.
26378 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
26379 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
26380 force_reg by atomic_forced_read.
26381 * malloc/arena.c (ptmalloc_init): Likewise.
26382 * malloc/hooks.c (top_check): Likewise.
26384 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26388 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
26390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26392 2013-12-08 Joseph Myers <joseph@codesourcery.com>
26394 * math/auto-libm-test-in: Add tests of lgamma.
26395 * math/auto-libm-test-out: Regenerated.
26396 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
26397 (M_LOG_2_SQRT_PIl): Likewise.
26398 (lgamma_test_data): Use AUTO_TESTS_f_f1.
26399 * math/gen-auto-libm-tests.c (func_calc_method): Add value
26401 (func_calc_desc): Add mpfr_f_f1 union field.
26402 (ARGS1): New macro.
26410 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
26411 (test_functions): Add lgamma.
26412 (calc_generic_results): Handle mpfr_f_f1.
26413 * sysdeps/i386/fpu/libm-test-ulps: Update.
26414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26416 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26418 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
26419 __mpn_add_n for PowerPC64/POWER7.
26420 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
26421 __mpn_sub_n for PowerPC64/POWER7.
26423 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
26424 __mpn_addmul_1 for PowerPC64.
26425 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
26426 __mpn_submul_1 for PowerPC64.
26427 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
26429 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
26432 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
26435 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
26437 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26439 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
26441 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
26442 add multiarch folders.
26443 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
26444 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26445 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26446 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26447 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26448 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26449 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26450 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26451 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26452 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26453 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26462 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26468 multiarch __ieee754_hypot for PowerPC32.
26469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26474 multiarch __ieee754_hypotf for PowerPC32.
26476 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26477 long_double_symbol only if __logbl is defined.
26478 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26479 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26480 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26481 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26482 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26483 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26484 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26485 path for implementation.
26486 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26487 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26489 logb, and logbl multiarch implementations for PowerPC32.
26490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26495 multiarch logb for PowerPC32.
26496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26501 multiarch logbf for PowerPC32.
26502 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26506 multiarch logbl implementation for PowerPC32.
26508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26509 and modff multiarch implementations.
26510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26515 multiarch modf for PowerPC32.
26516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26521 multiarch modff for PowerPC32.
26523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26524 and lrintf multiarch implementations.
26525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26530 multiarch lrint for PowerPC32.
26531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26532 file: multiarch lrintf for PowerPC32.
26534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26535 and lroundf multiarch implementations.
26536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26543 multiarch lround for PowerPC32.
26544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26545 file: multiarch lroundf for PowerPC32.
26547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26548 copysign and copysignf multiarch implementations.
26549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26554 file: multiarch copysign for PowerPC32.
26555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26556 file: multiarch copysignf for PowerPC32.
26558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26559 and truncf multiarch implementations.
26560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26565 multiarch trunc for PowerPC32.
26566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26571 multiarch truncf for PowerPC32.
26573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26574 and roundf multiarch implementations.
26575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26580 multiarch round for PowerPC32.
26581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26586 multiarch roundf for PowerPC32.
26588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26589 and floorf multiarch implementations.
26590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26595 multiarch floor for PowerPC32.
26596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26601 multiarch floorf for PowerPC32.
26603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26604 and ceilf multiarch implementations.
26605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26610 multiarch ceil for PowerPC32.
26611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26616 multiarch ceilf for PowerPC32.
26618 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26620 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26621 FINITEF is defined.
26622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26623 and finitef multiarch implementations.
26624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26629 multiarch finite for PowerPC32.
26630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26633 file: multiarch finitef for PowerPC32.
26635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26636 and isinff multiarch implementations.
26637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26642 multiarch isinf for PowerPC32.
26643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26646 multiarch isinff for PowerPC32.
26648 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26649 alias when __isnan is defined.
26650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26651 and isnanf multiarch implementations.
26652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26661 multiarch isnan for PowerPC32.
26662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26667 multiarch isnanf for PowerPC32.
26669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26670 and sqrtf multiarch implementations.
26671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26676 multiarch sqrt for PowerPC32.
26677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26682 multiarch sqrtf for PowerPC32.
26684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26685 and llroundf multiarch implementations.
26686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26693 file: multiarch llround for PowerPC32.
26694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26695 file: multiarch llroundf for PowerPC32.
26697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26698 multiarch PowerPC32 fpu implementations.
26699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26704 multiarch llrint for PowerPC32.
26705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26714 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26716 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26718 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26720 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26721 multiarch wordcopy for PPC32.
26722 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26724 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26725 (__libc_ifunc_impl_list): Likewise.
26726 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26727 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26728 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26729 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26730 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26731 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26733 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26734 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26736 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26738 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26740 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26741 multiarch wcscpy for PPC32.
26742 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26744 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26745 (__libc_ifunc_impl_list): Likewise.
26746 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26747 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26748 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26749 sysdeps/powerpc/power6/wcscpy.c.
26751 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26752 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26754 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26756 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26758 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26759 multiarch wcsrchr for PPC32.
26760 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26762 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26763 (__libc_ifunc_impl_list): Likewise.
26764 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26765 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26766 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26767 sysdeps/powerpc/power6/wcsrchr.c.
26769 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26771 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26773 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26774 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26775 multiarch wcschr for PPc32.
26776 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26778 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26779 (__libc_ifunc_impl_list): Likewise.
26780 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26781 * sysdeps/powerpc/power6/wcschr.c: ... to here.
26782 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26783 sysdeps/powerpc/power6/wcschr.c.
26785 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26786 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26788 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26789 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26790 file: multiarch strchr for PPC32.
26791 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26793 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26794 (__libc_ifunc_impl_list): Likewise.
26796 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26798 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26800 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26802 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26803 multiarch strchrnul for PPC32.
26804 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26806 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26807 (__libc_ifunc_impl_list): Likewise.
26809 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26811 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26812 multiarch strncasecmp for PPC32.
26813 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26815 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26816 multiarch strncasecmp_l for PPC32.
26817 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26818 strncasecmp multiarch objects.
26819 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26820 (__libc_ifunc_impl_list): Likewise.
26822 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26824 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26825 multiarch strncasecmp for PPC32.
26826 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26828 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26829 multiarch strcasecmp_l for PPC32.
26830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26833 (__libc_ifunc_impl_list): Likewise.
26835 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26837 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26839 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26840 multiarch strncmp for PPC32.
26841 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26844 (__libc_ifunc_impl_list): Likewise.
26846 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26847 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26849 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26850 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26854 (__libc_ifunc_impl_list): Likewise.
26856 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26858 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26860 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26861 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26863 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26864 (__libc_ifunc_impl_list): Likewise.
26866 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26868 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26870 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26871 multiarch rawmemchr for PPC32.
26872 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26874 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26875 (__libc_ifunc_impl_list): Likewise.
26877 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26879 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26881 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26882 file: memrchr multiarch for PPC32.
26883 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26885 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26886 (__libc_ifunc_impl_list): Likewise.
26888 * string/memchr.c (__memchr): Using macro to redefine symbol name.
26889 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26891 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26892 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26893 multiarch memchr for PPC32.
26894 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26896 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26897 (__libc_ifunc_impl_list): Likewise.
26899 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26900 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26902 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26904 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26905 file: multiarch mempcpy for PPC32.
26906 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26908 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26909 (__libc_ifunc_impl_list): Likewise.
26911 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26912 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26913 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26914 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26915 multiarch bzero for PPC32.
26916 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26918 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26920 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26921 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26922 file: multiarch memset for PPC32.
26923 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26925 memset multiarch objects.
26926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26927 (__libc_ifunc_impl_list): Likewise.
26929 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26931 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26932 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26934 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26935 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26937 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26938 (__libc_ifunc_impl_list): Likewise.
26940 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26941 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26942 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26944 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26946 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26948 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26949 multiarch memcpy for PPC32.
26950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26953 (__libc_ifunc_impl_list): Likewise.
26955 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26956 support multiarch for POWER/PPC32.
26957 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26959 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26961 Implies file to make multiarch folder appers before the fpu and
26962 default folder for power4 configuration.
26964 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26966 * scripts/bench.pl: Append volatile keyword to type.
26968 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26970 * sysdeps/sh/sotruss-lib.c: New file.
26971 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26973 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26977 2013-12-05 Joseph Myers <joseph@codesourcery.com>
26980 * math/w_tgamma.c: Include <errno.h>.
26981 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
26982 * math/w_tgammaf.c: Include <errno.h>.
26983 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
26984 * math/w_tgammal.c: Include <errno.h>.
26985 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
26986 * math/auto-libm-test-in: Do not allow missing errno on tgamma
26987 underflow. Add more tgamma tests.
26988 * math/auto-libm-test-out: Regenerated.
26989 * sysdeps/i386/fpu/libm-test-ulps: Update.
26990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26992 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26993 sin, sinh, tan, tanh, tgamma, y0 and y1.
26994 * math/auto-libm-test-out: Regenerated.
26995 * math/libm-test.inc (TEST_COND_x86_64): New macro.
26996 (TEST_COND_x86): Likewise.
26997 (M_E2l): Remove macro.
26999 (M_2_SQRT_PIl): Likewise.
27000 (M_SQRT_PIl): Likewise.
27001 (M_1_DIV_El): Likewise.
27002 (log_test_data): Use AUTO_TESTS_f_f.
27003 (log10_test_data): Likewise.
27004 (log1p_test_data): Likewise.
27005 (log2_test_data): Likewise.
27006 (sin_test_data): Likewise.
27007 (sin_tonearest_test_data): Likewise.
27008 (sin_towardzero_test_data): Likewise.
27009 (sin_downward_test_data): Likewise.
27010 (sin_upward_test_data): Likewise.
27011 (sinh_test_data): Likewise.
27012 (sinh_tonearest_test_data): Likewise.
27013 (sinh_towardzero_test_data): Likewise.
27014 (sinh_downward_test_data): Likewise.
27015 (sinh_upward_test_data): Likewise.
27016 (tan_test_data): Likewise.
27017 (tan_tonearest_test_data): Likewise.
27018 (tan_towardzero_test_data): Likewise.
27019 (tan_downward_test_data): Likewise.
27020 (tan_upward_test_data): Likewise.
27021 (tanh_test_data): Likewise.
27022 (tgamma_test_data): Likewise.
27023 (y0_test_data): Likewise.
27024 (y1_test_data): Likewise.
27025 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27026 (special_real_inputs): Add pi/4.
27027 * sysdeps/i386/fpu/libm-test-ulps: Update.
27028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27030 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27032 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27033 "longjmp_target" static probes.
27034 (__longjmp): Rename to __longjmp_symbol.
27035 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27036 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27037 on which longjmp to generate.
27038 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27039 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27041 (__sigsetjmp): Rename to __sigsetjmp_symbol.
27042 (__sigjmp_save): Rename to __sigjmp_save_symbol.
27043 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27044 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27045 and __sigjmp_save_symbol based on which sigsetjmp to generated.
27046 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27048 __longjmp_symbol based on which __longjmp to generate.
27049 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27051 (setjmp): Rename to setjmp_symbol.
27052 (__sigsetjmp): Rename to __sigsetjmp_symbol.
27053 (_setjmp): Rename to _setjmp_symbol.
27054 (__sigsetjmp): Rename to __sigsetjmp_symbol.
27055 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27056 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27057 which setjmp to generate.
27058 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27059 "longjmp_target" static probes.
27061 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27063 * benchtests/README: Add note about output arguments.
27064 * benchtests/bench-sincos.c: Remove file.
27065 * benchtests/sincos-inputs: New file.
27066 * scripts/bench.pl: Identify output arguments and define
27067 static variables for them.
27069 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27072 * Makefile (INSTALL): Add install-plain.texi as the primary
27074 * manual/install-plain.texi: New file.
27075 * manual/install.texi: Include node directive only for
27076 non-plaintext output.
27078 2013-12-04 Joseph Myers <joseph@codesourcery.com>
27080 * stdlib/longlong.h: Update from GCC.
27084 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27085 * math/w_j0f.c (y0f): Likewise.
27086 * math/w_j0l.c (__y0l): Likewise.
27087 * math/w_j1.c (y1): Likewise.
27088 * math/w_j1f.c (y1f): Likewise.
27089 * math/w_j1l.c (__y1l): Likewise
27090 * math/w_jn.c (yn): Likewise.
27091 * math/w_jnf.c (ynf): Likewise.
27092 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27093 Bessel function pole errors in _POSIX_ mode. Use NAN as return
27094 value for Bessel function domain errors outside _SVID_ mode.
27095 Adjust sign of return value for yn (negative integer, 0).
27096 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27097 by zero in return for negative x and set sign appropriately for
27099 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27100 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27101 * math/libm-test.inc (y0_test_data): Add more tests and adjust
27102 expectations in error cases.
27103 (y1_test_data): Likewise.
27104 (yn_test_data): Likewise.
27105 * sysdeps/i386/fpu/libm-test-ulps: Update.
27106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27108 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27110 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27111 "64" to "64-v1". Add "64-v2".
27112 (abi-64-options): Rename to ...
27113 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
27114 (abi-64-condition): Rename to ...
27115 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
27116 (abi-64-ld-soname): Rename to ...
27117 (abi-64-v1-ld-soname): ... this.
27118 (abi-64-v2-options): Define.
27119 (abi-64-v2-condition): Likewise.
27120 (abi-64-v2-ld-soname): Likewise.
27121 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27122 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27127 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27128 Alan Modra <amodra@gmail.com>
27130 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27131 New versions for use with the ELFv2 ABI.
27132 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27133 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27135 (struct La_ppc64v2_retval): Likewise.
27136 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27137 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27138 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27139 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27140 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27141 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27142 Do not save or restore CR.
27143 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27144 (_dl_profile_resolve): Do no save or restore CR. Support extended
27145 return values for ELFv2 ABI. Fix location of FPR return registers.
27146 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27147 updated values for _CALL_ELF == 2.
27148 (La_regs, La_retval, int_retval): Likewise.
27150 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27152 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27153 (FRAME_MIN_SIZE_PARM): Likewise.
27154 (FRAME_BACKCHAIN): Likewise.
27155 (FRAME_CR_SAVE): Likewise.
27156 (FRAME_LR_SAVE): Likewise.
27157 (FRAME_TOC_SAVE): Likewise.
27158 (FRAME_PARM_SAVE): Likewise.
27159 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27160 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27161 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27162 (call_mcount_parm_offset): New macro.
27163 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27164 (PROF): Use symbolic stack frame offsets.
27165 (TAIL_CALL_SYSCALL_ERROR): Likewise.
27166 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27167 Redefine in terms of FRAME_MIN_SIZE.
27168 (_dl_runtime_resolve): Use symbolic stack frame offsets.
27169 (_dl_profile_resolve): Likewise. Update comment.
27170 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27171 symbols stack frame offsets.
27172 (__sigsetjmp): Likewise.
27173 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27174 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27175 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27176 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27179 (FRAME_BACKCHAIN): Remove.
27180 (FRAME_CR_SAVE): Likewise.
27181 (FRAME_LR_SAVE): Likewise.
27182 (FRAME_COMPILER_DW): Likewise.
27183 (FRAME_LINKER_DW): Likewise.
27184 (FRAME_TOC_SAVE): Likewise.
27185 (FRAME_PARM_SAVE): Likewise.
27186 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27187 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27188 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27190 (CHECK_SP): Use symbolic stack frame offsets.
27191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27192 zone" instead of caller's parameter save area for temp storage.
27193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27194 Likewise. Also, use symbolic stack frame offsets.
27195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27196 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27197 our own stack frame instead of the caller's.
27198 (__socket): Use symbolic stack frame offsets.
27200 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27201 Alan Modra <amodra@gmail.com>
27203 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27205 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27206 (PPC64_LOCAL_ENTRY_OFFSET): Define.
27207 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27209 (elf_machine_fixup_plt): Call it.
27210 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
27212 (elf_machine_rela): Update call to elf_machine_plt_conflict.
27213 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27214 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27215 r2 before calling target.
27217 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27218 Alan Modra <amodra@gmail.com>
27220 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27221 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27222 versions of macros to support ELFv2 ABI.
27223 (LOCALENTRY): New macro.
27224 (ENTRY, EALIGN): Use it.
27225 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27226 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27227 fall through into ENTRY entry point.
27228 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27229 Only define if _CALL_ELF != 2.
27231 (elf_machine_matches_host): Verify ABI version matches.
27232 (RTLD_START): Use LOCALENTRY.
27233 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27234 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27235 (PLT_ENTRY_WORDS): New macro.
27236 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27237 (elf_machine_runtime_setup): Support ELFv2 ABI.
27238 (elf_machine_fixup_plt): Likewise.
27239 (elf_machine_plt_conflict): Likewise.
27240 (resolve_ifunc): Likewise.
27241 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27242 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27245 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27247 (makecontext): Support ELFv2 ABI.
27248 * elf/elf.h (EF_PPC64_ABI): Define.
27250 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27252 * sysdeps/powerpc/powerpc64/sysdep.h
27253 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27254 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27255 (ENTRY) [ASSEMBLER]: ... but instead here ...
27256 (EALIGN) [ASSEMBLER]: ... and here.
27257 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27258 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27259 (ENTRY_2) [!ASSEMBLER]: Use it.
27260 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27261 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
27262 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27263 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27264 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27266 Use PPC64_LOAD_FUNCPTR.
27268 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27270 2013-12-04 Alan Modra <amodra@gmail.com>
27272 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27273 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27274 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27275 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27277 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27278 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27279 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27280 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27281 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27282 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27284 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27287 (__makecontext): Fix incorrect CFI when backtracing out of
27288 context created via makecontext.
27289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27290 (__setcontext): Fix incorrect CFI during switch to new context.
27291 (__novec_setcontext): Likewise.
27293 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
27296 * time/strptime_l.c (__strptime_internal): Allow modifiers
27298 * time/tst-strptime.c (day_tests): Add testcase.
27300 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27302 * scripts/bench.pl: Skip over blank lines.
27304 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
27307 * manual/time.texi (Calendar Time): Clarify what timezone functions
27310 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27314 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
27316 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27318 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27319 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27320 * debug/memset_chk.c (__memset_chk): Likewise.
27321 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27322 * debug/strncpy_chk.c: Likewise.
27324 2013-12-03 Joseph Myers <joseph@codesourcery.com>
27328 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27329 (__ieee754_exp): For possibly underflowing results, check size of
27330 result and force underflow exception if required.
27331 * math/auto-libm-test-in: Add more tests of exp.
27332 * math/auto-libm-test-out: Regenerated.
27333 * sysdeps/i386/fpu/libm-test-ulps: Update.
27334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27337 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27338 * math/w_exp2f.c (__exp2f): Likewise.
27339 * math/w_exp2l.c (__exp2l): Likewise.
27340 * math/auto-libm-test-in: Do not allow missing errno on exp2
27342 * math/auto-libm-test-out: Regenerated.
27344 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
27347 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27348 handle filename validation.
27349 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27352 2013-12-03 Joseph Myers <joseph@codesourcery.com>
27355 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27356 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27357 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27359 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27360 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27361 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27362 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27363 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27364 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27365 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27366 * math/auto-libm-test-in: Don't allow missing errno from erfc.
27367 Add more erfc tests.
27368 * math/auto-libm-test-out: Regenerated.
27369 * sysdeps/i386/fpu/libm-test-ulps: Update.
27370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27372 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27373 exp2, expm1, j0 and j1.
27374 * math/auto-libm-test-out: Regenerated.
27375 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27376 (erfc_test_data): Likewise.
27377 (exp_test_data): Likewise.
27378 (exp_tonearest_test_data): Likewise.
27379 (exp_towardzero_test_data): Likewise.
27380 (exp_downward_test_data): Likewise.
27381 (exp_upward_test_data): Likewise.
27382 (exp10_test_data): Likewise.
27383 (exp2_test_data): Likewise.
27384 (expm1_test_data): Likewise.
27385 (j0_test_data): Likewise.
27386 (j1_test_data): Likewise.
27387 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
27388 (input_flag_type): Add flag_xfail_rounding.
27389 (input_flags): Add xfail-rounding.
27390 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
27391 (output_for_one_input_case): Handle flag_xfail_rounding.
27392 * sysdeps/i386/fpu/libm-test-ulps: Update.
27393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27395 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
27398 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
27401 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27404 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
27405 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
27406 (STAP_PROBE0): New macro.
27407 (STAP_PROBE1): Likewise.
27408 (STAP_PROBE2): Likewise.
27409 (STAP_PROBE3): Likewise.
27410 (STAP_PROBE4): Likewise.
27412 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
27414 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
27416 2013-12-02 Steve Ellcey <sellcey@mips.com>
27418 * benchtests/Makefile (bench): Add sqrt.
27419 (LDLIBS-bench-sqrt): New.
27420 * benchtests/sqrt-input: New.
27422 2013-12-02 Pavel Simerda <psimerda@redhat.com>
27424 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
27425 (GAIH_EAI): Likewise.
27426 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27427 (gaih_inet): Likewise.
27428 (getaddrinfo): Don't use GAIH_EAI.
27430 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
27431 (struct gaih): Remove definition.
27433 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27435 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
27436 Use HERRNOP directly.
27438 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27442 2013-11-30 Joseph Myers <joseph@codesourcery.com>
27444 * math/gen-auto-libm-tests.c (test_functions): Add more
27445 single-argument functions.
27446 (special_fill_pi_2): New function.
27447 (special_fill_minus_pi_2): Likewise.
27448 (special_fill_pi_6): Likewise.
27449 (special_fill_minus_pi_6): Likewise.
27450 (special_fill_pi_3): Likewise.
27451 (special_fill_2pi_3): Likewise.
27452 (special_fill_e): Likewise.
27453 (special_fill_1_e): Likewise.
27454 (special_fill_e_minus_1): Likewise.
27455 (special_real_inputs): Add more special inputs.
27456 (output_for_one_input_case): Do not require ERANGE on underflow to
27457 zero if round-to-nearest result does not underflow to zero, unless
27458 exact results required.
27459 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27460 atan, atanh, cbrt, cos and cosh.
27461 * math/auto-libm-test-out: Regenerated.
27462 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27463 (acos_tonearest_test_data): Likewise.
27464 (acos_towardzero_test_data): Likewise.
27465 (acos_downward_test_data): Likewise.
27466 (acos_upward_test_data): Likewise.
27467 (acosh_test_data): Likewise.
27468 (asin_test_data): Likewise.
27469 (asin_tonearest_test_data): Likewise.
27470 (asin_towardzero_test_data): Likewise.
27471 (asin_upward_test_data): Likewise.
27472 (asinh_test_data): Likewise.
27473 (atan_test_data): Likewise.
27474 (atanh_test_data): Likewise.
27475 (cbrt_test_data): Likewise.
27476 (cos_test_data): Likewise.
27477 (cos_tonearest_test_data): Likewise.
27478 (cos_towardzero_test_data): Likewise.
27479 (cos_downward_test_data): Likewise.
27480 (cos_upward_test_data): Likewise.
27481 (cosh_test_data): Likewise.
27482 (cosh_tonearest_test_data): Likewise.
27483 (cosh_towardzero_test_data): Likewise.
27484 (cosh_downward_test_data): Likewise.
27485 (cosh_upward_test_data): Likewise.
27486 * sysdeps/i386/fpu/libm-test-ulps: Update.
27487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27489 2013-11-29 Joseph Myers <joseph@codesourcery.com>
27492 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27493 * math/w_exp10f.c (__exp10f): Likewise.
27494 * math/w_exp10l.c (__exp10l): Likewise.
27495 * math/libm-test.inc (exp10_test_data): Add more tests and expect
27496 errno settings in existing tests.
27499 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27500 precision control set to double precision.
27501 * sysdeps/i386/fpu/w_sqrt.c: New file.
27502 * math/auto-libm-test-in: Add more tests.
27503 * math/auto-libm-test-out: Update.
27505 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27506 (sqrt_test_tonearest): New function.
27507 (sqrt_towardzero_test_data): New variable.
27508 (sqrt_test_towardzero): New function.
27509 (sqrt_downward_test_data): New variable.
27510 (sqrt_test_downward): New function.
27511 (sqrt_upward_test_data): New variable.
27512 (sqrt_test_upward): New function.
27513 (main): Call the new functions.
27515 * math/gen-auto-libm-tests.c: New file.
27516 * math/auto-libm-test-in: Likewise.
27517 * math/auto-libm-test-out: New generated file.
27518 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27520 (%beautify): Add generated representations of zero.
27521 (top level): Set $auto_input and call parse_auto_input.
27522 (beautify): Remove trailing "f" from hex float constants.
27523 (parse_args): Handle XFAIL_TEST.
27524 (convert_condition): New function.
27525 (or_value): Likewise.
27526 (or_cond_value): Likewise.
27527 (generate_testfile): Handle AUTO_TESTS_* lines.
27528 (parse_auto_input): New function.
27529 * math/libm-test.inc (XFAIL_TEST): New macro.
27530 (ERRNO_UNCHANGED): Update value.
27531 (ERRNO_EDOM): Likewise.
27532 (ERRNO_ERANGE): Likewise.
27533 (IGNORE_RESULT): Likewise.
27534 (TEST_COND_flt_32): New macro.
27535 (TEST_COND_dbl_64): Likewise.
27536 (TEST_COND_ldbl_96_intel): Likewise.
27537 (TEST_COND_ldbl_96_m68k): Likewise.
27538 (TEST_COND_ldbl_128): Likewise.
27539 (TEST_COND_ldbl_128ibm): Likewise.
27540 (TEST_COND_long32): Likewise.
27541 (TEST_COND_long64): Likewise.
27542 (TEST_COND_before_rounding): Likewise.
27543 (TEST_COND_after_rounding): Likewise.
27544 (enable_test): Handle XFAIL_TEST flag.
27545 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27546 with finite results.
27547 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27548 auto-libm-test-out.
27550 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27551 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27554 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27555 __tls_get_addr_internal instead of __tls_get_offset in order to
27556 avoid GOT pointer dependency. Make rtld export
27557 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27558 __tls_get_addr since we are a __tls_get_offset platform.
27559 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27560 GOT pointer being set up before.
27561 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27563 2013-11-28 Joseph Myers <joseph@codesourcery.com>
27565 * manual/math.texi (Errors in Math Functions): Document accuracy
27569 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27570 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27571 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27572 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27573 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27574 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27575 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27576 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27577 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27578 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27579 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27580 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27581 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27582 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27583 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27584 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27586 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27587 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27588 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27589 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27590 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27592 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27594 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27596 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27597 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27598 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27599 atomic-feupdateenv and flt-rounds.
27600 * sysdeps/powerpc/nofpu/Versions (libc): Add
27601 __atomic_feholdexcept, __atomic_feclearexcept,
27602 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27603 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27604 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27605 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27606 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27611 * manual/arith.texi (FP Exceptions): Document that exceptions may
27612 not be raised when matherr is used.
27613 (Math Error Reporting): Document overflow in directed rounding
27614 modes. Document that errno may not be set when finite values are
27615 returned on overflow. Document intent to set errno on underflow
27616 only for underflow to zero.
27619 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27620 round-to-nearest then adjust result for other rounding modes.
27621 * include/fenv.h (fegetround): Use libm_hidden_proto.
27622 * math/fegetround.c (fegetround): Use libm_hidden_def.
27623 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27624 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27625 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27626 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27628 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27629 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27630 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27631 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27633 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27636 * nss/Versions (libnss_files): Add
27637 _nss_files_gethostbyname3_r.
27638 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27640 (HOST_DB_LOOKUP): Remove macro.
27641 (_nss_files_gethostbyname_r): Implement function without the
27642 HOST_DB_LOOKUP macro.
27643 (_nss_files_gethostbyname2_r): Likewise.
27645 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
27647 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27649 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
27651 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27652 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27655 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27657 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27658 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27659 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27660 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27661 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27662 __fe_nomask_env_priv and attribute_hidden.
27663 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27664 (libc_feupdateenv_test_ppc): Likewise.
27665 (libc_feresetround_ppc): Likewise.
27666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27667 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27668 compat_symbol macro.
27669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27670 (__fe_nomask_env): Likewise.
27671 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27673 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27675 * string/Makefile: Remove ifunc tests.
27676 * string/test-string.h: Define TEST_IFUNC.
27677 * string/test-bcopy-ifunc.c: Remove.
27678 * string/test-bzero-ifunc.c: Likewise.
27679 * string/test-memccpy-ifunc.c: Likewise.
27680 * string/test-memchr-ifunc.c: Likewise.
27681 * string/test-memcmp-ifunc.c: Likewise.
27682 * string/test-memcpy-ifunc.c: Likewise.
27683 * string/test-memmem-ifunc.c: Likewise.
27684 * string/test-memmove-ifunc.c: Likewise.
27685 * string/test-mempcpy-ifunc.c: Likewise.
27686 * string/test-memrchr-ifunc.c: Likewise.
27687 * string/test-memset-ifunc.c: Likewise.
27688 * string/test-rawmemchr-ifunc.c: Likewise.
27689 * string/test-stpcpy-ifunc.c: Likewise.
27690 * string/test-stpncpy-ifunc.c: Likewise.
27691 * string/test-strcasecmp-ifunc.c: Likewise.
27692 * string/test-strcasestr-ifunc.c: Likewise.
27693 * string/test-strcat-ifunc.c: Likewise.
27694 * string/test-strchr-ifunc.c: Likewise.
27695 * string/test-strchrnul-ifunc.c: Likewise.
27696 * string/test-strcmp-ifunc.c: Likewise.
27697 * string/test-strcpy-ifunc.c: Likewise.
27698 * string/test-strcspn-ifunc.c: Likewise.
27699 * string/test-strlen-ifunc.c: Likewise.
27700 * string/test-strncasecmp-ifunc.c: Likewise.
27701 * string/test-strncat-ifunc.c: Likewise.
27702 * string/test-strncmp-ifunc.c: Likewise.
27703 * string/test-strncpy-ifunc.c: Likewise.
27704 * string/test-strnlen-ifunc.c: Likewise.
27705 * string/test-strpbrk-ifunc.c: Likewise.
27706 * string/test-strrchr-ifunc.c: Likewise.
27707 * string/test-strspn-ifunc.c: Likewise.
27708 * string/test-strstr-ifunc.c: Likewise.
27710 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27712 * benchtests/Makefile: Remove ifunc tests.
27713 * benchtests/bench-string.h: Define TEST_IFUNC.
27714 * benchtests/bench-bcopy-ifunc.c: Remove.
27715 * benchtests/bench-bzero-ifunc.c: Likewise.
27716 * benchtests/bench-memccpy-ifunc.c: Likewise.
27717 * benchtests/bench-memchr-ifunc.c: Likewise.
27718 * benchtests/bench-memcmp-ifunc.c: Likewise.
27719 * benchtests/bench-memcpy-ifunc.c: Likewise.
27720 * benchtests/bench-memmem-ifunc.c: Likewise.
27721 * benchtests/bench-memmove-ifunc.c: Likewise.
27722 * benchtests/bench-mempcpy-ifunc.c: Likewise.
27723 * benchtests/bench-memrchr-ifunc.c: Likewise.
27724 * benchtests/bench-memset-ifunc.c: Likewise.
27725 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27726 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27727 * benchtests/bench-stpcpy-ifunc.c: Likewise.
27728 * benchtests/bench-stpncpy-ifunc.c: Likewise.
27729 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27730 * benchtests/bench-strcasestr-ifunc.c: Likewise.
27731 * benchtests/bench-strcat-ifunc.c: Likewise.
27732 * benchtests/bench-strchr-ifunc.c: Likewise.
27733 * benchtests/bench-strchrnul-ifunc.c: Likewise.
27734 * benchtests/bench-strcmp-ifunc.c: Likewise.
27735 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27736 * benchtests/bench-strcpy-ifunc.c: Likewise.
27737 * benchtests/bench-strcspn-ifunc.c: Likewise.
27738 * benchtests/bench-strlen-ifunc.c: Likewise.
27739 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27740 * benchtests/bench-strncat-ifunc.c: Likewise.
27741 * benchtests/bench-strncmp-ifunc.c: Likewise.
27742 * benchtests/bench-strncpy-ifunc.c: Likewise.
27743 * benchtests/bench-strnlen-ifunc.c: Likewise.
27744 * benchtests/bench-strpbrk-ifunc.c: Likewise.
27745 * benchtests/bench-strrchr-ifunc.c: Likewise.
27746 * benchtests/bench-strsep-ifunc.c: Likewise.
27747 * benchtests/bench-strspn-ifunc.c: Likewise.
27748 * benchtests/bench-strstr-ifunc.c: Likewise.
27750 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27752 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27754 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27756 * resolv/netdb.h: Use __glibc_reserved instead __unused.
27757 * rt/aio.h: Likewise.
27758 * sysdeps/gnu/bits/utmp.h: Likewise.
27759 * sysdeps/gnu/bits/utmpx.h: Likewise.
27760 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27761 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27762 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27763 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27764 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27765 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27766 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27767 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27768 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27769 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27770 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27771 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27772 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27774 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27775 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27776 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27777 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27778 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27779 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27780 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27781 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27782 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27783 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27784 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27785 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27786 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27787 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27788 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27789 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27790 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27791 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27792 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27793 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27794 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27795 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27796 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27797 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27798 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27799 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27800 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27801 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27803 2013-11-25 Carlos O'Donell <carlos@redhat.com>
27806 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27807 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27809 2013-11-25 Joseph Myers <joseph@codesourcery.com>
27811 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27812 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27815 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27817 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27818 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27819 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27820 (__fesetround): Remove define.
27821 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27822 rounding and exceptions handling.
27823 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27824 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27825 (__fe_nomask_env): Likewise.
27826 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27827 __fegetround instead of fegetround.
27828 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27829 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27831 2013-11-21 Roland McGrath <roland@hack.frob.com>
27833 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27836 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27838 2013-11-21 Meador Inge <meadori@codesourcery.com>
27841 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27842 (encrypt_r): Likewise.
27843 * malloc/obstack.h (obstack_free): Likewise.
27844 * posix/unistd.h (encrypt): Likewise.
27846 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
27848 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27849 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27850 DL_CALL_DT_FINI() that call the functions directly.
27851 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27852 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27853 * elf/dl-fini.c: Likewise.
27855 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
27857 * malloc/hooks.c (memalign_check): Add alignment rounding.
27858 * malloc/malloc.c (_mid_memalign): New function.
27859 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27860 Implement by calling _mid_memalign.
27861 * manual/probes.texi (Memory Allocation Probes): Remove
27862 memory_valloc_retry and memory_pvalloc_retry.
27864 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27866 * locale/programs/locarchive.c (open_archive): Add const
27867 qualifier to ARCHIVEFNAME and copy default fname to
27871 * libio/tst-widetext.input: Rename Oriya to Odia.
27872 * locale/iso-639.def: Likewise.
27874 * manual/probes.texi (Mathematical Function Probes): Add
27875 documentation for sin, cos, asin and acos probes.
27876 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27877 (__sin32): Add slowasin probe.
27878 (__cos32): Add slowacos probe.
27879 (__mpsin): Add slowsin probe.
27880 (__mpcos): Add slowcos probe.
27882 2013-11-19 Joseph Myers <joseph@codesourcery.com>
27885 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27886 thread-local __sim_exceptions_thread and global
27887 __sim_exceptions_global.
27888 (__sim_disabled_exceptions): Change to thread-local
27889 __sim_disabled_exceptions_thread and global
27890 __sim_disabled_exceptions_global.
27891 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27892 and global __sim_round_mode_global.
27893 (__simulate_exceptions): Use thread-local floating-point state and
27894 set global state from it as needed.
27895 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27896 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27897 __sim_round_mode_thread.
27898 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27899 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27900 and global __sim_exceptions_global.
27901 (__sim_disabled_exceptions): Change to thread-local
27902 __sim_disabled_exceptions_thread and global
27903 __sim_disabled_exceptions_global.
27904 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27905 and global __sim_round_mode_global.
27906 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27907 (SIM_SET_GLOBAL): Likewise.
27908 * sysdeps/powerpc/soft-fp/sfp-machine.h
27909 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27910 __sim_round_mode_thread.
27911 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27912 __sim_disabled_exceptions_thread.
27913 (__sim_exceptions): Change to __sim_exceptions_thread.
27914 (__sim_disabled_exceptions): Change to
27915 __sim_disabled_exceptions_thread.
27916 (__sim_round_mode): Change to __sim_round_mode_thread.
27917 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27918 thread-local floating-point state and set global state from it as
27920 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27921 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27922 (__sim_disabled_exceptions): Remove extern declaration.
27923 (feenableexcept): Use thread-local floating-point state and set
27924 global state from it as needed.
27925 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27926 extern declaration.
27927 (__sim_disabled_exceptions): Likewise.
27928 (__sim_round_mode): Likewise.
27929 (__fegetenv): Use thread-local floating-point state.
27930 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27931 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27932 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27933 floating-point state and set global state from it as needed.
27934 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27935 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27936 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27938 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27939 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27941 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27942 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27943 Use __sim_round_mode_thread.
27944 * math/test-fenv-tls.c: New file.
27945 * math/Makefile (tests): Add test-fenv-tls.
27946 ($(objpfx)test-fenv-tls): Depend on
27947 $(common-objpfx)nptl/libpthread.so.
27949 2013-11-19 Andreas Schwab <schwab@suse.de>
27951 * locale/programs/locale.c (show_info): Decode wordarray elements.
27952 * locale/categories.def (LC_MONETARY): Add element for
27953 _NL_MONETARY_CRNCYSTR.
27954 * locale/C-monetary.c (conversion_rate): New variable.
27955 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27958 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
27960 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27961 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27963 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27965 * elf/Makefile (tst-auxv): New test.
27966 * elf/tst-auxv.c: New
27967 * elf/rtld.c (dl_main): Adjust AT_EXECFN
27969 2013-11-18 Joseph Myers <joseph@codesourcery.com>
27971 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27972 (hidden_proto): Caller changed.
27973 (hidden_tls_proto): New macro.
27974 (libc_hidden_tls_proto): Likewise.
27975 (rtld_hidden_tls_proto): Likewise.
27976 (libm_hidden_tls_proto): Likewise.
27977 (libresolv_hidden_tls_proto): Likewise.
27978 (librt_hidden_tls_proto): Likewise.
27979 (libdl_hidden_tls_proto): Likewise.
27980 (libnss_files_hidden_tls_proto): Likewise.
27981 (libnsl_hidden_tls_proto): Likewise.
27982 (libnss_nisplus_hidden_tls_proto): Likewise.
27983 (libutil_hidden_tls_proto): Likewise.
27985 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
27988 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27989 (decompose_rpath): Defer expansion to fillin_rpath.
27990 (_dl_init_paths): Pass linkmap to fillin_rpath.
27992 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27994 * benchtests/Makefile: Add strsep.
27995 * benchtests/bench-strsep.c: New file: strsep benchtest.
27996 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27998 2013-11-18 Andreas Schwab <schwab@suse.de>
28000 * locale/programs/locale.c (show_info) [case byte]: Check for
28001 '\377' instead of '\177'.
28002 * locale/C-monetary.c (not_available): Always use "\377".
28003 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28004 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
28005 detect unavailable sign_posn locale elements.
28006 * locale/localeconv.c (__localeconv): For grouping and
28007 mon_grouping handle "\177" and "\377" like no grouping.
28008 (INT_ELEM): New macro. Use it to set all numeric members.
28009 * locale/programs/ld-monetary.c (monetary_read)
28010 <tok_mon_grouping>: Normalize single -1 to the empty string.
28011 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28014 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
28017 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28018 when we match (nil).
28019 * stdio-common/tst-sscanf.c (struct test): Add testcase.
28021 2013-11-16 Joseph Myers <joseph@codesourcery.com>
28023 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28024 (NO_TEST_INLINE): Update value.
28025 (ERRNO_UNCHANGED): Likewise.
28026 (ERRNO_EDOM): Likewise.
28027 (ERRNO_ERANGE): Likewise.
28028 (IGNORE_RESULT): Likewise.
28029 (check_float_internal): Check signs of NaN results if
28030 TEST_NAN_SIGN used.
28031 (check_complex): Pass TEST_NAN_SIGN flag through to second
28032 check_float_internal call.
28033 (copysign_test_data): Add tests with quiet NaNs as second
28034 argument. Use TEST_NAN_SIGN.
28035 (fabs_test_data): Add test of negative quiet NaN argument. Use
28037 (signbit_test_data): Add tests of quiet NaN argument.
28038 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28040 * math/gen-libm-test.pl (show_exceptions): Take extra argument
28042 (parse_args): Handle function results specified as IGNORE.
28043 * math/libm-test.inc (IGNORE_RESULT): New macro.
28044 (check_float_internal): Do not check numerical result if flag
28046 (check_complex): Pass through IGNORE_RESULT to second
28047 check_float_internal call.
28048 (check_int): Do not check numerical result if flag IGNORE_RESULT
28050 (check_long): Likewise.
28051 (check_bool): Likewise.
28052 (check_longlong): Likewise.
28053 (lrint_test_data): Add tests of infinite and NaN arguments.
28054 (lrint_tonearest_test_data): Likewise.
28055 (lrint_towardzero_test_data): Likewise.
28056 (lrint_downward_test_data): Likewise.
28057 (lrint_upward_test_data): Likewise.
28058 (llrint_test_data): Likewise.
28059 (llrint_tonearest_test_data): Likewise.
28060 (llrint_towardzero_test_data): Likewise.
28061 (llrint_downward_test_data): Likewise.
28062 (llrint_upward_test_data): Likewise.
28063 (lround_test_data): Likewise.
28064 (llround_test_data): Likewise.
28066 * math/libm-test.inc (NO_TEST_INLINE): New macro.
28067 (ERRNO_UNCHANGED): Update value.
28068 (ERRNO_EDOM): Likewise.
28069 (ERRNO_ERANGE): Likewise.
28070 (NO_TEST_INLINE_FLOAT): New macro.
28071 (NO_TEST_INLINE_DOUBLE): Likewise.
28072 (enable_test): New function.
28073 (RUN_TEST_f_f): Check enable_test before running test.
28074 (RUN_TEST_2_f): Likewise.
28075 (RUN_TEST_fff_f): Likewise.
28076 (RUN_TEST_c_f): Likewise.
28077 (RUN_TEST_f_f1): Likewise.
28078 (RUN_TEST_fF_f1): Likewise.
28079 (RUN_TEST_fI_f1): Likewise.
28080 (RUN_TEST_ffI_f1): Likewise.
28081 (RUN_TEST_c_c): Likewise.
28082 (RUN_TEST_cc_c): Likewise.
28083 (RUN_TEST_f_i): Likewise.
28084 (RUN_TEST_f_i_tg): Likewise.
28085 (RUN_TEST_ff_i_tg): Likewise.
28086 (RUN_TEST_f_b): Likewise.
28087 (RUN_TEST_f_b_tg): Likewise.
28088 (RUN_TEST_f_l): Likewise.
28089 (RUN_TEST_f_L): Likewise.
28090 (RUN_TEST_fFF_11): Likewise.
28091 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28093 (cosh_test_data): Likewise.
28094 (exp_test_data): Likewise.
28095 (expm1_test_data): Likewise.
28096 (hypot_test_data): Likewise.
28097 (pow_test_data): Likewise.
28098 (sinh_test_data): Likewise.
28099 (tanh_test_data): Likewise.
28100 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28103 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28104 tests with quiet NaN input and output.
28105 (acosh_test_data): Likewise.
28106 (asin_test_data): Likewise.
28107 (asinh_test_data): Likewise.
28108 (atan_test_data): Likewise.
28109 (atanh_test_data): Likewise.
28110 (atan2_test_data): Likewise.
28111 (cbrt_test_data): Likewise.
28112 (cos_test_data): Likewise.
28113 (cosh_test_data): Likewise.
28114 (erf_test_data): Likewise.
28115 (erfc_test_data): Likewise.
28116 (exp_test_data): Likewise.
28117 (exp10_test_data): Likewise.
28118 (exp2_test_data): Likewise.
28119 (expm1_test_data): Likewise.
28120 (hypot_test_data): Likewise.
28121 (j0_test_data): Likewise.
28122 (j1_test_data): Likewise.
28123 (jn_test_data): Likewise.
28124 (lgamma_test_data): Likewise.
28125 (log_test_data): Likewise.
28126 (log10_test_data): Likewise.
28127 (log1p_test_data): Likewise.
28128 (log2_test_data): Likewise.
28129 (pow_test_data): Likewise.
28130 (scalb_test_data): Likewise.
28131 (sin_test_data): Likewise.
28132 (sincos_test_data): Likewise.
28133 (sinh_test_data): Likewise.
28134 (tan_test_data): Likewise.
28135 (tanh_test_data): Likewise.
28136 (tgamma_test_data): Likewise.
28137 (y0_test_data): Likewise.
28138 (y1_test_data): Likewise.
28139 (yn_test_data): Likewise.
28142 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28143 argument being NaN and avoid computations with second argument in
28145 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28146 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28147 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28149 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
28151 * locale/iso-639.def: Add Chitwani Tharu (the).
28153 2013-11-14 Andreas Schwab <schwab@suse.de>
28155 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28156 word instead of empty string.
28158 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28161 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28163 (__fe_nomask_env): Likewise.
28165 2013-11-13 Steve Ellcey <sellcey@mips.com>
28167 * benchtests/bench-timing.h: Include time.h.
28169 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
28172 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28174 * sysdeps/unix/sysv/linux/configure: Regenerated.
28176 2013-11-13 Joseph Myers <joseph@codesourcery.com>
28179 * stdlib/strtod_l.c (round_and_return): Do not consider
28180 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28181 exponent one less than half the least subnormal exponent.
28182 * stdlib/test-strtod-round-data: Add more tests.
28183 * stdlib/tst-strtod-round.c (tests): Regenerated.
28185 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28188 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28189 (__fe_mask_env): Likewise.
28190 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28191 libm_hidden_proto and add function prototype.
28192 (__fe_mask_env): Add function prototype.
28193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28194 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28196 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28198 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28200 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28202 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28203 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28205 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28207 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28208 of htab_find_slot().
28210 2013-11-11 David S. Miller <davem@davemloft.net>
28213 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28214 symbol in the non-vis3 case in static builds.
28215 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28216 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28217 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28218 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28220 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
28223 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28226 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28228 * benchtests/Makefile: Add bench-strtod.
28229 * benchtests/bench-strtod.c: New file: strtod benchtest
28231 2013-11-11 Andreas Schwab <schwab@suse.de>
28234 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28235 terminating NUL in key length.
28237 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28239 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28240 Add artificial ODP entry for vDSO symbol for PPC64.
28241 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28242 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28244 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
28247 * nss/getent.c (services_keys): Recognize services starting with digit.
28249 2013-11-06 David S. Miller <davem@davemloft.net>
28252 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28253 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28255 2013-11-06 Will Newton <will.newton@linaro.org>
28257 * manual/memory.texi (Malloc Examples): Remove register
28258 keyword from examples.
28260 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
28262 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28264 2013-11-04 Joseph Myers <joseph@codesourcery.com>
28267 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28268 depending on [__GCC_IEC_559 > 0].
28269 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28270 depending on [__GCC_IEC_559_COMPLEX > 0].
28272 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
28274 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28277 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
28279 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28281 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
28284 * malloc/malloc (malloc_info): Do not handle first bin as
28287 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
28289 * locale/iso-639.def: Add Central Nahuatl (nhn).
28291 2013-11-01 Bruno Haible <bruno@clisp.org>
28294 * manual/math.texi (BSD Random): Specify range upper bound as
28297 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
28299 * locale/iso-639.def: Add Meadow Mari (mhr).
28301 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
28303 [BZ #14752], [BZ #15763]
28304 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28306 * rt/tst_shm.c: Add test for escaping directory.
28308 2013-10-31 Andreas Schwab <schwab@suse.de>
28311 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28312 followed by 'x' as part of digit sequence.
28313 * stdio-common/tst-sscanf.c (double_tests2): New tests.
28315 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28318 * configure.ac: allow GNU Make 4.0 and greater.
28319 * configure: Regenerated.
28321 2013-10-30 Will Newton <will.newton@linaro.org>
28324 * malloc/hooks.c (memalign_check): Limit alignment to the
28325 maximum representable power of two.
28326 * malloc/malloc.c (__libc_memalign): Likewise.
28327 * malloc/tst-memalign.c (do_test): Add test for very
28328 large alignment values.
28329 * malloc/tst-posix_memalign.c (do_test): Likewise.
28331 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
28334 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28335 (munmap_chunk): Likewise.
28336 (mremap_chunk): Likewise.
28338 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
28341 * stdlib/div.c (div): Remove obsolete code.
28342 * stdlib/ldiv.c (ldiv): Likewise.
28343 * stdlib/lldiv.c (lldiv): Likewise.
28345 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28348 * nss/nss_files/files-XXX.c (get_contents_ret): New
28350 (get_contents): New function.
28351 (internal_getent): Use it. Expand size of LINEBUFLEN.
28353 2013-10-30 Mike Frysinger <vapier@gentoo.org>
28355 * configure.in: Moved to ...
28356 * configure.ac: ... here. Change reference to configure.in
28358 * sysdeps/arm/preconfigure.ac: ... here.
28359 configure.in to configure.ac.
28360 * sysdeps/gnu/configure.in: Moved to ...
28361 * sysdeps/gnu/configure.ac: ... here.
28362 * sysdeps/i386/configure.in: Moved to ...
28363 * sysdeps/i386/configure.ac: ... here.
28364 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28365 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28366 * sysdeps/mach/configure.in: Moved to ...
28367 * sysdeps/mach/configure.ac: ... here.
28368 * sysdeps/mach/hurd/configure.in: Moved to ...
28369 * sysdeps/mach/hurd/configure.ac: ... here.
28370 * sysdeps/powerpc/configure.in: Moved to ...
28371 * sysdeps/powerpc/configure.ac: ... here.
28372 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28373 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28374 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28375 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28376 * sysdeps/s390/s390-32/configure.in: Moved to ...
28377 * sysdeps/s390/s390-32/configure.ac: ... here.
28378 * sysdeps/s390/s390-64/configure.in: Moved to ...
28379 * sysdeps/s390/s390-64/configure.ac: ... here.
28380 * sysdeps/sh/configure.in: Moved to ...
28381 * sysdeps/sh/configure.ac: ... here.
28382 * sysdeps/sparc/configure.in: Moved to ...
28383 * sysdeps/sparc/configure.ac: ... here.
28384 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
28385 * sysdeps/unix/sysv/linux/configure.ac: ... here.
28386 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
28387 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
28388 * sysdeps/x86_64/configure.in: Moved to ...
28389 * sysdeps/x86_64/configure.ac: ... here.
28390 * sysdeps/x86_64/preconfigure.in: Moved to ...
28391 * sysdeps/x86_64/preconfigure.ac: ... here.
28392 * aclocal.m4: Change reference to configure.in to configure.ac.
28393 * config.h.in: Likewise.
28394 * manual/install.texi: Likewise.
28395 * manual/maint.texi: Likewise.
28396 * Makefile: Likewise.
28397 * malloc/Makefile: Likewise.
28398 * nscd/Makefile: Likewise.
28399 * Makeconfig: Change reference to configure.in and
28400 preconfigure.in to configure.ac and preconfigure.ac
28402 * INSTALL: Regenerated.
28403 * configure: Likewise.
28404 * sysdeps/gnu/configure: Likewise.
28405 * sysdeps/i386/configure: Likewise.
28406 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
28407 * sysdeps/mach/configure: Likewise.
28408 * sysdeps/mach/hurd/configure: Likewise.
28409 * sysdeps/powerpc/configure: Likewise.
28410 * sysdeps/powerpc/powerpc32/configure: Likewise.
28411 * sysdeps/powerpc/powerpc64/configure: Likewise.
28412 * sysdeps/s390/s390-32/configure: Likewise.
28413 * sysdeps/s390/s390-64/configure: Likewise.
28414 * sysdeps/sh/configure: Likewise.
28415 * sysdeps/sparc/configure: Likewise.
28416 * sysdeps/unix/sysv/linux/configure: Likewise.
28417 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
28418 * sysdeps/x86_64/configure: Likewise.
28419 * sysdeps/x86_64/preconfigure: Likewise.
28421 2013-10-29 Andreas Schwab <schwab@suse.de>
28423 * stdio-common/Makefile (tst-swscanf-ENV): Define.
28425 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28427 * benchtests/pow-inputs: Add new inputs.
28429 * benchtests/exp-inputs: Add new inputs.
28431 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
28432 conditional check for return value.
28433 (__cos32): Likewise.
28435 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28437 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
28438 to provide a boost for large inputs with word alignment.
28439 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
28440 implementation based on optimized PPC64 strcpy.
28441 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
28442 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
28443 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
28444 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28446 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
28449 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28451 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
28454 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28455 * time/tst-strptime.c (day_tests): Add testcase.
28457 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
28460 * manual/pattern.texi: Acknowledge that fnmatch can fail.
28462 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
28465 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28466 MAP_FAILED on error.
28468 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28471 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28472 heap for large requests.
28474 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
28477 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28478 result if the result has no associated interface.
28479 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28480 interface for all 127.X.Y.Z addresses.
28482 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
28484 * locale/iso-639.def: Add Ligurian (lij)
28486 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
28489 * sunrpc/rpc_main.c: Document rpcgen -5.
28491 2013-10-19 Michael Stahl <mstahl@redhat.com>
28493 * elf/rtld.c (do_preload): Print the reason why preloading failed.
28495 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
28498 * posix/glob.c: Match only directories when trailing slash is present.
28499 * posix/tst-gnuglob.c (my_opendir): Do not open files.
28500 (main): Add testcase.
28502 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
28505 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28507 2013-10-18 Carlos O'Donell <carlos@redhat.com>
28509 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28510 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28511 AUTH_DES and cindex for FIPS 140-2.
28512 (DES Encryption): Add cindex FIPS 46-3.
28514 * locale/locarchive.h (struct locarhandle): Add fname.
28515 * locale/programs/localedef.c (main): Pass ARGV[remaining]
28516 if an optional argument was specified to --list-archive,
28518 * locale/programs/locarchive.c (show_archive_content): Take new
28519 argument fname and pass it via ah.fname to open_archive.
28520 * locale/programs/localedef.h: Update decl.
28521 (open_archive): If AH->fname is non-null, open that file
28522 rather than the default file name, and don't ignore ENOENT.
28523 (create_archive): Set AH.fname to NULL.
28524 (delete_locales_from_archive): Likewise.
28525 (add_locales_to_archive): Likewise.
28526 * locale/programs/locfile.c (write_all_categories): Likewise.
28528 2013-10-18 Joseph Myers <joseph@codesourcery.com>
28529 Aldy Hernandez <aldyh@redhat.com>
28531 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28532 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28533 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28534 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28535 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28536 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28537 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28538 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28539 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28540 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28541 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28542 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28543 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28544 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28545 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28547 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28549 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28551 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28553 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28554 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28556 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28557 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28558 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28559 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28561 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28562 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28563 * sysdeps/powerpc/preconfigure: Likewise.
28564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28566 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28567 Replace contents of file by #include of <fenv_libc.h>.
28568 * sysdeps/powerpc/soft-fp/sfp-machine.h
28569 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28571 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28572 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28573 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28574 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28575 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28576 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28578 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28579 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28580 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28581 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28582 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28584 Allow copysignl PLT reference to be missing.
28586 2013-10-18 Richard Sandiford <richard@codesourcery.com>
28587 Joseph Myers <joseph@codesourcery.com
28590 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28592 (add_to_tablewc): Assert sequence of wide characters is nonempty.
28594 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28596 * elf/tst-tls-dlinfo.c: Don't include tls.h.
28597 * elf/tst-tls1.c: Likewise.
28598 * elf/tst-tls10.h: Likewise.
28599 * elf/tst-tls14.c: Likewise.
28600 * elf/tst-tls2.c: Likewise.
28601 * elf/tst-tls3.c: Likewise.
28602 * elf/tst-tls4.c: Likewise.
28603 * elf/tst-tls5.c: Likewise.
28604 * elf/tst-tls6.c: Likewise.
28605 * elf/tst-tls7.c: Likewise.
28606 * elf/tst-tls8.c: Likewise.
28607 * elf/tst-tls9.c: Likewise.
28608 * elf/tst-tlsmod1.c: Likewise.
28609 * elf/tst-tlsmod13.c: Likewise.
28610 * elf/tst-tlsmod13a.c: Likewise.
28611 * elf/tst-tlsmod14a.c: Likewise.
28612 * elf/tst-tlsmod16a.c: Likewise.
28613 * elf/tst-tlsmod16b.c: Likewise.
28614 * elf/tst-tlsmod2.c: Likewise.
28615 * elf/tst-tlsmod3.c: Likewise.
28616 * elf/tst-tlsmod4.c: Likewise.
28617 * elf/tst-tlsmod5.c: Likewise.
28618 * elf/tst-tlsmod6.c: Likewise.
28620 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
28623 * malloc/malloc.c: remove checks for statistics.
28625 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
28628 * inet/inet_net.c (inet_network): Detect additional invalid strings.
28629 * inet/tst-network.c: Add testcase.
28631 2013-10-17 Andreas Schwab <schwab@suse.de>
28634 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28635 to determine canonical name.
28637 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
28639 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28640 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28641 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28642 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28643 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28644 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28645 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28646 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28647 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28648 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28649 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28650 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28651 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28652 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28653 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28654 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28655 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28656 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28657 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28658 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28659 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28661 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28662 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28663 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28664 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28665 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28666 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28667 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28668 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28669 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28670 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28671 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28672 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28673 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28674 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28675 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28676 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28677 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28678 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28679 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28680 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28681 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28682 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28683 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28684 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28685 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28686 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28687 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28688 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28689 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28690 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28691 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28692 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28693 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28694 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28695 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28696 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28698 2013-10-17 Joseph Myers <joseph@codesourcery.com>
28701 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28702 make result into a quiet NaN.
28704 2013-10-16 Joseph Myers <joseph@codesourcery.com>
28706 * soft-fp/adddf3.c: Fix horizontal whitespace.
28707 * soft-fp/addsf3.c: Likewise.
28708 * soft-fp/addtf3.c: Likewise.
28709 * soft-fp/divdf3.c: Likewise.
28710 * soft-fp/divsf3.c: Likewise.
28711 * soft-fp/divtf3.c: Likewise.
28712 * soft-fp/double.h: Likewise.
28713 * soft-fp/eqdf2.c: Likewise.
28714 * soft-fp/eqsf2.c: Likewise.
28715 * soft-fp/eqtf2.c: Likewise.
28716 * soft-fp/extenddftf2.c: Likewise.
28717 * soft-fp/extended.h: Likewise.
28718 * soft-fp/extendsfdf2.c: Likewise.
28719 * soft-fp/extendsftf2.c: Likewise.
28720 * soft-fp/extendxftf2.c: Likewise.
28721 * soft-fp/fixdfdi.c: Likewise.
28722 * soft-fp/fixdfsi.c: Likewise.
28723 * soft-fp/fixdfti.c: Likewise.
28724 * soft-fp/fixsfdi.c: Likewise.
28725 * soft-fp/fixsfsi.c: Likewise.
28726 * soft-fp/fixsfti.c: Likewise.
28727 * soft-fp/fixtfdi.c: Likewise.
28728 * soft-fp/fixtfsi.c: Likewise.
28729 * soft-fp/fixtfti.c: Likewise.
28730 * soft-fp/fixunsdfdi.c: Likewise.
28731 * soft-fp/fixunsdfsi.c: Likewise.
28732 * soft-fp/fixunsdfti.c: Likewise.
28733 * soft-fp/fixunssfdi.c: Likewise.
28734 * soft-fp/fixunssfsi.c: Likewise.
28735 * soft-fp/fixunssfti.c: Likewise.
28736 * soft-fp/fixunstfdi.c: Likewise.
28737 * soft-fp/fixunstfsi.c: Likewise.
28738 * soft-fp/fixunstfti.c: Likewise.
28739 * soft-fp/floatdidf.c: Likewise.
28740 * soft-fp/floatdisf.c: Likewise.
28741 * soft-fp/floatditf.c: Likewise.
28742 * soft-fp/floatsidf.c: Likewise.
28743 * soft-fp/floatsisf.c: Likewise.
28744 * soft-fp/floatsitf.c: Likewise.
28745 * soft-fp/floattidf.c: Likewise.
28746 * soft-fp/floattisf.c: Likewise.
28747 * soft-fp/floattitf.c: Likewise.
28748 * soft-fp/floatundidf.c: Likewise.
28749 * soft-fp/floatundisf.c: Likewise.
28750 * soft-fp/floatunditf.c: Likewise.
28751 * soft-fp/floatunsidf.c: Likewise.
28752 * soft-fp/floatunsisf.c: Likewise.
28753 * soft-fp/floatunsitf.c: Likewise.
28754 * soft-fp/floatuntidf.c: Likewise.
28755 * soft-fp/floatuntisf.c: Likewise.
28756 * soft-fp/floatuntitf.c: Likewise.
28757 * soft-fp/fmadf4.c: Likewise.
28758 * soft-fp/fmasf4.c: Likewise.
28759 * soft-fp/fmatf4.c: Likewise.
28760 * soft-fp/gedf2.c: Likewise.
28761 * soft-fp/gesf2.c: Likewise.
28762 * soft-fp/getf2.c: Likewise.
28763 * soft-fp/ledf2.c: Likewise.
28764 * soft-fp/lesf2.c: Likewise.
28765 * soft-fp/letf2.c: Likewise.
28766 * soft-fp/muldf3.c: Likewise.
28767 * soft-fp/mulsf3.c: Likewise.
28768 * soft-fp/multf3.c: Likewise.
28769 * soft-fp/negdf2.c: Likewise.
28770 * soft-fp/negsf2.c: Likewise.
28771 * soft-fp/negtf2.c: Likewise.
28772 * soft-fp/op-1.h: Likewise.
28773 * soft-fp/op-2.h: Likewise.
28774 * soft-fp/op-4.h: Likewise.
28775 * soft-fp/op-8.h: Likewise.
28776 * soft-fp/op-common.h: Likewise.
28777 * soft-fp/quad.h: Likewise.
28778 * soft-fp/single.h: Likewise.
28779 * soft-fp/soft-fp.h: Likewise.
28780 * soft-fp/sqrtdf2.c: Likewise.
28781 * soft-fp/sqrtsf2.c: Likewise.
28782 * soft-fp/sqrttf2.c: Likewise.
28783 * soft-fp/subdf3.c: Likewise.
28784 * soft-fp/subsf3.c: Likewise.
28785 * soft-fp/subtf3.c: Likewise.
28786 * soft-fp/truncdfsf2.c: Likewise.
28787 * soft-fp/trunctfdf2.c: Likewise.
28788 * soft-fp/trunctfsf2.c: Likewise.
28789 * soft-fp/trunctfxf2.c: Likewise.
28790 * soft-fp/unorddf2.c: Likewise.
28791 * soft-fp/unordsf2.c: Likewise.
28792 * soft-fp/unordtf2.c: Likewise.
28794 2013-10-15 Joseph Myers <joseph@codesourcery.com>
28796 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28797 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28799 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
28801 * elf/dl-libc.c: Clear initfini list after freeing.
28803 2013-10-14 Joseph Myers <joseph@codesourcery.com>
28805 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28806 * soft-fp/addsf3.c: Likewise.
28807 * soft-fp/addtf3.c: Likewise.
28808 * soft-fp/divdf3.c: Likewise.
28809 * soft-fp/divsf3.c: Likewise.
28810 * soft-fp/divtf3.c: Likewise.
28811 * soft-fp/double.h: Likewise.
28812 * soft-fp/eqdf2.c: Likewise.
28813 * soft-fp/eqsf2.c: Likewise.
28814 * soft-fp/eqtf2.c: Likewise.
28815 * soft-fp/extenddftf2.c: Likewise.
28816 * soft-fp/extended.h: Likewise.
28817 * soft-fp/extendsfdf2.c: Likewise.
28818 * soft-fp/extendsftf2.c: Likewise.
28819 * soft-fp/extendxftf2.c: Likewise.
28820 * soft-fp/fixdfdi.c: Likewise.
28821 * soft-fp/fixdfsi.c: Likewise.
28822 * soft-fp/fixdfti.c: Likewise.
28823 * soft-fp/fixsfdi.c: Likewise.
28824 * soft-fp/fixsfsi.c: Likewise.
28825 * soft-fp/fixsfti.c: Likewise.
28826 * soft-fp/fixtfdi.c: Likewise.
28827 * soft-fp/fixtfsi.c: Likewise.
28828 * soft-fp/fixtfti.c: Likewise.
28829 * soft-fp/fixunsdfdi.c: Likewise.
28830 * soft-fp/fixunsdfsi.c: Likewise.
28831 * soft-fp/fixunsdfti.c: Likewise.
28832 * soft-fp/fixunssfdi.c: Likewise.
28833 * soft-fp/fixunssfsi.c: Likewise.
28834 * soft-fp/fixunssfti.c: Likewise.
28835 * soft-fp/fixunstfdi.c: Likewise.
28836 * soft-fp/fixunstfsi.c: Likewise.
28837 * soft-fp/fixunstfti.c: Likewise.
28838 * soft-fp/floatdidf.c: Likewise.
28839 * soft-fp/floatdisf.c: Likewise.
28840 * soft-fp/floatditf.c: Likewise.
28841 * soft-fp/floatsidf.c: Likewise.
28842 * soft-fp/floatsisf.c: Likewise.
28843 * soft-fp/floatsitf.c: Likewise.
28844 * soft-fp/floattidf.c: Likewise.
28845 * soft-fp/floattisf.c: Likewise.
28846 * soft-fp/floattitf.c: Likewise.
28847 * soft-fp/floatundidf.c: Likewise.
28848 * soft-fp/floatundisf.c: Likewise.
28849 * soft-fp/floatunsidf.c: Likewise.
28850 * soft-fp/floatunsisf.c: Likewise.
28851 * soft-fp/floatuntidf.c: Likewise.
28852 * soft-fp/floatuntisf.c: Likewise.
28853 * soft-fp/floatuntitf.c: Likewise.
28854 * soft-fp/fmadf4.c: Likewise.
28855 * soft-fp/fmasf4.c: Likewise.
28856 * soft-fp/fmatf4.c: Likewise.
28857 * soft-fp/gedf2.c: Likewise.
28858 * soft-fp/gesf2.c: Likewise.
28859 * soft-fp/getf2.c: Likewise.
28860 * soft-fp/ledf2.c: Likewise.
28861 * soft-fp/lesf2.c: Likewise.
28862 * soft-fp/letf2.c: Likewise.
28863 * soft-fp/muldf3.c: Likewise.
28864 * soft-fp/mulsf3.c: Likewise.
28865 * soft-fp/multf3.c: Likewise.
28866 * soft-fp/negdf2.c: Likewise.
28867 * soft-fp/negsf2.c: Likewise.
28868 * soft-fp/negtf2.c: Likewise.
28869 * soft-fp/op-1.h: Likewise.
28870 * soft-fp/op-2.h: Likewise.
28871 * soft-fp/op-4.h: Likewise.
28872 * soft-fp/op-8.h: Likewise.
28873 * soft-fp/op-common.h: Likewise.
28874 * soft-fp/quad.h: Likewise.
28875 * soft-fp/single.h: Likewise.
28876 * soft-fp/soft-fp.h: Likewise.
28877 * soft-fp/sqrtdf2.c: Likewise.
28878 * soft-fp/sqrtsf2.c: Likewise.
28879 * soft-fp/sqrttf2.c: Likewise.
28880 * soft-fp/subdf3.c: Likewise.
28881 * soft-fp/subsf3.c: Likewise.
28882 * soft-fp/subtf3.c: Likewise.
28883 * soft-fp/truncdfsf2.c: Likewise.
28884 * soft-fp/trunctfdf2.c: Likewise.
28885 * soft-fp/trunctfsf2.c: Likewise.
28886 * soft-fp/trunctfxf2.c: Likewise.
28887 * soft-fp/unorddf2.c: Likewise.
28888 * soft-fp/unordsf2.c: Likewise.
28889 * soft-fp/unordtf2.c: Likewise.
28891 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
28894 * misc/error.c (error_tail): Fix possible buffer overflow.
28896 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
28899 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28902 2013-10-14 P. J. McDermott <pj@pehjota.net>
28905 * elf/ldd.bash.in (try_trace): New function. Delete previous code
28906 testing pipefail option.
28908 2013-10-12 Joseph Myers <joseph@codesourcery.com>
28910 * soft-fp/double.h: Indent preprocessor directives inside #if.
28911 * soft-fp/extended.h: Likewise.
28912 * soft-fp/op-2.h: Likewise.
28913 * soft-fp/op-4.h: Likewise.
28914 * soft-fp/op-common.h: Likewise.
28915 * soft-fp/quad.h: Likewise.
28916 * soft-fp/single.h: Likewise.
28917 * soft-fp/soft-fp.h: Likewise.
28919 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
28921 * iconv/iconv_prog.c: Fix typos.
28922 * stdio-common/psiginfo-data.h: Likewise.
28924 2013-10-12 Reuben Thomas <rrt@sc3d.org>
28927 * locale/setlocale.c: Fix typo.
28929 2013-10-12 Joseph Myers <joseph@codesourcery.com>
28932 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28933 signaling NaN arguments.
28934 * soft-fp/unordsf2.c (__unordsf2): Likewise.
28935 * soft-fp/unordtf2.c (__unordtf2): Likewise.
28938 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28939 unordered operands.
28940 * soft-fp/gesf2.c (__gesf2): Likewise.
28941 * soft-fp/getf2.c (__getf2): Likewise.
28942 * soft-fp/ledf2.c (__ledf2): Likewise.
28943 * soft-fp/lesf2.c (__lesf2): Likewise.
28944 * soft-fp/letf2.c (__letf2): Likewise.
28946 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28947 * soft-fp/eqsf2.c (__eqsf2): Likewise.
28948 * soft-fp/eqtf2.c (__eqtf2): Likewise.
28949 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28950 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28951 * soft-fp/fixdfti.c (__fixdfti): Likewise.
28952 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28953 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28954 * soft-fp/fixsfti.c (__fixsfti): Likewise.
28955 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28956 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28957 * soft-fp/fixtfti.c (__fixtfti): Likewise.
28958 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28959 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28960 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28961 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28962 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28963 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28964 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28965 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28966 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28967 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28968 * soft-fp/floatdisf.c (__floatdisf): Likewise.
28969 * soft-fp/floatsisf.c (__floatsisf): Likewise.
28970 * soft-fp/floattidf.c (__floattidf): Likewise.
28971 * soft-fp/floattisf.c (__floattisf): Likewise.
28972 * soft-fp/floattitf.c (__floattitf): Likewise.
28973 * soft-fp/floatundidf.c (__floatundidf): Likewise.
28974 * soft-fp/floatundisf.c (__floatundisf): Likewise.
28975 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28976 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28977 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28978 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28979 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28980 * soft-fp/gesf2.c (__gesf2): Likewise.
28981 * soft-fp/getf2.c (__getf2): Likewise.
28982 * soft-fp/ledf2.c (__ledf2): Likewise.
28983 * soft-fp/lesf2.c (__lesf2): Likewise.
28984 * soft-fp/letf2.c (__letf2): Likewise.
28986 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28987 Undefine and redefine.
28988 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28989 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28990 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28991 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28992 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28993 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28994 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28995 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28996 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28997 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28998 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28999 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29000 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29001 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29002 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29005 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29006 without decrementing exponent if mantissa >= that for the
29007 denominator, not >.
29008 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29009 denominator, not >. Decrement exponent in < case instead of
29010 incrementing in >= case.
29011 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29012 without decrementing exponent if mantissa >= that for the
29013 denominator, not >.
29015 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29016 computing saturated result for unsigned overflow.
29018 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29019 Jeff Law <law@redhat.com>
29021 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29022 (atan2Mp): Add systemtap probe marker.
29023 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29024 (__ieee754_log): Add systemtap probe marker.
29025 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29026 (atanMp): Add systemtap probe marker.
29027 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29028 (tanMp): Add systemtap probe marker.
29029 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29030 (__slowexp): Add systemtap probe marker.
29031 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29032 (__slowpow): Add systemtap probe marker.
29033 * manual/probes.texi: Document probes.
29035 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
29038 * libio/fileops.c (_IO_new_file_write): Return count of bytes
29040 (_IO_new_file_xsputn): Don't return EOF if nothing has been
29042 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29043 written to buffer but not flushed.
29044 * libio/iofwrite_u.c: Likewise.
29045 * libio/iopadn.c: Return bytes returned even if EOF was
29047 * libio/iowpadn.c: Likewise.
29048 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29049 if _IO_padn does not write the whole buffer.
29050 [!COMPILE_WPRINTF] (PAD): Likewise.
29052 2013-10-10 David S. Miller <davem@davemloft.net>
29054 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29057 2013-10-10 Joseph Myers <joseph@codesourcery.com>
29059 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
29060 instead of FSF address.
29061 * soft-fp/fixdfti.c: Likewise.
29062 * soft-fp/fixsfti.c: Likewise.
29063 * soft-fp/fixtfti.c: Likewise.
29064 * soft-fp/fixunsdfti.c: Likewise.
29065 * soft-fp/fixunssfti.c: Likewise.
29066 * soft-fp/fixunstfti.c: Likewise.
29067 * soft-fp/floattidf.c: Likewise.
29068 * soft-fp/floattisf.c: Likewise.
29069 * soft-fp/floattitf.c: Likewise.
29070 * soft-fp/floatuntidf.c: Likewise.
29071 * soft-fp/floatuntisf.c: Likewise.
29072 * soft-fp/floatuntitf.c: Likewise.
29073 * soft-fp/trunctfxf2.c: Likewise.
29075 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
29076 * soft-fp/fixdfti.c: Likewise.
29077 * soft-fp/fixsfti.c: Likewise.
29078 * soft-fp/fixtfti.c: Likewise.
29079 * soft-fp/fixunsdfti.c: Likewise.
29080 * soft-fp/fixunssfti.c: Likewise.
29081 * soft-fp/fixunstfti.c: Likewise.
29082 * soft-fp/floattidf.c: Likewise.
29083 * soft-fp/floattisf.c: Likewise.
29084 * soft-fp/floattitf.c: Likewise.
29085 * soft-fp/floatuntidf.c: Likewise.
29086 * soft-fp/floatuntisf.c: Likewise.
29087 * soft-fp/floatuntitf.c: Likewise.
29088 * soft-fp/trunctfxf2.c: Likewise.
29090 2013-10-10 David S. Miller <davem@davemloft.net>
29092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29094 2013-10-10 Joseph Myers <joseph@codsourcery.com>
29096 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29097 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29098 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29099 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29100 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29101 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29102 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29104 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29105 for NaNs before doing comparisons on argument.
29106 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29109 2013-10-10 Will Newton <will.newton@linaro.org>
29111 * malloc/hooks.c (memalign_check): Ensure the value of bytes
29112 passed to _int_memalign does not overflow.
29114 2013-10-10 Torvald Riegel <triegel@redhat.com>
29116 * scripts/bench.pl: Add include-sources directive.
29117 * benchtests/README: Update documentation.
29119 2013-10-10 Joseph Myers <joseph@codesourcery.com>
29121 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29122 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29123 instead of FP_INIT_ROUNDMODE.
29124 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29125 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29128 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
29129 copy class of input value.
29130 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
29131 not handle exceptions.
29132 * soft-fp/negsf2.c (__negsf2): Likewise.
29133 * soft-fp/negtf2.c (__negtf2): Likewise.
29134 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29136 2013-10-09 Joseph Myers <joseph@codesourcery.com>
29138 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29139 semicolon. From Linux kernel.
29141 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
29143 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29145 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
29148 * manual/socket.texi: Added statement about buffer
29149 for gethostbyname2_r.
29151 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
29153 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29154 Use .p2align directive instead, throughout.
29155 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29156 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29157 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29158 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29159 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29160 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29161 * sysdeps/x86_64/strchr.S: Likewise.
29162 * sysdeps/x86_64/strrchr.S: Likewise.
29164 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29166 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29168 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29170 * sysdeps/generic/math_private.h (__mpsin1): Remove
29172 (__mpcos1): Likewise.
29173 (__mpsin): New argument __range_reduce.
29174 (__mpcos): Likewise.
29175 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29176 (slow): Use __mpsin and __mpcos.
29180 (sloww1): Likewise.
29181 (sloww2): Likewise.
29182 (bsloww): Likewise.
29183 (bsloww1): Likewise.
29184 (bsloww2): Likewise.
29185 (cslow2): Likewise.
29186 (csloww): Likewise.
29187 (csloww1): Likewise.
29188 (csloww2): Likewise.
29189 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29190 range_reduce. Merge in __mpsin1.
29191 (__mpcos): Likewise.
29192 (__mpsin1): Remove.
29193 (__mpcos1): Likewise.
29195 2013-10-07 Joseph Myers <joseph@codesourcery.com>
29197 * locale/loadlocale.c (_nl_intern_locale_data): Use
29199 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29200 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29201 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29202 obstack data is appropriately aligned.
29203 (obstack_int32_grow_fast): Likewise.
29204 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29205 * locale/programs/locfile.c (add_locale_uint32): Likewise.
29206 (add_locale_uint32_array): Likewise.
29208 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29210 * benchtests/Makefile: Remove ARGLIST and RET variables.
29211 ($(objpfx)bench-%.c): Pass only function name to the script.
29212 * benchtests/README: Update documentation.
29213 * benchtests/acos-inputs: Add new directives.
29214 * benchtests/acosh-inputs: Likewise.
29215 * benchtests/asin-inputs: Likewise.
29216 * benchtests/asinh-inputs: Likewise.
29217 * benchtests/atan-inputs: Likewise.
29218 * benchtests/atanh-inputs: Likewise.
29219 * benchtests/cos-inputs: Likewise.
29220 * benchtests/cosh-inputs: Likewise.
29221 * benchtests/exp-inputs: Likewise.
29222 * benchtests/log-inputs: Likewise.
29223 * benchtests/pow-inputs: Likewise.
29224 * benchtests/rint-inputs: Likewise.
29225 * benchtests/sin-inputs: Likewise.
29226 * benchtests/sinh-inputs: Likewise.
29227 * benchtests/tan-inputs: Likewise.
29228 * benchtests/tanh-inputs: Likewise.
29229 * scripts/bench.pl: Add support for new directives.
29231 2013-10-07 Alan Modra <amodra@gmail.com>
29233 * README: Fix careless merge.
29235 2013-10-05 Alan Modra <amodra@gmail.com>
29237 * NEWS: Mention powerpc64le support and bugs fixed.
29238 * README: Both big-endian and little-endian powerpc64 supported.
29240 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29242 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29243 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29244 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29245 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29247 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
29249 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29252 2013-10-04 Joseph Myers <joseph@codesourcery.com>
29254 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29255 Move -mhard-float appending from
29256 ports/sysdeps/powerpc/powerpc32/Makefile.
29257 [$(with-fp) = yes] (ASFLAGS): Likewise.
29258 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29259 * sysdeps/powerpc/nofpu: Move directory from
29260 ports/sysdeps/powerpc/nofpu.
29261 * sysdeps/powerpc/soft-fp: Move directory from
29262 ports/sysdeps/powerpc/soft-fp.
29263 * sysdeps/powerpc/powerpc32/405: Move directory from
29264 ports/sysdeps/powerpc/powerpc32/405.
29265 * sysdeps/powerpc/powerpc32/440: Move directory from
29266 ports/sysdeps/powerpc/powerpc32/440.
29267 * sysdeps/powerpc/powerpc32/464: Move directory from
29268 ports/sysdeps/powerpc/powerpc32/464.
29269 * sysdeps/powerpc/powerpc32/476: Move directory from
29270 ports/sysdeps/powerpc/powerpc32/476.
29271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29272 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29274 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29276 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29278 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29280 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29281 * README: Update for powerpc-*-linux-gnu software floating point
29284 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29285 case to powerpc/powerpc32*.
29286 * sysdeps/unix/sysv/linux/configure: Regenerated.
29288 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29289 (_FPU_MASK_OM): Define as 0x04.
29290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29298 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29301 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29304 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29305 and setcontext_e500.
29307 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
29309 * locale/iso-3166.def: Update iso-1366.def and related occurrences
29311 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29313 * manual/threads.texi (Default Thread Attributes): Fix typo.
29315 2013-10-04 Will Newton <will.newton@linaro.org>
29317 * malloc/Makefile: Add tst-memalign.
29318 * malloc/tst-memalign.c: New file.
29320 * malloc/tst-posix_memalign.c: Add comments.
29321 (do_test): Add comments and call free on all potentially
29322 allocated pointers. Add space after cast.
29324 * malloc/tst-pvalloc.c: Add comments.
29325 (do_test): Add comments and call free on all potentially
29326 allocated pointers. Remove duplicate check for NULL pointer.
29327 Add space after cast.
29329 * malloc/tst-valloc.c: Add comments.
29330 (do_test): Add comments and call free on all potentially
29331 allocated pointers. Remove duplicate check for NULL pointer.
29332 Add space after cast.
29334 2013-10-04 Alan Modra <amodra@gmail.com>
29336 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29337 Use stdint types in rather than __attribute__((mode())).
29338 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29340 2013-10-04 Alan Modra <amodra@gmail.com>
29342 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29343 Correct handling of unaligned relocs for little-endian.
29344 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29346 2013-10-04 Alan Modra <amodra@gmail.com>
29348 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29349 * configure: Regenerate.
29350 * nptl/shlib-versions: Powerpc*le starts at 2.18.
29351 * shlib-versions: Likewise.
29353 2013-10-04 Alan Modra <amodra@gmail.com>
29355 * string/tester.c (test_memrchr): Increment reported test cycle.
29357 2013-10-04 Alan Modra <amodra@gmail.com>
29359 * string/test-memcpy.c (do_one_test): When reporting errors, print
29360 string address and don't overrun end of string.
29362 2013-10-04 Alan Modra <amodra@gmail.com>
29364 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29365 insrdi. Make better use of reg selection to speed exit slightly.
29366 Schedule entry path a little better. Remove useless "are we done"
29367 checks on entry to main loop. Handle wrapping around zero address.
29368 Correct main loop count. Handle single left-over word from main
29369 loop inline rather than by using loop_small. Remove extra word
29370 case in loop_small caused by wrong loop count. Add little-endian
29372 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29373 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
29375 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29376 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29377 support. Avoid rlwimi.
29378 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
29380 2013-10-04 Alan Modra <amodra@gmail.com>
29382 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
29383 insrdi. Formatting.
29384 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
29385 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29386 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29387 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29388 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29389 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
29391 2013-10-04 Alan Modra <amodra@gmail.com>
29393 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
29394 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29395 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29396 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
29397 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29398 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29399 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29400 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29401 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
29402 use of regs. Use power7 mtocrf. Tidy function tails.
29404 2013-10-04 Alan Modra <amodra@gmail.com>
29406 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
29407 Formatting. Consistently use rXXX register defines or rN defines.
29408 Use early exit labels that avoid restoring unused non-volatile regs.
29409 Make cr field use more consistent with rWORDn compares. Rename
29410 regs used as shift registers for unaligned loop, using rN defines
29411 for short lifetime/multiple use regs.
29412 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29413 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
29414 addi 1,1,64 to pop stack frame. Simplify return value code.
29415 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29417 2013-10-04 Alan Modra <amodra@gmail.com>
29419 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
29420 support. Correct typos, formatting. Optimize tail. Use insrdi
29421 rather than rlwimi.
29422 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
29423 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
29424 little-endian support. Correct typos.
29425 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
29426 rather than rlwimi.
29427 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
29428 in loop and entry code to keep "and." results.
29429 (strchr): Add little-endian support. Comment. Move cntlzd
29431 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
29433 2013-10-04 Alan Modra <amodra@gmail.com>
29435 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
29436 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
29437 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29438 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
29440 2013-10-04 Alan Modra <amodra@gmail.com>
29442 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
29443 (rTMP): Define as r11.
29444 (strcmp): Add little-endian support. Optimise tail.
29445 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29446 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29447 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29448 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29449 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29450 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29451 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29453 2013-10-04 Alan Modra <amodra@gmail.com>
29455 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29456 little-endian support. Remove unnecessary "are we done" tests.
29457 Handle "s" wrapping around zero and extremely large "size".
29458 Correct main loop count. Handle single left-over word from main
29459 loop inline rather than by using small_loop. Correct comments.
29460 Delete "zero" tail, use "end_max" instead.
29461 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29463 2013-10-04 Alan Modra <amodra@gmail.com>
29465 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29466 support. Don't branch over align.
29467 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29468 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29469 support. Rearrange tmp reg use to suit. Comment.
29470 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29472 2013-10-04 Alan Modra <amodra@gmail.com>
29474 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29476 2013-10-04 Alan Modra <amodra@gmail.com>
29478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29479 conditional form of branch and link when obtaining pc.
29480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29482 2013-10-04 Alan Modra <amodra@gmail.com>
29484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29489 2013-10-04 Alan Modra <amodra@gmail.com>
29491 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29492 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29493 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29494 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29495 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29496 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29497 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29498 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29499 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29500 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29502 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29503 Alistair Popple <alistair@ozlabs.au.ibm.com>
29504 Alan Modra <amodra@gmail.com>
29507 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29508 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29509 _dl_hwcap access for little-endian.
29510 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
29511 destroy vmx regs when saving unaligned.
29512 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29513 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
29514 destroy vmx regs when saving unaligned.
29516 2013-10-04 Alan Modra <amodra@gmail.com>
29518 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29519 Don't use a union to pack hi/low value.
29521 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29523 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29525 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29526 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29527 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29528 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29529 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29531 2013-10-04 Alan Modra <amodra@gmail.com>
29533 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29534 constants to usual value for .cst8 section, and remove redundant
29536 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29537 constant for 0x1p52. Load little-endian words of double from
29538 correct stack offsets.
29540 2013-10-04 Alan Modra <amodra@gmail.com>
29542 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29543 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29544 words of double from correct stack offsets.
29545 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29546 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29547 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29548 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29549 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29550 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29551 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29552 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29553 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29554 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29555 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29556 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29557 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29558 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29559 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29560 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29561 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29563 2013-10-04 Alan Modra <amodra@gmail.com>
29565 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29566 64-bit int/double union.
29567 (_FPU_SETCW): Likewise.
29568 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29569 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29571 2013-10-04 Alan Modra <amodra@gmail.com>
29573 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29574 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29576 2013-10-04 Alan Modra <amodra@gmail.com>
29578 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29579 use vector int constants.
29580 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29582 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29584 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29585 array with long long.
29586 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29587 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29588 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29589 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29590 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29591 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29592 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29593 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29594 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29595 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29596 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29597 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29598 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29600 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29602 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29603 (__signbit): Likewise. Correct for little-endian.
29604 (__signbitl): Call __signbit.
29605 (lrint): Correct for little-endian.
29606 (lrintf): Call lrint.
29608 2013-10-04 Alan Modra <amodra@gmail.com>
29610 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29611 union 32-bit int array member with 64-bit int array.
29612 (t515, tm256): Double rather than long double.
29613 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29615 2013-10-04 Alan Modra <amodra@gmail.com>
29617 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29619 (IEEE854_LONG_DOUBLE_BIAS): Delete.
29620 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29621 version of math_ldbl.h.
29623 2013-10-04 Alan Modra <amodra@gmail.com>
29625 [BZ #15734], [BZ #15735]
29626 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29627 all uses of ieee875 long double macros and unions. Simplify test
29628 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
29629 ldbl_extract_mantissa value for ix,iy exponents. Properly
29630 normalize after ldbl_extract_mantissa, and don't add hidden bit
29631 already handled. Don't treat low word of ieee854 mantissa like
29632 low word of IBM long double and mask off bit when testing for
29634 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29635 all uses of ieee875 long double macros and unions. Simplify tests
29636 for 0.0L and inf. Correct double adjustment of k. Delete dead code
29637 adjusting ha,hb. Simplify code setting kld. Delete two600 and
29638 two1022, instead use their values. Recognise that tests for large
29639 "a" and small "b" are mutually exclusive. Rename vars. Comment.
29640 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29641 Rewrite all uses of ieee875 long double macros and unions. Simplify
29642 test for 0.0L and nan. Correct negation.
29643 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29644 ieee875 long double macros and unions. Correct output for large
29645 magnitude x. Correct absolute value calculation.
29646 (__erfcl): Likewise.
29647 * math/libm-test.inc: Add tests for errors discovered in IBM long
29648 double versions of fmodl, remainderl, erfl and erfcl.
29650 2013-10-04 Alan Modra <amodra@gmail.com>
29652 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29653 all uses of ieee854 long double macros and unions. Simplify tests
29654 for long doubles that are fully specified by the high double.
29655 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29657 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29658 Remove dead code too.
29659 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29660 (__ieee754_ynl): Likewise.
29661 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29662 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29663 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29664 Remove dead code too.
29665 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29666 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29667 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29668 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29670 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29672 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29673 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29674 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29675 Comment on variable precision.
29676 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29677 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29679 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29680 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29681 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29682 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29683 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29685 2013-10-04 Alan Modra <amodra@gmail.com>
29687 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29688 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29689 all uses of ieee854 long double macros and unions.
29690 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29691 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29692 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29693 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29694 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29695 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29697 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29698 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29699 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29700 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29701 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29702 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29703 Simplify sign and nan test too.
29704 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29705 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29706 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29707 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29709 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29710 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29712 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29713 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29714 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29715 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29716 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29717 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29719 2013-10-04 Alan Modra <amodra@gmail.com>
29721 * stdio-common/printf_size.c (__printf_size): Don't use
29722 union ieee854_long_double in fpnum union.
29723 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
29724 signbit macro to retrieve sign from long double.
29725 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29726 retrieve sign from long double.
29727 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29728 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29729 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29730 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29731 * math/test-misc.c (main): Don't use union ieee854_long_double.
29733 2013-10-04 Alan Modra <amodra@gmail.com>
29736 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29737 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29738 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29739 calculation. Remove unnecessary test for denormal exponent.
29740 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29741 Correct handling of denormals. Avoid undefined shift behaviour.
29742 Correct normalisation of low mantissa when low double is denormal.
29743 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29744 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
29745 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29746 Correct normalisation of low mantissa. Test for overflow of high
29747 mantissa and normalise.
29748 (ldbl_nearbyint): Use more readable constant for two52.
29749 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29750 (__mpn_construct_long_double): Fix test for overflow of high
29751 mantissa and correct normalisation. Avoid undefined shift.
29753 2013-10-04 Alan Modra <amodra@gmail.com>
29755 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29756 (union ibm_extended_long_double): Define as an array of ieee754_double.
29757 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29758 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29759 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29760 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29761 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29762 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29763 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29764 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29765 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29766 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29767 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29769 2013-10-03 Joseph Myers <joseph@codesourcery.com>
29771 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29772 page size instead of calling getpagesize.
29774 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29775 (LOCFILE_ALIGN_MASK): Likewise.
29776 (LOCFILE_ALIGN_UP): Likewise.
29777 (LOCFILE_ALIGNED_P): Likewise.
29778 * locale/programs/ld-collate.c (collate_output): Use the new
29779 macros instead of __alignof__ (int32_t).
29780 * locale/weight.h (findidx): Likewise.
29782 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
29785 * manual/string.texi: Fix strncat and wcsncat.
29787 2013-10-03 Brooks Moses <bmoses@google.com>
29790 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29791 * Makerules: ...here, and adjust associated comments.
29793 2013-10-02 Will Newton <will.newton@linaro.org>
29795 * malloc/Makefile: Add tst-pvalloc.
29796 * malloc/tst-pvalloc.c: New file.
29798 2013-10-02 Will Newton <will.newton@linaro.org>
29800 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29801 improve test coverage.
29803 2013-10-02 Will Newton <will.newton@linaro.org>
29805 * malloc/Makefile: Add tst-posix_memalign.
29806 * malloc/tst-posix_memalign.c: New file.
29808 2013-10-01 Eric Blake <eblake@redhat.com>
29810 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29811 Use __THROWNL rather than __THROW on static functions.
29813 2013-09-30 Petr Machata <pmachata@redhat.com>
29815 * elf/elf.h (R_AARCH64_ABS16): New macro.
29816 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29817 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29818 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29819 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29820 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29821 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29822 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29823 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29824 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29825 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29826 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29827 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29828 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29829 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29830 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29831 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29832 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29833 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29834 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29835 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29836 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29837 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29838 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29839 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29840 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29841 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29842 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29843 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29844 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29845 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29846 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29847 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29848 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29849 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29850 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29851 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29852 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29853 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29854 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29855 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29856 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29857 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29858 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29859 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29860 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29861 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29862 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29863 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29864 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29865 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29866 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29867 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29868 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29869 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29870 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29871 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29872 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29873 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29874 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29875 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29876 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29877 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29878 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29879 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29880 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29881 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29882 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29883 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29884 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29885 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29886 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29887 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29888 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29889 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29890 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29891 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29892 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29893 (R_AARCH64_TLSDESC_LDR): Likewise.
29894 (R_AARCH64_TLSDESC_ADD): Likewise.
29895 (R_AARCH64_TLSDESC_CALL): Likewise.
29897 2013-09-30 Andreas Schwab <schwab@suse.de>
29900 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29901 the nss database lookup.
29902 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29905 2013-09-28 Mike Frysinger <vapier@gentoo.org>
29907 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29909 2013-09-28 P. J. McDermott <pj@pehjota.net>
29911 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29912 ${Bash-specific parameter/pattern/string} parameter expansion.
29913 * sysdeps/unix/make-syscalls.sh: Likewise.
29915 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29917 * sysdeps/sh/stackguard-macros.h: New file.
29919 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
29921 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29922 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29923 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29924 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29925 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29926 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29928 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29930 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29931 Fix thread ID register.
29933 2013-09-25 Joseph Myers <joseph@codesourcery.com>
29935 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29936 [POSIX || UNIX98]: Require rather than permitting all symbols from
29938 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29939 element of struct sched_param.
29940 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29941 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29942 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29943 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29946 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
29948 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29949 argument calculation.
29951 2013-09-24 Joseph Myers <joseph@codesourcery.com>
29953 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29955 [POSIX] (pthread_attr_t): Do not require type.
29956 [POSIX] (pthread_cond_t): Likewise.
29957 [POSIX] (pthread_condattr_t): Likewise.
29958 [POSIX] (pthread_key_t): Likewise.
29959 [POSIX] (pthread_mutex_t): Likewise.
29960 [POSIX] (pthread_mutexattr_t): Likewise.
29961 [POSIX] (pthread_once_t): Likewise.
29962 [POSIX] (pthread_t): Likewise.
29963 [POSIX-based standards] (pthread_atfork): Expect function.
29965 2013-09-24 Joseph Myers <joseph@codesourcery.com>
29966 Richard Sandiford <richard@codesourcery.com>
29968 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29969 (swap_endianness_p): New extern variable.
29970 (set_big_endian): New inline function.
29971 (maybe_swap_uint32): Likewise.
29972 (maybe_swap_uint32_array): Likewise.
29973 (maybe_swap_uint32_obstack): Likewise.
29974 * locale/programs/locfile.c: Include <stdbool.h>.
29975 (swap_endianness_p): New variable.
29976 (add_locale_uint32): Call maybe_swap_uint32.
29977 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29978 (write_locale_data): Call maybe_swap_uint32_array.
29979 * locale/programs/ld-collate.c (obstack_int32_grow): Call
29981 (obstack_int32_grow_fast): Likewise.
29982 (output_weightwc): Call maybe_swap_uint32_obstack.
29983 (collate_output): Likewise.
29984 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29985 (OPT_LITTLE_ENDIAN): Likewise.
29986 (options): Add --little-endian and --big-endian options.
29987 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29988 * locale/programs/locarchive.c: Include "locfile.h".
29992 (create_archive): Use the new macros to access fields of
29993 structures directly mapped from or written to locale archives.
29994 (oldlocrecentcmp): Likewise.
29995 (enlarge_archive): Likewise.
29996 (insert_name): Likewise.
29997 (add_alias): Likewise.
29998 (add_locale): Likewise.
29999 (delete_locales_from_archive): Likewise.
30000 (show_archive_content): Likewise.
30001 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
30004 2013-09-24 Roland McGrath <roland@hack.frob.com>
30006 * manual/freemanuals.texi: Updated from (newly) canonical copy at
30007 http://www.gnu.org/doc/freemanuals.texi.
30008 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30010 2013-09-24 Will Newton <will.newton@linaro.org>
30012 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30015 2013-09-23 Joseph Myers <joseph@codesourcery.com>
30017 * locale/hashval.h (compute_hashval): Interpret bytes of key as
30020 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
30022 * manual/threads.texi (POSIX Threads): Fix a typo.
30024 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30027 * string/tst-strcoll-overflow.c: New test case.
30028 * string/Makefile (xtests): Add tst-strcoll-overflow.
30029 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30030 cache if string sizes may cause integer overflow.
30033 * string/strcoll_l.c (coll_seq): New members rule, idx,
30034 save_idx and back_us.
30035 (get_next_seq_nocache): New function.
30036 (do_compare_nocache): New function.
30037 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30040 2013-09-23 Carlos O'Donell <carlos@redhat.com>
30043 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30044 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30045 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30048 * elf/Makefile (tests): Add tst-ptrguard1.
30049 (tests-static): Add tst-ptrguard1-static.
30050 (tst-ptrguard1-ARGS): Define.
30051 (tst-ptrguard1-static-ARGS): Define.
30052 * elf/tst-ptrguard1.c: New file.
30053 * elf/tst-ptrguard1-static.c: New file.
30054 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30055 * sysdeps/i386/stackguard-macros.h: Likewise.
30056 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30057 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30058 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30059 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30060 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30061 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30063 2013-09-23 Hector Marco <hecmargi@upv.es>
30064 Ismael Ripoll <iripoll@disca.upv.es>
30065 Carlos O'Donell <carlos@redhat.com>
30068 * sysdeps/generic/stackguard-macros.h: Define
30069 __pointer_chk_guard_local and POINTER_CHK_GUARD.
30070 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30071 Define __pointer_chk_guard_local.
30072 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30073 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30075 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
30078 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30080 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
30082 * include/string.h (__ffs): Declare as hidden.
30083 * string/ffs.c (__ffs): Define as hidden.
30084 * sysdeps/i386/ffs.c (__ffs): Likewise.
30085 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30086 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30087 * sysdeps/s390/ffs.c (__ffs): Likewise.
30088 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30090 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
30092 * NEWS: Mention malloc probes.
30094 * malloc/arena.c (new_heap): New memory_heap_new probe.
30095 (grow_heap): New memory_heap_more probe.
30096 (shrink_heap): New memory_heap_less probe.
30097 (heap_trim): New memory_heap_free probe.
30098 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30099 (systrim): New memory_sbrk_less probe.
30100 * manual/probes.texi: Document them.
30102 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30103 * manual/probes.texi: Document it.
30105 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30106 (__libc_realloc): Add memory_realloc_retry probe.
30107 (__libc_memalign): Add memory_memalign_retry probe.
30108 (__libc_valloc): Add memory_valloc_retry probe.
30109 (__libc_pvalloc): Add memory_pvalloc_retry probe.
30110 (__libc_calloc): Add memory_calloc_retry probe.
30111 * manual/probes.texi: Document them.
30113 * malloc/arena.c (get_free_list): Add probe
30114 memory_arena_reuse_free_list.
30115 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30116 and memory_arena_reuse.
30117 (arena_get2) [!PER_THREAD]: Likewise.
30118 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30119 memory_arena_reuse_realloc.
30120 * manual/probes.texi: Document them.
30122 * malloc/malloc.c (__libc_free): Add
30123 memory_mallopt_free_dyn_thresholds probe.
30124 (__libc_mallopt): Add multiple memory_mallopt probes.
30125 * manual/probes.texi: Document them.
30127 * malloc/malloc.c: Include stap-probe.h.
30128 (__libc_mallopt): Add memory_mallopt probe.
30129 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30130 * manual/probes.texi: New.
30131 * manual/Makefile (chapters): Add probes.
30132 * manual/threads.texi: Set next node.
30134 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
30136 [BZ #15963, #13985]
30137 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30138 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30139 Add `Chinese' to `nan' entry name.
30141 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30143 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30144 (POLYNOMIAL): Likewise.
30145 (TAYLOR_SINCOS): Likewise.
30146 (TAYLOR_SLOW): Likewise.
30147 (__sin): Use TAYLOR_SINCOS.
30149 (slow): Use TAYLOR_SLOW.
30151 (bsloww): Likewise.
30152 (csloww): Likewise.
30154 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30156 * stdlib/strtod_l.c: Fix buffer overrun.
30158 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30160 * benchtests/Makefile (bench): Add sincos.
30161 * benchtests/bench-sincos.c: New file.
30163 * math/libm-test.inc (cos_test_data): New test inputs.
30164 (sin_test_data): Likewise.
30166 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30172 (sloww1): Likewise.
30173 (sloww2): Likewise.
30174 (bsloww1): Likewise.
30175 (bsloww2): Likewise.
30176 (cslow2): Likewise.
30177 (csloww1): Likewise.
30178 (csloww2): Likewise.
30180 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30185 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30189 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
30191 * config.h.in (HAVE_MIPS_NAN2008): New macro.
30192 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30193 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30194 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30195 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30196 * elf/cache.c (print_entry): Handle the new cache flags.
30198 2013-09-18 Joseph Myers <joseph@codesourcery.com>
30199 Aldy Hernandez <aldyh@redhat.com>
30201 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30202 Change condition to [_SOFT_FLOAT].
30203 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30204 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30205 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30206 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30207 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30208 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30209 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30210 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30212 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30214 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30215 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30217 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30218 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30221 2013-09-18 Joseph Myers <joseph@codesourcery.com>
30223 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30224 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30225 (__longjmp): Use LOAD_GP to load saved GPRs.
30226 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30227 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30228 (__sigsetjmp): Use SAVE_GP to save GPRs.
30230 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30231 Do not append -msoft-float.
30232 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30234 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30236 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30238 2013-09-17 Joseph Myers <joseph@codesourcery.com>
30241 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30242 (_FPU_GETCW): Use initial "__" on variable and field names but not
30243 on macro parameter name.
30244 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
30245 parentheses around reference to macro parameter.
30247 2013-09-13 Richard Sandiford <richard@codesourcery.com>
30249 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30251 (ctype_startup): Use uint32_t in cast and sizeof for
30254 2013-09-11 Jia Liu <proljc@gmail.com>
30256 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30258 [__FreeBSD__]: Likewise.
30260 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
30262 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30263 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30264 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30265 (strchr): Remove __strchr_sse42 ifunc selection.
30266 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30267 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30269 2013-09-11 Will Newton <will.newton@linaro.org>
30271 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30272 parameter to RES. Remove hardcoded 1000 value.
30273 * benchtests/bench-skeleton.c (main): Pass RES parameter
30274 to TIMING_INIT and multiply result by 1000.
30276 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30280 2013-09-11 Andreas Schwab <schwab@suse.de>
30282 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30284 (O_TMPFILE) [__USE_GNU]: Define.
30285 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30288 2013-09-11 Will Newton <will.newton@linaro.org>
30291 * malloc/malloc.c (__libc_memalign): Check the value of bytes
30294 2013-09-11 Will Newton <will.newton@linaro.org>
30297 * malloc/malloc.c (__libc_valloc): Check the value of bytes
30300 2013-09-11 Will Newton <will.newton@linaro.org>
30303 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30306 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
30308 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30309 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30310 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30311 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30312 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30314 2013-09-10 Allan McRae <allan@archlinux.org>
30317 * manual/arith.texi (Parsing of Floats): Clarify
30321 * manual/install.texi (Running make install): Mention
30323 * INSTALL: Regenerated.
30325 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
30327 * csu/init-first.c (_init): Remove the !SHARED condition around
30328 FPU control word initialization.
30329 * elf/dl-support.c (_dl_fpu_control): New variable.
30330 (_dl_aux_init) <AT_FPUCW>: Initialize it.
30331 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30332 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30333 * math/test-fpucw-static.c: New file.
30334 * math/test-fpucw-ieee.c: New file.
30335 * math/test-fpucw-ieee-static.c: New file.
30336 * math/Makefile (tests): Add `test-fpucw-ieee' and
30338 (tests-static): New variable.
30339 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30341 [($(build-shared),yes)]
30342 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30344 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30347 2013-09-09 Allan McRae <allan@archlinux.org>
30350 * manual/string.texi (Collation Functions): Fix typo in
30352 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30355 * stdlib/isomac.c (get_null_defines): Fix memory leak.
30358 * libio/memstream.c (open_memstream): Fix memory leak.
30359 * libio/wmemstream.c (open_wmemstream): Likewise.
30362 * nscd/netgroupcache.c: Fix nesting of ifdefs.
30364 2013-09-09 Will Newton <will.newton@linaro.org>
30366 * malloc/Makefile: Add tst-realloc to tests.
30367 * malloc/tst-realloc.c: New file.
30369 2013-09-09 Allan McRae <allan@archlinux.org>
30372 * COPYING: Update from GNU website to fix FSF address.
30373 * COPYING.LIB: Likewise.
30375 2013-09-06 David S. Miller <davem@davemloft.net>
30377 * po/zh_TW.po: Update Chinese (traditional) translation from
30378 translation project.
30380 2013-09-06 Richard Sandiford <richard@codesourcery.com>
30381 Joseph Myers <joseph@codesourcery.com>
30383 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
30385 (obstack_chunk_alloc): New macro.
30386 (obstack_chunk_free): Likewise.
30387 (record_offset): New function.
30388 (init_locale_data): Likewise.
30389 (align_locale_data): Likewise.
30390 (add_locale_empty): Likewise.
30391 (add_locale_raw_data): Likewise.
30392 (add_locale_raw_obstack): Likewise.
30393 (add_locale_string): Likewise.
30394 (add_locale_wstring): Likewise.
30395 (add_locale_uint32): Likewise.
30396 (add_locale_uint32_array): Likewise.
30397 (add_locale_char): Likewise.
30398 (start_locale_structure): Likewise.
30399 (end_locale_structure): Likewise.
30400 (start_locale_prelude): Likewise.
30401 (end_locale_prelude): Likewise.
30402 (write_locale_data): Take locale_file structure rather than an
30404 * locale/programs/locfile.h: Include "obstack.h".
30405 (struct locale_file): Change to store locale file contents instead
30407 (init_locale_data): New prototype.
30408 (align_locale_data): Likewise.
30409 (add_locale_empty): Likewise.
30410 (add_locale_raw_data): Likewise.
30411 (add_locale_raw_obstack): Likewise.
30412 (add_locale_string): Likewise.
30413 (add_locale_wstring): Likewise.
30414 (add_locale_uint32): Likewise.
30415 (add_locale_uint32_array): Likewise.
30416 (add_locale_char): Likewise.
30417 (start_locale_structure): Likewise.
30418 (end_locale_structure): Likewise.
30419 (start_locale_prelude): Likewise.
30420 (end_locale_prelude): Likewise.
30421 (write_locale_data): Update prototype.
30422 * locale/programs/3level.h (struct TABLE): Remove result field.
30423 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
30424 Use new locale_file interface.
30425 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
30426 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
30427 * locale/programs/ld-address.c (address_output): Use new
30428 locale_file interface.
30429 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
30431 (collate_finish): Don't call collseq_table_finalize.
30432 (collate_output): Use new locale_file interface.
30433 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
30435 (NO_FINALIZE): Change to NO_ADD_LOCALE.
30436 (TABLE): Move defines earlier in file.
30437 (ELEMENT): Likewise.
30438 (DEFAULT): Likewise.
30439 (wctrans_table_add): Move macro and inline function earlier in
30441 (struct wctype_table): Move type earlier in file.
30442 (add_locale_wctype_table): New static prototype.
30443 (struct locale_ctype_t): Use logical types instead of struct iovec
30444 pointers for members.
30445 (ctype_output): Use new locale_file interface.
30446 (wctype_table_finalize): Change to add_locale_wctype_table. Use
30447 new locale_file interface.
30448 (allocate_arrays): Update for use of new locale_file interface.
30449 * locale/programs/ld-identification.c (identification_output): Use
30450 new locale_file interface.
30451 * locale/programs/ld-measurement.c (measurement_output): Likewise.
30452 * locale/programs/ld-messages.c (messages_output): Likewise.
30453 * locale/programs/ld-monetary.c (monetary_output): Likewise.
30454 * locale/programs/ld-name.c (name_output): Likewise.
30455 * locale/programs/ld-numeric.c (numeric_output): Likewise.
30456 * locale/programs/ld-paper.c (paper_output): Likewise.
30457 * locale/programs/ld-telephone.c (telephone_output): Likewise.
30458 * locale/programs/ld-time.c (time_output): Likewise.
30460 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30462 * benchtests/Makefile: Add memrchr benchmark.
30463 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30464 benchmark as memrchr.
30465 * benchtests/bench-memrchr-ifunc.c: New file.
30466 * benchtests/bench-memrchr.c: New file.
30468 2013-09-06 Will Newton <will.newton@linaro.org>
30470 * benchtests/Makefile (string-bench): Add memcpy.
30472 2013-09-05 Carlos O'Donell <carlos@redhat.com>
30473 Cong Wang <amwang@redhat.com>
30476 * sysdeps/unix/sysv/linux/bits/in.h
30477 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30478 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30479 before __USE_KERNEL_IPV6_DEFS uses.
30480 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30482 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30483 sockaddr_in6, or ipv6_mreq.
30485 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30487 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30488 memory access for final bytes in some large inputs.
30489 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30491 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30493 * string/test-memrchr.c: New file.
30494 * string/test-memrchr-ifunc.c: New file.
30495 * string/Makefile: Add new memrchr testcase.
30497 2013-09-05 Mike Frysinger <vapier@gentoo.org>
30499 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30500 fanotify_init returns EPERM.
30502 2013-09-04 Joseph Myers <joseph@codesourcery.com>
30504 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30506 (top level): Treat second token from macro or constant entries for
30507 allowed headers as allowed.
30508 * include/complex.h: Condition internal declarations on
30510 * include/fenv.h: Condition include of <stdbool.h> and internal
30511 declarations on [!_ISOMAC].
30513 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
30516 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30518 2013-09-04 Joseph Myers <joseph@codesourcery.com>
30520 * configure.in (--enable-versioning): Remove configure option.
30521 (libc_cv_asm_symver_directive): Remove configure test.
30522 (libc_cv_ld_version_script_option): Likewise.
30523 (VERSIONING): Remove variable and AC_SUBST.
30524 (DO_VERSIONING): Remove AC_DEFINE.
30525 * configure: Regenerated.
30526 * config.h.in (DO_VERSIONING): Remove macro.
30527 * Makerules [$(versioning) = yes]: Change conditionals to
30528 [$(build-shared) = yes].
30529 * config.make.in (versioning): Remove variable.
30530 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30531 [$(build-shared) = yes].
30532 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30533 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30534 * elf/Makefile [$(versioning) = yes]: Change conditionals to
30535 [$(build-shared) = yes].
30536 * extra-lib.mk [$(versioning) = yes]: Likewise.
30537 * hurd/Makefile [$(versioning) = yes]: Likewise.
30538 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30540 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30542 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30543 [SHARED && !NO_HIDDEN].
30544 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30546 [SHARED && DO_VERSIONING]: Likewise..
30547 * libio/Makefile [$(versioning) = yes]: Change conditionals to
30548 [$(build-shared) = yes].
30549 * manual/install.texi (--disable-versioning): Remove
30551 * INSTALL: Regenerated.
30552 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30554 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30555 [$(build-shared) = yes].
30556 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30557 * sysdeps/i386/i686/multiarch/strstr-c.c
30558 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30559 [SHARED && !NO_HIDDEN].
30560 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30561 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30562 * sysdeps/powerpc/powerpc32/dl-machine.c
30563 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30564 * sysdeps/powerpc/powerpc32/sysdep.h
30565 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30566 to [SHARED && PIC && !NO_HIDDEN].
30567 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30568 conditional to [SHARED].
30570 2013-09-04 Will Newton <will.newton@linaro.org>
30572 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30573 * benchtests/bench-string.h: Include bench-timing.h instead
30574 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30575 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30576 call to HP_TIMING_DIFF_INIT.
30577 * benchtests/bench-memccpy.c: Use bench-timing.h macros
30578 instead of hp-timing.h macros.
30579 * benchtests/bench-memchr.c: Likewise.
30580 * benchtests/bench-memcmp.c: Likewise.
30581 * benchtests/bench-memcpy.c: Likewise.
30582 * benchtests/bench-memmem.c: Likewise.
30583 * benchtests/bench-memmove.c: Likewise.
30584 * benchtests/bench-memset.c: Likewise.
30585 * benchtests/bench-rawmemchr.c: Likewise.
30586 * benchtests/bench-strcasecmp.c: Likewise.
30587 * benchtests/bench-strcasestr.c: Likewise.
30588 * benchtests/bench-strcat.c: Likewise.
30589 * benchtests/bench-strchr.c: Likewise.
30590 * benchtests/bench-strcmp.c: Likewise.
30591 * benchtests/bench-strcpy.c: Likewise.
30592 * benchtests/bench-strcpy_chk.c: Likewise.
30593 * benchtests/bench-strlen.c: Likewise.
30594 * benchtests/bench-strncasecmp.c: Likewise.
30595 * benchtests/bench-strncat.c: Likewise.
30596 * benchtests/bench-strncmp.c: Likewise.
30597 * benchtests/bench-strncpy.c: Likewise.
30598 * benchtests/bench-strnlen.c: Likewise.
30599 * benchtests/bench-strpbrk.c: Likewise.
30600 * benchtests/bench-strrchr.c: Likewise.
30601 * benchtests/bench-strspn.c: Likewise.
30602 * benchtests/bench-strstr.c: Likewise.
30604 2013-09-04 Will Newton <will.newton@linaro.org>
30606 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30608 2013-09-03 Joseph Myers <joseph@codesourcery.com>
30611 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30612 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30613 * math/libm-test.inc (lgamma_test_data): Add more tests.
30614 * sysdeps/i386/fpu/libm-test-ulps: Update.
30615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30617 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
30619 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30620 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30622 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30623 Add strcmp-sse2-unaligned
30624 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30626 2013-09-02 Mike Frysinger <vapier@gentoo.org>
30628 * Versions.def (libc): Add GLIBC_2.19.
30630 2013-09-02 Mike Frysinger <vapier@gentoo.org>
30632 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30633 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30635 2013-09-02 Joseph Myers <joseph@codesourcery.com>
30638 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30639 intermediate calculations in recurrence.
30640 (__ieee754_ynf): Likewise.
30641 * math/libm-test.inc (jn_test_data): Do not allow spurious
30642 underflow exception. Add more tests.
30643 (yn_test_data): Add more tests.
30644 * sysdeps/i386/fpu/libm-test-ulps: Update.
30645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30647 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
30649 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30651 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30653 * csu/init-first.c: Fix then/than typos.
30654 * locale/programs/ld-collate.c: Likewise.
30655 * locale/programs/linereader.h: Likewise.
30656 * manual/charset.texi: Likewise.
30657 * manual/filesys.texi: Likewise.
30658 * manual/stdio.texi: Likewise.
30659 * manual/string.texi: Likewise.
30660 * stdlib/fmtmsg.c: Likewise.
30661 * sysdeps/i386/stpncpy.S: Likewise.
30662 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30663 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30664 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30665 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30667 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30669 * elf/dl-open.c: Fix typos.
30670 * iconvdata/gbbig5.c: Likewise.
30671 * iconvdata/iso-2022-jp.c: Likewise.
30672 * iconv/gconv_int.h: Likewise.
30673 * iconv/loop.c: Likewise.
30674 * nis/rpcsvc/nis.h: Likewise.
30675 * resolv/ns_name.c: Likewise.
30676 * stdio-common/vfscanf.c: Likewise.
30677 * streams/stropts.h: Likewise.
30678 * sunrpc/rpc_thread.c: Likewise.
30679 * sysdeps/i386/strpbrk.S: Likewise.
30680 * sysdeps/ieee754/k_standard.c: Likewise.
30681 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30682 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30683 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30684 * sysdeps/mach/hurd/profil.c: Likewise.
30685 * sysdeps/s390/dl-procinfo.h: Likewise.
30686 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30687 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30688 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30689 * sysdeps/x86_64/dl-trampoline.S: Likewise.
30690 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30692 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30694 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30695 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30697 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
30699 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30700 aix specific files.
30701 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30702 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30703 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30704 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30705 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30706 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30707 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30708 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30710 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
30711 Roland McGrath <roland@hack.frob.com>
30713 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30714 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30716 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
30718 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30719 __executable_start symbol instead of _start.
30721 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
30723 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30724 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30726 * sysdeps/gnu/ldsodefs.h: ... this new file.
30728 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30729 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30730 instead of ELFOSABI_LINUX.
30732 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30733 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30734 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30735 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30737 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30738 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30739 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30741 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30742 (ibm_extended_long_double): Add ieee_nan member.
30743 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30744 (do_test): New function.
30746 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30748 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30749 functions, renamed from truncdfsf_test, trunctfsf_test,
30751 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30753 (do_test): Run all these.
30755 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
30757 * argp/argp-help.c: Fix typos.
30758 * argp/argp-parse.c: Likewise.
30759 * debug/backtracesyms.c: Likewise.
30760 * elf/elf.h: Likewise.
30761 * malloc/malloc.c: Likewise.
30762 * nis/nis_print.c: Likewise.
30763 * resolv/res_comp.c: Likewise.
30764 * stdlib/stdlib.h: Likewise.
30765 * sunrpc/clnt_tcp.c: Likewise.
30766 * sunrpc/clnt_udp.c: Likewise.
30767 * sunrpc/clnt_unix.c: Likewise.
30768 * sysdeps/unix/bsd/ptsname.c: Likewise.
30769 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30770 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30777 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30779 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30781 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30784 2013-08-27 Mike Frysinger <vapier@gentoo.org>
30787 * dlfcn/Makefile (tests): Add bug-dl-leaf.
30788 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30789 ($(objpfx)bug-dl-leaf): New rule.
30790 ($(objpfx)bug-dl-leaf.so): Likewise.
30791 ($(objpfx)bug-dl-leaf.out): Likewise.
30792 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30793 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30794 * dlfcn/bug-dl-leaf.c: New test.
30795 * dlfcn/bug-dl-leaf-lib.c: Likewise.
30796 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30797 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30798 (dlclose): Likewise.
30799 (dlmopen): Likewise.
30801 2013-08-27 Roland McGrath <roland@hack.frob.com>
30803 * include/netdb.h [!_ISOMAC]:
30804 Don't include <tls.h>.
30805 (h_errno, __libc_h_errno): Move declaration and macros out of
30808 * include/resolv.h [_RESOLV_H_]:
30809 Don't include <tls.h>.
30810 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30811 * resolv/res_libc.c: Don't include <tls.h>.
30812 (_res): Use __attribute__ ((nocommon)) in place of
30813 __attribute__ ((section (".bss"))).
30815 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30816 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30818 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30820 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30821 only under [SIOCGIFCONF && SIOCGIFNETMASK].
30823 * resolv/res_mkquery.c: Include <sys/time.h>.
30825 * inet/ifreq.c: Moved to ...
30826 * sysdeps/unix/ifreq.c: ... here.
30827 * inet/ifreq.c: New file, true stub version.
30829 * socket/sa_len.c: New file.
30830 * socket/Makefile (aux): Add it.
30831 * sysdeps/unix/sysv/linux/Makefile
30832 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30833 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30834 and #include <socket/sa_len.c>.
30835 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30836 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30838 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30839 * bits/socket.h: ... here.
30841 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30842 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30843 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30845 2013-08-27 Andreas Schwab <schwab@suse.de>
30848 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30849 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30850 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30851 * string/test-strcasecmp.c (test_main): Run tests in several
30853 * string/test-strncasecmp.c (test_main): Likewise.
30855 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30856 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30857 to __strcasecmp_nonascii and __strncasecmp_nonascii.
30858 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30859 (__strncasecmp_ssse3) [PIC]: Likewise.
30861 2013-08-26 Roland McGrath <roland@hack.frob.com>
30863 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30865 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30866 instead of explicitly declaring xdecrypt.
30867 * nis/nss_nis/nis-publickey.c: Likewise.
30869 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30872 * nscd/aicache.c: Include res_hconf.h.
30873 (addhstaiX): Initialize res_hconf.
30875 2013-08-26 Andreas Schwab <schwab@suse.de>
30877 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30878 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30880 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30882 * nscd/aicache.c (addhstaiX): Fix indentation.
30884 2013-08-25 Mike Frysinger <vapier@gentoo.org>
30886 * configure.ac: Quote $build_pt_chown test.
30887 * configure: Regenerated.
30889 2013-08-23 Joseph Myers <joseph@codesourcery.com>
30892 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30893 * math/s_cexpf.c (__cexpf): Likewise.
30894 * math/s_cexpl.c (__cexpl): Likewise.
30895 * math/libm-test.inc (cexp_test_data): Correct expected return
30896 value for NaN + i0. Add another test.
30898 2013-08-22 David S. Miller <davem@davemloft.net>
30900 * po/ca.po: Update Catalan translation from translation project.
30901 * po/uk.po: Add Ukrainian translations from translation project.
30903 2013-08-21 Joseph Myers <joseph@codesourcery.com>
30906 * math/s_fdim.c (__fdim): Check for infinite arguments if result
30907 is infinite, not alongside NaN test.
30908 * math/s_fdimf.c (__fdimf): Likewise.
30909 * math/s_fdiml.c (__fdiml): Likewise.
30910 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
30911 errno is unchanged.
30913 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
30915 * argp/argp-help.c: Fix typos.
30916 * crypt/speeds.c: Likewise.
30917 * csu/check_fds.c: Likewise.
30918 * elf/dl-load.c: Likewise.
30919 * elf/dl-open.c: Likewise.
30920 * elf/reldep3.c: Likewise.
30921 * elf/reldep.c: Likewise.
30922 * elf/sprof.c: Likewise.
30923 * iconv/iconv_charmap.c: Likewise.
30924 * iconv/skeleton.c: Likewise.
30925 * iconv/strtab.c: Likewise.
30926 * io/lockf64.c: Likewise.
30927 * libio/libioP.h: Likewise.
30928 * resolv/gai_notify.c: Likewise.
30929 * resolv/ns_name.c: Likewise.
30930 * resolv/ns_samedomain.c: Likewise.
30931 * resolv/res_send.c: Likewise.
30932 * stdlib/random.c: Likewise.
30933 * sunrpc/rpc/xdr.h: Likewise.
30934 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30935 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30936 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30937 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30938 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30939 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30940 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30941 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30942 * sysdeps/mach/hurd/check_fds.c: Likewise.
30943 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30944 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30945 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30946 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30947 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30948 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30949 * sysdeps/pthread/aio_notify.c: Likewise.
30950 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30951 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30952 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30953 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30954 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30956 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30958 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30959 version if bit_Slow_SSE4_2 is set.
30960 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30961 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30963 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30966 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30967 trampoline stack frame information.
30968 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30969 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30970 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30971 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30972 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30973 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30974 (_libc_vdso_platform_setup): Initialize the signal trampolines.
30975 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30977 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30978 interrupting a syscall and set with option SA_SIGINFO.
30980 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30983 * math/s_cproj.c (__cproj): Only return an infinity if one part of
30984 argument is infinite.
30985 * math/s_cprojf.c (__cprojf): Likewise.
30986 * math/s_cprojl.c (__cprojl): Likewise.
30987 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30988 * math/libm-test.inc (cproj_test_data): Add more tests.
30990 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30992 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30993 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30994 size. Use __ffs to determine corresponding shift.
30996 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30997 Roland McGrath <roland@hack.frob.com>
30999 * Makefile (INSTALL): Remove trailing blank lines from output of
31002 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31004 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31005 Align 32 bit compat elf_greg to 8 bytes.
31007 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
31009 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31011 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31013 * string/strcoll_l.c (coll_seq): New structure.
31014 (get_next_seq_cached): New function.
31015 (get_next_seq): New function.
31016 (do_compare): New function.
31017 (STRCOLL): Use GNU style definition. Simplify implementation
31018 by using get_next_seq, get_next_seq_cached and do_compare.
31020 2013-08-16 Florian Weimer <fweimer@redhat.com>
31024 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31026 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31028 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31029 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31030 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
31032 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31033 GETDENTS_64BIT_ALIGNED.
31034 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31035 * manual/filesys.texi (Reading/Closing Directory): Document
31036 ENAMETOOLONG return value of readdir_r. Recommend readdir more
31038 * manual/conf.texi (Limits for Files): Add portability note to
31039 NAME_MAX, PATH_MAX.
31040 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31042 2013-08-13 Andreas Schwab <schwab@suse.de>
31045 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31047 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31048 LDBL_MAX_EXP >= 16384]: Add tests for it.
31050 2013-08-12 David S. Miller <davem@davemloft.net>
31052 * version.h (RELEASE): Set to "development".
31053 (VERSION): Set to "2.18.90".
31054 * NEWS: Add 2.19 section.
31056 2013-08-03 David S. Miller <davem@davemloft.net>
31058 * po/ko.po: Update Korean translation from translation project.
31060 2013-08-01 David S. Miller <davem@davemloft.net>
31062 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
31063 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31066 2013-07-30 David S. Miller <davem@davemloft.net>
31068 * po/fr.po: Update French translation from translation project.
31070 2013-07-28 David S. Miller <davem@davemloft.net>
31072 * po/cs.po: Update Czech translation from translation project.
31074 * po/sv.po: Update Swedish translation from translation project.
31076 2013-07-27 David S. Miller <davem@davemloft.net>
31078 * po/eo.po: Update Esperanto translation from translation project.
31080 * po/vi.po: Update Vietnamese translation from translation project.
31082 * po/de.po: Update German translation from translation project.
31084 2013-07-26 David S. Miller <davem@davemloft.net>
31086 * po/bg.po: Update Bulgarian translation from translation project.
31088 * po/nl.po: Update Dutch translation from translation project.
31089 * po/pl.po: Update Polish translation from translation project.
31090 * po/ru.po: Update Russian translation from translation project.
31092 2013-07-24 David S. Miller <davem@davemloft.net>
31094 * po/libc.pot: Update.
31096 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31098 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31099 variable page size.
31100 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31101 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31102 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31104 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31106 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31108 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31109 Andreas Schwab <schwab@suse.de>
31110 Roland McGrath <roland@hack.frob.com>
31111 Joseph Myers <joseph@codesourcery.com>
31112 Carlos O'Donell <carlos@redhat.com>
31115 * config.h.in: Define HAVE_PT_CHOWN.
31116 * config.make.in (build-pt-chown): New variable.
31117 * configure.in (--enable-pt_chown): New configure option.
31118 * configure: Regenerate.
31119 * login/Makefile: Include Makeconfig. Build pt_chown only if
31120 build-pt-chown is enabled.
31121 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31122 pt_chown to fix pty ownership.
31123 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31125 * manual/install.texi (Configuring and compiling): Mention
31126 --enable-pt_chown. Add @findex for grantpt.
31127 * INSTALL: Regenerate.
31129 2013-07-20 David S. Miller <davem@davemloft.net>
31131 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31132 difference between 32-bit and 64-bit.
31134 2013-07-15 Carlos O'Donell <carlos@redhat.com>
31137 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31138 Avoid system header dependency with -ffreestanding.
31139 ($(objpfx)bits/syscall%d): Likewise.
31141 2013-07-13 David S. Miller <davem@davemloft.net>
31143 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31144 underflows from atanl/atan2l due to bug 15319.
31145 (casinh_test_data): Likewise.
31147 2013-07-07 David S. Miller <davem@davemloft.net>
31149 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31151 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
31153 * sysdeps/i386/fpu/libm-test-ulps: Update.
31154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31156 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31158 * configure.in (--enable-lock-elision): Fix message text.
31159 * INSTALL: Regenerate.
31160 * configure: Regenerate.
31162 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31166 2013-07-03 Andreas Jaeger <aj@suse.de>
31168 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31170 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31171 (ptrace_peeksiginfo_args): Add.
31172 (__ptrace_peeksiginfo_flags): Add.
31173 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31174 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31175 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31177 2013-07-03 Allan McRae <allan@archlinux.org>
31179 * sysdeps/i386/fpu/libm-test-ulps: Update.
31181 2013-07-02 David S. Miller <davem@davemloft.net>
31183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31185 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
31187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31189 2013-07-02 Joseph Myers <joseph@codesourcery.com>
31191 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31194 2013-07-02 Andi Kleen <ak@linux.intel.com>
31196 * config.h.in (ENABLE_LOCK_ELISION): Add.
31197 * configure.in (--enable-lock-elision): Add option.
31198 * manual/install.texi: Document --enable lock elision.
31199 * configure: Regenerate
31200 * INSTALL: Regenerate.
31202 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
31204 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31205 SSE4.2 strcasecmp for libc.a.
31206 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31208 2013-07-02 Joseph Myers <joseph@codesourcery.com>
31211 * soft-fp/op-common.h (_FP_FMA): New macro.
31212 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31213 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
31214 (_FP_MUL_MEAT_1_imm): ... here.
31215 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
31216 (_FP_MUL_MEAT_1_wide): ... here.
31217 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
31218 (_FP_MUL_MEAT_1_hard): ... here.
31219 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31220 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
31221 (_FP_MUL_MEAT_2_wide): ... here.
31222 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
31223 (_FP_MUL_MEAT_2_wide_3mul): ... here.
31224 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
31225 (_FP_MUL_MEAT_2_gmp): ... here.
31226 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31227 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
31228 (_FP_MUL_MEAT_4_wide): ... here.
31229 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
31230 (_FP_MUL_MEAT_4_gmp): ... here.
31231 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31232 (_FP_WFRACBITS_DW_S): Likewise.
31233 (_FP_WFRACXBITS_DW_S): Likewise.
31234 (_FP_HIGHBIT_DW_S): Likewise.
31235 (FP_FMA_S): Likewise.
31236 (_FP_FRAC_HIGH_DW_S): Likewise.
31237 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31238 (_FP_WFRACBITS_DW_D): Likewise.
31239 (_FP_WFRACXBITS_DW_D): Likewise.
31240 (_FP_HIGHBIT_DW_D): Likewise.
31241 (FP_FMA_D): Likewise.
31242 (_FP_FRAC_HIGH_DW_D): Likewise.
31243 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31244 (_FP_WFRACBITS_DW_E): Likewise.
31245 (_FP_WFRACXBITS_DW_E): Likewise.
31246 (_FP_HIGHBIT_DW_E): Likewise.
31247 (FP_FMA_E): Likewise.
31248 (_FP_FRAC_HIGH_DW_E): Likewise.
31249 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31250 (_FP_WFRACBITS_DW_Q): Likewise.
31251 (_FP_WFRACXBITS_DW_Q): Likewise.
31252 (_FP_HIGHBIT_DW_Q): Likewise.
31253 (FP_FMA_Q): Likewise.
31254 (_FP_FRAC_HIGH_DW_Q): Likewise.
31255 * soft-fp/fmasf4.c: New file.
31256 * soft-fp/fmadf4.c: Likewise.
31257 * soft-fp/fmatf4.c: Likewise.
31259 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31262 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31264 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31266 (index_Slow_SSE4_2): Likewise.
31267 (index_Prefer_PMINUB_for_stringop): Likewise.
31268 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31269 bit_Slow_SSE4_2 is set.
31270 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31271 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31273 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31275 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31276 rtld_global._dl_hwcap2.
31277 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31279 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31280 POWER8 feature descriptions defined in _dl_hwcap2.
31281 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31282 string handling for POWER8 feature bits.
31283 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31284 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31285 _dl_powerpc_cap_flags.
31286 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31287 * sysdeps/powerpc/rtld-global-offsets.sym
31288 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31289 _dl_hwcap2 in the rtld_global_ro structure.
31291 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31293 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31294 hardware capabilities in support of AT_HWCAP2.
31295 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31296 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31298 (_dl_show_auxv): Add support for calling _dl_procinfo to display
31299 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
31300 explicitly the unknown a_type display mechanism is used.
31301 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31302 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31304 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31305 to macro prototype for AT_HWCAP2 support.
31306 * sysdeps/i386/dl-procinfo.h: Likewise.
31307 * sysdeps/s390/dl-procinfo.h: Likewise.
31308 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31309 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
31310 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
31311 return -1 for unknown a_type display fallback.
31312 * sysdeps/sparc/dl-procinfo.h: Likewise.
31313 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31314 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31316 2013-06-28 Joseph Myers <joseph@codesourcery.com>
31318 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31319 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31321 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
31324 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31325 mprotect making __stack_prot writable.
31327 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
31328 Joseph Myers <joseph@codesourcery.com>
31330 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31331 as being properly aligned.
31333 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
31335 * dlfcn/modstatic5.c: New file.
31336 * dlfcn/tststatic5.c: New file.
31337 * dlfcn/Makefile (tests): Add tststatic5.
31338 (tests-static): Likewise.
31339 (modules-names): Add modstatic5.
31340 (tststatic5-ENV): New variable.
31341 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31344 * elf/dl-support.c (_dl_main_map): New variable.
31345 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31346 (_dl_nns, _dl_load_adds): Set to 1.
31347 (_dl_initial_searchlist): Refer to _dl_main_map.
31348 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31349 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31350 call to _dl_get_origin.
31351 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31353 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31354 * dlfcn/modstatic3.c: New file.
31355 * dlfcn/tststatic3.c: New file.
31356 * dlfcn/tststatic4.c: New file.
31357 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31358 (tests-static): Likewise.
31359 (modules-names): Add modstatic3.
31360 (tststatic3-ENV, tststatic4-ENV): New variables.
31361 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31362 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31364 2013-06-26 Joseph Myers <joseph@codesourcery.com>
31366 * configure.in (CC): Require GCC version 4.4 or later.
31367 * configure: Regenerated.
31368 * manual/install.texi (Tools for Compilation): Update GCC version
31370 * INSTALL: Regenerated.
31372 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31375 * string/test-memcmp.c (check2): New.
31376 (main): Call check2.
31378 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
31380 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
31383 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
31385 (dl_open_worker) [!SHARED]: ... here.
31387 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31389 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
31391 2013-06-25 Richard Henderson <rth@redhat.com>
31393 * locale/programs/locarchive.c: Include <libc-internal.h>
31395 2013-06-25 Joseph Myers <joseph@codesourcery.com>
31397 * manual/texinfo.tex: Update to version 2013-06-21.17, with
31398 trailing whitespace removed.
31400 2013-06-24 Mike Frysinger <vapier@gentoo.org>
31403 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
31404 * locale/programs/locarchive.c: Include libc-mmap.h.
31405 (prepare_address_space): Take two new outputs (the mmap base and len).
31406 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
31408 (create_archive): Declare new mmap base and len values for
31409 prepare_address_space, and store the result in ah.
31410 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
31411 (enlarge_archive): If ah->mmap_base is not NULL, use that and
31412 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31413 Declare new mmap base and len values for
31414 prepare_address_space, and store the result in new_ah.
31415 (open_archive): Declare new mmap base and len values for
31416 prepare_address_space, and store the result in ah.
31417 (close_archive): If ah->mmap_base is not NULL, use that and
31418 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31419 * sysdeps/generic/libc-mmap.h: New file.
31421 2013-06-24 Mike Frysinger <vapier@gentoo.org>
31423 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
31424 (ALIGN_UP): Likewise.
31425 (PTR_ALIGN_DOWN): Likewise.
31426 (PTR_ALIGN_UP): Likewise.
31428 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31430 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
31431 entry mapped to PPC_PLATFORM_POWER8.
31432 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
31434 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
31435 (_dl_string_platform): Add case for exporting platform position for
31437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
31438 search path to sysdeps/powerpc/powerpc32/power8 directory.
31439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
31440 search path to sysdeps/powerpc/powerpc64/power8 directory.
31441 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
31442 power7 directories.
31443 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
31444 power7 directories.
31446 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31448 * INSTALL: Regenerate.
31450 * nscd/connections.c (nscd_init): Fix comment.
31452 2013-06-22 Joseph Myers <joseph@codesourcery.com>
31454 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31457 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31458 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31460 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
31462 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31464 (DL_DST_REQ_STATIC): Remove macro.
31466 2013-06-21 Joseph Myers <joseph@codesourcery.com>
31469 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31470 with a shift of 0 bits.
31472 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
31474 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31477 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31480 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31482 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31484 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31485 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31486 accepts -fno-tree-loop-distribute-patterns.
31487 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31488 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31490 * string/memset.c (memset): Likewise.
31491 * string/test-memmove.c (simple_memmove): Disable loop transformation
31493 * string/test-memset.c (simple_memset): Likewise.
31494 * benchtests/bench-memmove.c (simple_memmove): Likewise.
31495 * benchtests/bench-memset.c (simple_memset): Likewise.
31496 * configure: Regenerated.
31498 2013-06-20 Joseph Myers <joseph@codesourcery.com>
31500 * math/test-misc.c (main): Ignore fesetround failure when failures
31501 of subsequent rounding tests would be ignored.
31504 * math/fedisblxcpt.c (fedisableexcept): Return 0.
31505 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31506 * math/fegetenv.c (__fegetenv): Return 0.
31507 * math/fegetexcept.c (fegetexcept): Return 0.
31508 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31510 * math/feholdexcpt.c (feholdexcept): Return 0.
31511 * math/fesetenv.c (__fesetenv): Return 0.
31512 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31513 argument FE_TONEAREST.
31514 * math/feupdateenv.c (__feupdateenv): Return 0.
31515 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31517 2013-06-18 Roland McGrath <roland@hack.frob.com>
31519 * elf/rtld-Rules (rtld-compile-command.S): New variable.
31520 (rtld-compile-command.s, rtld-compile-command.c): New variables.
31521 ($(objpfx)rtld-%.os rules): Use them.
31523 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31525 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31528 2013-06-17 Roland McGrath <roland@hack.frob.com>
31530 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31531 length of target pattern, then descending length of dependency pattern.
31532 * configure.in (AWK): Require gawk 3.1.2 or newer.
31533 * manual/install.texi (Tools for Compilation): Say that we do.
31534 * configure: Regenerated.
31536 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31537 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31538 * scripts/sysd-rules.awk: ... this new script.
31539 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31540 than a glob-style pattern.
31542 2013-06-17 Joseph Myers <joseph@codesourcery.com>
31544 * math/test-misc.c (main): Do not treat incorrectly rounded
31545 conversions as failure unless ROUNDING_TESTS passes.
31547 2013-06-15 Joseph Myers <joseph@codesourcery.com>
31550 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31551 restore exception state around main square root computation, then
31552 check for inexactness explicitly.
31554 * math/libm-test.inc (fma_test_data): Add another test.
31556 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31558 * manual/threads.texi (Non-POSIX Extensions): New document
31559 node. Document pthread_getattr_default_np and
31560 pthread_setattr_default_np.
31562 * Versions.def (libpthread): Add GLIBC_2.18.
31563 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31572 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31583 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31586 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31588 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31589 H.J. Lu <hjl.tools@gmail.com>
31592 * sysdeps/x86_64/rtld-memset.c: Remove file.
31593 * sysdeps/x86_64/rtld-memset.S: New file.
31595 2013-06-14 Joseph Myers <joseph@codesourcery.com>
31597 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31598 (test_in_one_mode): Take arguments for whether the rounding mode
31599 is supported for each floating-point type.
31600 (do_test): Pass new arguments to test_in_one_mode using
31603 2013-06-13 Roland McGrath <roland@hack.frob.com>
31605 * posix/tst-waitid.c (do_test): Distinguish different instances of
31606 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
31607 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31608 before entering the kernel for waitpid.
31610 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31612 * NEWS: Fix note on clock function precision. Text by Roland
31615 2013-06-13 Roland McGrath <roland@hack.frob.com>
31617 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31618 it into place only when and if the sanity check passes.
31620 2013-06-13 Joseph Myers <joseph@codesourcery.com>
31622 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31623 output for whether conversion result is exact. Take argument
31624 indicating whether type is IBM long double.
31625 (round_for_all): Change need_exact field to ibm_ld.
31626 * stdlib/tst-strtod-round.c (struct exactness): New type.
31627 (struct test): Change bool ld_ok field to struct exactness exact.
31628 (TEST): Update all definitions for change to field.
31629 (tests): Regenerate array contents.
31630 (test_in_one_mode): Take pointer to new field instead of old ld_ok
31631 field value. Check for IBM long double here.
31632 (do_test): Update calls to test_in_one_mode.
31634 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31637 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31638 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31640 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31643 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31644 generated by the compiler on loop optimizations.
31645 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31646 general definitions.
31648 2013-06-12 Joseph Myers <joseph@codesourcery.com>
31650 * math/bug-nextafter.c: Include <math-tests.h>.
31651 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31653 * math/bug-nexttoward.c: Include <math-tests.h>.
31654 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31656 * math/test-misc.c: Include <math-tests.h>.
31657 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31660 2013-06-12 Andreas Jaeger <aj@suse.de>
31662 * po/ia.po: Update Interlingua translation from translation
31665 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31667 * include/fenv.h: Include stdbool.h.
31668 (struct rm_ctx): New structure.
31669 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31671 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31672 (SET_RESTORE_ROUNDF): Likewise.
31673 (SET_RESTORE_ROUNDL): Likewise.
31674 (SET_RESTORE_ROUND_NOEX): Likewise.
31675 (SET_RESTORE_ROUND_NOEXF): Likewise.
31676 (SET_RESTORE_ROUND_NOEXL): Likewise.
31677 (SET_RESTORE_ROUND_53BIT): Likewise.
31678 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31679 (libc_feresetround_noexf_ctx): Likewise.
31680 (libc_feresetround_noexl_ctx): Likewise.
31681 (libc_feholdsetround_53bit_ctx): Likewise.
31682 (libc_feresetround_53bit_ctx): Likewise.
31683 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31684 (libc_feholdexcept_setround_sse_ctx): New function.
31685 (libc_fesetenv_sse_ctx): Likewise.
31686 (libc_feupdateenv_sse_ctx): Likewise.
31687 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31688 (libc_feholdexcept_setround_387_ctx): Likewise.
31689 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31690 (libc_feholdsetround_387_prec_ctx): Likewise.
31691 (libc_feholdsetround_387_ctx): Likewise.
31692 (libc_feholdsetround_387_53bit_ctx): Likewise.
31693 (libc_feholdsetround_sse_ctx): Likewise.
31694 (libc_feresetround_sse_ctx): Likewise.
31695 (libc_feresetround_387_ctx): Likewise.
31696 (libc_feupdateenv_387_ctx): Likewise.
31697 (libc_feholdexcept_setroundf_ctx): Define macro.
31698 (libc_fesetenvf_ctx): Likewise.
31699 (libc_feupdateenvf_ctx): Likewise.
31700 (libc_feholdsetroundf_ctx): Likewise.
31701 (libc_feresetroundf_ctx): Likewise.
31702 (libc_feholdexcept_setround_ctx): Likewise.
31703 (libc_fesetenv_ctx): Likewise.
31704 (libc_feupdateenv_ctx): Likewise.
31705 (libc_feholdsetround_ctx): Likewise.
31706 (libc_feresetround_ctx): Likewise.
31707 (libc_feholdexcept_setroundl_ctx): Likewise.
31708 (libc_feupdateenvl_ctx): Likewise.
31709 (libc_feholdsetroundl_ctx): Likewise.
31710 (libc_feresetroundl_ctx): Likewise.
31711 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31712 (libc_feresetround_53bit_ctx): Likewise.
31714 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31716 * locale/iso-639.def: Convert to UTF-8.
31718 2013-06-11 Joseph Myers <joseph@codesourcery.com>
31720 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31721 (EXCEPTION_TESTS_double): Likewise.
31722 (EXCEPTION_TESTS_long_double): Likewise.
31723 (EXCEPTION_TESTS): Likewise.
31724 * math/libm-test.inc (test_exceptions): Only test exceptions if
31725 EXCEPTION_TESTS (FLOAT).
31727 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31729 * benchtests/Makefile (string-bench): Add strcpy_chk and
31731 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31732 * benchtests/bench-stpcpy_chk.c: New file.
31733 * benchtests/bench-strcpy_chk-ifunc.c: New file.
31734 * benchtests/bench-strcpy_chk.c: New file.
31735 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31737 (do_test): Likewise.
31739 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31741 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31742 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31743 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31744 with tabs where appropriate.
31745 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31747 [PPC_PLATFORM_PPC440]: Likewise.
31748 [PPC_PLATFORM_PPC464]: Likewise.
31749 [PPC_PLATFORM_PPC476]: Likewise.
31750 (_dl_string_platform): Add support for detecting ppc405, ppc440,
31751 ppc464, and ppc476 platform strings merging from ports/
31754 2013-06-11 Andreas Schwab <schwab@suse.de>
31757 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31758 (from_ucs4_idx): Regenerate.
31759 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31760 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31761 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31762 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31763 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31764 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31765 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31766 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31767 from FROM_LOOP and TO_LOOP specific macros.
31768 (BODY): Handle combining characters.
31769 * iconvdata/BIG5HKSCS.irreversible: Update.
31770 * iconvdata/BIG5HKSCS.precomposed: New file.
31771 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31773 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31775 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31777 * include/sys/time.h: Fix indentation and add copyright header.
31779 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31780 (do_test): Likewise.
31781 * string/test-memchr.c (do_one_test): Likewise.
31782 (do_test): Likewise.
31783 * string/test-memcmp.c (do_one_test): Likewise.
31784 (do_test): Likewise.
31785 * string/test-memcpy.c (do_one_test): Likewise.
31786 (do_test): Likewise.
31787 * string/test-memmem.c (do_one_test): Likewise.
31788 (do_test): Likewise.
31789 (do_random_tests): Likewise.
31790 * string/test-memmove.c (do_one_test): Likewise.
31791 (do_test): Likewise.
31792 * string/test-memset.c (do_one_test): Likewise.
31793 (do_test): Likewise.
31794 * string/test-rawmemchr.c (do_one_test): Likewise.
31795 (do_test): Likewise.
31796 * string/test-strcasecmp.c (do_one_test): Likewise.
31797 (do_test): Likewise.
31798 * string/test-strcasestr.c (do_one_test): Likewise.
31799 (do_test): Likewise.
31800 * string/test-strcat.c (do_one_test): Likewise.
31801 (do_test): Likewise.
31802 * string/test-strchr.c (do_one_test): Likewise.
31803 (do_test): Likewise.
31804 * string/test-strcmp.c (do_one_test): Likewise.
31805 (do_test): Likewise.
31806 * string/test-strcpy.c (do_one_test): Likewise.
31807 (do_test): Likewise.
31808 * string/test-string.h: Likewise.
31809 (test_init): Likewise.
31810 * string/test-strlen.c (do_one_test): Likewise.
31811 (do_test): Likewise.
31812 * string/test-strncasecmp.c (do_one_test): Likewise.
31813 (do_test): Likewise.
31814 * string/test-strncat.c (do_one_test): Likewise.
31815 (do_test): Likewise.
31816 * string/test-strncmp.c (do_one_test): Likewise.
31817 (do_test_limit): Likewise.
31818 (do_test): Likewise.
31819 * string/test-strncpy.c (do_one_test): Likewise.
31820 (do_test): Likewise.
31821 * string/test-strnlen.c (do_one_test): Likewise.
31822 (do_test): Likewise.
31823 * string/test-strpbrk.c (do_one_test): Likewise.
31824 (do_test): Likewise.
31825 * string/test-strrchr.c (do_one_test): Likewise.
31826 (do_test): Likewise.
31827 * string/test-strspn.c (do_one_test): Likewise.
31828 (do_test): Likewise.
31829 * string/test-strstr.c (do_one_test): Likewise.
31830 (do_test): Likewise.
31832 * benchtests/Makefile (string-bench): Add string benchmarks.
31833 * benchtests/bench-bcopy-ifunc.c: New file.
31834 * benchtests/bench-bcopy.c: New file.
31835 * benchtests/bench-bzero-ifunc.c: New file.
31836 * benchtests/bench-bzero.c: New file.
31837 * benchtests/bench-memccpy-ifunc.c: New file.
31838 * benchtests/bench-memccpy.c: New file.
31839 * benchtests/bench-memchr-ifunc.c: New file.
31840 * benchtests/bench-memchr.c: New file.
31841 * benchtests/bench-memcmp-ifunc.c: New file.
31842 * benchtests/bench-memcmp.c: New file.
31843 * benchtests/bench-memmem-ifunc.c: New file.
31844 * benchtests/bench-memmem.c: New file.
31845 * benchtests/bench-memmove-ifunc.c: New file.
31846 * benchtests/bench-memmove.c: New file.
31847 * benchtests/bench-mempcpy-ifunc.c: New file.
31848 * benchtests/bench-mempcpy.c: New file.
31849 * benchtests/bench-memset-ifunc.c: New file.
31850 * benchtests/bench-memset.c: New file.
31851 * benchtests/bench-rawmemchr-ifunc.c: New file.
31852 * benchtests/bench-rawmemchr.c: New file.
31853 * benchtests/bench-stpcpy-ifunc.c: New file.
31854 * benchtests/bench-stpcpy.c: New file.
31855 * benchtests/bench-stpncpy-ifunc.c: New file.
31856 * benchtests/bench-stpncpy.c: New file.
31857 * benchtests/bench-strcasecmp-ifunc.c: New file.
31858 * benchtests/bench-strcasecmp.c: New file.
31859 * benchtests/bench-strcasestr-ifunc.c: New file.
31860 * benchtests/bench-strcasestr.c: New file.
31861 * benchtests/bench-strcat-ifunc.c: New file.
31862 * benchtests/bench-strcat.c: New file.
31863 * benchtests/bench-strchr-ifunc.c: New file.
31864 * benchtests/bench-strchr.c: New file.
31865 * benchtests/bench-strchrnul-ifunc.c: New file.
31866 * benchtests/bench-strchrnul.c: New file.
31867 * benchtests/bench-strcmp-ifunc.c: New file.
31868 * benchtests/bench-strcmp.c: New file.
31869 * benchtests/bench-strcpy-ifunc.c: New file.
31870 * benchtests/bench-strcpy.c: New file.
31871 * benchtests/bench-strcspn-ifunc.c: New file.
31872 * benchtests/bench-strcspn.c: New file.
31873 * benchtests/bench-strlen-ifunc.c: New file.
31874 * benchtests/bench-strlen.c: New file.
31875 * benchtests/bench-strncasecmp-ifunc.c: New file.
31876 * benchtests/bench-strncasecmp.c: New file.
31877 * benchtests/bench-strncat-ifunc.c: New file.
31878 * benchtests/bench-strncat.c: New file.
31879 * benchtests/bench-strncmp-ifunc.c: New file.
31880 * benchtests/bench-strncmp.c: New file.
31881 * benchtests/bench-strncpy-ifunc.c: New file.
31882 * benchtests/bench-strncpy.c: New file.
31883 * benchtests/bench-strnlen-ifunc.c: New file.
31884 * benchtests/bench-strnlen.c: New file.
31885 * benchtests/bench-strpbrk-ifunc.c: New file.
31886 * benchtests/bench-strpbrk.c: New file.
31887 * benchtests/bench-strrchr-ifunc.c: New file.
31888 * benchtests/bench-strrchr.c: New file.
31889 * benchtests/bench-strspn-ifunc.c: New file.
31890 * benchtests/bench-strspn.c: New file.
31891 * benchtests/bench-strstr-ifunc.c: New file.
31892 * benchtests/bench-strstr.c: New file.
31894 * benchtests/Makefile: Disable parallel execution of targets.
31895 (string-bench): Add memcpy.
31896 (benchset): New variable to store a list of benchmark sets.
31897 (bench-func): Renamed from bench.
31898 (bench-set): New target.
31899 (bench): Depend on bench-func and bench-set.
31900 * benchtests/README: Add section on benchmark sets.
31901 * benchtests/bench-memcpy-ifunc.c: New file.
31902 * benchtests/bench-memcpy.c: New file.
31903 * benchtests/bench-string.h: New file.
31905 2013-06-11 Andreas Schwab <schwab@suse.de>
31908 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31909 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31910 values in the triple.
31911 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31912 terminator in the group key.
31914 2013-06-11 Andreas Jaeger <aj@suse.de>
31916 * po/zh_TW.po: Update Chinese (traditional) translation from
31917 translation project.
31919 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31921 * include/time.h (__clock_gettime): Add libc_hidden_proto.
31922 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31923 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
31924 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31925 (clock_getcpuclockid): Likewise.
31926 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31927 Add weak_alias and libc_hidden_def.
31928 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31929 * rt/clock_gettime.c (clock_gettime): Rename to
31930 __clock_gettime. Add weak_alias and libc_hidden_def.
31931 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31932 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31933 __clock_nanosleep. Add weak_alias and libc_hidden_def.
31934 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31935 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31937 * rt/clock_settime.c (clock_settime): Rename to
31938 __clock_settime. Add weak_alias and libc_hidden_def.
31939 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31941 2013-06-10 Joseph Myers <joseph@codesourcery.com>
31943 * mach/err_boot.sub: Remove trailing whitespace.
31944 * mach/err_ipc.sub: Likewise.
31945 * mach/err_mach.sub: Likewise.
31947 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31948 (ROUNDING_TESTS_double): Likewise.
31949 (ROUNDING_TESTS_long_double): Likewise.
31950 (ROUNDING_TESTS): Likewise.
31951 * math/libm-test.inc: Include <math-tests.h>.
31952 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31953 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31954 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31955 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31957 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31959 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31962 2013-06-08 Joseph Myers <joseph@codesourcery.com>
31964 * sysdeps/gnu/errlist.awk: Do not generate space at end of
31965 otherwise empty TRANS lines.
31966 * sysdeps/gnu/errlist.c: Regenerated.
31968 * catgets/gencat.c (error_print): Use (void) in function
31970 * crypt/crypt_util.c (__init_des): Likewise.
31971 * crypt/speeds.c (Stop): Likewise.
31973 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31974 * inet/ruserpass.c (token): Likewise.
31975 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31976 * intl/localealias.c (extend_alias_table): Likewise.
31977 * intl/plural-exp.c (init_germanic_plural): Likewise.
31978 * libio/fcloseall.c (__fcloseall): Likewise.
31979 * libio/genops.c (_IO_flush_all): Likewise.
31980 (_IO_flush_all_linebuffered): Likewise.
31981 (_IO_cleanup): Likewise.
31982 (_IO_iter_begin): Likewise.
31983 (_IO_iter_end): Likewise.
31984 (_IO_list_lock): Likewise.
31985 (_IO_list_unlock): Likewise.
31986 (_IO_list_resetlock): Likewise.
31987 * libio/getchar.c (getchar): Likewise.
31988 * libio/getchar_u.c (getchar_unlocked): Likewise.
31989 * libio/getwchar.c (getwchar): Likewise.
31990 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31991 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31992 * login/getpt.c (__getpt): Likewise.
31993 * login/tst-utmp.c (main): Likewise.
31994 * malloc/hooks.c (__malloc_check_init): Likewise.
31995 * malloc/malloc.c (__malloc_stats): Likewise.
31996 * malloc/mtrace.c (tr_break): Likewise.
31997 (mtrace): Likewise.
31998 (muntrace): Likewise.
31999 * misc/fstab.c (endfsent): Likewise.
32000 * misc/getclktck.c (__getclktck): Likewise.
32001 * misc/getdtsz.c (__getdtablesize): Likewise.
32002 * misc/gethostid.c (gethostid): Likewise.
32003 * misc/getpagesize.c (__getpagesize): Likewise.
32004 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32005 (__get_nprocs): Likewise.
32006 (__get_phys_pages): Likewise.
32007 (__get_avphys_pages): Likewise.
32008 * misc/getttyent.c (getttyent): Likewise.
32009 (setttyent): Likewise.
32010 (endttyent): Likewise.
32011 * misc/getusershell.c (getusershell): Likewise.
32012 (endusershell): Likewise.
32013 (setusershell): Likewise.
32014 (initshells): Likewise.
32015 * misc/hsearch.c (__hdestroy): Likewise.
32016 * misc/sync.c (sync): Likewise.
32017 * misc/syslog.c (closelog_internal): Likewise.
32018 (closelog): Likewise.
32019 * misc/ttyslot.c (ttyslot): Likewise.
32020 * misc/vhangup.c (vhangup): Likewise.
32021 * posix/fork.c (__fork): Likewise.
32022 * posix/getegid.c (__getegid): Likewise.
32023 * posix/geteuid.c (__geteuid): Likewise.
32024 * posix/getgid.c (__getgid): Likewise.
32025 * posix/getpid.c (__getpid): Likewise.
32026 * posix/getppid.c (__getppid): Likewise.
32027 * posix/getuid.c (__getuid): Likewise.
32028 * posix/pause.c (pause): Likewise.
32029 * posix/setpgrp.c (setpgrp): Likewise.
32030 * posix/setsid.c (__setsid): Likewise.
32031 * posix/test-vfork.c (noop): Likewise.
32032 * resolv/gethnamaddr.c (_endhtent): Likewise.
32033 (_gethtent): Likewise.
32034 (ht_endhostent): Likewise.
32035 (gethostent): Likewise.
32036 (dns_service): Likewise.
32037 * stdlib/drand48.c (drand48): Likewise.
32038 * stdlib/lrand48.c (lrand48): Likewise.
32039 * stdlib/mrand48.c (mrand48): Likewise.
32040 * stdlib/rand.c (rand): Likewise.
32041 * stdlib/random.c (__random): Likewise.
32042 * stdlib/setenv.c (clearenv): Likewise.
32043 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32044 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32045 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32046 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32047 (__get_nprocs): Likewise.
32048 (__get_phys_pages): Likewise.
32049 (__get_avphys_pages): Likewise.
32050 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32051 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32052 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32053 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32054 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32055 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32056 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32057 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32058 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32059 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32060 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32061 * sysdeps/mach/hurd/sync.c (sync): Likewise.
32062 * sysdeps/posix/clock.c (clock): Likewise.
32063 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32064 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32065 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32066 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32067 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32068 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32069 (__get_nprocs_conf): Likewise.
32070 (__get_phys_pages): Likewise.
32071 (__get_avphys_pages): Likewise.
32072 * time/clock.c (clock): Likewise.
32073 * time/tzset.c (__tzname_max): Likewise.
32075 2013-06-07 Joseph Myers <joseph@codesourcery.com>
32077 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32078 (__bswap_32): Do not use "register".
32079 * crypt/crypt.c (_ufc_doit_r): Likewise.
32080 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32081 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32082 * gmon/gmon.c (__monstartup): Likewise.
32083 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32084 * hurd/hurdmalloc.c (more_memory): Likewise.
32085 (malloc): Likewise.
32087 (realloc): Likewise.
32088 (malloc_fork_prepare): Likewise.
32089 (malloc_fork_parent): Likewise.
32090 (malloc_fork_child): Likewise.
32091 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32092 (_svcauth_des): Likewise.
32093 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32094 * inet/inet_net.c (inet_network): Likewise.
32095 * inet/inet_netof.c (inet_netof): Likewise.
32096 * inet/rcmd.c (__validuser2_sa): Likewise.
32097 * io/fts.c (fts_open): Likewise.
32098 (fts_load): Likewise.
32099 (fts_close): Likewise.
32100 (fts_read): Likewise.
32101 (fts_children): Likewise.
32102 (fts_build): Likewise.
32103 (fts_stat): Likewise.
32104 (fts_sort): Likewise.
32105 (fts_alloc): Likewise.
32106 (fts_lfree): Likewise.
32107 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32108 (_IO_file_xsgetn): Likewise.
32109 (_IO_file_xsgetn_mmap): Likewise.
32110 * libio/iofopncook.c (_IO_cookie_read): Likewise.
32111 (_IO_cookie_write): Likewise.
32112 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32113 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32114 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32115 * malloc/obstack.c (_obstack_begin): Likewise.
32116 (_obstack_begin_1): Likewise.
32117 (_obstack_newchunk): Likewise.
32118 (_obstack_allocated_p): Likewise.
32119 (obstack_free): Likewise.
32120 (_obstack_memory_used): Likewise.
32121 * misc/getttyent.c (getttynam): Likewise.
32122 (getttyent): Likewise.
32125 * misc/getusershell.c (initshells): Likewise.
32126 * misc/syslog.c (__vsyslog_chk): Likewise.
32127 * misc/ttyslot.c (ttyslot): Likewise.
32128 * nis/nis_hash.c (__nis_hash): Likewise.
32129 * posix/fnmatch_loop.c (FCT): Likewise.
32130 * posix/getconf.c (print_all): Likewise.
32132 * posix/getopt.c (exchange): Likewise.
32133 * posix/glob.c (globfree): Likewise.
32134 (prefix_array): Likewise.
32135 (__glob_pattern_type): Likewise.
32136 * resolv/arpa/nameser.h (NS_GET16): Likewise.
32137 (NS_GET32): Likewise.
32138 (NS_PUT16): Likewise.
32139 (NS_PUT32): Likewise.
32140 * resolv/gethnamaddr.c (getanswer): Likewise.
32141 (gethostbyname2): Likewise.
32142 (gethostbyaddr): Likewise.
32143 (_gethtent): Likewise.
32144 (_gethtbyname2): Likewise.
32145 (_gethtbyaddr): Likewise.
32146 * resolv/ns_print.c (dst_s_get_int16): Likewise.
32147 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32148 * resolv/res_init.c (__res_vinit): Likewise.
32149 (net_mask): Likewise.
32150 * resolv/res_mkquery.c (outchar): Likewise.
32152 * stdio-common/printf_fp.c (outchar): Likewise.
32154 * stdio-common/printf_fphex.c (outchar): Likewise.
32156 * stdio-common/printf_size.c (outchar): Likewise.
32158 * stdio-common/test_rdwr.c (main): Likewise.
32159 * stdio-common/tfformat.c (matches): Likewise.
32160 * stdio-common/vfprintf.c (outchar): Likewise.
32161 (printf_unknown): Likewise.
32162 (buffered_vfprintf): Likewise.
32163 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32164 * stdio-common/xbug.c (AppendToBuffer): Likewise.
32165 (ReadFile): Likewise.
32166 * stdlib/qsort.c (SWAP): Likewise.
32167 (_quicksort): Likewise.
32168 * stdlib/setenv.c (__add_to_environ): Likewise.
32169 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32170 * stdlib/strtol_l.c (__strtol_l): Likewise.
32171 * stdlib/tst-strtod.c (main): Likewise.
32172 * stdlib/tst-strtol.c (main): Likewise.
32173 * stdlib/tst-strtoll.c (main): Likewise.
32174 * string/bits/string2.h (__strcmp_cc): Likewise.
32175 (__strcmp_cg): Likewise.
32176 (__strcspn_c1): Likewise.
32177 (__strcspn_c2): Likewise.
32178 (__strcspn_c3): Likewise.
32179 (__strspn_c1): Likewise.
32180 (__strspn_c2): Likewise.
32181 (__strspn_c3): Likewise.
32182 (__strsep_1c): Likewise.
32183 (__strsep_2c): Likewise.
32184 (__strsep_3c): Likewise.
32185 * string/memccpy.c (__memccpy): Likewise.
32186 * string/stpcpy.c (__stpcpy): Likewise.
32187 * string/strcmp.c (strcmp): Likewise.
32188 * string/strrchr.c (strrchr): Likewise.
32189 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32191 * sysdeps/mach/hurd/getcwd.c
32192 (_hurd_canonicalize_directory_name_internal): Likewise.
32193 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32194 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32195 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32196 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32197 Likewise, in both definitions.
32198 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32200 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32201 64] (__bswap_64): Likewise.
32202 * time/test_time.c (main): Likewise.
32203 * time/tzfile.c (__tzfile_read): Likewise.
32204 (__tzfile_compute): Likewise.
32205 * time/tzset.c (__tzset_parse_tz): Likewise.
32206 (tzset_internal): Likewise.
32207 (compute_change): Likewise.
32208 * wcsmbs/wcscat.c (__wcscat): Likewise.
32209 * wcsmbs/wcschr.c (wcschr): Likewise.
32210 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32211 * wcsmbs/wcscspn.c (wcscspn): Likewise.
32212 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32213 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32214 * wcsmbs/wcsspn.c (wcsspn): Likewise.
32215 * wcsmbs/wcsstr.c (wcsstr): Likewise.
32216 * wcsmbs/wmemchr.c (wmemchr): Likewise.
32217 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32218 * wcsmbs/wmemset.c (wmemset): Likewise.
32220 2013-06-06 Joseph Myers <joseph@codesourcery.com>
32222 * scripts/config.guess: Update to version 2013-05-16.
32223 * scripts/config.sub: Update to version 2013-04-24.
32224 * scripts/install-sh: Update to version 2011-11-20.07.
32225 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32226 * scripts/move-if-change: Update to version 2012-01-06 07:23.
32228 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
32230 * debug/fgetws_u_chk.c: Fix leading whitespaces.
32231 * elf/sln.c: Likewise.
32232 * hurd/hurd/ioctl.h: Likewise.
32233 * hurd/hurdmalloc.c: Likewise.
32234 * hurd/xattr.c: Likewise.
32235 * include/shlib-compat.h: Likewise.
32236 * inet/ruserpass.c: Likewise.
32237 * libio/iofgets_u.c: Likewise.
32238 * libio/iofgetws_u.c: Likewise.
32239 * locale/programs/ld-identification.c: Likewise.
32240 * locale/programs/ld-time.c: Likewise.
32241 * mach/msg-destroy.c: Likewise.
32242 * nss/nss_files/files-netgrp.c: Likewise.
32243 * resolv/res_data.c: Likewise.
32244 * soft-fp/op-1.h: Likewise.
32245 * soft-fp/op-2.h: Likewise.
32246 * soft-fp/op-4.h: Likewise.
32247 * soft-fp/op-common.h: Likewise.
32248 * stdio-common/printf_fphex.c: Likewise.
32249 * stdlib/strtod_l.c: Likewise.
32250 * sunrpc/rpc/clnt.h: Likewise.
32251 * sysdeps/generic/framestate.c: Likewise.
32252 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32253 * sysdeps/i386/bsd-setjmp.S: Likewise.
32254 * sysdeps/i386/__longjmp.S: Likewise.
32255 * sysdeps/i386/setjmp.S: Likewise.
32256 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32257 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32258 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32259 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32260 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32261 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32262 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32263 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32264 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32265 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32266 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32267 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32268 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32269 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32270 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32271 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32272 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32273 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32274 * sysdeps/ieee754/support.c: Likewise.
32275 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32276 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32277 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32278 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32279 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32280 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32281 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32282 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32283 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32284 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32285 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32286 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32287 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32288 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32289 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32290 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32291 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32294 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
32296 * posix/transbug.c: Remove executable mode.
32298 2013-06-05 Joseph Myers <joseph@codesourcery.com>
32300 * crypt/speeds.c: Remove trailing whitespace.
32301 * dlfcn/default.c: Likewise.
32302 * elf/ifuncdep2.c: Likewise.
32303 * elf/ifuncmain1.c: Likewise.
32304 * elf/ifuncmain1vis.c: Likewise.
32305 * elf/testobj.h: Likewise.
32306 * elf/tst-stackguard1.c: Likewise.
32307 * gmon/sys/gmon.h: Likewise.
32308 * hurd/hurdmsg.c: Likewise.
32309 * hurd/new-fd.c: Likewise.
32310 * hurd/ports-get.c: Likewise.
32311 * iconvdata/ibm1008_420.c: Likewise.
32312 * inet/tst-getni1.c: Likewise.
32313 * inet/tst-getni2.c: Likewise.
32314 * libio/ioungetc.c: Likewise.
32315 * libio/wfiledoalloc.c: Likewise.
32316 * manual/libm-err-tab.pl: Likewise.
32317 * math/w_dremf.c: Likewise.
32318 * misc/ftruncate.c: Likewise.
32319 * posix/bug-glob2.c: Likewise.
32320 * posix/tst-pcre.c: Likewise.
32321 * posix/wait4.c: Likewise.
32322 * resolv/README: Likewise.
32323 * resolv/res_debug.h: Likewise.
32324 * resolv/tst-inet_ntop.c: Likewise.
32325 * setjmp/bug269-setjmp.c: Likewise.
32326 * soft-fp/extended.h: Likewise.
32327 * soft-fp/op-1.h: Likewise.
32328 * soft-fp/op-2.h: Likewise.
32329 * soft-fp/op-4.h: Likewise.
32330 * soft-fp/op-8.h: Likewise.
32331 * soft-fp/testit.c: Likewise.
32332 * stdio-common/bug16.c: Likewise.
32333 * stdlib/random.c: Likewise.
32334 * sunrpc/rpcsvc/rquota.x: Likewise.
32335 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
32336 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32337 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32338 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32339 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32340 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32341 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32342 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32343 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32344 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32345 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32346 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32347 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32348 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32349 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32350 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32351 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32352 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32353 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32354 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32355 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32356 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32357 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32358 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32359 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32360 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32361 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32362 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32363 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32364 * sysdeps/ieee754/s_lib_version.c: Likewise.
32365 * sysdeps/mach/hurd/check_fds.c: Likewise.
32366 * sysdeps/mach/hurd/getsockname.c: Likewise.
32367 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32368 * sysdeps/mach/hurd/recvfrom.c: Likewise.
32369 * sysdeps/powerpc/bits/link.h: Likewise.
32370 * sysdeps/powerpc/dl-procinfo.c: Likewise.
32371 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32372 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32373 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32374 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32375 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32376 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32377 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32378 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
32379 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32380 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32381 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32382 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
32383 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32384 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32385 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32386 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32387 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32388 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32389 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32390 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32391 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
32392 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32393 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32394 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
32395 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32396 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32397 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32398 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32399 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32400 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32401 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32402 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32403 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32404 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
32405 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32406 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
32407 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32408 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32409 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
32410 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
32411 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
32412 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
32413 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
32414 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32415 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
32416 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
32417 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32418 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
32419 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
32420 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32421 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32422 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32423 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32424 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
32425 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32426 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32427 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32428 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
32429 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32430 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
32431 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
32432 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
32433 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32434 * sysdeps/powerpc/sysdep.h: Likewise.
32435 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32436 * sysdeps/s390/s390-64/sub_n.S: Likewise.
32437 * sysdeps/sh/dl-trampoline.S: Likewise.
32438 * sysdeps/sh/memset.S: Likewise.
32439 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
32440 * sysdeps/sh/strlen.S: Likewise.
32441 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
32442 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
32443 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
32444 * sysdeps/sparc/sparc32/rem.S: Likewise.
32445 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32446 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32447 * sysdeps/sparc/sparc32/strchr.S: Likewise.
32448 * sysdeps/sparc/sparc32/udiv.S: Likewise.
32449 * sysdeps/sparc/sparc32/urem.S: Likewise.
32450 * sysdeps/sparc/sparc64/add_n.S: Likewise.
32451 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32452 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32453 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32454 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32455 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32456 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32457 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32458 * sysdeps/unix/bsd/times.c: Likewise.
32459 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32460 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32464 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32465 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32466 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32467 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32468 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32469 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32470 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32471 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32472 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32473 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32474 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32475 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32476 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32477 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32478 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32479 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32480 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32481 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32482 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32483 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32484 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32485 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32486 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32487 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32488 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32489 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32490 * sysdeps/x86_64/strcspn.S: Likewise.
32492 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32494 * locale/C-translit.h: Revert #include <stdint.h> because this is a
32495 generated file. Regenerate properly from gen-translit.pl.
32496 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
32497 locale/C-translit.h.
32499 2013-06-05 Andreas Schwab <schwab@suse.de>
32502 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32503 week as 6 instead of -1.
32504 * time/tst-strptime.c (day_tests): Add test case.
32506 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32508 * sysdeps/generic/math_private.h
32509 (libc_feholdexcept_setround_53bit): Replace with
32510 libc_feholdsetround_53bit.
32511 (libc_feupdateenv_53bit): Replace with
32512 libc_feresetround_53bit.
32513 (SET_RESTORE_ROUND_53BIT): Adjust.
32515 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32517 * string/test-strchrnul.c: Add copyright header.
32519 * posix/tst-getaddrinfo4.c: Increase test timeout.
32521 2013-06-03 Carlos O'Donell <carlos@redhat.com>
32524 * math/libm-test.inc (MAX_EXP): Remove
32526 (ulp): Use MIN_EXP - MANT_DIG.
32527 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32529 2013-05-31 Carlos O'Donell <carlos@redhat.com>
32531 * po/be.po: Revert last change.
32532 * po/zh_CN.po: Likewise.
32533 * po/header.pot: Likewise.
32535 2013-05-31 Joseph Myers <joseph@codesourcery.com>
32537 * Makefile ($(common-objpfx)linkobj/libc.so): Define
32538 link-libc-deps to empty as target-specific variable.
32539 * Makerules (link-libc-args): New variable.
32540 (libc-for-link): Likewise.
32541 (link-libc-deps): Likewise.
32542 (lib%.so): Depend on $(link-libc-deps). Link with
32544 (build-module): Link with $(link-libc-args).
32545 (build-module-asneeded): Likewise.
32546 (build-module-helper-objlist): Filter out $(link-libc-deps) from
32548 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32549 target-specific variable.
32550 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32551 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32552 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32554 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32556 ($(objpfx)libpcprofile.so): Likewise.
32557 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32559 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32560 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32561 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32563 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32564 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32565 * login/Makefile ($(objpfx)libutil.so): Likewise.
32566 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32567 * math/Makefile ($(objpfx)libm.so): Likewise.
32568 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32569 $(objpfx)libnsl.so): Define libc-for-link as target-specific
32570 variable instead of depending directly on libc.
32571 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32572 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32574 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32576 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32577 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32578 ($(objpfx)libanl.so): Likewise.
32579 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32581 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32583 * sysdeps/i386/fpu/Makefile: Remove file.
32584 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32585 ($(objpfx)libm.so): Remove dependency on ld.so.
32587 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
32590 * nis/yp_xdr.c (XDRMAXNAME): Define.
32591 (XDRMAXRECORD): Define.
32592 (xdr_domainname): Use XDRMAXNAME.
32593 (xdr_mapname): Likewise.
32594 (xdr_peername): Likewise.
32595 (xdr_keydat): Use XDRMAXRECORD.
32596 (xdr_valdat): Likewise.
32598 2013-05-30 Jeff Law <law@redhat.com>
32601 * manual/errno.texi (ESTALE): Update to account for more than
32602 just NFS file systems.
32603 * sysdeps/gnu/errlist.c: Regenerated.
32605 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32608 * elf/Makefile (tests): Add tst-null-argv.
32609 (modules-names): Add tst-null-argv-lib.
32610 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32611 (tst-null-argv-ENV): Set environment for tst-null-argv.
32612 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32613 (RTLD_PROGNAME): New macro.
32614 * elf/tst-null-argv.c: New test case.
32615 * elf/tst-null-argv-lib.c: Library for test case.
32616 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32617 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32618 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32619 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32620 * elf/dl-init.c (call_init): Likewise.
32621 (_dl_init): Likewise.
32622 * elf/dl-load.c (print_search_path): Likewise.
32623 (_dl_map_object): Likewise.
32624 * elf/dl-lookup.c (do_lookup_x): Likewise.
32625 (add_dependency): Likewise.
32626 (_dl_lookup_symbol_x): Likewise.
32627 (_dl_debug_bindings): Likewise.
32628 * elf/dl-open.c (_dl_show_scope): Likewise.
32629 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32630 * elf/dl-version.c (match_symbol): Likewise.
32631 (_dl_check_map_versions): Likewise.
32632 * elf/rtld.c (dl_main): Likewise.
32633 (print_unresolved): Use RTLD_PROGNAME.
32634 (print_missing_version): Likewise.
32635 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32636 (elf_machine_rela): Likewise.
32637 * sysdeps/powerpc/powerpc32/dl-machine.c
32638 (__process_machine_rela): Likewise.
32639 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32641 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32643 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32645 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32646 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32648 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32650 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32652 2013-05-28 Carlos O'Donell <carlos@redhat.com>
32654 * po/be.po: Add descriptive title.
32655 * po/zh_CN.po: Likewise.
32656 * po/header.pot: Likewise.
32658 2013-05-28 Mike Frysinger <vapier@gentoo.org>
32660 * locale/programs/locarchive.c (create_archive): Inlucde fname in
32662 (enlarge_archive): Likewise.
32664 2013-05-28 Ben North <ben@redfrontdoor.org>
32666 * manual/arith.texi (frexp): It is the magnitude of the return
32667 value which lies in [0.5, 1), not the return value itself.
32669 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32673 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
32675 * stdio-common/bug26.c (main): Correct fscanf template.
32677 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32678 declare _dl_skip_args.
32680 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32683 * manual/platform.texi: Add missing @end deftypefun.
32685 2013-05-24 Joseph Myers <joseph@codesourcery.com>
32688 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32689 bit of mantissa of 2^16382.
32690 * math/libm-test.inc (hypot_test_data): Add more tests.
32692 * math/libm-test.inc: Add drem and pow10 to list of tested
32694 (pow10_test): New function.
32695 (drem_test): Likewise.
32696 (drem_test_tonearest): Likewise.
32697 (drem_test_towardzero): Likewise.
32698 (drem_test_downward): Likewise.
32699 (drem_test_upward): Likewise.
32700 (main): Call the new functions.
32702 * math/libm-test.inc (finite_test_data): Remove.
32703 (finite_test): Run tests from isfinite_test_data.
32704 (gamma_test_data): Remove.
32705 (gamma_test): Run tests from lgamma_test_data.
32706 * sysdeps/i386/fpu/libm-test-ulps: Update.
32707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32709 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32711 * manual/platform.texi: Add PowerPC PPR function set documentation.
32712 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32715 2013-05-24 Carlos O'Donell <carlos@redhat.com>
32717 * math/libm-test.inc (MAX_EXP): Define.
32719 (ulp): New function.
32720 (check_float_internal): Use ULPDIFF.
32721 (cpow_test): Disable failing test.
32722 (check_ulp): Test ulp() implemetnation.
32723 (main): Call check_ulp before starting tests.
32725 2013-05-24 Joseph Myers <joseph@codesourcery.com>
32727 * math/gen-libm-test.pl (generate_testfile): Do not handle
32728 START_DATA and END_DATA.
32729 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32731 (acos_tonearest_test_data): Likewise.
32732 (acos_towardzero_test_data): Likewise.
32733 (acos_downward_test_data): Likewise.
32734 (acos_upward_test_data): Likewise.
32735 (acosh_test_data): Likewise.
32736 (asin_test_data): Likewise.
32737 (asin_tonearest_test_data): Likewise.
32738 (asin_towardzero_test_data): Likewise.
32739 (asin_downward_test_data): Likewise.
32740 (asin_upward_test_data): Likewise.
32741 (asinh_test_data): Likewise.
32742 (atan_test_data): Likewise.
32743 (atanh_test_data): Likewise.
32744 (atan2_test_data): Likewise.
32745 (cabs_test_data): Likewise.
32746 (cacos_test_data): Likewise.
32747 (cacosh_test_data): Likewise.
32748 (carg_test_data): Likewise.
32749 (casin_test_data): Likewise.
32750 (casinh_test_data): Likewise.
32751 (catan_test_data): Likewise.
32752 (catanh_test_data): Likewise.
32753 (cbrt_test_data): Likewise.
32754 (ccos_test_data): Likewise.
32755 (ccosh_test_data): Likewise.
32756 (ceil_test_data): Likewise.
32757 (cexp_test_data): Likewise.
32758 (cimag_test_data): Likewise.
32759 (clog_test_data): Likewise.
32760 (clog10_test_data): Likewise.
32761 (conj_test_data): Likewise.
32762 (copysign_test_data): Likewise.
32763 (cos_test_data): Likewise.
32764 (cos_tonearest_test_data): Likewise.
32765 (cos_towardzero_test_data): Likewise.
32766 (cos_downward_test_data): Likewise.
32767 (cos_upward_test_data): Likewise.
32768 (cosh_test_data): Likewise.
32769 (cosh_tonearest_test_data): Likewise.
32770 (cosh_towardzero_test_data): Likewise.
32771 (cosh_downward_test_data): Likewise.
32772 (cosh_upward_test_data): Likewise.
32773 (cpow_test_data): Likewise.
32774 (cproj_test_data): Likewise.
32775 (creal_test_data): Likewise.
32776 (csin_test_data): Likewise.
32777 (csinh_test_data): Likewise.
32778 (csqrt_test_data): Likewise.
32779 (ctan_test_data): Likewise.
32780 (ctan_tonearest_test_data): Likewise.
32781 (ctan_towardzero_test_data): Likewise.
32782 (ctan_downward_test_data): Likewise.
32783 (ctan_upward_test_data): Likewise.
32784 (ctanh_test_data): Likewise.
32785 (ctanh_tonearest_test_data): Likewise.
32786 (ctanh_towardzero_test_data): Likewise.
32787 (ctanh_downward_test_data): Likewise.
32788 (ctanh_upward_test_data): Likewise.
32789 (erf_test_data): Likewise.
32790 (erfc_test_data): Likewise.
32791 (exp_test_data): Likewise.
32792 (exp_tonearest_test_data): Likewise.
32793 (exp_towardzero_test_data): Likewise.
32794 (exp_downward_test_data): Likewise.
32795 (exp_upward_test_data): Likewise.
32796 (exp10_test_data): Likewise.
32797 (exp2_test_data): Likewise.
32798 (expm1_test_data): Likewise.
32799 (fabs_test_data): Likewise.
32800 (fdim_test_data): Likewise.
32801 (finite_test_data): Likewise.
32802 (floor_test_data): Likewise.
32803 (fma_test_data): Likewise.
32804 (fma_towardzero_test_data): Likewise.
32805 (fma_downward_test_data): Likewise.
32806 (fma_upward_test_data): Likewise.
32807 (fmax_test_data): Likewise.
32808 (fmin_test_data): Likewise.
32809 (fmod_test_data): Likewise.
32810 (fpclassify_test_data): Likewise.
32811 (frexp_test_data): Likewise.
32812 (gamma_test_data): Likewise.
32813 (hypot_test_data): Likewise.
32814 (ilogb_test_data): Likewise.
32815 (isfinite_test_data): Likewise.
32816 (isgreater_test_data): Likewise.
32817 (isgreaterequal_test_data): Likewise.
32818 (isinf_test_data): Likewise.
32819 (isless_test_data): Likewise.
32820 (islessequal_test_data): Likewise.
32821 (islessgreater_test_data): Likewise.
32822 (isnan_test_data): Likewise.
32823 (isnormal_test_data): Likewise.
32824 (issignaling_test_data): Likewise.
32825 (isunordered_test_data): Likewise.
32826 (j0_test_data): Likewise.
32827 (j1_test_data): Likewise.
32828 (jn_test_data): Likewise.
32829 (ldexp_test_data): Likewise.
32830 (lgamma_test_data): Likewise.
32831 (lrint_test_data): Likewise.
32832 (lrint_tonearest_test_data): Likewise.
32833 (lrint_towardzero_test_data): Likewise.
32834 (lrint_downward_test_data): Likewise.
32835 (lrint_upward_test_data): Likewise.
32836 (llrint_test_data): Likewise.
32837 (llrint_tonearest_test_data): Likewise.
32838 (llrint_towardzero_test_data): Likewise.
32839 (llrint_downward_test_data): Likewise.
32840 (llrint_upward_test_data): Likewise.
32841 (log_test_data): Likewise.
32842 (log10_test_data): Likewise.
32843 (log1p_test_data): Likewise.
32844 (log2_test_data): Likewise.
32845 (logb_test_data): Likewise.
32846 (logb_downward_test_data): Likewise.
32847 (lround_test_data): Likewise.
32848 (llround_test_data): Likewise.
32849 (modf_test_data): Likewise.
32850 (nearbyint_test_data): Likewise.
32851 (nextafter_test_data): Likewise.
32852 (nexttoward_test_data): Likewise.
32853 (pow_test_data): Likewise.
32854 (pow_tonearest_test_data): Likewise.
32855 (pow_towardzero_test_data): Likewise.
32856 (pow_downward_test_data): Likewise.
32857 (pow_upward_test_data): Likewise.
32858 (remainder_test_data): Likewise.
32859 (remainder_tonearest_test_data): Likewise.
32860 (remainder_towardzero_test_data): Likewise.
32861 (remainder_downward_test_data): Likewise.
32862 (remainder_upward_test_data): Likewise.
32863 (remquo_test_data): Likewise.
32864 (rint_test_data): Likewise.
32865 (rint_tonearest_test_data): Likewise.
32866 (rint_towardzero_test_data): Likewise.
32867 (rint_downward_test_data): Likewise.
32868 (rint_upward_test_data): Likewise.
32869 (round_test_data): Likewise.
32870 (scalb_test_data): Likewise.
32871 (scalbn_test_data): Likewise.
32872 (scalbln_test_data): Likewise.
32873 (signbit_test_data): Likewise.
32874 (sin_test_data): Likewise.
32875 (sin_tonearest_test_data): Likewise.
32876 (sin_towardzero_test_data): Likewise.
32877 (sin_downward_test_data): Likewise.
32878 (sin_upward_test_data): Likewise.
32879 (sincos_test_data): Likewise.
32880 (sinh_test_data): Likewise.
32881 (sinh_tonearest_test_data): Likewise.
32882 (sinh_towardzero_test_data): Likewise.
32883 (sinh_downward_test_data): Likewise.
32884 (sinh_upward_test_data): Likewise.
32885 (sqrt_test_data): Likewise.
32886 (tan_test_data): Likewise.
32887 (tan_tonearest_test_data): Likewise.
32888 (tan_towardzero_test_data): Likewise.
32889 (tan_downward_test_data): Likewise.
32890 (tan_upward_test_data): Likewise.
32891 (tanh_test_data): Likewise.
32892 (tgamma_test_data): Likewise.
32893 (trunc_test_data): Likewise.
32894 (y0_test_data): Likewise.
32895 (y1_test_data): Likewise.
32896 (yn_test_data): Likewise.
32897 (significand_test_data): Likewise.
32899 * math/gen-libm-test.pl (@functions): Remove variable.
32900 (generate_testfile): Don't handle START and END lines.
32901 * math/libm-test.inc (START): New macro.
32903 (END_COMPLEX): Likewise.
32904 (acos_test): Use END macro without arguments.
32905 (acos_test_tonearest): Likewise.
32906 (acos_test_towardzero): Likewise.
32907 (acos_test_downward): Likewise.
32908 (acos_test_upward): Likewise.
32909 (acosh_test): Likewise.
32910 (asin_test): Likewise.
32911 (asin_test_tonearest): Likewise.
32912 (asin_test_towardzero): Likewise.
32913 (asin_test_downward): Likewise.
32914 (asin_test_upward): Likewise.
32915 (asinh_test): Likewise.
32916 (atan_test): Likewise.
32917 (atanh_test): Likewise.
32918 (atan2_test): Likewise.
32919 (cabs_test): Likewise.
32920 (cacos_test): Use END_COMPLEX macro without arguments.
32921 (cacosh_test): Likewise.
32922 (carg_test): Use END macro without arguments.
32923 (casin_test): Use END_COMPLEX macro without arguments.
32924 (casinh_test): Likewise.
32925 (catan_test): Likewise.
32926 (catanh_test): Likewise.
32927 (cbrt_test): Use END macro without arguments.
32928 (ccos_test): Use END_COMPLEX macro without arguments.
32929 (ccosh_test): Likewise.
32930 (ceil_test): Use END macro without arguments.
32931 (cexp_test): Use END_COMPLEX macro without arguments.
32932 (cimag_test): Use END macro without arguments.
32933 (clog_test): Use END_COMPLEX macro without arguments.
32934 (clog10_test): Likewise.
32935 (conj_test): Likewise.
32936 (copysign_test): Use END macro without arguments.
32937 (cos_test): Likewise.
32938 (cos_test_tonearest): Likewise.
32939 (cos_test_towardzero): Likewise.
32940 (cos_test_downward): Likewise.
32941 (cos_test_upward): Likewise.
32942 (cosh_test): Likewise.
32943 (cosh_test_tonearest): Likewise.
32944 (cosh_test_towardzero): Likewise.
32945 (cosh_test_downward): Likewise.
32946 (cosh_test_upward): Likewise.
32947 (cpow_test): Use END_COMPLEX macro without arguments.
32948 (cproj_test): Likewise.
32949 (creal_test): Use END macro without arguments.
32950 (csin_test): Use END_COMPLEX macro without arguments.
32951 (csinh_test): Likewise.
32952 (csqrt_test): Likewise.
32953 (ctan_test): Likewise.
32954 (ctan_test_tonearest): Likewise.
32955 (ctan_test_towardzero): Likewise.
32956 (ctan_test_downward): Likewise.
32957 (ctan_test_upward): Likewise.
32958 (ctanh_test): Likewise.
32959 (ctanh_test_tonearest): Likewise.
32960 (ctanh_test_towardzero): Likewise.
32961 (ctanh_test_downward): Likewise.
32962 (ctanh_test_upward): Likewise.
32963 (erf_test): Use END macro without arguments.
32964 (erfc_test): Likewise.
32965 (exp_test): Likewise.
32966 (exp_test_tonearest): Likewise.
32967 (exp_test_towardzero): Likewise.
32968 (exp_test_downward): Likewise.
32969 (exp_test_upward): Likewise.
32970 (exp10_test): Likewise.
32971 (exp2_test): Likewise.
32972 (expm1_test): Likewise.
32973 (fabs_test): Likewise.
32974 (fdim_test): Likewise.
32975 (finite_test): Likewise.
32976 (floor_test): Likewise.
32977 (fma_test): Likewise.
32978 (fma_test_towardzero): Likewise.
32979 (fma_test_downward): Likewise.
32980 (fma_test_upward): Likewise.
32981 (fmax_test): Likewise.
32982 (fmin_test): Likewise.
32983 (fmod_test): Likewise.
32984 (fpclassify_test): Likewise.
32985 (frexp_test): Likewise.
32986 (gamma_test): Likewise.
32987 (hypot_test): Likewise.
32988 (ilogb_test): Likewise.
32989 (isfinite_test): Likewise.
32990 (isgreater_test): Likewise.
32991 (isgreaterequal_test): Likewise.
32992 (isinf_test): Likewise.
32993 (isless_test): Likewise.
32994 (islessequal_test): Likewise.
32995 (islessgreater_test): Likewise.
32996 (isnan_test): Likewise.
32997 (isnormal_test): Likewise.
32998 (issignaling_test): Likewise.
32999 (isunordered_test): Likewise.
33000 (j0_test): Likewise.
33001 (j1_test): Likewise.
33002 (jn_test): Likewise.
33003 (ldexp_test): Likewise.
33004 (lgamma_test): Likewise.
33005 (lrint_test): Likewise.
33006 (lrint_test_tonearest): Likewise.
33007 (lrint_test_towardzero): Likewise.
33008 (lrint_test_downward): Likewise.
33009 (lrint_test_upward): Likewise.
33010 (llrint_test): Likewise.
33011 (llrint_test_tonearest): Likewise.
33012 (llrint_test_towardzero): Likewise.
33013 (llrint_test_downward): Likewise.
33014 (llrint_test_upward): Likewise.
33015 (log_test): Likewise.
33016 (log10_test): Likewise.
33017 (log1p_test): Likewise.
33018 (log2_test): Likewise.
33019 (logb_test): Likewise.
33020 (logb_test_downward): Likewise.
33021 (lround_test): Likewise.
33022 (llround_test): Likewise.
33023 (modf_test): Likewise.
33024 (nearbyint_test): Likewise.
33025 (nextafter_test): Likewise.
33026 (nexttoward_test): Likewise.
33027 (pow_test): Likewise.
33028 (pow_test_tonearest): Likewise.
33029 (pow_test_towardzero): Likewise.
33030 (pow_test_downward): Likewise.
33031 (pow_test_upward): Likewise.
33032 (remainder_test): Likewise.
33033 (remainder_test_tonearest): Likewise.
33034 (remainder_test_towardzero): Likewise.
33035 (remainder_test_downward): Likewise.
33036 (remainder_test_upward): Likewise.
33037 (remquo_test): Likewise.
33038 (rint_test): Likewise.
33039 (rint_test_tonearest): Likewise.
33040 (rint_test_towardzero): Likewise.
33041 (rint_test_downward): Likewise.
33042 (rint_test_upward): Likewise.
33043 (round_test): Likewise.
33044 (scalb_test): Likewise.
33045 (scalbn_test): Likewise.
33046 (scalbln_test): Likewise.
33047 (signbit_test): Likewise.
33048 (sin_test): Likewise.
33049 (sin_test_tonearest): Likewise.
33050 (sin_test_towardzero): Likewise.
33051 (sin_test_downward): Likewise.
33052 (sin_test_upward): Likewise.
33053 (sincos_test): Likewise.
33054 (sinh_test): Likewise.
33055 (sinh_test_tonearest): Likewise.
33056 (sinh_test_towardzero): Likewise.
33057 (sinh_test_downward): Likewise.
33058 (sinh_test_upward): Likewise.
33059 (sqrt_test): Likewise.
33060 (tan_test): Likewise.
33061 (tan_test_tonearest): Likewise.
33062 (tan_test_towardzero): Likewise.
33063 (tan_test_downward): Likewise.
33064 (tan_test_upward): Likewise.
33065 (tanh_test): Likewise.
33066 (tgamma_test): Likewise.
33067 (trunc_test): Likewise.
33068 (y0_test): Likewise.
33069 (y1_test): Likewise.
33070 (yn_test): Likewise.
33071 (significand_test): Likewise.
33073 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
33076 * libio/genops.c (_IO_no_init): Initialize wide struct info.
33078 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
33081 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33082 __ppc_mdoio and __ppc_mdoom.
33083 * manual/platform.texi: Document new functions __ppc_yield,
33084 __ppc_mdoio and __ppc_mdoom.
33086 2013-05-22 Carlos O'Donell <carlos@redhat.com>
33088 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33089 (main): Mention "tls" pseudo-hwcap is legacy.
33090 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33092 2013-05-22 Joseph Myers <joseph@codesourcery.com>
33094 * math/gen-libm-test.pl (parse_args): Output only string of
33095 arguments as text for test name, not full call or descriptions of
33096 tests for extra outputs.
33097 (generate_testfile): Do not pass function name to parse_args.
33098 Generate this_func variable from START.
33099 * math/libm-test.inc (struct test_f_f_data): Rename test_name
33101 (struct test_ff_f_data): Likewise.
33102 (test_ff_f_data_nexttoward): Likewise.
33103 (struct test_fi_f_data): Likewise.
33104 (struct test_fl_f_data): Likewise.
33105 (struct test_if_f_data): Likewise.
33106 (struct test_fff_f_data): Likewise.
33107 (struct test_c_f_data): Likewise.
33108 (struct test_f_f1_data): Likewise. Remove field extra_name.
33109 (struct test_fF_f1_data): Likewise.
33110 (struct test_ffI_f1_data): Likewise.
33111 (struct test_c_c_data): Rename test_name field to arg_str.
33112 (struct test_cc_c_data): Likewise.
33113 (struct test_f_i_data): Likewise.
33114 (struct test_ff_i_data): Likewise.
33115 (struct test_f_l_data): Likewise.
33116 (struct test_f_L_data): Likewise.
33117 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
33119 (COMMON_TEST_SETUP): New macro.
33120 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33121 (COMMON_TEST_CLEANUP): Likewise.
33122 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33123 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
33125 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33126 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
33128 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33129 (RUN_TEST_fff_f): Take argument string. Call new setup and
33131 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33132 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
33134 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33135 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
33137 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33138 (RUN_TEST_fF_f1): Take argument string. Call new setup and
33140 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33141 (RUN_TEST_fI_f1): Take argument string. Call new setup and
33143 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33144 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
33146 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33147 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
33149 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33150 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
33152 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33153 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
33155 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33156 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
33158 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33159 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
33161 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33162 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
33164 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33165 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
33167 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33168 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
33170 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33171 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
33173 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33174 (RUN_TEST_fFF_11): Take argument string. Call new setup and
33176 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33178 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
33180 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33181 to _sifields.sigfault.
33182 (si_addr_lsb): Define new macro.
33183 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33184 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33185 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33187 2013-05-03 Carlos O'Donell <carlos at redhat.com>
33190 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33192 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33194 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33195 loading the domain.
33197 2013-05-22 Joseph Myers <joseph@codesourcery.com>
33199 * math/gen-libm-test.pl (parse_args): Do not include expected
33200 result in test name.
33201 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33202 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33203 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33204 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33205 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33208 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33210 * benchtests/Makefile: Sort function entries.
33212 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33213 tanh, asinh, acosh, atanh.
33214 * benchtests/acos-inputs: New file.
33215 * benchtests/acosh-inputs: New file.
33216 * benchtests/asin-inputs: New file.
33217 * benchtests/asinh-inputs: New file.
33218 * benchtests/atanh-inputs: New file.
33219 * benchtests/cosh-inputs: New file.
33220 * benchtests/log-inputs: New file.
33221 * benchtests/sinh-inputs: New file.
33222 * benchtests/tanh-inputs: New file.
33224 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
33227 * posix/tst-getaddrinfo4.c: New test.
33228 * posix/Makefile (tests): Add it.
33230 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33233 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33234 when no services were used.
33235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33236 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33238 2013-05-21 Andreas Schwab <schwab@suse.de>
33241 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33242 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33244 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33245 redundant variable declarations and reallocation of buffer when
33246 parsing as IPv6 address. Always set NSS status when called from
33247 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
33248 buffer too small. Correct computation of needed size.
33249 * nss/Makefile (tests): Add test-digits-dots.
33250 * nss/test-digits-dots.c: New test.
33252 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33254 * benchtests/Makefile: Remove instructions for adding
33256 * benchtests/README: New file to explain how to execute and
33257 enhance the benchmark tests.
33259 2013-05-21 Andreas Schwab <schwab@suse.de>
33262 * setjmp/Makefile (tests): Add tst-sigsetjmp.
33263 * setjmp/tst-sigsetjmp.c: New test.
33265 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
33267 * sysdeps/x86_64/memset.S (memset): New implementation.
33268 (__bzero): Likewise.
33269 (__memset_tail): New function.
33271 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
33273 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33274 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33275 __memcpy_sse2_unaligned ifunc selection.
33276 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33277 Add memcpy-sse2-unaligned.S.
33278 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33279 Add: __memcpy_sse2_unaligned.
33281 2013-05-19 Joseph Myers <joseph@codesourcery.com>
33284 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33285 math_force_eval before restoring floating-point envrionment.
33286 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33287 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33289 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33291 (__nearbyintl): Use math_force_eval before restoring
33292 floating-point environment.
33293 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33295 * math/gen-libm-test.pl (special_functions): Remove.
33296 (parse_args): Don't handle TEST_extra. Handle functions with no
33298 * math/libm-test.inc (struct test_sincos_data): Replace with
33299 struct test_fFF_11_data.
33300 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33301 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33302 (sincos_test_data): Change element type to struct
33303 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
33304 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33305 RUN_TEST_LOOP_sincos.
33306 * math/README.libm-test: Don't mention special handling of
33307 individual functions.
33308 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33309 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33310 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33311 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33312 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33315 * math/gen-libm-test.pl (get_variable): Remove function.
33316 (parse_args): Don't show pointer parameters to call in test
33317 names. Use "extra output N" in test names for extra outputs
33318 rather than naming variables.
33320 2013-05-18 Joseph Myers <joseph@codesourcery.com>
33323 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33324 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33325 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33327 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33329 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33332 * math/gen-libm-test.pl (@tests): Remove variable.
33333 ($count): Likewise.
33334 (new_test): Remove function.
33335 (show_exceptions): New function.
33336 (special_functions): Use show_exceptions instead of new_test.
33337 (parse_args): Likewise.
33338 (generate_testfile): Pass only function name in generated call to
33339 print_max_error or print_complex_max_error.
33340 (get_ulps): Do not handle complex tests specially.
33341 (output_test): Rename to ...
33342 (get_all_ulps_for_test): ... this. Return a string rather than
33343 printing to a file. Require ulps to be present.
33344 (output_ulps): Generate arrays rather than #defines.
33345 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33346 (struct ulp_data): New type.
33347 (BUILD_COMPLEX_ULP): Remove macro.
33348 (compare_ulp_data): New function.
33349 (find_ulps): Likewise.
33350 (find_test_ulps): Likewise.
33351 (find_function_ulps): Likewise.
33352 (find_complex_function_ulps): Likewise.
33353 (print_max_error): Determine allowed ulps using
33354 find_function_ulps.
33355 (print_complex_max_error): Determine allowed ulps using
33356 find_complex_function_ulps.
33357 (check_float_internal): Determine max ulps using find_test_ulps.
33358 (check_float): Do not take max_ulp parameter. Update call to
33359 check_float_internal.
33360 (check_complex): Likewise.
33361 (check_int): Do not take max_ulp parameter.
33362 (check_long): Likewise.
33363 (check_bool): Likewise.
33364 (check_longlong): Likewise.
33365 (struct test_f_f_data): Remove max_ulp field.
33366 (struct test_ff_f_data): Likewise.
33367 (struct test_ff_f_data_nexttoward): Likewise.
33368 (struct test_fi_f_data): Likewise.
33369 (struct test_fl_f_data): Likewise.
33370 (struct test_if_f_data): Likewise.
33371 (struct test_fff_f_data): Likewise.
33372 (struct test_c_f_data): Likewise.
33373 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33374 (struct test_fF_f1_data): Likewise.
33375 (struct test_ffI_f1_data): Likewise.
33376 (struct test_c_c_data): Remove max_ulp field.
33377 (struct test_cc_c_data): Likewise.
33378 (struct test_f_i_data): Likewise.
33379 (struct test_ff_i_data): Likewise.
33380 (struct test_f_l_data): Likewise.
33381 (struct test_f_L_data): Likewise.
33382 (struct test_sincos_data): Likewise.
33383 (RUN_TEST_f_f): Do not handle ulps.
33384 (RUN_TEST_LOOP_f_f): Likewise.
33385 (RUN_TEST_2_f): Likewise.
33386 (RUN_TEST_LOOP_2_f): Likewise.
33387 (RUN_TEST_fff_f): Likewise.
33388 (RUN_TEST_LOOP_fff_f): Likewise.
33389 (RUN_TEST_c_f): Likewise.
33390 (RUN_TEST_LOOP_c_f): Likewise.
33391 (RUN_TEST_f_f1): Likewise.
33392 (RUN_TEST_LOOP_f_f1): Likewise.
33393 (RUN_TEST_fF_f1): Likewise.
33394 (RUN_TEST_LOOP_fF_f1): Likewise.
33395 (RUN_TEST_fI_f1): Likewise.
33396 (RUN_TEST_LOOP_fI_f1): Likewise.
33397 (RUN_TEST_ffI_f1): Likewise.
33398 (RUN_TEST_LOOP_ffI_f1): Likewise.
33399 (RUN_TEST_c_c): Likewise.
33400 (RUN_TEST_LOOP_c_c): Likewise.
33401 (RUN_TEST_cc_c): Likewise.
33402 (RUN_TEST_LOOP_cc_c): Likewise.
33403 (RUN_TEST_f_i): Likewise.
33404 (RUN_TEST_LOOP_f_i): Likewise.
33405 (RUN_TEST_f_i_tg): Likewise.
33406 (RUN_TEST_LOOP_f_i_tg): Likewise.
33407 (RUN_TEST_ff_i_tg): Likewise.
33408 (RUN_TEST_LOOP_ff_i_tg): Likewise.
33409 (RUN_TEST_f_b): Likewise.
33410 (RUN_TEST_LOOP_f_b): Likewise.
33411 (RUN_TEST_f_b_tg): Likewise.
33412 (RUN_TEST_LOOP_f_b_tg): Likewise.
33413 (RUN_TEST_f_l): Likewise.
33414 (RUN_TEST_LOOP_f_l): Likewise.
33415 (RUN_TEST_f_L): Likewise.
33416 (RUN_TEST_LOOP_f_L): Likewise.
33417 (RUN_TEST_sincos): Likewise.
33418 (RUN_TEST_LOOP_sincos): Likewise.
33420 2013-05-17 Joseph Myers <joseph@codesourcery.com>
33424 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
33425 main case of finite arguments, set rounding mode to FE_TONEAREST
33426 and discard exceptions.
33427 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
33429 (remainder_tonearest_test_data): New variable.
33430 (remainder_test_tonearest): New function.
33431 (remainder_towardzero_test_data): New variable.
33432 (remainder_test_towardzero): New function.
33433 (remainder_downward_test_data): New variable.
33434 (remainder_test_downward): New function.
33435 (remainder_upward_test_data): New variable.
33436 (remainder_test_upward): New function.
33437 (main): Call the new test functions.
33439 * math/libm-test.inc (struct test_f_f1_data): Remove field
33441 (struct test_fF_f1_data): Likewise.
33442 (struct test_ffI_f1_data): Likewise.
33443 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
33444 based on value of EXTRA_EXPECTED.
33445 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33446 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
33447 EXTRA_VAR based on value of EXTRA_EXPECTED.
33448 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33449 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
33450 EXTRA_VAR based on value of EXTRA_EXPECTED.
33451 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33452 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
33453 EXTRA_VAR based on value of EXTRA_EXPECTED.
33454 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33455 * math/gen-libm-test.pl (parse_args): Don't output initializers
33456 for extra output values.
33458 * math/libm-test.inc (check_int): Expect result to be exactly
33459 equal to expected value and do not handle ulps.
33460 (check_long): Likewise.
33461 (check_longlong): Likewise.
33463 * math/libm-test.inc (ceil_test_data): Test for "inexact"
33465 (cimag_test_data): Likewise.
33466 (conj_test_data): Likewise.
33467 (copysign_test_data): Likewise.
33468 (cproj_test_data): Likewise.
33469 (creal_test_data): Likewise.
33470 (fabs_test_data): Likewise.
33471 (fdim_test_data): Likewise.
33472 (finite_test_data): Likewise.
33473 (floor_test_data): Likewise.
33474 (fmax_test_data): Likewise.
33475 (fmin_test_data): Likewise.
33476 (fmod_test_data): Likewise.
33477 (fpclassify_test_data): Likewise.
33478 (frexp_test_data): Likewise.
33479 (ilogb_test_data): Likewise.
33480 (isfinite_test_data): Likewise.
33481 (isgreater_test_data): Likewise.
33482 (isgreaterequal_test_data): Likewise.
33483 (isinf_test_data): Likewise.
33484 (isless_test_data): Likewise.
33485 (islessequal_test_data): Likewise.
33486 (islessgreater_test_data): Likewise.
33487 (isnan_test_data): Likewise.
33488 (isnormal_test_data): Likewise.
33489 (issignaling_test_data): Likewise.
33490 (isunordered_test_data): Likewise.
33491 (ldexp_test_data): Likewise.
33492 (lrint_test_data): Likewise.
33493 (lrint_test_data) [TEST_FLOAT]: Disable one test.
33494 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33495 (lrint_tonearest_test_data): Test for "inexact" exceptions.
33496 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33497 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33498 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33500 (lrint_towardzero_test_data): Test for "inexact" exceptions.
33501 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33502 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33503 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33505 (lrint_downward_test_data): Test for "inexact" exceptions.
33506 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33507 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33508 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33510 (lrint_upward_test_data): Test for "inexact" exceptions.
33511 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33513 (llrint_test_data): Test for "inexact" exceptions.
33514 (llrint_test_data) [TEST_FLOAT]: Disable one test.
33515 (llrint_tonearest_test_data): Test for "inexact" exceptions.
33516 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33517 (llrint_towardzero_test_data): Test for "inexact" exceptions.
33518 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33519 (llrint_downward_test_data): Test for "inexact" exceptions.
33520 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33521 (llrint_upward_test_data): Test for "inexact" exceptions.
33522 (logb_test_data): Likewise.
33523 (logb_downward_test_data): Likewise.
33524 (nextafter_test_data): Likewise.
33525 (nexttoward_test_data): Likewise.
33526 (remainder_test_data): Likewise.
33527 (remquo_test_data): Likewise.
33528 (scalbn_test_data): Likewise.
33529 (scalbln_test_data): Likewise.
33530 (signbit_test_data): Likewise.
33531 (sqrt_test_data): Likewise.
33532 (significand_test_data): Likewise.
33534 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33537 * benchtests/bench-modf.c (struct args): Mark arg0 as
33539 * scripts/bench.pl: Mark members of struct args as volatile.
33541 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33544 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33545 negative infinity on POWER6 or lower.
33546 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33548 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
33551 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33552 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33553 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33554 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33555 (_FP_SETQNAN): New macro.
33556 (_FP_SETQNAN_SEMIRAW): Likewise.
33557 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33558 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33559 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33560 (FP_EXTEND): Use _FP_FRAC_SNANP.
33561 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33562 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33564 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33566 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33569 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33571 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33572 with DIVIDE_BY_ZERO_EXCEPTION.
33573 (gamma_test_data): Likewise.
33574 (lgamma_test_data): Likewise.
33575 (log_test_data): Likewise.
33576 (log10_test_data): Likewise.
33577 (log2_test_data): Likewise.
33578 (tgamma_test_data): Likewise.
33580 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33581 (acos_test_tonearest): Likewise.
33582 (acos_test_towardzero): Likewise.
33583 (acos_test_downward): Likewise.
33584 (acos_test_upward): Likewise.
33585 (acosh_test): Likewise.
33586 (asin_test): Likewise.
33587 (asin_test_tonearest): Likewise.
33588 (asin_test_towardzero): Likewise.
33589 (asin_test_downward): Likewise.
33590 (asin_test_upward): Likewise.
33591 (asinh_test): Likewise.
33592 (atan_test): Likewise.
33593 (atanh_test): Likewise.
33594 (atan2_test): Likewise.
33595 (cabs_test): Likewise.
33596 (cacos_test): Likewise.
33597 (cacosh_test): Likewise.
33598 (casin_test): Likewise.
33599 (casinh_test): Likewise.
33600 (catan_test): Likewise.
33601 (catanh_test): Likewise.
33602 (cbrt_test): Likewise.
33603 (ccos_test): Likewise.
33604 (ccosh_test): Likewise.
33605 (cexp_test): Likewise.
33606 (clog_test): Likewise.
33607 (clog10_test): Likewise.
33608 (cos_test): Likewise.
33609 (cos_test_tonearest): Likewise.
33610 (cos_test_towardzero): Likewise.
33611 (cos_test_downward): Likewise.
33612 (cos_test_upward): Likewise.
33613 (cosh_test): Likewise.
33614 (cosh_test_tonearest): Likewise.
33615 (cosh_test_towardzero): Likewise.
33616 (cosh_test_downward): Likewise.
33617 (cosh_test_upward): Likewise.
33618 (cpow_test): Likewise.
33619 (csin_test): Likewise.
33620 (csinh_test): Likewise.
33621 (csqrt_test): Likewise.
33622 (ctan_test): Likewise.
33623 (ctan_test_tonearest): Likewise.
33624 (ctan_test_towardzero): Likewise.
33625 (ctan_test_downward): Likewise.
33626 (ctan_test_upward): Likewise.
33627 (ctanh_test): Likewise.
33628 (ctanh_test_tonearest): Likewise.
33629 (ctanh_test_towardzero): Likewise.
33630 (ctanh_test_downward): Likewise.
33631 (ctanh_test_upward): Likewise.
33632 (erf_test): Likewise.
33633 (erfc_test): Likewise.
33634 (exp_test): Likewise.
33635 (exp_test_tonearest): Likewise.
33636 (exp_test_towardzero): Likewise.
33637 (exp_test_downward): Likewise.
33638 (exp_test_upward): Likewise.
33639 (exp10_test): Likewise.
33640 (exp2_test): Likewise.
33641 (expm1_test): Likewise.
33642 (fmod_test): Likewise.
33643 (gamma_test): Likewise.
33644 (hypot_test): Likewise.
33645 (j0_test): Likewise.
33646 (j1_test): Likewise.
33647 (jn_test): Likewise.
33648 (lgamma_test): Likewise.
33649 (log_test): Likewise.
33650 (log10_test): Likewise.
33651 (log1p_test): Likewise.
33652 (log2_test): Likewise.
33653 (logb_test_downward): Likewise.
33654 (pow_test): Likewise.
33655 (pow_test_tonearest): Likewise.
33656 (pow_test_towardzero): Likewise.
33657 (pow_test_downward): Likewise.
33658 (pow_test_upward): Likewise.
33659 (remainder_test): Likewise.
33660 (remquo_test): Likewise.
33661 (sin_test): Likewise.
33662 (sin_test_tonearest): Likewise.
33663 (sin_test_towardzero): Likewise.
33664 (sin_test_downward): Likewise.
33665 (sin_test_upward): Likewise.
33666 (sincos_test): Likewise.
33667 (sinh_test): Likewise.
33668 (sinh_test_tonearest): Likewise.
33669 (sinh_test_towardzero): Likewise.
33670 (sinh_test_downward): Likewise.
33671 (sinh_test_upward): Likewise.
33672 (sqrt_test): Likewise.
33673 (tan_test): Likewise.
33674 (tan_test_tonearest): Likewise.
33675 (tan_test_towardzero): Likewise.
33676 (tan_test_downward): Likewise.
33677 (tan_test_upward): Likewise.
33678 (tanh_test): Likewise.
33679 (tgamma_test): Likewise.
33680 (y0_test): Likewise.
33681 (y1_test): Likewise.
33682 (yn_test): Likewise.
33684 * math/gen-libm-test.pl (adjust_arg): Remove function.
33685 (special_function): Remove argument $in_func. Only handle
33686 generating output for tables of tests, not inside functions.
33687 (parse_args): Likewise.
33688 (generate_testfile): Remove variable $in_func. Update call to
33690 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33691 (MINUS_ZERO_INIT): Rename macro to minus_zero.
33692 (PLUS_INFTY_INIT): Rename macro to plus_infty.
33693 (MINUS_INFTY_INIT): Rename macro to minus_infty.
33694 (QNAN_VALUE_INIT): Rename macro to qnan_value.
33695 (MAX_VALUE_INIT): Rename macro to max_value.
33696 (MIN_VALUE_INIT): Rename macro to min_value.
33697 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33698 (plus_zero): Remove variable.
33699 (minus_zero): Likewise.
33700 (plus_infty): Likewise.
33701 (minus_infty): Likewise.
33702 (qnan_value): Likewise.
33703 (max_value): Likewise.
33704 (min_value): Likewise.
33705 (min_subnorm_value): Likewise.
33707 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33709 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33710 uint64_t or uint32_t usage.
33711 * crypt/sha256-block.c: Likewise.
33712 * crypt/sha256-crypt.c: Likewise.
33713 * crypt/sha256.c: Likewise.
33714 * crypt/sha512-block.c: Likewise.
33715 * crypt/sha512-crypt.c: Likewise.
33716 * crypt/sha512.c: Likewise.
33717 * debug/backtrace-tst.c: Likewise.
33718 * debug/pcprofiledump.c: Likewise.
33719 * elf/cache.c: Likewise.
33720 * elf/dl-cache.c: Likewise.
33721 * elf/dl-misc.c: Likewise.
33722 * elf/dl-profile.c: Likewise.
33723 * elf/dl-support.c: Likewise.
33724 * elf/ldconfig.c: Likewise.
33725 * elf/sprof.c: Likewise.
33726 * iconv/dummy-repertoire.c: Likewise.
33727 * iconv/iconv_charmap.c: Likewise.
33728 * iconv/skeleton.c: Likewise.
33729 * iconvdata/8bit-generic.c: Likewise.
33730 * iconvdata/cp737.h: Likewise.
33731 * iconvdata/cp775.h: Likewise.
33732 * iconvdata/ibm1008.h: Likewise.
33733 * iconvdata/ibm1025.h: Likewise.
33734 * iconvdata/ibm1046.h: Likewise.
33735 * iconvdata/ibm1097.h: Likewise.
33736 * iconvdata/ibm1112.h: Likewise.
33737 * iconvdata/ibm1122.h: Likewise.
33738 * iconvdata/ibm1123.h: Likewise.
33739 * iconvdata/ibm1124.h: Likewise.
33740 * iconvdata/ibm1129.h: Likewise.
33741 * iconvdata/ibm1130.h: Likewise.
33742 * iconvdata/ibm1132.h: Likewise.
33743 * iconvdata/ibm1133.h: Likewise.
33744 * iconvdata/ibm1137.h: Likewise.
33745 * iconvdata/ibm1140.h: Likewise.
33746 * iconvdata/ibm1141.h: Likewise.
33747 * iconvdata/ibm1142.h: Likewise.
33748 * iconvdata/ibm1143.h: Likewise.
33749 * iconvdata/ibm1144.h: Likewise.
33750 * iconvdata/ibm1145.h: Likewise.
33751 * iconvdata/ibm1146.h: Likewise.
33752 * iconvdata/ibm1147.h: Likewise.
33753 * iconvdata/ibm1148.h: Likewise.
33754 * iconvdata/ibm1149.h: Likewise.
33755 * iconvdata/ibm1153.h: Likewise.
33756 * iconvdata/ibm1154.h: Likewise.
33757 * iconvdata/ibm1155.h: Likewise.
33758 * iconvdata/ibm1156.h: Likewise.
33759 * iconvdata/ibm1157.h: Likewise.
33760 * iconvdata/ibm1158.h: Likewise.
33761 * iconvdata/ibm1160.h: Likewise.
33762 * iconvdata/ibm1161.h: Likewise.
33763 * iconvdata/ibm1162.h: Likewise.
33764 * iconvdata/ibm1163.h: Likewise.
33765 * iconvdata/ibm1164.h: Likewise.
33766 * iconvdata/ibm1166.h: Likewise.
33767 * iconvdata/ibm1167.h: Likewise.
33768 * iconvdata/ibm12712.h: Likewise.
33769 * iconvdata/ibm1390.h: Likewise.
33770 * iconvdata/ibm1399.h: Likewise.
33771 * iconvdata/ibm16804.h: Likewise.
33772 * iconvdata/ibm4517.h: Likewise.
33773 * iconvdata/ibm4899.h: Likewise.
33774 * iconvdata/ibm4909.h: Likewise.
33775 * iconvdata/ibm4971.h: Likewise.
33776 * iconvdata/ibm5347.h: Likewise.
33777 * iconvdata/ibm803.h: Likewise.
33778 * iconvdata/ibm856.h: Likewise.
33779 * iconvdata/ibm901.h: Likewise.
33780 * iconvdata/ibm902.h: Likewise.
33781 * iconvdata/ibm9030.h: Likewise.
33782 * iconvdata/ibm9066.h: Likewise.
33783 * iconvdata/ibm921.h: Likewise.
33784 * iconvdata/ibm922.h: Likewise.
33785 * iconvdata/ibm9448.h: Likewise.
33786 * iconvdata/isiri-3342.h: Likewise.
33787 * iconvdata/jis0201.h: Likewise.
33788 * include/link.h: Likewise.
33789 * include/netdb.h: Likewise.
33790 * inet/check_native.c: Likewise.
33791 * inet/check_pf.c: Likewise.
33792 * inet/getipv4sourcefilter.c: Likewise.
33793 * inet/getnameinfo.c: Likewise.
33794 * inet/getsourcefilter.c: Likewise.
33795 * inet/htonl.c: Likewise.
33796 * inet/setipv4sourcefilter.c: Likewise.
33797 * inet/setsourcefilter.c: Likewise.
33798 * inet/test-inet6_opt.c: Likewise.
33799 * inet/tst-network.c: Likewise.
33800 * locale/C-collate.c: Likewise.
33801 * locale/C-ctype.c: Likewise.
33802 * locale/C-time.c: Likewise.
33803 * locale/C-translit.h: Likewise.
33804 * locale/loadarchive.c: Likewise.
33805 * locale/programs/3level.h: Likewise.
33806 * locale/programs/charmap.c: Likewise.
33807 * locale/programs/charmap.h: Likewise.
33808 * locale/programs/ld-address.c: Likewise.
33809 * locale/programs/ld-collate.c: Likewise.
33810 * locale/programs/ld-ctype.c: Likewise.
33811 * locale/programs/ld-identification.c: Likewise.
33812 * locale/programs/ld-measurement.c: Likewise.
33813 * locale/programs/ld-messages.c: Likewise.
33814 * locale/programs/ld-monetary.c: Likewise.
33815 * locale/programs/ld-name.c: Likewise.
33816 * locale/programs/ld-numeric.c: Likewise.
33817 * locale/programs/ld-paper.c: Likewise.
33818 * locale/programs/ld-telephone.c: Likewise.
33819 * locale/programs/ld-time.c: Likewise.
33820 * locale/programs/linereader.c: Likewise.
33821 * locale/programs/locale.c: Likewise.
33822 * locale/programs/locarchive.c: Likewise.
33823 * locale/programs/locfile.h: Likewise.
33824 * locale/programs/repertoire.c: Likewise.
33825 * locale/programs/simple-hash.c: Likewise.
33826 * locale/programs/simple-hash.h: Likewise.
33827 * malloc/memusage.c: Likewise.
33828 * malloc/memusagestat.c: Likewise.
33829 * nis/nis_defaults.c: Likewise.
33830 * nis/nis_hash.c: Likewise.
33831 * nis/nis_print.c: Likewise.
33832 * nis/nis_xdr.c: Likewise.
33833 * nscd/connections.c: Likewise.
33834 * nscd/hstcache.c: Likewise.
33835 * nscd/nscd_gethst_r.c: Likewise.
33836 * nscd/nscd_getserv_r.c: Likewise.
33837 * nscd/nscd_helper.c: Likewise.
33838 * nscd/servicescache.c: Likewise.
33839 * nss/makedb.c: Likewise.
33840 * nss/nss_db/db-XXX.c: Likewise.
33841 * nss/nss_db/db-initgroups.c: Likewise.
33842 * nss/nss_db/db-netgrp.c: Likewise.
33843 * nss/nss_files/files-network.c: Likewise.
33844 * nss/nss_files/files-parse.c: Likewise.
33845 * posix/bug-regex5.c: Likewise.
33846 * posix/fnmatch_loop.c: Likewise.
33847 * posix/regcomp.c: Likewise.
33848 * posix/regexec.c: Likewise.
33849 * posix/tst-rfc3484-2.c: Likewise.
33850 * posix/tst-rfc3484-3.c: Likewise.
33851 * posix/tst-rfc3484.c: Likewise.
33852 * resolv/nss_dns/dns-canon.c: Likewise.
33853 * resolv/nss_dns/dns-network.c: Likewise.
33854 * resolv/res_init.c: Likewise.
33855 * resolv/res_mkquery.c: Likewise.
33856 * resolv/tst-aton.c: Likewise.
33857 * stdlib/cxa_atexit.c: Likewise.
33858 * stdlib/cxa_finalize.c: Likewise.
33859 * stdlib/gen-fpioconst.c: Likewise.
33860 * stdlib/strtol_l.c: Likewise.
33861 * string/tst-endian.c: Likewise.
33862 * sunrpc/auth_des.c: Likewise.
33863 * sunrpc/clnt_udp.c: Likewise.
33864 * sunrpc/rtime.c: Likewise.
33865 * sunrpc/svcauth_des.c: Likewise.
33866 * sunrpc/xdr.c: Likewise.
33867 * sunrpc/xdr_intXX_t.c: Likewise.
33868 * sunrpc/xdr_rec.c: Likewise.
33869 * sysdeps/generic/ldconfig.h: Likewise.
33870 * sysdeps/generic/ldsodefs.h: Likewise.
33871 * sysdeps/generic/memusage.h: Likewise.
33872 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33873 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33874 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33875 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33876 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33877 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33878 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33879 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33880 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33881 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33882 * sysdeps/posix/getaddrinfo.c: Likewise.
33883 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33884 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33885 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33886 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33887 * sysdeps/powerpc/test-gettimebase.c: Likewise.
33888 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33889 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33890 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33891 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33892 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33893 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33894 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33895 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33896 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33897 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33898 * sysdeps/x86_64/dl-tls.h: Likewise.
33899 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33900 * time/alt_digit.c: Likewise.
33901 * time/era.c: Likewise.
33902 * wcsmbs/tst-c16c32-1.c: Likewise.
33904 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33906 * math/libm-test.inc (struct test_sincos_data): New type.
33907 (RUN_TEST_LOOP_sincos): New macro.
33908 (sincos_test_data): New variable.
33909 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33911 2013-05-16 Richard Henderson <rth@redhat.com>
33913 * math/atest-exp2.c (LIMB64): New macro.
33914 (CONSTSZ): New macro.
33915 (mp_exp1, mp_exp_m1, mp_log2): New variables.
33917 (print_mpn_fp): ... to function scope.
33918 (read_mpn_hex): Remove.
33919 (get_log2): Remove.
33920 (exp2_mpn): Use mp_log2.
33921 (main): Use mp_exp1.
33923 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33925 * math/libm-test.inc: Remove comment about not testing "inexact"
33927 (INEXACT_EXCEPTION): New macro.
33928 (NO_INEXACT_EXCEPTION): Likewise.
33929 (INVALID_EXCEPTION_OK): Update value.
33930 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33931 (OVERFLOW_EXCEPTION_OK): Likewise.
33932 (UNDERFLOW_EXCEPTION_OK): Likewise.
33933 (IGNORE_ZERO_INF_SIGN): Likewise.
33934 (ERRNO_UNCHANGED): Likewise.
33935 (ERRNO_EDOM): Likewise.
33936 (ERRNO_ERANGE): Likewise.
33937 (test_exceptions): Handle testing "inexact" exceptions.
33938 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33939 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33940 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33941 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33943 (rint_towardzero_test_data): Likewise.
33944 (rint_downward_test_data): Likewise.
33945 (rint_upward_test_data): Likewise.
33947 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33948 with OVERFLOW_EXCEPTION.
33949 (exp10_test_data): Likewise.
33950 (exp2_test_data): Likewise.
33951 (expm1_test_data): Likewise.
33952 (lgamma_test_data): Likewise.
33953 (pow_test_data): Likewise.
33954 (tgamma_test_data): Likewise.
33955 (yn_test_data): Remove duplicate test of overflow.
33957 * math/libm-test.inc (struct test_cc_c_data): New type.
33958 (RUN_TEST_LOOP_cc_c): New macro.
33959 (cpow_test_data): New variable.
33960 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33962 * math/libm-test.inc (struct test_f_L_data): New type.
33963 (RUN_TEST_LOOP_f_L): New macro.
33964 (llrint_test_data): New variable.
33965 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33966 (llrint_tonearest_test_data): New variable.
33967 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33968 (llrint_towardzero_test_data): New variable.
33969 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33970 (llrint_downward_test_data): New variable.
33971 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33972 (llrint_upward_test_data): New variable.
33973 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33974 (llround_test_data): New variable.
33975 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33977 2013-05-13 Peter Collingbourne <pcc@google.com>
33979 * math/atest-exp2.c (get_log2): Remove const attribute.
33981 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33983 * math/libm-test.inc (struct test_f_l_data): New type.
33984 (RUN_TEST_LOOP_f_l): New macro.
33985 (lrint_test_data): New variable.
33986 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33987 (lrint_tonearest_test_data): New variable.
33988 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33989 (lrint_towardzero_test_data): New variable.
33990 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33991 (lrint_downward_test_data): New variable.
33992 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33993 (lrint_upward_test_data): New variable.
33994 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33995 (lround_test_data): New variable.
33996 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33998 2013-05-15 Peter Collingbourne <pcc@google.com>
34000 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34001 (EXTRACT_WORDS64) Use where appropriate.
34002 (INSERT_WORDS64) Likewise.
34004 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34005 constraints with x constraints.
34006 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34008 * malloc/obstack.c (_obstack_compat): Add initializer.
34010 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
34012 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34013 si_trapno and add si_addr_lsb to _sifields.sigfault.
34014 (si_trapno): Remove macro.
34015 (si_addr_lsb): Define new macro.
34016 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34018 2013-05-15 Joseph Myers <joseph@codesourcery.com>
34020 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34021 instead of TEST_f_l.
34022 (llrint_test_tonearest): Likewise.
34023 (llrint_test_towardzero): Likewise.
34024 (llrint_test_downward): Likewise.
34025 (llrint_test_upward): Likewise.
34026 (llround_test): Likewise.
34028 * math/libm-test.inc (struct test_f_i_data): Add comment.
34029 (RUN_TEST_LOOP_f_b): New macro.
34030 (RUN_TEST_LOOP_f_b_tg): Likewise.
34031 (finite_test_data): New variable.
34032 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34033 (isfinite_test_data): New variable.
34034 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34035 (isinf_test_data): New variable.
34036 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34037 (isnan_test_data): New variable.
34038 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34039 (isnormal_test_data): New variable.
34040 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34041 (issignaling_test_data): New variable.
34042 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34043 (signbit_test_data): New variable.
34044 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34046 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34047 with INVALID_EXCEPTION.
34048 (acosh_test_data): Likewise.
34049 (asin_test_data): Likewise.
34050 (atanh_test_data): Likewise.
34051 (fmod_test_data): Likewise.
34052 (log_test_data): Likewise.
34053 (log10_test_data): Likewise.
34054 (log2_test_data): Likewise.
34055 (pow_test_data): Likewise.
34056 (sqrt_test_data): Likewise.
34057 (y0_test_data): Likewise.
34058 (y1_test_data): Likewise.
34059 (yn_test_data): Likewise.
34061 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34064 * math/libm-test.inc (struct test_ff_i_data): New type.
34065 (RUN_TEST_LOOP_ff_i_tg): New macro.
34066 (isgreater_test_data): New variable.
34067 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34068 (isgreaterequal_test_data): New variable.
34069 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34070 (isless_test_data): New variable.
34071 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34072 (islessequal_test_data): New variable.
34073 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34074 (islessgreater_test_data): New variable.
34075 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34076 (isunordered_test_data): New variable.
34077 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34079 2013-05-14 David S. Miller <davem@davemloft.net>
34081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34083 2013-05-14 Joseph Myers <joseph@codesourcery.com>
34085 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34087 * math/libm-test.inc (struct test_fF_f1_data): Change type of
34089 (struct test_f_i_data): Change type of max_ulp to int.
34091 * math/libm-test.inc (test_ffI_f1_data): New type.
34092 (RUN_TEST_LOOP_ffI_f1): New macro.
34093 (remquo_test_data): New variable.
34094 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34096 * setjmp/tst-setjmp-fp.c: New file.
34097 * setjmp/Makefile (tests): Add tst-setjmp-fp.
34098 (link-libm): New variable.
34099 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34101 * math/libm-test.inc (struct test_f_i_data): New type.
34102 (RUN_TEST_LOOP_f_i): New macro.
34103 (RUN_TEST_LOOP_f_i_tg): Likewise.
34104 (fpclassify_test_data): New variable.
34105 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34106 (ilogb_test_data): New variable.
34107 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34109 * math/libm-test.inc (scalbln_test): Correct function name in END
34112 * math/libm-test.inc (struct test_f_f1_data): Add comment.
34113 (RUN_TEST_LOOP_fI_f1): New macro.
34114 (frexp_test_data): New variable.
34115 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34117 * math/libm-test.inc (struct test_fF_f1_data): New type.
34118 (RUN_TEST_LOOP_fF_f1): New macro.
34119 (modf_test_data): New variable.
34120 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34122 * math/libm-test.inc (struct test_f_f1_data): New type.
34123 (RUN_TEST_LOOP_f_f1): New macro.
34124 (gamma_test_data): New variable.
34125 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34126 (lgamma_test_data): New variable.
34127 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34129 2013-05-13 Carlos O'Donell <carlos@redhat.com>
34131 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34132 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34133 (main): Comment "tls" pseudo-hwcap.
34135 2013-05-13 Joseph Myers <joseph@codesourcery.com>
34137 * math/libm-test.inc (struct test_fl_f_data): New type.
34138 (RUN_TEST_LOOP_fl_f): New variable.
34139 (scalbln_test_data): New variable.
34140 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34142 * math/libm-test.inc (struct test_fi_f_data): New type.
34143 (RUN_TEST_LOOP_fi_f): New macro.
34144 (ldexp_test_data): New variable.
34145 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34146 (scalbn_test_data): New variable.
34147 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34149 * math/libm-test.inc (struct test_c_f_data): New type.
34150 (RUN_TEST_LOOP_c_f): New macro.
34151 (cabs_test_data): New variable.
34152 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34153 (carg_test_data): New variable.
34154 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34155 (cimag_test_data): New variable.
34156 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34157 (creal_test_data): New variable.
34158 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34160 * math/libm-test.inc (struct test_if_f_data): New type.
34161 (RUN_TEST_LOOP_if_f): New macro.
34162 (jn_test_data): New variable.
34163 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34164 (yn_test_data): New variable.
34165 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34167 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34169 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34171 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34172 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34174 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34176 * benchtests/Makefile (CPPFLAGS-nonlib): Add
34177 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34178 (bench-deps): Add bench-timing.h.
34179 * benchtests-bench-skeleton.c: Include bench-timing.h.
34180 (main): Use TIMING_* macros instead of clock_gettime.
34181 * benchtests/bench-timing.h: New file.
34184 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34185 Renamed from _LIB_VERSION.
34186 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34188 2013-05-12 Joseph Myers <joseph@codesourcery.com>
34190 * math/libm-test.inc (struct test_fff_f_data): New type.
34191 (RUN_TEST_LOOP_fff_f): New macro.
34192 (fma_test_data): New variable.
34193 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34194 (fma_towardzero_test_data): New variable.
34195 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34196 (fma_downward_test_data): New variable.
34197 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34198 (fma_upward_test_data): New variable.
34199 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34201 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34202 (struct test_c_c_data): New type.
34203 (RUN_TEST_LOOP_c_c): New macro.
34204 (cacos_test_data): New variable.
34205 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34206 (cacosh_test_data): New variable.
34207 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34208 (casin_test_data): New variable.
34209 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34210 (casinh_test_data): New variable.
34211 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34212 (catan_test_data): New variable.
34213 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34214 (catanh_test_data): New variable.
34215 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34216 (ccos_test_data): New variable.
34217 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34218 (ccosh_test_data): New variable.
34219 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34220 (cexp_test_data): New variable.
34221 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34222 (clog_test_data): New variable.
34223 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34224 (clog10_test_data): New variable.
34225 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34226 (conj_test_data): New variable.
34227 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34228 (cproj_test_data): New variable.
34229 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34230 (csin_test_data): New variable.
34231 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34232 (csinh_test_data): New variable.
34233 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34234 (csqrt_test_data): New variable.
34235 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34236 (ctan_test_data): New variable.
34237 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34238 (ctan_tonearest_test_data): New variable.
34239 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34240 (ctan_towardzero_test_data): New variable.
34241 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34242 (ctan_downward_test_data): New variable.
34243 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34244 (ctan_upward_test_data): New variable.
34245 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34246 (ctanh_test_data): New variable.
34247 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34248 (ctanh_tonearest_test_data): New variable.
34249 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34250 (ctanh_towardzero_test_data): New variable.
34251 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34252 (ctanh_downward_test_data): New variable.
34253 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34254 (ctanh_upward_test_data): New variable.
34255 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34256 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34259 * math/libm-test.inc (struct test_ff_f_data): New type.
34260 (struct test_ff_f_data_nexttoward): Likewise.
34261 (RUN_TEST_LOOP_2_f): New macro.
34262 (RUN_TEST_LOOP_ff_f): Likewise.
34263 (atan2_test_data): New variable.
34264 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34265 (copysign_test_data): New variable.
34266 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34267 (fdim_test_data): New variable.
34268 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34269 (fmax_test_data): New variable.
34270 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34271 (fmin_test_data): New variable.
34272 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34273 (fmod_test_data): New variable.
34274 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34275 (hypot_test_data): New variable.
34276 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34277 (nextafter_test_data): New variable.
34278 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34279 (nexttoward_test_data): New variable.
34280 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34281 (pow_test_data): New variable.
34282 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34283 (pow_tonearest_test_data): New variable.
34284 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34285 (pow_towardzero_test_data): New variable.
34286 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34287 (pow_downward_test_data): New variable.
34288 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34289 (pow_upward_test_data): New variable.
34290 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34291 (remainder_test_data): New variable.
34292 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34293 (scalb_test_data): New variable.
34294 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34295 * sysdeps/i386/fpu/libm-test-ulps: Update.
34297 2013-05-11 Joseph Myers <joseph@codesourcery.com>
34299 * math/libm-test.inc (fma_test): Use max_value instead of local
34301 (nextafter_test): Likewise.
34303 * math/libm-test.inc (acos_towardzero_test_data): New variable.
34304 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34305 (acos_downward_test_data): New variable.
34306 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34307 (acos_upward_test_data): New variable.
34308 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34309 (acosh_test_data): New variable.
34310 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34311 (asin_test_data): New variable.
34312 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34313 (asin_tonearest_test_data): New variable.
34314 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34315 (asin_towardzero_test_data): New variable.
34316 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34317 (asin_downward_test_data): New variable.
34318 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34319 (asin_upward_test_data): New variable.
34320 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34321 (asinh_test_data): New variable.
34322 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34323 (atan_test_data): New variable.
34324 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34325 (atanh_test_data): New variable.
34326 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34327 (cbrt_test_data): New variable.
34328 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34329 (ceil_test_data): New variable.
34330 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34331 (cos_test_data): New variable.
34332 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34333 (cos_tonearest_test_data): New variable.
34334 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34335 (cos_towardzero_test_data): New variable.
34336 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34337 (cos_downward_test_data): New variable.
34338 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34339 (cos_upward_test_data): New variable.
34340 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34341 (cosh_test_data): New variable.
34342 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34343 (cosh_tonearest_test_data): New variable.
34344 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34345 (cosh_towardzero_test_data): New variable.
34346 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34347 (cosh_downward_test_data): New variable.
34348 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34349 (cosh_upward_test_data): New variable.
34350 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34351 (erf_test_data): New variable.
34352 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34353 (erfc_test_data): New variable.
34354 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34355 (exp_test_data): New variable.
34356 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34357 (exp_tonearest_test_data): New variable.
34358 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34359 (exp_towardzero_test_data): New variable.
34360 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34361 (exp_downward_test_data): New variable.
34362 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34363 (exp_upward_test_data): New variable.
34364 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34365 (exp10_test_data): New variable.
34366 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34367 (exp2_test_data): New variable.
34368 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34369 (expm1_test_data): New variable.
34370 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34371 (fabs_test_data): New variable.
34372 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34373 (floor_test_data): New variable.
34374 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34375 (j0_test_data): New variable.
34376 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34377 (j1_test_data): New variable.
34378 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
34379 (log_test_data): New variable.
34380 (log_test): Run tests with RUN_TEST_LOOP_f_f.
34381 (log10_test_data): New variable.
34382 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
34383 (log1p_test_data): New variable.
34384 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
34385 (log2_test_data): New variable.
34386 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
34387 (logb_test_data): New variable.
34388 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
34389 (logb_downward_test_data): New variable.
34390 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34391 (nearbyint_test_data): New variable.
34392 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
34393 (rint_test_data): New variable.
34394 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
34395 (rint_tonearest_test_data): New variable.
34396 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34397 (rint_towardzero_test_data): New variable.
34398 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34399 (rint_downward_test_data): New variable.
34400 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34401 (rint_upward_test_data): New variable.
34402 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34403 (round_test_data): New variable.
34404 (round_test): Run tests with RUN_TEST_LOOP_f_f.
34405 (sin_test_data): New variable.
34406 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
34407 (sin_tonearest_test_data): New variable.
34408 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34409 (sin_towardzero_test_data): New variable.
34410 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34411 (sin_downward_test_data): New variable.
34412 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34413 (sin_upward_test_data): New variable.
34414 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34415 (sinh_test_data): New variable.
34416 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
34417 (sinh_tonearest_test_data): New variable.
34418 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34419 (sinh_towardzero_test_data): New variable.
34420 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34421 (sinh_downward_test_data): New variable.
34422 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34423 (sinh_upward_test_data): New variable.
34424 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34425 (sqrt_test_data): New variable.
34426 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
34427 (tan_test_data): New variable.
34428 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
34429 (tan_tonearest_test_data): New variable.
34430 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34431 (tan_towardzero_test_data): New variable.
34432 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34433 (tan_downward_test_data): New variable.
34434 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34435 (tan_upward_test_data): New variable.
34436 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34437 (tanh_test_data): New variable.
34438 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
34439 (tgamma_test_data): New variable.
34440 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
34441 (trunc_test_data): New variable.
34442 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
34443 (y0_test_data): New variable.
34444 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34445 (y1_test_data): New variable.
34446 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34447 (significand_test_data): New variable.
34448 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34450 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
34453 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34455 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
34457 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34459 2013-05-10 Andreas Jaeger <aj@suse.de>
34462 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34463 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34465 2013-05-10 Joseph Myers <joseph@codesourcery.com>
34467 * math/gen-libm-test.pl (adjust_arg): New function.
34468 (special_functions): Handle generating output in both functions
34470 (parse_args): Likewise.
34471 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
34472 $in_func argument to parse_args.
34473 * math/libm-test.inc (struct test_f_f_data): New type.
34474 (IF_ROUND_INIT_): New macro.
34475 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34476 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34477 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34478 (IF_ROUND_INIT_FE_UPWARD): Likewise.
34479 (ROUND_RESTORE_): Likewise.
34480 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34481 (ROUND_RESTORE_FE_TONEAREST): Likewise.
34482 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34483 (ROUND_RESTORE_FE_UPWARD): Likewise.
34484 (RUN_TEST_LOOP_f_f): New macro.
34485 (acos_test_data): New variable.
34486 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34487 (acos_tonearest_test_data): New variable.
34488 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34490 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34492 * benchtests/bench-skeleton.c (startup): Fix coding style.
34494 2013-05-10 Joseph Myers <joseph@codesourcery.com>
34497 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34498 negative infinity argument.
34499 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34500 negative infinity argument.
34501 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34502 negative infinity argument.
34503 * math/libm-test.inc (tgamma_test): Expect errno to be set for
34506 2013-05-10 Florian Weimer <fweimer@redhat.com>
34508 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34509 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34510 * iconv/iconv_prog.c (main): Likewise.
34511 * locale/programs/charmap-dir.c (charmap_readdir)
34512 (fopen_uncompressed): Likewise.
34513 * locale/programs/locfile.c (siblings_uncached)
34514 (write_locale_data): Use lstat64 instead of lstat.
34515 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34518 2013-05-10 Andreas Jaeger <aj@suse.de>
34521 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34523 Include <locale.h>.
34525 2013-05-09 Carlos O'Donell <carlos@redhat.com>
34527 * elf/dl-close.c (_dl_close_worker): Add comments.
34529 2013-05-09 Joseph Myers <joseph@codesourcery.com>
34532 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34534 (__ieee754_rem_pio2l): Update comments.
34537 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34539 (__ieee754_rem_pio2l): Update comments.
34541 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34542 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34544 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34547 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34548 (M_PI_34_LOG10El): Likewise.
34549 (M_PI2_LOG10El): Likewise.
34550 (M_PI4_LOG10El): Likewise.
34551 (M_PI_LOG10El): Likewise.
34553 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34557 2013-05-08 Joseph Myers <joseph@codesourcery.com>
34559 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34560 (MINUS_ZERO_INIT): Likewise.
34561 (PLUS_INFTY_INIT): Likewise.
34562 (MINUS_INFTY_INIT): Likewise.
34563 (QNAN_VALUE_INIT): Likewise.
34564 (MAX_VALUE_INIT): Likewise.
34565 (MIN_VALUE_INIT): Likewise.
34566 (MIN_SUBNORM_VALUE_INIT): Likewise.
34567 (plus_zero): Initialize with PLUS_ZERO_INIT.
34568 (minus_zero): Initialize with MINUS_ZERO_INIT.
34569 (plus_infty): Initialize with PLUS_INFTY_INIT.
34570 (minus_infty): Initialize with MINUS_INFTY_INIT.
34571 (qnan_value): Initialize with QNAN_VALUE_INIT.
34572 (max_value): Initialize with MAX_VALUE_INIT.
34573 (min_value): Initialize with MIN_VALUE_INIT.
34574 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34576 * math/libm-test.inc (RUN_TEST_if_f): New macro.
34577 (jn_test): Use TEST_if_f instead of TEST_ff_f.
34578 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34579 (yn_test): Use TEST_if_f instead of TEST_ff_f.
34581 * math/libm-test.inc (RUN_TEST_f_f): New macro.
34582 (RUN_TEST_2_f): Likewise.
34583 (RUN_TEST_ff_f): Likewise.
34584 (RUN_TEST_fi_f): Likewise.
34585 (RUN_TEST_fl_f): Likewise.
34586 (RUN_TEST_fff_f): Likewise.
34587 (RUN_TEST_c_f): Likewise.
34588 (RUN_TEST_f_f1): Likewise.
34589 (RUN_TEST_fF_f1): Likewise.
34590 (RUN_TEST_fI_f1): Likewise.
34591 (RUN_TEST_ffI_f1): Likewise.
34592 (RUN_TEST_c_c): Likewise.
34593 (RUN_TEST_cc_c): Likewise.
34594 (RUN_TEST_f_i): Likewise.
34595 (RUN_TEST_f_i_tg): Likewise.
34596 (RUN_TEST_ff_i_tg): Likewise.
34597 (RUN_TEST_f_b): Likewise.
34598 (RUN_TEST_f_b_tg): Likewise.
34599 (RUN_TEST_f_l): Likewise.
34600 (RUN_TEST_f_L): Likewise.
34601 (RUN_TEST_sincos): Likewise.
34602 * math/gen-libm-test.pl (new_test): Take new argument to indicate
34603 whether to show exceptions. Do not include ");\n" in return
34605 (special_functions): Output call to RUN_TEST_sincos instead of
34606 check_float calls. Update calls to new_test.
34607 (parse_args): Output call to single RUN_TEST_* macro instead of
34608 check_* calls and other assignments. Update calls to new_test.
34614 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34615 input to result for tgamma overflow.
34616 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34617 (gamma_coeff): New variable.
34618 (NCOEFF): New macro.
34619 (gamma_positive): New function.
34620 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34621 underflow here. Use gamma_positive instead of exp (lgamma) for
34623 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34624 (gamma_coeff): New variable.
34625 (NCOEFF): New macro.
34626 (gammaf_positive): New function.
34627 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34628 underflow here. Use gamma_positive instead of exp (lgamma) for
34630 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34631 (gamma_coeff): New variable.
34632 (NCOEFF): New macro.
34633 (gammal_positive): New function.
34634 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34635 underflow here. Use gamma_positive instead of exp (lgamma) for
34637 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34638 (gamma_coeff): New variable.
34639 (NCOEFF): New macro.
34640 (gammal_positive): New function.
34641 (__ieee754_gammal_r): Handle positive infinity, overflow and
34642 underflow here. Handle NaN the same as positive infinity. Remove
34643 check x < 0xffffffff for negative integers. Use gamma_positive
34644 instead of exp (lgamma) for other arguments.
34645 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34646 (gamma_coeff): New variable.
34647 (NCOEFF): New macro.
34648 (gammal_positive): New function.
34649 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34650 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34651 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34652 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34653 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34654 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34655 * sysdeps/generic/math_private.h (__gamma_productf): New
34657 (__gamma_product): Likewise.
34658 (__gamma_productl): Likewise.
34659 * math/Makefile (libm-calls): Add gamma_product.
34660 * math/libm-test.inc (tgamma_test): Add more tests.
34661 * sysdeps/i386/fpu/libm-test-ulps: Update.
34662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34664 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
34666 * benchtests/bench-skeleton.c (main): Preheat CPU.
34668 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
34670 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34672 2013-05-07 Roland McGrath <roland@hack.frob.com>
34674 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34675 and _dl_skip_args_internal.
34677 2013-05-07 Carlos O'Donell <carlos@redhat.com>
34679 * manual/message.texi (Message Translation): Talk about users.
34680 Message to key mapping impacts design.
34682 2013-05-06 Roland McGrath <roland@hack.frob.com>
34684 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34686 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34688 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34689 * sysdeps/wordsize-64/glob64.c: ... here.
34691 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34692 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34695 * debug/getlogin_r_chk.c: Moved to ...
34696 * login/getlogin_r_chk.c: ... here.
34697 * debug/Makefile (routines): Move getlogin_r_chk to ...
34698 * login/Makefile (routines): ... here.
34699 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34700 * login/Versions (libc: GLIBC_2.4): ... here.
34702 * io/poll.c (__poll): Renamed from poll.
34703 Add libc_hidden_def.
34704 (poll): Define as weak alias.
34706 * debug/ptsname_r_chk.c: Moved to ...
34707 * login/ptsname_r_chk.c: ... here.
34708 * debug/Makefile (routines): Move ptsname_r_chk to ...
34709 * login/Makefile (routines): ... here.
34710 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34711 * login/Versions (libc: GLIBC_2.4): ... here.
34713 * posix/getlogin.c: Moved to ...
34714 * login/getlogin.c: ... here.
34715 * posix/getlogin_r.c: Moved to ...
34716 * login/getlogin_r.c: ... here.
34717 * posix/getlogin_r.c: Moved to ...
34718 * login/getlogin_r.c: ... here.
34719 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34720 * login/Makefile (routines): ... here.
34721 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34722 * login/Versions (libc: GLIBC_2.0): ... here.
34724 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34725 (setrlimit): Define as weak alias.
34727 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34728 Call __ names for open, ftruncate, and close.
34729 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34730 (truncate): Define as weak alias.
34732 2013-05-06 Joseph Myers <joseph@codesourcery.com>
34734 * math/gen-libm-test.pl (parse_args): Initialize x before each
34735 test of frexp, modf and remquo.
34737 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34738 test signgam value.
34740 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34744 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34746 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34748 2013-05-06 Roland McGrath <roland@hack.frob.com>
34750 * elf/dl-writev.h: New file.
34751 * elf/dl-misc.c: Include it.
34752 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34753 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34755 2013-05-04 Joseph Myers <joseph@codesourcery.com>
34757 * math/libm-test.inc (noXFails): Remove variable.
34758 (noXPasses): Likewise.
34759 (BUILD_COMPLEX_INT): Remove macro.
34760 (print_screen): Remove xfail argument.
34761 (print_screen_max_error): Likewise.
34762 (update_stats): Likewise.
34763 (print_max_error): Likewise. Update calls to other affected
34765 (print_complex_max_error): Likewise.
34766 (test_single_exception): Update calls to print_screen.
34767 (test_single_errno): Likewise.
34768 (check_float_internal): Remove xfail argument. Update calls to
34769 other affected functions.
34770 (check_float): Likewise.
34771 (check_complex): Likewise.
34772 (check_int): Likewise.
34773 (check_long): Likewise.
34774 (check_bool): Likewise.
34775 (check_longlong): Likewise.
34776 (main): Don't print noXFails and noXPasses.
34777 * math/gen-libm-test.pl (top level): Don't mention expected
34778 failure handling in comment.
34779 (new_test): Don't handle expected failures.
34780 (parse_args): Don't mention expected failure handling in comment.
34781 (generate_testfile): Don't handle expected failures.
34782 (parse_ulps): Likewise.
34783 (print_ulps_file): Likewise.
34784 (get_failure): Remove function.
34785 (output_test): Don't handle expected failures.
34786 * make/README.libm-test: Don't mention expected failure handling.
34788 * math/libm-test.inc (plus_zero): Make const. Add initializer.
34789 (minus_zero): Likewise.
34790 (plus_infty): Likewise.
34791 (minus_infty): Likewise.
34792 (qnan_value): Likewise.
34793 (max_value): Likewise.
34794 (min_value): Likewise.
34795 (min_subnorm_value): Likewise.
34796 (initialize): Do not initialize those variables dynamically.
34798 2013-05-03 Roland McGrath <roland@hack.frob.com>
34800 * io/open.c (__open_2): Moved to ...
34801 * io/open_2.c: ... this new file.
34802 * io/open64.c (__open64_2): Moved to ...
34803 * io/open64_2.c: ... this new file.
34804 * io/openat.c (__openat_2): Moved to ...
34805 * io/openat_2.c: ... this new file.
34806 * io/openat64.c (__openat64_2): Moved to ...
34807 * io/openat64_2.c: ... this new file.
34808 * io/Makefile (routines): Add them.
34809 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34810 * sysdeps/unix/sysv/linux/open_2.c: File removed.
34811 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34812 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34813 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34814 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34815 (__openat64): Add hidden_ver.
34816 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34817 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34819 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34820 Separately conditionalize setting of GLRO(dl_sysinfo) so
34821 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34822 as well, but the actual setting is only under [NEED_DL_SYSINFO].
34824 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34826 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34827 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34829 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34830 * sysdeps/unix/sysv/linux/powerpc/init-first.c
34831 (_libc_vdso_platform_setup): Add __vdso_time initialization.
34832 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34833 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34835 2013-05-03 Joseph Myers <joseph@codesourcery.com>
34837 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34838 test signgam value.
34840 * math/libm-test.inc (hypot_test): Do not use
34841 IGNORE_ZERO_INF_SIGN.
34843 2013-05-03 Andreas Jaeger <aj@suse.de>
34845 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34847 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34848 (PF_MAX): Adjust for VSOCK change.
34850 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34854 2013-05-02 Carlos O'Donell <carlos@redhat.com>
34857 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34858 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34859 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34861 2013-05-02 David S. Miller <davem@davemloft.net>
34863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34865 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
34867 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34869 2013-05-01 Roland McGrath <roland@hack.frob.com>
34871 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34873 2013-05-01 Richard Smith <richard@metafoo.co.uk>
34876 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34877 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34878 Use __attribute__ ((__gnu_inline__)).
34879 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34880 Don't use __attribute__ ((__gnu_inline__)).
34882 2013-05-01 Joseph Myers <joseph@codesourcery.com>
34885 * math/s_catan.c (__catan): Handle small real or imaginary part of
34886 input specially to avoid spurious underflow.
34887 * math/s_catanf.c (__catanf): Likewise.
34888 * math/s_catanh.c (__catanh): Likewise.
34889 * math/s_catanhf.c (__catanhf): Likewise.
34890 * math/s_catanhl.c (__catanhl): Likewise.
34891 * math/s_catanl.c (__catanl): Likewise.
34892 * math/libm-test.inc (catan_test): Add more tests.
34893 (catanh_test): Likewise.
34894 * sysdeps/i386/fpu/libm-test-ulps: Update.
34895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34897 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34901 2013-04-30 Joseph Myers <joseph@codesourcery.com>
34904 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34905 accurately for denominator in atan2.
34906 * math/s_catanf.c (__catanf): Likewise.
34907 * math/s_catanh.c (__catanh): Likewise.
34908 * math/s_catanhf.c (__catanhf): Likewise.
34909 * math/s_catanhl.c (__catanhl): Likewise.
34910 * math/s_catanl.c (__catanl): Likewise.
34911 * math/libm-test.inc (catan_test): Add more tests.
34912 (catanh_test): Likewise.
34913 * sysdeps/i386/fpu/libm-test-ulps: Update.
34914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34916 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34918 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34920 * benchtests/Makefile (bench): Remove slow benchmarks.
34921 * benchtests/atan-inputs: Add slow benchmark inputs.
34922 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34923 (BENCH_FUNC): Accept variant offset.
34925 * benchtests/bench-skeleton.c (main): Run benchmark for each
34927 * benchtests/cos-inputs: Add slow benchmark inputs.
34928 * benchtests/exp-inputs: Likewise.
34929 * benchtests/pow-inputs: Likewise.
34930 * benchtests/sin-inputs: Likewise.
34931 * benchtests/slowatan-inputs: Remove.
34932 * benchtests/slowatan.c: Remove.
34933 * benchtests/slowcos-inputs: Remove.
34934 * benchtests/slowcos.c: Remove.
34935 * benchtests/slowexp-inputs: Remove.
34936 * benchtests/slowexp.c: Remove.
34937 * benchtests/slowpow-inputs: Remove.
34938 * benchtests/slowpow.c: Remove.
34939 * benchtests/slowsin-inputs: Remove.
34940 * benchtests/slowsin.c: Remove.
34941 * benchtests/slowtan-inputs: Remove.
34942 * benchtests/slowtan.c: Remove.
34943 * benchtests/tan-inputs: Add slow benchmark inputs.
34944 * scripts/bench.pl: Parse comments and directives.
34946 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
34948 ($(objpfx)bench-%.c): Remove *-ITER.
34949 * benchtests/bench-modf.c: Remove definition of ITER.
34950 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34951 (main): Loop for DURATION seconds instead of fixed number of
34953 * scripts/bench.pl: Don't expect iterations in parameters.
34955 2013-04-29 Roland McGrath <roland@hack.frob.com>
34957 * io/fchdir.c (__fchdir): Renamed from fchdir.
34958 (fchdir): Define as weak alias.
34960 2013-04-29 Joseph Myers <joseph@codesourcery.com>
34962 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34963 (ERRNO_EDOM): Likewise.
34964 (ERRNO_ERANGE): Likewise.
34965 (noErrnoTests): New variable.
34966 (init_max_error): Set errno to 0.
34967 (test_single_errno): New function.
34968 (test_errno): Likewise.
34969 (check_float_internal): Call test_errno. Set errno to 0.
34970 (check_complex): Refer to errno tests in comment.
34971 (check_int): Call test_errno. Set errno to 0.
34972 (check_long): Likewise.
34973 (check_bool): Likewise.
34974 (check_longlong): Likewise.
34975 (cos_test): Use ERRNO_* flags for errno tests instead of
34977 (expm1_test): Likewise.
34978 (fmod_test): Likewise.
34979 (ilogb_test): Likewise.
34980 (lgamma_test): Likewise.
34981 (pow_test): Likewise.
34982 (remainder_test): Likewise.
34983 (sin_test): Likewise.
34984 (tan_test): Likewise.
34985 (yn_test): Likewise.
34986 (initialize): Set errno to 0.
34987 (main): Print number of errno tests.
34988 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34990 2013-04-29 Andreas Jaeger <aj@suse.de>
34993 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34997 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34998 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35002 * stdlib/random.c (__initstate): Return NULL if
35006 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35007 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35010 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35014 2013-04-29 Joseph Myers <joseph@codesourcery.com>
35016 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35017 of individual tests.
35018 (casin_test): Likewise.
35019 (casinh_test): Likewise.
35021 2013-04-27 Joseph Myers <joseph@codesourcery.com>
35024 * math/s_catan.c (__catan): Handle arguments with large real or
35025 imaginary part separately without squaring.
35026 * math/s_catanf.c (__catanf): Likewise.
35027 * math/s_catanh.c (__catanh): Likewise.
35028 * math/s_catanhf.c (__catanhf): Likewise.
35029 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35031 (__catanhl): Handle arguments with large real or imaginary part
35032 separately without squaring.
35033 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35035 (__catanl): Handle arguments with large real or imaginary part
35036 separately without squaring.
35037 * math/libm-test.inc (catan_test): Add more tests.
35038 (catanh_test): Likewise.
35039 * sysdeps/i386/fpu/libm-test-ulps: Update.
35040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35042 2013-04-27 Andreas Jaeger <aj@suse.de>
35045 * stdlib/stdlib.h: Update guards for qecvt.
35046 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35049 2013-04-27 Allan McRae <allan@archlinux.org>
35051 * sysdeps/i386/fpu/libm-test-ulps: Update.
35053 2013-04-26 Joseph Myers <joseph@codesourcery.com>
35056 * math/s_catan.c: Include <float.h>.
35057 (__catan): Ensure underflow exception occurs for underflowed
35059 * math/s_catanf.c: Include <float.h>.
35060 (__catanf): Ensure underflow exception occurs for underflowed
35062 * math/s_catanh.c: Include <float.h>.
35063 (__catanh): Ensure underflow exception occurs for underflowed
35065 * math/s_catanhf.c: Include <float.h>.
35066 (__catanhf): Ensure underflow exception occurs for underflowed
35068 * math/s_catanhl.c: Include <float.h>.
35069 (__catanhl): Ensure underflow exception occurs for underflowed
35071 * math/s_catanl.c: Include <float.h>.
35072 (__catanl): Ensure underflow exception occurs for underflowed
35074 * math/libm-test.inc (catan_test): Add more tests.
35075 (catanh_test): Likewise.
35078 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35079 underflowed result.
35080 * math/s_ccoshf.c (__ccoshf): Likewise.
35081 * math/s_ccoshl.c (__ccoshl): Likewise.
35082 * math/s_csin.c (__csin): Likewise.
35083 * math/s_csinf.c (__csinf): Likewise.
35084 * math/s_csinh.c (__csinh): Likewise.
35085 * math/s_csinhf.c (__csinhf): Likewise.
35086 * math/s_csinhl.c (__csinhl): Likewise.
35087 * math/s_csinl.c (__csinl): Likewise.
35088 * math/libm-test.inc (ccos_test): Add more tests.
35089 (ccosh_test): Likewise.
35090 (csin_test): Likewise.
35091 (csinh_test): Likewise.
35093 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35095 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35096 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35097 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35098 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35099 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35100 powerpc/power5+/fpu folders.
35101 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35104 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35108 2013-04-25 Joseph Myers <joseph@codesourcery.com>
35110 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35111 additions to variable.
35112 [$(config-machine) = x86_64] (modules-names): Likewise.
35113 ($(objpfx)tst-audit3): Remove dependency.
35114 ($(objpfx)tst-audit3.out): Likewise.
35115 ($(objpfx)tst-audit4): Likewise.
35116 ($(objpfx)tst-audit4.out): Likewise.
35117 ($(objpfx)tst-audit5): Likewise.
35118 ($(objpfx)tst-audit5.out): Likewise.
35119 ($(objpfx)tst-audit6): Likewise.
35120 ($(objpfx)tst-audit6.out): Likewise.
35121 ($(objpfx)tst-audit7): Likewise.
35122 ($(objpfx)tst-audit7.out): Likewise.
35123 (tst-audit3-ENV): Remove variable.
35124 (tst-audit4-ENV): Likewise.
35125 (tst-audit5-ENV): Likewise.
35126 (tst-audit6-ENV): Likewise.
35127 (tst-audit7-ENV): Likewise.
35128 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35129 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35130 addition to variable.
35131 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35132 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35133 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35134 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35135 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35136 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35137 tst-audit3, tst-audit4 and tst-audit5.
35138 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35139 tst-audit6 and tst-audit7.
35140 [$(subdir) = elf] (modules-names): Add audit modules for those
35142 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35143 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35144 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35145 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35146 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35147 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35148 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35149 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35150 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35151 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35152 [$(subdir) = elf] (tst-audit3-ENV): New variable.
35153 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35154 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35155 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35156 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35157 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35159 [$(subdir) = elf && $(config-cflags-avx) = yes]
35160 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35161 [$(subdir) = elf && $(config-cflags-avx) = yes]
35162 (CFLAGS-tst-auditmod4a.c): Likewise.
35163 [$(subdir) = elf && $(config-cflags-avx) = yes]
35164 (CFLAGS-tst-auditmod4b.c): Likewise.
35165 [$(subdir) = elf && $(config-cflags-avx) = yes]
35166 (CFLAGS-tst-auditmod6b.c): Likewise.
35167 [$(subdir) = elf && $(config-cflags-avx) = yes]
35168 (CFLAGS-tst-auditmod6c.c): Likewise.
35169 [$(subdir) = elf && $(config-cflags-avx) = yes]
35170 (CFLAGS-tst-auditmod7b.c): Likewise.
35171 * elf/tst-audit3.c: Move to ...
35172 * sysdeps/x86_64/tst-audit3.c: ... here.
35173 * elf/tst-audit4.c: Move to ...
35174 * sysdeps/x86_64/tst-audit4.c: ... here.
35175 * elf/tst-audit5.c: Move to ...
35176 * sysdeps/x86_64/tst-audit5.c: ... here.
35177 * elf/tst-audit6.c: Move to ...
35178 * sysdeps/x86_64/tst-audit6.c: ... here.
35179 * elf/tst-audit7.c: Move to ...
35180 * sysdeps/x86_64/tst-audit7.c: ... here.
35181 * elf/tst-auditmod3a.c: Move to ...
35182 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35183 * elf/tst-auditmod3b.c: Move to ...
35184 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35185 * elf/tst-auditmod4a.c: Move to ...
35186 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35187 * elf/tst-auditmod4b.c: Move to ...
35188 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35189 * elf/tst-auditmod5a.c: Move to ...
35190 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35191 * elf/tst-auditmod5b.c: Move to ...
35192 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35193 * elf/tst-auditmod6a.c: Move to ...
35194 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35195 * elf/tst-auditmod6b.c: Move to ...
35196 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35197 * elf/tst-auditmod6c.c: Move to ...
35198 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35199 * elf/tst-auditmod7a.c: Move to ...
35200 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35201 * elf/tst-auditmod7b.c: Move to ...
35202 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35204 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
35207 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35208 define unconditionally.
35209 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35210 define unconditionally.
35211 (INT8_C, INT16_C, etc.): Likewise.
35213 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
35215 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35216 __ehdr_start with hidden visibility.
35218 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35220 2013-04-24 Carlos O'Donell <carlos@redhat.com>
35222 * math/libm-test.inc (cos_test): Use accurate hex constants.
35223 (sincost_test): Likewise.
35225 2013-04-24 Joseph Myers <joseph@codesourcery.com>
35227 * math/libm-test.inc (catan_test): Add more tests.
35228 (catanh_test): Likewise.
35230 * math/s_catanf.c (__catanf): Use suffixed floating-point
35232 * math/s_catanhf.c (__catanhf): Likewise.
35233 * math/s_catanhl.c (__catanhl): Likewise.
35234 * math/s_catanl.c (__catanl): Likewise.
35237 * math/s_catan.c (__catan): Calculate imaginary part of result
35238 with log1p not log unless computing log of number close to 0.
35239 * math/s_catanf.c (__catanf): Likewise.
35240 * math/s_catanl.c (__catanl): Likewise.
35241 * math/s_catanh.c (__catanh): Calculate real part of result with
35242 log1p not log unless computing log of number close to 0.
35243 * math/s_catanhf.c (__catanhf): Likewise.
35244 * math/s_catanhl.c (__catanhl): Likewise.
35245 * math/libm-test.inc (catan_test): Add more tests.
35246 (catanh_test): Likewise.
35247 * sysdeps/i386/fpu/libm-test-ulps: Update.
35248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35250 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
35252 * benchtests/Makefile: Mention files in which fast and slow
35253 paths of math functions are implemented.
35255 2013-04-23 Roland McGrath <roland@hack.frob.com>
35257 * sysdeps/posix/timespec_get.c: New file.
35259 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35261 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35263 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35265 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35266 powerpc/power5/fpu folders.
35267 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35268 * benchtests/Makefile: Add modf testcase.
35269 * benchtests/bench-modf.c: New file: Benchmark test for mo
35271 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
35274 * time/Makefile (tests): Add tst-strptime-whitespace.
35275 * time/strptime_l.c (get_number): Use ISSPACE.
35276 (__strptime_internal): Likewise.
35277 * time/tst-strptime-whitespace.c: New test case.
35279 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
35281 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35283 (_nss_files_init): Set it here.
35285 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
35287 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35288 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35291 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
35293 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35295 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35297 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35300 2013-04-21 David S. Miller <davem@davemloft.net>
35302 * po/ru.po: Update Russion translation from translation project.
35304 2013-04-17 Adam Conrad <adconrad@0c3.net>
35306 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35309 2013-04-17 Carlos O'Donell <carlos@redhat.com>
35311 * configure.in: Remove i386 configure warning. Remove i386 case.
35312 * configure: Regenerate.
35313 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35314 Add example to error message.
35315 * sysdeps/i386/configure: Regenerate.
35317 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35319 * benchtests/Makefile (bench): Add cos, tan, slowcos and
35321 * benchtests/cos-inputs: New file.
35322 * benchtests/slowcos-inputs: New file.
35323 * benchtests/slowcos.c: New file.
35324 * benchtests/slowtan-inputs: New file.
35325 * benchtests/slowtan.c: New file.
35326 * benchtests/tan-inputs: New file.
35328 2013-04-16 Roland McGrath <roland@hack.frob.com>
35330 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35333 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35335 * benchtests/Makefile: Include cppflags-iterator.mk to add
35336 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35338 * Makefile.in (bench-clean): New target.
35339 * benchtests/Makefile (bench-clean): Likewise.
35341 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
35343 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35345 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
35347 * stdio-common/tstdiomisc.c: Fix coding-style violation.
35349 2013-04-15 Andreas Schwab <schwab@suse.de>
35351 * nscd/grpcache.c (cache_addgr): Properly check for short write.
35352 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35353 * nscd/pwdcache.c (cache_addpw): Likewise.
35354 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
35357 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35359 * benchtests/Makefile (bench): Write all output to
35360 bench-out.tmp together.
35362 2013-04-15 Andreas Schwab <schwab@suse.de>
35364 * nscd/nscd.c (main): Don't fork again after closing files.
35366 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35368 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35370 * benchtests/Rules (bench-deps): Collect dependencies into a
35371 single variable. Add Makefile to dependencies.
35372 ($(objpfx)bench-%.c): Depend on bench-deps.
35374 2013-04-12 Roland McGrath <roland@hack.frob.com>
35375 Xavier Roche <roche+kml2@exalead.com>
35378 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
35379 just that it's a file descriptor.
35380 * manual/llio.texi (Synchronizing AIO Operations): Update description
35381 for EBADF error from aio_fsync.
35383 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35385 * Rules (bench): Move target definition...
35386 * benchtests/Makefile: ... here.
35388 2013-04-11 Carlos O'Donell <carlos@redhat.com>
35390 * math/libm-test.inc (cos_test): Fix PI/2 test.
35391 (sincos_test): Likewise.
35392 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35393 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
35395 2013-04-11 Andreas Schwab <schwab@suse.de>
35398 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
35399 accept exponent character only when digits were seen.
35400 * stdio-common/Makefile (tests): Add bug26.
35401 * stdio-common/bug26.c: New file.
35404 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
35407 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35409 * Makeconfig (rtld-prefix): Define built linker prefix.
35410 * Rules (run-bench): Use it.
35411 * math/Makefile (run-regen-ulps): Likewise.
35413 * Rules (bench): Remove eval.
35415 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35416 Roland McGrath <roland@hack.frob.com>
35417 Ondrej Bilka <neleai@seznam.cz>
35420 * time/getdate.c: Include ctype.h and alloca.h.
35421 (__getdate_r): Trim leading and trailing spaces of input.
35422 * time/tst-getdate.c (tests): Add tests with leading and
35425 2013-04-08 Roland McGrath <roland@hack.frob.com>
35428 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
35429 when computing value.
35431 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35433 * math/README.libm-test (How can I generate "libm-test-ulps"?):
35434 Use testrun.sh to run libm tests.
35437 * elf/dl-open.c (dl_open_worker): memset all of seen array.
35439 2013-04-06 Marko Myllynen <myllynen@redhat.com>
35442 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
35444 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35446 * Makefile.in (regen-ulps): New target.
35447 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35448 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35449 [ifneq (no,$(PERL)] (regen-ulps): New target.
35450 [ifeq (no,$(PERL)] (regen-ulps): New target.
35451 * math/libm-test.inc (ulps_file_name): Define.
35452 (output_dir): New variable.
35453 (options): Add "output-dir" option.
35454 (parse_opt): Handle 'o' case.
35455 (main): If output_dir is non-NULL use it as a prefix
35457 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35459 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35461 [BZ #10060, #10062]
35462 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35463 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35464 fail configure if __sync_val_compare_and_swap is not inlined.
35465 * sysdeps/i386/configure: Regenerate.
35466 * configure.in: Build for i686 when configured for i386.
35467 * configure: Regenerate.
35468 * README: Remove i386 reference.
35470 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35472 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35473 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35475 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
35477 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35478 (lmsnanval): New variables.
35479 (F): Add conversion tests.
35480 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35481 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35483 * stdio-common/tstdiomisc.c (F): Properly collect individual
35486 [BZ #14686, #15336]
35487 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35488 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35489 Instead, use input NaN values or generate a qNaN by arithmetic
35490 operation. Also fix bugs to comply with the standard.
35491 * math/libm-test.inc (remainder_test): Add more tests.
35493 [BZ #15335, #15342]
35494 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35495 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35496 input NaN values or generate a qNaN by arithmetic operation.
35498 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35501 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35504 2013-04-03 Joseph Myers <joseph@codesourcery.com>
35507 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35508 underflowed result.
35509 * math/s_cexpf.c (__cexpf): Likewise.
35510 * math/s_cexpl.c (__cexpl): Likewise.
35511 * math/libm-test.inc (cexp_test): Add more tests.
35513 2013-04-03 Andreas Schwab <schwab@suse.de>
35516 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35517 order arrays from heap if bigger than alloca cutoff.
35519 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
35521 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35522 (SNAN_TESTS_double): Refer to GCC PR56831.
35523 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35526 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
35528 * Rules (bench): Move bench.out after the run is complete.
35530 * Rules (bench): Echo currently running benchmark.
35532 * benchtests/Makefile (bench): Add atan and slowatan.
35533 * benchtests/atan-inputs: New file.
35534 * benchtests/slowatan-inputs: New file.
35535 * benchtests/slowatan.c: New file.
35537 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35538 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35542 * sysdeps/unix/sysv/linux/kernel-features.h
35543 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35544 __ASSUME_XFS_RESTRICTED_CHOWN.
35545 * sysdeps/unix/sysv/linux/pathconf.c
35546 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35547 Save and restore errno.
35549 2013-04-02 Joseph Myers <joseph@codesourcery.com>
35552 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35553 arguments using __kernel_casinh.
35554 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35555 arguments using __kernel_casinhf.
35556 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35557 arguments using __kernel_casinhl.
35558 * math/libm-test.inc (cacosh_test): Add more tests.
35559 * sysdeps/i386/fpu/libm-test-ulps: Update.
35560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35562 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35564 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35565 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35567 * bench/Makefile (bench): Add sin and slowsin.
35568 * benchtests/sin-inputs: New file.
35569 * benchtests/slowsin-inputs: New file.
35570 * benchtests/slowsin.c: New file.
35572 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35573 (bench): Add slowexp and slowpow.
35574 (exp-ITER): Increase iterations.
35575 (pow-ITER): Likewise.
35576 * benchtests/exp-inputs: Change input.
35577 * benchtests/pow-inputs: Likewise.
35578 * benchtests/slowexp-inputs: New file.
35579 * benchtests/slowexp.c: New file.
35580 * benchtests/slowpow-inputs: New file.
35581 * benchtests/slowpow.c: New file.
35583 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35585 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35587 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35588 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35589 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35590 * benchtests/Makefile: Add rint benchtest.
35591 * benchtests/rint-inputs: Input for rint benchtest.
35593 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
35595 * Versions.def (libm): Add GLIBC_2.18.
35596 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35597 hidden libm prototypes.
35598 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35599 * math/Makefile (libm-calls): Add s_issignaling.
35600 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35601 __issignalingf, __issignalingl. Adjust all libm.abilist files.
35602 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35604 * math/math.h [__USE_GNU] (issignaling): New macro.
35605 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35606 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35607 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35608 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35609 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35610 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35611 * manual/arith.texi (issignaling): New section.
35612 * manual/libm-err-tab.pl (@all_functions): Update comment.
35613 * math/gen-libm-test.pl (parse_args): Apply special handling for
35615 * math/libm-test.inc (print_float, issignaling_test): New
35617 (check_float_internal): Add issignaling checks.
35618 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35619 default definition.
35620 * sysdeps/powerpc/math-tests.h: New file.
35621 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35623 * math/test-snan.c (TEST_FUNC): Likewise.
35625 2013-03-30 David S. Miller <davem@davemloft.net>
35627 * po/de.po: Update from translation team.
35629 2013-03-30 Joseph Myers <joseph@codesourcery.com>
35632 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35633 imaginary part less than 1.0 and real part less than 0.5
35635 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35636 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35637 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35638 (cacos_test): Add more tests.
35639 (casin_test): Likewise.
35640 (casinh_test): Likewise.
35641 * sysdeps/i386/fpu/libm-test-ulps: Update.
35642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35644 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35646 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35647 ONE with its value.
35649 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35650 (__pow_mp): Replace ONE and MONE with their values.
35651 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35652 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35653 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35654 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35655 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35656 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35658 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35660 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35661 (__pow_mp): Replace ZERO and MZERO with their values.
35662 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35663 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35664 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35665 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35666 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35667 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35670 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35672 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35674 2013-03-28 Roland McGrath <roland@hack.frob.com>
35676 * include/stdlib.h [!SHARED] (__call_tls_dtors):
35677 Declare with __attribute__ ((weak)).
35678 * stdlib/exit.c (__libc_atexit) [!SHARED]:
35679 Call __call_tls_dtors only if it's not NULL.
35681 2013-03-28 Roland McGrath <roland@hack.frob.com>
35683 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35684 didn't do it already, then set _dl_phdr and _dl_phnum based on the
35685 magic __ehdr_start linker symbol if it's defined.
35686 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35687 them up here if it was already done.
35689 * elf/dl-support.c (_dl_phdr): Make pointer to const.
35690 (_dl_aux_init): Use const in cast when setting it.
35691 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35692 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35693 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35695 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35697 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35698 * csu/libc-tls.c: Nor here.
35699 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35701 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35702 (__libc_message): Never call vsyslog.
35704 2013-03-28 Alan Modra <amodra@gmail.com>
35706 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35708 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35711 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35714 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35718 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35721 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35722 Don't add gid passed as argument.
35724 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35726 2013-03-27 Joseph Myers <joseph@codesourcery.com>
35729 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35730 imaginary part between 1.0 and 1.5 and real part less than 0.5
35732 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35733 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35734 * math/libm-test.inc (cacos_test): Add more tests.
35735 (casin_test): Likewise.
35736 (casinh_test): Likewise.
35737 * sysdeps/i386/fpu/libm-test-ulps: Update.
35738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35740 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35742 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35745 (denorm): Likewise.
35746 (__dbl_mp): Likewise.
35747 (add_magnitudes): Likewise.
35748 (sub_magnitudes): Likewise.
35756 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35758 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35759 (__dubcos): Likewise.
35760 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35761 (__ieee754_acos): Likewise.
35762 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35763 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35764 (__exp1): Likewise.
35765 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35766 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35768 (my_log2): Likewise.
35769 (checkint): Likewise.
35770 * sysdeps/ieee754/dbl-64/e_remainder.c
35771 (__ieee754_remainder): Likewise.
35772 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35773 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35774 (bsloww): Likewise.
35775 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35777 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35778 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35779 MANTISSA_STORE_T to store computations on mantissa. Use
35780 macros for rounding and division.
35781 (denorm): Likewise.
35782 (__dbl_mp): Likewise.
35783 (add_magnitudes): Likewise.
35784 (sub_magnitudes): Likewise.
35787 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
35788 powers of two in terms of TWOPOW macro.
35789 (mp_no): Make type of mantissa as MANTISSA_T.
35790 [!RADIXI]: Define RADIXI.
35791 [!TWO52]: Define TWO52.
35792 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35794 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35796 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35797 llroundl symbol when building for PPC32.
35799 2013-03-24 Mark H Weaver <mhw@netris.org>
35801 * manual/arith.texi (Normalization Functions): Fix prototypes for
35802 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35804 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35807 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35808 high value to check if expl overflow.
35809 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35810 to check for underflow and overflow.
35811 * math/libm-test.inc: Add exp test.
35813 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
35816 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35819 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35821 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35824 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
35826 * math/gen-libm-test.pl (parse_args, special_functions): Properly
35827 wrap blocks consisting of several statements.
35829 * sysdeps/generic/math-tests.h: New file.
35830 * sysdeps/i386/fpu/math-tests.h: Likewise.
35831 * math/test-snan.c: Include it.
35832 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35834 2013-03-21 Joseph Myers <joseph@codesourcery.com>
35837 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35838 (__ieee754_j0l): Do not improve calculations using cos of twice
35839 input for inputs above LDBL_MAX / 2.0L.
35840 (__ieee754_y0l): Likewise.
35841 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35842 (__ieee754_j1l): Do not improve calculations using cos of twice
35843 input for inputs above LDBL_MAX / 2.0L.
35844 (__ieee754_y1l): Likewise.
35845 * math/libm-test.inc (j0_test): Add another test.
35846 (j1_test): Likewise.
35847 (y0_test): Likewise.
35848 (y1_test): Likewise.
35849 * sysdeps/i386/fpu/libm-test-ulps: Update.
35851 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35853 * Rules ($(objpfx)bench-%.c): Include code from a C source
35856 2013-03-21 Joseph Myers <joseph@codesourcery.com>
35859 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35860 imaginary part 1.0 and real part less than 0.5 specially.
35861 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35862 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35863 * math/libm-test.inc (cacos_test): Add more tests.
35864 (casin_test): Likewise.
35865 (casinh_test): Likewise.
35866 * sysdeps/i386/fpu/libm-test-ulps: Update.
35867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35869 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35871 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35872 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35874 2013-03-20 Joseph Myers <joseph@codesourcery.com>
35876 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35877 * config.make.in (config-cflags-sse4): Remove variable.
35878 (config-cflags-avx): Likewise.
35879 (config-cflags-sse2avx): Likewise.
35880 (config-cflags-novzeroupper): Likewise.
35881 (config-asflags-i686): Likewise.
35882 (have-mfma4): Likewise.
35883 (have-as-vis3): Likewise.
35885 * configure.in (MIG): Do not AC_SUBST.
35886 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35887 (libc_cv_cc_sse4): Do not AC_SUBST.
35888 (libc_cv_cc_avx): Likewise.
35889 (libc_cv_cc_sse2avx): Likewise.
35890 (libc_cv_cc_novzeroupper): Likewise.
35891 (libc_cv_cc_fma4): Likewise.
35892 (libc_cv_as_i686): Likewise.
35893 (libc_cv_sparc_as_vis3): Likewise.
35894 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35896 (config-asflags-i686): Likewise.
35897 (config-cflags-avx): Likewise.
35898 (config-cflags-sse2avx): Likewise.
35899 (have-mfma4): Likewise.
35900 (config-cflags-novzeroupper): Likewise.
35901 * sysdeps/mach/configure.in (MIG): Likewise.
35902 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35903 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35905 (config-cflags-avx): Likewise.
35906 (config-cflags-sse2avx): Likewise.
35907 (have-mfma4): Likewise.
35908 (config-cflags-novzeroupper): Likewise.
35909 * configure: Regenerated.
35910 * sysdeps/i386/configure: Likewise.
35911 * sysdeps/mach/configure: Likewise.
35912 * sysdeps/sparc/configure: Likewise.
35913 * sysdeps/x86_64/configure: Likewise.
35915 2013-03-20 Roland McGrath <roland@hack.frob.com>
35918 * locale/programs/localedef.c (options): Put N_ translation marker
35919 on argument names, not just descriptions.
35921 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35923 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35925 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
35928 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35930 2013-03-19 Roland McGrath <roland@hack.frob.com>
35932 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35933 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35934 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35935 [!BEFORE_ABORT] (before_abort): New function.
35936 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35937 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35938 (writev_for_fatal): New function.
35939 (WRITEV_FOR_FATAL): New macro; call that.
35940 (backtrace_and_maps): New function.
35941 (BEFORE_ABORT): New macro; call that.
35942 (struct str_list): Type removed.
35943 (__libc_message, __libc_fatal): Functions removed.
35944 Include <sysdeps/posix/libc_fatal.c> instead.
35946 2013-03-19 Joseph Myers <joseph@codesourcery.com>
35948 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35950 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35953 2013-03-19 Andreas Schwab <schwab@suse.de>
35955 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35956 * sysdeps/gnu/configure: Regenerate.
35958 * configure.in: Substitute libc_cv_rtlddir.
35959 * configure: Regenerate.
35960 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35961 * Makeconfig (rtlddir, inst_rtlddir): New variables.
35962 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35963 * elf/Makefile (install-others, CFLAGS-interp.c)
35964 (ldso_install, common-ldd-rewrite): Likewise.
35965 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35966 $(inst_slibdir)/$(rtld-installed-name).
35967 * scripts/rellns-sh: Add -p option.
35968 * Makerules (make-shlib-link): Use rellns-sh to get relative name
35971 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35973 * manual/nptl.texi: Renamed to ...
35974 * manual/threads.texi: ... this.
35975 * manual/Makefile (chapters): Update.
35977 2013-03-18 Roland McGrath <roland@hack.frob.com>
35980 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35981 on argument names, not just descriptions.
35982 * malloc/memusagestat.c (options): Likewise.
35983 * nss/getent.c (options): Likewise.
35985 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
35988 * iconv/iconv_prog.c (options): Put N_ translation marker
35989 on argument names, not just descriptions.
35990 * iconv/iconvconfig.c (options): Likewise.
35992 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
35994 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35995 implementation which is faster on all x86_64 architectures.
35996 Tested on AMD, Intel Nehalem, SNB, IVB.
35997 * sysdeps/x86_64/strnlen.S: Likewise.
35999 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36000 Remove all multiarch strlen and strnlen versions.
36001 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36002 Remove strlen and strnlen related parts.
36004 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36005 Inline strlen part.
36006 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36008 * sysdeps/x86_64/multiarch/strlen.S: Remove.
36009 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36010 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36011 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36012 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36013 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36015 2013-03-17 Carlos O'Donell <carlos@redhat.com>
36017 * manual/memory.texi (Malloc Tunable Parameters):
36018 Sort parameters alphabetically. Add comments for missing entries.
36020 2013-03-17 David S. Miller <davem@davemloft.net>
36022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36024 2013-03-16 Joseph Myers <joseph@codesourcery.com>
36027 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36028 for arguments at most half maximum finite value.
36029 * math/libm-test.inc (j0_test): Add more tests.
36030 (j1_test): Likewise.
36031 (y0_test): Likewise.
36032 (y1_test): Likewise.
36033 * sysdeps/i386/fpu/libm-test-ulps: Update.
36034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36037 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36038 1 / x and functions P and Q for arguments above 0x1p256L.
36039 (__ieee754_y0l): Likewise.
36040 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36041 (__ieee754_y1l): Likewise.
36042 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36043 (j1_test): Likewise.
36044 (y0_test): Likewise.
36045 (y1_test): Likewise.
36047 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
36049 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36052 2013-03-15 Roland McGrath <roland@hack.frob.com>
36054 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36055 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36056 zero since it's initialized to EXEC_PAGESIZE.
36058 * sysdeps/unix/sysv/linux/ldsodefs.h
36059 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36060 * sysdeps/generic/ldsodefs.h: ... here.
36062 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
36064 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36066 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36068 * math/test-snan.c: Renamed from
36069 sysdeps/powerpc/fpu/test-powerpc-snan.c.
36070 * math/Makefile (tests): Add test-snan.
36071 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36074 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36075 SUFFIX. Initialize qNaN_var with __builtin_nan family of
36077 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
36078 __builtin_nan family of functions.
36079 * math/libm-test.inc (initialize): Initialize qnan_value with
36080 __builtin_nan family of functions.
36081 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36083 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36085 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
36086 storage class. Initialize qNaN_var and sNaN_var with
36087 __builtin_nan and __builtin_nans families of functions,
36090 * math/libm-test.inc (acosh_test): Also test with qNaN input.
36091 (sqrt_test): Remove duplicate test with qNaN input.
36092 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36093 (round_test, signbit_test, significand_test): Note missing +/-Inf
36094 as well as qNaN tests.
36096 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36097 qNaN_var. Fix a few strings, too.
36098 * math/libm-test.inc (nan_value): Rename to qnan_value.
36099 * math/gen-libm-test.pl (%beautify): Adjust to that.
36100 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36101 * math/test-misc.c (main): Likewise.
36102 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36103 to __qnan_bytes, and __qnan_union, respectively.
36104 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36106 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36107 and lqnanval, respectively.
36108 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36109 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36110 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36111 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36113 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36114 * math/test-misc.c (main) [__x86_64__]: Enable test for long
36117 * math/test-misc.c (main): Fix copy'n'pastos.
36118 * misc/tst-efgcvt.c (special): Likewise.
36120 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36121 Remove declarations.
36123 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36125 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36126 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36127 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36128 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36130 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36132 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36133 macro to return vdso values correctly in IFUNC implementations.
36134 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36135 Optimization by using IFUNC.
36137 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36138 Richard Henderson <rth@redhat.com>
36139 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36141 * Makefile.in (bench): New target.
36142 * NEWS: Mention the benchmark framework.
36143 * Rules (bench): Likewise.
36144 (binaries-bench): Generate binaries for functions to
36146 * benchtests/Makefile: New makefile for benchmark tests.
36147 * benchtests/bench-skeleton.c: New skeleton file for benchmark
36149 * benchtests/exp-inputs: New input file for EXP function.
36150 * benchtests/pow-inputs: New input file for POW function.
36151 * scripts/bench.pl: New script to generate source files for
36152 benchmark programs.
36154 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36156 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36157 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36158 computations on mantissa. Use macros for rounding and
36160 (denorm): Likewise.
36161 (__dbl_mp): Likewise.
36162 (add_magnitudes): Likewise.
36163 (sub_magnitudes): Likewise.
36166 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
36167 powers of two in terms of TWOPOW macro.
36168 (mp_no): Make type of mantissa as MANTISSA_T.
36169 [!RADIXI]: Define RADIXI.
36170 [!TWO52]: Define TWO52.
36171 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36173 * manual/nptl.texi (cindex): Modify threads to pthreads.
36175 2013-03-15 Joseph Myers <joseph@codesourcery.com>
36177 * sysdeps/x86_64/preconfigure: Regenerated.
36179 2013-03-14 Joseph Myers <joseph@codesourcery.com>
36182 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36184 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36185 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36187 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36188 * math/libm-test.inc (j0_test): Do not allow one spurious
36189 underflow exception.
36190 (y1_test): Likewise.
36192 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36194 * manual/Makefile (chapters): Add nptl.
36195 * manual/debug.texi (Debugging Support): Add link to Threads
36197 * manual/nptl.texi: New file.
36199 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36201 2013-03-14 Petr Baudis <pasky@ucw.cz>
36203 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36204 for non-NULL pointer before the memory validity test. Pointed
36205 out by Holger Brunck <holger.brunck@keymile.com>.
36207 2013-03-13 Andreas Schwab <schwab@suse.de>
36209 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36212 2013-03-13 Joseph Myers <joseph@codesourcery.com>
36214 * timezone/zic.c: Update from tzcode 2013b.
36216 2013-03-12 Carlos O'Donell <carlos@redhat.com>
36218 * manual/install.texi (Configuring and compiling):
36219 Mention i686 and i586.
36220 * INSTALL: Regenerate.
36222 2013-03-12 Roland McGrath <roland@hack.frob.com>
36224 * sysdeps/init_array/elf-init.c: New file.
36226 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36227 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36229 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36230 __gmon_start__ as global, but as static with a .preinit_array pointer.
36231 * sysdeps/init_array/gmon-start.c: New file. Use that.
36232 * sysdeps/init_array/crti.S: New file, empty except for comments.
36233 * sysdeps/init_array/crtn.S: Likewise.
36235 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
36237 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36240 Remove Prefer_SSE_for_memop.
36241 * sysdeps/x86_64/multiarch/init-arch.h: Remove
36242 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36243 HAS_PREFER_SSE_FOR_MEMOP.
36244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36247 Remove bzero, memset ifunc support.
36248 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36249 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36250 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36251 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36253 2013-03-11 Andreas Schwab <schwab@suse.de>
36256 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36259 (GLIBC_2.16): Remove pthread_atfork.
36261 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
36263 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36264 (ptestcases.h): Likewise.
36266 2013-03-08 Roland McGrath <roland@hack.frob.com>
36268 * Makeconfig ($(common-objpfx)config.status): Depend on
36269 sysdeps/*/preconfigure{,.in} too.
36271 2013-03-08 Joseph Myers <joseph@codesourcery.com>
36273 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36274 (__free_hook): Use void * instead of __malloc_ptr_t.
36275 (__malloc_hook): Likewise.
36276 (__realloc_hook): Likewise.
36277 (__memalign_hook): Likewise.
36278 (__after_morecore_hook): Likewise.
36279 * malloc/arena.c (save_malloc_hook): Likewise.
36280 (save_free_hook): Likewise.
36281 * malloc/hooks.c (malloc_hook_ini): Likewise.
36282 (realloc_hook_ini): Likewise.
36283 (memalign_hook_ini): Likewise.
36284 * malloc/malloc.c (malloc_hook_ini): Likewise.
36285 (realloc_hook_ini): Likewise.
36286 (memalign_hook_ini): Likewise.
36287 (__free_hook): Likewise.
36288 (__malloc_hook): Likewise.
36289 (__realloc_hook): Likewise.
36290 (__memalign_hook): Likewise.
36291 (__libc_malloc): Likewise.
36292 (__libc_free): Likewise.
36293 (__libc_realloc): Likewise.
36294 (__libc_memalign): Likewise.
36295 (__libc_valloc): Likewise.
36296 (__libc_pvalloc): Likewise.
36297 (__libc_calloc): Likewise.
36298 (__posix_memalign): Likewise.
36299 * malloc/morecore.c (__sbrk): Likewise.
36300 (__default_morecore): Likewise.
36302 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36304 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36305 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36306 __malloc_ptrdiff_t.
36308 * malloc/malloc.h (__malloc_size_t): Remove macro.
36309 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36311 (old_memalign_hook): Likewise.
36312 (old_realloc_hook): Likewise.
36313 (struct hdr): Likewise.
36315 (mallochook): Likewise.
36316 (memalignhook): Likewise.
36317 (reallochook): Likewise.
36318 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36319 (tr_old_realloc_hook): Likewise.
36320 (tr_old_memalign_hook): Likewise.
36321 (tr_mallochook): Likewise.
36322 (tr_reallochook): Likewise.
36323 (tr_memalignhook): Likewise.
36325 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36327 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36328 default_ldbl_pack and using as default implementation.
36329 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36331 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36332 redundant definition.
36333 (ldbl_insert_mantissa): Likewise.
36334 (ldbl_canonicalize): Likewise.
36335 (ldbl_nearbyint): Likewise.
36336 (ldbl_pack): Rename to ldbl_pack_ppc.
36337 (ldbl_unpack): Rename to ldbl_unpack_ppc.
36338 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36339 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36341 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36343 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36344 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36345 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36346 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36347 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36348 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36349 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36350 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36352 2013-03-07 Andreas Jaeger <aj@suse.de>
36354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36357 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36359 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36360 Include mpa.h and declare __MPEXP.
36361 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36362 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36363 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36364 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36365 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36366 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36367 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36369 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36370 (__slowpow): Use long double EXPL and LOGL functions to
36372 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36373 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36374 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36375 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36376 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36377 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
36379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
36380 intermediate variable to calculate exponent.
36382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36386 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36387 [!NO__SQR]: Define __sqr.
36388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
36389 and NO__SQR. Remove all code except __mul and __sqr. Include
36390 sysdeps/ieee754/dbl-64/mpa.c.
36391 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36394 * posix/Makefile (tests): Add tst-pathconf.
36395 * posix/tst-pathconf.c: New test case.
36396 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
36398 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
36400 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
36402 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
36404 2013-03-06 Andreas Jaeger <aj@suse.de>
36406 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
36407 definition via __MAP_ANONYMOUS.
36409 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
36410 it's not part of Linux headers.
36412 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
36413 (MAP_HUGE_MASK): Define.
36415 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36417 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36418 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36420 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36421 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36423 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36424 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
36426 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36428 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
36429 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
36430 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
36431 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
36432 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
36433 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
36435 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36438 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36439 Handle f2fs and efivarfs.
36441 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
36444 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36445 (EFIVARFS_MAGIC): Add.
36446 (F2FS_LINK_MAX): Add.
36448 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36450 * stdio-common/vfprintf.c: Replace __builtin_expect with
36453 2013-03-06 Joseph Myers <joseph@codesourcery.com>
36456 * sysdeps/generic/bp-sym.h: Remove file.
36457 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36458 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36459 <bp-sym.h> and <bp-asm.h>.
36460 (__longjmp): Don't use BP_SYM.
36461 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36463 (memcpy): Don't use BP_SYM.
36464 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36465 <bp-sym.h> and <bp-asm.h>.
36466 (memcpy): Don't use BP_SYM.
36467 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36469 (memcpy): Don't use BP_SYM.
36470 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36472 (memset): Don't use BP_SYM.
36473 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36474 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36475 (__bzero): Don't use BP_SYM.
36476 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36477 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36478 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36479 <bp-sym.h> and <bp-asm.h>.
36480 (memcmp): Don't use BP_SYM. Remove comment about bounded
36482 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36483 <bp-sym.h> and <bp-asm.h>.
36484 (memcpy): Don't use BP_SYM.
36485 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36486 <bp-sym.h> and <bp-asm.h>.
36487 (memset): Don't use BP_SYM.
36488 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36489 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36490 (__bzero): Don't use BP_SYM.
36491 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36492 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36493 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36494 <bp-sym.h> and <bp-asm.h>.
36495 (strncmp): Don't use BP_SYM. Remove comment about bounded
36497 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36498 <bp-sym.h> and <bp-asm.h>.
36499 (memcpy): Don't use BP_SYM.
36500 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36501 <bp-sym.h> and <bp-asm.h>.
36502 (memset): Don't use BP_SYM.
36503 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36504 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36505 (__bzero): Don't use BP_SYM.
36506 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36507 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36508 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36509 <bp-sym.h> and <bp-asm.h>.
36510 (__memchr): Don't use BP_SYM.
36511 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36512 <bp-sym.h> and <bp-asm.h>.
36513 (memcmp): Don't use BP_SYM. Remove comment about bounded
36515 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36516 <bp-sym.h> and <bp-asm.h>.
36517 (memcpy): Don't use BP_SYM.
36518 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36519 <bp-sym.h> and <bp-asm.h>.
36520 (__mempcpy): Don't use BP_SYM.
36521 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36522 <bp-sym.h> and <bp-asm.h>.
36523 (__memrchr): Don't use BP_SYM.
36524 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36525 <bp-sym.h> and <bp-asm.h>.
36526 (memset): Don't use BP_SYM.
36527 (__bzero): Likewise.
36528 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36529 <bp-sym.h> and <bp-asm.h>.
36530 (__rawmemchr): Don't use BP_SYM.
36531 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36532 <bp-sym.h> and <bp-asm.h>.
36533 (__STRCMP): Don't use BP_SYM.
36534 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36535 <bp-sym.h> and <bp-asm.h>.
36536 (strchr): Don't use BP_SYM.
36537 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36538 <bp-sym.h> and <bp-asm.h>.
36539 (__strchrnul): Don't use BP_SYM.
36540 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36541 <bp-sym.h> and <bp-asm.h>.
36542 (strlen): Don't use BP_SYM.
36543 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36544 <bp-sym.h> and <bp-asm.h>.
36545 (strncmp): Don't use BP_SYM. Remove comment about bounded
36547 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36548 <bp-sym.h> and <bp-asm.h>.
36549 (__strnlen): Don't use BP_SYM.
36550 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36551 <bp-sym.h> and <bp-asm.h>.
36552 (__GI__setjmp): Don't use BP_SYM.
36553 (_setjmp): Likewise.
36554 (__sigsetjmp): Likewise.
36555 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36556 (L(start_addresses)): Don't use BP_SYM.
36557 (_start): Likewise.
36558 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36560 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36561 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36562 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36563 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36564 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36566 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36567 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
36568 about bounded pointers.
36569 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36570 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36571 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36573 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
36574 about bounded pointers. Remove GKM FIXME comments.
36575 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36576 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36578 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36579 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
36580 Remove GKM FIXME comments.
36581 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36582 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36583 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36585 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
36586 about bounded pointers. Remove GKM FIXME comment.
36587 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36589 (strncmp): Don't use BP_SYM. Remove comment about bounded
36591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36592 <bp-sym.h> and <bp-asm.h>.
36593 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36595 <bp-sym.h> and <bp-asm.h>.
36596 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
36599 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36601 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36604 2013-03-05 David S. Miller <davem@davemloft.net>
36606 * po/es.po: Update from translation team.
36608 2013-03-05 Andreas Jaeger <aj@suse.de>
36610 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36611 <bits/mman-linux.h>.
36612 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36614 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36615 <bits/mman-linux.h> to end of file.
36616 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36618 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36619 <bits/mman-linux.h> to end of file.
36620 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36622 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36623 <bits/mman-linux.h> to end of file.
36625 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36626 (MCL_CURRENT, MCL_FUTURE): Define here.
36628 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36631 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36633 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36635 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36637 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36638 fourth parameter needed for rt_sigprocmask syscall.
36639 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36640 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36641 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36642 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36643 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36644 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36646 2013-03-04 Joseph Myers <joseph@codesourcery.com>
36649 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36650 comment about bounded pointers.
36651 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36652 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36654 2013-03-04 Andreas Jaeger <aj@suse.de>
36656 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36657 common definitions.
36659 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36660 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36661 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36662 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36663 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36664 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36666 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36669 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36670 __ieee754_sqrl instead of __sqrl.
36672 2013-03-01 Joseph Myers <joseph@codesourcery.com>
36674 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36675 * sysdeps/powerpc/fpu_control.h: ... here.
36676 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36677 * sysdeps/powerpc/bits/fenvinline.h: ... here.
36678 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36679 * sysdeps/powerpc/bits/mathinline.h: ... here.
36681 2013-03-01 Roland McGrath <roland@hack.frob.com>
36683 * elf/dl-hwcaps.c (_dl_important_hwcaps):
36684 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36685 to just [NEED_DL_SYSINFO_DSO].
36686 * elf/dl-support.c: Likewise.
36687 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36688 * elf/rtld.c (dl_main): Likewise.
36689 * elf/setup-vdso.h (setup_vdso): Likewise.
36690 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36691 * sysdeps/unix/sysv/linux/dl-sysdep.c
36692 (_dl_discover_osversion): Likewise.
36694 2013-03-01 Carlos O'Donell <carlos@redhat.com>
36696 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36697 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36699 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36701 * NEWS: Mention libm performance improvements and non-x86 PI
36704 * csu/libc-start.c (__pthread_initialize_minimal): Change
36705 function arguments.
36706 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36708 2013-02-28 Joseph Myers <joseph@codesourcery.com>
36711 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36712 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36713 <bp-sym.h> and <bp-asm.h>.
36714 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36715 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36717 (memcpy): Don't use BP_SYM.
36718 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36720 (__mpn_add_n): Don't use BP_SYM.
36721 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36722 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36724 (__mpn_addmul_1): Don't use BP_SYM.
36725 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36726 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36728 (_setjmp): Don't use BP_SYM.
36729 (__novmx_setjmp): Likewise.
36730 (__GI__setjmp): Likewise.
36731 (__vmx_setjmp): Likewise.
36732 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36734 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36735 (__bzero): Don't use BP_SYM.
36736 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36737 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36738 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36739 <bp-sym.h> and <bp-asm.h>.
36740 (memcpy): Don't use BP_SYM.
36741 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36742 <bp-sym.h> and <bp-asm.h>.
36743 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36744 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36745 <bp-sym.h> and <bp-asm.h>.
36746 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36747 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36749 (__mpn_lshift): Don't use BP_SYM.
36750 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36751 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36753 (memset): Don't use BP_SYM.
36754 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36755 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36756 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36758 (__mpn_mul_1): Don't use BP_SYM.
36759 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36760 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36761 <bp-sym.h> and <bp-asm.h>.
36762 (memcmp): Don't use BP_SYM.
36763 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36764 <bp-sym.h> and <bp-asm.h>.
36765 (memcpy): Don't use BP_SYM.
36766 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36767 <bp-sym.h> and <bp-asm.h>.
36768 (memset): Don't use BP_SYM.
36769 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36770 <bp-sym.h> and <bp-asm.h>.
36771 (strncmp): Don't use BP_SYM.
36772 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36773 <bp-sym.h> and <bp-asm.h>.
36774 (memcpy): Don't use BP_SYM.
36775 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36776 <bp-sym.h> and <bp-asm.h>.
36777 (memset): Don't use BP_SYM.
36778 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36779 <bp-sym.h> and <bp-asm.h>.
36780 (__memchr): Don't use BP_SYM.
36781 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36782 <bp-sym.h> and <bp-asm.h>.
36783 (memcmp): Don't use BP_SYM.
36784 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36785 <bp-sym.h> and <bp-asm.h>.
36786 (memcpy): Don't use BP_SYM.
36787 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36788 <bp-sym.h> and <bp-asm.h>.
36789 (__mempcpy): Don't use BP_SYM.
36790 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36791 <bp-sym.h> and <bp-asm.h>.
36792 (__memrchr): Don't use BP_SYM.
36793 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36794 <bp-sym.h> and <bp-asm.h>.
36795 (memset): Don't use BP_SYM.
36796 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36797 <bp-sym.h> and <bp-asm.h>.
36798 (__rawmemchr): Don't use BP_SYM.
36799 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36800 <bp-sym.h> and <bp-asm.h>.
36801 (__STRCMP): Don't use BP_SYM.
36802 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36803 <bp-sym.h> and <bp-asm.h>.
36804 (strchr): Don't use BP_SYM.
36805 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36806 <bp-sym.h> and <bp-asm.h>.
36807 (__strchrnul): Don't use BP_SYM.
36808 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36809 <bp-sym.h> and <bp-asm.h>.
36810 (strlen): Don't use BP_SYM.
36811 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36812 <bp-sym.h> and <bp-asm.h>.
36813 (strncmp): Don't use BP_SYM.
36814 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36815 <bp-sym.h> and <bp-asm.h>.
36816 (__strnlen): Don't use BP_SYM.
36817 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36819 (__mpn_rshift): Don't use BP_SYM.
36820 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36821 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36822 <bp-sym.h> and <bp-asm.h>.
36823 (__sigsetjmp): Don't use BP_SYM.
36824 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36825 (L(start_addresses)): Don't use BP_SYM.
36826 (_start): Likewise.
36827 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36829 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36830 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36831 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36832 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36834 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36835 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36836 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36837 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36839 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
36841 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36842 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36844 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
36846 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36847 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36848 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36850 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
36852 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36854 (strncmp): Don't use BP_SYM,
36855 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36857 (__mpn_sub_n): Don't use BP_SYM.
36858 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36859 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36861 (__mpn_submul_1): Don't use BP_SYM.
36862 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36864 <bp-sym.h> and <bp-asm.h>.
36865 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36867 <bp-sym.h> and <bp-asm.h>.
36868 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
36871 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36873 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36874 Use ZK to minimize writes to Z.
36875 (sub_magnitudes): Simplify code a bit.
36876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36877 Use ZK to minimize writes to Z.
36878 (sub_magnitudes): Simplify code a bit.
36880 2013-02-27 Roland McGrath <roland@hack.frob.com>
36882 * csu/gmon-start.c: Add special exception to license text.
36884 2013-02-27 Richard Henderson <rth@redhat.com>
36886 * scripts/config.guess: Update from config.git.
36887 * scripts/config.sub: Likewise.
36889 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36891 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36893 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36895 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36897 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36899 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36901 2013-02-26 Roland McGrath <roland@hack.frob.com>
36903 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36904 [$(build-shared = yes].
36906 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36908 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36909 (__mul): Reduce iterations for calculating mantissa.
36911 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36913 (__mpranred): Likewise.
36916 * malloc/memusagestat.c (main): Draw graphs for heap and stack
36917 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36919 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
36921 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36922 Define __attribute__.
36924 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36926 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36928 * posix/regex_internal.h (__attribute): Remove.
36929 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36930 (re_string_context_at): Likewise.
36931 (bitset_not): Use __attribute__ and mark function as possibly
36933 (bitset_merge): Likewise.
36934 (bitset_mask): Likewise.
36935 (re_string_char_size_at): Likewise.
36936 (re_string_wchar_at): Likewise.
36937 (re_string_elem_size_at): Likewise.
36939 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36941 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36945 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36949 (denorm): Likewise.
36950 (__dbl_mp): Likewise.
36951 (add_magnitudes): Likewise.
36952 (sub_magnitudes): Likewise.
36956 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36959 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36962 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36965 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36966 up changes with default code.
36967 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36970 2013-02-24 Allan McRae <allan@archlinux.org>
36972 * manual/socket.texi (The Internet Namespace): Order menu items
36973 to match that in the file.
36975 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36976 node listing of the info page menu.
36978 2013-02-21 Joseph Myers <joseph@codesourcery.com>
36981 * sysdeps/i386/bp-asm.h: Remove file.
36982 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36983 (PARMS): Do not use macros from bp-asm.h.
36987 (__mpn_add_n): Do not use BP_SYM
36988 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36990 (PARMS): Do not use macros from bp-asm.h.
36993 (__mpn_addmul_1): Do not use BP_SYM
36994 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36996 (PARMS): Do not use macros from bp-asm.h.
36997 (SIGMSK): Likewise.
36998 (_setjmp): Likewise. Do not use BP_SYM.
36999 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37001 (PARMS): Do not use macros from bp-asm.h.
37002 (SIGMSK): Likewise.
37003 (setjmp): Likewise. Do not use BP_SYM.
37004 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37006 (PARMS): Do not use macros from bp-asm.h.
37007 (__frexp): Do not use BP_SYM.
37009 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37011 (PARMS): Do not use macros from bp-asm.h.
37012 (__frexpf): Do not use BP_SYM.
37013 (frexpf): Likewise.
37014 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37016 (PARMS): Do not use macros from bp-asm.h.
37017 (__frexpl): Do not use BP_SYM.
37018 (frexpl): Likewise.
37019 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37021 (PARMS): Do not use macros from bp-asm.h.
37022 (__remquo): Do not use BP_SYM.
37023 (remquo): Likewise.
37024 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37026 (PARMS): Do not use macros from bp-asm.h.
37027 (__remquof): Do not use BP_SYM.
37028 (remquof): Likewise.
37029 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37031 (PARMS): Do not use macros from bp-asm.h.
37032 (__remquol): Do not use BP_SYM.
37033 (remquol): Likewise.
37034 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37036 (PARMS): Do not use macros from bp-asm.h.
37039 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
37040 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37042 (PARMS): Do not use macros from bp-asm.h.
37043 (strlen): Do not use BP_SYM.
37044 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37046 (PARMS): Do not use macros from bp-asm.h.
37050 (__mpn_add_n): Do not use BP_SYM.
37051 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37053 (PARMS): Do not use macros from bp-asm.h.
37056 (__mpn_addmul_1): Do not use BP_SYM.
37057 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37060 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37062 (PARMS): Do not use macros from bp-asm.h.
37065 (__mpn_lshift): Do not use BP_SYM.
37066 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37068 (PARMS): Do not use macros from bp-asm.h.
37072 (memcpy): Likewise. Do not use BP_SYM.
37073 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37074 libc_hidden_def and weak_alias.
37075 (mempcpy): Do not use BP_SYM in weak_alias.
37076 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37078 (PARMS): Do not use macros from bp-asm.h.
37081 [!BZERO_P] (CHR): Likewise.
37082 (memset): Likewise. Do not use BP_SYM.
37083 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37085 (PARMS): Do not use macros from bp-asm.h.
37088 (__mpn_mul_1): Do not use BP_SYM.
37089 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37091 (PARMS): Do not use macros from bp-asm.h.
37094 (__mpn_rshift): Do not use BP_SYM.
37095 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37097 (PARMS): Do not use macros from bp-asm.h.
37100 (strchr): Likewise. Do not use BP_SYM.
37101 (index): Do not use BP_SYM in weak_alias.
37102 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37104 (PARMS): Do not use macros from bp-asm.h.
37107 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
37108 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37110 (PARMS): Do not use macros from bp-asm.h.
37111 (strlen): Do not use BP_SYM.
37112 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37114 (PARMS): Do not use macros from bp-asm.h.
37118 (__mpn_sub_n): Do not use BP_SYM.
37119 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37121 (PARMS): Do not use macros from bp-asm.h.
37124 (__mpn_submul_1): Do not use BP_SYM.
37125 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37127 (PARMS): Do not use macros from bp-asm.h.
37131 (__mpn_add_n): Do not use BP_SYM.
37132 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37135 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37137 (PARMS): Do not use macros from bp-asm.h.
37140 (memcmp): Do not use BP_SYM.
37141 (bcmp): Do not use BP_SYM in weak_alias.
37142 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37144 (PARMS): Do not use macros from bp-asm.h.
37148 (memcpy): Likewise. Do not use BP_SYM.
37149 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37151 (PARMS): Do not use macros from bp-asm.h.
37155 (memmove): Likewise. Do not use BP_SYM.
37156 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37158 (PARMS): Do not use macros from bp-asm.h.
37162 (__mempcpy): Likewise. Do not use BP_SYM.
37163 (mempcpy): Do not use BP_SYM in weak_alias.
37164 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37166 (PARMS): Do not use macros from bp-asm.h.
37169 [!BZERO_P] (CHR): Likewise.
37170 (memset): Likewise. Do not use BP_SYM.
37171 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37173 (PARMS): Do not use macros from bp-asm.h.
37175 (strcmp): Do not use BP_SYM.
37176 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37178 (PARMS): Do not use macros from bp-asm.h.
37181 [USE_AS_STRTOK_R] (SAVE): Likewise.
37182 (FUNCTION): Likewise. Do not use BP_SYM.
37183 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37185 (strtok_r): Likewise.
37186 (__GI___strtok_r): Likewise.
37187 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37188 (PARMS): Do not use macros from bp-asm.h.
37191 (__mpn_lshift): Do not use BP_SYM.
37192 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37193 (PARMS): Do not use macros from bp-asm.h.
37196 (__memchr): Do not use BP_SYM.
37197 (memchr): Do not use BP_SYM in weak_alias.
37198 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37199 (PARMS): Do not use macros from bp-asm.h.
37202 (memcmp): Do not use BP_SYM.
37203 (bcmp): Do not use BP_SYM in weak_alias.
37204 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37205 (PARMS): Do not use macros from bp-asm.h.
37208 (__mpn_mul_1): Do not use BP_SYM.
37209 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37211 (PARMS): Do not use macros from bp-asm.h.
37214 (__rawmemchr): Do not use BP_SYM.
37215 (rawmemchr): Do not use BP_SYM in weak_alias.
37216 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37217 (PARMS): Do not use macros from bp-asm.h.
37220 (__mpn_rshift): Do not use BP_SYM.
37221 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37222 (PARMS): Do not use macros from bp-asm.h.
37223 (SIGMSK): Likewise.
37224 (__sigsetjmp): Likewise. Do not use BP_SYM.
37225 * sysdeps/i386/start.S: Do not include "bp-sym.h".
37226 (_start): Do not use BP_SYM.
37227 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37228 (PARMS): Do not use macros from bp-asm.h.
37231 (__stpcpy): Likewise. Do not use BP_SYM.
37232 (stpcpy): Do not use BP_SYM in weak_alias.
37233 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37235 (PARMS): Do not use macros from bp-asm.h.
37239 (__stpncpy): Likewise. Do not use BP_SYM.
37240 (stpncpy): Do not use BP_SYM in weak_alias.
37241 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37242 (PARMS): Do not use macros from bp-asm.h.
37245 (strchr): Likewise. Do not use BP_SYM.
37246 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37248 (PARMS): Do not use macros from bp-asm.h.
37251 (__strchrnul): Likewise. Do not use BP_SYM.
37252 (strchrnul): Do not use BP_SYM in weak_alias.
37253 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37255 (PARMS): Do not use macros from bp-asm.h.
37257 (strcspn): Do not use BP_SYM.
37258 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37260 (PARMS): Do not use macros from bp-asm.h.
37263 (strpbrk): Likewise. Do not use BP_SYM.
37264 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37266 (PARMS): Do not use macros from bp-asm.h.
37269 (strrchr): Likewise. Do not use BP_SYM.
37270 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37271 (PARMS): Do not use macros from bp-asm.h.
37273 (strspn): Do not use BP_SYM.
37274 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37275 (PARMS): Do not use macros from bp-asm.h.
37279 (FUNCTION): Likewise. Do not use BP_SYM.
37280 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37282 (strtok_r): Likewise.
37283 (__GI___strtok_r): Likewise.
37284 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37285 (PARMS): Do not use macros from bp-asm.h.
37289 (__mpn_sub_n): Do not use BP_SYM.
37290 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37292 (PARMS): Do not use macros from bp-asm.h.
37295 (__mpn_submul_1): Do not use BP_SYM.
37296 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37298 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37300 (PARMS): Do not use macros from bp-asm.h.
37305 (__clone): Do not use BP_SYM.
37306 (clone): Do not use BP_SYM in weak_alias.
37307 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37309 (PARMS): Do not use macros from bp-asm.h.
37311 (__mmap64): Do not use BP_SYM.
37312 (mmap64): Do not use BP_SYM in weak_alias.
37313 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37314 <bp-sym.h> and <bp-asm.h>.
37315 (PARMS): Do not use macros from bp-asm.h.
37316 (__posix_fadvise64_l64): Do not use BP_SYM.
37317 * sysdeps/unix/sysv/linux/i386/semtimedop.S
37318 (PARMS): Do not use macros from bp-asm.h.
37320 (semtimedop): Do not use BP_SYM.
37321 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37324 2013-02-21 Allan McRae <allan@archlinux.org>
37326 * manual/message.texi (Charset conversion in gettext):
37327 Move @end statement to beginning of line.
37329 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37331 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37336 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
37337 (denorm): Likewise.
37338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37339 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37341 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37343 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37344 tail-call to the resolved function if pltexit isn't needed.
37346 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37349 or Y being zero as being unlikely.
37350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37353 2013-02-20 Carlos O'Donell <carlos@redhat.com>
37355 * manual/nss.texi (System Databases and Name Service Switch):
37356 Remove frobnicate @pxref.
37358 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
37360 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37361 __attribute__ ((unused)) to __attribute__ ((__unused__)).
37363 2013-02-20 Petr Machata <pmachata@redhat.com>
37365 * elf/elf.h (R_ARM_TARGET1): New macro.
37366 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37367 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37368 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37369 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37370 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37371 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37372 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37373 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37374 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37375 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37376 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37377 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
37378 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
37379 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
37380 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
37381 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
37382 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
37383 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
37384 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
37385 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
37386 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
37387 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
37388 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37389 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
37390 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
37391 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
37392 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
37393 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
37394 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
37395 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
37396 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
37397 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
37398 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37399 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
37400 (R_ARM_THM_GOT_BREL12): Likewise.
37401 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
37402 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
37403 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
37404 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
37405 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
37406 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
37407 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
37408 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
37409 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
37411 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
37413 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37414 __attribute_used__ to __attribute__ ((unused)).
37416 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37418 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
37420 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
37421 comment formatting.
37422 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
37424 2013-02-19 Joseph Myers <joseph@codesourcery.com>
37427 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
37429 (ENTER): Remove both macro definitions.
37431 (CHECK_BOUNDS_LOW): Likewise.
37432 (CHECK_BOUNDS_HIGH): Likewise.
37433 (CHECK_BOUNDS_BOTH): Likewise.
37434 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
37435 (RETURN_BOUNDED_POINTER): Likewise.
37436 (RETURN_NULL_BOUNDED_POINTER): Likewise.
37437 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
37438 (POP_ERRNO_LOCATION_RETURN): Likewise.
37439 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
37440 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37441 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
37443 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37444 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37445 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37446 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37447 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37448 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37449 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37450 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37451 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37452 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37453 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37454 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37455 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37456 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37458 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37459 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37461 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37462 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37463 * sysdeps/i386/i586/memset.S (memset): Likewise.
37464 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37465 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37466 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37468 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37469 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37470 Change uses of L(2) to L(out).
37471 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37472 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37473 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37474 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37475 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37477 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37478 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37480 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37481 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37482 (RETURN): Do not use macro LEAVE.
37483 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37484 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37485 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37486 * sysdeps/i386/i686/memset.S (memset): Likewise.
37487 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37488 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37489 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37490 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37492 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37493 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
37494 L(1_2) and L(1_3) into L(1).
37495 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37496 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37497 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37498 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37499 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37500 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37501 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37502 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37503 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37505 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37506 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37507 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37508 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37509 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37510 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37511 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37512 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37513 * sysdeps/i386/strcspn.S (strcspn): Likewise.
37514 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37515 * sysdeps/i386/strrchr.S (strrchr): Likewise.
37516 * sysdeps/i386/strspn.S (strspn): Likewise.
37517 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37519 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37520 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37521 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37522 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
37523 L(1_3) into L(1_1).
37524 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37525 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37526 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37528 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37530 2013-02-19 Jakub Jelinek <jakub@redhat.com>
37532 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37535 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37537 * math/atest-exp.c (exp_mpn): Remove ROUND.
37538 * math/atest-exp2.c (exp_mpn): Likewise.
37539 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37541 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37542 * stdlib/tst-tls-atexit-lib.c: Likewise.
37543 * stdlib/tst-tls-atexit.c: Likewise.
37545 2013-02-18 Mike Frysinger <vapier@gentoo.org>
37547 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37548 and __attribute_alloc_size__.
37550 2013-02-18 Mike Frysinger <vapier@gentoo.org>
37552 * include/programs/xmalloc.h: Change __attribute_alloc_size to
37553 __attribute_alloc_size__.
37554 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37555 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37557 2013-02-18 Mike Frysinger <vapier@gentoo.org>
37559 * include/programs/xmalloc.h: New file.
37560 * catgets/gencat.c: Include it.
37561 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37562 * elf/pldd.c: Likewise.
37563 * iconv/iconv_charmap.c: Likewise.
37564 * iconv/iconvconfig.c: Likewise.
37565 * iconv/strtab.c: Likewise.
37566 * locale/programs/locale.c: Likewise.
37567 * locale/programs/localedef.h: Likewise.
37568 * locale/programs/simple-hash.c: Likewise.
37569 * nscd/nscd.h: Likewise.
37570 * nss/makedb.c: Likewise.
37571 * sysdeps/generic/ldconfig.h: Likewise.
37573 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37575 * Versions.def: Add GLIBC_2.18.
37576 * include/link.h (struct link_map): New member l_tls_dtor_count.
37577 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37578 (__call_tls_dtors): Likewise.
37579 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37580 __cxa_thread_atexit_impl.
37581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37589 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37597 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37598 (tests): Add test case tst-tls-atexit.
37599 (modules-names): Add shared library for tst-tls-atexit.
37600 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37601 (GLIBC_PRIVATE): Add __call_tls_dtors.
37602 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37604 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37605 * stdlib/tst-tls-atexit.c: New test case.
37606 * stdlib/tst-tls-atexit-lib.c: New test case.
37608 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37610 * elf/Versions (ld): Add _dl_find_dso_for_object.
37611 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37612 * elf/dl-open.c (_dl_find_dso_for_object): New function.
37613 (dl_open_worker): Use _dl_find_dso_for_object.
37614 * elf/dl-sym.c (do_sym): Likewise.
37615 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37617 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37619 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37620 Syntactic changes only.
37621 (_dl_runtime_profile): Do a tail-call to the resolved function.
37623 2013-02-17 Joseph Myers <joseph@codesourcery.com>
37626 * sysdeps/x86_64/bp-asm.h: Remove file.
37627 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37628 <bp-sym.h> and <bp-asm.h>.
37629 (__clone): Do not use BP_SYM.
37630 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37631 <bp-sym.h> and <bp-asm.h>.
37632 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37633 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37635 (_setjmp): Do not use BP_SYM.
37636 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37638 (setjmp): Do not use BP_SYM.
37639 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37641 (mempcpy): Do not use BP_SYM in weak_alias.
37642 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37644 (strchr): Do not use BP_SYM.
37645 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37647 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37648 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37649 (_start): Do not use BP_SYM.
37650 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37652 (strcat): Do not use BP_SYM.
37653 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37655 (STRCMP): Do not use BP_SYM.
37656 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37658 (STRCPY): Do not use BP_SYM.
37659 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37661 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37663 (FUNCTION): Do not use BP_SYM.
37664 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37666 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37668 2013-02-17 Andreas Jaeger <aj@suse.de>
37670 * time/Versions: Sort entries.
37671 * string/Versions: Likewise.
37672 * resolv/Versions: Likewise.
37673 * posix/Versions: Likewise.
37674 * iconv/Versions: Likewise.
37675 * elf/Versions: Likewise.
37676 * wcsmbs/Versions: Likewise.
37678 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37680 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37681 loop termination condition.
37683 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37684 variable to calculate EZ.
37687 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37688 the lower precision input.
37690 2013-02-15 Joseph Myers <joseph@codesourcery.com>
37693 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37694 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37695 (run-via-rtld-prefix): Do not handle %-bp tests.
37696 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37697 (all-object-suffixes): Remove .ob.
37698 (bppfx): Remove variable.
37699 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37700 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37701 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37702 [$(build-bounded) = yes] (libtype.ob): Likewise.
37703 * Makerules (elide-routines.ob): Remove variable.
37704 (do-tests-clean): Do not handle *-bp.out.
37705 (common-mostlyclean): Do not handle *-bp and *-bp.out.
37706 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37707 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37708 (tests): Do not include $(tests-bp.out).
37709 (xtests): Do not include $(xtests-bp.out).
37710 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37711 [$(build-bounded) = yes] ($(addprefix
37712 $(objpfx),$(binaries-bounded))): Remove rule.
37713 ($(objpfx)%-bp.out): Remove rule.
37714 * config.make.in (build-bounded): Remove variable.
37715 * crypt/Makefile [$(build-bounded) = yes]
37716 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37717 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37718 append to variable.
37719 [$(build-bounded) = yes] (install-lib): Likewise.
37720 [$(build-bounded) = yes] (generated): Likewise.
37721 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37723 * intl/Makefile [$(build-bounded) = yes]
37724 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37725 * math/Makefile [$(build-bounded) = yes]
37726 ($(tests:%=$(objpfx)%-bp): Likewise.
37727 * misc/Makefile [$(build-bounded) = yes]
37728 ($(objpfx)tst-tsearch-bp): Likewise.
37729 * nptl/Makeconfig (bounded-thread-library): Remove variable.
37730 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37732 * string/Makefile (o-objects.ob): Remove variable.
37733 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37734 (CFLAGS-.ob): Remove variable.
37735 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37736 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37737 both definitions of variable.
37738 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37739 (ASFLAGS-.ob): Remove variable.
37741 2013-02-14 Joseph Myers <joseph@codesourcery.com>
37744 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37745 Remove __BOUNDED_POINTERS__ from condition.
37746 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37747 * string/bits/string2.h [!__NO_STRING_INLINES &&
37748 !__BOUNDED_POINTERS__]: Likewise.
37749 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37751 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37752 Remove conditional code.
37753 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37754 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37755 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37759 * csu/libc-start.c: Do not include <bp-sym.h>.
37760 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37761 * elf/dl-open.c: Do not include <bp-sym.h>.
37762 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37763 * math/fegetenv.c: Do not include <bp-sym.h>.
37764 (fegetenv): Do not use BP_SYM in versioned symbols.
37765 * nptl/sysdeps/pthread/bits/libc-lockP.h
37766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37769 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37771 (__pthread_mutex_destroy): Likewise.
37772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37773 (__pthread_mutex_lock): Likewise.
37774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37775 (__pthread_mutex_trylock): Likewise.
37776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37777 (__pthread_mutex_unlock): Likewise.
37778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37779 (__pthread_mutexattr_init): Likewise.
37780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37781 (__pthread_mutexattr_destroy): Likewise.
37782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37783 (__pthread_mutexattr_settype): Likewise.
37784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37785 (__pthread_rwlock_init): Likewise.
37786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37787 (__pthread_rwlock_destroy): Likewise.
37788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37789 (__pthread_rwlock_rdlock): Likewise.
37790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37791 (__pthread_rwlock_tryrdlock): Likewise.
37792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37793 (__pthread_rwlock_wrlock): Likewise.
37794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37795 (__pthread_rwlock_trywrlock): Likewise.
37796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37797 (__pthread_rwlock_unlock): Likewise.
37798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37799 (__pthread_key_create): Likewise.
37800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37801 (__pthread_setspecific): Likewise.
37802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37803 (__pthread_getspecific): Likewise.
37804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37807 (_pthread_cleanup_push_defer): Likewise.
37808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37809 (_pthread_cleanup_pop_restore): Likewise.
37810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37811 (pthread_setcancelstate): Likewise.
37812 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37814 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37815 (memchr): Do not use BP_SYM in weak_alias.
37816 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37817 (fegetenv): Do not use BP_SYM in versioned symbols.
37818 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37819 (fesetenv): Do not use BP_SYM in versioned symbols.
37820 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37821 (feupdateenv): Do not use BP_SYM in versioned symbols.
37822 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37823 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37824 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37825 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37826 (open64): Do not use BP_SYM in weak_alias.
37827 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37828 (fegetenv): Do not use BP_SYM in versioned symbols.
37829 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37830 (fesetenv): Do not use BP_SYM in versioned symbols.
37831 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37832 (feupdateenv): Do not use BP_SYM in versioned symbols.
37833 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37834 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37835 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37836 (feraiseexcept): Do not use BP_SYM in versioned symbols.
37837 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37838 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37839 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37841 (__libc_start_main): Do not use BP_SYM.
37843 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37846 redundant return line.
37848 (denorm): Likewise.
37849 (dbl_mp): Likewise.
37850 (sub_magnitudes): Likewise.
37856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37858 (denorm): Likewise.
37859 (dbl_mp): Likewise.
37860 (sub_magnitudes): Likewise.
37867 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37869 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37870 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37873 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37874 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37875 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37876 of __mul for squares.
37877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37879 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37881 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37882 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37884 2013-02-13 Joseph Myers <joseph@codesourcery.com>
37887 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37889 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37890 prototype or function definition. Rename ubp_* variables and
37891 parameters. Remove argv definitions conditional on
37892 [__BOUNDED_POINTERS__].
37893 * debug/backtrace.c (__backtrace): Do not use __unbounded.
37894 * elf/dl-runtime.c (_dl_fixup): Likewise.
37895 * include/set-hooks.h (RUN_HOOK): Likewise.
37896 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37898 * string/strcpy.c (strcpy): Do not use __unbounded.
37899 * sysdeps/generic/frame.h (struct layout): Likewise.
37900 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37901 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37902 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37903 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37904 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37905 (__backtrace): Likewise.
37906 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37908 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37909 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37910 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37912 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37913 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37914 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37915 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37916 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37917 Do not use __unbounded.
37918 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37919 Rename __unboundedrlimits parameter to rlimits in prototype.
37920 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37921 Do not use __unbounded.
37922 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37923 not use __ptrvalue.
37924 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37925 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37926 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37927 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37928 __ptrvalue or __unbounded.
37929 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37930 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37932 (__new_msgctl): Do not use __ptrvalue.
37933 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37935 (__libc_msgrcv): Do not use __ptrvalue.
37936 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37937 startup_info): Do not use __unbounded.
37938 (__libc_start_main): Likewise. Rename ubp_* variables and
37939 parameters. Remove argv definitions conditional on
37940 [__BOUNDED_POINTERS__].
37941 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37943 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37945 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37947 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37949 (__new_shmctl): Do not use __ptrvalue.
37950 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37951 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37953 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37954 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37955 (__libc_sigaction): Likewise.
37956 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37957 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37959 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37961 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
37963 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37965 * string/mempcpy.c: Implement by calling memcpy.
37967 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37969 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37971 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37974 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37975 values in the mantissa.
37977 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37978 minimize writes to Z.
37979 (sub_magnitudes): Simplify code a bit.
37981 2013-02-12 Roland McGrath <roland@hack.frob.com>
37983 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37984 from the message. The linker prefixes all warnings with that already.
37986 2013-02-12 Andreas Schwab <schwab@suse.de>
37989 * posix/regexec.c (extend_buffers): Add parameter min_len.
37990 (check_matching): Pass minimum needed length.
37991 (clean_state_log_if_needed): Likewise.
37992 (get_subexp): Likewise.
37993 * posix/Makefile (tests): Add bug-regex34.
37994 (bug-regex34-ENV): Define.
37995 * posix/bug-regex34.c: New file.
37998 * posix/regcomp.c (parse_bracket_exp): When looking up collating
37999 elements compare against the byte sequence of it, not its name.
38000 * posix/Makefile (tests): Add bug-regex35.
38001 (bug-regex35-ENV): Define.
38002 * posix/bug-regex35.c: New file.
38004 2013-02-11 Tom de Vries <tom@codesourcery.com>
38006 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
38008 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38009 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38010 (CHECK_EOL): Add undef.
38012 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
38014 * bits/stdlib-bsearch.h: New file.
38015 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38016 * stdlib/stdlib.h: Likewise.
38018 2013-02-11 Roland McGrath <roland@hack.frob.com>
38020 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38021 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38023 * manual/search.texi (Array Search Function): Add missing const in
38025 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38026 declaration to use rlim_t.
38027 (Basic Scheduling Functions): Remove erroneous const from
38028 sched_getparam prototype. Remove erroneous * from
38029 sched_get_priority_max and sched_get_priority_min prototypes.
38030 (Resource Usage): Fix summary @comment on vtimes to refer to
38031 sys/vtimes.h rather than vtimes.h.
38032 Add missing *s in vtimes prototype.
38033 (Limits on Resources): Fix ulimit prototype to return long int.
38034 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38035 prototypes to use long int rather than double.
38036 (BSD Random): Fix initstate and setstate to use char *, not void *.
38037 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38038 prototype to make second argument 'struct aiocb64 *const[]'.
38039 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38040 (Status of AIO Operations): Remove erroneous const in aio_return and
38041 aio_return64 prototypes.
38042 (Synchronizing I/O): Fix sync prototype to return void.
38043 * manual/startup.texi (Suboptions): Remove an erroneous const in
38044 getsubopt prototype.
38045 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38046 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38047 use size_t rather than int.
38048 (Scanning All Users): Likewise for getpwent_r.
38049 (Setting Groups): Add missing const to setgroups prototype.
38050 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38051 * manual/socket.texi (Host Names): Fix gethostbyaddr and
38052 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38053 'const void *' rather than 'const char *'.
38054 (Host Address Functions): Likewise for inet_ntop.
38055 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38056 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38057 ssize_t for return value.
38058 (Sending Data): Likewise for send, sendto, sendmsg.
38059 (Socket Option Functions): Add a missing const in setsockopt prototype.
38060 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38061 use wchar_t for the argument.
38062 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38063 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38065 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38066 double/float/long double for second argument.
38067 Fix return types of significand, significandf, significandl.
38068 * manual/filesys.texi (Setting Permissions): Use mode_t for second
38069 argument in fchmod prototype.
38070 (File Owner): Use uid_t and gid_t in fchown prototype.
38071 (File Times): Add const to utimes, futimes, and lutimes prototypes.
38072 (Making Special Files): Use mode_t and dev_t in mknod prototype.
38073 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38074 use 'const struct dirent **' as argument types to CMP function pointer
38076 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38077 (File Times): Fix summary magic @comment for struct utimbuf and utime
38078 to refer to utime.h, not time.h.
38079 * manual/string.texi (Argz Functions): Add missing const in
38080 argz_extract and argz_next prototypes.
38081 (Finding Tokens in a String): Likewise for basename.
38082 (String/Array Comparison): Fix typo in wcscasecmp prototype.
38083 (Copying and Concatenation): Fix typo in wmemmove prototype.
38084 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38085 (Signal Stack): Remove erroneous const in sigstack prototype.
38086 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38088 (Simple Calendar Time): Likewise for stime.
38089 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38091 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38092 say sys/sysctl.h instead.
38093 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38094 and vsyslog prototypes.
38096 2013-02-11 Tom de Vries <tom@codesourcery.com>
38098 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38101 2013-02-11 Roland McGrath <roland@hack.frob.com>
38103 * misc/sys/mman.h: Fix typo in mremap comment.
38105 2013-02-08 Roland McGrath <roland@hack.frob.com>
38107 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38108 the '\0' terminator.
38110 2013-02-08 Joseph Myers <joseph@codesourcery.com>
38113 * debug/segfault.c: Don't include <bp-checks.h>.
38114 * sysdeps/generic/bp-checks.h: Remove file.
38115 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38116 (__GETDENTS): Don't use CHECK_N.
38117 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38118 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38119 (__getgroups): Don't use CHECK_N.
38120 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38121 (setgroups): Don't use CHECK_N.
38122 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38123 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38124 (__libc_msgrcv): Don't use CHECK_N.
38125 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38126 (__libc_msgsnd): Don't use CHECK_N.
38127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38129 (__libc_pread): Don't use CHECK_N.
38130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38131 include <bp-checks.h>.
38132 (__libc_pread64): Don't use CHECK_N.
38133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38134 include <bp-checks.h>.
38135 (__libc_pwrite): Don't use CHECK_N.
38136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38137 include <bp-checks.h>.
38138 (__libc_pwrite64): Don't use CHECK_N.
38139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38141 (__libc_pread): Don't use CHECK_N.
38142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38143 include <bp-checks.h>.
38144 (__libc_pread64): Don't use CHECK_N.
38145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38146 include <bp-checks.h>.
38147 (__libc_pwrite): Don't use CHECK_N.
38148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38149 include <bp-checks.h>.
38150 (__libc_pwrite64): Don't use CHECK_N.
38151 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38152 (do_pread): Don't use CHECK_N.
38153 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38154 (do_pread64): Don't use CHECK_N.
38155 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38156 (do_pwrite): Don't use CHECK_N.
38157 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38158 (do_pwrite64): Don't use CHECK_N.
38159 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38160 (__libc_readv): Don't use CHECK_N.
38161 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38162 (semop): Don't use CHECK_N.
38163 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38165 (semtimedop): Don't use CHECK_N.
38166 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38167 (__libc_pread): Don't use CHECK_N.
38168 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38170 (__libc_pread64): Don't use CHECK_N.
38171 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38173 (__libc_pwrite): Don't use CHECK_N.
38174 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38176 (__libc_pwrite64): Don't use CHECK_N.
38177 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38179 (__libc_msgrcv): Don't use CHECK_N.
38180 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38181 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
38182 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38183 (__libc_writev): Don't use CHECK_N.
38185 2013-02-08 Roland McGrath <roland@hack.frob.com>
38187 * string/strcpy.c: Removed unused variable.
38189 * Makeconfig (+sysdep-includes): Define with := rather than =.
38190 Use an existing include/ subdir of each sysdeps dir before it.
38192 2013-02-08 Carlos O'Donell <carlos@redhat.com>
38194 * nscd/connection.c (register_traced_file): Comment function.
38195 [HAVE_INOTIFY] (union __inev): Define.
38196 [HAVE_INOTIFY] (inotify_check_files): New function.
38197 [HAVE_INOTIFY] (clear_db_cache): Likewise.
38198 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38200 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38202 2013-02-08 Carlos O'Donell <carlos@redhat.com>
38204 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38205 loaded if not already and that a failure is permanent.
38207 2013-02-08 Carlos O'Donell <carlos@redhat.com>
38210 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38211 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38213 2013-02-08 Joseph Myers <joseph@codesourcery.com>
38216 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38217 (CHECK_1_NULL_OK): Likewise.
38218 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38219 (__fxstat): Do not use CHECK_1.
38220 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38222 (___fxstat64): Do not use CHECK_1.
38223 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38225 (__fxstatat): Do not use CHECK_1.
38226 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38228 (__fxstatat64): Do not use CHECK_1.
38229 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38231 (__fxstat): Do not use CHECK_1.
38232 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38234 (__fxstatat): Do not use CHECK_1.
38235 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38237 (__getresgid): Do not use CHECK_1.
38238 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38240 (__getresuid): Do not use CHECK_1.
38241 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38243 (__lxstat): Do not use CHECK_1.
38244 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38246 (__old_msgctl): Do not use CHECK_1.
38247 (__new_msgctl): Likewise.
38248 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38250 (__new_setrlimit): Do not use CHECK_1.
38251 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38253 (__old_shmctl): Do not use CHECK_1.
38254 (__new_shmctl): Likewise.
38255 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38257 (__xstat): Do not use CHECK_1.
38258 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38259 (__lxstat): Do not use CHECK_1.
38260 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38262 (___lxstat64): Do not use CHECK_1.
38263 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38264 (__old_msgctl): Do not use CHECK_1.
38265 (__new_msgctl): Likewise.
38266 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38268 (__gettimeofday): Do not use CHECK_1.
38269 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38270 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38271 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38273 (__gettimeofday): Do not use CHECK_1.
38274 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38275 (__old_shmctl): Do not use CHECK_1_NULL_OK.
38276 (__new_shmctl): Do not use CHECK_1.
38277 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38279 (do_sigtimedwait): Do not use CHECK_1.
38280 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38282 (do_sigwaitinfo): Do not use CHECK_1.
38283 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38285 (msgctl): Do not use CHECK_1.
38286 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38288 (shmctl): Do not use CHECK_1.
38289 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38290 (ustat): Do not use CHECK_1.
38291 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38293 (__fxstat): Do not use CHECK_1.
38294 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38296 (__fxstatat): Do not use CHECK_1.
38297 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38299 (__lxstat): Do not use CHECK_1.
38300 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38302 (__xstat): Do not use CHECK_1.
38303 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38304 (__xstat): Do not use CHECK_1.
38305 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38306 (___xstat64): Do not use CHECK_1.
38309 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38311 (CHECK_BOUNDS_HIGH): Likewise.
38312 * string/strcpy.c: Do not include <bp-checks.h>.
38313 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38315 2013-02-07 Roland McGrath <roland@hack.frob.com>
38317 * nscd/nscd-client.h (__nscd_drop_map_ref):
38318 Add __attribute__ ((unused)).
38319 * nis/nss-nisplus.h (niserr2nss): Likewise.
38321 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38322 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38324 * csu/libc-tls.c (init_static_tls, init_slotinfo):
38325 Remove inline keyword.
38326 * include/rounding-mode.h (round_away): Likewise.
38327 * libio/wfileops.c (adjust_wide_data): Likewise.
38328 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38329 (__m128i_strloadu_tolower): Likewise.
38330 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38331 (__m128i_strloadu_tolower): Likewise.
38332 * time/mktime.c (ydhms_diff): Likewise.
38333 * locale/elem-hash.h (elem_hash): Likewise.
38334 * locale/setlocale.c (setdata): Likewise.
38335 * posix/regex_internal.h (re_string_char_size_at): Likewise.
38336 (re_string_wchar_at): Likewise.
38337 (bitset_not, bitset_merge, bitset_mask): Likewise.
38338 [!(__GNUC__ > 3)] (inline): Remove macro.
38339 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38340 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38341 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38342 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38343 * string/memcmp.c (memcmp_bytes): Likewise.
38344 * locale/programs/locarchive.c (compute_hashval): Likewise.
38345 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38346 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38347 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38348 * nss/getent.c (print_rpc, print_protocols): Likewise.
38349 (print_passwd, print_group, print_aliases): Likewise.
38350 * nis/nss-nisplus.h (niserr2nss): Likewise.
38351 * nscd/connections.c (restart_p): Likewise.
38352 Change return type to bool.
38354 2013-02-05 Roland McGrath <roland@hack.frob.com>
38356 * Makeconfig (all-Depend-files): Add existing
38357 $(sorted-subdirs:=/Depend) files.
38358 (all-subdirs): Remove nss.
38359 * sysdeps/unix/inet/Subdirs: Add it here instead.
38360 * hesiod/Depend: New file.
38362 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38363 instead of calling alloca.
38365 * io/lseek.c (__lseek): Rename to __libc_lseek.
38366 Define __lseek as an alias.
38368 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38370 2013-02-04 Carlos O'Donell <carlos@redhat.com>
38372 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38373 else clause and remove check for non-standard endianness.
38375 2013-02-04 David S. Miller <davem@davemloft.net>
38377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38379 2013-02-04 Joseph Myers <joseph@codesourcery.com>
38382 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
38383 (__ubp_memchr): Remove prototype.
38384 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
38385 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38386 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
38387 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38388 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
38390 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
38391 (__ubp_memchr): Likewise.
38392 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
38393 (__ubp_memchr): Likewise.
38394 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
38395 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
38396 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
38397 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
38399 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38400 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
38401 (__getcwd): Do not use CHECK_STRING.
38402 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38404 (__real_chown): Do not use CHECK_STRING.
38405 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
38407 (fchownat): Do not use CHECK_STRING.
38408 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
38410 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38412 (__lchown): Do not use CHECK_STRING.
38413 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38414 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38415 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38416 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
38417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38418 include <bp-checks.h>.
38419 (truncate64): Do not use CHECK_STRING.
38420 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38422 (__real_chown): Do not use CHECK_STRING.
38423 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38425 (__lchown): Do not use CHECK_STRING.
38426 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38428 (__chown): Do not use CHECK_STRING.
38429 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
38431 (truncate64): Do not use CHECK_STRING.
38432 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
38434 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
38435 (__xmknod): Do not use CHECK_STRING.
38436 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38438 (__xmknodat): Do not use CHECK_STRING.
38439 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38440 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
38442 2013-02-04 Andreas Schwab <schwab@suse.de>
38445 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38446 * include/netdb.h: Likewise for h_errno.
38447 * elf/tst-stackguard1.c: Include <tls.h>.
38449 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
38451 * elf/link.h (struct link_map): Extend the l_addr comment.
38452 * include/link.h (struct link_map): Likewise.
38454 2013-02-01 Joseph Myers <joseph@codesourcery.com>
38457 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38458 (BOUNDED_1): Remove macro.
38459 * debug/backtrace.c: Don't include <bp-checks.h>.
38460 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38461 (__backtrace): Likewise.
38462 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38464 (__backtrace): Don't use BOUNDED_1.
38465 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38467 (__backtrace): Don't use BOUNDED_1.
38468 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38469 (__backtrace): Don't use BOUNDED_1.
38470 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38471 (shmat): Don't use BOUNDED_N.
38473 2013-01-31 Joseph Myers <joseph@codesourcery.com>
38476 * sysdeps/generic/bp-start.h: Remove file.
38477 * csu/libc-start.c: Don't include <bp-start.h>.
38478 (LIBC_START_MAIN): Set up __environ directly instead of using
38479 INIT_ARGV_and_ENVIRON.
38480 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38484 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38486 (CHECK_FCNTL): Likewise.
38487 (CHECK_N_PAGES): Likewise.
38490 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38492 (CHECK_SIGSET_NULL_OK): Likewise.
38493 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38495 (sigpending): Don't use CHECK_SIGSET.
38496 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38498 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38499 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38501 (do_sigsuspend): Don't use CHECK_SIGSET.
38502 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38504 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38505 (do_sigwait): Don't use CHECK_SIGSET.
38506 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38508 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38509 include <bp-checks.h>.
38510 (sigpending): Don't use CHECK_SIGSET.
38511 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38512 include <bp-checks.h>.
38513 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38514 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38516 (sigpending): Don't use CHECK_SIGSET.
38517 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38519 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38522 * sysdeps/generic/bp-semctl.h: Remove file.
38523 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38524 <bp-checks.h> and <bp-semctl.h>.
38525 (__old_semctl): Don't use CHECK_SEMCTL.
38526 (__new_semctl): Likewise.
38527 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38529 (__old_semctl): Don't use CHECK_SEMCTL.
38530 (__new_semctl): Likewise.
38531 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38532 <bp-checks.h> and <bp-semctl.h>.
38533 (__old_semctl): Don't use CHECK_SEMCTL.
38534 (__new_semctl): Likewise.
38535 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38536 <bp-checks.h> and <bp-semctl.h>.
38537 (semctl): Don't use CHECK_SEMCTL.
38540 * Makerules (elide-bp-thunks): Remove variable.
38541 (elide-routines.oS): Don't use $(elide-bp-thunks).
38542 (elide-routines.os): Likewise.
38543 (elide-routines.o): Likewise.
38544 (elide-routines.op): Likewise.
38545 (elide-routines.og): Likewise.
38546 (objects): Don't use $(bp-thunks).
38547 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38549 (common-generated): Do not add s-proto-bp.d.
38550 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38553 Do not generate makefile rules for bounded-pointer thunks.
38554 * sysdeps/generic/bp-thunks.h: Remove file.
38555 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38556 * sysdeps/unix/s-proto-bp.S: Likewise.
38559 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38560 parts of result separately when argument is not close to line from
38561 -i to i and one part of argument is small.
38562 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38563 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38564 * math/libm-test.inc (cacos_test): Add more tests.
38565 (casin_test): Likewise.
38566 (casinh_test): Likewise.
38567 * sysdeps/i386/fpu/libm-test-ulps: Update.
38568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38570 2013-01-31 David S. Miller <davem@davemloft.net>
38572 * po/de.po: Update from translation team.
38574 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
38576 * time/tzfile.c: Include stdint.h for SIZE_MAX.
38578 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
38580 * configure.in (_AC_PROG_CC_C89): New definition.
38581 * configure: Regenerate.
38583 * configure.in (AC_PROG_CPP): New definition.
38584 * configure: Regenerate.
38586 2013-01-23 Joseph Myers <joseph@codesourcery.com>
38588 * debug/tst-backtrace.h: New file.
38589 * debug/tst-backtrace2.c: Include tst-backtrace.h.
38590 (ret): Remove variable.
38592 (FAIL): Remove macro.
38593 (NO_INLINE): Likewise.
38594 (fn1): Use match function instead of strstr.
38595 * debug/tst-backtrace3.c: Include tst-backtrace.h.
38596 (ret): Remove variable.
38598 (FAIL): Remove macro.
38599 (NO_INLINE): Likewise.
38600 (fn): Use match function instead of strstr.
38601 * debug/tst-backtrace4.c: Include tst-backtrace.h.
38602 (ret): Remove variable.
38604 (FAIL): Remove macro.
38605 (NO_INLINE): Likewise.
38606 (handle_signal): Use match function instead of strstr.
38607 * debug/tst-backtrace5.c: Include tst-backtrace.h.
38608 (ret): Remove variable.
38610 (FAIL): Remove macro.
38611 (NO_INLINE): Likewise.
38612 (handle_signal): Use match function instead of strstr.
38614 2013-01-23 Roland McGrath <roland@hack.frob.com>
38616 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38618 2013-01-23 David S. Miller <davem@davemloft.net>
38620 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38621 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38622 argument of CAS if possible.
38623 * sysdeps/sparc/sparc64/bits/atomic.h
38624 (__arch_compare_and_exchange_val_32_acq): Likewise.
38625 (__arch_compare_and_exchange_val_64_acq): Likewise.
38627 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
38629 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38630 * sysdeps/posix/ulimit.c: ... this.
38631 Include <limits.h>.
38632 * sysdeps/unix/bsd/ulimit.c: Remove file.
38634 2013-01-23 Adam Conrad <adconrad@0c3.net>
38636 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38637 (LDFLAGS-tst-array5): Likewise.
38639 2013-01-23 Joseph Myers <joseph@codesourcery.com>
38642 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38643 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38644 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38645 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38647 2013-01-21 David S. Miller <davem@davemloft.net>
38649 * sysdeps/sparc/backtrace.c: New file.
38650 * sysdeps/sparc/sparc32/backtrace.h: New file.
38651 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38652 * sysdeps/sparc/sparc64/backtrace.h: New file.
38653 * sysdeps/sparc/sparc64/backtrace.c: Delete.
38654 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38657 2013-01-21 Andreas Schwab <schwab@suse.de>
38660 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38663 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
38665 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38669 2013-01-18 Joseph Myers <joseph@codesourcery.com>
38670 Mark Mitchell <mark@codesourcery.com>
38671 Tom de Vries <tom@codesourcery.com>
38672 Paul Pluzhnikov <ppluzhnikov@google.com>
38674 * debug/tst-backtrace2.c: New file.
38675 * debug/tst-backtrace3.c: Likewise.
38676 * debug/tst-backtrace4.c: Likewise.
38677 * debug/tst-backtrace5.c: Likewise.
38678 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38679 (CFLAGS-tst-backtrace3.c): Likewise.
38680 (CFLAGS-tst-backtrace4.c): Likewise.
38681 (CFLAGS-tst-backtrace5.c): Likewise.
38682 (LDFLAGS-tst-backtrace2): Likewise.
38683 (LDFLAGS-tst-backtrace3): Likewise.
38684 (LDFLAGS-tst-backtrace4): Likewise.
38685 (LDFLAGS-tst-backtrace5): Likewise.
38686 (tests): Add new tests tst-backtrace2, tst-backtrace3,
38687 tst-backtrace4 and tst-backtrace5.
38689 2013-01-18 Anton Blanchard <anton@samba.org>
38690 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38692 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38693 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38694 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38695 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38697 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38698 "+r" and remove output regs list as redundant. Add explicit inline
38699 asm to specify register of return val to work around compiler codegen
38700 bug. Remove (int) cast on return value. Add return type parameter to
38701 use in macro so that this macro does not truncate return value for
38703 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38704 pass to INTERNAL_VSYSCALL_NCS.
38705 (INLINE_VSYSCALL): Add 'long int' as return type to
38706 INTERNAL_VSYSCALL_NCS macro invocation.
38707 (INTERNAL_VSYSCALL): Add 'long int' as return type to
38708 INTERNAL_VSYSCALL_NCS macro invocation.
38709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38711 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38714 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38715 Fix application of SIMD FP exception mask.
38717 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38718 mp_no from a power of two.
38719 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38720 __mpexp_twomm1. Use __pow_mp.
38722 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38725 2013-01-17 David S. Miller <davem@davemloft.net>
38727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38729 2013-01-17 Joseph Myers <joseph@codesourcery.com>
38732 * include/complex.h: Condition contents on [!_COMPLEX_H].
38733 (__kernel_casinhf): New prototype.
38734 (__kernel_casinh): Likewise.
38735 (__kernel_casinhl): Likewise.
38736 * math/Makefile (libm_calls): Add k_casinh.
38737 * math/k_casinh.c: New file.
38738 * math/k_casinhf.c: Likewise.
38739 * math/k_casinhl.c: Likewise.
38740 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38741 finite nonzero arguments.
38742 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38743 finite nonzero arguments.
38744 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38745 finite nonzero arguments.
38746 * math/s_casinh.c: Do not include <float.h>.
38747 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38748 * math/s_casinhf.c: Do not include <float.h>.
38749 (__casinhf): Move code for finite nonzero arguments to
38751 * math/s_casinhl.c: Do not include <float.h>.
38752 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38754 (__casinhl): Move code for finite nonzero arguments to
38756 * math/libm-test.inc (cacos_test): Add more tests.
38757 * sysdeps/i386/fpu/libm-test-ulps: Update.
38758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38760 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
38762 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38763 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38764 [!HAVE_MREMAP]: Remove [defined linux] case.
38765 * malloc/arena.c: Do not include <malloc-sysdep.h>.
38767 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38769 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38771 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
38773 * elf/elf.h (R_386_SIZE32): New relocation.
38774 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38776 (elf_machine_rela): Likewise.
38777 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38778 R_X86_64_SIZE64 and R_X86_64_SIZE32.
38780 2013-01-17 Joseph Myers <joseph@codesourcery.com>
38782 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38783 (FP_FAST_FMA): Do not define.
38784 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38785 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38786 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38787 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38788 !_SOFT_FLOAT]: Likewise.
38789 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38790 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38792 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38793 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38794 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38795 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38796 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38797 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38800 2013-01-16 Andreas Schwab <schwab@suse.de>
38803 * include/stdlib.h (__mktemp): Add declaration.
38804 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38805 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38807 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38809 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38811 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38812 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38813 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38815 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38816 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38818 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38820 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38821 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38822 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38824 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38825 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38827 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38829 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38831 2013-01-15 David S. Miller <davem@davemloft.net>
38833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38834 trunc{,f} to libm-sysdep_routes.
38835 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38845 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38846 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38847 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38848 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38849 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38850 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38853 nearbyint{,f} to libm-sysdep_routes.
38854 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38865 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38867 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38868 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38870 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38871 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38872 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38874 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38875 libc_feholdexcept and libc_fesetenv.
38877 2013-01-15 Mike Frysinger <vapier@gentoo.org>
38879 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38881 2013-01-14 David S. Miller <davem@davemloft.net>
38883 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38884 (SPARC_ASM_VIS2_IFUNC): Likewise.
38885 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38887 use of 'siam' instruction.
38888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38894 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38895 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38896 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38897 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38906 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38907 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38921 routines to libm-sysdep_routines.
38922 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38925 fdim/fdimf to libm-sysdep_routines.
38926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38934 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38935 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38936 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38937 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38939 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38941 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38942 to optimize copies.
38944 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38948 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38949 local variable MPTWO.
38950 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38953 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38955 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38958 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38960 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38962 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38964 * manual/pattern.texi (glob_t): Document gl_flags.
38965 (glob64_t): Likewise.
38967 2013-01-11 David S. Miller <davem@davemloft.net>
38969 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38970 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38971 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
38972 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38973 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38974 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38975 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38976 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38977 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38978 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38979 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38980 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38981 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38983 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38984 sparc V9 rather than using V8 code.
38985 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38986 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38988 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38990 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38993 2013-01-11 Roland McGrath <roland@hack.frob.com>
38995 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38996 not in the main loop.
38997 * configure: Regenerated.
38999 2013-01-11 Joseph Myers <joseph@codesourcery.com>
39001 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39002 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39004 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
39005 [!__GLIBC_HAVE_LONG_LONG] case.
39006 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39007 condition to just #else.
39008 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39009 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39010 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39011 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39013 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39014 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39015 #elif condition to just #else.
39016 * sysdeps/unix/sysv/linux/sys/sysmacros.h
39017 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39018 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39019 #elif condition to just #else.
39021 2013-01-11 Steve Ellcey <sellcey@mips.com>
39023 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39024 (EF_MIPS_ARCH_64): Fix value.
39025 (EF_MIPS_ARCH_32R2): New.
39026 (EF_MIPS_ARCH_64R2): New.
39028 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
39030 * Makeconfig (+link-pie-before-libc): New.
39031 (+link-pie-after-libc): Likewise.
39032 (+link-pie-tests): Likewise.
39033 (+link-pie): Rewritten.
39034 (link-before-libc): Remove $(config-LDFLAGS).
39035 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39036 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39037 (config-LDFLAGS): Renamed to ...
39038 (rtld-LDFLAGS): This.
39039 (rtld-tests-LDFLAGS): New macro.
39040 (link-libc-rpath-link): Likewise.
39041 (link-libc-tests-rpath-link): Likewise.
39042 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39043 (link-libc): Prepand $(link-libc-rpath-link).
39044 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39045 (test-program-prefix): New macro.
39046 (test-via-rtld-prefix): Likewise.
39047 (test-program-cmd): Likewise.
39048 (host-test-program-cmd): Likewise.
39049 * Makefile ($(common-objpfx)testrun.sh): Replace
39050 $(run-program-prefix) with $(test-program-prefix).
39051 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39053 ($(common-objpfx)shlib.lds): Likewise.
39054 (build-module-helper): Likewise.
39055 ($(common-objpfx)format.lds): Likewise.
39056 * Rules (binaries-pie-tests): New.
39057 (binaries-pie-notests): Likewise.
39058 (binaries-pie): Rewritten.
39059 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39060 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39061 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39062 (make-test-out): Replace $(host-built-program-cmd) with
39063 $(host-test-program-cmd).
39064 * config.make.in (build-hardcoded-path-in-tests): New variable.
39065 * configure.in (--enable-hardcoded-path-in-tests): New configure
39067 (hardcoded_path_in_tests): New AC_SUBST.
39068 * configure: Regenerated.
39069 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39070 $(built-program-cmd) with $(test-program-cmd).
39071 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39072 (test_program_cmd): This.
39073 * elf/Makefile ($(objpfx)order.out): Run test with
39074 $(test-program-prefix).
39075 ($(objpfx)order2.out): Likewise.
39076 ($(objpfx)tst-initorder.out): Likewise.
39077 ($(objpfx)tst-initorder2.out): Likewise.
39078 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39079 $(test-program-cmd).
39080 ($(objpfx)tst-array1-static.out): Likewise.
39081 ($(objpfx)tst-array2.out): Likewise.
39082 ($(objpfx)tst-array3.out): Likewise.
39083 ($(objpfx)tst-array4.out): Likewise.
39084 ($(objpfx)tst-array5.out): Likewise.
39085 ($(objpfx)tst-array5-static.out): Likewise.
39086 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39087 $(test-program-cmd).
39088 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39089 $(run-program-prefix) with $(test-program-prefix).
39090 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39091 (test_program_prefix): This.
39092 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39093 $(run-program-prefix) with $(test-program-prefix).
39094 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39095 (test_program_prefix): This.
39096 * iconvdata/tst-tables.sh: Likewise.
39097 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39098 $(run-program-prefix) with $(test-program-prefix).
39099 ($(objpfx)tst-translit.out): Likewise.
39100 ($(objpfx)tst-gettext2.out): Likewise.
39101 ($(objpfx)tst-gettext4.out): Likewise.
39102 ($(objpfx)tst-gettext6.out): Likewise.
39103 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39104 (test_program_prefix): This.
39105 * intl/tst-gettext2.sh: Likewise.
39106 * intl/tst-gettext4.sh Likewise.
39107 * intl/tst-gettext6.sh: Likewise.
39108 * intl/tst-translit.sh: Likewise.
39109 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39110 with $(test-program-cmd).
39111 * libio/Makefile ($(objpfx)test-freopen.out): Replace
39112 $(run-program-prefix) with $(test-program-prefix).
39113 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39114 (test_program_prefix): This.
39115 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39116 $(run-program-prefix) with $(test-program-prefix).
39117 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39118 (test_program_prefix): This.
39119 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39120 * posix/Makefile ($(objpfx)globtest.out): Replace
39121 $(run-via-rtld-prefix) and $(test-wrapper) with
39122 $(test-program-prefix) and $(test-via-rtld-prefix).
39123 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39124 $(test-program-prefix).
39125 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39126 $(host-test-program-cmd).
39127 (tst-spawn-ARGS): Likewise.
39128 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39129 $(test-program-prefix).
39130 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39131 (test_via_rtld_prefix): This.
39132 (test_wrapper): Renamed to ...
39133 (test_program_prefix): This.
39134 (run_program_prefix): Replaced by test_program_prefix.
39135 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39136 (test_program_prefix): This.
39137 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39138 with $(host-test-program-cmd).
39139 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39140 $(run-program-prefix) with $(test-program-prefix).
39141 ($(objpfx)tst-printf.out): Likewise.
39142 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39143 $(test-program-cmd).
39144 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39145 (test_program_prefix): This.
39146 * stdio-common/tst-unbputc.sh: Likewise.
39147 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39148 $(run-program-prefix) with $(test-program-prefix).
39149 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39150 (test_program_prefix): This.
39151 * string/Makefile ($(objpfx)tst-svc.out): Replace
39152 $(built-program-cmd) with $(test-program-cmd).
39154 2013-01-11 Andreas Jaeger <aj@suse.de>
39157 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39158 value. Sync with Linux 3.7.
39160 2013-01-10 David S. Miller <davem@davemloft.net>
39162 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39163 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39164 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39166 2013-01-10 Roland McGrath <roland@hack.frob.com>
39168 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39170 * configure: Regenerated.
39172 2013-01-10 David S. Miller <davem@davemloft.net>
39174 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39175 sparc V9 rather than using V8 code.
39176 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39177 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39179 2013-01-10 Roland McGrath <roland@hack.frob.com>
39181 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39182 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39183 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39184 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39185 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39186 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39187 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39188 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39189 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39190 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39191 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39192 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39193 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39194 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39195 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39196 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39197 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39198 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39199 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39200 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39201 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39202 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39203 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39204 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39205 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39206 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39207 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39209 2013-01-10 David S. Miller <davem@davemloft.net>
39211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39213 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
39215 * posix/Makefile (tests-static): New variable.
39216 (tests): Add $(tests-static).
39217 (tst-exec-static-ARGS): New variable.
39218 (tst-spawn-static-ARGS): Likewise.
39219 * posix/tst-exec-static.c: New file.
39220 * posix/tst-spawn-static.c: Likewise.
39221 * posix/tst-exec.c: Support run directly.
39222 * posix/tst-spawn.c: Likewise.
39224 2013-01-10 Joseph Myers <joseph@codesourcery.com>
39226 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39228 * math/bits/mathcalls.h (llrint): Likewise.
39229 (llround): Likewise.
39230 * stdlib/stdlib.h (struct drand48_data): Likewise.
39231 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39232 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39233 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39235 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39237 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39238 (elf_greg_t): Likewise.
39239 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39240 (__jmp_buf): Likewise.
39241 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39243 (llrint): Likewise, for all definitions.
39244 (llrintl): Likewise.
39246 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39247 Remove [__GNUC__] condition.
39248 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39249 condition to just [__USE_ISOC99].
39250 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39252 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
39255 * sysdeps/unix/sysv/linux/x86/bits/environments.h
39256 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39258 (_POSIX_V6_ILP32_OFF32): Likewise.
39259 (_XBS5_ILP32_OFF32): Likewise.
39260 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39261 (__ILP32_OFFBIG_LDFLAGS): Likewise.
39263 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39265 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39267 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39268 doubles __mpexp_twomm1. Adjust usage.
39269 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39272 2013-01-10 Andreas Schwab <schwab@suse.de>
39275 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39276 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39278 2013-01-09 David S. Miller <davem@davemloft.net>
39281 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39282 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39283 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39284 (TCP_FASTOPEN): Define.
39285 (tcp_repair_opt): New structure.
39286 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39288 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39289 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39290 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39291 (tcp_cookie_transactions): New structure.
39293 2013-01-09 Anton Blanchard <anton@samba.org>
39295 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39296 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39297 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39298 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39300 2013-01-09 Joseph Myers <joseph@codesourcery.com>
39302 * include/features.h (__USE_ANSI): Remove.
39304 2013-01-09 Roland McGrath <roland@hack.frob.com>
39306 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39308 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39310 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
39312 * sysdeps/s390/fpu/libm-test-ulps: Update.
39314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39316 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39320 (denorm): Likewise.
39321 (__mp_dbl): Likewise.
39322 (__dbl_mp): Likewise.
39323 (add_magnitudes): Likewise.
39324 (sub_magnitudes): Likewise.
39330 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
39334 (denorm): Likewise.
39335 (__mp_dbl): Likewise.
39336 (__dbl_mp): Likewise.
39337 (add_magnitudes): Likewise.
39338 (sub_magnitudes): Likewise.
39344 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
39348 (denorm): Likewise.
39349 (__mp_dbl): Likewise.
39350 (__dbl_mp): Likewise.
39351 (add_magnitudes): Likewise.
39352 (sub_magnitudes): Likewise.
39359 2013-01-08 Joseph Myers <joseph@codesourcery.com>
39361 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39362 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39363 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39364 2 && __USE_EXTERN_INLINES]: Likewise.
39366 2013-01-08 Andreas Jaeger <aj@suse.de>
39369 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39371 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39372 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39374 2013-01-07 Anton Blanchard <anton@samba.org>
39376 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39377 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39378 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
39379 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39380 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39381 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39382 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
39383 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39384 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39385 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39386 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39387 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39388 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39389 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39390 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39391 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39392 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39393 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39394 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39395 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39396 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39397 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
39398 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39399 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39400 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
39401 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39402 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39403 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39404 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
39405 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39406 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39407 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39408 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39409 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39410 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39411 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39412 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39413 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39414 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
39415 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39416 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
39417 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39418 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39420 2013-01-07 Joseph Myers <joseph@codesourcery.com>
39422 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
39423 (__MALLOC_PMT): Likewise.
39424 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
39425 [__GNUC__], only on [_LIBC].
39426 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39427 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
39428 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39429 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
39430 forward declaration.
39431 (realloc_hook_ini): Likewise.
39432 (memalign_hook_ini): Likewise.
39433 (__libc_memalign): Do not use __MALLOC_PMT in variable
39435 (__libc_valloc): Likewise.
39436 (__libc_pvalloc): Likewise.
39437 (__libc_calloc): Likewise.
39438 (__posix_memalign): Likewise.
39441 * math/s_casinh.c: Include <float.h>.
39442 (__casinh): Do not do computation with squaring and square root
39443 for large arguments.
39444 * math/s_casinhf.c: Include <float.h>.
39445 (__casinhf): Do not do computation with squaring and square root
39446 for large arguments.
39447 * math/s_casinhl.c: Include <float.h>.
39448 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39449 (__casinhl): Do not do computation with squaring and square root
39450 for large arguments.
39451 * math/libm-test.inc (casin_test): Add more tests.
39452 (casinh_test): Likewise.
39453 * sysdeps/i386/fpu/libm-test-ulps: Update.
39454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39456 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
39458 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39459 (__x86_64_raw_data_cache_size): Likewise.
39460 (__x86_64_data_cache_size_half): Likewise.
39461 (__x86_64_raw_data_cache_size_half): Likewise.
39462 (__x86_64_shared_cache_size): Likewise.
39463 (__x86_64_raw_shared_cache_size): Likewise.
39464 (__x86_64_shared_cache_size_half): Likewise.
39465 (__x86_64_raw_shared_cache_size_half): Likewise.
39466 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39468 (__x86_data_cache_size): This.
39469 (__x86_64_raw_data_cache_size): Renamed to ...
39470 (__x86_raw_data_cache_size): This.
39471 (__x86_64_data_cache_size_half): Renamed to ...
39472 (__x86_data_cache_size_half): This.
39473 (__x86_64_raw_data_cache_size_half): Renamed to ...
39474 (__x86_raw_data_cache_size_half): This.
39475 (__x86_64_shared_cache_size): Renamed to ...
39476 (__x86_shared_cache_size): This.
39477 (__x86_64_raw_shared_cache_size): Renamed to ...
39478 (__x86_raw_shared_cache_size): This.
39479 (__x86_64_shared_cache_size_half): Renamed to ...
39480 (__x86_shared_cache_size_half): This.
39481 (__x86_64_raw_shared_cache_size_half): Renamed to ...
39482 (__x86_raw_shared_cache_size_half): This.
39483 * sysdeps/x86_64/memcpy.S: Updated.
39484 * sysdeps/x86_64/memset.S: Likewise.
39485 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39486 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39487 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39489 2013-01-04 David S. Miller <davem@davemloft.net>
39491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39493 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
39495 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39496 1 to avoid redefinition warning.
39497 (__USE_GNU): Don't define.
39498 (init_signaling_nan): Protoize.
39500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39502 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39504 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39506 (__cpymn): Likewise.
39507 (norm): Remove commented code.
39508 (denorm): Likewise.
39509 (__mp_dbl): Likewise.
39511 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39512 (__cpymn): Likewise.
39513 (norm): Remove commented code.
39514 (denorm): Likewise.
39515 (__mp_dbl): Likewise.
39518 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39519 mp_no value for 1.0 and 2.0.
39520 (norm): Use RADIXI instead of radixi.d.
39521 (denorm): Likewise.
39522 (__mul): Use 0.0 instead of zero.d.
39523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39524 mp_no value for 1.0 and 2.0.
39525 (norm): Use RADIXI instead of radixi.d.
39526 (denorm): Likewise.
39527 (__mul): Use 0.0 instead of zero.d.
39529 2013-01-04 Joseph Myers <joseph@codesourcery.com>
39532 * math/s_casinh.c (__casinh): Reduce finite argument to first
39533 quadrant then set signs of results at the end.
39534 * math/s_casinhf.c (__casinhf): Likewise.
39535 * math/s_casinhl.c (__casinhl): Likewise.
39536 * math/libm-test.inc (casin_test): Add more tests.
39537 (casinh_test): Likewise.
39538 * sysdeps/i386/fpu/libm-test-ulps: Update.
39539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39541 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39543 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39545 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39547 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39549 (denorm): Likewise.
39550 (__mp_dbl): Likewise.
39553 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39554 and adjust the header comment.
39556 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39557 variable name from declaration.
39559 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
39561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39562 Initialize COMMON_CPUID_INDEX_7 element.
39563 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39564 (CPUID_RTM): Likewise.
39565 (HAS_RTM): Likewise.
39566 (COMMON_CPUID_INDEX_7): New enum.
39568 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
39571 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39572 size is zero, record memory as freed.
39574 2013-01-03 Andreas Jaeger <aj@suse.de>
39576 * po/ia.po: Add new Interlingua translation.
39578 2012-01-03 Allan McRae <allan@archlinux.org>
39580 * locale/programs/localedef.c: Fix description of '--posix' flag.
39582 2013-01-02 Joseph Myers <joseph@codesourcery.com>
39584 * NEWS: Update dates in second copyright notice.
39585 * README: Update copyright dates in example.
39586 * manual/libc.texinfo: Update copyright dates.
39587 * scripts/test-installation.pl: Update copyright date in --version
39590 * hurd/ctty-input.c: Fix copyright notice formatting.
39591 * hurd/ctty-output.c: Likewise.
39592 * hurd/dtable.c: Likewise.
39593 * hurd/hurd-raise.c: Likewise.
39594 * hurd/hurdprio.c: Likewise.
39595 * hurd/msgportdemux.c: Likewise.
39596 * misc/sys/file.h: Likewise.
39597 * misc/sys/ioctl.h: Likewise.
39598 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39599 * sysdeps/mach/hurd/chdir.c: Likewise.
39600 * sysdeps/mach/hurd/fchdir.c: Likewise.
39601 * sysdeps/mach/hurd/rename.c: Likewise.
39602 * sysdeps/mach/hurd/rmdir.c: Likewise.
39603 * sysdeps/mach/hurd/seekdir.c: Likewise.
39604 * sysdeps/mach/hurd/setsid.c: Likewise.
39605 * sysdeps/posix/wait3.c: Likewise.
39607 * All files with FSF copyright notices: Update copyright dates
39608 using scripts/update-copyrights.
39609 * intl/plural.c: Regenerated.
39610 * locale/programs/charmap-kw.h: Likewise.
39611 * locale/programs/locfile-kw.h: Likewise.
39613 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
39615 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39618 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39619 calculation loop and add branch prediction.
39621 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39622 check access beyond bounds of m1np.
39624 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39626 (__inv): Remove local variable MPTWO to use the global
39628 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39629 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39631 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39632 MP3HALFS static const.
39634 2013-01-01 David S. Miller <davem@davemloft.net>
39636 * po/ca.po: Update from translation team.
39638 2013-01-01 Joseph Myers <joseph@codesourcery.com>
39640 * scripts/update-copyrights: New file.
39641 * Makeconfig: Reformat copyright notice.
39642 * ctype/ctype.h: Likewise.
39643 * debug/swprintf_chk.c: Likewise.
39644 * elf/dl-cache.c: Likewise.
39645 * elf/dl-debug.c: Likewise.
39646 * elf/dl-object.c: Likewise.
39647 * grp/initgroups.c: Likewise.
39648 * hurd/Makefile: Likewise.
39649 * hurd/hurd/signal.h: Likewise.
39650 * hurd/hurdfault.c: Likewise.
39651 * hurd/hurdioctl.c: Likewise.
39652 * hurd/hurdlookup.c: Likewise.
39653 * hurd/intr-msg.c: Likewise.
39654 * iconv/gconv_open.c: Likewise.
39655 * libio/swprintf.c: Likewise.
39656 * locale/lc-ctype.c: Likewise.
39657 * locale/nl_langinfo.c: Likewise.
39658 * mach/Machrules: Likewise.
39659 * mach/Makefile: Likewise.
39660 * malloc/obstack.h: Likewise.
39661 * manual/Makefile: Likewise.
39662 * manual/tsort.awk: Likewise.
39663 * misc/bits/stab.def: Likewise.
39664 * nis/nis_print_group_entry.c: Likewise.
39665 * nis/nis_table.c: Likewise.
39666 * nis/nss_compat/compat-pwd.c: Likewise.
39667 * nis/nss_compat/compat-spwd.c: Likewise.
39668 * po/Makefile: Likewise.
39669 * posix/fnmatch.c: Likewise.
39670 * posix/regex.h: Likewise.
39671 * resolv/Makefile: Likewise.
39672 * resolv/nss_dns/dns-network.c: Likewise.
39673 * resolv/res_hconf.c: Likewise.
39674 * scripts/gen-sorted.awk: Likewise.
39675 * soft-fp/soft-fp.h: Likewise.
39676 * stdio-common/printf.h: Likewise.
39677 * stdlib/monetary.h: Likewise.
39678 * stdlib/random.c: Likewise.
39679 * stdlib/random_r.c: Likewise.
39680 * sysdeps/generic/Makefile: Likewise.
39681 * sysdeps/gnu/Makefile: Likewise.
39682 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39683 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39684 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39685 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39686 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39687 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39688 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39689 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39690 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39691 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39692 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39693 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39694 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39695 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39696 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39697 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39698 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39699 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39700 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39701 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39702 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39703 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39704 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39705 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39706 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39707 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39708 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39709 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39710 * sysdeps/mach/hurd/errnos.awk: Likewise.
39711 * sysdeps/mach/hurd/fork.c: Likewise.
39712 * sysdeps/mach/hurd/getcwd.c: Likewise.
39713 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39714 * sysdeps/mach/hurd/mmap.c: Likewise.
39715 * sysdeps/mach/hurd/utimes.c: Likewise.
39716 * sysdeps/mach/hurd/xmknod.c: Likewise.
39717 * sysdeps/posix/profil.c: Likewise.
39718 * sysdeps/posix/readdir_r.c: Likewise.
39719 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39720 * sysdeps/powerpc/bits/setjmp.h: Likewise.
39721 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39722 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39723 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39724 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39725 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39726 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39728 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39729 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39730 * sysdeps/pthread/lio_listio.c: Likewise.
39731 * sysdeps/sparc/dl-procinfo.h: Likewise.
39732 * sysdeps/unix/i386/sysdep.S: Likewise.
39733 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39734 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39735 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39736 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39738 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39739 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39740 * sysdeps/unix/sysv/linux/speed.c: Likewise.
39741 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39742 * sysdeps/wordsize-32/divdi3.c: Likewise.
39743 * time/sys/time.h: Likewise.
39744 * wcsmbs/Makefile: Likewise.
39746 2013-01-01 David S. Miller <davem@davemloft.net>
39748 * po/fr.po: Update from translation team.
39750 * catgets/gencat.c: Update copyright year.
39751 * csu/version.c: Likewise.
39752 * debug/catchsegv.sh: Likewise.
39753 * debug/pcprofiledump.c: Likewise.
39754 * debug/xtrace.sh: Likewise.
39755 * elf/ldconfig.c: Likewise.
39756 * elf/ldd.bash.in: Likewise.
39757 * elf/pldd.c: Likewise.
39758 * elf/sotruss.ksh: Likewise.
39759 * elf/sprof.c: Likewise.
39760 * iconv/iconv_prog.c: Likewise.
39761 * iconv/iconvconfig.c: Likewise.
39762 * locale/programs/locale.c: Likewise.
39763 * locale/programs/localedef.c: Likewise.
39764 * login/programs/pt_chown.c: Likewise.
39765 * malloc/memusage.sh: Likewise.
39766 * malloc/memusagestat.c: Likewise.
39767 * malloc/mtrace.pl: Likewise.
39768 * nscd/nscd.c: Likewise.
39769 * nss/getent.c: Likewise.
39770 * nss/makedb.c: Likewise.
39771 * posix/getconf.c: Likewise.
39773 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39775 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39778 2012-12-30 Mike Frysinger <vapier@gentoo.org>
39780 * math/bits/mathcalls.h (modf): Use __nonnull.
39782 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39784 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39785 (split): Use macro CN instead of the bare value.
39786 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39788 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39789 instead of the bare value.
39790 (power1): Likewise.
39792 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39794 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39796 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39798 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39800 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39801 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39802 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39803 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39805 2012-12-28 Andreas Jaeger <aj@suse.de>
39807 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
39808 values are from Linux 3.7.
39810 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39811 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
39813 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39815 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39818 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39820 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39821 variables with preprocessor constants.
39822 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39823 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39824 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39826 2012-12-27 Bruno Haible <bruno@clisp.org>
39829 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39832 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39834 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39835 and use variable directly.
39836 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39838 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39840 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39841 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39843 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39844 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39845 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39846 include directive. Remove local variable MPONE.
39847 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39848 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39849 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39851 2012-12-25 David S. Miller <davem@davemloft.net>
39853 * version.h (RELEASE): Set to "development".
39854 (VERSION): Set to "2.17.90".
39855 * NEWS: Add 2.18 section.
39857 2012-12-21 David S. Miller <davem@davemloft.net>
39859 * po/hr.po: Update from translation team.
39861 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39863 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39865 2012-12-19 Steve Ellcey <sellcey@mips.com>
39867 * NEWS: Mention new memcpy for MIPS.
39869 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39871 * manual/contrib.texi (Contributors): Spelling correction.
39873 2012-12-15 David S. Miller <davem@davemloft.net>
39875 * po/ru.po: Update from translation team.
39877 2012-12-13 David S. Miller <davem@davemloft.net>
39879 * NEWS: Mention IFUNC testsuite enhancements.
39881 * po/pl.po: Update from translation team.
39882 * po/bg.po: Likewise.
39884 * manual/contrib.texi (Contributors): Update entries for Hongjiu
39885 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
39887 2012-12-11 David S. Miller <davem@davemloft.net>
39889 * po/sv.po: Update from translation team.
39891 * po/vi.po: Update from translation team.
39893 * po/cs.po: Update from translation team.
39895 * po/de.po: Update from translation team.
39896 * po/eo.po: Likewise.
39897 * po/nl.po: Likewise.
39899 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39902 * manual/argp.texi (Argp Helper Functions): Move node to follow
39903 Argp Parsing State.
39906 * manual/conf.texi (Limits on File System Capacity): Mention if
39907 terminating null is included in the max size.
39909 2012-12-10 Andreas Jaeger <aj@suse.de>
39911 * po/cs.po: Update from translation team.
39913 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39915 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39916 void pointer and cast to uintptr_t.
39917 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39919 * sysdeps/s390/s390-64/memcpy.S: Likewise.
39920 * sysdeps/s390/s390-64/memset.S: Likewise.
39922 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
39925 * menual/message.texi (Message Translation): Fix typos.
39926 (Helper programs for gettext): Likewise.
39928 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
39931 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39934 2012-12-07 David S. Miller <davem@davemloft.net>
39936 * po/libc.pot: Update.
39938 2012-12-07 Richard Henderson <rth@redhat.com>
39941 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39942 normal/normal case to before the switch.
39943 (_FP_DIV): Likewise.
39945 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
39946 Mike Frysinger <vapier@gentoo.org>
39948 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39949 check for __NR_fadvise64_64.
39951 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
39953 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39954 0, not just to plain "0" as a statement.
39955 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39958 2012-12-06 Joseph Myers <joseph@codesourcery.com>
39960 * NEWS: Use sourceware.org in Bugzilla URL.
39962 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39965 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39967 * stdio-common/tst-put-error.c (do_test): Add newline to the
39968 padded test to ensure flush.
39970 2012-12-05 Jeff Law <law@redhat.com>
39972 * sunrpc/etc.rpc (fedfs_admin): Add entry.
39974 2012-12-05 Joseph Myers <joseph@codesourcery.com>
39976 * README: Don't refer to ports add-on as distributed separately.
39977 Mention AArch64 in list of systems supported in the ports add-on.
39979 * LICENSES: Add more non-FSF copyright and license notices.
39981 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39984 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39986 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39987 10000 as width of padded output.
39989 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39991 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39993 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39994 variable LX with __attribute__ ((unused)).
39995 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39997 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39998 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39999 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40000 with __attribute__ ((unused)).
40002 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
40004 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40006 2012-12-04 Joseph Myers <joseph@codesourcery.com>
40008 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40009 (CFLAGS-nldbl-acos.c): New variable.
40010 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40011 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40012 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40013 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40014 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40015 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40016 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40017 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40018 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40019 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40020 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40021 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40022 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40023 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40024 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40025 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40026 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40027 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40028 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40029 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40030 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40031 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40032 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40033 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40034 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40035 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40036 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40037 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40038 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40039 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40040 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40041 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40042 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40043 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40044 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40045 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40046 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40047 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40048 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40049 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40050 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40051 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40052 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40053 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40054 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40055 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40056 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40057 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40058 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40059 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40060 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40061 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40062 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40063 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40064 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40065 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40066 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40067 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40068 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40069 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40070 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40071 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40072 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40073 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40074 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40075 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40076 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40077 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40078 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40079 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40080 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40081 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40082 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40083 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40084 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40085 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40086 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40087 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40088 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40089 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40090 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40091 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40092 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40093 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40094 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40095 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40096 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40097 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40098 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40099 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40100 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40101 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40102 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40103 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40104 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40105 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40106 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40109 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40112 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40113 whole low double instead of just low 47 bits when splitting values
40116 2012-12-03 Allan McRae <allan@archlinux.org>
40118 * manual/stdio.texi (Predefined Printf Handlers): Remove
40119 @hsep and @vsep usage.
40121 2012-12-03 Mike Frysinger <vapier@gentoo.org>
40123 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40124 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40126 2012-12-03 Jeff Law <law@redhat.com>
40128 * time/sys/time.h (settimeofday): Do not mark TV argument
40131 2012-12-01 Mike Frysinger <vapier@gentoo.org>
40133 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40134 when currently writing and seek to current position when not.
40135 * libio/Makefile (tests): Remove bug-fclose1.
40136 * libio/bug-fclose1.c: Delete.
40138 2012-12-01 Joseph Myers <joseph@codesourcery.com>
40140 * manual/arith.texi (feenableexcept): Fix typo.
40141 (fedisableexcept): Likewise.
40143 2012-11-30 Roland McGrath <roland@hack.frob.com>
40145 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40146 second, differently-typed declaration, rather than a cast.
40148 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40150 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40151 * include/rpc/svc.h: ... here.
40153 2012-11-30 Aurelien Jarno <aurel32@debian.org>
40156 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40157 depending n and resplen2 to catch cases where answer
40160 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
40162 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40163 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40165 2012-11-29 Mike Frysinger <vapier@gentoo.org>
40167 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40169 2012-11-29 Roland McGrath <roland@hack.frob.com>
40171 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40173 2012-11-28 Jeff Law <law@redhat.com>
40176 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40177 dataset_temporary. Track alloca usage into alloca_used.
40178 If dataset is large allocate and release it via malloc/free.
40180 2012-06-04 Florian Weimer <fweimer@redhat.com>
40183 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40185 2012-11-28 David S. Miller <davem@davemloft.net>
40187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40189 2012-11-28 Joseph Myers <joseph@codesourcery.com>
40192 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40193 of pi/2 rounded to nearest to 64 bits.
40194 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40195 nearest to 64 bits.
40196 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40199 2012-11-28 Jeff Law <law@redhat.com>
40200 Martin Osvald <mosvald@redhat.com>
40203 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40204 * sunrpc/svc.c: Include time.h.
40205 (__svc_accept_failed): New function.
40206 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40207 any reason other than EINTR, call __svc_accept_failed.
40208 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40209 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40211 2012-11-28 Andreas Schwab <schwab@suse.de>
40213 * scripts/abilist.awk: Also handle indirect functions in .opd
40216 2012-11-28 Joseph Myers <joseph@codesourcery.com>
40219 * sysdeps/x86/fpu/powl_helper.c: New file.
40220 * sysdeps/x86/fpu/Makefile: Likewise.
40221 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40223 (__ieee754_powl): Use __powl_helper for finite arguments except
40224 integer exponents below 8.
40225 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40227 (__ieee754_powl): Use __powl_helper for finite arguments except
40228 integer exponents below 8.
40229 * math/libm-test.inc (pow_test): Add more tests and enable some
40230 previously disabled tests.
40231 * sysdeps/i386/fpu/libm-test-ulps: Update.
40232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40234 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40235 Carlos O'Donell <carlos_odonell@mentor.com>
40237 * nss/makedb.c (is_prime): Assert that input is odd and greater
40238 than 4. Note that fact in a comment too.
40239 (next_prime): Add 4 to input.
40241 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40244 * libio/Makefile (tests): Add test case tst-fwrite-error.
40245 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40246 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40247 * libio/tst-fwrite-error.c: New test case.
40249 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
40251 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40252 before casting to void *.
40253 * include/libc-internal.h (__pointer_type): New macro.
40254 (__integer_if_pointer_type_sub): Likewise.
40255 (__integer_if_pointer_type): Likewise.
40256 (cast_to_integer): Likewise.
40257 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40258 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40259 before casting to atomic64_t.
40260 (atomic_exchange_acq): Likewise.
40261 (__arch_exchange_and_add_body): Likewise.
40262 (__arch_add_body): Likewise.
40263 (atomic_add_negative): Likewise.
40264 (atomic_add_zero): Likewise.
40266 2012-11-26 Joseph Myers <joseph@codesourcery.com>
40268 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40269 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40270 (add_fdes): Likewise.
40271 (linear_search_fdes): Likewise.
40272 (binary_search_unencoded_fdes): Likewise.
40274 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
40276 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40278 2012-11-24 Adam Conrad <adconrad@0c3.net>
40280 * configure.in: Autodetect C++ header directories.
40281 * configure: Regenerated.
40283 2012-11-23 Mike Frysinger <vapier@gentoo.org>
40285 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40287 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
40289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40291 2012-11-22 Joseph Myers <joseph@codesourcery.com>
40293 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40294 LDBL_MANT_DIG == 106]: Disable some tests.
40295 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40297 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40301 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40302 input for small inputs. Return +/- pi/2 for large inputs.
40303 * math/libm-test.inc (atan_test): Add more tests.
40305 * sysdeps/generic/unwind-dw2-fde-glibc.c
40306 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40307 __attribute__ ((unused)).
40310 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40311 x * y if x and y are nonzero and z is zero.
40314 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40315 nonzero exponents with absolute value below 0x1p-117 to +/-
40319 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40320 up arguments below 2**-450, not just those below 2**-500.
40321 * math/libm-test.inc (hypot_test): Add another test.
40324 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40325 Return a+b for ratio over 2**120, not 2**60.
40326 * math/libm-test.inc (hypot_test): Add another test.
40328 * math/libm-test.inc (clog_test): Use
40329 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40330 (clog10_test): Likewise.
40333 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
40335 2012-11-22 Andreas Schwab <schwab@suse.de>
40337 * sysdeps/i386/fpu/libm-test-ulps: Update.
40339 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
40341 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40342 printf output with newline.
40344 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
40347 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40348 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40349 -z nodlopen, -z initfirst and -z execstack support.
40350 * configure: Regenerated.
40352 * elf/elf.h (DF_1_NODIRECT): New macro.
40353 (DF_1_IGNMULDEF): Likewise.
40354 (DF_1_NOKSYMS): Likewise.
40355 (DF_1_NOHDR): Likewise.
40356 (DF_1_EDITED): Likewise.
40357 (DF_1_NORELOC): Likewise.
40358 (DF_1_SYMINTPOSE): Likewise.
40359 (DF_1_GLOBAUDIT): Likewise.
40360 (DF_1_SINGLETON): Likewise.
40361 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40362 DT_1_SUPPORTED_MASK bits.
40363 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40365 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
40367 * sysdeps/unix/make-syscalls.sh: Document prefixes.
40369 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
40371 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40374 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40375 (sendmmsg): Move declarations...
40376 * socket/sys/socket.h: ... here.
40377 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
40378 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
40380 * socket/recvmmsg.c: ... this new file.
40381 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
40382 (sendmmsg): Rename to __sendmmsg, create weak alias and make
40383 definition of __sendmmsg hidden.
40384 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
40385 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
40386 Move ENOSYS stub into and include it from...
40387 * socket/sendmmsg.c: ... this new file.
40388 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40389 (sysdep_routines): Move recvmmsg and sendmmsg...
40390 * socket/Makefile (routines): ... here.
40391 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
40392 (GLIBC_PRIVATE): Add __sendmmsg.
40393 * include/sys/socket.h (__sendmmsg): Add declarations.
40394 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
40397 2012-11-20 Joseph Myers <joseph@codesourcery.com>
40399 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
40400 variable I1 with __attribute__ ((unused)).
40401 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40403 2012-11-19 Joseph Myers <joseph@codesourcery.com>
40405 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
40406 DUMMY variables with __attribute__ ((unused)).
40408 * bits/byteswap.h: Include <bits/types.h>.
40409 (__bswap_64): Use __uint64_t instead of unsigned long long int.
40411 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
40413 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
40414 string_t. Do not manually set errno.
40415 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
40416 length with __strnlen. Make sure to both set errno and return it on
40419 2012-11-19 David S. Miller <davem@davemloft.net>
40421 With help from Joseph Myers.
40422 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
40423 very large arguments properly.
40424 * math/libm-test.inc (atan_test): New tests.
40425 (atan2_test): New tests.
40426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40429 2012-11-19 Joseph Myers <joseph@codesourcery.com>
40432 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
40435 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
40436 [POSIX] (EADDRNOTAVAIL): Likewise.
40437 [POSIX] (EAFNOSUPPORT): Likewise.
40438 [POSIX] (EALREADY): Likewise.
40439 [POSIX] (ECONNABORTED): Likewise.
40440 [POSIX] (ECONNREFUSED): Likewise.
40441 [POSIX] (ECONNRESET): Likewise.
40442 [POSIX] (EDESTADDRREQ): Likewise.
40443 [POSIX] (EDQUOT): Likewise.
40444 [POSIX] (EHOSTUNREACH): Likewise.
40445 [POSIX] (EIDRM): Likewise.
40446 [POSIX] (EISCONN): Likewise.
40447 [POSIX] (ELOOP): Likewise.
40448 [POSIX] (EMULTIHOP): Likewise.
40449 [POSIX] (ENETDOWN): Likewise.
40450 [POSIX] (ENETUNREACH): Likewise.
40451 [POSIX] (ENOBUFS): Likewise.
40452 [POSIX] (ENODATA): Likewise.
40453 [POSIX] (ENOLINK): Likewise.
40454 [POSIX] (ENOMSG): Likewise.
40455 [POSIX] (ENOPROTOOPT): Likewise.
40456 [POSIX] (ENOSR): Likewise.
40457 [POSIX] (ENOSTR): Likewise.
40458 [POSIX] (ENOTCONN): Likewise.
40459 [POSIX] (ENOTSOCK): Likewise.
40460 [POSIX] (EOPNOTSUPP): Likewise.
40461 [POSIX] (EOVERFLOW): Likewise.
40462 [POSIX] (EPROTO): Likewise.
40463 [POSIX] (EPROTONOSUPPORT): Likewise.
40464 [POSIX] (EPROTOTYPE): Likewise.
40465 [POSIX] (ESTALE): Likewise.
40466 [POSIX] (ETIME): Likewise.
40467 [POSIX] (ETXTBSY): Likewise.
40468 [POSIX] (EWOULDBLOCK): Likewise.
40469 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40470 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40471 [POSIX] (SEEK_CUR): Likewise.
40472 [POSIX] (SEEK_END): Likewise.
40473 [POSIX || UNIX98] (mode_t): Do not require.
40474 [POSIX] (off_t): Likewise.
40475 [POSIX] (pid_t): Likewise.
40476 [POSIX] (sys/stat.h): Do not allow header.
40477 [POSIX] (unistd.h): Likewise.
40478 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40479 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40480 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40481 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40483 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40484 sigevent): Specify elements.
40485 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40487 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40488 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40490 * conform/data/cpio.h-data [POSIX]: Disable whole file.
40491 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40492 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40493 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40494 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40495 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40496 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40497 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40498 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40499 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40500 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40501 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40502 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40503 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40505 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40507 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40509 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40511 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40512 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40513 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40514 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40515 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40516 Specify lower bound on value.
40517 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40518 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40519 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40520 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40521 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40522 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40523 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40524 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40526 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40528 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40529 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40530 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40531 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40532 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40533 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40534 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40535 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40536 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40537 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40538 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40539 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40540 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40541 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40542 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40543 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40545 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40547 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40548 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40549 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40550 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40551 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40552 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40554 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40555 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40556 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40557 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40558 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
40559 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40560 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40562 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40563 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40564 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40565 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40566 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40567 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40568 specify as optional.
40569 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40570 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40571 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40572 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40573 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40574 [XPG3] (NL_LANGMAX): Likewise.
40575 [POSIX || XPG3] (NL_MSGMAX): Likewise.
40576 [POSIX || XPG3] (NL_NMAX): Likewise.
40577 [POSIX || XPG3] (NL_SETMAX): Likewise.
40578 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40579 [XPG3] (NZERO): Likewise.
40580 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40581 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40582 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40583 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40584 (REG_ERANGE): Expect.
40585 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40587 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40588 Use (void) in prototype.
40589 [POSIX] (*_t): Allow.
40590 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40591 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40592 (WRDE_BADVAL): Expect.
40594 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40596 [XPG3 || XPG4] (O_RSYNC): Likewise.
40597 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40599 [XPG3 || XPG4] (pthread_sigmask): Likewise.
40600 [XPG3 || XPG4] (sigqueue): Likewise.
40601 [XPG3 || XPG4] (sigtimedwait): Likewise.
40602 [XPG3 || XPG4] (sigwaitinfo): Likewise.
40603 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40604 [XPG3 || XPG4] (vsnprintf): Likewise.
40605 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40607 [XPG3 || XPG4] (blksize_t): Likewise.
40608 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40610 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40611 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40612 [XPG3 || XPG4] (struct itimerspec): Likewise.
40613 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40614 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40615 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40616 [XPG3 || XPG4] (clockid_t): Likewise.
40617 [XPG3 || XPG4] (timer_t): Likewise.
40618 [XPG3 || XPG4] (clock_getres): Likewise.
40619 [XPG3 || XPG4] (clock_gettime): Likewise.
40620 [XPG3 || XPG4] (clock_settime): Likewise.
40621 [XPG3 || XPG4] (nanosleep): Likewise.
40622 [XPG3 || XPG4] (timer_create): Likewise.
40623 [XPG3 || XPG4] (timer_delete): Likewise.
40624 [XPG3 || XPG4] (timer_gettime): Likewise.
40625 [XPG3 || XPG4] (timer_getoverrun): Likewise.
40626 [XPG3 || XPG4] (timer_settime): Likewise.
40627 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40628 [XPG3 || XPG4] (getlogin_r): Likewise.
40629 [XPG3 || XPG4] (pread): Likewise.
40630 [XPG3 || XPG4] (pthread_atfork): Likewise.
40631 [XPG3 || XPG4] (pwrite): Likewise.
40634 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40637 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
40639 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40640 finalizing MALLSTREAM.
40642 * sysdeps/mach/hurd/syncfs.c: New file.
40644 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40647 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40648 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40649 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40650 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40651 (_nss_dns_gethostbyname4_r): Likewise.
40652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40653 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40655 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
40658 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40660 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
40662 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40663 * elf/cache.c (print_entry): Print ",AArch64" for
40666 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40667 * elf/cache.c (print_entry): Print ",hard-float" for
40670 2012-11-18 David S. Miller <davem@davemloft.net>
40672 With help from Joseph Myers.
40673 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40675 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40677 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40678 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40680 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40681 * math/libm-test.inc (y0_test): New tests.
40682 (y1_test): New tests.
40683 * sysdeps/i386/fpu/libm-test-ulps: Update.
40684 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40687 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
40689 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40691 * configure: Regenerated.
40693 2012-11-17 David S. Miller <davem@davemloft.net>
40696 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40697 nonzero exponents with absolute value below 0x1p-128 to +/-
40700 2012-11-17 Joseph Myers <joseph@codesourcery.com>
40702 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40704 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40706 * posix/getconf-speclist.c: New file.
40707 * posix/posix-envs.def: Likewise.
40708 * posix/confstr.c (START_ENV_GROUP): New macro.
40709 (END_ENV_GROUP): Likewise.
40710 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40711 (KNOWN_PRESENT_ENV_STRING): Likewise.
40712 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40713 (UNKNOWN_ENVIRONMENT): Likewise.
40714 (confstr): Include posix-envs.def instead of handling
40715 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40716 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40717 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40718 (END_ENV_GROUP): Likewise.
40719 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40720 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40721 (UNKNOWN_ENVIRONMENT): Likewise.
40722 (__sysconf): Include posix-envs.def instead of handling associated
40723 cases directly here.
40724 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40725 preprocessing getconf-speclist.c rather than running getconf or
40726 generating empty file.
40728 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
40730 * scripts/check-local-headers.sh: Ignore 'mach' headers.
40732 2012-11-16 Andrej Lajovic <natrij@gmail.com>
40735 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40737 2012-11-16 David S. Miller <davem@davemloft.net>
40739 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40740 smaller than LDBL_EPSILON/2.0L, just return xm1.
40742 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
40744 * elf/tst-array1.c (init): Set constructor priority to 1000.
40745 (fini): Set destructor priority to 1000.
40746 * elf/tst-array2dep.c: Likewise.
40748 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40751 * libio/fileops.c (_IO_new_file_write): Correctly return error.
40752 (_IO_new_file_xsputn): Also return EOF if none of the input
40753 data was written when overflow failed.
40754 * libio/iopadn.c (_IO_padn): Likewise.
40755 * libio/iowpadn.c (_IO_wpadn): Likewise.
40756 * stdio-common/tst-put-error.c: Add copyright notice.
40757 (do_test): Add case for printing padded string.
40758 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40759 _IO_padn returned error.
40760 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40761 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40764 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40766 * libio/libioP.h: Add comment note that the references to C++
40767 bits are now obsolete.
40769 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40771 * math/libm-test.inc (check_complex): Use asprintf.
40773 2012-11-14 Joseph Myers <joseph@codesourcery.com>
40775 * debug/pcprofiledump.c (print_version): Update copyright year.
40776 * malloc/memusagestat.c (print_version): Likewise.
40778 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
40781 * elf/Makefile (tests): Add tst-audit8.
40782 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40783 ($(objpfx)tst-audit8.out): New target.
40784 (tst-audit8-ENV): New variable.
40785 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40786 audit if l_reloc_result is NULL.
40787 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40788 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40789 * elf/tst-audit8.c: New file.
40791 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40793 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40794 * misc/Makefile (CFLAGS-select.c): Define.
40795 * posix/Makefile (CFLAGS-pause.c): Define.
40797 2012-11-13 David S. Miller <davem@davemloft.net>
40799 * crypt/Makefile: Move test targets after toplevel Rules
40800 inclusion. Grab any necessary sysdep routines when linking.
40801 * crypt/md5.c (md5_process_block): Remove define, we will always
40802 name it __md5_process_block.
40803 (md5_finish_ctx): Update md5_process_block call.
40804 (md5_stream): Likewise.
40805 (md5_process_bytes): Likewise.
40806 (md5_process_block): Rename to __md5_process_block and move to ...
40807 * crypt/md5-block.c: ... here.
40808 * crypt/sha256.c (sha256_process_block): Move to ...
40809 * crypt/sha256-block.c: ... here.
40810 * crypt/sha512.c (sha512_process_block): Move to ...
40811 * crypt/sha512-block.c: ... here.
40812 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40814 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40815 * sysdeps/sparc/sparc64/multiarch/Makefile
40816 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40818 (localedef-aux): Add md5 crypto assembler when in locale subdir.
40819 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40821 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40822 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40823 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40824 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40825 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40826 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40827 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40828 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40829 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40831 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40832 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40834 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40836 2012-11-13 Joseph Myers <joseph@codesourcery.com>
40838 * timezone/tzselect.ksh: Update from tzcode git revision
40839 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40840 * timezone/zdump.c: Likewise.
40841 * timezone/zic.c: Likewise.
40842 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40843 in TZVERSION setting, not $(PKGVERSION).
40844 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
40845 REPORT_BUGS_TO settings.
40848 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40851 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40853 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40854 detection to immediately after _FP_ROUND().
40855 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40858 2012-11-11 David S. Miller <davem@davemloft.net>
40860 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40862 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40863 __close rather than their public counterparts.
40865 2012-11-10 Joseph Myers <joseph@codesourcery.com>
40867 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40869 [UNIX98] (sem_timedwait): Do not expect.
40870 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40871 [XPG4 || UNIX98] (sockatmark): Do not expect.
40872 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40873 (clock_getcpuclockid): Do not expect.
40874 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40875 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40877 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40878 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40879 [UNIX98] (vwscanf): Likewise.
40880 [UNIX98] (vswscanf): Likewise.
40882 2012-11-09 Joseph Myers <joseph@codesourcery.com>
40884 * timezone/version.h: Remove file.
40885 * timezone/README: Do not refer to version.h.
40886 * timezone/Makefile ($(objpfx)zic.o): New dependency on
40887 $(objpfx)version.h.
40888 ($(objpfx)zdump.o): Likewise.
40889 ($(objpfx)version.h): New target.
40891 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40893 * timezone/README: Don't mention modification to tzselect.ksh.
40894 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40895 work on unmodified tzselect.ksh. Substitute version numbers in
40898 * Makefile (format-me): Remove.
40899 (INSTALL): Adjust indentation. Use commands directly instead of
40900 using $(format-me).
40902 * aclocal.m4 (ACX_PKGVERSION): New macro.
40903 (ACX_BUGURL): Likewise.
40904 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40905 (PKGVERSION): New AC_DEFINE_UNQUOTED.
40906 (REPORT_BUGS_TO): Likewise.
40907 * configure: Regenerated.
40908 * config.h.in (PKGVERSION): New macro.
40909 (REPORT_BUGS_TO): Likewise.
40910 * config.make.in (PKGVERSION): New variable.
40911 (PKGVERSION_TEXI): Likewise.
40912 (REPORT_BUGS_TO): Likewise.
40913 (REPORT_BUGS_TEXI): Likewise.
40914 * Makefile (format-me): Use -I$(common-objpfx)manual.
40915 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40916 ($(common-objpfx)manual/%): New target.
40917 (manual/%): Remove target.
40918 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40919 (print_version): Use PKGVERSION.
40920 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40921 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40922 and REPORT_BUGS_TO.
40923 ($(objpfx)xtrace): Likewise.
40924 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40925 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40926 (print_version): Use PKGVERSION.
40927 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40928 (do_version): Use PKGVERSION.
40929 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40931 (common-ldd-rewrite): Likewise.
40932 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40933 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40934 (print_version): Use PKGVERSION.
40935 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40936 * elf/pldd.c (argp_program_bug_address): Remove variable.
40937 (more_help): New function.
40938 (argp): Use more_help.
40939 (print_version): Use PKGVERSION.
40940 * elf/sln.c (main): Use PKGVERSION.
40941 (usage): Use REPORT_BUGS_TO.
40942 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40943 (top level): Use PKGVERSION.
40944 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40945 (print_version): Use PKGVERSION.
40946 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40947 (print_version): Use PKGVERSION.
40948 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40949 (print_version): Use PKGVERSION.
40950 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40951 (print_version): Use PKGVERSION.
40952 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40953 (print_version): Use PKGVERSION.
40954 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40955 (print_version): Use PKGVERSION.
40956 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40958 ($(objpfx)memusage): Likewise.
40959 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40960 (do_version): Use PKGVERSION.
40961 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40962 (print_version): Use PKGVERSION.
40963 * malloc/mtrace.pl ($PACKAGE): Remove variable.
40964 ($PKGVERSION): New variable.
40965 ($REPORT_BUGS_TO): Likewise.
40966 (usage): Use $REPORT_BUGS_TO.
40967 (top level): Use $PKGVERSION.
40968 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40969 ($(objpfx)pkgvers.texi): New rule.
40970 ($(objpfx)stamp-pkgvers): Likewise.
40971 * manual/install.texi: Include pkgvers.texi.
40972 (--with-pkgversion): Document new configure option.
40973 (--with-bugurl): Likewise.
40974 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40975 than necessarily for this particular distribution. Use
40976 REPORT_BUGS_TO for where to report bugs.
40977 * INSTALL: Regenerated.
40978 * manual/libc.texinfo: Include pkgvers.texi.
40979 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40980 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40981 (print_version): Use PKGVERSION.
40982 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40983 (print_version): Use PKGVERSION.
40984 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40985 (print_version): Use PKGVERSION.
40986 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40987 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40989 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40990 (print_version): Use PKGVERSION.
40991 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40992 (print_version): Use PKGVERSION.
40993 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40996 * timezone/checktab.awk: Update from tzcode 2012i.
40997 * timezone/ialloc.c: Likewise.
40998 * timezone/private.h: Likewise.
40999 * timezone/scheck.c: Likewise.
41000 * timezone/tzfile.h: Likewise.
41001 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41002 (TZVERSION): Hardcode tzcode version number.
41003 * timezone/zdump.c: Update from tzcode 2012i.
41004 * timezone/zic.c: Likewise.
41005 * timezone/version.h: New file.
41006 * timezone/README: Describe version.h. Update upstream location.
41009 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41010 (mktemp): Enable declaration.
41011 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41012 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41013 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41014 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41016 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41018 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41020 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41022 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41024 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41028 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41029 offset in buffer as u_int32_t not u_long. Consistently use memcpy
41030 for copies of such integer values.
41031 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41032 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41034 2012-11-09 Andreas Jaeger <aj@suse.de>
41036 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41037 definitions and declarations that are provided by
41038 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41040 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41042 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41043 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41044 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41047 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41049 * elf/elf.h: Update comment before AArch64 relocations.
41051 2012-11-07 David S. Miller <davem@davemloft.net>
41053 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41054 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41055 (__start_context): Declare.
41056 (__makecontext_ret): Delete.
41057 (__makecontext): Hook up __start_context instead of
41059 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41060 (sysdep_routines): Add __start_context when in stdlib.
41062 2012-11-07 Joseph Myers <joseph@codesourcery.com>
41064 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41065 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41066 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
41068 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
41069 (READELF): New variable. Use it instead of hardcoded "readelf".
41071 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
41073 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41074 * sysdeps/x86/Makefile: Here.
41075 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41076 * sysdeps/x86/tst-xmmymm.sh: This.
41078 2012-11-07 Joseph Myers <joseph@codesourcery.com>
41080 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41082 [UNIX98] (pthread_barrier_t): Do not expect.
41083 [UNIX98] (pthread_barrierattr_t): Likewise.
41084 [UNIX98] (pthread_spinlock_t): Likewise.
41085 [UNIX98] (pthread_barrier_destroy): Likewise.
41086 [UNIX98] (pthread_barrier_init): Likewise.
41087 [UNIX98] (pthread_barrier_wait): Likewise.
41088 [UNIX98] (pthread_barrierattr_destroy): Likewise.
41089 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41090 [UNIX98] (pthread_barrierattr_init): Likewise.
41091 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41092 [UNIX98] (pthread_getcpuclockid): Likewise.
41093 [UNIX98] (pthread_mutex_timedlock): Likewise.
41094 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41095 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41096 [UNIX98] (pthread_sigmask): Likewise.
41097 [UNIX98] (pthread_spin_destroy): Likewise.
41098 [UNIX98] (pthread_spin_init): Likewise.
41099 [UNIX98] (pthread_spin_lock): Likewise.
41100 [UNIX98] (pthread_spin_trylock): Likewise.
41101 [UNIX98] (pthread_spin_unlock): Likewise.
41102 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41104 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41105 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41106 [XPG3 || XPG4] (pthread_cond_t): Likewise.
41107 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41108 [XPG3 || XPG4] (pthread_key_t): Likewise.
41109 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41110 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41111 [XPG3 || XPG4] (pthread_once_t): Likewise.
41112 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41113 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41114 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41115 [XPG3 || XPG4] (pthread_t): Likewise.
41117 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41119 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41121 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41122 Change function return type to int.
41124 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41125 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41126 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41127 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41128 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41129 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41130 [!POSIX] (posix_madvise): Likewise.
41131 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41133 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41134 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41135 (mode_t): Likewise.
41136 (posix_mem_offset): Likewise.
41137 (posix_typed_mem_get_info): Likewise.
41138 (posix_typed_mem_open): Likewise.
41140 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41141 Change condition to [XOPEN2K8].
41143 * conform/conformtest.pl: Preprocess allow-header data with -x c
41144 instead of from stdin.
41145 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41146 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41147 [C99-based standards] (cerfc): Likewise.
41148 [C99-based standards] (cexp2): Likewise.
41149 [C99-based standards] (cexpm1): Likewise.
41150 [C99-based standards] (clog10): Likewise.
41151 [C99-based standards] (clog1p): Likewise.
41152 [C99-based standards] (clog2): Likewise.
41153 [C99-based standards] (clgamma): Likewise.
41154 [C99-based standards] (ctgamma): Likewise.
41155 [C99-based standards] (cerff): Likewise.
41156 [C99-based standards] (cerfcf): Likewise.
41157 [C99-based standards] (cexp2f): Likewise.
41158 [C99-based standards] (cexpm1f): Likewise.
41159 [C99-based standards] (clog10f): Likewise.
41160 [C99-based standards] (clog1pf): Likewise.
41161 [C99-based standards] (clog2f): Likewise.
41162 [C99-based standards] (clgammaf): Likewise.
41163 [C99-based standards] (ctgammaf): Likewise.
41164 [C99-based standards] (cerfl): Likewise.
41165 [C99-based standards] (cerfcl): Likewise.
41166 [C99-based standards] (cexp2l): Likewise.
41167 [C99-based standards] (cexpm1l): Likewise.
41168 [C99-based standards] (clog10l): Likewise.
41169 [C99-based standards] (clog1pl): Likewise.
41170 [C99-based standards] (clog2l): Likewise.
41171 [C99-based standards] (clgammal): Likewise.
41172 [C99-based standards] (ctgammal): Likewise.
41173 * conform/data/inttypes.h-data [C99-based standards]: Include
41174 stdint.h-data. Remove all expectations for stdint.h contents.
41175 [C99-based standards] (PRI*): Do not allow.
41176 [C99-based standards] (SCN*): Likewise.
41177 [C99-based standards] (*_t): Likewise.
41178 [C99-based-standards] (PRId8): Expect macro.
41179 [C99-based-standards] (PRIi8): Likewise.
41180 [C99-based-standards] (PRIo8): Likewise.
41181 [C99-based-standards] (PRIu8): Likewise.
41182 [C99-based-standards] (PRIx8): Likewise.
41183 [C99-based-standards] (PRIX8): Likewise.
41184 [C99-based-standards] (SCNd8): Likewise.
41185 [C99-based-standards] (SCNi8): Likewise.
41186 [C99-based-standards] (SCNo8): Likewise.
41187 [C99-based-standards] (SCNu8): Likewise.
41188 [C99-based-standards] (SCNx8): Likewise.
41189 [C99-based-standards] (PRIdLEAST8): Likewise.
41190 [C99-based-standards] (PRIiLEAST8): Likewise.
41191 [C99-based-standards] (PRIoLEAST8): Likewise.
41192 [C99-based-standards] (PRIuLEAST8): Likewise.
41193 [C99-based-standards] (PRIxLEAST8): Likewise.
41194 [C99-based-standards] (PRIXLEAST8): Likewise.
41195 [C99-based-standards] (SCNdLEAST8): Likewise.
41196 [C99-based-standards] (SCNiLEAST8): Likewise.
41197 [C99-based-standards] (SCNoLEAST8): Likewise.
41198 [C99-based-standards] (SCNuLEAST8): Likewise.
41199 [C99-based-standards] (SCNxLEAST8): Likewise.
41200 [C99-based-standards] (PRIdFAST8): Likewise.
41201 [C99-based-standards] (PRIiFAST8): Likewise.
41202 [C99-based-standards] (PRIoFAST8): Likewise.
41203 [C99-based-standards] (PRIuFAST8): Likewise.
41204 [C99-based-standards] (PRIxFAST8): Likewise.
41205 [C99-based-standards] (PRIXFAST8): Likewise.
41206 [C99-based-standards] (SCNdFAST8): Likewise.
41207 [C99-based-standards] (SCNiFAST8): Likewise.
41208 [C99-based-standards] (SCNoFAST8): Likewise.
41209 [C99-based-standards] (SCNuFAST8): Likewise.
41210 [C99-based-standards] (SCNxFAST8): Likewise.
41211 [C99-based-standards] (PRId16): Likewise.
41212 [C99-based-standards] (PRIi16): Likewise.
41213 [C99-based-standards] (PRIo16): Likewise.
41214 [C99-based-standards] (PRIu16): Likewise.
41215 [C99-based-standards] (PRIx16): Likewise.
41216 [C99-based-standards] (PRIX16): Likewise.
41217 [C99-based-standards] (SCNd16): Likewise.
41218 [C99-based-standards] (SCNi16): Likewise.
41219 [C99-based-standards] (SCNo16): Likewise.
41220 [C99-based-standards] (SCNu16): Likewise.
41221 [C99-based-standards] (SCNx16): Likewise.
41222 [C99-based-standards] (PRIdLEAST16): Likewise.
41223 [C99-based-standards] (PRIiLEAST16): Likewise.
41224 [C99-based-standards] (PRIoLEAST16): Likewise.
41225 [C99-based-standards] (PRIuLEAST16): Likewise.
41226 [C99-based-standards] (PRIxLEAST16): Likewise.
41227 [C99-based-standards] (PRIXLEAST16): Likewise.
41228 [C99-based-standards] (SCNdLEAST16): Likewise.
41229 [C99-based-standards] (SCNiLEAST16): Likewise.
41230 [C99-based-standards] (SCNoLEAST16): Likewise.
41231 [C99-based-standards] (SCNuLEAST16): Likewise.
41232 [C99-based-standards] (SCNxLEAST16): Likewise.
41233 [C99-based-standards] (PRIdFAST16): Likewise.
41234 [C99-based-standards] (PRIiFAST16): Likewise.
41235 [C99-based-standards] (PRIoFAST16): Likewise.
41236 [C99-based-standards] (PRIuFAST16): Likewise.
41237 [C99-based-standards] (PRIxFAST16): Likewise.
41238 [C99-based-standards] (PRIXFAST16): Likewise.
41239 [C99-based-standards] (SCNdFAST16): Likewise.
41240 [C99-based-standards] (SCNiFAST16): Likewise.
41241 [C99-based-standards] (SCNoFAST16): Likewise.
41242 [C99-based-standards] (SCNuFAST16): Likewise.
41243 [C99-based-standards] (SCNxFAST16): Likewise.
41244 [C99-based-standards] (PRId32): Likewise.
41245 [C99-based-standards] (PRIi32): Likewise.
41246 [C99-based-standards] (PRIo32): Likewise.
41247 [C99-based-standards] (PRIu32): Likewise.
41248 [C99-based-standards] (PRIx32): Likewise.
41249 [C99-based-standards] (PRIX32): Likewise.
41250 [C99-based-standards] (SCNd32): Likewise.
41251 [C99-based-standards] (SCNi32): Likewise.
41252 [C99-based-standards] (SCNo32): Likewise.
41253 [C99-based-standards] (SCNu32): Likewise.
41254 [C99-based-standards] (SCNx32): Likewise.
41255 [C99-based-standards] (PRIdLEAST32): Likewise.
41256 [C99-based-standards] (PRIiLEAST32): Likewise.
41257 [C99-based-standards] (PRIoLEAST32): Likewise.
41258 [C99-based-standards] (PRIuLEAST32): Likewise.
41259 [C99-based-standards] (PRIxLEAST32): Likewise.
41260 [C99-based-standards] (PRIXLEAST32): Likewise.
41261 [C99-based-standards] (SCNdLEAST32): Likewise.
41262 [C99-based-standards] (SCNiLEAST32): Likewise.
41263 [C99-based-standards] (SCNoLEAST32): Likewise.
41264 [C99-based-standards] (SCNuLEAST32): Likewise.
41265 [C99-based-standards] (SCNxLEAST32): Likewise.
41266 [C99-based-standards] (PRIdFAST32): Likewise.
41267 [C99-based-standards] (PRIiFAST32): Likewise.
41268 [C99-based-standards] (PRIoFAST32): Likewise.
41269 [C99-based-standards] (PRIuFAST32): Likewise.
41270 [C99-based-standards] (PRIxFAST32): Likewise.
41271 [C99-based-standards] (PRIXFAST32): Likewise.
41272 [C99-based-standards] (SCNdFAST32): Likewise.
41273 [C99-based-standards] (SCNiFAST32): Likewise.
41274 [C99-based-standards] (SCNoFAST32): Likewise.
41275 [C99-based-standards] (SCNuFAST32): Likewise.
41276 [C99-based-standards] (SCNxFAST32): Likewise.
41277 [C99-based-standards] (PRId64): Likewise.
41278 [C99-based-standards] (PRIi64): Likewise.
41279 [C99-based-standards] (PRIo64): Likewise.
41280 [C99-based-standards] (PRIu64): Likewise.
41281 [C99-based-standards] (PRIx64): Likewise.
41282 [C99-based-standards] (PRIX64): Likewise.
41283 [C99-based-standards] (SCNd64): Likewise.
41284 [C99-based-standards] (SCNi64): Likewise.
41285 [C99-based-standards] (SCNo64): Likewise.
41286 [C99-based-standards] (SCNu64): Likewise.
41287 [C99-based-standards] (SCNx64): Likewise.
41288 [C99-based-standards] (PRIdLEAST64): Likewise.
41289 [C99-based-standards] (PRIiLEAST64): Likewise.
41290 [C99-based-standards] (PRIoLEAST64): Likewise.
41291 [C99-based-standards] (PRIuLEAST64): Likewise.
41292 [C99-based-standards] (PRIxLEAST64): Likewise.
41293 [C99-based-standards] (PRIXLEAST64): Likewise.
41294 [C99-based-standards] (SCNdLEAST64): Likewise.
41295 [C99-based-standards] (SCNiLEAST64): Likewise.
41296 [C99-based-standards] (SCNoLEAST64): Likewise.
41297 [C99-based-standards] (SCNuLEAST64): Likewise.
41298 [C99-based-standards] (SCNxLEAST64): Likewise.
41299 [C99-based-standards] (PRIdFAST64): Likewise.
41300 [C99-based-standards] (PRIiFAST64): Likewise.
41301 [C99-based-standards] (PRIoFAST64): Likewise.
41302 [C99-based-standards] (PRIuFAST64): Likewise.
41303 [C99-based-standards] (PRIxFAST64): Likewise.
41304 [C99-based-standards] (PRIXFAST64): Likewise.
41305 [C99-based-standards] (SCNdFAST64): Likewise.
41306 [C99-based-standards] (SCNiFAST64): Likewise.
41307 [C99-based-standards] (SCNoFAST64): Likewise.
41308 [C99-based-standards] (SCNuFAST64): Likewise.
41309 [C99-based-standards] (SCNxFAST64): Likewise.
41310 [C99-based-standards] (PRIdMAX): Likewise.
41311 [C99-based-standards] (PRIiMAX): Likewise.
41312 [C99-based-standards] (PRIoMAX): Likewise.
41313 [C99-based-standards] (PRIuMAX): Likewise.
41314 [C99-based-standards] (PRIxMAX): Likewise.
41315 [C99-based-standards] (PRIXMAX): Likewise.
41316 [C99-based-standards] (SCNdMAX): Likewise.
41317 [C99-based-standards] (SCNiMAX): Likewise.
41318 [C99-based-standards] (SCNoMAX): Likewise.
41319 [C99-based-standards] (SCNuMAX): Likewise.
41320 [C99-based-standards] (SCNxMAX): Likewise.
41321 [C99-based-standards] (PRIdPTR): Likewise.
41322 [C99-based-standards] (PRIiPTR): Likewise.
41323 [C99-based-standards] (PRIoPTR): Likewise.
41324 [C99-based-standards] (PRIuPTR): Likewise.
41325 [C99-based-standards] (PRIxPTR): Likewise.
41326 [C99-based-standards] (PRIXPTR): Likewise.
41327 [C99-based-standards] (SCNdPTR): Likewise.
41328 [C99-based-standards] (SCNiPTR): Likewise.
41329 [C99-based-standards] (SCNoPTR): Likewise.
41330 [C99-based-standards] (SCNuPTR): Likewise.
41331 [C99-based-standards] (SCNxPTR): Likewise.
41332 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41334 * conform/data/stdint.h-data: Update comments to clarify
41336 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
41338 [C99-based standards] (INT8_MAX): Likewise.
41339 [C99-based standards] (INT16_MIN): Likewise.
41340 [C99-based standards] (INT16_MAX): Likewise.
41341 [C99-based standards] (INT32_MIN): Likewise.
41342 [C99-based standards] (INT32_MAX): Likewise.
41343 [C99-based standards] (INT64_MIN): Likewise.
41344 [C99-based standards] (INT64_MAX): Likewise.
41345 [C99-based standards] (UINT8_MAX): Likewise.
41346 [C99-based standards] (UINT16_MAX): Likewise.
41347 [C99-based standards] (UINT32_MAX): Likewise.
41348 [C99-based standards] (UINT64_MAX): Likewise.
41349 [C99-based standards] (INT_LEAST8_MIN): Likewise.
41350 [C99-based standards] (INT_LEAST8_MAX): Likewise.
41351 [C99-based standards] (INT_LEAST16_MIN): Likewise.
41352 [C99-based standards] (INT_LEAST16_MAX): Likewise.
41353 [C99-based standards] (INT_LEAST32_MIN): Likewise.
41354 [C99-based standards] (INT_LEAST32_MAX): Likewise.
41355 [C99-based standards] (INT_LEAST64_MIN): Likewise.
41356 [C99-based standards] (INT_LEAST64_MAX): Likewise.
41357 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41358 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41359 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41360 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41361 [C99-based standards] (INT_FAST8_MIN): Likewise.
41362 [C99-based standards] (INT_FAST8_MAX): Likewise.
41363 [C99-based standards] (INT_FAST16_MIN): Likewise.
41364 [C99-based standards] (INT_FAST16_MAX): Likewise.
41365 [C99-based standards] (INT_FAST32_MIN): Likewise.
41366 [C99-based standards] (INT_FAST32_MAX): Likewise.
41367 [C99-based standards] (INT_FAST64_MIN): Likewise.
41368 [C99-based standards] (INT_FAST64_MAX): Likewise.
41369 [C99-based standards] (UINT_FAST8_MAX): Likewise.
41370 [C99-based standards] (UINT_FAST16_MAX): Likewise.
41371 [C99-based standards] (UINT_FAST32_MAX): Likewise.
41372 [C99-based standards] (UINT_FAST64_MAX): Likewise.
41373 [C99-based standards] (INTPTR_MIN): Likewise.
41374 [C99-based standards] (INTPTR_MAX): Likewise.
41375 [C99-based standards] (UINTPTR_MAX): Likewise.
41376 [C99-based standards] (INTMAX_MIN): Likewise.
41377 [C99-based standards] (INTMAX_MAX): Likewise.
41378 [C99-based standards] (UINTMAX_MAX): Likewise.
41379 [C99-based standards] (PTRDIFF_MIN): Likewise.
41380 [C99-based standards] (PTRDIFF_MAX): Likewise.
41381 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
41382 [C99-based standards] (SIZE_MAX): Likewise.
41383 [C99-based standards] (WCHAR_MAX): Likewise.
41384 [C99-based standards] (WINT_MAX): Likewise.
41385 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
41386 constraint on value.
41387 [C99-based standards] (WCHAR_MIN): Likewise.
41388 [C99-based standards] (WINT_MIN): Likewise.
41389 [C99-based standards] (*_t): Allow.
41390 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
41391 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
41392 Include math.h-data and complex.h-data. Remove all expectations
41393 of math.h and complex.h contents.
41394 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
41396 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
41397 (struct tm): Expect tag.
41398 [C99-based-standards] (wcstof): Expect function.
41399 [C99-based-standards] (wcstold): Likewise.
41400 [C99-based-standards] (wcstoll): Likewise.
41401 [C99-based-standards] (wcstoull): Likewise.
41402 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
41403 macro-int-constant. Specify type.
41404 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
41405 constraint on value.
41406 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41408 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
41410 [ISO C standards]: Do not allow headers.
41411 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
41412 wcs[abcdefghijklmnopqrstuvwxyz]*.
41413 [ISO C standards] (*_t): Do not allow.
41414 * conform/data/wctype.h-data [C99-based standards] (iswblank):
41416 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
41417 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41419 [ISO C standards]: Do not allow headers.
41420 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
41421 is[abcdefghijklmnopqrstuvwxyz]*.
41422 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
41423 to[abcdefghijklmnopqrstuvwxyz]*.
41424 [ISO C standards] (*_t): Do not allow.
41425 * conform/data/stdalign.h-data: New file.
41426 * conform/data/stdbool.h-data: Likewise.
41427 * conform/data/stdnoreturn.h-data: Likewise.
41429 2012-11-07 Roland McGrath <roland@hack.frob.com>
41432 * manual/filesys.texi (Directory Entries): Typo fix.
41433 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
41435 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41437 * elf/elf.h (EM_AARCH64): New macro.
41438 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
41439 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
41440 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
41441 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
41442 (R_AARCH64_TLSDESC): Likewise.
41443 (NT_ARM_TLS): Likewise.
41444 (NT_ARM_HW_BREAK): Likewise.
41445 (NT_ARM_HW_WATCH): Likewise.
41447 2012-11-07 Joseph Myers <joseph@codesourcery.com>
41450 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41451 (__ieee754_powl): Saturate nonzero exponents with absolute value
41452 below 0x1p-79 to +/- 0x1p-79.
41453 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41454 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41455 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41456 nonzero exponents with absolute value below 0x1p-32 to +/-
41458 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41459 (__ieee754_powl): Saturate nonzero exponents with absolute value
41460 below 0x1p-79 to +/- 0x1p-79.
41461 * math/libm-test.inc (pow_test): Add more tests.
41463 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41465 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41466 _dl_s390_cap_flags with kernel. Increase string length.
41467 (_dl_s390_platforms): Add z196 and zEC12.
41469 2012-11-07 Joseph Myers <joseph@codesourcery.com>
41471 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41472 Change XOPEN21K to XOPEN2K.
41474 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
41476 * string/memmove.c: Use memcpy when possible.
41478 2012-11-06 Andreas Jaeger <aj@suse.de>
41480 * po/eo.po: Update from translation team.
41482 2012-11-06 Joseph Myers <joseph@codesourcery.com>
41485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41486 exponent and small x and y exponents, scale x or y up. Increase
41487 by 2 the exponent used in scaling up.
41488 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41489 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41490 * math/libm-test.inc (fma_test): Add more tests.
41491 (fma_test_towardzero): Likewise.
41492 (fma_test_downward): Likewise.
41493 (fma_test_upward): Likewise.
41495 2012-11-05 Joseph Myers <joseph@codesourcery.com>
41498 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41502 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41503 namespace for names of struct fields.
41504 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41506 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41507 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41509 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
41512 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41514 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
41516 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41520 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41523 2012-11-04 Joseph Myers <joseph@codesourcery.com>
41526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41527 definitely overflow as x * y not x * y + z.
41528 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41529 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41530 * math/libm-test.inc (fma_test): Add more tests.
41531 (fma_test_towardzero): Likewise.
41532 (fma_test_downward): Likewise.
41533 (fma_test_upward): Likewise.
41535 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
41539 * include/stub-tag.h: Remove file.
41540 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41542 * manual/maint.texi (Porting): Don't reference it.
41543 * Makerules ($(objpfx)stubs): Likewise.
41544 * dirent/closedir.c: Don't include <stub-tag.h>.
41545 * dirent/dirfd.c: Likewise.
41546 * dirent/fdopendir.c: Likewise.
41547 * dirent/getdents.c: Likewise.
41548 * dirent/getdents64.c: Likewise.
41549 * dirent/opendir.c: Likewise.
41550 * dirent/readdir.c: Likewise.
41551 * dirent/readdir64.c: Likewise.
41552 * dirent/readdir64_r.c: Likewise.
41553 * dirent/readdir_r.c: Likewise.
41554 * dirent/rewinddir.c: Likewise.
41555 * dirent/seekdir.c: Likewise.
41556 * dirent/telldir.c: Likewise.
41557 * gmon/profil.c: Likewise.
41558 * grp/setgroups.c: Likewise.
41559 * inet/if_index.c: Likewise.
41560 * io/access.c: Likewise.
41561 * io/chdir.c: Likewise.
41562 * io/chmod.c: Likewise.
41563 * io/chown.c: Likewise.
41564 * io/close.c: Likewise.
41565 * io/dup.c: Likewise.
41566 * io/dup2.c: Likewise.
41567 * io/dup3.c: Likewise.
41568 * io/euidaccess.c: Likewise.
41569 * io/faccessat.c: Likewise.
41570 * io/fchdir.c: Likewise.
41571 * io/fchmod.c: Likewise.
41572 * io/fchmodat.c: Likewise.
41573 * io/fchown.c: Likewise.
41574 * io/fchownat.c: Likewise.
41575 * io/fcntl.c: Likewise.
41576 * io/flock.c: Likewise.
41577 * io/fstatfs.c: Likewise.
41578 * io/fstatfs64.c: Likewise.
41579 * io/fstatvfs.c: Likewise.
41580 * io/fstatvfs64.c: Likewise.
41581 * io/futimens.c: Likewise.
41582 * io/fxstat.c: Likewise.
41583 * io/fxstat64.c: Likewise.
41584 * io/fxstatat.c: Likewise.
41585 * io/fxstatat64.c: Likewise.
41586 * io/getcwd.c: Likewise.
41587 * io/isatty.c: Likewise.
41588 * io/lchmod.c: Likewise.
41589 * io/lchown.c: Likewise.
41590 * io/link.c: Likewise.
41591 * io/linkat.c: Likewise.
41592 * io/lseek.c: Likewise.
41593 * io/lseek64.c: Likewise.
41594 * io/lxstat64.c: Likewise.
41595 * io/mkdir.c: Likewise.
41596 * io/mkdirat.c: Likewise.
41597 * io/mkfifo.c: Likewise.
41598 * io/mkfifoat.c: Likewise.
41599 * io/open.c: Likewise.
41600 * io/open64.c: Likewise.
41601 * io/openat.c: Likewise.
41602 * io/openat64.c: Likewise.
41603 * io/pipe.c: Likewise.
41604 * io/pipe2.c: Likewise.
41605 * io/poll.c: Likewise.
41606 * io/posix_fadvise.c: Likewise.
41607 * io/posix_fadvise64.c: Likewise.
41608 * io/posix_fallocate.c: Likewise.
41609 * io/posix_fallocate64.c: Likewise.
41610 * io/read.c: Likewise.
41611 * io/readlink.c: Likewise.
41612 * io/readlinkat.c: Likewise.
41613 * io/rmdir.c: Likewise.
41614 * io/sendfile.c: Likewise.
41615 * io/sendfile64.c: Likewise.
41616 * io/statfs.c: Likewise.
41617 * io/statfs64.c: Likewise.
41618 * io/statvfs.c: Likewise.
41619 * io/statvfs64.c: Likewise.
41620 * io/symlink.c: Likewise.
41621 * io/symlinkat.c: Likewise.
41622 * io/ttyname.c: Likewise.
41623 * io/ttyname_r.c: Likewise.
41624 * io/umask.c: Likewise.
41625 * io/unlink.c: Likewise.
41626 * io/unlinkat.c: Likewise.
41627 * io/utime.c: Likewise.
41628 * io/utimensat.c: Likewise.
41629 * io/write.c: Likewise.
41630 * io/xmknod.c: Likewise.
41631 * io/xmknodat.c: Likewise.
41632 * io/xstat.c: Likewise.
41633 * io/xstat64.c: Likewise.
41634 * login/getpt.c: Likewise.
41635 * login/grantpt.c: Likewise.
41636 * login/unlockpt.c: Likewise.
41637 * math/e_acoshl.c: Likewise.
41638 * math/e_acosl.c: Likewise.
41639 * math/e_asinl.c: Likewise.
41640 * math/e_atan2l.c: Likewise.
41641 * math/e_atanhl.c: Likewise.
41642 * math/e_coshl.c: Likewise.
41643 * math/e_expl.c: Likewise.
41644 * math/e_fmodl.c: Likewise.
41645 * math/e_gammal_r.c: Likewise.
41646 * math/e_hypotl.c: Likewise.
41647 * math/e_j0l.c: Likewise.
41648 * math/e_j1l.c: Likewise.
41649 * math/e_jnl.c: Likewise.
41650 * math/e_lgammal_r.c: Likewise.
41651 * math/e_log10l.c: Likewise.
41652 * math/e_log2l.c: Likewise.
41653 * math/e_logl.c: Likewise.
41654 * math/e_powl.c: Likewise.
41655 * math/e_rem_pio2l.c: Likewise.
41656 * math/e_sinhl.c: Likewise.
41657 * math/e_sqrtl.c: Likewise.
41658 * math/fclrexcpt.c: Likewise.
41659 * math/fedisblxcpt.c: Likewise.
41660 * math/feenablxcpt.c: Likewise.
41661 * math/fegetenv.c: Likewise.
41662 * math/fegetexcept.c: Likewise.
41663 * math/fegetround.c: Likewise.
41664 * math/feholdexcpt.c: Likewise.
41665 * math/fesetenv.c: Likewise.
41666 * math/fesetround.c: Likewise.
41667 * math/feupdateenv.c: Likewise.
41668 * math/fgetexcptflg.c: Likewise.
41669 * math/fraiseexcpt.c: Likewise.
41670 * math/fsetexcptflg.c: Likewise.
41671 * math/ftestexcept.c: Likewise.
41672 * math/k_cosl.c: Likewise.
41673 * math/k_rem_pio2l.c: Likewise.
41674 * math/k_sinl.c: Likewise.
41675 * math/k_tanl.c: Likewise.
41676 * math/s_asinhl.c: Likewise.
41677 * math/s_atanl.c: Likewise.
41678 * math/s_cbrtl.c: Likewise.
41679 * math/s_erfl.c: Likewise.
41680 * math/s_expm1l.c: Likewise.
41681 * math/s_log1pl.c: Likewise.
41682 * math/s_tanhl.c: Likewise.
41683 * misc/acct.c: Likewise.
41684 * misc/brk.c: Likewise.
41685 * misc/chflags.c: Likewise.
41686 * misc/chroot.c: Likewise.
41687 * misc/fchflags.c: Likewise.
41688 * misc/fgetxattr.c: Likewise.
41689 * misc/flistxattr.c: Likewise.
41690 * misc/fremovexattr.c: Likewise.
41691 * misc/fsetxattr.c: Likewise.
41692 * misc/fsync.c: Likewise.
41693 * misc/ftruncate.c: Likewise.
41694 * misc/futimes.c: Likewise.
41695 * misc/futimesat.c: Likewise.
41696 * misc/getdomain.c: Likewise.
41697 * misc/getdtsz.c: Likewise.
41698 * misc/gethostid.c: Likewise.
41699 * misc/gethostname.c: Likewise.
41700 * misc/getloadavg.c: Likewise.
41701 * misc/getpagesize.c: Likewise.
41702 * misc/getsysstats.c: Likewise.
41703 * misc/getxattr.c: Likewise.
41704 * misc/gtty.c: Likewise.
41705 * misc/ioctl.c: Likewise.
41706 * misc/lgetxattr.c: Likewise.
41707 * misc/listxattr.c: Likewise.
41708 * misc/llistxattr.c: Likewise.
41709 * misc/lremovexattr.c: Likewise.
41710 * misc/lsetxattr.c: Likewise.
41711 * misc/lutimes.c: Likewise.
41712 * misc/madvise.c: Likewise.
41713 * misc/mincore.c: Likewise.
41714 * misc/mlock.c: Likewise.
41715 * misc/mlockall.c: Likewise.
41716 * misc/mmap.c: Likewise.
41717 * misc/mprotect.c: Likewise.
41718 * misc/msync.c: Likewise.
41719 * misc/munlock.c: Likewise.
41720 * misc/munlockall.c: Likewise.
41721 * misc/munmap.c: Likewise.
41722 * misc/preadv.c: Likewise.
41723 * misc/preadv64.c: Likewise.
41724 * misc/ptrace.c: Likewise.
41725 * misc/pwritev.c: Likewise.
41726 * misc/pwritev64.c: Likewise.
41727 * misc/readv.c: Likewise.
41728 * misc/reboot.c: Likewise.
41729 * misc/remap_file_pages.c: Likewise.
41730 * misc/removexattr.c: Likewise.
41731 * misc/revoke.c: Likewise.
41732 * misc/select.c: Likewise.
41733 * misc/setdomain.c: Likewise.
41734 * misc/setegid.c: Likewise.
41735 * misc/seteuid.c: Likewise.
41736 * misc/sethostid.c: Likewise.
41737 * misc/sethostname.c: Likewise.
41738 * misc/setregid.c: Likewise.
41739 * misc/setreuid.c: Likewise.
41740 * misc/setxattr.c: Likewise.
41741 * misc/sstk.c: Likewise.
41742 * misc/stty.c: Likewise.
41743 * misc/swapoff.c: Likewise.
41744 * misc/swapon.c: Likewise.
41745 * misc/sync.c: Likewise.
41746 * misc/syncfs.c: Likewise.
41747 * misc/syscall.c: Likewise.
41748 * misc/truncate.c: Likewise.
41749 * misc/ualarm.c: Likewise.
41750 * misc/usleep.c: Likewise.
41751 * misc/ustat.c: Likewise.
41752 * misc/utimes.c: Likewise.
41753 * misc/vhangup.c: Likewise.
41754 * misc/writev.c: Likewise.
41755 * posix/_exit.c: Likewise.
41756 * posix/alarm.c: Likewise.
41757 * posix/execve.c: Likewise.
41758 * posix/fexecve.c: Likewise.
41759 * posix/fork.c: Likewise.
41760 * posix/fpathconf.c: Likewise.
41761 * posix/getaddrinfo.c: Likewise.
41762 * posix/getegid.c: Likewise.
41763 * posix/geteuid.c: Likewise.
41764 * posix/getgid.c: Likewise.
41765 * posix/getgroups.c: Likewise.
41766 * posix/getlogin.c: Likewise.
41767 * posix/getlogin_r.c: Likewise.
41768 * posix/getpgid.c: Likewise.
41769 * posix/getpid.c: Likewise.
41770 * posix/getppid.c: Likewise.
41771 * posix/getresgid.c: Likewise.
41772 * posix/getresuid.c: Likewise.
41773 * posix/getsid.c: Likewise.
41774 * posix/getuid.c: Likewise.
41775 * posix/glob64.c: Likewise.
41776 * posix/nanosleep.c: Likewise.
41777 * posix/pathconf.c: Likewise.
41778 * posix/pause.c: Likewise.
41779 * posix/posix_madvise.c: Likewise.
41780 * posix/pread.c: Likewise.
41781 * posix/pread64.c: Likewise.
41782 * posix/pwrite.c: Likewise.
41783 * posix/pwrite64.c: Likewise.
41784 * posix/sched_getaffinity.c: Likewise.
41785 * posix/sched_getp.c: Likewise.
41786 * posix/sched_gets.c: Likewise.
41787 * posix/sched_primax.c: Likewise.
41788 * posix/sched_primin.c: Likewise.
41789 * posix/sched_rr_gi.c: Likewise.
41790 * posix/sched_setaffinity.c: Likewise.
41791 * posix/sched_setp.c: Likewise.
41792 * posix/sched_sets.c: Likewise.
41793 * posix/sched_yield.c: Likewise.
41794 * posix/setgid.c: Likewise.
41795 * posix/setlogin.c: Likewise.
41796 * posix/setpgid.c: Likewise.
41797 * posix/setresgid.c: Likewise.
41798 * posix/setresuid.c: Likewise.
41799 * posix/setsid.c: Likewise.
41800 * posix/setuid.c: Likewise.
41801 * posix/sleep.c: Likewise.
41802 * posix/spawni.c: Likewise.
41803 * posix/sysconf.c: Likewise.
41804 * posix/times.c: Likewise.
41805 * posix/wait.c: Likewise.
41806 * posix/wait3.c: Likewise.
41807 * posix/wait4.c: Likewise.
41808 * posix/waitpid.c: Likewise.
41809 * resolv/gai_sigqueue.c: Likewise.
41810 * resource/getpriority.c: Likewise.
41811 * resource/getrlimit.c: Likewise.
41812 * resource/getrusage.c: Likewise.
41813 * resource/nice.c: Likewise.
41814 * resource/setpriority.c: Likewise.
41815 * resource/setrlimit.c: Likewise.
41816 * resource/ulimit.c: Likewise.
41817 * rt/aio_cancel.c: Likewise.
41818 * rt/aio_fsync.c: Likewise.
41819 * rt/aio_read.c: Likewise.
41820 * rt/aio_sigqueue.c: Likewise.
41821 * rt/aio_suspend.c: Likewise.
41822 * rt/aio_write.c: Likewise.
41823 * rt/clock_getres.c: Likewise.
41824 * rt/clock_gettime.c: Likewise.
41825 * rt/clock_nanosleep.c: Likewise.
41826 * rt/clock_settime.c: Likewise.
41827 * rt/lio_listio.c: Likewise.
41828 * rt/mq_close.c: Likewise.
41829 * rt/mq_getattr.c: Likewise.
41830 * rt/mq_notify.c: Likewise.
41831 * rt/mq_open.c: Likewise.
41832 * rt/mq_receive.c: Likewise.
41833 * rt/mq_send.c: Likewise.
41834 * rt/mq_setattr.c: Likewise.
41835 * rt/mq_timedreceive.c: Likewise.
41836 * rt/mq_timedsend.c: Likewise.
41837 * rt/mq_unlink.c: Likewise.
41838 * rt/shm_open.c: Likewise.
41839 * rt/shm_unlink.c: Likewise.
41840 * rt/timer_create.c: Likewise.
41841 * rt/timer_delete.c: Likewise.
41842 * rt/timer_getoverr.c: Likewise.
41843 * rt/timer_gettime.c: Likewise.
41844 * rt/timer_settime.c: Likewise.
41845 * setjmp/__longjmp.c: Likewise.
41846 * setjmp/setjmp.c: Likewise.
41847 * signal/kill.c: Likewise.
41848 * signal/killpg.c: Likewise.
41849 * signal/raise.c: Likewise.
41850 * signal/sigaction.c: Likewise.
41851 * signal/sigaltstack.c: Likewise.
41852 * signal/sigblock.c: Likewise.
41853 * signal/sigignore.c: Likewise.
41854 * signal/sigintr.c: Likewise.
41855 * signal/signal.c: Likewise.
41856 * signal/sigpause.c: Likewise.
41857 * signal/sigpending.c: Likewise.
41858 * signal/sigqueue.c: Likewise.
41859 * signal/sigreturn.c: Likewise.
41860 * signal/sigset.c: Likewise.
41861 * signal/sigsetmask.c: Likewise.
41862 * signal/sigstack.c: Likewise.
41863 * signal/sigsuspend.c: Likewise.
41864 * signal/sigtimedwait.c: Likewise.
41865 * signal/sigvec.c: Likewise.
41866 * signal/sigwait.c: Likewise.
41867 * signal/sigwaitinfo.c: Likewise.
41868 * signal/sysv_signal.c: Likewise.
41869 * socket/accept.c: Likewise.
41870 * socket/accept4.c: Likewise.
41871 * socket/bind.c: Likewise.
41872 * socket/connect.c: Likewise.
41873 * socket/getpeername.c: Likewise.
41874 * socket/getsockname.c: Likewise.
41875 * socket/getsockopt.c: Likewise.
41876 * socket/isfdtype.c: Likewise.
41877 * socket/listen.c: Likewise.
41878 * socket/recv.c: Likewise.
41879 * socket/recvfrom.c: Likewise.
41880 * socket/recvmsg.c: Likewise.
41881 * socket/send.c: Likewise.
41882 * socket/sendmsg.c: Likewise.
41883 * socket/sendto.c: Likewise.
41884 * socket/setsockopt.c: Likewise.
41885 * socket/shutdown.c: Likewise.
41886 * socket/sockatmark.c: Likewise.
41887 * socket/socket.c: Likewise.
41888 * socket/socketpair.c: Likewise.
41889 * stdio-common/ctermid.c: Likewise.
41890 * stdio-common/cuserid.c: Likewise.
41891 * stdio-common/remove.c: Likewise.
41892 * stdio-common/rename.c: Likewise.
41893 * stdio-common/renameat.c: Likewise.
41894 * stdio-common/tempname.c: Likewise.
41895 * stdlib/getcontext.c: Likewise.
41896 * stdlib/makecontext.c: Likewise.
41897 * stdlib/setcontext.c: Likewise.
41898 * stdlib/swapcontext.c: Likewise.
41899 * stdlib/system.c: Likewise.
41900 * streams/fattach.c: Likewise.
41901 * streams/fdetach.c: Likewise.
41902 * streams/getmsg.c: Likewise.
41903 * streams/getpmsg.c: Likewise.
41904 * streams/putmsg.c: Likewise.
41905 * streams/putpmsg.c: Likewise.
41906 * sysdeps/unix/bsd/getpt.c: Likewise.
41907 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41908 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41909 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41912 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41913 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41914 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41915 * sysvipc/msgctl.c: Likewise.
41916 * sysvipc/msgget.c: Likewise.
41917 * sysvipc/msgrcv.c: Likewise.
41918 * sysvipc/msgsnd.c: Likewise.
41919 * sysvipc/semctl.c: Likewise.
41920 * sysvipc/semget.c: Likewise.
41921 * sysvipc/semop.c: Likewise.
41922 * sysvipc/semtimedop.c: Likewise.
41923 * sysvipc/shmat.c: Likewise.
41924 * sysvipc/shmctl.c: Likewise.
41925 * sysvipc/shmdt.c: Likewise.
41926 * sysvipc/shmget.c: Likewise.
41927 * termios/tcdrain.c: Likewise.
41928 * termios/tcflow.c: Likewise.
41929 * termios/tcflush.c: Likewise.
41930 * termios/tcgetattr.c: Likewise.
41931 * termios/tcgetpgrp.c: Likewise.
41932 * termios/tcsendbrk.c: Likewise.
41933 * termios/tcsetattr.c: Likewise.
41934 * termios/tcsetpgrp.c: Likewise.
41935 * time/adjtime.c: Likewise.
41936 * time/clock.c: Likewise.
41937 * time/getitimer.c: Likewise.
41938 * time/gettimeofday.c: Likewise.
41939 * time/setitimer.c: Likewise.
41940 * time/settimeofday.c: Likewise.
41941 * time/stime.c: Likewise.
41942 * time/time.c: Likewise.
41944 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
41946 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41949 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41951 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41953 2012-11-03 Joseph Myers <joseph@codesourcery.com>
41956 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41957 FE_TONEAREST before applying Dekker multiplication and Knuth
41958 addition. Clear inexact exceptions and check for exact zero
41959 results afterwards.
41960 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41961 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41962 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41963 * math/libm-test.inc (fma_test): Add more tests.
41964 (fma_test_towardzero): Likewise.
41965 (fma_test_downward): Likewise.
41966 (fma_test_upward): Likewise.
41967 * sysdeps/generic/math_private.h (default_libc_fesetround): New
41969 (libc_fesetround): New macro.
41970 (libc_fesetroundf): Likewise.
41971 (libc_fesetroundl): Likewise.
41972 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41974 (libc_fesetround_387): Likewise.
41975 (libc_fesetroundf): New macro.
41976 (libc_fesetround): Likewise.
41977 (libc_fesetroundl): Likewise.
41978 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41980 (libc_fesetroundf): New macro.
41981 (libc_fesetround): Likewise.
41982 (libc_fesetroundl): Likewise.
41983 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41984 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41985 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41987 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41988 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41990 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41991 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41993 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41997 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41998 integer constant usable in #if and use that to give value to enum
42000 (FE_DIVBYZERO): Likewise.
42001 (FE_UNDERFLOW): Likewise.
42002 (FE_OVERFLOW): Likewise.
42003 (FE_INVALID): Likewise.
42004 (FE_INVALID_SNAN): Likewise.
42005 (FE_INVALID_ISI): Likewise.
42006 (FE_INVALID_IDI): Likewise.
42007 (FE_INVALID_ZDZ): Likewise.
42008 (FE_INVALID_IMZ): Likewise.
42009 (FE_INVALID_COMPARE): Likewise.
42010 (FE_INVALID_SOFTWARE): Likewise.
42011 (FE_INVALID_SQRT): Likewise.
42012 (FE_INVALID_INTEGER_CONVERSION): Likewise.
42013 (FE_TONEAREST): Likewise.
42014 (FE_TOWARDZERO): Likewise.
42015 (FE_UPWARD): Likewise.
42016 (FE_DOWNWARD): Likewise.
42017 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42018 (FE_DIVBYZERO): Likewise.
42019 (FE_OVERFLOW): Likewise.
42020 (FE_UNDERFLOW): Likewise.
42021 (FE_INEXACT): Likewise.
42022 (FE_TONEAREST): Likewise.
42023 (FE_DOWNWARD): Likewise.
42024 (FE_UPWARD): Likewise.
42025 (FE_TOWARDZERO): Likewise.
42026 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42027 (FE_UNDERFLOW): Likewise.
42028 (FE_OVERFLOW): Likewise.
42029 (FE_DIVBYZERO): Likewise.
42030 (FE_INVALID): Likewise.
42031 (FE_TONEAREST): Likewise.
42032 (FE_TOWARDZERO): Likewise.
42033 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42034 (FE_OVERFLOW): Likewise.
42035 (FE_UNDERFLOW): Likewise.
42036 (FE_DIVBYZERO): Likewise.
42037 (FE_INEXACT): Likewise.
42038 (FE_TONEAREST): Likewise.
42039 (FE_TOWARDZERO): Likewise.
42040 (FE_UPWARD): Likewise.
42041 (FE_DOWNWARD): Likewise.
42042 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42043 (FE_DIVBYZERO): Likewise.
42044 (FE_OVERFLOW): Likewise.
42045 (FE_UNDERFLOW): Likewise.
42046 (FE_INEXACT): Likewise.
42047 (FE_TONEAREST): Likewise.
42048 (FE_DOWNWARD): Likewise.
42049 (FE_UPWARD): Likewise.
42050 (FE_TOWARDZERO): Likewise.
42052 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
42054 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42056 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
42058 * scripts/cross-test-ssh.sh (command): Use newlines to separate
42059 commands. Quote $PWD.
42060 (blacklist_exports): Don't use remove_newlines. Replace "declare
42062 (remove_newlines): Remove.
42064 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
42066 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42067 * stdlib/stdlib.h (atof): Moved to ...
42068 * include/bits/stdlib-float.h: Here. New file.
42069 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42070 * stdlib/bits/stdlib-float.h: New file.
42071 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42073 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42076 2012-11-02 Joseph Myers <joseph@codesourcery.com>
42078 * conform/conformtest.pl (@headers): Add fenv.h.
42079 * conform/data/fenv.h-data: New file.
42080 * include/fenv.h [_ISOMAC]: Disable all contents of file except
42081 include of <math/fenv.h>.
42083 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42084 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42085 && !UNIX98]. Enables tests for XOPEN2K8.
42086 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42087 POSIX2008]: Likewise.
42089 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42090 (struct rusage): Do not expect type or its members.
42093 * math/math.h (FP_NAN): Define macro to integer constant usable in
42094 #if and use that to give value to enum constant.
42095 (FP_INFINITE): Likewise.
42096 (FP_ZERO): Likewise.
42097 (FP_SUBNORMAL): Likewise.
42098 (FP_NORMAL): Likewise.
42100 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
42102 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42103 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42106 2012-11-02 Roland McGrath <roland@hack.frob.com>
42108 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42109 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42110 autoconf-time if not.
42111 * configure.in: Remove AC_PREREQ.
42113 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42115 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42116 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42117 of the internal implementation.
42119 2012-11-02 Joseph Myers <joseph@codesourcery.com>
42121 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42122 except include of <misc/sys/syslog.h>.
42124 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
42126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42127 function returns with a NULL context exit with zero.
42129 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42131 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42133 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
42135 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42136 (run_program_cmd): This.
42137 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42138 (tst_langinfo): New variable. Use it.
42140 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
42142 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42143 floating point opcodes.
42145 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
42147 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42150 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42152 * sysdeps/mach/hurd/powerpc: Remove directory.
42153 * sysdeps/mach/powerpc: Likewise.
42155 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
42157 * scripts/check-local-headers.sh: Ignore c++ headers.
42159 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
42161 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42162 __libc_cleanup_region_start argument.
42164 2012-11-01 Joseph Myers <joseph@codesourcery.com>
42168 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42169 x * y using scaling, not as x * y + z.
42170 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42171 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42172 * math/libm-test.inc (fma_test): Add more tests.
42173 (fma_test_towardzero): Likewise.
42174 (fma_test_downward): Likewise.
42175 (fma_test_upward): Likewise.
42177 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
42179 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42181 2012-10-31 Joseph Myers <joseph@codesourcery.com>
42183 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42186 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
42188 * rt/tst-shm.c (worker): Correct checking for mmap failure.
42190 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
42192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42197 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42200 Fix the order of the list for glibc 2.17.
42201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42204 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
42206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42208 2012-10-31 Joseph Myers <joseph@codesourcery.com>
42211 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42212 for low part of x being zero before using __atanl (y).
42213 * math/libm-test.inc (atan2_test): Add another test.
42215 * manual/install.texi (Configuring and compiling): Document
42216 general use of test-wrapper and test-wrapper-env.
42217 * INSTALL: Regenerated.
42219 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42220 (__fma): Do not extract and scale down low bits on after-rounding
42221 systems when result rounded to normal precision would have normal
42223 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42224 (__fmal): Do not extract and scale down low bits on after-rounding
42225 systems when result rounded to normal precision would have normal
42227 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42228 (__fmal): Do not extract and scale down low bits on after-rounding
42229 systems when result rounded to normal precision would have normal
42231 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42233 (fma_test): Add more tests.
42234 (fma_test_towardzero): Likewise.
42235 (fma_test_downward): Likewise.
42236 (fma_test_upward): Likewise.
42238 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
42240 * sysdeps/i386/tininess.h: Renamed to ...
42241 * sysdeps/x86/tininess.h: This.
42242 * sysdeps/x86_64/tininess.h: Removed.
42244 2012-10-30 Joseph Myers <joseph@codesourcery.com>
42246 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42247 input. Use $(build-program-cmd).
42248 ($(objpfx)tst-array1-static.out): Likewise.
42249 ($(objpfx)tst-array2.out): Likewise.
42250 ($(objpfx)tst-array3.out): Likewise.
42251 ($(objpfx)tst-array4.out): Likewise.
42252 ($(objpfx)tst-array5.out): Likewise.
42253 ($(objpfx)tst-array5-static.out): Likewise.
42255 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
42257 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42260 * nss/nsswitch.h (nss_interface_function): Provide new
42261 macro for use with NSS functions.
42262 * grp/initgroups.c: Use new macro.
42263 * nss/getXXbyYY.c: Likewise.
42264 * nss/getXXbyYY_r.c: Likewise.
42265 * nss/getXXent.c: Likewise.
42266 * nss/getXXent_r.c: Likewise.
42267 * sysdeps/posix/getaddrinfo.c: Likewise.
42269 2012-10-30 Andreas Jaeger <aj@suse.de>
42271 * po/ru.po: Update Russion translation from translation project.
42273 2012-10-30 Joseph Myers <joseph@codesourcery.com>
42277 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42278 result and shift together with sticky bit instead of replicating
42279 round-to-nearest rounding.
42280 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42281 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42282 * math/libm-test.inc (fma_test): Add more tests. Do not permit
42283 missing underflow exceptions.
42284 (fma_test_towardzero): Add more tests.
42285 (fma_test_downward): Likewise.
42286 (fma_test_upward): Likewise.
42289 * sysdeps/generic/tininess.h: New file.
42290 * sysdeps/i386/tininess.h: Likewise.
42291 * sysdeps/sh/tininess.h: Likewise.
42292 * sysdeps/x86_64/tininess.h: Likewise.
42293 * stdlib/tst-strtod-underflow.c: Likewise.
42294 * stdlib/tst-tininess.c: Likewise.
42295 * stdlib/strtod_l.c: Include <tininess.h>.
42296 (round_and_return): Do not set errno for exact underflow cases.
42297 Force an underflow exception when setting errno for underflow.
42298 Determine underflow based on rounding to normal precision if
42299 TININESS_AFTER_ROUNDING.
42300 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42301 ERANGE for exact underflow cases.
42302 * stdlib/Makefile (tests): Add tst-tininess and
42303 tst-strtod-underflow.
42304 ($(objpfx)tst-tininess): Use $(link-libm).
42305 ($(objpfx)tst-strtod-underflow): Likewise.
42307 2012-10-30 Andreas Jaeger <aj@suse.de>
42310 * elf/Makefile (tests): Remove conditional for have-initfini-array
42311 since this is now always required and the variable does not exist
42313 (tests-static): Likewise.
42314 (modules-names): Likewise.
42316 * po/eo.po: Add Esperanto translation from translation project.
42318 * elf/tst-array1.c (fini_array): Make writeable so that it can be
42319 merged with constructor/destructor.
42320 (init_array): Likewise.
42321 * elf/tst-array2dep.c (fini_array): Likewise.
42322 (init_array): Likewise.
42324 2012-10-29 Mike Frysinger <vapier@gentoo.org>
42326 * manual/message.texi: Delete @cartouche tags.
42328 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
42330 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42332 * sysdeps/mach/hurd/fsync.c: Likewise.
42334 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
42335 [_POSIX_REALTIME_SIGNALS]: Change condition to
42336 [_POSIX_REALTIME_SIGNALS > 0].
42338 2012-10-27 Andreas Jaeger <aj@suse.de>
42340 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42341 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42342 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42343 [__WORDSIZE != 64]: Likewise.
42345 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
42347 * iconvdata/tst-table.sh: Remove ${SHELL}.
42348 * iconvdata/tst-tables.sh: Likewise.
42350 2012-10-25 David S. Miller <davem@davemloft.net>
42352 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42353 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42356 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42358 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42359 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42360 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42363 2012-10-25 Roland McGrath <roland@hack.frob.com>
42365 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42366 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42369 2012-10-25 Joseph Myers <joseph@codesourcery.com>
42370 Jim Blandy <jimb@codesourcery.com>
42372 * scripts/cross-test-ssh.sh: New file.
42373 * manual/install.texi (Configuring and compiling): Document use of
42375 * INSTALL: Regenerated.
42377 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
42379 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
42382 2012-10-25 Joseph Myers <joseph@codesourcery.com>
42384 * Makeconfig (run-program-prefix): Fix comment.
42386 2012-10-24 Joseph Myers <joseph@codesourcery.com>
42387 Jim Blandy <jimb@codesourcery.com>
42389 * Makeconfig (test-wrapper): New variable,
42390 (test-wrapper-env): Likewise.
42391 [$(cross-compiling) = yes && $(test-wrapper) != ""]
42392 (run-built-tests): Define to yes.
42393 (run-program-prefix): Use $(test-wrapper).
42394 (built-program-cmd): Likewise.
42395 * Rules (make-test-out): Use $(test-wrapper-env) and
42396 $(host-built-program-cmd).
42397 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42398 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
42400 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
42401 $(test-wrapper-env) to tst-rtld-load-self.sh.
42402 ($(objpfx)order2.out): Use $(test-wrapper).
42403 ($(objpfx)tst-initorder.out): Likewise.
42404 ($(objpfx)tst-initorder2.out): Likewise.
42405 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
42406 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
42407 (test_wrapper_env): New variable. Use it to run ld.so.
42408 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
42409 Use it to run ld.so.
42410 (test_wrapper_env): Likewise.
42411 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
42412 $(test-wrapper) to run-iconv-test.sh.
42413 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
42414 (ICONV): Use $test_wrapper.
42415 * posix/Makefile ($(objpfx)globtest.out): Pass
42416 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
42417 globtest.sh, not $(run-program-prefix).
42418 * posix/globtest.sh (run_via_rtld_prefix): New variable.
42419 (test_wrapper): Likewise.
42420 (test_wrapper_env): Likewise. Use it to run globtest with HOME
42421 set together with run_via_rtld_prefix.
42422 (run_program_prefix): Define in terms of test_wrapper and
42423 run_via_rtld_prefix.
42425 2012-10-24 Roland McGrath <roland@hack.frob.com>
42427 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
42428 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
42432 * include/time.h: Remove librt_hidden_proto (clock_gettime).
42433 Declare __clock_getres, __clock_gettime, __clock_settime,
42434 __clock_nanosleep, and __clock_getcpuclockid.
42435 * rt/clock_gettime.c: Define __clock_gettime as an alias.
42436 Remove librt_hidden_def (clock_gettime).
42437 * sysdeps/unix/clock_gettime.c: Likewise.
42438 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
42439 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42440 * rt/clock_getres.c: Define __clock_getres as an alias.
42441 * sysdeps/posix/clock_getres.c: Likewise.
42442 * rt/clock_settime.c: Define __clock_settime as an alias.
42443 * sysdeps/unix/clock_settime.c: Likewise.
42444 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42445 * sysdeps/unix/clock_nanosleep.c: Likewise.
42446 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42447 * rt/clock-compat.c: New file.
42448 * rt/Makefile (librt-routines): Add clock-compat and move
42449 $(clock-routines) to ...
42450 (routines): ... here, new variable.
42451 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42452 Don't add get_clockfreq here.
42453 * rt/Versions (libc: GLIBC_2.17): New version set.
42454 Add clock_* symbols here.
42455 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
42456 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42457 (GLIBC_2.17): Add clock_* symbols.
42458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42460 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42469 * NEWS: Mention the move.
42471 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42472 Use __open, __read, __close rather than their public counterparts.
42473 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42474 (__get_clockfreq_via_cpuinfo): Likewise.
42475 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42476 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42478 * config.h.in (HAVE_IFUNC): New #undef.
42479 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42481 * configure: Regenerated.
42483 2012-10-24 Mike Frysinger <vapier@gentoo.org>
42485 * configure.in: Move READELF check to start of file.
42486 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42487 libc_cv_asm_gnu_indirect_function in the process.
42488 * configure: Regenerated.
42490 2012-10-24 Mike Frysinger <vapier@gentoo.org>
42492 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42493 send the output to /dev/null.
42494 (libc_cv_cc_with_libunwind): Likewise.
42495 (libc_cv_as_noexecstack): Likewise.
42496 * configure: Regenerate.
42498 2012-10-24 Joseph Myers <joseph@codesourcery.com>
42500 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42502 * posix/globtest.sh (TMPDIR): Do not set.
42503 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42504 (testout): Likewise.
42506 2012-10-24 Andreas Jaeger <aj@suse.de>
42508 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42509 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42510 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42511 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42512 posix_fadvise64, posix_fallocate64.
42514 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42515 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42516 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42518 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42520 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42522 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42523 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42524 <bits/fcntl-linux.h>.
42525 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42527 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42528 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42529 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42530 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42531 [__WORDSIZE != 64]: Likewise.
42533 2012-10-23 Joseph Myers <joseph@codesourcery.com>
42535 * Makeconfig (run-built-tests): New variable.
42536 * Rules [$(cross-compiling) = yes]: Change condition to
42537 [$(run-built-tests) = no].
42538 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42539 to [$(run-built-tests) = yes].
42540 * elf/Makefile [$(cross-compiling) = no]: Likewise
42541 * grp/Makefile [$(cross-compiling) = no]: Likewise.
42542 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42543 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42544 * intl/Makefile [$(cross-compiling) = no]: Likewise.
42545 * io/Makefile [$(cross-compiling) = no]: Likewise.
42546 * libio/Makefile [$(cross-compiling) = no]: Likewise.
42547 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42548 * misc/Makefile [$(cross-compiling) = no]: Likewise.
42549 * posix/Makefile [$(cross-compiling) = no]: Likewise.
42550 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42551 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42552 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42553 * string/Makefile [$(cross-compiling) = no]: Likewise.
42555 * posix/Makefile ($(objpfx)globtest.out): Pass
42556 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42557 $(rtld-installed-name).
42558 * posix/globtest.sh (elf_objpfx): Remove variable.
42559 (rtld_installed_name): Likewise.
42560 (library_path): Likewise.
42561 (run_program_prefix): New variable. Use for running globtest
42564 2012-10-23 Jim Blandy <jimb@codesourcery.com>
42565 Joseph Myers <joseph@codesourcery.com>
42567 * Makeconfig (host-built-program-cmd): New variable.
42568 * elf/Makefile (tst-stackguard1-ARGS): Use
42569 $(host-built-program-cmd).
42570 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42571 (tst-spawn-ARGS): Likewise.
42572 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42574 2012-10-23 Joseph Myers <joseph@codesourcery.com>
42575 Jim Blandy <jimb@codesourcery.com>
42577 * Makeconfig (run-via-rtld-prefix): New variable.
42578 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42579 (built-program-cmd): Likewise.
42581 2012-10-22 Andreas Jaeger <aj@suse.de>
42583 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42584 __O_RSYNC if it exists, otherwise to O_SYNC.
42586 2012-10-22 Jim Blandy <jimb@codesourcery.com>
42587 Joseph Myers <joseph@codesourcery.com>
42589 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42591 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42593 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42596 2012-10-22 Andreas Jaeger <aj@suse.de>
42598 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42600 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42603 bits/fcntl-linux.h.
42605 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42606 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42608 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42610 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42613 2012-10-21 Jim Blandy <jimb@codesourcery.com>
42614 Joseph Myers <joseph@codesourcery.com>
42616 * config.make.in (NM): New variable.
42618 2012-10-21 Andreas Jaeger <aj@suse.de>
42620 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42621 definitions and declarations that are provided by
42622 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42624 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
42627 * elf/Makefile (tests-static): Add tst-leaks1-static.
42628 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42629 ($(objpfx)tst-leaks1-static): New rule.
42630 ($(objpfx)tst-leaks1-static-mem): Likewise.
42631 (tst-leaks1-static-ENV): New macro.
42632 * elf/dl-open.c (dl_open_worker): Check the main application
42633 only if SHARED is defined.
42634 * elf/tst-leaks1-static.c: New file.
42636 2012-10-20 Andreas Jaeger <aj@suse.de>
42638 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42639 generic values for Linux.
42640 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42641 and declarations that are provided by <bits/fcntl-linux.h> and
42642 include <bits/fcntl-linux.h>.
42643 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42644 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42646 2012-10-20 Roland McGrath <roland@hack.frob.com>
42648 * io/fcntl.h: Move include of <bits/types.h> to the top and
42649 include it unconditionally.
42651 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
42653 * wcsmbs/Makefile (tests-ifunc): New variable.
42654 (tests): Add $(tests-ifunc).
42655 * wcsmbs/test-wcschr-ifunc.c: New file.
42656 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42657 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42658 * wcsmbs/test-wcslen-ifunc.c: Likewise.
42659 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42660 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42662 * string/Makefile (tests-ifunc): New variable.
42663 (tests): Add $(tests-ifunc).
42664 * string/test-memccpy.c (TEST_NAME): New macro.
42665 * string/test-memchr.c (TEST_NAME): Likewise.
42666 * string/test-memcmp.c (TEST_NAME): Likewise.
42667 * string/test-memcpy.c (TEST_NAME): Likewise.
42668 * string/test-memmem.c (TEST_NAME): Likewise.
42669 * string/test-memmove.c (TEST_NAME): Likewise.
42670 * string/test-memset.c (TEST_NAME): Likewise.
42671 * string/test-rawmemchr.c (TEST_NAME): Likewise.
42672 * string/test-stpcpy.c (TEST_NAME): Likewise.
42673 * string/test-stpncpy.c (TEST_NAME): Likewise.
42674 * string/test-strcasecmp.c (TEST_NAME): Likewise.
42675 * string/test-strcasestr.c (TEST_NAME): Likewise.
42676 * string/test-strcat.c (TEST_NAME): Likewise.
42677 * string/test-strchr.c (TEST_NAME): Likewise.
42678 * string/test-strcmp.c(TEST_NAME): Likewise.
42679 * string/test-strcpy.c (TEST_NAME): Likewise.
42680 * string/test-strcspn.c (TEST_NAME): Likewise.
42681 * string/test-strlen.c (TEST_NAME): Likewise.
42682 * string/test-strncasecmp.c (TEST_NAME): Likewise.
42683 * string/test-strncmp.c (TEST_NAME): Likewise.
42684 * string/test-strncpy.c (TEST_NAME): Likewise.
42685 * string/test-strnlen.c (TEST_NAME): Likewise.
42686 * string/test-strpbrk.c (TEST_NAME): Likewise.
42687 * string/test-strrchr.c (TEST_NAME): Likewise.
42688 * string/test-strspn.c (TEST_NAME): Likewise.
42689 * string/test-strstr.c (TEST_NAME): Likewise.
42690 * string/test-bcopy-ifunc.c: New file.
42691 * string/test-bzero-ifunc.c: Likewise.
42692 * string/test-memccpy-ifunc.c: Likewise.
42693 * string/test-memchr-ifunc.c: Likewise.
42694 * string/test-memcmp-ifunc.c: Likewise.
42695 * string/test-memcpy-ifunc.c: Likewise.
42696 * string/test-memmem-ifunc.c: Likewise.
42697 * string/test-memmove-ifunc.c: Likewise.
42698 * string/test-mempcpy-ifunc.c: Likewise.
42699 * string/test-memset-ifunc.c: Likewise.
42700 * string/test-rawmemchr-ifunc.c: Likewise.
42701 * string/test-stpcpy-ifunc.c: Likewise.
42702 * string/test-stpncpy-ifunc.c: Likewise.
42703 * string/test-strcasecmp-ifunc.c: Likewise.
42704 * string/test-strcasestr-ifunc.c: Likewise.
42705 * string/test-strcat-ifunc.c: Likewise.
42706 * string/test-strchr-ifunc.c: Likewise.
42707 * string/test-strchrnul-ifunc.c: Likewise.
42708 * string/test-strcmp-ifunc.c: Likewise.
42709 * string/test-strcpy-ifunc.c: Likewise.
42710 * string/test-strcspn-ifunc.c: Likewise.
42711 * string/test-strlen-ifunc.c: Likewise.
42712 * string/test-strncasecmp-ifunc.c: Likewise.
42713 * string/test-strncat-ifunc.c: Likewise.
42714 * string/test-strncmp-ifunc.c: Likewise.
42715 * string/test-strncpy-ifunc.c: Likewise.
42716 * string/test-strnlen-ifunc.c: Likewise.
42717 * string/test-strpbrk-ifunc.c: Likewise.
42718 * string/test-strrchr-ifunc.c: Likewise.
42719 * string/test-strspn-ifunc.c: Likewise.
42720 * string/test-strstr-ifunc.c: Likewise.
42722 * debug/Makefile (tests-ifunc): New variable.
42723 (tests): Add $(tests-ifunc).
42724 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42725 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42726 * debug/test-stpcpy_chk-ifunc.c: New file.
42727 * debug/test-strcpy_chk-ifunc.c: Likewise.
42729 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
42732 * elf/dl-load.c (open_verify): Retry read if the entire ELF
42733 header is not read in.
42735 2012-10-19 Joseph Myers <joseph@codesourcery.com>
42737 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
42738 script to $(SHELL) as $<. Pass $(common-objpfx) to script
42739 directly. Pass built executable to script as
42740 $(built-program-cmd).
42741 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
42742 $testprogram without using LD_LIBRARY_PATH and $ldso.
42744 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42745 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42746 $(rtld-installed-name).
42747 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42748 (rtld_installed_name): Likewise.
42749 (library_path): Likewise.
42750 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
42751 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42752 $(run-program-prefix) to tst-tables.sh.
42753 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
42754 it to run tst-table-from and tst-table-to.
42755 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42756 Pass it to tst-table.sh.
42757 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42758 $(run-program-prefix) to tst-gettext.sh.
42759 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42761 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42763 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
42764 to run tst-gettext.
42765 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
42766 to run tst-gettext2.
42767 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
42768 to run tst-translit.
42769 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42770 $(run-program-prefix) to tst-mtrace.sh.
42771 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
42773 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42774 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42775 $(rtld-installed-name).
42776 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42777 (rtld_installed_name): Likewise.
42778 (run_program_prefix): New variable. Use it to run wordexp-test.
42780 * Makeconfig (ARCH): Remove all definitions.
42781 (machine): Likewise.
42782 [ARCH]: Remove conditional code.
42783 [!objdir]: Give error.
42784 [!objdir] (objpfx): Remove.
42785 [!objdir] (common-objpfx): Likewise.
42786 [!objdir] (common-objdir): Likewise.
42787 * configure.in (config_makefile): Remove. Hardcode Makefile in
42788 AC_CONFIG_FILES call.
42789 * configure: Regenerated.
42792 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42794 (testout): Likewise.
42796 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42797 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42798 $(rtld-installed-name).
42799 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42800 (rtld_installed_name): Likwise.
42801 (runit): Remove function.
42802 (run_getconf): New variable, Use it for running getconf binary.
42804 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
42807 * string/test-memmem.c (check_result): New function.
42808 (do_one_test): Use it.
42809 (check1): New function.
42810 (test_main): Use it.
42812 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
42814 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42816 2012-10-18 Joseph Myers <joseph@codesourcery.com>
42818 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42819 (_G_LSEEK64): Likewise.
42820 (_G_MMAP64): Likewise.
42821 (_G_FSTAT64): Likewise.
42822 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42823 (_G_LSEEK64): Likewise.
42824 (_G_MMAP64): Likewise.
42825 (_G_FSTAT64): Likewise.
42826 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42827 unconditional. Call __mmap64 directly.
42828 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42829 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
42830 __lseek64 directly.
42831 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42832 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
42834 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42835 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
42836 __lseek64 directly.
42837 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42838 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
42839 __lseek64 directly.
42840 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42841 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
42842 __lseek64 directly.
42843 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42844 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
42845 __fxstat64 directly.
42846 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42847 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42849 (freopen64) [!_G_OPEN64]: Remove conditional code.
42850 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42852 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42853 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42855 (ftello64) [!_G_LSEEK64]: Remove conditional code.
42856 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42858 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42859 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42861 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42862 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42864 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42865 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42867 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42868 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42870 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42872 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
42875 * manual/memory.texi (Malloc Tunable Parameters): Add note
42876 about free list pointers overwriting some perturb bytes.
42877 Wording suggested by Roland McGrath.
42879 2012-10-17 Joseph Myers <joseph@codesourcery.com>
42881 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42882 (lgamma_test): Likewise.
42883 (tgamma_test): Likewise.
42885 2012-10-16 Florian Weimer <fweimer@redhat.com>
42888 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42889 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42891 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
42893 * NEWS: Mention BZ #14716.
42894 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42895 when removing AVAILABLE1_USES_J macro.
42897 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
42899 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42900 (__bswap_64): __uint64_t for unsigned 64-bit int.
42902 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
42904 * include/string.h (memmem): Declare libc hidden alias.
42905 * string/memmem.c (memmem): Define libc hidden alias.
42906 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42907 __read, __close instead of open, read, close.
42909 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
42911 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42912 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42914 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42915 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42916 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42918 (__rawmemchr_sse2): Likewise.
42919 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42920 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42921 (__strchr_sse2): Likewise.
42922 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42923 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42924 (__strcasecmp_sse2): Likewise.
42925 (__strncasecmp_sse2): Likewise.
42926 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42927 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42928 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42929 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42930 (__strrchr_sse2): Likewise.
42931 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42933 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42934 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42935 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42936 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42937 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42938 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42939 * sysdeps/x86_64/multiarch/memset.S: Likewise.
42940 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42941 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42942 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42943 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42944 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42945 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42946 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42947 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42948 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42949 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42950 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42951 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42952 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42953 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42954 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42955 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42956 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42957 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42958 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42959 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42960 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42961 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42962 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42964 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42966 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42967 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42968 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42969 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42971 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42973 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42974 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42975 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42976 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42978 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42979 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42980 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42981 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42982 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42983 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42984 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42985 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42986 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42987 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42988 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42989 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42990 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42991 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42992 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42993 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42994 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42995 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42996 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42997 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42998 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42999 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43000 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43001 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43002 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43003 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43004 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43005 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43006 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43007 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43008 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43009 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43010 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43011 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43012 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43013 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43014 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43015 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43016 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43017 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43018 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43020 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43021 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43022 * include/ifunc-impl-list.h: New file.
43023 * misc/ifunc-impl-list.c: Likewise.
43024 * misc/Makefile (routines): Add ifunc-impl-list.
43025 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43026 * string/test-string.h: Include <ifunc-impl-list.h>.
43027 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43028 TEST_NAME]: New variables.
43029 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43031 (test_init): Call __libc_ifunc_impl_list to initialize
43032 func_list if TEST_IFUNC and TEST_NAME are defined.
43034 * string/Makefile (strop-tests): Add bcopy and bzero.
43035 * string/test-bcopy.c: New file.
43036 * string/test-bzero.c: Likewise.
43037 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43039 * string/test-memset.c: Support bzero test if TEST_BZERO is
43041 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43043 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43045 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43048 2012-10-10 Joseph Myers <joseph@codesourcery.com>
43050 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43051 * configure: Regenerated.
43053 * Makeconfig (+link-static-before-libc): Don't include
43054 $(link-static-libc).
43056 * libio/libio.h (_IO_pos_t): Remove.
43058 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
43060 * NEWS: Add note about FIPS mode. Wording suggested by Roland
43063 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
43065 * crypt/crypt-entry.c: Include fips-private.h.
43066 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43067 * crypt/md5c-test.c (main): Tolerate disabled MD5.
43068 * sysdeps/unix/sysv/linux/fips-private.h: New file.
43069 * sysdeps/generic/fips-private.h: New file, dummy fallback.
43071 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
43073 * crypt/crypt-private.h: Include stdbool.h.
43074 (_ufc_setup_salt_r): Return bool.
43075 * crypt/crypt-entry.c: Include errno.h.
43076 (__crypt_r): Return NULL with EINVAL for bad salt.
43077 * crypt/crypt_util.c (bad_for_salt): New.
43078 (_ufc_setup_salt_r): Check that salt is long enough and within
43079 the specified alphabet.
43080 * crypt/badsalttest.c: New file.
43081 * crypt/Makefile (tests): Add it.
43082 ($(objpfx)badsalttest): New.
43084 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
43086 * NEWS: Add entry for BZ #14602.
43088 2012-10-09 Joseph Myers <joseph@codesourcery.com>
43090 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43092 * math/libm-test.inc: Update comment listing what functions and
43094 (isgreater_test): New function.
43095 (isgreaterequal_test): Likewise.
43096 (isless_test): Likewise.
43097 (islessequal_test): Likewise.
43098 (islessgreater_test): Likewise.
43099 (isunordered_test): Likewise.
43100 (main): Call the new functions.
43102 2012-10-09 Roland McGrath <roland@hack.frob.com>
43104 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43105 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43106 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43107 * sysdeps/i386/configure: Regenerated.
43108 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43109 * sysdeps/mach/configure: Regenerated.
43110 * sysdeps/mach/hurd/configure: Regenerated.
43111 * sysdeps/powerpc/configure: Regenerated.
43112 * sysdeps/powerpc/powerpc32/configure: Regenerated.
43113 * sysdeps/powerpc/powerpc64/configure: Regenerated.
43114 * sysdeps/s390/s390-32/configure: Regenerated.
43115 * sysdeps/s390/s390-64/configure: Regenerated.
43116 * sysdeps/sh/configure: Regenerated.
43117 * sysdeps/sparc/configure: Regenerated.
43118 * sysdeps/unix/sysv/linux/configure: Regenerated.
43119 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43120 * sysdeps/x86_64/configure: Regenerated.
43122 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43123 defined. Don't check if MAP is NULL.
43125 2012-10-09 Joseph Myers <joseph@codesourcery.com>
43127 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43128 (_G_stat64): Likewise.
43129 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43130 (_G_stat64): Likewise.
43131 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43132 instead of struct _G_stat64.
43133 * libio/fileops.c (mmap_remap_check): Likewise.
43134 (decide_maybe_mmap): Likewise.
43135 (_IO_new_file_seekoff): Likewise.
43136 (_IO_file_stat): Likewise.
43137 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43139 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43140 instead of struct _G_stat64.
43141 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43143 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
43146 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43148 (CHECK_EOL): New macro.
43149 (two_way_short_needle): Check beginning of haystack for EOL. Use
43151 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43152 Replace with CHECK_EOL.
43153 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43154 Replace with CHECK_EOL.
43156 2012-10-08 Joseph Myers <joseph@codesourcery.com>
43158 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43160 * math/libm-test.inc: Update comment listing what functions and
43162 (finite_test): New function.
43163 (isinf_test): Likewise.
43164 (isnan_test): Likewise.
43165 (fpclassify_test): Test subnormal input.
43166 (isfinite_test): Likewise.
43167 (isnormal_test): Likewise.
43168 (main): Call the new functions.
43170 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
43173 * Makerules (%.dynsym): Force C locale when running
43174 $(OBJDUMP) --dynamic-syms.
43176 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
43178 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43181 2012-10-06 David S. Miller <davem@davemloft.net>
43183 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43184 upper 32-bits of the length value in %o2 since we use branch-on-register
43185 tests which consider the entire 64-bit register.
43187 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
43189 * string/test-strstr.c (check2): Add a test for page boundary.
43191 2012-10-05 David S. Miller <davem@davemloft.net>
43193 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43194 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43196 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43198 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43199 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43200 and bzero when HWCAP_SPARC_CRYPTO is present.
43202 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
43205 * string/test-strstr.c (check2): New function.
43206 (test_main): Call check2.
43208 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43210 * string/bug-strcasestr1.c (do_test): Moved to ...
43211 * string/test-strcasestr.c (check1): Here. New function.
43212 (do_one_test): Break out result checking code into ...
43213 (check_result): This. New function.
43214 (do_one_test): Call check_result.
43215 (test_main): Call check1.
43216 * string/bug-strchr1.c (do_test): Moved to ...
43217 * string/test-strchr.c (check1): Here. New function.
43218 (do_one_test): Break out result checking code into ...
43219 (check_result): This. New function.
43220 (do_one_test): Call check_result.
43221 (test_main): Call check1.
43222 * string/bug-strstr1.c (main): Moved to ...
43223 * string/test-strstr.c (check1): Here. New function.
43224 (do_one_test): Break out result checking code into ...
43225 (check_result): This. New function.
43226 (do_one_test): Call check_result.
43227 (test_main): Call check1.
43228 * string/bug-strcasestr1.c: Removed.
43229 * string/bug-strchr1.c: Likewise.
43230 * string/bug-strstr1.c: Likewise.
43232 * elf/Makefile (dl-routines): Add hwcaps.
43233 * elf/dl-support.c (_dl_important_hwcaps): Removed.
43234 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43235 (_dl_important_hwcaps): Moved to ...
43236 * elf/dl-hwcaps.c: Here. New file.
43237 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43240 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43241 if IS_IN_rtld isn't defined.
43243 * elf/dl-support.c (_dl_sysinfo_map): New.
43244 Include "get-dynamic-info.h" and "setup-vdso.h".
43245 (_dl_non_dynamic_init): Call setup_vdso.
43246 * elf/dynamic-link.h: Don't include <assert.h>.
43247 (elf_get_dynamic_info): Moved to ...
43248 * elf/get-dynamic-info.h: Here. New file.
43249 * elf/dynamic-link.h: Include "get-dynamic-info.h".
43250 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43251 * elf/setup-vdso.h: Here. New file.
43252 * elf/rtld.c: Include "setup-vdso.h".
43253 (dl_main): Call setup_vdso.
43255 2012-10-05 Joseph Myers <joseph@codesourcery.com>
43257 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43258 creal in comment listing functions tested. List finite, isinf,
43259 isnan, isless, islessequal, isgreater, isgreaterequal,
43260 islessgreater, isunordered, lgamma_r and pow10 as functions and
43261 macros not tested. Mention which functions not tested are aliases
43262 for other functions. Fix typo. Note that signs of NaNs are not
43265 * scripts/config.guess: Update from config.git.
43266 * scripts/config.sub: Likewise.
43268 2012-10-04 Roland McGrath <roland@hack.frob.com>
43270 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43271 * misc/madvise.c (madvise): Renamed to __madvise.
43272 Make madvise a weak alias.
43273 * include/sys/mman.h: Declare __madvise.
43274 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43275 * sysdeps/unix/syscalls.list
43276 (madvise): Make __madvise the strong name, and madvise a weak alias.
43277 * sysdeps/unix/sysv/linux/syscalls.list
43278 (madvise, mmap): Remove redundant entries.
43279 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43280 * malloc/malloc.c (mtrim): Likewise.
43281 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43283 2012-10-03 Roland McGrath <roland@hack.frob.com>
43285 * sysdeps/mach/hurd/dl-cache.c: File removed.
43286 * config.h.in (USE_LDCONFIG): New #undef.
43287 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43288 * configure: Regenerated.
43289 * elf/Makefile (dl-routines): Add dl-cache only under
43290 [$(use-ldconfig) = yes].
43291 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43292 cache on [USE_LDCONFIG].
43293 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43295 * elf/rtld.c (dl_main): Likewise.
43297 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
43299 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43300 _SC_LEVEL4_CACHE_LINESIZE.
43302 2012-10-03 Roland McGrath <roland@hack.frob.com>
43304 * sysdeps/unix/bsd/confstr.h: File removed.
43306 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
43308 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43311 2012-10-02 Roland McGrath <roland@hack.frob.com>
43313 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43314 Make 'mapoff' field ElfW(Off) rather than off_t.
43316 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
43318 * nscd/Makefile: Remove nscd-cflags and all its users.
43319 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43320 (CFLAGS-nonlib): Add compiler flags for nscd modules.
43323 * malloc.c (malloc_printerr): Clarify error message.
43325 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
43328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43329 Set bit_FMA_Usable if FMA is supported.
43330 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43332 (bit_FMA4_Usable): Updated.
43333 (index_FMA_Usable): New macro.
43334 (CPUID_FMA): Likewise
43335 (HAS_FMA): Defined with bit_FMA_Usable.
43337 2012-10-01 Roland McGrath <roland@hack.frob.com>
43339 * bits/types.h (__swblk_t): Type removed.
43340 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43341 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43342 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43343 (__SWBLK_T_TYPE): Likewise.
43344 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43345 (__SWBLK_T_TYPE): Likewise.
43346 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43347 (__SWBLK_T_TYPE): Likewise.
43348 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43349 (__SWBLK_T_TYPE): Likewise.
43351 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
43352 Honza Horak <hhorak@redhat.com>
43354 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43355 (xdr_mapname): Use YPMAXMAP as maxsize.
43356 (xdr_peername): Use YPMAXPEER as maxsize.
43357 (xdr_keydat): Use YPAXRECORD as maxsize.
43358 (xdr_valdat): Use YPMAXRECORD as maxsize.
43360 2012-10-01 Roland McGrath <roland@hack.frob.com>
43362 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43364 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43365 * csu/init-first.c: ... here.
43366 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43367 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43368 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43369 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43370 * sysdeps/i386/init-first.c: File removed.
43371 * sysdeps/sh/init-first.c: File removed.
43373 2012-10-01 Joseph Myers <joseph@codesourcery.com>
43376 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43377 if x * y might underflow to zero and z is zero.
43378 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43379 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43380 * math/libm-test.inc (min_subnorm_value): New variable.
43381 (fma_test): Add more tests.
43382 (fma_test_towardzero): Likewise.
43383 (fma_test_downward): Likewise
43384 (fma_test_upward): Likewise.
43385 (initialize): Set min_subnorm_value.
43387 2012-09-29 Joseph Myers <joseph@codesourcery.com>
43390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
43392 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
43393 mode for addition resulting in exact zero.
43394 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
43395 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
43397 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43398 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43399 * math/libm-test.inc (fma_test): Add more tests.
43400 (fma_test_towardzero): New function.
43401 (fma_test_downward): Likewise.
43402 (fma_test_upward): Likewise.
43403 (main): Call the new functions.
43405 2012-09-28 David S. Miller <davem@davemloft.net>
43407 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
43409 2012-09-28 Roland McGrath <roland@hack.frob.com>
43411 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
43412 instead of SIGALRM.
43414 * sysdeps/gnu/_G_config.h: Moved to ...
43415 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
43416 * sysdeps/mach/hurd/_G_config.h: Moved to ...
43417 * sysdeps/generic/_G_config.h: ... here.
43419 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
43421 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
43423 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
43424 Conditionalize target on [libnss_test1.so-version].
43426 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
43428 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43429 (elfobjdir): Move out of conditionals.
43431 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
43432 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
43433 (__nss_lookup_function): Conditionalize label remove_from_tree on
43434 [!DO_STATIC_NSS || SHARED], matching its only use.
43436 2012-09-28 David S. Miller <davem@davemloft.net>
43438 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
43439 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
43441 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43443 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43444 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43445 when HWCAP_SPARC_CRYPTO is present.
43447 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
43449 * io/tst-mknodat.c: Create a FIFO instead of a socket.
43451 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
43454 * stdio-common/vfprintf.c (process_string_arg): Revert
43457 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
43459 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43461 * stdio-common/tst-sprintf.c: Include <locale.h>
43462 (main): Test sprintf's handling of incomplete multibyte
43465 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
43467 * elf/dl-runtime.c (VERSYMIDX): Removed.
43468 * elf/dl-version.c (VERSYMIDX): Likewise.
43469 * elf/do-rel.h (VERSYMIDX): Likewise.
43470 (VALIDX): Likewise.
43471 * elf/dynamic-link.h (VERSYMIDX): Likewise.
43472 * elf/rtld.c (VALIDX): Likewise.
43473 (ADDRIDX): Likewise.
43474 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43475 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43476 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43477 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43478 (VALIDX): Likewise.
43479 (ADDRIDX): Likewise.
43481 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
43483 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43485 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
43488 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43490 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43491 addresses are in the same scope as 192.0.2/24.
43492 * posix/gai.conf: Document new scope table defaults.
43494 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43497 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43498 for ftell. Compute offsets from write pointers instead.
43499 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43501 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43504 * libio/Makefile (tests): New test case tst-fseek.
43505 * libio/tst-fseek.c: New test case to verify that fseek/ftell
43506 combination works in wide mode.
43507 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43508 state when the external buffer state changes.
43510 2012-09-27 David S. Miller <davem@davemloft.net>
43513 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43514 pass reloc->r_addend in as the 'high' argument to
43515 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43519 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
43521 * rt/tst-aio2.c: Include <pthread.h>.
43522 * rt/tst-aio3.c: Likewise.
43524 2012-09-27 Steve Ellcey <sellcey@mips.com>
43526 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43528 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
43530 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43531 contents on [SHARED].
43533 2012-09-26 Marek Polacek <polacek@redhat.com>
43537 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43538 for C++ and GCC <4.3 as well as for non GCC compilers.
43540 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
43542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43544 2012-09-25 Roland McGrath <roland@hack.frob.com>
43546 * Makefile.in (all, install): Declare with .PHONY.
43547 Reported by Michael Hope <michael.hope@linaro.org>.
43549 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43551 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43552 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43554 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43556 (sydep_routines): Add the new and the internal functions.
43557 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43558 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43560 (GLIBC_2.17): Add the new function.
43561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43562 (GLIBC_2.17): Likewise.
43563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43564 (GLIBC_2.17): Likewise.
43565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43566 (GLIBC_2.17): Likewise.
43567 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43569 2012-09-25 Alan Modra <amodra@gmail.com>
43571 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43572 Add release barrier before setting once_control to say
43573 initialisation is done. Add hints on lwarx. Use macro in
43575 (clear_once_control): Add release barrier.
43577 2012-09-25 Joseph Myers <joseph@codesourcery.com>
43580 * math/s_clog.c (__clog): Handle more values close to |z| = 1
43582 * math/s_clog10.c (__clog10): Likewise.
43583 * math/s_clog10f.c (__clog10f): Likewise.
43584 * math/s_clog10l.c (__clog10l): Likewise.
43585 * math/s_clogf.c (__clogf): Likewise.
43586 * math/s_clogl.c (__clogl): Likewise.
43587 * math/Makefile (libm-calls): Add x2y2m1.
43588 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43589 (__x2y2m1): Likewise.
43590 (__x2y2m1l): Likewise.
43591 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43592 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43593 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43594 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43595 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43596 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43597 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43598 * sysdeps/i386/fpu/libm-test-ulps: Update.
43599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43602 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43603 int as type of variable DEPTH.
43604 (glob): Use size_t instead of int as type of variables NEWCOUNT
43607 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43609 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43610 Add s_sincosf-sse2.
43611 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43612 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43613 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43614 macros for using routine as __sincosf_ia32.
43615 Use macro for function declaration and weak_alias.
43616 * sysdeps/i386/fpu/libm-test-ulps: Update.
43618 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43621 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43622 subnormal argument.
43623 * math/s_cexpf.c (__cexpf): Likewise.
43624 * math/s_csinf.c (__csinf): Likewise.
43625 * math/s_csinhf.c (__csinhf): Likewise.
43626 * math/s_ctanf.c (__ctanf): Likewise.
43627 * math/s_ctanhf.c (__ctanhf): Likewise.
43628 * math/s_ccosh.c (__ccoshf): Likewise.
43629 * math/s_cexp.c (__cexpl): Likewise.
43630 * math/s_csin.c (__csin): Likewise.
43631 * math/s_csinh.c (__csinh): Likewise.
43632 * math/s_ctan.c (__ctan): Likewise.
43633 * math/s_ctanh.c (ctanh): Likewise.
43634 * math/s_ccoshl.c (__ccoshl): Likewise.
43635 * math/s_cexpl.c (__cexpl): Likewise.
43636 * math/s_csinl.c (__csinl): Likewise.
43637 * math/s_csinhl.c (__csinhl): Likewise.
43638 * math/s_ctanl.c (__ctanl): Likewise.
43639 * math/s_ctanhl.c (__ctanhl): Likewise.
43641 2012-09-25 Joseph Myers <joseph@codesourcery.com>
43643 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43644 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43645 (_IO_off_t): Define to __off_t, not _G_off_t.
43646 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43647 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43648 (_IO_wint_t): Define to wint_t, not _G_wint_t.
43649 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43650 type of __dummy and __dummy2 fields.
43651 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43652 (_G_ssize_t): Likewise.
43653 (_G_off_t): Likewise.
43654 (_G_pid_t): Likewise.
43655 (_G_uid_t): Likewise.
43656 (_G_wchar_t): Likewise.
43657 (_G_wint_t): Likewise.
43658 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43659 (_G_ssize_t): Likewise.
43660 (_G_off_t): Likewise.
43661 (_G_pid_t): Likewise.
43662 (_G_uid_t): Likewise.
43663 (_G_wchar_t): Likewise.
43664 (_G_wint_t): Likewise.
43665 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43666 (_G_ssize_t): Likewise.
43667 (_G_off_t): Likewise.
43668 (_G_pid_t): Likewise.
43669 (_G_uid_t): Likewise.
43670 (_G_wchar_t): Likewise.
43671 (_G_wint_t): Likewise.
43673 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43675 * malloc/arena.c: Include malloc-sysdep.h.
43676 (shrink_heap): Use check_may_shrink_heap to decide if madvise
43677 is sufficient to shrink the heap or an unmap is needed.
43678 * sysdeps/generic/malloc-sysdep.h: New file. Define
43679 new function check_may_shrink_heap.
43680 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
43681 new function check_may_shrink_heap.
43683 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43685 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43688 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
43690 * catgets/test-gencat.sh: Add "set -e".
43691 * elf/tst-pathopt.sh: Likewise.
43692 * grp/tst_fgetgrent.sh: Likewise.
43693 * iconvdata/run-iconv-test.sh: Likewise.
43694 * intl/tst-gettext.sh: Likewise.
43695 * intl/tst-gettext2.sh: Likewise.
43696 * intl/tst-gettext4.sh: Likewise.
43697 * intl/tst-gettext6.sh: Likewise.
43698 * intl/tst-translit.sh: Likewise.
43699 * io/ftwtest-sh: Likewise.
43700 * libio/test-freopen.sh: Likewise.
43701 * malloc/tst-mtrace.sh: Likewise.
43702 * posix/globtest.sh: Likewise.
43703 * posix/tst-getconf.sh: Likewise.
43704 * posix/wordexp-tst.sh: Likewise.
43705 * stdio-common/tst-printf.sh: Likewise.
43706 * stdio-common/tst-unbputc.sh: Likewise.
43707 * stdlib/tst-fmtmsg.sh: Likewise.
43708 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43709 * catgets/Makefile: Do not specify -e option when running
43710 testsuite shell scripts.
43711 * elf/Makefile: Likewise.
43712 * grp/Makefile: Likewise.
43713 * iconvdata/Makefile: Likewise.
43714 * intl/Makefile: Likewise.
43715 * io/Makefile: Likewise.
43716 * libio/Makefile: Likewise.
43717 * malloc/Makefile: Likewise.
43718 * posix/Makefile: Likewise.
43719 * stdio-common/Makefile: Likewise.
43720 * stdlib/Makefile: Likewise.
43721 * sysdeps/x86_64/Makefile: Likewise.
43723 * io/ftwtest-sh: Add copyright header.
43724 * posix/globtest.sh: Likewise.
43725 * posix/tst-getconf.sh: Likewise.
43726 * posix/wordexp-tst.sh: Likewise.
43727 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43729 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
43732 * Makeconfig (+link): Defined as $(+link-static) if
43733 $(build-shared) isn't yes.
43734 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43736 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43738 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43741 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43742 new chunk size with MALLOC_ALIGN_MASK.
43744 2012-09-24 Joseph Myers <joseph@codesourcery.com>
43747 * stdio-common/printf_fphex.c: Include <stdbool.h> and
43749 (__printf_fphex): Determine rounding using get_rounding_mode and
43751 * stdio-common/tst-printf-round.c (struct hex_test): New
43753 (hex_tests): New variable.
43754 (test_hex_in_one_mode): New function.
43755 (do_test): Also run tests for hex float output.
43757 2012-09-21 Joseph Myers <joseph@codesourcery.com>
43759 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43760 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43761 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43762 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43763 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43764 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43765 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43766 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43768 2012-09-20 Joseph Myers <joseph@codesourcery.com>
43770 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43771 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43772 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43773 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43775 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
43778 * elf/rtld.c (dl_main): Limit the check for self loading to normal
43780 * elf/tst-rtld-load-self.sh: New test.
43781 * elf/Makefile: Run it.
43783 2012-09-18 Joseph Myers <joseph@codesourcery.com>
43785 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43786 (tst-writev-ENV): Remove.
43787 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43789 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
43791 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43793 2012-09-17 Joseph Myers <joseph@codesourcery.com>
43795 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43797 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43799 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43800 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43801 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43804 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
43807 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43808 * config.make.in (have-cpp-asm-debuginfo): Removed.
43809 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43810 * configure: Regenerated.
43812 2012-09-14 Joseph Myers <joseph@codesourcery.com>
43815 * stdio-common/printf_fp.c: Include <stdbool.h> and
43817 (___printf_fp): Determine rounding using get_rounding_mode and
43819 * stdio-common/tst-printf-round.c: New file.
43820 * stdio-common/Makefile (tests): Add tst-printf-round.
43821 (link-libm): New variable.
43822 ($(objpfx)tst-printf-round): Depend in $(link-libm).
43824 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
43827 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43828 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43830 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43833 2012-09-13 Joseph Myers <joseph@codesourcery.com>
43835 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43836 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43837 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43838 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43840 2012-09-12 Joseph Myers <joseph@codesourcery.com>
43843 * include/rounding-mode.h: New file.
43844 * sysdeps/generic/get-rounding-mode.h: Likewise.
43845 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43846 * stdlib/strtod_l.c: Include <rounding-mode.h>.
43847 (MAX_VALUE): New macro.
43848 (MIN_VALUE): Likewise.
43849 (overflow_value): New function.
43850 (underflow_value): Likewise.
43851 (round_and_return): Use overflow_value and underflow_value to
43852 determine return values in overflow and underflow cases. Use
43853 round_away to determine rounding depending on rounding mode.
43854 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43855 determine return values in overflow and underflow cases.
43856 * stdlib/tst-strtod-round.c: Include <fenv.h>.
43857 (struct test_results): New structure.
43858 (struct test): Use struct test_results to store expected results
43859 for all rounding modes.
43860 (TEST): Include expected results for all rounding modes.
43861 (test_in_one_mode): New function.
43862 (do_test): Use test_in_one_mode to compute and check results.
43863 Check results for all rounding modes.
43864 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43867 2012-12-09 Allan McRae <allan@archlinux.org>
43869 * sysdeps/i386/fpu/libm-test-ulps: Update
43871 2012-09-11 Joseph Myers <joseph@codesourcery.com>
43873 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43874 (_G_int32_t): Likewise.
43875 (_G_uint16_t): Likewise.
43876 (_G_uint32_t): Likewise.
43877 (_G_HAVE_BOOL): Likewise.
43878 (_G_HAVE_ATEXIT): Likewise.
43879 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43880 (_G_HAVE_IO_FILE_OPEN): Likewise.
43881 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43882 (_G_int32_t): Likewise.
43883 (_G_uint16_t): Likewise.
43884 (_G_uint32_t): Likewise.
43885 (_G_HAVE_BOOL): Likewise.
43886 (_G_HAVE_ATEXIT): Likewise.
43887 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43888 (_G_HAVE_IO_FILE_OPEN): Likewise.
43889 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43890 (_G_int32_t): Likewise.
43891 (_G_uint16_t): Likewise.
43892 (_G_uint32_t): Likewise.
43893 (_G_HAVE_BOOL): Likewise.
43894 (_G_HAVE_ATEXIT): Likewise.
43895 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43896 (_G_HAVE_IO_FILE_OPEN): Likewise.
43898 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
43900 * csu/libc-tls.c: Update copyright years.
43902 2012-09-10 Joseph Myers <joseph@codesourcery.com>
43904 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43905 [!_G_USING_THUNKS]: Remove conditional code.
43906 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43907 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43909 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43910 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43911 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43912 (_G_VTABLE_LABEL_PREFIX): Likewise.
43913 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43914 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43915 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43916 (_G_VTABLE_LABEL_PREFIX): Likewise.
43917 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43918 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43919 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43920 (_G_VTABLE_LABEL_PREFIX): Likewise.
43921 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43923 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
43925 * libio/Makefile: Include ../Makeconfig before tests.
43926 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43927 only if $(build-shared) is yes.
43929 * iconv/gconv_db.c: Update copyright years.
43931 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43933 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43934 unwind info if defined PIC. Fix special cases description.
43935 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43937 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43939 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43941 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
43943 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43945 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43948 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43949 (LDLIBS-tst-chk4): This.
43950 (LDFLAGS-tst-chk5): Renamed to ...
43951 (LDLIBS-tst-chk5): This.
43952 (LDFLAGS-tst-chk6): Renamed to ...
43953 (LDLIBS-tst-chk6): This.
43954 (LDFLAGS-tst-lfschk4): Renamed to ...
43955 (LDLIBS-tst-lfschk4): This.
43956 (LDFLAGS-tst-lfschk5): Renamed to ...
43957 (LDLIBS-tst-lfschk5): This.
43958 (LDFLAGS-tst-lfschk6): Renamed to ...
43959 (LDLIBS-tst-lfschk6): This.
43961 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43962 on $(common-objpfx)soversions.mk.
43964 2012-09-07 Joseph Myers <joseph@codesourcery.com>
43967 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43970 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
43972 * malloc/arena.c (arena_get_retry): New function that gets
43973 another arena for the caller to try its request on.
43974 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43975 current arena cannot fulfill the request.
43976 (__libc_memalign): Likewise.
43977 (__libc_memalign): Likewise.
43978 (__libc_pvalloc): Likewise.
43979 (__libc_calloc): Likewise.
43981 2012-09-05 John Tobey <john.tobey@gmail.com>
43984 * manual/arith.texi (Operations on Complex): Fix description
43985 of carg branch cut.
43987 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43990 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43994 * manual/memory.texi (Memory): Make order of menu items match
43997 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43999 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44000 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
44001 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44003 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
44005 * csu/libc-tls.c (static_dtv): Renamed to ...
44006 (_dl_static_dtv): This. Make it global.
44007 (_dl_initial_dtv): Removed.
44008 (__libc_setup_tls): Updated.
44009 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44010 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44013 2012-09-06 Petr Machata <pmachata@redhat.com>
44015 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44016 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44017 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44018 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44020 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
44023 * csu/libc-tls.c (_dl_initial_dtv): New variable.
44024 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44027 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
44030 * Makeconfig (link-static-before-libc): Replace $(+prector)
44032 (link-static-after-libc): Replace $(+postctor) with
44034 (link-bounded): Replace $(+prector)/$(+postctor) with
44035 $(+prectorT)/$(+postctorT).
44036 (+prectorT): New macro.
44037 (+postctorT): Likewise.
44039 2012-09-06 Joseph Myers <joseph@codesourcery.com>
44041 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44042 (round_str): Handle values above the maximum for IBM long double
44044 * stdlib/tst-strtod-round.c (tests): Regenerated.
44046 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44048 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44050 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44051 zarch_nohighgprs around the zarch optimized routines.
44052 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44053 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44054 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44057 2012-09-05 David S. Miller <davem@davemloft.net>
44059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44061 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44062 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44063 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44064 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44067 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
44069 * malloc/arena.c: Fold copyright years.
44070 * malloc/mcheck.c, malloc/memusage.c: Likewise.
44072 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
44074 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44076 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
44078 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
44080 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
44082 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44083 change internal state upon failure.
44085 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
44087 * malloc/mcheck.c (mcheck_check_all): Fix typo.
44088 * malloc/memusage.c (mmap): Likewise.
44089 (mmap64, mremap): Likewise. Adjust name in comment.
44091 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
44093 * libio/fileops.c: Fix typos in comments.
44094 * libio/oldfileops.c: Likewise.
44095 * libio/wfileops.c: Likewise.
44097 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
44100 * malloc/Makefile (tests): Add tst-malloc-usable test case.
44101 (tst-malloc-usable-ENV): Set environment for test case.
44102 * malloc/hooks.c (malloc_check_get_size): New function to get
44104 * malloc/malloc.c (musable): Use malloc_check_get_size.
44105 * malloc/tst-malloc-usable.c: New test case.
44107 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
44109 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44111 2012-09-05 Allan McRae <allan@archlinux.org>
44114 * configure.in (CXX_SYSINCLUDES): Use compiler output to
44115 determine header location.
44116 * configure: Regenerated.
44118 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
44120 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44122 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44123 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44125 (test): Regenerate.
44127 2012-09-04 David S. Miller <davem@davemloft.net>
44129 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44130 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44131 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44133 2012-09-04 Florian Weimer <fweimer@redhat.com>
44135 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44138 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44140 2012-09-04 Joseph Myers <joseph@codesourcery.com>
44143 * libio/iogetdelim.c: Include <limits.h>.
44144 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44145 + len + 1 would overflow.
44147 2012-09-03 Andreas Jaeger <aj@suse.de>
44149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44150 * sysdeps/i386/fpu/libm-test-ulps: Update.
44152 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44154 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44155 Add s_sinf-sse2, s_conf-sse2.
44157 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44158 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44159 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44160 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44162 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44163 for using routine as __sinf_ia32.
44164 Use macro for function declaration and weak_alias.
44165 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44166 for using routine as __cosf_ia32.
44167 Use macro for function declaration and weak_alias.
44169 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44170 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44172 * sysdeps/x86_64/fpu/s_sinf.S: New file.
44173 * sysdeps/x86_64/fpu/s_cosf.S: New file.
44174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44176 * math/libm-test.inc (cos_test): Add more test cases.
44177 (sin_test): Likewise.
44178 (sincos_test): Likewise.
44180 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44182 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44183 (IFUNC_RESOLVE): Make pointers to the specialized implementations
44185 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44187 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
44190 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44191 first element of the GOT.
44192 (elf_machine_load_address): Return the difference between
44193 the runtime address of _DYNAMIC and elf_machine_dynamic ().
44195 2012-09-01 Allan McRae <allan@archlinux.org>
44198 * configure.in (AWK): Require gawk version 3.0 or later.
44199 * configure: Regenerated.
44201 2012-09-01 Joseph Myers <joseph@codesourcery.com>
44203 * sysdeps/unix/sysv/linux/kernel-features.h
44204 (__ASSUME_POSIX_CPU_TIMERS): Remove.
44205 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44206 [__NR_clock_getres]: Make code unconditional.
44207 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44208 (clock_getcpuclockid): Remove code left unreachable by removal of
44210 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44211 code unconditional.
44212 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44213 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44214 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44215 Make code unconditional.
44216 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44217 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44218 * sysdeps/unix/sysv/linux/clock_settime.c
44219 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44221 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44222 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44224 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
44227 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44228 scripts/test-installation.pl.
44230 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44231 and $ld_so_version if it is set.
44233 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
44236 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44237 failure if reading from procfs failed.
44238 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44240 2012-08-27 Joseph Myers <joseph@codesourcery.com>
44242 * sysdeps/unix/sysv/linux/kernel-features.h
44243 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44244 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44245 Remove conditional code.
44246 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44247 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44248 Remove conditional code.
44249 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44250 * sysdeps/unix/sysv/linux/i386/fxstat.c
44251 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44252 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44253 * sysdeps/unix/sysv/linux/i386/fxstatat.c
44254 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44255 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44256 * sysdeps/unix/sysv/linux/i386/lxstat.c
44257 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44258 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44259 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44260 Remove conditional code.
44261 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44262 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44263 Remove conditional code.
44264 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44265 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44266 <kernel-features.h>.
44267 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44269 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44270 Remove conditional code.
44271 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44272 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44273 Remove conditional.
44275 2012-08-27 Mike Frysinger <vapier@gentoo.org>
44278 * NEWS: Add fixed bug number.
44280 2012-08-27 Joseph Myers <joseph@codesourcery.com>
44283 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44284 underflowing exponent in case of negative sign.
44285 * stdlib/tst-strtod-round-data: Add more tests.
44286 * stdlib/tst-strtod-round.c (tests): Regenerated.
44289 * stdlib/strtod_l.c (NDIG): Remove.
44290 (HEXNDIG): Likewise.
44291 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44292 smallest representable value.
44293 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44294 lie within an exact representation of 1/2 ulp of the result.
44295 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44297 (TENS_P9_IDX): Define unconditionally.
44298 (TENS_P9_SIZE): Likewise.
44299 (TENS_P10_IDX): Likewise.
44300 (TENS_P10_SIZE): Likewise.
44301 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44302 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44303 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44304 entries for 10^2^13 and 10^2^14.
44305 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44306 (TENS_P13_IDX): Define.
44307 (TENS_P13_SIZE): Likewise.
44308 (TENS_P14_IDX): Likewise.
44309 (TENS_P14_SIZE): Likewise.
44310 (_fpioconst_pow10): Change array size to
44311 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
44313 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44314 1024]: Add entries for 10^2^13 and 10^2^14.
44315 [LAST_POW10 > _LAST_POW10]: Remove #error.
44316 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44317 (_fpioconst_pow10): Change array size to
44318 FPIOCONST_POW10_ARRAY_SIZE.
44319 * stdlib/gen-fpioconst.c: New file.
44320 * stdlib/gen-tst-strtod-round.c: Likewise.
44321 * stdlib/tst-strtod-round-data: Likewise.
44322 * stdlib/tst-strtod-round.c: Likewise.
44323 * stdlib/Makefile (tests): Add tst-strtod-round.
44326 * stdlib/strtod_l.c: Include <stdint.h>.
44327 (NDEBUG): Do not define.
44328 (round_and_return): Change EXPONENT parameter to type intmax_t.
44329 Rearrange calculations to avoid internal overflow possibilities.
44330 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44331 Rearrange calculations to avoid internal overflow possibilities.
44332 Assert that number fits inside MPNSIZE limbs.
44333 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44334 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
44335 calculations and add assertions to avoid internal overflow
44336 possibilities. Add casts to avoid signed/unsigned operations.
44337 * stdlib/tst-strtod-overflow.c: New file.
44338 * stdlib/Makefile (tests): Add tst-strtod-overflow.
44340 2012-08-25 Marek Polacek <polacek@redhat.com>
44342 * time/time.h: Fix some typos in comments.
44344 2012-08-23 Roland McGrath <roland@hack.frob.com>
44346 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44347 * posix/tst-rfc3484-2.c: Likewise.
44348 * posix/tst-rfc3484-3.c: Likewise.
44350 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
44352 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44353 (EF_ARM_ABI_FLOAT_HARD): Likewise.
44355 2012-08-23 Joseph Myers <joseph@codesourcery.com>
44357 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44358 #include of fxstatat64.c.
44360 2012-08-22 Roland McGrath <roland@hack.frob.com>
44362 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44363 * shadow/getspent_r.c: Likewise.
44364 * shadow/getspnam.c: Likewise.
44365 * shadow/getspnam_r.c: Likewise.
44366 * gshadow/getsgent.c: Likewise.
44367 * gshadow/getsgent_r.c: Likewise.
44368 * gshadow/getsgnam.c: Likewise.
44369 * gshadow/getsgnam_r.c: Likewise.
44370 * inet/getnetbyad.c: Likewise.
44371 * inet/getnetbyad_r.c: Likewise.
44372 * inet/getnetbynm.c: Likewise.
44373 * inet/getnetbynm_r.c: Likewise.
44374 * inet/getnetent.c: Likewise.
44375 * inet/getnetent_r.c: Likewise.
44376 * inet/getproto.c: Likewise.
44377 * inet/getproto_r.c: Likewise.
44378 * inet/getprtent.c: Likewise.
44379 * inet/getprtent_r.c: Likewise.
44380 * inet/getprtname.c: Likewise.
44381 * inet/getprtname_r.c: Likewise.
44382 * inet/getrpcbyname.c: Likewise.
44383 * inet/getrpcbyname_r.c: Likewise.
44384 * inet/getrpcbynumber.c: Likewise.
44385 * inet/getrpcbynumber_r.c: Likewise.
44386 * inet/getrpcent.c: Likewise.
44387 * inet/getrpcent_r.c: Likewise.
44388 * inet/getaliasent.c: Likewise.
44389 * inet/getaliasent_r.c: Likewise.
44390 * inet/getaliasname.c: Likewise.
44391 * inet/getaliasname_r.c: Likewise.
44392 * nscd/getgrgid_r.c: Likewise.
44393 * nscd/getgrnam_r.c: Likewise.
44394 * nscd/gethstbyad_r.c: Likewise.
44395 * nscd/gethstbynm3_r.c: Likewise.
44396 * nscd/getpwnam_r.c: Likewise.
44397 * nscd/getpwuid_r.c: Likewise.
44398 * nscd/getsrvbynm_r.c: Likewise.
44399 * nscd/getsrvbypt_r.c: Likewise.
44400 * nscd/gai.c: Likewise.
44402 * configure.in (build_nscd): New substituted variable, set
44403 by --disable-build-nscd and defaults to $use_nscd.
44404 * configure: Regenerated.
44405 * config.make.in (build-nscd): New substituted variable.
44406 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
44407 Change conditional to require [$(build-nscd) = yes] as well.
44408 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
44411 * configure.in (use_nscd): New substituted variable, set by
44412 --disable-nscd. If enabled, define USE_NSCD.
44413 * configure: Regenerated.
44414 * config.h.in: Add USE_NSCD.
44415 * config.make.in (use-nscd): New substituted variable.
44416 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
44417 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
44418 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
44419 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
44420 (CFLAGS-getgrnam_r.c): Likewise.
44421 (CFLAGS-initgroups.c): Likewise.
44422 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
44423 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
44425 * inet/getnetgrent_r.c
44426 (nscd_setnetgrent): New function, broken out of ...
44427 (setnetgrent): ... here. Call it.
44428 (innetgr): Conditionalize nscd bits on [USE_NSCD].
44429 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
44430 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
44431 * nscd/Makefile (routines, aux): Move definitions after include of
44432 Makeconfig. Conditionalize on [$(use-nscd) != no].
44433 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
44434 Conditionalize on [USE_NSCD].
44435 (is_nscd, nscd_init_cb): Likewise.
44436 (nss_load_library): Conditionalize init callback on [USE_NSCD].
44437 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
44438 * nss/nss_db/db-init.c: Likewise.
44439 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
44441 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
44442 (make_request): Use it.
44443 (cache_valid_p): New function.
44444 (__check_pf): Use it.
44445 * NEWS: Add item for --disable-nscd.
44447 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
44449 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44450 to support sed >= 4.2.1-20-ga9bf076.
44451 * configure: Regenerated.
44453 2012-08-22 Roland McGrath <roland@hack.frob.com>
44455 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44456 Conditionalize whole body on [IREL].
44458 2012-08-22 Jeff Law <law@redhat.com>
44461 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44462 if the family is PF_UNSPEC.
44464 2012-08-22 Mike Frysinger <vapier@gentoo.org>
44466 * Makerules (lib-version): Rename from V.
44467 (install-lib-nosubdir): Change V to lib-version.
44469 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
44472 * powerpc32/power6/wcschr.c: New file.
44473 * powerpc32/power6/wcscpy.c: New file.
44474 * powerpc32/power6/wcsrchr.c: New file.
44475 * powerpc64/power6/wcschr.c: New file.
44476 * powerpc64/power6/wcscpy.c: New file.
44477 * powerpc64/power6/wcsrchr.c: New file.
44479 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
44481 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44482 (two_way_short_needle): Use it.
44483 * string/strstr.c (AVAILABLE1_USES_J): Define.
44484 * string/strcasestr.c: Likewise.
44486 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44488 * string/strcasestr.c (TOLOWER): Make side-effect safe.
44491 * NEWS: Add an entry.
44492 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44493 define their defaults.
44494 (two_way_short_needle): Detect end-of-string on-the-fly.
44495 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44496 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44497 * string/bug-strcasestr1.c: New test.
44498 * string/Makefile: Run it.
44500 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
44503 * string/str-two-way.h (two_way_short_needle): Optimize matching of
44504 the first character.
44506 2012-08-21 Roland McGrath <roland@hack.frob.com>
44508 * csu/elf-init.c (__libc_csu_irel): Function removed.
44509 * csu/libc-start.c (apply_irel): New function.
44510 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44512 2012-08-21 Joseph Myers <joseph@codesourcery.com>
44514 * sysdeps/unix/sysv/linux/kernel-features.h
44515 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44516 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44517 <kernel-features.h>.
44518 [__NR_fadvise64_64]: Make code unconditional.
44519 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44520 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44521 !__NR_fadvise64_64)]: Likewise.
44522 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44523 !__NR_fadvise64_64))]: Likewise.
44524 [__NR_fadvise64]: Make code unconditional.
44525 [!__NR_fadvise64]: Remove conditional code.
44526 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44527 <kernel-features.h>.
44528 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44530 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44533 not include <kernel-features.h>.
44534 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44536 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44538 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44539 include <kernel-features.h>.
44540 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44542 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44545 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44547 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44548 slight instruction rearrangements per scrollpipe analysis.
44549 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44551 2012-08-20 Roland McGrath <roland@hack.frob.com>
44553 * manual/syslog.texi (syslog; vsyslog, closelog):
44554 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44555 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44557 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44558 DSOCAPS to match condition on defining it.
44560 2012-08-20 Joseph Myers <joseph@codesourcery.com>
44562 * sysdeps/unix/sysv/linux/kernel-features.h
44563 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44565 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44566 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44568 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44569 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44571 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44572 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44574 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44575 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44577 * sysdeps/unix/sysv/linux/kernel-features.h
44578 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44579 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44581 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44582 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44583 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44584 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44585 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44586 Make code unconditional.
44587 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44588 (__mmap64) [!__NR_mmap2]: Likewise.
44589 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44590 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44591 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44592 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44593 [__NR_mmap2]: Make code unconditional.
44594 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44595 (__mmap64) [!__NR_mmap2]: Likewise.
44597 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44599 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44601 2012-08-18 Andreas Jaeger <aj@suse.de>
44603 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44605 2012-08-18 Mike Frysinger <vapier@gentoo.org>
44607 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44608 * include/unistd.h (__have_sock_cloexec): Likewise.
44609 (__have_pipe2): Likewise.
44610 (__have_dup3): Likewise.
44612 2012-08-18 Mike Frysinger <vapier@gentoo.org>
44615 * include/unistd.h (__have_pipe2): Change define into an extern int.
44616 (__have_dup3): Likewise.
44617 * socket/have_sock_cloexec.c: Include fcntl.h.
44618 (__have_pipe2): New variable.
44619 (__have_dup3): Likewise.
44621 2012-08-17 Mike Frysinger <vapier@gentoo.org>
44623 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44625 2012-08-17 Marek Polacek <polacek@redhat.com>
44627 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44628 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44630 2012-08-17 Roland McGrath <roland@hack.frob.com>
44632 * configure.in: Add AC_SUBST for sysheaders.
44633 * configure: Regenerated.
44634 * config.make.in (sysheaders): New substituted variable.
44636 * sysdeps/unix/mkfifo.c: Moved ...
44637 * sysdeps/posix/mkfifo.c: ... here.
44638 * sysdeps/unix/mkfifoat.c: Moved ...
44639 * sysdeps/posix/mkfifoat.c: ... here.
44641 * sysdeps/unix/utime.c: Moved ...
44642 * sysdeps/posix/utime.c: ... here.
44644 * sysdeps/unix/time.c: Moved ...
44645 * sysdeps/posix/time.c: ... here.
44646 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44647 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44649 * sysdeps/unix/nice.c: Moved ...
44650 * sysdeps/posix/nice.c: ... here.
44652 * sysdeps/unix/alarm.c: Moved ...
44653 * sysdeps/posix/alarm.c: ... here.
44655 * intl/Makefile ($(codeset_mo)): Depend on the input file.
44657 2012-08-17 Jeff Law <law@redhat.com>
44659 * intl/Makefile (codeset_mo): New variable.
44660 ($(codeset_mo)): New target.
44661 (tst-codeset.out): Depend on that. Remove explicit rule.
44662 (tst-gettext3.out, tst-gettext5.out): Likewise.
44663 (LOCPATH-ENV, tst-codeset-ENV): New variables.
44664 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44665 * intl/tst-codeset.sh: Remove.
44666 * intl/tst-gettext3.sh: Likewise.
44667 * intl/tst-gettext5.sh: Likewise.
44669 2012-08-17 Roland McGrath <roland@hack.frob.com>
44671 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
44672 * sysdeps/unix/syscalls.list: ... here.
44674 * sysdeps/posix/getaddrinfo.c
44675 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44676 (gaiconf_init, gaiconf_reload): Use them.
44677 [!_STATBUF_ST_NSEC]
44678 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44679 Define using time_t rather than struct timespec.
44681 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44682 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44684 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44686 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44687 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44690 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44691 __libc_cleanup_push argument.
44693 * bits/param.h: New file.
44694 * misc/sys/param.h: New file.
44695 * include/sys/param.h: New file.
44696 * misc/Makefile (headers): Add bits/param.h.
44697 * sysdeps/generic/sys/param.h: File removed.
44698 * sysdeps/unix/sysv/linux/bits/param.h: New file.
44699 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44700 * sysdeps/mach/hurd/bits/param.h: New file.
44701 * sysdeps/mach/hurd/sys/param.h: File removed.
44703 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44706 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44708 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44709 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44712 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44713 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44714 rather than -D_IO_MTSAFE_IO conditionally.
44715 * stdio-common/Makefile (CPPFLAGS): Likewise.
44716 * wcsmbs/Makefile (CPPFLAGS): Likewise.
44717 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44718 Use $(libio-mtsafe).
44719 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44720 of -D_IO_MTSAFE_IO.
44721 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44722 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44723 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44724 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44725 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44726 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44727 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44728 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44729 (CFLAGS-fread_u_chk.c): Likewise.
44730 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44731 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44732 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44733 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44734 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44735 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44736 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44737 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44738 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44740 * libio/Makefile: Test [$(libc-reentrant) = yes]
44741 instead of [$(filter %REENTRANT, $(defines)) nonempty].
44744 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44745 * sysdeps/pthread/configure: File removed.
44746 * sysdeps/pthread/Makeconfig: New file.
44747 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44748 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44750 2012-08-16 Gary Benson <gbenson@redhat.com>
44752 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44753 unmapping the first object in a namespace.
44755 2012-08-16 Roland McGrath <roland@hack.frob.com>
44757 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44758 (__internal_setnetgrent): ... this. Add internal_function to
44759 definition. Add libc_hidden_def.
44760 (setnetgrent): Update caller.
44761 (internal_endnetgrent): Renamed to ...
44762 (__internal_endnetgrent): ... this. Add internal_function to
44763 definition. Add libc_hidden_def.
44764 (endnetgrent): Update caller.
44765 (internal_getnetgrent_r): Renamed to ...
44766 (__internal_getnetgrent_r): ... this. Add internal_function to
44767 definition. Add libc_hidden_def.
44768 (__getnetgrent_r): Update caller.
44769 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
44771 2012-08-16 Joseph Myers <joseph@codesourcery.com>
44773 * stdlib/longlong.h: Update from GCC.
44775 2012-08-16 Roland McGrath <roland@hack.frob.com>
44777 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44778 on _QL, which is set by umul_ppmm but never used.
44779 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44780 variables, which are set by GMP macros but never used.
44781 * stdio-common/_itowa.c (_itowa): Likewise.
44782 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44783 * stdlib/mod_1.c (mpn_mod_1): Likewise.
44785 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
44787 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44788 struct La_sh_regs is not constant.
44789 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44790 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44791 and struct La_sparc64_regs are not constant.
44793 2012-08-16 Joseph Myers <joseph@codesourcery.com>
44795 * sysdeps/unix/sysv/linux/kernel-features.h
44796 (__ASSUME_POSIX_TIMERS): Remove.
44797 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44798 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44799 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44800 Make code unconditional.
44801 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44802 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44803 Make code unconditional.
44804 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44805 * sysdeps/unix/sysv/linux/clock_nanosleep.c
44806 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44807 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44808 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44809 Make code unconditional.
44810 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44811 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44812 (__libc_missing_posix_timers): Remove.
44814 2012-08-15 Roland McGrath <roland@hack.frob.com>
44816 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44817 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44819 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44821 * elf/dl-sym.c: Include <stdlib.h>.
44823 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44824 constants, which avoids warnings in 32-bit builds.
44826 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44827 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44829 * misc/lseek.c: File moved to ...
44830 * io/lseek.c: ... here.
44832 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44834 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44835 shifting LEN more than 31 bits at once.
44837 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44840 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44841 segmentation fault for a case of two empty input strings.
44842 * string/test-strncasecmp.c (check1): Renamed to...
44843 (bz12205): ...this.
44844 (bz14195): Add new testcase for two empty input strings and N > 0.
44845 (test_main): Call new testcase, adapt for renamed function.
44847 2012-08-15 Andreas Jaeger <aj@suse.de>
44850 * crypt/md5test2.c: New test, based on test supplied by Serge
44851 Belyshev <belyshev@depni.sinp.msu.ru>.
44852 * crypt/Makefile (xtests): Add md5test-giant..
44853 * crypt/Makefile ($(objpfx)md5test-giant): Add.
44855 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
44858 * crypt/md5.c (md5_process_block): Don't assume the buffer
44859 length is less than 2**32.
44860 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44861 length is less than 2**64.
44863 2012-08-15 Roland McGrath <roland@hack.frob.com>
44865 * string/str-two-way.h: Include <sys/param.h>.
44866 (MAX): Macro removed.
44868 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44869 Move #define and #undef of memmove to just before and after
44870 including <string.h>.
44872 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44873 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44874 and after including <string.h>. Move declarations of
44875 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44876 to before #include "string/memmove.c".
44878 * include/dirent.h: Declare __getdirentries.
44880 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44881 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44883 2012-08-14 Mike Frysinger <vapier@gentoo.org>
44885 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44886 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44887 * sysdeps/i386/configure: Regenerated.
44888 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44889 STABS_CURRENT_FILE, and STABS_FUN.
44890 (END): Remove call to STABS_FUN_END.
44891 (STABS_CURRENT_FILE1): Delete.
44892 (STABS_CURRENT_FILE): Likewise.
44893 (STABS_FUN): Likewise.
44894 (STABS_FUN_END): Likewise.
44895 (STABS_FUN2): Likewise.
44896 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44897 * sysdeps/x86_64/configure: Regenerated.
44899 2012-08-14 Roland McGrath <roland@hack.frob.com>
44901 * elf/dl-open.c: Include <atomic.h>.
44902 * elf/dl-lookup.c: Likewise.
44904 2012-08-14 Joseph Myers <joseph@codesourcery.com>
44906 * sysdeps/unix/sysv/linux/kernel-features.h
44907 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44908 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44910 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44912 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44913 condition on __ASSUME_CLONE_THREAD_FLAGS.
44915 2012-08-14 Andreas Jaeger <aj@suse.de>
44917 * sysdeps/i386/fpu/libm-test-ulps: Update.
44919 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
44921 * include/atomic.h (atomic_exchange_and_add): Split into ...
44922 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44925 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
44927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44929 2012-08-13 Jeff Law <law@redhat.com>
44931 * manual/stdio.texi (snprintf): Clarify handling of the trailing
44932 null byte in the output string.
44934 2012-08-10 Joseph Myers <joseph@codesourcery.com>
44936 * sysdeps/unix/sysv/linux/kernel-features.h
44937 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44938 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44939 (__ASSUME_ARG_MAX_STACK_BASED): Define.
44940 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44941 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44942 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
44943 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44945 2012-08-09 Jeff Law <law@redhat.com>
44948 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44949 When avoid_arena is set, don't retry in the that arena. Pick the
44950 next one, whatever it might be.
44951 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44952 (arena_lock): Pass in new parameter to arena_get2.
44953 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44955 (__libc_malloc): Unify retrying after main arena failure with
44956 __libc_memalign version.
44957 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44959 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
44962 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44963 to __redirect_strstr.
44964 (__strstr_sse42): Use typeof __redirect_strstr.
44965 (__strstr_ia32): Likewise.
44966 (__libc_strstr): New prototype.
44967 (strstr): Renamed to ...
44968 (__libc_strstr): This.
44969 (strstr): New strong alias of __libc_strstr.
44970 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44971 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44974 (__libc_time): New prototype.
44975 (time_ifunc): Replace time with __libc_time.
44976 (time): New strong alias and hidden definition of __libc_time.
44977 (__GI_time): Remove strong alias.
44978 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44979 Include <stddef.h>.
44980 (memmove): Redefined to __redirect_memmove.
44981 (__memmove_sse2): Use typeof __redirect_memmove.
44982 (__memmove_ssse3): Likewise.
44983 (__memmove_ssse3_back): Likewise.
44984 (__libc_memmove): New prototype.
44985 (memmove): Renamed to ...
44986 (__libc_memmove): This.
44987 (memmove): New strong alias of __libc_memmove.
44989 2012-08-08 Mark Salter <msalter@redhat.com>
44992 (R_MN10300_TLS_GD): Define.
44993 (R_MN10300_TLS_LD): Likewise.
44994 (R_MN10300_TLS_LDO): Likewise.
44995 (R_MN10300_TLS_GOTIE): Likewise.
44996 (R_MN10300_TLS_IE): Likewise.
44997 (R_MN10300_TLS_LE): Likewise.
44998 (R_MN10300_TLS_DTPMOD): Likewise.
44999 (R_MN10300_TLS_DTPOFF): Likewise.
45000 (R_MN10300_TLS_TPOFF): Likewise.
45001 (R_MN10300_SYM_DIFF): Likewise.
45002 (R_MN10300_ALIGN): Likewise.
45003 (R_MN10300_NUM): Update.
45005 2012-08-08 Joseph Myers <joseph@codesourcery.com>
45007 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45010 2012-08-08 Roland McGrath <roland@hack.frob.com>
45012 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45014 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45015 sysdeps/unix -> sysdeps/posix move.
45016 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45018 2012-08-07 Allan McRae <allan@archlinux.org>
45021 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45022 (SUNOS_CPP): Likewise.
45023 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45025 (open_input): Call CPP using execvp.
45027 2012-08-07 Joseph Myers <joseph@codesourcery.com>
45029 * sysdeps/unix/sysv/linux/kernel-features.h
45030 (__ASSUME_PROT_GROWSUPDOWN): Remove.
45031 (__ASSUME_NO_CLONE_DETACHED): Likewise.
45032 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45033 (__ASSUME_WAITID_SYSCALL): Likewise.
45034 * sysdeps/unix/sysv/linux/dl-execstack.c
45035 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45036 code unconditional.
45037 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45039 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45040 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45041 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45043 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45045 [__ASSUME_WAITID_SYSCALL]: Likewise.
45046 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45048 2012-08-07 Roland McGrath <roland@hack.frob.com>
45050 * sysdeps/unix/closedir.c: Renamed to ...
45051 * sysdeps/posix/closedir.c: ... here.
45052 * sysdeps/unix/dirfd.c: Renamed to ...
45053 * sysdeps/posix/dirfd.c: ... here.
45054 * sysdeps/unix/dirstream.h: Renamed to ...
45055 * sysdeps/posix/dirstream.h: ... here.
45056 * sysdeps/unix/fdopendir.c: Renamed to ...
45057 * sysdeps/posix/fdopendir.c: ... here.
45058 * sysdeps/unix/opendir.c: Renamed to ...
45059 * sysdeps/posix/opendir.c: ... here.
45060 * sysdeps/unix/readdir.c: Renamed to ...
45061 * sysdeps/posix/readdir.c: ... here.
45062 * sysdeps/unix/readdir_r.c: Renamed to ...
45063 * sysdeps/posix/readdir_r.c: ... here.
45064 * sysdeps/unix/rewinddir.c: Renamed to ...
45065 * sysdeps/posix/rewinddir.c: ... here.
45066 * sysdeps/unix/seekdir.c: Renamed to ...
45067 * sysdeps/posix/seekdir.c: ... here.
45068 * sysdeps/unix/telldir.c: Renamed to ...
45069 * sysdeps/posix/telldir.c: ... here.
45070 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45071 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45072 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45073 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45075 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45076 * bits/fcntl.h: ... here.
45078 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45080 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45081 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45082 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45083 (struct flock): Move l_start, l_len to the beginning.
45084 Use __pid_t for l_pid.
45085 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45086 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45087 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45088 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45089 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45090 [__USE_LARGEFILE64] (struct flock64): New type.
45091 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45093 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45094 * bits/dirent.h: ... here.
45096 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45097 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45099 2012-08-07 Joseph Myers <joseph@codesourcery.com>
45101 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45102 Change from 2.6.0 to 2.6.16.
45103 * sysdeps/unix/sysv/linux/configure: Regenerated.
45104 * sysdeps/unix/sysv/linux/kernel-features.h
45105 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45106 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45108 (__ASSUME_UTIMES): Likewise.
45109 (__ASSUME_CLONE_STOPPED): Remove.
45110 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45111 architectures, not kernel version.
45112 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45113 (__ASSUME_NO_CLONE_DETACHED): Likewise.
45114 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45115 (__ASSUME_WAITID_SYSCALL): Likewise.
45116 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45117 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45118 * README: State 2.6.16 as minimum Linux kernel version. Do not
45119 refer to older versions.
45121 2012-08-06 Roland McGrath <roland@hack.frob.com>
45123 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45124 Define alphasort64 as an alias.
45125 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45126 Define versionsort64 as an alias.
45127 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45128 Define scandir64 as an alias.
45129 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45130 Define scandirat64 as an alias.
45131 * dirent/alphasort64.c (alphasort64):
45132 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45133 * dirent/versionsort64.c: Likewise.
45134 * dirent/scandir64.c: Likewise.
45135 * dirent/scandirat64.c: Likewise.
45136 * sysdeps/wordsize-64/alphasort.c: File removed.
45137 * sysdeps/wordsize-64/alphasort64.c: File removed.
45138 * sysdeps/wordsize-64/scandir.c: File removed.
45139 * sysdeps/wordsize-64/scandir64.c: File removed.
45140 * sysdeps/wordsize-64/scandirat.c: File removed.
45141 * sysdeps/wordsize-64/scandirat64.c: File removed.
45142 * sysdeps/wordsize-64/versionsort.c: File removed.
45143 * sysdeps/wordsize-64/versionsort64.c: File removed.
45144 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45145 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45146 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45147 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45148 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45149 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45150 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45151 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45153 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45154 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45155 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45156 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45157 [defined __arch64__ || defined __sparcv9]
45158 (__INO_T_MATCHES_INO64_T): New macro.
45159 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45160 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45161 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45162 * sysdeps/unix/sysv/linux/bits/dirent.h
45163 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45164 (_DIRENT_MATCHES_DIRENT64): New macro.
45166 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45167 Define lockf64 as an alias.
45168 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45169 Define fseeko64 as an alias.
45170 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45171 Define ftello64 as an alias.
45172 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45173 Define _IO_fgetpos64 and fgetpos64 as aliases.
45174 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45175 Define _IO_fsetpos64 and fsetpos64 as aliases.
45176 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45177 Conditionalize body on this.
45178 * libio/fseeko64.c: Likewise.
45179 * libio/ftello64.c: Likewise.
45180 * libio/iofgetpos64.c: Likewise.
45181 * libio/iofsetpos64.c: Likewise.
45182 * sysdeps/wordsize-64/lockf.c: File removed.
45183 * sysdeps/wordsize-64/lockf64.c: File removed.
45184 * sysdeps/wordsize-64/fseeko.c: File removed.
45185 * sysdeps/wordsize-64/fseeko64.c: File removed.
45186 * sysdeps/wordsize-64/ftello.c: File removed.
45187 * sysdeps/wordsize-64/ftello64.c: File removed.
45188 * sysdeps/wordsize-64/iofgetpos.c: File removed.
45189 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45190 * sysdeps/wordsize-64/iofsetpos.c: File removed.
45191 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45192 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45193 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45194 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45195 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45196 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45197 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45198 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45199 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45200 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45201 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45203 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45204 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45205 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45206 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45207 [defined __arch64__ || defined __sparcv9]
45208 (__OFF_T_MATCHES_OFF64_T): New macro.
45209 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45210 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45211 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45212 (__OFF_T_MATCHES_OFF64_T): New macro.
45214 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
45216 * stdlib/secure-getenv.c (__secure_getenv): Replace
45217 GLIBC_2_16 with GLIBC_2_17.
45219 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
45221 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45222 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45224 2012-08-03 David S. Miller <davem@davemloft.net>
45226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45228 2012-08-03 Joseph Myers <joseph@codesourcery.com>
45230 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45232 (__ASSUME_CORRECT_SI_PID): Likewise.
45233 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45234 (__ASSUME_TMPFS_NAME): Likewise.
45235 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45236 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45237 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45238 (HAVE_AUX_SECURE): Make definition unconditional.
45239 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45240 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45242 2012-08-03 Roland McGrath <roland@hack.frob.com>
45244 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45245 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45246 * sysdeps/mach/hurd/eloop-threshold.h: New file.
45247 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45248 __eloop_threshold instead of SYMLOOP_MAX.
45250 * sysdeps/generic/eloop-threshold.h: New file.
45251 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45253 * elf/chroot_canon.c (chroot_canon): Likewise.
45255 2012-08-03 Joseph Myers <joseph@codesourcery.com>
45258 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45259 Change to 2.6.0 everywhere.
45260 * sysdeps/unix/sysv/linux/configure: Regenerated.
45261 * sysdeps/unix/sysv/linux/kernel-features.h
45262 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45263 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45265 (__ASSUME_POSIX_TIMERS): Define unconditionally.
45266 (__ASSUME_FUTEX_REQUEUE): Remove.
45267 (__ASSUME_STATFS64): Define unconditionally.
45268 (__ASSUME_AT_SECURE): Likewise.
45269 (__ASSUME_CORRECT_SI_PID): Likewise.
45270 (__ASSUME_TGKILL): Define without depending on kernel version for
45272 (__ASSUME_UTIMES): Likewise.
45273 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45275 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45276 (__ASSUME_TMPFS_NAME): Likewise.
45277 * README: Update reference to Linux kernel versions.
45279 2012-08-02 Marek Polacek <polacek@redhat.com>
45282 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
45283 libc_cv_asm_type_prefix with %.
45284 * configure: Regenerated.
45285 * include/libc-symbols.h: Remove comment about
45286 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45287 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45288 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45289 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45290 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45291 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45292 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45293 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45294 * elf/tst-unique2mod1.c: Likewise.
45295 * elf/tst-unique1mod2.c: Likewise.
45296 * elf/tst-unique1mod1.c: Likewise.
45297 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45298 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45299 Replace ASM_TYPE_DIRECTIVE with .type.
45300 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45301 * sysdeps/i386/sysdep.h: Likewise.
45302 * sysdeps/x86_64/sysdep.h: Likewise.
45303 * sysdeps/sh/sysdep.h: Likewise.
45304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45305 Do not define ASM_TYPE_DIRECTIVE.
45306 * sysdeps/powerpc/sysdep.h: Likewise.
45307 * sysdeps/powerpc/powerpc32/sysdep.h:
45308 Replace ASM_TYPE_DIRECTIVE with .type.
45309 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45310 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45311 * sysdeps/i386/fpu/e_powf.S: Likewise.
45312 * sysdeps/i386/fpu/e_expl.S: Likewise.
45313 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45314 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45315 * sysdeps/i386/fpu/e_pow.S: Likewise.
45316 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45317 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45318 * sysdeps/i386/fpu/s_expm1.S: Likewise.
45319 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45320 * sysdeps/i386/fpu/e_log2.S: Likewise.
45321 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45322 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45323 * sysdeps/i386/fpu/e_powl.S: Likewise.
45324 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45325 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45326 * sysdeps/i386/fpu/e_logl.S: Likewise.
45327 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45328 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45329 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45330 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45331 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45332 * sysdeps/i386/fpu/e_log.S: Likewise.
45333 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45334 * sysdeps/i386/fpu/e_logf.S: Likewise.
45335 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45336 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45337 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45338 * sysdeps/i386/fpu/e_log10.S: Likewise.
45339 * sysdeps/i386/fpu/s_frexp.S: Likewise.
45340 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45341 * sysdeps/i386/fpu/s_asinh.S: Likewise.
45342 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45343 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45344 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45345 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45346 * sysdeps/i386/i686/strtok.S: Likewise.
45347 * sysdeps/i386/i386-mcount.S: Likewise.
45348 * sysdeps/i386/strtok.S: Likewise.
45349 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45350 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45351 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45352 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45353 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45354 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45355 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45356 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45357 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45358 * sysdeps/x86_64/_mcount.S: Likewise.
45359 * sysdeps/x86_64/strtok.S: Likewise.
45360 * sysdeps/sh/_mcount.S: Likewise.
45362 2012-08-01 Roland McGrath <roland@hack.frob.com>
45364 * libio/iofopen.c: Include <fcntl.h>.
45365 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45366 (_IO_fopen64, fopen64): Define as aliases.
45367 * libio/iofopen64.c: Include <fcntl.h>.
45368 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45369 Conditionalize body on this.
45370 * sysdeps/wordsize-64/iofopen.c: File removed.
45371 * sysdeps/wordsize-64/iofopen64.c: File removed.
45373 2012-08-01 Marek Polacek <polacek@redhat.com>
45375 * libc/Makeconfig: Use elf in place of binfmt-subdir.
45376 Use dlfcn directly instead of a variable.
45377 (binfmt-subdir): Do not define.
45380 2012-08-01 Joseph Myers <joseph@codesourcery.com>
45382 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
45383 Remove all definitions.
45384 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
45385 <kernel-features.h>.
45386 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45387 (miss_F_GETOWN_EX): Remove all definitions.
45388 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
45390 [!__ASSUME_FCNTL64]: Remove conditional code.
45391 [__ASSUME_FCNTL64]: Make code unconditional.
45392 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
45393 <kernel-features.h>.
45394 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45395 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
45396 (lockf64) [__NR_fcntl64]: Make code unconditional.
45397 (lockf64) [__ASSUME_FCNTL64]: Likewise.
45399 * sysdeps/unix/sysv/linux/kernel-features.h
45400 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
45401 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
45402 Make code unconditional.
45403 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45404 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45406 [__NR_vfork]: Make code unconditional.
45407 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45408 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
45410 [__NR_vfork]: Make code unconditional.
45411 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45412 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45414 2012-08-01 Roland McGrath <roland@hack.frob.com>
45416 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
45417 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
45419 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45420 Define mkstemp64 as an alias.
45421 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45422 Define mkstemps64 as an alias.
45423 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45424 Define mkostemp64 as an alias.
45425 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45426 Define mkostemps64 as an alias.
45427 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
45428 Conditionalize body on this.
45429 * misc/mkostemp64.c: Likewise.
45430 * misc/mkostemps64.c: Likewise.
45431 * misc/mkstemps64.c: Likewise.
45432 * sysdeps/wordsize-64/mkstemp64.c: File removed.
45433 * sysdeps/wordsize-64/mkostemp64.c: File removed.
45434 * sysdeps/wordsize-64/mkostemp.c: File removed.
45435 * sysdeps/wordsize-64/mkstemp.c: File removed.
45436 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
45437 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
45438 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
45439 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
45442 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
45443 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
45444 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45445 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45447 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45448 compat_symbol macros from <shlib-compat.h> rather than the underlying
45449 default_symbol_version and symbol_version macros, so that DEFAULT
45450 lines in shlib-versions are respected.
45451 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45453 2012-08-01 Florian Weimer <fweimer@redhat.com>
45455 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45456 Declare with warn_unused_result.
45457 (setgid, setregid, setegid, setresgid): Likewise.
45458 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45460 * WUR-REPORT: Remove set*id functions.
45462 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
45464 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45466 2012-07-31 Roland McGrath <roland@hack.frob.com>
45469 * include/sys/socket.h (__libc_accept, __libc_accept4):
45470 Add attribute_hidden.
45471 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45473 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45475 * inet/getnetgrent_r.c (setup): Likewise.
45477 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45479 2012-07-31 David S. Miller <davem@davemloft.net>
45481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45483 2012-07-31 Joseph Myers <joseph@codesourcery.com>
45486 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45487 value between 1.0 and 2.0 and smaller part has absolute value less
45489 * math/s_clog10.c (__clog10): Likewise.
45490 * math/s_clog10f.c (__clog10f): Likewise.
45491 * math/s_clog10l.c (__clog10l): Likewise.
45492 * math/s_clogf.c (__clogf): Likewise.
45493 * math/s_clogl.c (__clogl): Likewise.
45494 * math/libm-test.inc (clog_test): Add more tests.
45495 (clog10_test): Likewise.
45496 * sysdeps/i386/fpu/libm-test-ulps: Update.
45497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45499 2012-07-31 Florian Weimer <fweimer@redhat.com>
45501 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45502 Exit with zero in case no suitable GID is found, and write a
45503 message to standard error.
45505 2012-07-30 Roland McGrath <roland@hack.frob.com>
45507 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45509 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45510 (MAXPATHLEN): Removed.
45511 (NOGROUP, NODEV): New macros.
45512 (setbit, clrbit, isset, isclr): New macros.
45513 (howmany, roundup, powerof2): New macros.
45514 (DEV_BSIZE): New macro.
45516 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45517 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45519 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45520 definition on [!__NO_LONG_DOUBLE_MATH].
45522 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45523 PTR_MANGLE and PTR_DEMANGLE.
45525 * socket/accept4.c (accept4): Rename to __libc_accept4.
45526 Define accept4 as a weak alias.
45528 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45529 on [_DIRENT_HAVE_D_TYPE].
45530 * io/ftw.c (ftw_dir): Likewise.
45532 * io/xmknod.c (__xmknod): Don't check PATH for being null.
45534 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45536 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45537 Use the BSD numbers rather than the arbitrary ones we had.
45538 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45539 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45540 (SIGXCPU, SIGXFSZ): New macros.
45543 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45544 initializer on [_LIBC_REENTRANT].
45546 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45547 definitions inside [_POSIX_MAPPED_FILES].
45549 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45551 * dirent/opendir.c: Include <fcntl.h>.
45553 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45554 (__libc_getspecific): Likewise.
45555 (__libc_key_create): Likewise.
45557 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45558 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45559 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45560 (tmpfile64): Define as alias.
45561 * sysdeps/wordsize-64/tmpfile.c: File removed.
45562 * sysdeps/wordsize-64/tmpfile64.c: File removed.
45563 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45564 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45566 * stdio-common/vfscanf.c: Include <stdbool.h>.
45567 * nss/makedb.c: Likewise.
45568 * stdio-common/_i18n_number.h: Likewise.
45569 * argp/argp-help.c: Likewise.
45570 * posix/wordexp.c: Likewise.
45571 * sysdeps/posix/spawni.c: Likewise.
45572 * nss/nss_files/files-initgroups.c: Likewise.
45573 * stdio-common/reg-modifier.c: Include <stdlib.h>.
45574 * nss/nss_files/files-initgroups.c: Likewise.
45575 * nss/nss_db/db-netgrp.c: Likewise.
45576 * nss/nss_db/db-initgroups.c: Likewise.
45577 * io/fchmodat.c: Include <sys/stat.h>.
45579 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45580 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45582 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45585 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45586 Add multiple inclusion protection.
45588 2012-07-27 David S. Miller <davem@davemloft.net>
45590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45592 2012-07-27 Gary Benson <gbenson@redhat.com>
45595 * elf/rtld.c: Include <stap-probe.h>.
45596 (dl_main): Added static probes "init_start" and "init_complete".
45597 * elf/dl-load.c: Include <stap-probe.h>.
45598 (lose): Take new parameter "nsid".
45599 Added static probe "map_failed".
45600 (_dl_map_object_from_fd): Pass namespace id to lose.
45601 Added static probe "map_start".
45602 (open_verify): Pass namespace id to lose.
45603 * elf/dl-open.c: Include <stap-probe.h>.
45604 (dl_open_worker) Added static probes "map_complete", "reloc_start"
45605 and "reloc_complete".
45606 * elf/dl-close.c: Include <stap-probe.h>.
45607 (_dl_close_worker): Added static probes "unmap_start" and
45609 * elf/rtld-debugger-interface.txt: New file documenting the above.
45611 2012-07-26 Roland McGrath <roland@hack.frob.com>
45613 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45614 rather than a string variable.
45615 * sunrpc/rpc_main.c (h_output): Likewise.
45616 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45618 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
45620 * inet/check_native.c: New file.
45622 2012-07-26 Joseph Myers <joseph@codesourcery.com>
45625 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45626 if larger part has absolute value 1.0.
45627 * math/s_clog10.c (__clog10): Likewise.
45628 * math/s_clog10f.c (__clog10f): Likewise.
45629 * math/s_clog10l.c (__clog10l): Likewise.
45630 * math/s_clogf.c (__clogf): Likewise.
45631 * math/s_clogl.c (__clogl): Likewise.
45632 * math/libm-test.inc (clog_test): Add more tests.
45633 (clog10_test): Likewise.
45634 * sysdeps/i386/fpu/libm-test-ulps: Update.
45635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45637 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45638 (pltexit): Likewise.
45639 (La_regs): Likewise.
45640 (La_retval): Likewise.
45641 (int_retval): Likewise.
45642 Update #error for removed macros to refer only to definitions in
45644 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45646 (pltexit): Likewise.
45647 (La_regs): Likewise.
45648 (La_retval): Likewise.
45649 (int_retval): Likewise.
45650 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45652 (pltexit): Likewise.
45653 (La_regs): Likewise.
45654 (La_retval): Likewise.
45655 (int_retval): Likewise.
45656 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45658 (pltexit): Likewise.
45659 (La_regs): Likewise.
45660 (La_retval): Likewise.
45661 (int_retval): Likewise.
45662 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45664 (pltexit): Likewise.
45665 (La_regs): Likewise.
45666 (La_retval): Likewise.
45667 (int_retval): Likewise.
45668 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45670 (pltexit): Likewise.
45671 (La_regs): Likewise.
45672 (La_retval): Likewise.
45673 (int_retval): Likewise.
45674 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45676 (pltexit): Likewise.
45677 (La_regs): Likewise.
45678 (La_retval): Likewise.
45679 (int_retval): Likewise.
45680 * sysdeps/generic/tst-audit.h: Update comment to refer only to
45681 macro definitions in tst-audit.h.
45682 * sysdeps/i386/tst-audit.h: New file.
45683 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45684 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45685 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45686 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45687 * sysdeps/sh/tst-audit.h: Likewise.
45688 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45689 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45690 * sysdeps/x86_64/tst-audit.h: Likewise.
45692 2012-07-26 Andreas Jaeger <aj@suse.de>
45694 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45697 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45698 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45699 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45701 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45702 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45703 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45705 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45708 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45710 (si_call_addr, si_syscall, si_arch): Define new macro.
45711 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45713 (si_call_addr, si_syscall, si_arch): Define new marcro.
45714 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45716 (si_call_addr, si_syscall, si_arch): Define new macro.
45717 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45719 (si_call_addr, si_syscall, si_arch): Define new macro.
45721 2012-07-25 Joseph Myers <joseph@codesourcery.com>
45724 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45725 Change to 2.4.21 where previously 2.4.1.
45726 * sysdeps/unix/sysv/linux/configure: Regenerated.
45727 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45728 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45729 Linux kernel version.
45730 (__ASSUME_STD_AUXV): Remove.
45731 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45733 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45734 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45735 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45736 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45737 (__ASSUME_NETLINK_SUPPORT): Likewise.
45738 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45739 (__no_netlink_support): Remove conditional definition.
45740 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45742 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45743 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45744 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45745 (if_nameindex_ioctl): Remove.
45746 (if_nameindex_netlink): Do not handle __no_netlink_support.
45747 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45749 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45750 Remove conditional code.
45751 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45753 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45755 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45756 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45757 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45759 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45760 [!__ASSUME_STD_AUXV]: Remove conditional code.
45761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45762 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45763 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45765 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45766 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45768 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45770 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45771 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45773 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45775 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45778 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45781 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45782 code unconditional.
45783 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45785 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45787 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45790 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45792 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45795 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45796 code unconditional.
45797 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45799 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45801 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45804 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45805 code unconditional.
45806 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45808 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45810 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45813 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
45815 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45816 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45817 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45818 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45819 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45820 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45821 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45822 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45823 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45824 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45825 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45826 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45827 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45828 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45829 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45830 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45831 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45832 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45833 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45835 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45836 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45837 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45839 2012-07-25 Florian Weimer <fweimer@redhat.com>
45841 * Versions.def: Add GLIBC_2.17.
45842 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45843 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45844 Introduce __libc_secure_getenv.
45845 * stdlib/Versions (2.17): Add secure_getenv
45846 (GLIBC_PRIVATE): Add __libc_secure_getenv.
45847 * stdlib/secure-getenv.c: Rename __secure_getenv to
45848 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
45849 symbol __secure_getenv for GLIBC_2.0.
45850 * stdlib/tst-secure-getenv.c: New.
45851 * stdlib/Makefile (tests): Add testcase.
45852 * manual/startup.texi (Environment Access): Document
45854 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45855 __libc_secure_getenv.
45856 * inet/ruserpass.c (ruserpass): Likewise.
45857 * malloc/mtrace.c (mtrace): Likewise.
45858 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45859 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45860 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45861 * sysdeps/posix/tempname.c: Likewise. Evaluate
45862 HAVE_SECURE_GETENV.
45863 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45864 __secure_getenv to __libc_secure_getenv.
45865 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45872 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45878 2012-07-25 Joseph Myers <joseph@codesourcery.com>
45880 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45881 (struct La_i86_retval): Likewise.
45882 (struct La_x86_64_regs): Likewise.
45883 (struct La_x86_64_retval): Likewise.
45884 (struct La_x32_regs): Likewise.
45885 (struct La_x32_retval): Likewise.
45886 (struct La_ppc32_regs): Likewise.
45887 (struct La_ppc32_retval): Likewise.
45888 (struct La_ppc64_regs): Likewise.
45889 (struct La_ppc64_retval): Likewise.
45890 (struct La_sh_regs): Likewise.
45891 (struct La_sh_retval): Likewise.
45892 (struct La_s390_32_regs): Likewise.
45893 (struct La_s390_32_retval): Likewise.
45894 (struct La_s390_64_regs): Likewise.
45895 (struct La_s390_64_retval): Likewise.
45896 (struct La_sparc32_regs): Likewise.
45897 (struct La_sparc32_retval): Likewise.
45898 (struct La_sparc64_regs): Likewise.
45899 (struct La_sparc64_retval): Likewise.
45900 (struct audit_ifaces): Remove architecture-specific pltenter and
45902 * sysdeps/i386/ldsodefs.h: New file.
45903 * sysdeps/powerpc/ldsodefs.h: Likewise.
45904 * sysdeps/s390/ldsodefs.h: Likewise.
45905 * sysdeps/sh/ldsodefs.h: Likewise.
45906 * sysdeps/sparc/ldsodefs.h: Likewise.
45907 * sysdeps/x86_64/ldsodefs.h: Likewise.
45909 2012-07-25 Marek Polacek <polacek@redhat.com>
45912 * math/libm-test.inc (yn_test): Add another test.
45913 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45914 to ERANGE when the result is +-Inf.
45915 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45916 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45917 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45918 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45920 2012-07-24 Joseph Myers <joseph@codesourcery.com>
45922 * conform/data/time.h-data (NULL): Use macro-constant. Require
45924 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
45926 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
45928 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
45930 * configure.in <sysdeps resolving>: Correct printing
45932 * configure: Regenerate.
45934 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
45936 * math/w_ilogb.c: Include <limits.h>.
45937 * math/w_ilogbl.c: Likewise.
45939 2012-07-20 Joseph Myers <joseph@codesourcery.com>
45941 * manual/lang.texi (__va_copy): Document primarily as ISO C99
45942 va_copy. Document allowing for unavailable va_copy only as
45943 pre-C99 compatibility.
45944 * manual/string.texi (Copying and Concatenation): Use va_copy
45945 instead of __va_copy in concat example.
45947 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
45949 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45950 (__sendto): Use create_address_port. Initialize APORT and deallocate
45953 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45954 with O_NOLINK passed to __file_name_lookup.
45956 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45957 with O_NOLINK passed to __file_name_lookup.
45959 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45960 negative N or less than NGIDS.
45962 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45963 type to string_t. Set ERANGE as errno and return it if NAME is not big
45964 enough. Use memcpy instead of strncpy.
45966 2012-07-20 Joseph Myers <joseph@codesourcery.com>
45968 * elf/Makefile (check-data): Remove.
45969 (localplt.data): New vpath directive.
45970 ($(objpfx)check-localplt.out): Use localplt.data from vpath
45971 instead of $(check-data).
45972 * scripts/data/localplt-generic.data: Move to ...
45973 * sysdeps/generic/localplt.data: ... here.
45974 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45975 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45976 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45979 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45982 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45985 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45988 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45991 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45995 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45997 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45998 PPC32 and PPC64 files.
45999 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46000 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46002 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46004 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46005 __makecontext_ret to ...
46006 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46007 ... here and call exit if uc_link is NULL. New file.
46008 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46009 __makecontext_ret.S.
46010 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46011 __makecontext_ret to ...
46012 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46013 ... here and call exit if uc_link is NULL. New file.
46014 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46015 __makecontext_ret.S.
46017 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46019 * elf/elf.h (R_390_IRELATIVE): New definition.
46020 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46021 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
46022 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46023 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46024 (elf_machine_lazy_rel): Likewise.
46025 * sysdeps/s390/dl-irel.h: New file.
46026 * sysdeps/s390/s390-64/memcpy.S: New asm code.
46027 * sysdeps/s390/s390-64/memset.S: New asm code.
46028 * sysdeps/s390/s390-64/memcmp.S: New asm code.
46029 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46030 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46031 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46032 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46033 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46034 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46035 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46036 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46037 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46038 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46039 * sysdeps/s390/s390-32/memcpy.S: New asm code.
46040 * sysdeps/s390/s390-32/memset.S: New asm code.
46041 * sysdeps/s390/s390-32/memcmp.S: New asm code.
46043 2012-07-17 Marek Polacek <polacek@redhat.com>
46046 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46047 * sysdeps/s390/s390-64/configure.in: Likewise.
46048 * sysdeps/sparc/configure.in: Likewise.
46049 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46050 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46051 * sysdeps/i386/configure.in: Likewise.
46052 * sysdeps/x86_64/configure.in: Likewise.
46053 * sysdeps/sh/configure.in: Likewise.
46054 * sysdeps/s390/s390-32/configure: Regenerated.
46055 * sysdeps/s390/s390-64/configure: Likewise.
46056 * sysdeps/x86_64/configure: Likewise.
46057 * sysdeps/sh/configure: Likewise.
46058 * sysdeps/powerpc/powerpc64/configure: Likewise.
46059 * sysdeps/powerpc/powerpc32/configure: Likewise.
46060 * sysdeps/sparc/configure: Likwise.
46061 * sysdeps/i386/configure: Likewise.
46063 * elf/dl-open.c: Comment fixes.
46065 2012-07-17 Joseph Myers <joseph@codesourcery.com>
46067 * Makefile [CXX] (check-data): Remove.
46068 [CXX] (c++-types.data): New vpath directive.
46069 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46070 vpath. Do not allow for C++ type data being missing.
46071 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46072 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46073 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46074 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46075 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46076 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46077 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46080 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46083 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46086 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46089 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46092 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46095 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46098 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46101 * elf/tls-macros.h (TLS_LE): Move architecture-specific
46102 definitions to architecture-specific files.
46103 (TLS_IE): Likewise.
46104 (TLS_LD): Likewise.
46105 (TLS_GD): Likewise.
46106 * sysdeps/i386/tls-macros.h: New file.
46107 * sysdeps/powerpc/tls-macros.h: Likewise.
46108 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46109 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46110 * sysdeps/sh/tls-macros.h: Likewise.
46111 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46112 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46113 * sysdeps/x86_64/tls-macros.h: Likewise.
46115 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
46117 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46118 zero value for regular exit case.
46120 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46121 (__start_context): Preserve zero value for regular exit case.
46123 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
46124 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46126 * manual/setjmp.texi (setcontext): Clarify normal process
46127 termination when uc_link is the null pointer.
46128 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46131 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
46133 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46134 preprocessor. Test for each exception mask separately.
46136 2012-07-16 Andreas Jaeger <aj@suse.de>
46138 * po/ru.po: Update from translation team.
46140 2012-07-15 Joseph Myers <joseph@codesourcery.com>
46142 * conform/data/string.h-data (NULL): Use macro-constant. Require
46144 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46145 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46146 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46147 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46150 2012-07-13 Andreas Jaeger <aj@suse.de>
46152 * po/fr.po: Update from translation team.
46154 2012-07-12 Marek Polacek <polacek@redhat.com>
46157 * math/libm-test.inc (yn_test): Add test for BZ #14173.
46158 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46161 2012-07-12 Joseph Myers <joseph@codesourcery.com>
46164 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46165 Change to 2.4.1 where previously 2.4.0.
46166 * sysdeps/unix/sysv/linux/configure: Regenerated.
46167 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46168 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46170 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46171 (__ASSUME_AT_CLKTCK): Remove.
46172 (__ASSUME_AT_PAGESIZE): Likewise.
46173 (__ASSUME_AT_XID): Likewise.
46174 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46175 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46176 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46178 (HAVE_AUX_PAGESIZE): Likewise.
46179 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46180 [__ASSUME_AT_CLKTCK]: Make code unconditional.
46181 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46183 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
46186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46187 the temporary buffer used to invoke __gethostbyname2_r,
46188 __gethostbyaddr_r and gethostbyname4_r to make room for struct
46189 host_data / struct gaih_addrtuple.
46190 * resolv/nss_dns/dns-host.c (global scope): Move definition of
46191 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46192 header file nss/nsswitch.h.
46193 * nss/nsswitch.h (global scope): Add definition of implementation
46194 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46195 resolv/nss_dns/dns-host.c).
46197 2012-07-11 Andreas Jaeger <aj@suse.de>
46199 * po/fr.po: Update from translation team.
46201 * po/sv.po: Update from translation team
46202 * po/fr.po: Another update from translation team.
46204 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46206 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46207 for subnormals or multiply small sinh result by itself.
46208 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46211 2012-07-11 David S. Miller <davem@davemloft.net>
46213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46215 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
46218 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46219 (INTERNAL_MARK): Shift it here.
46221 2012-07-10 Marek Polacek <polacek@redhat.com>
46224 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
46225 libc_cv_asm_global_directive with .globl.
46226 * configure: Regenerated.
46227 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46229 * sysdeps/i386/configure: Regenerated.
46230 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46232 * sysdeps/x86_64/configure: Regenerated.
46233 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46234 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46235 * elf/tst-unique2mod2.c: Likewise.
46236 * elf/tst-unique2mod1.c: Likewise.
46237 * elf/tst-unique1mod2.c: Likewise.
46238 * elf/tst-unique1mod1.c: Likewise.
46239 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46240 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46241 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46242 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46243 * sysdeps/mach/sysdep.h: Likewise.
46244 * sysdeps/i386/sysdep.h: Likewise.
46245 * sysdeps/i386/i386-mcount.S: Likewise.
46246 * sysdeps/x86_64/_mcount.S: Likewise.
46247 * sysdeps/x86_64/sysdep.h: Likewise.
46248 * sysdeps/sh/_mcount.S: Likewise.
46249 * sysdeps/sh/sysdep.h: Likewise.
46250 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46251 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46252 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46253 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46254 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46255 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46256 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46257 * locale/localeinfo.h: Likewise.
46258 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46259 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46261 2012-07-09 Roland McGrath <roland@hack.frob.com>
46264 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46266 * manual/message.texi (The Uniforum approach): Likewise.
46267 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46268 (glibc iconv Implementation): Likewise.
46270 2012-07-09 Joseph Myers <joseph@codesourcery.com>
46273 * math/s_clog.c (__clog): Avoid scaling a value down where that
46274 could result in underflow.
46275 * math/s_clog10.c (__clog10): Likewise.
46276 * math/s_clog10f.c (__clog10f): Likewise.
46277 * math/s_clog10l.c (__clog10l): Likewise.
46278 * math/s_clogf.c (__clogf): Likewise.
46279 * math/s_clogl.c (__clogl): Likewise.
46280 * math/libm-test.inc (clog_test): Add more tests.
46281 (clog10_test): Likewise.
46282 * sysdeps/i386/fpu/libm-test-ulps: Update.
46283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46285 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
46288 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46289 by 7 not 8 to examine high bit of fractional part.
46292 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46293 for call to __mcount_internal.
46294 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46295 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46296 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46298 2012-07-06 Joseph Myers <joseph@codesourcery.com>
46301 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46302 approximation for values within 0x1p-13f of an odd multiple of
46304 * math/libm-test.inc (tan_test): Do not allow spurious underflow
46305 exception. Add more tests.
46306 * sysdeps/i386/fpu/libm-test-ulps: Update.
46309 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46310 inputs and return -1 for them. Do not check for +Inf in case not
46311 reachable for +Inf.
46312 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46313 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46314 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46315 and return -1 for them. Do not check for +Inf in case not
46316 reachable for +Inf.
46317 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46319 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46320 and return -1 for them. Do not check for +Inf in case not
46321 reachable for +Inf.
46322 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
46323 spurious underflow.
46324 * sysdeps/i386/fpu/libm-test-ulps: Update.
46325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46327 2012-07-06 Mike Frysinger <vapier@gentoo.org>
46329 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46331 2012-07-05 Joseph Myers <joseph@codesourcery.com>
46335 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
46336 could result in spurious underflow. Scale down values above
46337 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46338 * math/s_csqrtf.c (__csqrtf): Likewise.
46339 * math/s_csqrtl.c (__csqrtl): Likewise.
46340 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
46341 spurious underflow.
46342 * sysdeps/i386/fpu/libm-test-ulps: Update.
46343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46345 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
46347 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46349 * catgets/xopen-msg.awk: New file.
46350 * catgets/xopen-msg.sed: Removed.
46352 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46354 * intl/po2test.awk: New file.
46355 * intl/po2test.sed: Removed.
46357 2012-07-04 Joseph Myers <joseph@codesourcery.com>
46360 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46361 or multiply small sinh result by itself.
46362 * math/s_ctanf.c (__ctanf): Likewise.
46363 * math/s_ctanh.c (__ctanh): Likewise.
46364 * math/s_ctanhf.c (__ctanhf): Likewise.
46365 * math/s_ctanhl.c (__ctanhl): Likewise.
46366 * math/s_ctanl.c (__ctanl): Likewise.
46367 * math/libm-test.inc (ctan_test_tonearest): New function.
46368 (ctan_test_towardzero): Likewise.
46369 (ctan_test_downward): Likewise.
46370 (ctan_test_upward): Likewise.
46371 (ctanh_test_tonearest): Likewise.
46372 (ctanh_test_towardzero): Likewise.
46373 (ctanh_test_downward): Likewise.
46374 (ctanh_test_upward): Likewise.
46375 (main): Call these new functions.
46376 * sysdeps/i386/fpu/libm-test-ulps: Update.
46377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46379 2012-07-03 Mike Frysinger <vapier@gentoo.org>
46381 * .gitignore: Delete /ports entry.
46383 2012-07-03 Andreas Jaeger <aj@suse.de>
46385 * po/bg.po: Update from translation team.
46386 * po/cs.po: Likewise.
46387 * po/de.po: Likewise.
46388 * po/hr.po: Likewise.
46389 * po/nl.pl: Likewise.
46390 * po/pl.po: Likewise.
46391 * po/vi.po: Likewise.
46393 2012-07-03 Joseph Myers <joseph@codesourcery.com>
46395 * Makeconfig [!+link] (+link-before-libc): New variable.
46396 [!+link] (+link-after-libc): Likewise.
46397 [!+link] (+link-tests): Likewise.
46398 [!+link] (+link): Define in terms of $(+link-before-libc) and
46399 $(+link-after-libc).
46400 [!+link-static] (+link-static-before-libc): New variable.
46401 [!+link-static] (+link-static-after-libc): Likewise.
46402 [!+link-static] (+link-static-tests): Likewise.
46403 [!+link-static] (+link-static): Define in terms of
46404 $(+link-static-before-libc) and $(+link-static-after-libc).
46405 [build-shared] (link-libc-before-gnulib): New variable.
46406 [build-shared] (link-libc-tests): Likewise.
46407 [build-shared] (link-libc): Define in terms of
46408 $(link-libc-before-gnulib).
46409 [!build-shared] (link-libc-tests): New variable.
46410 (link-libc-static-tests): New variable.
46411 [!gnulib] (gnulib-arch): New variable.
46412 [!gnulib] (gnulib-tests): Likewise.
46413 [!gnulib] (static-gnulib-arch): Likewise.
46414 [!gnulib] (static-gnulib-tests): Likewise.
46415 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
46416 Define with "=" instead of ":=".
46417 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
46418 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
46419 * Rules (binaries-all-notests): New variable.
46420 (binaries-all-tests): Likewise.
46421 (binaries-static-notests): Likewise.
46422 (binaries-static-tests): Likewise.
46423 (binaries-all): Define using $(binaries-all-notests) and
46424 $(binaries-all-tests).
46425 (binaries-static): Define using $(binaries-static-notests) and
46426 $(binaries-static-tests).
46427 (binaries-shared-tests): New variable.
46428 (binaries-shared-notests): Likewise.
46429 (binaries-shared): Remove variable.
46430 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
46431 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
46432 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
46433 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
46434 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
46435 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
46436 * elf/Makefile (sln-modules): New variable.
46437 (extra-objs): Add $(sln-modules:=.o).
46438 (ldconfig-modules): Add static-stubs.
46439 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
46440 * elf/static-stubs.c: New file.
46443 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
46444 by 7 not 8 to examine high bit of fractional part. Use volatile
46445 variables when splitting into final array of floats if
46446 __FLT_EVAL_METHOD__ != 0.
46447 * math/libm-test.inc (cos_test): Add another test.
46448 (sin_test): Likewise.
46449 * sysdeps/i386/fpu/libm-test-ulps: Update.
46452 * math/libm-test.inc (cosh_test): Add more tests.
46454 * version.h (RELEASE): Set to "development".
46455 (VERSION): Set to "2.16.90".
46457 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
46459 * NEWS: Update copyright. Remove last-updated date.
46460 Mention math library bug fixes and timezone data changes.
46461 * README: Mention GNU/Hurd, x32, and HPPA support status.
46463 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
46465 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46467 2012-06-27 Andreas Jaeger <aj@suse.de>
46469 * manual/contrib.texi (Contributors): Add Samuel Thibault.
46471 2012-06-25 Andreas Jaeger <aj@suse.de>
46473 * sysdeps/s390/fpu/libm-test-ulps: Update.
46475 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
46476 Thomas Schwinge <thomas@codesourcery.com>
46478 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46479 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46480 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46483 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
46485 * sysdeps/mach/start.c: Remove file.
46486 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46487 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46488 * sysdeps/sh/init-first.c: Likewise.
46490 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46491 registers for frame unwinding purposes, add CFI directives.
46492 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46493 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46494 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46497 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46498 __fortify_fail returning.
46499 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46501 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46502 sysdeps/sh/____longjmp_chk.S.
46503 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46504 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46505 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46506 (gen-as-const-headers): Append sigaltstack-offsets.sym.
46508 * sysdeps/sh/abort-instr.h: New file.
46509 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46510 process in case exit returns.
46512 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46513 initialize the GOT register before use.
46515 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46516 calculation of ARGC > 4.
46518 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46519 meaningful names to some local labels.
46521 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46522 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46524 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46525 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46526 (__arch_compare_and_exchange_val_16_acq): Likewise.
46527 (__arch_compare_and_exchange_val_32_acq): Likewise.
46528 (atomic_exchange_and_add): Fix gUSA sequence.
46529 (atomic_add): Likewise.
46530 (atomic_add_negative): Likewise.
46531 (atomic_add_zero): Likewise.
46532 (atomic_bit_test_set): Likewise.
46534 2012-06-22 Andreas Schwab <schwab@redhat.com>
46537 * include/link.h (struct link_map): Add l_free_initfini.
46538 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46540 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46541 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46542 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46545 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
46547 * configure.in: Use AC_LANG_SOURCE.
46548 * configure: Regenerate.
46550 2012-06-22 Roland McGrath <roland@hack.frob.com>
46552 * configure.in (libc_cv_localstatedir): New substituted variable.
46553 * configure: Regenerated.
46554 * config.make.in (localstatedir): New variable, substituted from
46555 libc_cv_localstatedir.
46556 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46557 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46558 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46559 * sysdeps/gnu/configure: Regenerated.
46561 2012-06-21 Jeff Law <law@redhat.com>
46564 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46565 free. Simplify list management for _LIBC case.
46567 2012-06-21 Joseph Myers <joseph@codesourcery.com>
46570 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46571 Clear sign bit of 64-bit integer value before comparing against
46574 * sysdeps/mach/configure: Regenerated.
46576 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
46579 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46581 2012-06-21 Jeff Law <law@redhat.com>
46584 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
46585 uint16_t for elements in the "seen" array to avoid char overflows.
46586 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46587 * elf/dl-open.c (dl_open_worker): Likewise.
46589 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
46591 * scripts/list-sources.sh: Scan PORTS for translations.
46592 * po/libc.pot: Regenerated.
46594 2012-06-21 Andreas Jaeger <aj@suse.de>
46597 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46599 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46600 * bits/byteswap-16.h (__bswap_16): Likewise.
46601 * bits/byteswap.h (__bswap_constant_16): Likewise.
46603 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
46606 * sysdeps/i386/fpu_control.h: Removed.
46607 * sysdeps/x86_64/fpu_control.h: Moved to ...
46608 * sysdeps/x86/fpu_control.h: Here.
46610 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46611 (_FPU_SETCW): Likewise.
46613 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
46616 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46617 * sysdeps/x86/fpu/bits/mathinline.h: This.
46618 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46622 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46623 functions if __x86_64__ is defined.
46625 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
46627 * string/endian.h: Add !__ASSEMBLER__ condition for including
46628 conversion interfaces.
46630 2012-06-15 Joseph Myers <joseph@codesourcery.com>
46633 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46634 of ABS(x) in calculating zero to negative powers other than odd
46636 * math/libm-test.inc (pow_test): Add more tests.
46638 2012-06-15 Andreas Jaeger <aj@suse.de>
46640 * manual/contrib.texi (Contributors): Update entry of Liubov
46641 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46644 2012-06-15 Cyril Hrubis <metan@ucw.cz>
46646 * string/string.h: Add __wur to GNU version of strerror_r.
46648 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
46651 * string/Makefile (tests): Add tst-strtok_r.
46652 * string/tst-strtok_r.c: New file.
46653 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46654 RAX_LP/RDX_LP on SAVE_PTR.
46656 2012-06-14 Roland McGrath <roland@hack.frob.com>
46658 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46660 2012-06-14 Joseph Myers <joseph@codesourcery.com>
46662 * libm_test.inc (csqrt_test): Allow more spurious underflow
46664 (j0_test): Likewise.
46665 (j1_test): Likewise.
46666 (y0_test): Likewise.
46667 (y1_test): Likewise.
46669 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
46671 * po/Makefile (libc.pot): Use UTF-8 charset.
46673 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
46676 Suppress sign-conversion warning from FD_SET.
46677 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46678 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46679 not unsigned long int.
46680 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46682 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
46686 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46687 __extern_always_inline instead of __extern_inline.
46688 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46689 (__signbit): Likewise.
46690 (__signbitl): Support C++ namespace.
46691 (lrintf): New inline function.
46693 (llrintf): Likewise.
46694 (llrint): Likewise.
46704 (floorf): Likewise.
46705 (nearbyint): Likewise.
46706 (nearbyintf): Likewise.
46708 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
46710 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46711 non-default versions.
46713 2012-06-11 Roland McGrath <roland@hack.frob.com>
46716 * manual/argp.texi (Argp): Reword argp_parse description slightly.
46718 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
46720 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46721 (FE_UPWARD, FE_DOWNWARD): Don't define.
46722 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46723 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46725 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46727 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46728 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46730 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46732 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46733 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46734 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46735 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46737 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
46740 * sysdeps/i386/fpu/bits/fenv.h: Removed.
46741 * sysdeps/i386/fpu/Implies: New file.
46742 * sysdeps/x86_64/fpu/Implies: Likewise.
46743 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46744 * sysdeps/x86/fpu/bits/fenv.h: This.
46746 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46749 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
46752 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46753 character 0xffff that matches the last element of the
46756 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46758 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46761 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46763 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46764 values higher than 25.6283.
46766 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46768 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46769 subnormal exponent extraction and add some __builtin_expect.
46770 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46771 Fix for subnormal mantissa calculation.
46773 2012-06-04 Mike Frysinger <vapier@gentoo.org>
46775 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46776 cpu2 is -1 and errno is not ENOSYS.
46778 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
46781 * sysdeps/i386/i486/bits/string.h: Renamed to ...
46782 * sysdeps/x86/bits/string.h: This.
46783 * sysdeps/x86_64/bits/string.h: Removed.
46785 * sysdeps/i386/i486/bits/string.h: Define inline functions only
46786 if not compiling for x86-64, but compiling for >= i486.
46788 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46789 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46791 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46792 New macro from Linux kernel 3.4.0.
46793 (FP_XSTATE_MAGIC2): Likewise.
46794 (FP_XSTATE_MAGIC2_SIZE): Likewise.
46795 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46796 (struct _fpx_sw_bytes): New struct.
46797 (struct _xsave_hdr): Likewise.
46798 (struct _ymmh_state): Likewise.
46799 (struct _xstate): Likewise.
46801 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46802 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46803 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46804 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46805 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46806 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46808 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46809 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46810 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46811 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46812 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46813 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46815 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46818 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46819 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46820 (sysdep_headers): Include sys/platform/ppc.h.
46821 * sysdeps/powerpc/test-gettimebase.c: Test for
46822 __ppc_get_timebase() to catch future ISA opcode/insn changes.
46823 * manual/Makefile (appendices): Include platform.texi.
46824 * manual/contrib.texi (Contributors): Update @node pointers.
46825 * manual/maint.texi (Maintenance): Likewise.
46826 (Platform): New node.
46827 * manual/platform.texi: New file. Document the new features.
46829 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
46830 Jakub Jelinek <jakub@redhat.com>
46833 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46834 where __builtin_expect is unavailable.
46836 2012-06-03 David S. Miller <davem@davemloft.net>
46838 * stdlib/longlong.h: Updated from GCC.
46840 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
46843 * sysdeps/powerpc/powerpc32/mcount.c: New file.
46844 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46847 (GLIBC_2.16): Likewise.
46849 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46851 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46853 2012-06-01 Joseph Myers <joseph@codesourcery.com>
46855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46856 (default-abi): New variable.
46857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46858 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46860 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46862 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46864 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46867 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46868 definition. Document in comment.
46870 2012-06-01 David S. Miller <davem@davemloft.net>
46872 * stdlib/longlong.h: Updated from GCC.
46874 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46877 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46878 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46879 sys/debugreg.h sys/io.h here.
46880 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46881 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46883 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46884 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46885 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46886 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46887 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46888 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46890 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46891 Define only if __x86_64__ is defined.
46893 2012-06-01 Joseph Myers <joseph@codesourcery.com>
46896 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46897 Use int64_t for variable i.
46898 * math/libm-test.inc (fmod_test): Add more tests.
46900 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46901 z computation is not scheduled after fetestexcept.
46902 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46903 Use math_force_eval instead of asm to ensure calculation scheduled
46904 before exception test.
46905 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46906 Ensure a1 + u.d computation is not scheduled after fetestexcept.
46908 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
46910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46911 computation is not scheduled after fetestexcept.
46913 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46916 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46917 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46919 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46921 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46922 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46924 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46927 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46929 (__WCHAR_MIN): Support __WORDSIZE == 64.
46930 (__WCHAR_MAX): Likewise.
46932 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46933 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46936 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46937 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46940 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46941 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46943 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46944 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46946 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46947 Defined to 1 if __x86_64__ isn't defined.
46948 (_STAT_VER_LINUX_OLD): New.
46949 (st_atime): Remove duplicate.
46950 (st_mtime): Likewise.
46951 (st_ctime): Likewise.
46953 2012-05-31 David S. Miller <davem@davemloft.net>
46955 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46958 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
46960 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46964 * elf/dl-reloc.c: Include <_itoa.h>.
46965 (_dl_reloc_bad_type): Remove use of INTUSE.
46966 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46967 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46968 * stdio-common/psiginfo.c (psiginfo): Likewise.
46969 * stdio-common/psignal.c (psignal): Likewise.
46970 * string/strsignal.c (strsignal): Likewise.
46971 * include/signal.h (_sys_siglist): Declare hidden proto.
46972 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
46973 INTVARDEF with libc_hidden_data_def.
46974 * stdio-common/itoa-udigits.c: Likewise.
46975 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46976 (_itoa_lower_digits_internal): Remove declaration.
46977 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46978 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46979 (_sys_sigabbrev_internal): Remove aliases.
46980 (_sys_siglist): Define hidden alias.
46982 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
46984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46987 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46990 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46991 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46993 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46994 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46995 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46996 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46997 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46998 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47000 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47001 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47002 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47004 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47012 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47013 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47014 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47016 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47017 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47018 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47019 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47020 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47021 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47023 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47024 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47026 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47027 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47029 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47030 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47031 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47033 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47034 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47036 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47038 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47039 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47040 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47042 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47044 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47046 2012-05-31 Joseph Myers <joseph@codesourcery.com>
47048 * math/math.h (M_El): Use two more decimal places.
47049 (M_LOG2El): Likewise.
47050 (M_LOG10El): Likewise.
47051 (M_LN2l): Likewise.
47052 (M_LN10l): Likewise.
47054 (M_PI_2l): Likewise.
47055 (M_PI_4l): Likewise.
47056 (M_1_PIl): Likewise.
47057 (M_2_PIl): Likewise.
47058 (M_2_SQRTPIl): Likewise.
47059 (M_SQRT2l): Likewise.
47060 (M_SQRT1_2l): Likewise.
47062 2012-05-31 David S. Miller <davem@davemloft.net>
47064 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47065 values between float registers.
47066 * sysdeps/sparc/sparc64/memset.S: Likewise.
47067 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47069 2012-05-31 Mike Frysinger <vapier@gentoo.org>
47071 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47072 -D_FORTIFY_SOURCE=1.
47073 (CPPFLAGS-tst-longjmp_chk.c): Define.
47074 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47075 (CPPFLAGS-tst-longjmp_chk2.c): Define.
47076 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47077 CFLAGS-tst-wchar-h.c.
47079 2012-05-31 Marek Polacek <polacek@redhat.com>
47082 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47083 __endmntent_internal): Remove declaration.
47084 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47085 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47086 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47088 2012-05-30 David S. Miller <davem@davemloft.net>
47090 * sysdeps/sparc/sparc32/soft-fp/q_util.c
47091 (___Q_simulate_exceptions): Use real FP ops rather than writing
47093 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47096 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
47099 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47100 * sysdeps/x86/bits/xtitypes.h: This.
47102 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47103 * sysdeps/x86/bits/wordsize.h: This.
47105 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47106 * sysdeps/x86/bits/huge_vall.h: This.
47108 * sysdeps/i386/bits/select.h: Removed.
47109 * sysdeps/x86_64/bits/select.h: Renamed to ...
47110 * sysdeps/x86/bits/select.h: This.
47112 * sysdeps/i386/bits/setjmp.h: Removed.
47113 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47114 * sysdeps/x86/bits/setjmp.h: This.
47116 * sysdeps/i386/bits/mathdef.h: Removed.
47117 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47118 * sysdeps/x86/bits/mathdef.h: This.
47120 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
47123 * include/sys/socket.h (__connect_internal)
47124 (__libc_sa_len_internal): Remove declaration.
47125 (__connect, __libc_sa_len): Declare hidden_proto.
47126 (SA_LEN): Remove use of INTUSE.
47127 * socket/connect.c: Add libc_hidden_def.
47128 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47129 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47130 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47132 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47133 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47134 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47135 of adding _internal alias.
47137 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
47140 * sysdeps/i386/bits/link.h: Removed.
47141 * sysdeps/i386/bits/linkmap.h: Likewise.
47142 * sysdeps/x86_64/bits/link.h: Renamed to ...
47143 * sysdeps/x86/bits/link.h: This.
47144 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47145 * sysdeps/x86/bits/linkmap.h: This.
47147 * sysdeps/i386/bits/endian.h: Removed.
47148 * sysdeps/x86_64/bits/endian.h: Renamed to ...
47149 * sysdeps/x86/bits/endian.h: This.
47151 * sysdeps/i386/bits/byteswap.h: Removed.
47152 * sysdeps/i386/bits/byteswap-16.h: Likewise.
47153 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47154 * sysdeps/x86/bits/byteswap.h: This.
47155 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47156 * sysdeps/x86/bits/byteswap-16.h: This.
47157 * sysdeps/i386/Implies: Add x86.
47158 * sysdeps/x86_64/Implies: Likewise.
47160 2012-05-30 David S. Miller <davem@davemloft.net>
47162 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47163 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47164 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47165 (FP_TRAPPING_EXCEPTIONS): Define.
47166 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47167 (FP_TRAPPING_EXCEPTIONS): Define.
47168 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47169 subnormals only when inexact has been signalled or underflow
47170 exceptions are enabled.
47171 (_FP_PACK_CANONICAL): Likewise.
47173 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
47176 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47177 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47179 2012-05-30 Richard Henderson <rth@twiddle.net>
47181 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47182 with #ifndef NOT_IN_libc.
47184 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
47185 marked to avoid plt entry.
47187 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
47190 * Makeconfig (default-abi): New macro.
47191 (abi-includes): Likewise.
47192 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
47193 $(abi-$(default-abi)-lib-soname) for soname if defined.
47194 ($(common-objpfx)gnu/lib-names.stmp): Generate from
47196 * Makefile (installed-stubs): Likewise.
47197 * include/stubs-biarch.h: Removed.
47198 * scripts/lib-names.awk: Only handle one library at a time.
47199 * scripts/soversions.awk: Remove WORDSIZE support.
47200 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47202 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47204 (syscall-list-default-condition): Likewise.
47205 (syscall-list-default-condition): Likewise.
47206 (syscall-list-includes): Likewise.
47207 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47208 syscall-list-* with abi-*. Handle undefined abi-variants.
47209 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47210 * sysdeps/unix/sysv/linux/i386/Implies: New file.
47211 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47212 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47213 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47214 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47216 (syscall-list-32-options): Likewise.
47217 (syscall-list-32-condition): Likewise.
47218 (syscall-list-64-options): Likewise.
47219 (syscall-list-64-condition): Likewise.
47220 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47222 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47225 (abi-64-ld-soname): New macro.
47226 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47227 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47230 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47231 * sysdeps/x86_64/x32/shlib-versions: Likewise.
47233 2012-05-30 Joseph Myers <joseph@codesourcery.com>
47235 * sysdeps/unix/sysv/linux/kernel-features.h
47236 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47237 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47238 include <kernel-features.h>.
47239 [!__NR_ftruncate64]: Remove conditional code.
47240 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47241 [__NR_ftruncate64]: Make code unconditional.
47242 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47243 * sysdeps/unix/sysv/linux/truncate64.c: Do not
47244 include <kernel-features.h>.
47245 [!__NR_ftruncate64]: Remove conditional code.
47246 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47247 [__NR_ftruncate64]: Make code unconditional.
47248 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47250 include <kernel-features.h>.
47251 [!__NR_ftruncate64]: Remove conditional code.
47252 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47253 [__NR_ftruncate64]: Make code unconditional.
47254 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47256 include <kernel-features.h>.
47257 [!__NR_ftruncate64]: Remove conditional code.
47258 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47259 [__NR_ftruncate64]: Make code unconditional.
47260 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47262 * configure.in (libc_cv_fpie): Weaken to a compile test using
47263 LIBC_TRY_CC_OPTION.
47264 * configure: Regenerated.
47266 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47281 2012-05-27 David S. Miller <davem@davemloft.net>
47283 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47285 (__Q_simulate_exceptions): Return void. Change to simulate
47286 exceptions by writing into the %fsr.
47287 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47288 (__Qp_handle_exceptions): Likewise.
47290 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47291 __Qp_handle_exceptions.
47292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47293 __Qp_handle_exceptions.
47294 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47295 as unused and give dummy FP_RND_NEAREST initializer.
47296 (FP_INHIBIT_RESULTS): Define.
47297 (___Q_simulate_exceptions): Update declaration.
47298 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47300 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47301 as unused and give dummy FP_RND_NEAREST initializer.
47302 (__Qp_handle_exceptions): Update declaration.
47303 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47306 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
47308 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47309 the temporary FPU control word.
47310 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47311 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47312 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47313 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47314 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47315 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47316 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47317 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47318 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47319 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47320 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47322 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47324 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47327 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
47329 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47330 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47331 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47332 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47334 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
47335 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
47338 2012-05-27 Ulrich Drepper <drepper@gmail.com>
47340 * po/h.po: Update from translation team.
47342 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
47344 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47346 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47347 handling of denormals.
47348 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47349 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47350 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47351 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47352 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47353 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47354 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47357 2012-05-26 Marek Polacek <polacek@redhat.com>
47360 * math/libm-test.inc (fma_test): Don't always expect underflow
47363 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47366 * elf/tst-execstack.c: Include stackinfo.h.
47367 (do_test): Adjust test case to ensure that pthread_getattr_np
47368 behaviour remains the same after marking stack executable.
47370 2012-05-25 Joseph Myers <joseph@codesourcery.com>
47372 * sysdeps/unix/sysv/linux/kernel-features.h
47373 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47374 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47376 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47377 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47378 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
47380 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47381 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47383 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
47385 * configure.in: Define the default includes to being none.
47386 * configure: Regenerated.
47388 2012-05-25 Roland McGrath <roland@hack.frob.com>
47390 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
47391 * sysdeps/x86_64/setjmp.S: Likewise.
47392 * sysdeps/i386/bsd-setjmp.S: Likewise.
47393 * sysdeps/i386/bsd-_setjmp.S: Likewise.
47394 * sysdeps/i386/setjmp.S: Likewise.
47395 * sysdeps/i386/__longjmp.S: Likewise.
47396 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47397 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
47399 * include/stap-probe.h: New file.
47400 * configure.in: Handle --enable-systemtap.
47401 * configure: Regenerated.
47402 * config.h.in (USE_STAP_PROBE): New #undef.
47403 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
47404 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
47405 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
47407 2012-05-25 Joseph Myers <joseph@codesourcery.com>
47410 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47411 to 2.4.0 where earlier.
47412 * sysdeps/unix/sysv/linux/configure: Regenerated.
47413 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47414 <kernel-features.h>.
47415 [__ASSUME_32BITUIDS]: Make code unconditional.
47416 [!__ASSUME_32BITUIDS]: Remove conditional code.
47417 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
47418 <kernel-features.h>.
47419 [__ASSUME_32BITUIDS]: Make code unconditional.
47420 [!__ASSUME_32BITUIDS]: Remove conditional code.
47421 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
47422 [__ASSUME_32BITUIDS]: Make code unconditional.
47423 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
47424 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
47425 <kernel-features.h>.
47426 [__ASSUME_32BITUIDS]: Make code unconditional.
47427 [!__ASSUME_32BITUIDS]: Remove conditional code.
47428 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
47429 <kernel-features.h>.
47430 [__ASSUME_32BITUIDS]: Make code unconditional.
47431 [!__ASSUME_32BITUIDS]: Remove conditional code.
47432 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
47433 <kernel-features.h>.
47434 [__ASSUME_32BITUIDS]: Make code unconditional.
47435 [!__ASSUME_32BITUIDS]: Remove conditional code.
47436 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
47437 <kernel-features.h>.
47438 [__ASSUME_32BITUIDS]: Make code unconditional.
47439 [!__ASSUME_32BITUIDS]: Remove conditional code.
47440 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47441 <kernel-features.h>.
47442 [__ASSUME_32BITUIDS]: Make code unconditional.
47443 [!__ASSUME_32BITUIDS]: Remove conditional code.
47444 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47445 <kernel-features.h>.
47446 [__ASSUME_32BITUIDS]: Make code unconditional.
47447 [!__ASSUME_32BITUIDS]: Remove conditional code.
47448 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
47449 <kernel-features.h>.
47450 [__ASSUME_32BITUIDS]: Make code unconditional.
47451 [!__ASSUME_32BITUIDS]: Remove conditional code.
47452 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47453 <kernel-features.h>.
47454 [__ASSUME_32BITUIDS]: Make code unconditional.
47455 [!__ASSUME_32BITUIDS]: Remove conditional code.
47456 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47457 <kernel-features.h>.
47458 [__ASSUME_32BITUIDS]: Make code unconditional.
47459 [!__ASSUME_32BITUIDS]: Remove conditional code.
47460 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
47461 <kernel-features.h>.
47462 [__ASSUME_32BITUIDS]: Make code unconditional.
47463 [!__ASSUME_32BITUIDS]: Remove conditional code.
47464 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
47465 <kernel-features.h>.
47466 [__NR_setresgid] (__setresgid): Do not declare.
47467 [__ASSUME_32BITUIDS]: Make code unconditional.
47468 [!__ASSUME_32BITUIDS]: Remove conditional code.
47469 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47470 <kernel-features.h>.
47471 [__NR_setresuid] (__setresuid): Do not declare.
47472 [__ASSUME_32BITUIDS]: Make code unconditional.
47473 [!__ASSUME_32BITUIDS]: Remove conditional code.
47474 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
47475 <kernel-features.h>.
47476 [__ASSUME_32BITUIDS]: Make code unconditional.
47477 [!__ASSUME_32BITUIDS]: Remove conditional code.
47478 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
47479 <kernel-features.h>.
47480 [__ASSUME_32BITUIDS]: Make code unconditional.
47481 [!__ASSUME_32BITUIDS]: Remove conditional code.
47482 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
47483 <kernel-features.h>.
47484 [__ASSUME_32BITUIDS]: Make code unconditional.
47485 [!__ASSUME_32BITUIDS]: Remove conditional code.
47486 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47487 <kernel-features.h>.
47488 [__ASSUME_32BITUIDS]: Make code unconditional.
47489 [!__ASSUME_32BITUIDS]: Remove conditional code.
47490 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47491 <kernel-features.h>.
47492 [__ASSUME_32BITUIDS]: Make code unconditional.
47493 [!__ASSUME_32BITUIDS]: Remove conditional code.
47494 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47495 <kernel-features.h>.
47496 [__ASSUME_32BITUIDS]: Make code unconditional.
47497 [!__ASSUME_32BITUIDS]: Remove conditional code.
47498 * sysdeps/unix/sysv/linux/i386/setresuid.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/i386/setreuid.c: Do not include
47503 <kernel-features.h>.
47504 [__ASSUME_32BITUIDS]: Make code unconditional.
47505 [!__ASSUME_32BITUIDS]: Remove conditional code.
47506 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47507 <kernel-features.h>.
47508 [__ASSUME_32BITUIDS]: Make code unconditional.
47509 [!__ASSUME_32BITUIDS]: Remove conditional code.
47510 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47511 <kernel-features.h>.
47512 [__ASSUME_32BITUIDS]: Make code unconditional.
47513 [!__ASSUME_32BITUIDS]: Remove conditional code.
47514 * sysdeps/unix/sysv/linux/kernel-features.h
47515 (__ASSUME_SETRESUID_SYSCALL): Remove.
47516 (__ASSUME_SETRESGID_SYSCALL): Likewise.
47517 (__ASSUME_32BITUIDS): Likewise.
47518 (__ASSUME_LDT_WORKS): Likewise.
47519 (__ASSUME_O_DIRECTORY): Likewise.
47520 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47521 architecture but not kernel version.
47522 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47523 (__ASSUME_MMAP2_SYSCALL): Likewise.
47524 (__ASSUME_STAT64_SYSCALL): Likewise.
47525 (__ASSUME_IPC64): Likewise.
47526 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47527 <kernel-features.h>.
47528 [__ASSUME_32BITUIDS]: Make code unconditional.
47529 [!__ASSUME_32BITUIDS]: Remove conditional code.
47530 * sysdeps/unix/sysv/linux/opendir.c: Do not include
47531 <kernel-features.h>.
47532 [__ASSUME_O_DIRECTORY]: Make code unconditional.
47533 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47534 132096]: Remove conditional code.
47535 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47536 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47537 <kernel-features.h>.
47538 [__ASSUME_32BITUIDS]: Make code unconditional.
47539 [!__ASSUME_32BITUIDS]: Remove conditional code.
47540 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47541 <kernel-features.h>.
47542 [__ASSUME_32BITUIDS]: Make code unconditional.
47543 [!__ASSUME_32BITUIDS]: Remove conditional code.
47544 * sysdeps/unix/sysv/linux/setegid.c: Do not include
47545 <kernel-features.h>.
47546 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47548 (__setresgid): Do not declare.
47549 [__ASSUME_32BITUIDS]: Make code unconditional.
47550 [!__ASSUME_32BITUIDS]: Remove conditional code.
47551 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47552 <kernel-features.h>.
47553 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47555 (__setresuid): Do not declare.
47556 [__ASSUME_32BITUIDS]: Make code unconditional.
47557 [!__ASSUME_32BITUIDS]: Remove conditional code.
47558 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47559 <kernel-features.h>.
47560 [__ASSUME_32BITUIDS]: Make code unconditional.
47561 [!__ASSUME_32BITUIDS]: Remove conditional code.
47562 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47563 <kernel-features.h>.
47564 [__ASSUME_32BITUIDS]: Make code unconditional.
47565 [!__ASSUME_32BITUIDS]: Remove conditional code.
47567 2012-05-25 Richard Henderson <rth@twiddle.net>
47569 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47570 dl_hwcap to ifunc resolver.
47571 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47573 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47574 dl_hwcap to ifunc resolver.
47575 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47577 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47580 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47581 for |x| <= 2**-26, not 2**-57.
47582 * math/libm-test.inc (acos_test): Do not allow spurious underflow
47585 2012-05-24 Jeff Law <law@redhat.com>
47587 * stdio-common/Makefile (tests): Add bug25.
47588 * stdio-common/bug25.c: New test.
47590 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
47593 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47594 multiple of MALLOC_ALIGNMENT in size.
47595 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47597 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47599 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47601 (FILENAME_MAX): Use macro-int-constant.
47602 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
47603 (_IOFBF): Use macro-int-constant.
47604 (_IOLBF): Likewise.
47605 (_IONBF): Likewise.
47606 (SEEK_CUR): Likewise.
47607 (SEEK_END): Likewise.
47608 (SEEK_SET): Likewise.
47609 (TMP_MAX): Likewise.
47610 (EOF): Use macro-int-constant. Require < 0.
47611 (NULL): Use macro-constant. Require == 0.
47612 (stdin): Require type to be FILE *.
47613 (stdout): Likewise.
47614 (stderr): Likewise.
47615 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47616 macro-int-constant.
47617 (EXIT_SUCCESS): Likewise.
47618 (NULL): Use macro-constant. Require == 0.
47619 (RAND_MAX): Use macro-int-constant.
47620 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47621 [C99-based standards] (strtof): Require function.
47622 [C99-based standards] (strtold): Likewise.
47623 [C99-based standards] (strtoll): Likewise.
47624 [C99-based standards] (strtoull): Likewise.
47625 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47626 [ISO || ISO99 || ISO11] (limits.h): Likewise.
47627 [ISO || ISO99 || ISO11] (math.h): Likewise.
47628 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47629 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47630 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47632 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
47635 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47636 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47637 * intl/dgettext.c (DCGETTEXT): Likewise.
47638 * intl/gettext.c (DCGETTEXT): Likewise.
47639 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47640 * posix/regex_internal.h (gettext): Likewise.
47641 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47642 Remove declaration.
47643 * include/argz.h (__argz_count_internal)
47644 (__argz_stringify_internal): Remove declaration.
47645 (__argz_count, __argz_stringify): Declare hidden proto.
47646 * intl/dcgettext.c: Remove use of INTDEF.
47647 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47648 * string/argz-stringify.c: Likewise.
47649 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47650 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47651 Declare hidden proto.
47652 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47653 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47654 Declare hidden proto.
47655 * include/stdio.h (__asprintf_internal): Don't declare.
47656 (__asprintf): Don't define as macro. Declare hidden proto.
47657 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47658 (__fsetlocking): Declare hidden proto.
47659 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47660 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47662 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47663 (_IO_setlinebuf): Remove use of INTUSE.
47664 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47665 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47666 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47667 Remove declaration.
47668 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47669 (_IO_do_flush): Remove use of INTUSE.
47670 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47671 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47672 (_IO_adjust_column, _IO_least_wmarker)
47673 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47674 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47675 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47676 (_IO_default_doallocate, _IO_wdefault_doallocate)
47677 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47678 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47679 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47680 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47681 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47682 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47683 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47684 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47685 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47686 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47687 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47688 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47689 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47691 (_IO_flush_all_internal, _IO_adjust_column_internal)
47692 (_IO_default_uflow_internal, _IO_default_finish_internal)
47693 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47694 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47695 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47696 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47697 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47698 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47699 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47700 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47701 (_IO_file_close_internal, _IO_file_close_it_internal)
47702 (_IO_file_underflow_internal, _IO_file_overflow_internal)
47703 (_IO_file_init_internal, _IO_file_attach_internal)
47704 (_IO_file_fopen_internal, _IO_file_read_internal)
47705 (_IO_file_sync_internal, _IO_file_seek_internal)
47706 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47707 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47708 (_IO_str_underflow_internal, _IO_str_overflow_internal)
47709 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47710 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47711 (_IO_list_all_internal, _IO_link_in_internal)
47712 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47713 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47714 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47715 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47716 (_IO_do_write_internal, _IO_padn_internal)
47717 (_IO_getline_info_internal, _IO_getline_internal)
47718 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47719 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47720 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47721 (_IO_vfscanf_internal, _IO_vfprintf_internal)
47722 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47723 (_IO_init_internal, _IO_un_link_internal): Don't declare.
47724 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47725 with libc_hidden_ver, remove use of INTUSE.
47726 * libio/genops.c: Likewise.
47727 * libio/freopen.c: Likewise.
47728 * libio/freopen64.c: Likewise.
47729 * libio/iofclose.c: Likewise.
47730 * libio/iofdopen.c: Likewise.
47731 * libio/iofflush.c: Likewise.
47732 * libio/iofflush_u.c: Likewise.
47733 * libio/iofgets.c: Likewise.
47734 * libio/iofgets_u.c: Likewise.
47735 * libio/iofopen.c: Likewise.
47736 * libio/iofopncook.c: Likewise.
47737 * libio/iofread.c: Likewise.
47738 * libio/iofread_u.c: Likewise.
47739 * libio/ioftell.c: Likewise.
47740 * libio/iofwrite.c: Likewise.
47741 * libio/iogetline.c: Likewise.
47742 * libio/iogets.c: Likewise.
47743 * libio/iogetwline.c: Likewise.
47744 * libio/iopadn.c: Likewise.
47745 * libio/iopopen.c: Likewise.
47746 * libio/ioseekoff.c: Likewise.
47747 * libio/ioseekpos.c: Likewise.
47748 * libio/iosetbuffer.c: Likewise.
47749 * libio/iosetvbuf.c: Likewise.
47750 * libio/ioungetc.c: Likewise.
47751 * libio/ioungetwc.c: Likewise.
47752 * libio/iovdprintf.c: Likewise.
47753 * libio/iovsprintf.c: Likewise.
47754 * libio/iovsscanf.c: Likewise.
47755 * libio/memstream.c: Likewise.
47756 * libio/obprintf.c: Likewise.
47757 * libio/oldfileops.c: Likewise.
47758 * libio/oldiofclose.c: Likewise.
47759 * libio/oldiofdopen.c: Likewise.
47760 * libio/oldiofopen.c: Likewise.
47761 * libio/oldiopopen.c: Likewise.
47762 * libio/oldstdfiles.c: Likewise.
47763 * libio/putc.c: Likewise.
47764 * libio/setbuf.c: Likewise.
47765 * libio/setlinebuf.c: Likewise.
47766 * libio/stdfiles.c: Likewise.
47767 * libio/strops.c: Likewise.
47768 * libio/vasprintf.c: Likewise.
47769 * libio/vscanf.c: Likewise.
47770 * libio/vsnprintf.c: Likewise.
47771 * libio/vswprintf.c: Likewise.
47772 * libio/wfiledoalloc.c: Likewise.
47773 * libio/wfileops.c: Likewise.
47774 * libio/wgenops.c: Likewise.
47775 * libio/wmemstream.c: Likewise.
47776 * libio/wstrops.c: Likewise.
47777 * libio/__fpurge.c: Likewise.
47778 * libio/__fsetlocking.c: Likewise.
47779 * assert/assert.c: Likewise.
47780 * debug/fgets_chk.c: Likewise.
47781 * debug/fgets_u_chk.c: Likewise.
47782 * debug/fread_chk.c: Likewise.
47783 * debug/fread_u_chk.c: Likewise.
47784 * debug/gets_chk.c: Likewise.
47785 * debug/obprintf_chk.c: Likewise.
47786 * debug/vasprintf_chk.c: Likewise.
47787 * debug/vdprintf_chk.c: Likewise.
47788 * debug/vsnprintf_chk.c: Likewise.
47789 * debug/vsprintf_chk.c: Likewise.
47790 * malloc/mtrace.c: Likewise.
47791 * misc/error.c: Likewise.
47792 * misc/syslog.c: Likewise.
47793 * stdio-common/asprintf.c: Likewise.
47794 * stdio-common/fxprintf.c: Likewise.
47795 * stdio-common/getw.c: Likewise.
47796 * stdio-common/isoc99_fscanf.c: Likewise.
47797 * stdio-common/isoc99_scanf.c: Likewise.
47798 * stdio-common/isoc99_vfscanf.c: Likewise.
47799 * stdio-common/isoc99_vscanf.c: Likewise.
47800 * stdio-common/isoc99_vsscanf.c: Likewise.
47801 * stdio-common/printf-prs.c: Likewise.
47802 * stdio-common/printf_fp.c: Likewise.
47803 * stdio-common/printf_fphex.c: Likewise.
47804 * stdio-common/printf_size.c: Likewise.
47805 * stdio-common/putw.c: Likewise.
47806 * stdio-common/scanf.c: Likewise.
47807 * stdio-common/sprintf.c: Likewise.
47808 * stdio-common/tmpfile.c: Likewise.
47809 * stdio-common/vfprintf.c: Likewise.
47810 * stdio-common/vfscanf.c: Likewise.
47811 * stdlib/strfmon_l.c: Likewise.
47812 * sunrpc/openchild.c: Likewise.
47813 * sunrpc/xdr_stdio.c: Likewise.
47814 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47815 * sysdeps/mach/hurd/tmpfile.c: Likewise.
47817 2012-05-24 Roland McGrath <roland@hack.frob.com>
47819 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47821 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47822 in the third column, to generate for the shared library an IFUNC
47823 that uses _dl_vdso_vsym.
47824 * Makerules (COMPILE.c, compile-stdin.c): New variables.
47825 * Makeconfig (object-suffixes-noshared): New variable.
47827 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47828 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47829 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47830 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47833 * include/sys/time.h (__gettimeofday): Remove macro.
47834 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47835 * time/gettimeofday.c (__gettimeofday): Remove #undef.
47837 (__gettimeofday): Add libc_hidden_def.
47838 (gettimeofday): Add libc_hidden_weak.
47839 * sysdeps/mach/gettimeofday.c: Likewise.
47840 * sysdeps/posix/gettimeofday.c: Likewise.
47841 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47842 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47843 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47844 (__gettimeofday_internal): Remove strong_alias.
47845 (__gettimeofday): Add libc_hidden_def.
47846 (gettimeofday): Add libc_hidden_weak.
47847 * sysdeps/unix/syscalls.list (gettimeofday):
47848 Remove __gettimeofday_internal alias.
47850 2012-05-24 Daniel Jacobowitz <drow@false.org>
47851 H.J. Lu <hongjiu.lu@intel.com>
47854 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47855 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47856 (largebin_index_32_big): New.
47857 (largebin_index): Use it for 16-byte alignment.
47858 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
47859 correction with front_misalign.
47861 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
47863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47889 * scripts/data/c++-types-x32-linux-gnu.data: New file.
47890 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47892 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47896 * math/libm-test.inc (exp_test): Add test from bug 14036.
47897 (pow_test): Add test from bug 10846.
47899 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47901 (special_function): Do not include flags in test name.
47902 (parse_args): Likewise.
47903 * sysdeps/i386/fpu/libm-test-ulps: Update.
47904 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47905 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47906 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47909 * math/gen-libm-test.pl (%beautify): Add entries for underflow
47911 * math/libm-test.inc ("Philosophy"): Update comment about
47913 (UNDERFLOW_EXCEPTION): New macro.
47914 (UNDERFLOW_EXCEPTION_OK): Likewise.
47915 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47916 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47917 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47918 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47919 (INVALID_EXCEPTION_OK): Update value.
47920 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47921 (OVERFLOW_EXCEPTION_OK): Likewise.
47922 (IGNORE_ZERO_INF_SIGN): Likewise.
47923 (test_exceptions): Handle underflow exceptions.
47924 (acos_test): Update for underflow exception expectations.
47925 (cexp_test): Likewise.
47926 (clog_test): Likewise.
47927 (clog10_test): Likewise.
47928 (csqrt_test): Likewise.
47929 (ctan_test): Likewise.
47930 (ctanh_test): Likewise.
47931 (exp_test): Likewise.
47932 (exp10_test): Likewise.
47933 (exp2_test): Likewise.
47934 (expm1_test): Likewise.
47935 (fma_test): Likewise.
47936 (j0_test): Likewise.
47937 (jn_test): Likewise.
47938 (nexttoward_test): Likewise.
47939 (pow_test): Likewise.
47940 (scalbn_test): Likewise.
47941 (scalbln_test): Likewise.
47942 (tan_test): Likewise.
47943 (y1_test): Likewise.
47944 * sysdeps/i386/fpu/libm-test-ulps: Update.
47945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47947 2012-05-23 David S. Miller <davem@davemloft.net>
47949 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47950 (__libc_sigaction): Remove unused local variables.
47952 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47954 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47956 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
47958 mktime: avoid signed integer overflow
47959 * time/mktime.c (__mktime_internal): Do not mishandle the case
47960 where diff == INT_MIN.
47962 mktime: simplify computation of average
47963 * time/mktime.c (ranged_convert): Use new time_t_avg function
47964 instead of rolling our own (probably-slower) code.
47966 mktime: do not assume signed right shift propagates sign bit
47967 * time/mktime.c (isdst_differ): New static function.
47968 (__mktime_internal): No need to normalize tm_isdst now.
47969 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47972 mktime: merge another wrapv change from gnulib
47973 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47974 from some compilers.
47976 mktime: remove incorrect attempt at unusual arithmetics
47977 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47978 The code didn't really work on such machines anyway.
47979 (TYPE_MINIMUM): Assume two's complement.
47980 (twos_complement_arithmetic): Verify that long_int and time_t
47981 are two's complement (or unsigned, in the latter case).
47983 mktime: check signed shifts on long_int and time_t, too
47984 * time/mktime.c (SHR): Check that shifts work as desired
47985 on the types long_int and time_t too, as SHR is used on
47988 mktime: do not assume 'long' is wide enough
47989 * time/mktime.c (verify): Move decl up.
47990 (long_int): New type.
47991 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47992 to remove assumption in the code that 'long' is wide enough to
47993 store year values. This assumption is not true on x32 and on
47994 some non-glibc platforms.
47996 mktime: merge wrapv change from gnulib
47997 * time/mktime.c (WRAPV): New macro.
47998 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47999 (guess_time_tm, __mktime_internal): Do not assume that signed
48000 integer overflow wraps around; modern compilers generate code
48001 where this assumption is no longer valid.
48003 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
48005 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48006 Replace "jmp L(pseudo_end)" with "ret".
48007 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48010 2012-05-23 Andreas Jaeger <aj@suse.de>
48012 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48013 * sysdeps/unix/sysv/linux/poll.c: Remove file.
48015 2012-05-23 Andreas Jaeger <aj@suse.de>
48016 Maximilian Attems <max@stro.at>
48018 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48021 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
48023 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48024 code so that pseudo_end is just ret and the stack pointer is
48025 correct also for static library in error case.
48027 2012-05-23 Joseph Myers <joseph@codesourcery.com>
48029 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48030 move to syscalls.list.
48031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48036 * manual/install.texi (Running make install): Do not mention Linux
48037 kernel version for which pt_chown is not needed.
48038 (Linux): Do not mention problems with nscd with 2.0 kernels.
48039 * INSTALL: Regenerated.
48041 2012-05-23 Andreas Jaeger <aj@suse.de>
48043 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48044 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48046 * sysdeps/unix/sysv/linux/s390/bits/mman.h
48047 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48048 * sysdeps/unix/sysv/linux/sh/bits/mman.h
48049 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48050 * sysdeps/unix/sysv/linux/i386/bits/mman.h
48051 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48052 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48053 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48054 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48055 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48056 * sysdeps/unix/sysv/linux/bits/in.h
48057 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48059 2012-05-22 Roland McGrath <roland@hack.frob.com>
48061 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48062 (PREPARE_VERSION): Just use assert instead, it will be elided
48063 under [NDEBUG] anyway.
48065 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
48067 * sysdeps/unix/sysv/linux/Makefile: Include
48068 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48069 (sysdep_routines): Remove sysctl.
48070 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48071 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48072 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48073 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48074 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48076 2012-05-22 Andreas Jaeger <aj@suse.de>
48078 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48079 that pseudo_end is just ret and the stack pointer is correct also
48080 for static library in error case.
48082 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
48085 * nss/nsswitch.c (defconfig_entries): New variable.
48086 (__nss_database_lookup): Don't leak defconfig entries.
48087 (nss_parse_service_list): Don't leak on error paths.
48088 (free_database_entries): New function.
48089 (free_defconfig): New function.
48090 (free_mem): Move common code to free_database_entries.
48092 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
48094 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48096 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48098 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48099 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48100 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48102 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48103 (INTERNAL_SYSCALL_TYPES): Likewise.
48104 (LOAD_ARGS_TYPES_[1-6]): Likewise.
48105 (LOAD_REGS_TYPES_[1-6]): Likewise.
48106 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48107 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48109 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48111 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48112 copysignl for GLIBC_2_0.
48113 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48114 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48115 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48116 logbl for GLIBC_2_0.
48117 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48118 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48120 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
48122 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48123 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
48125 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48128 * time/mktime.c: Update copyright years.
48130 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
48132 mktime: merge comment-quoting-style change from gnulib
48133 * time/mktime.c: Quote 'like this' in comments.
48134 The GNU coding standards suggest that we no longer quote `like this',
48135 as "`" and "'" are typically rendered asymmetrically nowadays.
48136 The typical gnulib style is to quote 'like this' when quoting
48137 code, and "like this" when quoting English.
48139 * time/mktime.c (compile-command): Add "-I.".
48141 mktime: merge mktime-internal.h change from gnulib
48142 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48144 mktime: merge time_r change from gnulib
48145 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48147 mktime: merge DEBUG change from gnulib
48148 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48149 case system <time.h> has a #define.
48151 mktime: merge <sys/types.h> change from gnulib
48152 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48153 since <time.t> is now guaranteed to define time_t.
48155 mktime: merge HAVE_CONFIG_H change from gnulib
48156 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48158 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
48160 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48163 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48165 (struct rusage): Use anonymous union to pad each field to
48168 2012-05-21 David S. Miller <davem@davemloft.net>
48170 * Makefules (o-iterator): Remove .s cases.
48171 (compile-command.s): Delete.
48172 (COMPILE.s): Delete.
48173 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48175 2012-05-21 Joseph Myers <joseph@codesourcery.com>
48177 * configure.in (libc_cv_predef_stack_protector): Only consider
48178 "foobar" and "__stack_chk_fail" lines in libc_undefs.
48179 * configure: Regenerated.
48181 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
48183 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48184 New macro. Use R*LP on int and pointer.
48185 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48186 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48187 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48188 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48190 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48191 [__WORDSIZE_TIME64_COMPAT32] instead of
48192 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48193 (struct utmp): Likewise.
48194 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48195 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48197 (__WORDSIZE_TIME64_COMPAT32): This.
48198 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48199 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48200 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48201 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48202 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48203 (__WORDSIZE_TIME64_COMPAT32): New macro.
48205 2012-05-21 Andreas Jaeger <aj@suse.de>
48207 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48208 only if [SHARED]. Add prototype for __wcschr_ia32.
48210 2012-05-21 Roland McGrath <roland@hack.frob.com>
48212 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48213 of %rbp unmolested in the jmp_buf while mangling the low bits.
48214 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48215 unmolested high bits of %rbp while demangling the low bits.
48216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48218 2012-05-21 Andreas Jaeger <aj@suse.de>
48220 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48221 * sunrpc/svc_simple.c: Use it for registerrpc.
48222 * sunrpc/xcrypt.c: Use it for passwd2des.
48224 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48226 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
48228 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48229 Don't define if [__SYSCALL_WORDSIZE != 32].
48230 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48233 2012-05-21 Bruno Haible <bruno@clisp.org>
48234 Andreas Jaeger <aj@suse.de>
48236 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48237 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48238 inptr and inend for must_buffer_ch.
48239 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48240 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48241 * stdio-common/Makefile (tests): Remove bug15.
48242 (bug15-ENV): Remove macro.
48243 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48246 2012-05-19 Andreas Jaeger <aj@suse.de>
48247 Roland McGrath <roland@hack.frob.com>
48249 * manual/contrib.texi: Completely rewritten. It contains now an
48250 alphabetical list of contributors and their contributions.
48252 2012-05-21 Richard Henderson <rth@twiddle.net>
48254 * misc/getauxval.c (__getauxval): Use unsigned long int.
48255 * misc/sys/auxv.h: Include <sys/cdefs.h>.
48256 (getauxval): Use unsigned long int.
48258 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
48260 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48262 2012-05-21 Roland McGrath <roland@hack.frob.com>
48264 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48265 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48266 __alignof__ (long double).
48268 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48272 2012-05-20 Richard Henderson <rth@twiddle.net>
48274 * misc/getauxval.c: New file.
48275 * misc/sys/auxv.h: New file.
48276 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48277 (routines): Add getauxval.
48278 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48279 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48280 * elf/dl-sysdep.c (_dl_auxv): Remove.
48281 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48282 * elf/dl-support.c (_dl_auxv): New variable.
48283 (_dl_aux_init): Initialize it.
48284 * manual/startup.texi (Auxiliary Vector): New node.
48285 * sysdeps/generic/bits/hwcap.h: New file.
48286 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48287 * sysdeps/powerpc/sysdep.h: ... here. Include it.
48288 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48289 * sysdeps/sparc/sysdep.h: ... here. Include it.
48290 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48291 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48297 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48303 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48307 2012-05-19 David S. Miller <davem@davemloft.net>
48309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48311 2012-05-19 Joseph Myers <joseph@codesourcery.com>
48314 * math/s_ccosh.c: Include <float.h>
48315 (__ccosh): Avoid internal overflow calculating sinh and cosh
48316 values before multiplying by sin and cos values.
48317 * math/s_ccoshf.c: Likewise.
48318 * math/s_ccoshl.c: Likewise.
48319 * math/s_csin.c: Likewise.
48320 * math/s_csinf.c: Likewise.
48321 * math/s_csinl.c: Likewise.
48322 * math/s_csinh.c: Likewise.
48323 * math/s_csinhf.c: Likewise.
48324 * math/s_csinhl.c: Likewise.
48325 * math/libm-test.inc (ccos_test): Add more tests.
48326 (ccosh_test): Likewise.
48327 (csin_test): Likewise.
48328 (csinh_test): Likewise.
48329 * sysdeps/i386/fpu/libm-test-ulps: Update.
48330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48332 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
48334 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
48335 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
48337 * sysdeps/x86_64/x32/_itoa.h: Add comment.
48339 2012-05-19 Joseph Myers <joseph@codesourcery.com>
48341 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48342 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48343 * sysdeps/powerpc/soft-fp/Versions: Likewise.
48344 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48345 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48346 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48347 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48348 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48349 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48350 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48351 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48352 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48353 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48354 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48355 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48356 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48357 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48358 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48359 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48360 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48361 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48362 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48363 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48364 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48365 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48366 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48367 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48368 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48369 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48370 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48371 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48373 2012-05-18 Andreas Jaeger <aj@suse.de>
48375 * csu/.gitignore: Delete.
48377 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
48379 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
48380 (timex): Use __syscall_slong_t.
48382 2012-05-18 Andreas Jaeger <aj@suse.de>
48383 Carlos O'Donell <carlos_odonell@mentor.com>
48385 * manual/install.texi (Configuring and compiling): Update
48386 description about files modified in the source directory.
48387 * INSTALL: Regenerated.
48389 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
48391 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
48392 value. Use "or" to set return value to -1.
48393 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
48394 negate return value.
48396 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48398 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
48399 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
48400 failure if the compiler has Graphite support disabled.
48401 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
48403 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
48404 (CFLAGS-memmove.c): Likewise.
48405 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
48408 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
48410 * sysdeps/x86_64/x32/_itoa.h: New file.
48412 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
48413 getdents system call only if kernel and user dirents have the
48414 same d_ino and d_off.
48416 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48417 LLONG_MAX != LONG_MAX.
48418 (_itoa_word): Use _ITOA_WORD_TYPE on value.
48419 (_fitoa_word): Likewise.
48421 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
48423 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
48424 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
48425 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
48427 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
48428 include <bits/wordsize.h>. Check __x86_64__ instead of
48430 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
48431 if __x86_64__ is defined. Use anonymous union on fpstate.
48433 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
48436 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
48438 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
48439 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
48440 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
48441 Refer to _rtld_local_ro instead of _rtld_global_ro.
48442 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48444 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48446 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48448 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48449 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48450 of _rtld_global, and rtld_progname instead of _dl_argv[0].
48452 * sysdeps/powerpc/powerpc32/dl-machine.c
48453 (__elf_machine_runtime_setup) [PROF]: Don't reference
48456 2012-05-18 Andreas Jaeger <aj@suse.de>
48458 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48459 function only available for GCCs before 3.4 since GCC 3.4
48460 introduced a builtin.
48462 (llrintf): Likewise.
48463 (llrint): Likewise.
48470 (nearbyint): Likewise.
48471 (nearbyintf): Likewise.
48475 (floorf): Likewise.
48477 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
48479 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48480 on both fields and cast pointer to __syscall_ulong_t.
48482 * bits/types.h (__fsword_t): New type.
48483 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48484 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48485 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48486 (__FSWORD_T_TYPE): Likewise.
48487 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48488 (__FSWORD_T_TYPE): Likewise.
48489 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48490 (__FSWORD_T_TYPE): Likewise.
48491 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48492 (__FSWORD_T_TYPE): Likewise.
48493 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48494 __SWORD_TYPE with __fsword_t.
48495 (statfs64): Likewise.
48497 2012-05-17 David S. Miller <davem@davemloft.net>
48499 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48501 2012-05-17 Andreas Jaeger <aj@suse.de>
48503 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48506 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
48508 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48510 2012-05-17 Andreas Jaeger <aj@suse.de>
48512 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48515 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
48517 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48519 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
48521 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48522 * sysdeps/x86_64/tst-mallocalign1.c: New file.
48524 2012-05-17 Andreas Jaeger <aj@suse.de>
48525 Carlos O'Donell <carlos_odonell@mentor.com>
48528 * sysdeps/x86_64/multiarch/init-arch.h
48529 (bit_YMM_Usable): Rename to...
48530 (bit_AVX_Usable): ... this.
48531 (bit_FMA4_Usable): New macro.
48532 (bit_XMM_state): New macro.
48533 (bit_YMM_state): New macro.
48534 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48535 [__ASSEMBLER__] (index_AVX_Usable): ... this.
48536 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48537 (CPUID_OSXSAVE): New macro.
48538 (CPUID_AVX): New macro.
48539 (CPUID_FMA4): New macro.
48540 (index_YMM_Usable): Rename to...
48541 (index_AVX_Usable): ... this.
48542 (HAS_AVX): Use HAS_ARCH_FEATURE.
48543 (HAS_FMA4): Likewise.
48544 (HAS_YMM_USABLE): Remove.
48545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48546 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48548 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48549 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48550 * sysdeps/x86_64/multiarch/Makefile: Likewise.
48551 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48552 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48554 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
48556 * math/libm-test.c: Support platforms without multiple rounding modes.
48557 * math/bug-nextafter.c: Support platforms without FP exceptions.
48558 * math/bug-nexttoward.c: Likewise.
48559 * math/test-fenv.c: Likewise.
48560 * math/test-misc.c: Likewise.
48561 * stdlib/bug-getcontext.c: Likewise.
48563 2012-05-17 Andreas Jaeger <aj@suse.de>
48565 * manual/examples/search.c (critter_cmp): Change signature to
48567 * manual/string.texi (Collation Functions): Likewise.
48569 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48571 * bits/types.h: Fold copyright years.
48572 * bits/typesizes.h: Likewise.
48573 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48574 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48575 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48576 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48577 * time/time.h: Likewise.
48579 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
48582 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48583 in instead of returning them. Return void.
48584 (__libc_mallinfo): Accumulate over all arenas.
48585 (__malloc_stats): Adjust for change in int_mallinfo interface.
48587 2012-05-16 Roland McGrath <roland@hack.frob.com>
48590 * configure.in (NM): Add AC_CHECK_TOOL for it.
48591 (libc_extra_cflags): New substituted variable.
48592 Check for -fstack-protector being used implicitly.
48593 * configure: Regenerated.
48594 * config.make.in (config-extra-cflags): New variable,
48595 gets @libc_extra_cflags@.
48596 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48599 * configure.in: Check for _FORTIFY_SOURCE being predefined.
48600 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48601 * configure: Regenerated.
48602 * config.make.in (CPPUNDEFS): New substituted variable.
48603 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48604 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48605 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48607 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48609 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48610 (mq_attr): Use __syscall_slong_t.
48612 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48614 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48615 Check __x86_64__ instead of __WORDSIZE.
48616 (_STAT_VER_LINUX): Likewise.
48617 (stat): Check __x86_64__ instead of __WORDSIZE. Use
48618 __syscall_ulong_t and __syscall_slong_t.
48619 (stat64): Likewise.
48621 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48623 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48625 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48627 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48629 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48631 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48634 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48635 include <bits/wordsize.h>. Check __x86_64__ instead of
48637 (greg_t): Use "__extension__ long long int" if __x86_64__ is
48639 (mcontext_t): Replace "unsigned long" with "unsigned long long".
48641 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48642 include <bits/wordsize.h>. Check __x86_64__ instead of
48644 (user_regs_struct): Use "__extension__ unsigned long long"
48645 instead of "unsigned long" if __x86_64__ is defined.
48646 (user): Likewise. Pad after pointer field if __ILP32__ is
48649 2012-05-16 Joseph Myers <joseph@codesourcery.com>
48651 * configure.in (makeinfo): Require version 4.5 or later. Allow
48653 * configure: Regenerated.
48654 * manual/install.texi (texinfo): Increase version requirement to
48656 * INSTALL: Regenerated.
48658 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48660 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48662 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48664 * sysdeps/x86_64/x32/ffs.c: New file.
48666 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48668 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48669 defined. Use __syscall_ulong_t.
48670 (shminfo): Use __syscall_ulong_t.
48671 (shm_info): Likewise.
48673 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48676 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48678 (msgqnum_t): Use __syscall_ulong_t.
48679 (msglen_t): Likewise.
48680 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
48683 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48684 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
48686 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48688 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48689 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48691 * sysvipc/sys/msg.h (msgbuf): Replace long int with
48694 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48695 include <bits/wordsize.h>. Check __x86_64__ instead of
48698 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48699 "unsigned long long int" if __x86_64__ is defined.
48700 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48702 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48703 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
48704 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48706 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48708 (GET_PC): Cast to uintptr_t first.
48709 (GET_FRAME): Likewise.
48710 (GET_STACK): Likewise.
48712 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48713 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48714 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48715 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48716 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48717 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48718 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48719 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48720 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48721 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48722 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48723 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48724 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48725 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48726 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48727 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48728 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48729 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48730 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48731 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48732 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48733 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48734 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48735 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48736 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48737 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48738 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48739 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48740 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48742 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
48744 * Makerules (+depfiles): Also collect depfiles from .oS in
48746 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48747 .oS, $(libnldbl-routines)).
48749 * Makerules (native-compile-mkdep-flags): Define.
48750 * sunrpc/Makefile (extra-objs): Add $(addprefix
48751 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48752 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48753 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
48754 calling $(make-target-directory).
48756 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48758 * bits/types.h (__snseconds_t): Removed.
48759 * time/time.h (struct timespec): Replace __snseconds_t with
48761 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48762 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48764 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48765 (__SNSECONDS_T_TYPE): Likewise.
48766 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48767 (__SNSECONDS_T_TYPE): Likewise.
48768 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48769 (__SNSECONDS_T_TYPE): Likewise.
48771 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48773 * sysdeps/mach/hurd/bits/typesizes.h
48774 (__SYSCALL_SLONG_TYPE): New macro.
48775 (__SYSCALL_ULONG_TYPE): Likewise.
48777 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48779 * bits/types.h (__syscall_slong_t): New type.
48780 (__syscall_ulong_t): Likewise.
48782 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48783 (__SYSCALL_ULONG_TYPE): Likewise.
48784 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48785 (__SYSCALL_SLONG_TYPE): Likewise.
48786 (__SYSCALL_ULONG_TYPE): Likewise.
48787 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48788 (__SYSCALL_SLONG_TYPE): Likewise.
48789 (__SYSCALL_ULONG_TYPE): Likewise.
48790 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48791 (__SYSCALL_SLONG_TYPE): Likewise.
48792 (__SYSCALL_ULONG_TYPE): Likewise.
48794 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48796 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48797 Add sigaltstack-offsets.sym.
48798 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48799 <sigaltstack-offsets.h>.
48800 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
48801 longjmp_msg pointer.
48802 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
48803 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48805 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48807 2012-05-15 Joseph Myers <joseph@codesourcery.com>
48809 * elf/stackguard-macros.h: Remove file.
48810 * sysdeps/generic/stackguard-macros.h: New file.
48811 * sysdeps/i386/stackguard-macros.h: Likewise.
48812 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48813 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48814 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48815 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48816 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48817 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48818 * sysdeps/x86_64/stackguard-macros.h: Likewise.
48819 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48820 <elf/stackguard-macros.h>.
48823 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48824 __aligned__ in attribute.
48825 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48826 (gregset_t): Likewise.
48828 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48830 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48831 * sysdeps/x86_64/64/Implies-after: Here. New file.
48832 * sysdeps/x86_64/x32/Implies-after: New file.
48834 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48836 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48837 and access return value for _dl_profile_fixup. Use R10_LP to
48840 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48842 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48844 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48846 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48847 * sysdeps/x86_64/x32/sysdep.h: New file.
48849 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48851 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48852 * sysdeps/x86_64/setjmp.S: Likewise.
48854 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48856 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48857 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48858 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48859 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48860 remove unused global constant.
48862 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
48864 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48865 include of <not-cancel.h>.
48867 2012-05-15 Roland McGrath <roland@hack.frob.com>
48869 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48871 2012-05-15 Jeff Law <law@redhat.com>
48872 Andreas Jaeger <aj@suse.de>
48875 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48877 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48878 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48879 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48880 code changing __hst_map_handle.map.
48882 2012-05-15 Roland McGrath <roland@hack.frob.com>
48884 * configure.in (sysnames): Look for Implies-before and Implies-after
48886 * configure: Regenerated.
48888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48890 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48891 8-byte data alignment with LP_SIZE alignment.
48893 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48895 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48898 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48900 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48902 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48904 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48905 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48906 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48908 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48912 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48913 (stackinfo_sub_sp): Likewise.
48915 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48917 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48920 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48922 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48925 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48927 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48930 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48932 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48936 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48937 into R11_LP and load __x86_64_shared_cache_size_half into
48940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48942 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48945 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48947 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48949 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48951 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48953 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48954 powerpc32/power7/fpu/s_logb.c via #include.
48955 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48956 powerpc32/power7/fpu/s_logbf.c via #include.
48957 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48958 powerpc32/power7/fpu/s_logbl.c via #include.
48960 2012-05-15 Joseph Myers <joseph@codesourcery.com>
48962 * README.libm: Remove file.
48964 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48966 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48967 count for x32. Use R*_LP and omit operand-size suffix.
48969 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48971 * shlib-versions: Move x86_64-.*-linux.* entries to ...
48972 * sysdeps/x86_64/64/shlib-versions: Here. New file.
48973 * sysdeps/x86_64/x32/shlib-versions: New file.
48975 2012-05-14 Roland McGrath <roland@hack.frob.com>
48977 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48978 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48979 Use _dl_fatal_printf instead.
48981 2012-05-14 Joseph Myers <joseph@codesourcery.com>
48983 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48984 set if not set by the user. Do not allow for being unset.
48985 * sysdeps/unix/sysv/linux/configure: Regenerated.
48987 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48989 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48990 the `q' suffix from lea and replace .quad with ASM_ADDR.
48992 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48994 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48995 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
48997 (PTR_DEMANGLE): Likewise.
48999 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49001 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49003 (ASM_ADDR): Likewise.
49004 (RAX_LP): Likewise.
49005 (RBP_LP): Likewise.
49006 (RBX_LP): Likewise.
49007 (RCX_LP): Likewise.
49008 (RDI_LP): Likewise.
49009 (RSI_LP): Likewise.
49010 (RSP_LP): Likewise.
49013 (R10_LP): Likewise.
49014 (R10_LP): Likewise.
49015 (R11_LP): Likewise.
49016 (R12_LP): Likewise.
49017 (R13_LP): Likewise.
49018 (R14_LP): Likewise.
49019 (R15_LP): Likewise.
49021 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49023 * sysdeps/x86_64/x32/dl-machine.h: New file.
49025 2012-05-14 Andreas Jaeger <aj@suse.de>
49027 * manual/Makefile (subdir): Remove export of subdir.
49028 (all): Remove target.
49029 (.PHONY): Remove all from list.
49030 (mkinstalldirs): Remove.
49031 (.PHONY): Remove installdirs from list.
49032 ($(inst_infodir)/libc.info): Use make-target-directory.
49033 (installdirs): Remove.
49034 (subdir_%): Remove.
49035 (glibc-targets): Remove.
49038 ($(objpfx)stubs ../po/manual.pot): Remove.
49039 ($(objpfx)stamp%): Remove.
49040 (make-target-directory): Remove.
49041 (subdir_install): Remove.
49042 (routines): Remove.
49049 * manual/.gitignore: Remove, it's not needed anymore.
49050 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49052 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49054 (texis): Renamed to $(objpfx)texis.
49055 (texis-path): New, contains path to generated files.
49056 (chapters.%): Use texis-path for complete path, add extra argument
49058 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49059 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49060 (summary,texi, stamp-summary): Use complete path of
49061 files. Generate files in build dir.
49062 (dir-add.texi): Build in build dir.
49063 (libm-err.texi,stamp-libm-err): Likewise.
49064 (version.texi, stamp-version): Likewise.
49065 (.%c.texi): Likewise.
49066 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49067 (mostlyclean): Remove target.
49068 (realclean): Remove target.
49069 (generated): Add new variable with contents from mostlyclean and
49070 realclean, remove entries duplicated in common-mostlyclean, add
49071 stamp-libm-err and stamp-version.
49072 (generated-dirs): Add libc directory.
49073 ($(inst_infodir)/libc.info): Install files from build dir.
49075 * manual/install.texi (Configuring and compiling): Adjust since
49076 the info files are not part of the tar ball anymore.
49078 2012-05-14 Andreas Jaeger <aj@suse.de>
49080 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49083 2012-05-14 Joseph Myers <joseph@codesourcery.com>
49086 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49087 to 2.2.0 where earlier.
49088 * sysdeps/unix/sysv/linux/configure: Regenerated.
49089 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49090 Remove conditional code.
49091 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49092 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49093 Remove conditional code.
49094 [!__NR_lchown]: Likewise.
49095 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49096 [__NR_lchown]: Likewise.
49097 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49098 comment referencing __ASSUME_LCHOWN_SYSCALL.
49099 * sysdeps/unix/sysv/linux/i386/sigaction.c
49100 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49101 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49102 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49103 Remove conditional code.
49104 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49105 (__protocol_available): Remove #if 0 code.
49106 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49108 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49109 * sysdeps/unix/sysv/linux/kernel-features.h
49110 (__ASSUME_GETCWD_SYSCALL): Don't define.
49111 (__ASSUME_REALTIME_SIGNALS): Likewise.
49112 (__ASSUME_PREAD_SYSCALL): Likewise.
49113 (__ASSUME_PWRITE_SYSCALL): Likewise.
49114 (__ASSUME_POLL_SYSCALL): Likewise.
49115 (__ASSUME_LCHOWN_SYSCALL): Likewise.
49116 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49118 (__ASSUME_SIOCGIFNAME): Don't define.
49119 (__ASSUME_MSG_NOSIGNAL): Likewise.
49120 (__ASSUME_SENDFILE): Define unconditionally.
49121 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49122 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49124 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49125 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49126 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49127 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49128 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49129 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49130 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49132 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49133 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49135 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49136 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49138 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49139 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49141 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49142 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49144 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49145 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49147 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49148 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49150 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49151 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49153 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49154 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49155 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49156 Remove conditional code.
49157 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49158 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49159 Remove conditional code.
49160 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49161 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49162 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49163 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49164 Remove conditional code.
49165 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49166 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49167 Remove conditional code.
49168 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49169 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49170 Remove conditional code.
49171 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49172 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49173 Remove conditional code.
49174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49175 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49176 Remove conditional code.
49177 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49178 * sysdeps/unix/sysv/linux/sh/pwrite64.c
49179 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49180 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49181 * sysdeps/unix/sysv/linux/sigaction.c
49182 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49183 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49184 * sysdeps/unix/sysv/linux/sigpending.c
49185 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49186 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49187 * sysdeps/unix/sysv/linux/sigprocmask.c
49188 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49189 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49190 * sysdeps/unix/sysv/linux/sigsuspend.c
49191 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49192 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49193 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49194 (__libc_missing_rt_sigs): Remove.
49195 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49196 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49197 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49198 Remove conditional code.
49199 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49200 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49202 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49203 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49204 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49205 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49207 2012-05-14 Andreas Jaeger <aj@suse.de>
49209 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49210 it's not used in glibc.
49211 (__coshm1): Likewise.
49212 (__acosh1p): Likewise.
49215 * manual/string.texi (Copying and Concatenation): Add missing
49216 variable in concat example.
49217 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49219 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49222 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49223 __builtin_clzl with __builtin_clzll.
49225 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49228 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49231 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49233 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49234 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49235 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49236 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49238 2012-05-14 Mike Frysinger <vapier@gentoo.org>
49240 * NEWS: Update ia64 info.
49242 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
49244 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49247 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
49249 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49250 * sysdeps/unix/syscalls.list (dup3): Likewise.
49251 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49252 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49254 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
49256 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49257 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49259 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
49261 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49263 (TLS_IE): Use mov/add instead of movq/addq to load thread
49265 (TLS_GD_PREFIX): New.
49268 2012-05-11 David S. Miller <davem@davemloft.net>
49270 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49271 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49272 (_FPU_SETCW): Likewise.
49274 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49276 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49277 is 32-byte aligned.
49279 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
49282 * iconvdata/gb18030.c: Update tables.
49283 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
49284 characters specially.
49285 (BODY for TO_LOOP): Add encoding of missing ranges.
49287 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
49290 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49291 * sysdeps/mach/hurd/dup3.c: Likewise.
49292 * sysdeps/mach/hurd/readlinkat.c: Likewise.
49293 * sysdeps/powerpc/memmove.c:: Likewise.
49295 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49297 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49298 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49300 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49302 * elf/elf.h (R_X86_64_RELATIVE64): New.
49303 (R_X86_64_NUM): Updated.
49304 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49305 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
49306 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49307 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49308 tst-quad1pie tst-quad2pie
49309 (modules-names): Add tst-quadmod1 tst-quadmod2.
49310 ($(objpfx)tst-quad1): New dependency.
49311 ($(objpfx)tst-quad2): Likewise.
49312 ($(objpfx)tst-quad1pie): Likewise.
49313 ($(objpfx)tst-quad2pie): Likewise.
49314 * sysdeps/x86_64/tst-quad1.c: New file.
49315 * sysdeps/x86_64/tst-quad1pie.c: New file.
49316 * sysdeps/x86_64/tst-quad2.c: Likewise.
49317 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49318 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49319 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49320 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49321 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49323 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49325 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49326 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49327 * streams/stropts.h (t_scalar_t): Define type.
49329 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49330 (_PATH_PRESERVE): Set to "/var/lib".
49331 (_PATH_RWHODIR): Set to "/var/spool/rwho".
49333 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49336 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
49337 if __dir_mkfile succeeded.
49339 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49340 checking for _hurd_dtablesize. Unlock it right after having
49341 finished _hurd_dtable allocation.
49343 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49345 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49346 * sysdeps/mach/hurd/configure: Regenerated.
49347 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49348 special-casing to...
49349 * sysdeps/gnu/configure.in: ... this new file.
49350 * sysdeps/unix/sysv/linux/configure: Regenerated.
49351 * sysdeps/gnu/configure: New generated file.
49353 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49354 for Linux: use nsec instead of usec, as well as:
49355 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49356 members of type struct timespec.
49357 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49359 (struct stat64): Likewise.
49360 (_STATBUF_ST_NSEC): New macro.
49361 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49363 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49364 __strtoul_internal rather than strtoul.
49366 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49368 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49371 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49373 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49374 which preserves existing values.
49375 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49377 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49379 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
49380 TIMEOUT values. Return EINVAL for NFDS values either negative or
49381 greater than FD_SETSIZE.
49383 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49385 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
49386 allocated, call __vm_protect to finish enabling the existing space, and
49387 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
49388 allocate the remainder.
49390 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49392 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
49393 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
49395 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49397 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
49398 sysdeps/mach/hurd/readlink.c.
49400 * posix/tst-sysconf.c (posix_options): Only use
49401 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
49402 _POSIX_SYNCHRONIZED_IO when they are defined
49403 * sysdeps/mach/hurd/bits/posix_opt.h:
49404 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
49405 (_XOPEN_REALTIME): Undefine macro.
49406 (_XOPEN_REALTIME_THREADS): Undefine macro.
49407 (_XOPEN_SHM): Undefine macro.
49408 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49410 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
49412 (_POSIX_ASYNC_IO): Undefine macro.
49413 (_POSIX_PRIORITIZED_IO): Undefine macro.
49414 (_POSIX_SPIN_LOCKS): Define macro to -1.
49416 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
49417 SA_NODEFER, SA_RESETHAND.
49418 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
49419 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
49422 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49424 * elf/Makefile (pldd-modules): Define unconditionally.
49426 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49428 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
49430 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49432 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
49433 Return ENOENT when name is empty.
49434 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
49436 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49438 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
49440 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
49442 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49444 Fix mlock in all cases except non-readable pages.
49445 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49446 instead of VM_PROT_ALL as parameter to __vm_wire function.
49448 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49449 (__mkdir): When path is `/', just fail with EEXIST.
49450 * sysdeps/mach/hurd/mkdirat.c: Likewise.
49452 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49454 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49455 <sys/uio.h> (for writev).
49456 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49457 and <sys/param.h> (for MIN).
49459 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49461 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49462 REQUESTED_TIME. Properly set the remaining time and return EINTR
49465 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49467 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49468 Depend on against $(link-rpcuserlibs).
49470 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49472 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49473 (__libc_stack_end): Do not use attribute_relro.
49474 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49475 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49476 to libthread-provided value.
49477 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49480 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49483 * bits/libc-lock.h (__libc_once_get): New macro.
49484 * sysdeps/mach/bits/libc-lock.h: Likewise.
49485 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49486 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49487 instead of using implementation details.
49489 * libio/fileops.c: Unconditionally include <kernel-features.h>.
49490 * libio/freopen.c: Likewise.
49491 * libio/freopen64.c: Likewise.
49492 * misc/syslog.c: Likewise.
49493 * nscd/connections.c: Likewise.
49494 * nscd/netgroupcache.c: Likewise.
49495 * sysdeps/posix/getcwd.c: Likewise.
49497 2012-05-10 Roland McGrath <roland@hack.frob.com>
49499 * math/w_ilogbf.c: Add #include <limits.h>.
49501 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49503 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49504 path instead of returning without unlocking.
49506 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49507 immediate-write ioctls.
49508 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49510 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49512 * sysdeps/mach/hurd/i386/init-first.c (init): Use
49513 __builtin_frame_address instead of making assumptions about the
49514 location of the return address relative to DATA. Force early load of
49515 the return address.
49516 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49517 __builtin_frame_address.
49520 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49521 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
49522 implement dup3 and do some further code clean-ups.
49523 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49524 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49526 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49528 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49530 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49531 HURD_CRITICAL_END around holding _hurd_dtable_lock.
49532 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49533 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49534 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49537 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49538 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
49539 when handler == SIG_ERR, not when handler != SIG_ERR.
49541 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49543 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49544 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49547 accept4 for GNU Hurd.
49548 * include/sys/socket.h (__libc_accept4): New prototype.
49549 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
49550 to implement __libc_accept4.
49551 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49553 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49555 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49556 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49557 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49558 signal-defines.sym.
49560 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49562 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49564 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49566 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49567 assertion on O_CLOEXEC flag.
49568 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49569 * hurd/intern-fd.c: Likewise.
49570 * hurd/port2fd.c: Likewise.
49572 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49575 * bits/in.h (IPV6_PKTINFO): Define new macro.
49576 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49578 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49583 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49584 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49585 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49586 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49587 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49588 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49589 * math/libm-test.inc (logb_test) : Additional logb tests.
49591 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
49592 Andreas Jaeger <aj@suse.de>
49594 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49595 * configure: Regenerated.
49596 * config.h.in (LINK_OBSOLETE_RPC): New macro.
49597 * config.make.in (link-obsolete-rpc): New substituted variable.
49598 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49599 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49600 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49601 (shared-only-routines): Don't set it under [link-obsolete-rpc],
49602 so that libc.a contains the symbols.
49603 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49604 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49605 * sunrpc/auth_none.c: Likewise.
49606 * sunrpc/auth_unix.c: Likewise.
49607 * sunrpc/authdes_prot.c: Likewise.
49608 * sunrpc/authuxprot.c: Likewise.
49609 * sunrpc/clnt_gen.c: Likewise.
49610 * sunrpc/clnt_perr.c: Likewise.
49611 * sunrpc/clnt_raw.c: Likewise.
49612 * sunrpc/clnt_simp.c: Likewise.
49613 * sunrpc/clnt_tcp.c: Likewise.
49614 * sunrpc/clnt_udp.c: Likewise.
49615 * sunrpc/clnt_unix.c: Likewise.
49616 * sunrpc/des_crypt.c: Likewise.
49617 * sunrpc/des_soft.c: Likewise.
49618 * sunrpc/get_myaddr.c: Likewise.
49619 * sunrpc/key_call.c: Likewise.
49620 * sunrpc/key_prot.c: Likewise.
49621 * sunrpc/netname.c: Likewise.
49622 * sunrpc/pm_getmaps.c: Likewise.
49623 * sunrpc/pm_getport.c: Likewise.
49624 * sunrpc/pmap_clnt.c: Likewise.
49625 * sunrpc/pmap_prot.c: Likewise.
49626 * sunrpc/pmap_prot2.c: Likewise.
49627 * sunrpc/pmap_rmt.c: Likewise.
49628 * sunrpc/publickey.c: Likewise.
49629 * sunrpc/rpc_cmsg.c: Likewise.
49630 * sunrpc/rpc_common.c: Likewise.
49631 * sunrpc/rpc_dtable.c: Likewise.
49632 * sunrpc/rpc_prot.c: Likewise.
49633 * sunrpc/rpc_thread.c: Likewise.
49634 * sunrpc/rtime.c: Likewise.
49635 * sunrpc/svc.c: Likewise.
49636 * sunrpc/svc_auth.c: Likewise.
49637 * sunrpc/svc_raw.c: Likewise.
49638 * sunrpc/svc_run.c: Likewise.
49639 * sunrpc/svc_tcp.c: Likewise.
49640 * sunrpc/svc_udp.c: Likewise.
49641 * sunrpc/svc_unix.c: Likewise.
49642 * sunrpc/svcauth_des.c: Likewise.
49643 * sunrpc/xcrypt.c: Likewise.
49644 * sunrpc/xdr.c: Likewise.
49645 * sunrpc/xdr_array.c: Likewise.
49646 * sunrpc/xdr_float.c: Likewise.
49647 * sunrpc/xdr_intXX_t.c: Likewise.
49648 * sunrpc/xdr_mem.c: Likewise.
49649 * sunrpc/xdr_rec.c: Likewise.
49650 * sunrpc/xdr_ref.c: Likewise.
49651 * sunrpc/xdr_sizeof.c: Likewise.
49652 * sunrpc/xdr_stdio.c: Likewise.
49654 2012-05-10 Roland McGrath <roland@hack.frob.com>
49656 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49657 change. Update copyright years.
49659 2012-05-10 Joseph Myers <joseph@codesourcery.com>
49661 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49663 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
49664 Joseph Myers <joseph@codesourcery.com>
49665 Paul Pluzhnikov <ppluzhnikov@google.com>
49668 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49670 [cross-compiling] (extra-libs): Likewise.
49671 [cross-compiling] (extra-libs-others): Likewise.
49672 [cross-compiling] (librpcsvc-routines): Likewise.
49673 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49674 [cross-compiling] (omit-deps): Likewise.
49675 (sunrpc-CPPFLAGS): New variable.
49676 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49677 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49678 (cross-rpcgen-objs): New variable.
49679 (extra-objs): Append $(cross-rpcgen-objs).
49680 ($(cross-rpcgen-objs)): New rule.
49681 ($(objpfx)cross-rpcgen): Likewise.
49682 (rpcgen-cmd): Define to use $(built-program-file). Expand
49684 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49685 ($(objpfx)x%.stmp): Likewise.
49686 * sunrpc/proto.h [IS_IN_build] (_): Define.
49687 [IS_IN_build] (_libc_intl_domainname): Likewise.
49689 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49691 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49692 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49693 and R_X86_64_TPOFF64.
49695 2012-05-10 Joseph Myers <joseph@codesourcery.com>
49697 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49698 sysdeps/unix/sysv/syscalls.list.
49701 * sysdeps/unix/sysv/syscalls.list: Remove file.
49703 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
49706 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49707 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49708 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49709 (__LC_IDENTIFICATION): Make these macros useful in #if
49710 expressions, as required by C99.
49712 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
49714 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49715 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
49718 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
49720 * stdlib/longlong.h: Updated from GCC.
49722 2012-05-09 Andreas Jaeger <aj@suse.de>
49724 * nscd/nscd.c (run_modes): Make named enum, reorder so that
49725 default is first entry.
49726 (run_mode): Set type.
49727 (main): Remove informal message about syslog.
49728 (options): Fix typo.
49731 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49734 (llrintf): Likewise.
49735 (llrint): Likewise.
49738 (nearbyint): Likewise.
49739 (nearbyintf): Likewise.
49741 2012-05-09 Andreas Jaeger <aj@suse.de>
49742 Pedro Alves <palves@redhat.com>
49744 * nscd/nscd.c (run_mode): Use enum.
49745 (main): Cleanup coding style issue.
49747 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
49748 Andreas Jaeger <aj@suse.de>
49750 * nscd/nscd.c (go_background): Replaced with...
49751 (run_mode): ... this.
49752 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49753 (options): Add -F --foreground.
49754 (main): Implement it.
49755 (parse_opt): Parse it.
49757 2012-05-09 Andreas Jaeger <aj@suse.de>
49760 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49761 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49762 -Wconversion warning.
49763 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49766 2012-05-09 Joseph Myers <joseph@codesourcery.com>
49768 * conform/data/locale.h-data (NULL): Use macro-constant. Require
49770 (LC_ALL): Use macro-int-constant.
49771 (LC_COLLATE): Likewise.
49772 (LC_CTYPE): Likewise.
49773 (LC_MESSAGES): Likewise.
49774 (LC_MONETARY): Likewise.
49775 (LC_NUMERIC): Likewise.
49776 (LC_TIME): Likewise.
49777 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49778 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49779 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49780 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49782 [C99-based standards] (float_t): Expect type.
49783 [C99-based standards] (double_t): Expect type.
49784 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
49786 [C99-based standards] (HUGE_VALL): Likewise.
49787 [C99-based standards] (INFINITY): Likewise.
49788 [C99-based standards] (NAN): Likewise.
49789 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49790 [C99-based standards] (FP_NAN): Likewise.
49791 [C99-based standards] (FP_NORMAL): Likewise.
49792 [C99-based standards] (FP_SUBNORMAL): Likewise.
49793 [C99-based standards] (FP_ZERO): Likewise.
49794 [C99-based standards] (FP_FAST_FMA): Use
49795 optional-macro-int-constant. Specify type. Require == 1.
49796 [C99-based standards] (FP_FAST_FMAF): Likewise.
49797 [C99-based standards] (FP_FAST_FMAL): Likewise.
49798 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49799 [C99-based standards] (FP_ILOGBNAN): Likewise.
49800 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49802 [C99-based standards] (MATH_ERREXCEPT): Likewise.
49803 [C99-based standards] (math_errhandling): Specify type.
49804 [ISO99 || ISO11] (signgam): Do not allow.
49805 [non-C99-based standards] (copysignf): Do not allow.
49806 [non-C99-based standards] (exp2f): Likewise.
49807 [non-C99-based standards] (log2f): Likewise.
49808 [non-C99-based standards] (modff): Allow.
49809 [non-C99-based standards] (erff): Do not allow.
49810 [non-C99-based standards] (erfcf): Likewise.
49811 [non-C99-based standards] (gammaf): Likewise.
49812 [non-C99-based standards] (hypotf): Likewise.
49813 [non-C99-based standards] (j0f): Likewise.
49814 [non-C99-based standards] (j1f): Likewise.
49815 [non-C99-based standards] (jnf): Likewise.
49816 [non-C99-based standards] (lgammaf): Likewise.
49817 [non-C99-based standards] (tgammaf): Likewise.
49818 [non-C99-based standards] (y0f): Likewise.
49819 [non-C99-based standards] (y1f): Likewise.
49820 [non-C99-based standards] (ynf): Likewise.
49821 [non-C99-based standards] (isnanf): Likewise.
49822 [non-C99-based standards] (acoshf): Likewise.
49823 [non-C99-based standards] (asinhf): Likewise.
49824 [non-C99-based standards] (atanhf): Likewise.
49825 [non-C99-based standards] (cbrtf): Likewise.
49826 [non-C99-based standards] (expm1f): Likewise.
49827 [non-C99-based standards] (ilogbf): Likewise.
49828 [non-C99-based standards] (log1pf): Likewise.
49829 [non-C99-based standards] (logbf): Likewise.
49830 [non-C99-based standards] (nextafterf): Likewise.
49831 [non-C99-based standards] (remainderf): Likewise.
49832 [non-C99-based standards] (rintf): Likewise.
49833 [non-C99-based standards] (scalbf): Likewise.
49834 [non-C99-based standards] (copysignl): Likewise.
49835 [non-C99-based standards] (exp2l): Likewise.
49836 [non-C99-based standards] (log2l): Likewise.
49837 [non-C99-based standards] (modfl): Allow.
49838 [non-C99-based standards] (erfl): Do not allow.
49839 [non-C99-based standards] (erfcl): Likewise.
49840 [non-C99-based standards] (gammal): Likewise.
49841 [non-C99-based standards] (hypotl): Likewise.
49842 [non-C99-based standards] (j0l): Likewise.
49843 [non-C99-based standards] (j1l): Likewise.
49844 [non-C99-based standards] (jnl): Likewise.
49845 [non-C99-based standards] (lgammal): Likewise.
49846 [non-C99-based standards] (tgammal): Likewise.
49847 [non-C99-based standards] (y0l): Likewise.
49848 [non-C99-based standards] (y1l): Likewise.
49849 [non-C99-based standards] (ynl): Likewise.
49850 [non-C99-based standards] (isnanl): Likewise.
49851 [non-C99-based standards] (acoshl): Likewise.
49852 [non-C99-based standards] (asinhl): Likewise.
49853 [non-C99-based standards] (atanhl): Likewise.
49854 [non-C99-based standards] (cbrtl): Likewise.
49855 [non-C99-based standards] (expm1l): Likewise.
49856 [non-C99-based standards] (ilogbl): Likewise.
49857 [non-C99-based standards] (log1pl): Likewise.
49858 [non-C99-based standards] (logbl): Likewise.
49859 [non-C99-based standards] (nextafterl): Likewise.
49860 [non-C99-based standards] (remainderl): Likewise.
49861 [non-C99-based standards] (rintl): Likewise.
49862 [non-C99-based standards] (scalbl): Likewise.
49863 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49864 [non-C99-based standards] (FP_*): Do not allow.
49865 [C99-based standards] (FP_*): Change to
49866 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49867 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49869 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49870 (SIG_ERR): Likewise.
49871 [X/Open-based standards] (SIG_HOLD): Likewise.
49872 (SIG_IGN): Likewise.
49873 (SIGABRT): Use macro-int-constant. Specify type. Require
49875 (SIGFPE): Likewise.
49876 (SIGILL): Likewise.
49877 (SIGINT): Likewise.
49878 (SIGSEGV): Likewise.
49879 (SIGTER): Likewise.
49880 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49881 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49882 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49883 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49884 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49885 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49886 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49887 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49888 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49889 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49890 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49891 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49892 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49893 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49894 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49895 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49896 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49897 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49898 [X/Open-based standards] (SIGTRAP): Likewise.
49899 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49900 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49901 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49902 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49903 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49906 2012-05-08 Ian Wienand <ianw@vmware.com>
49909 * time/tzset.c (__tzset_parse_tz): Update default rules for
49910 daylight time changes in the Energy Policy Act of 2005.
49912 2012-05-09 Andreas Jaeger <aj@suse.de>
49915 * elf/ldconfig.c (parse_conf): Change string to make clear that
49916 ldconfig only issued a warning if ld.so.conf does not exist.
49918 2012-05-08 David S. Miller <davem@davemloft.net>
49920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49921 movxtod instead of popping the value on the stack.
49923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49925 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
49927 * config.h.in: Add HAVE_ARM_PCS_VFP.
49929 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
49932 * include/features.h: Warn if user requests __FORTIFY_SOURCE
49933 checking but the checks are disabled for any reason.
49935 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
49937 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49938 and ELF64_R_TYPE with ELFW(R_TYPE).
49940 2012-05-08 Joseph Myers <joseph@codesourcery.com>
49942 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49943 (ulimit): Likewise.
49945 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49946 (settimeofday): Likewise.
49948 2012-05-08 Mike Frysinger <vapier@gentoo.org>
49950 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
49951 a struct th_u2 inside the union, and move tu_block/tu_code into
49952 a new th_u3 union of tu_block/tu_code inside of that. Move
49953 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
49954 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
49955 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49956 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49957 (th_stuff): Change to th_u1.tu_stuff.
49959 (th_msg): Change to th_u1.th_u2.tu_data.
49961 2012-05-07 David S. Miller <davem@davemloft.net>
49963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49966 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49967 (SETUP_PIC_REG): Use it.
49968 (SETUP_PIC_REG_LEAF): Use it.
49970 2012-05-07 Joseph Myers <joseph@codesourcery.com>
49974 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49976 (EXPL_FINITE): Likewise.
49977 (FLDLOG): Likewise.
49978 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49979 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49981 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49983 (EXPL_FINITE): Likewise.
49984 (FLDLOG): Likewise.
49985 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49986 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49988 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
49989 test of -max_value argument for long double.
49990 * sysdeps/i386/fpu/libm-test-ulps: Update.
49991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49993 2012-05-06 David S. Miller <davem@davemloft.net>
49995 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49996 quad soft-float symbols whose references which are compiler
49998 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50000 2012-05-06 Joseph Myers <joseph@codesourcery.com>
50004 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50006 (EXPL_FINITE): Likewise.
50007 (FLDLOG): Likewise.
50010 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
50011 Adjust comments for base varying.
50012 (__expl_finite): Change alias to EXPL_FINITE.
50013 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50015 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50016 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50017 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50018 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50019 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50021 (EXPL_FINITE): Likewise.
50022 (FLDLOG): Likewise.
50025 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
50026 Adjust comments for base varying.
50027 (__expl_finite): Change alias to EXPL_FINITE.
50028 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
50030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50033 * math/libm-test.inc (check_float_internal): Correct ulp
50034 calculation for subnormal expected results.
50036 2012-05-06 Andreas Jaeger <aj@suse.de>
50038 * Makeconfig (+math-flags): New, set to -frounding-math.
50039 (+cflags): Add +math-flags so that all of glibc gets compiled with
50042 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50044 2012-05-05 Joseph Myers <joseph@codesourcery.com>
50046 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50052 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50053 (__ieee754_expl): Allow for and saturate large arguments.
50054 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50055 (u_threshold): Likewise.
50056 (__exp): Call __ieee754_exp before checking for overflow and
50058 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50059 (u_threshold): Likewise.
50060 (__expf): Call __ieee754_expf before checking for overflow and
50062 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50063 (u_threshold): Likewise.
50064 (__expl): Call __ieee754_expl before checking for overflow and
50066 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50067 (__ieee754_expl): Allow for and saturate large arguments.
50068 * math/libm-test.inc (exp_test): Add another test. Do not allow
50069 missing overflow exception on overflow.
50070 (expm1_test): Do not allow missing overflow exception on overflow.
50072 * sysdeps/i386/fpu/e_expl.c: Move to ...
50073 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
50074 rather than using inline asm.
50075 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50076 * sysdeps/x86_64/fpu/e_expl.S: Copy from
50077 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50079 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50082 (signal): Likewise.
50086 2012-05-04 Joseph Myers <joseph@codesourcery.com>
50088 * sysdeps/unix/syscalls.list (adjtime): Add entry from
50089 sysdeps/unix/common/syscalls.list.
50090 (fchmod): Likewise.
50091 (fchown): Likewise.
50092 (ftruncate): Likewise.
50093 (getrusage): Likewise.
50094 (gettimeofday): Likewise.
50095 (setpgid): Likewise.
50096 (setregid): Likewise.
50097 (setreuid): Likewise.
50098 (sigaction): Likewise.
50099 (truncate): Likewise.
50100 (vhangup): Likewise.
50101 * sysdeps/unix/common/syscalls.list: Remove file.
50102 * sysdeps/unix/bsd/Implies: Don't include unix/common.
50103 * sysdeps/unix/sysv/linux/Implies: Likewise.
50105 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
50107 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50109 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50113 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50116 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50119 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50122 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50125 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50128 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50131 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50135 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50139 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50142 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50146 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50150 2012-05-04 Joseph Myers <joseph@codesourcery.com>
50152 * sysdeps/unix/common/bits/dirent.h: Remove file.
50153 * sysdeps/unix/common/bits/fcntl.h: Likewise.
50155 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50156 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50157 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50158 * sysdeps/unix/bsd/isatty.c: Likewise.
50159 * sysdeps/unix/bsd/tcdrain.c: Likewise.
50160 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50161 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50163 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50166 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50167 long double comparison inaccuracies.
50168 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50171 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
50173 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50174 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50176 2012-05-04 Joseph Myers <joseph@codesourcery.com>
50179 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50180 nonzero digits before rounding a hex value.
50181 * stdlib/tst-strtod.c (tests): Add another test.
50183 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50185 * sysdeps/s390/fpu/libm-test-ulps: Update.
50187 2012-05-03 Andreas Jaeger <aj@suse.de>
50189 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50190 does not get optimized out.
50191 (malloc_opt_barrier): New.
50193 2012-05-03 Andreas Jaeger <aj@suse.de>
50194 Roland McGrath <roland@hack.frob.com>
50196 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50197 intermediate file deletion.
50198 (generated): Add .symlist files.
50200 2012-05-03 Joseph Myers <joseph@codesourcery.com>
50203 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50204 Redirect under this condition.
50205 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50206 [__USE_GNU] (__dprintf_chk): Not under this condition.
50207 [__USE_GNU] (__vdprintf_chk): Likewise.
50208 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50209 under this condition.
50210 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50211 [__USE_XOPEN2K8] (dprintf): Define under this condition.
50212 [__USE_XOPEN2K8] (vdprintf): Likewise.
50213 [__USE_GNU] (__dprintf_chk): Not under this condition.
50214 [__USE_GNU] (__vdprintf_chk): Likewise.
50215 [__USE_GNU] (dprintf): Likewise.
50216 [__USE_GNU] (vdprintf): Likewise.
50218 2012-05-03 Roland McGrath <roland@hack.frob.com>
50220 * elf/Makefile (common-generated): Set this instead of generated for
50221 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
50222 $(all-built-dso)-derived lists.
50224 2012-05-03 Andreas Jaeger <aj@suse.de>
50226 * sysdeps/i386/fpu/libm-test-ulps: Update.
50229 * FAQ.in: Likewise.
50230 * scripts/gen-FAQ.pl: Likewise.
50231 * manual/install.texi (Installation): Point to online location of
50233 * Makefile (files-for-dist): Remove FAQ.
50236 2012-05-02 Allan McRae <allan@archlinux.org>
50238 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50239 (LDFLAGS-reldepmod5.so): Likewise.
50240 (LDFLAGS-reldep6mod1.so): Likewise.
50241 (LDFLAGS-reldep6mod4.so): Likewise.
50242 (LDFLAGS-reldep8mod3.so): Likewise.
50243 (LDFLAGS-unload4mod1.so): Likewise.
50244 (LDFLAGS-unload4mod2.so): Likewise.
50245 (LDFLAGS-tst-initorder): Likewise.
50246 (LDFLAGS-tst-initordera2.so): Likewise.
50247 (LDFLAGS-tst-initordera3.so): Likewise.
50248 (LDFLAGS-tst-initordera4.so): Likewise.
50249 (LDFLAGS-tst-initorderb2.so): Likewise.
50250 (LDFLAGS-noload): Likewise.
50251 (LDFLAGS-next): Likewise.
50252 (LDFLAGS-order2mod1.so): Likewise.
50253 (LDFLAGS-order2mod2.so): Likewise.
50254 (LDFLAGS-tst-initorder2): Likewise.
50255 (LDFLAGS-tst-initorder2a.so): Likewise.
50256 (LDFLAGS-tst-initorder2b.so): Likewise.
50257 (LDFLAGS-tst-initorder2c.so): Likewise.
50258 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50260 2012-05-02 David S. Miller <davem@davemloft.net>
50262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50264 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
50267 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50269 2012-05-02 Andreas Jaeger <aj@suse.de>
50271 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50272 since we manipulate rounding mode.
50273 (CPPFLAGS-test-idouble.c): Likewise.
50274 (CPPFLAGS-test-ifloat.c): Likewise.
50275 (CFLAGS-test-ldouble.c): Likewise.
50276 (CFLAGS-test-double.c): Likewise.
50277 (CFLAGS-test-float.c): Likewise.
50278 (CFLAGS-test-misc.c): Likewise.
50279 (CFLAGS-test-test-fenv.c): Likewise.
50281 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50285 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50286 comparisons to determine direction to adjust input.
50288 2012-05-01 Roland McGrath <roland@hack.frob.com>
50290 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50291 output to the target.
50293 * scripts/localplt.awk: New file.
50294 * elf/Makefile ($(objpfx)check-localplt): Target removed.
50295 (check-localplt-CFLAGS): Variable removed.
50296 ($(all-built-dso:=.jmprel)): New static pattern rule.
50297 (generated): Add those targets.
50298 (localplt-built-dso): New variable.
50299 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50301 * elf/check-localplt.c: File removed.
50303 * scripts/check-execstack.awk: New file.
50304 * elf/Makefile ($(objpfx)check-execstack): Target removed.
50305 (check-execstack-CFLAGS): Variable removed.
50306 ($(objpfx)check-execstack.h): Target removed.
50307 ($(objpfx)execstack-default): New target.
50308 (generated): Add that instead of check-execstack.h.
50309 ($(all-built-dso:=.phdr)): New static pattern rule.
50310 (generated): Add those targets.
50311 * elf/check-execstack.c: File removed.
50313 * scripts/check-textrel.awk: New file.
50314 * elf/Makefile ($(objpfx)check-textrel): Target removed.
50315 (check-textrel-CFLAGS): Variable removed.
50316 (all-built-dso): Use := to define.o
50317 ($(all-built-dso:=.dyn)): New static pattern rule.
50318 (generated): Add those targets.
50319 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50320 * config.make.in (READELF): New substituted variable.
50321 * elf/check-textrel.c: File removed.
50323 2012-05-01 Joseph Myers <joseph@codesourcery.com>
50325 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50327 * conform/data/ctype.h-data [C99-based standards] (isblank):
50329 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50330 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50331 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50332 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50333 Specify type. Require positive value.
50334 (EILSEQ): Likewise.
50335 (ERANGE): Likewise.
50336 [ISO || POSIX] (EILSEQ): Do not expect.
50337 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50338 Specify type. Require positive value.
50339 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50340 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50341 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50342 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50343 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50344 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50345 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50346 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50347 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50348 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50349 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50350 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50351 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50352 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50353 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50354 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50355 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50356 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50357 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50358 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50359 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50360 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50361 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50362 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50363 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50364 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50365 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50366 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50367 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50368 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50369 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50370 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50371 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50372 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50373 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50374 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50375 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50376 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50377 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
50378 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
50379 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
50380 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
50381 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
50382 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
50383 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
50384 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
50385 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
50386 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
50387 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
50388 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
50389 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
50390 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
50391 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
50392 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
50393 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
50394 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
50395 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
50396 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
50397 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
50398 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
50399 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
50400 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
50401 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
50402 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
50403 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
50404 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
50405 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
50406 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
50407 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
50408 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
50409 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
50410 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
50411 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
50412 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
50413 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
50414 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
50415 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
50417 (FLT_ROUNDS): Expect as macro, not constant.
50418 (FLT_MANT_DIG): Use macro-int-constant.
50419 (DBL_MANT_DIG): Likewise.
50420 (LDBL_MANT_DIG): Likewise.
50421 (FLT_DIG): Likewise.
50422 (DBL_DIG): Likewise.
50423 (LDBL_DIG): Likewise.
50424 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
50425 (DBL_MIN_EXP): Likewise.
50426 (LDBL_MIN_EXP): Likewise.
50427 (FLT_MAX_EXP): Use macro-int-constant.
50428 (DBL_MAX_EXP): Likewise.
50429 (LDBL_MAX_EXP): Likewise.
50430 (FLT_MAX_10_EXP): Likewise.
50431 (DBL_MAX_10_EXP): Likewise.
50432 (LDBL_MAX_10_EXP): Likewise.
50433 (FLT_MAX): Use macro-constant.
50434 (DBL_MAX): Likewise.
50435 (LDBL_MAX): Likewise.
50436 (FLT_EPSILON): Use macro-constant. Give upper bound.
50437 (DBL_EPSILON): Likewise.
50438 (LDBL_EPSILON): Likewise.
50439 (FLT_MIN): Likewise.
50440 (DBL_MIN): Likewise.
50441 (LDBL_MIN): Likewise.
50442 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
50443 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
50444 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50445 [ISO11] (FLT_HAS_SUBNORM): Likewise.
50446 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50447 [ISO11] (DBL_DECIMAL_DIG): Likewise.
50448 [ISO11] (FLT_DECIMAL_DIG): Likewise.
50449 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50450 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50451 [ISO11] (FLT_TRUE_MIN): Likewise.
50452 [ISO11] (LDBL_TRUE_MIN): Likewise.
50453 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50454 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50455 (SCHAR_MIN): Use macro-int-constant. Specify type.
50456 (SCHAR_MAX): Likewise.
50457 (UCHAR_MAX): Likewise.
50458 (CHAR_MIN): Likewise.
50459 (CHAR_MAX): Likewise.
50460 (MB_LEN_MAX): Use macro-int-constant.
50461 (SHRT_MIN): Use macro-int-constant. Specify type.
50462 (SHRT_MAX): Likewise.
50463 (USHRT_MAX): Likewise.
50464 (INT_MAX): Likewise.
50465 (INT_MIN): Use macro-int-constant. Specify type. Make upper
50467 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
50469 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
50471 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
50472 bound negative. Suffix upper bound with "L".
50473 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
50475 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50477 [C99-based standards] (LLONG_MAX): Likewise.
50478 [C99-based standards] (ULLONG_MAX): Likewise.
50479 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
50481 [ISO11] (max_align_t): Require type.
50482 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50484 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50485 from $CFLAGS, without defining away __attribute__ calls.
50486 (checknamespace): Use $CFLAGS_namespace.
50488 * conform/conformtest.pl (@keywords): Only include C99 keywords
50489 for standards based on C99 or C11.
50491 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50493 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50496 * conform/conformtest.pl: Handle "macro-int-constant" and test for
50497 usability of symbols in #if.
50499 * conform/conformtest.pl: If macro or constant types start
50500 "promoted:", expect the symbol to be of the following type
50501 promoted by the integer promotions.
50503 * conform/conformtest.pl: Parse all "constant" and "macro" lines
50504 in one place. Also handle "macro-constant".
50506 * conform/conformtest.pl: Only accept expected macro values with
50507 "==". Parse all "macro" lines in one place.
50508 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50510 * conform/conformtest.pl: Handle braced types on "constant" lines
50511 instead of handling "typed-constant".
50512 * conform/data/signal.h-data: Use "constant" instead of
50515 * conform/conformtest.pl: Handle "optional-" at start of lines in
50516 one place rather than duplicating several cases. Handle each
50517 format of "macro" line with initial "optional-".
50519 * conform/conformtest.pl: Only accept expected constant or
50520 optional-constant values with "==". Parse all "constant" lines in
50521 one place. Parse all "optional-constant" lines in one place.
50522 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50523 * conform/data/fmtmsg.h-data: Likewise.
50524 * conform/data/netinet/in.h-data: Likewise.
50525 * conform/data/tar.h-data: Likewise.
50526 * conform/data/limits.h-data: Use "==" form on "constant" and
50527 "optional-constant" lines.
50529 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50530 Use -std=c99 for XOPEN2K.
50531 (@knownproblems): Remove.
50532 (newtoken): Don't check %isknown.
50534 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50535 Do not expect macro.
50536 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50537 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50538 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50539 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50540 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50541 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50542 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50543 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50544 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50545 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50546 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50547 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50548 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50549 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50550 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50551 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50552 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50553 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50554 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50555 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50556 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50557 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50558 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50559 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50560 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50561 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50562 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50563 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50564 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50565 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50566 [XPG3] (acosh): Likewise.
50567 [XPG3] (asinh): Likewise.
50568 [XPG3] (atanh): Likewise.
50569 [XPG3] (cbrt): Likewise.
50570 [XPG3] (expm1): Likewise.
50571 [XPG3] (ilogb): Likewise.
50572 [XPG3] (log1p): Likewise.
50573 [XPG3] (logb): Likewise.
50574 [XPG3] (nextafter): Likewise.
50575 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50576 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50577 [XPG3] (remainder): Likewise.
50578 [XPG3] (rint): Likewise.
50579 [XPG3 || XPG4 || UNIX98] (round): Likewise.
50580 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50581 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50582 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50583 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50584 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50585 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50586 [UNIX98 || XOPEN2K] (scalb): Expect.
50587 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50588 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50589 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50590 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50591 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50592 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50593 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50594 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50595 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50596 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50597 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50598 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50599 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50600 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50601 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50602 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50603 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50604 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50605 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50606 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50607 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50608 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50609 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50610 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50611 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50612 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50613 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50614 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50615 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50616 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50617 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50618 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50619 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50620 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50621 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50622 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50623 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50624 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50625 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50626 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50627 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50628 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50629 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50630 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50631 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50632 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50633 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50634 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50635 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50636 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50637 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50638 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50639 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50640 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50641 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50642 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50643 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50644 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50645 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50646 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50647 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50648 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50649 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50650 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50651 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50652 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50653 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50654 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50655 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50656 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50657 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50658 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50659 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50660 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50661 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50662 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50663 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50664 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50665 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50666 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50667 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50668 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50669 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50670 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50671 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50672 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50673 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50674 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50675 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50676 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50677 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50678 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50679 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50680 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50681 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50682 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50683 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50684 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50685 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50686 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50687 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50688 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50689 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50690 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50691 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50692 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50693 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50694 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50695 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50696 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50697 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50698 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50699 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50700 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50701 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50702 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50703 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50704 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50705 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50706 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50707 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50708 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50709 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50710 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50711 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50712 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50713 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50714 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50715 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50716 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50717 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50718 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50719 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50720 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50721 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50722 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50723 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50725 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50726 _XOPEN_SOURCE_EXTENDED for XPG4.
50728 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50730 * Makeconfig (localtime): Remove variable.
50731 (inst_localtime-file): Likewise.
50733 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
50735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50754 2012-05-01 Joseph Myers <joseph@codesourcery.com>
50758 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50759 comparisons to determine direction to adjust input.
50760 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50761 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50762 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50764 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50766 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50768 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50769 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50771 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50773 * math/libm-test.inc (nexttoward_test): Add more tests.
50775 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
50778 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50779 in version GLIBC_2.1, not GLIBC_2.0.
50780 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50783 2012-04-30 Joseph Myers <joseph@codesourcery.com>
50786 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50788 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50789 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50790 * math/libm-test.inc (acos_test): Add more tests.
50791 (asin_test): Likewise.
50792 * sysdeps/i386/fpu/libm-test-ulps: Update.
50793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50796 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50798 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50799 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50800 * math/libm-test.inc (acos_test_tonearest): New function.
50801 (acos_test_towardzero): Likewise.
50802 (acos_test_downward): Likewise.
50803 (acos_test_upward): Likewise.
50804 (asin_test_tonearest): Likewise.
50805 (asin_test_towardzero): Likewise.
50806 (asin_test_downward): Likewise.
50807 (asin_test_upward): Likewise.
50808 (main): Call the new functions.
50809 * sysdeps/i386/fpu/libm-test-ulps: Update.
50810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50814 * math/e_exp10.c: Include <float.h>.
50815 (__ieee754_exp10): Handle underflow here rather than multiplying
50816 large negative argument by M_LN10.
50817 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50819 * math/e_exp10l.c: Include <float.h>.
50820 (__ieee754_exp10l): Handle underflow here rather than multiplying
50821 large negative argument by M_LN10l.
50822 * math/libm-test.inc (exp10_test): Add another test. Do not allow
50823 spurious overflow exception on underflow.
50825 2012-04-29 Marek Polacek <polacek@redhat.com>
50827 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50828 (__fortify_function): New macro.
50829 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50830 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50831 __extern_always_inline.
50832 * libio/bits/stdio2.h: Likewise.
50833 * libio/bits/stdio.h: Likewise.
50834 * string/string.h: Likewise.
50835 * string/bits/string3.h: Likewise.
50836 * include/stdio.h: Likewise.
50837 * stdlib/bits/stdlib.h: Likewise.
50838 * stdlib/stdlib.h: Likewise.
50839 * rt/bits/mqueue2.h: Likewise.
50840 * rt/mqueue.h: Likewise.
50841 * posix/bits/unistd.h: Likewise.
50842 * posix/unistd.h: Likewise.
50843 * io/bits/poll2.h: Likewise.
50844 * io/bits/fcntl2.h: Likewise.
50845 * io/fcntl.h: Likewise.
50846 * io/sys/poll.h: Likewise.
50847 * misc/bits/syslog.h: Likewise.
50848 * misc/bits/syslog-ldbl.h: Likewise.
50849 * misc/sys/syslog.h: Likewise.
50850 * socket/bits/socket2.h: Likewise.
50851 * socket/sys/socket.h: Likewise.
50852 * debug/tst-chk1.c: Likewise.
50853 * wcsmbs/bits/wchar2.h: Likewise.
50854 * wcsmbs/bits/wchar-ldbl.h: Likewise.
50855 * wcsmbs/wchar.h: Likewise.
50857 2012-04-29 Andreas Jaeger <aj@suse.de>
50859 * Makerules (tests): Remove enable-check-abi protection.
50860 (check-abi-warn): Remove.
50861 (check-abi-%): Remove check-abi-warn usage.
50863 * configure.in: Remove check-abi configure option.
50864 * configure: Regenerated.
50865 * config.make.in (enable-check-abi): Remove.
50867 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
50870 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50871 double functions to double *_finite functions.
50874 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50875 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50877 * stdio-common/Makefile (tests): Add tst-sprintf3.
50878 * stdio-common/tst-sprintf3.c: New file.
50880 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50881 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50883 2012-04-28 Joseph Myers <joseph@codesourcery.com>
50885 * conform/conformtest.pl: Remove duplicate typed-constant
50888 2012-04-28 David S. Miller <davem@davemloft.net>
50890 * Makerules (%.abilist): Add vpath on sysdep_dirs.
50891 (check-abi-%): Remove AWK script prerequisite and explicit
50893 (check-abi): Rewrite to just diff the symlist with the abilist.
50894 (config-tls, config-abi-config): Delete, no longer used.
50895 (update-abi-%): Remove AWK script and explicit abilist directory.
50896 (update-abi): Rewrite to simply compare and conditionally copy the
50897 symlist and the sysdep abilist file. Remove update-abi-config
50899 * abilist/ld.abilist: Remove.
50900 * abilist/libBrokenLocale.abilist: Remove.
50901 * abilist/libanl.abilist: Remove.
50902 * abilist/libcrypt.abilist: Remove.
50903 * abilist/libdl.abilist: Remove.
50904 * abilist/librt.abilist: Remove.
50905 * abilist/libthread_db.abilist: Remove.
50906 * abilist/libutil.abilist: Remove.
50907 * scripts/extract-abilist.awk: Remove.
50908 * scripts/merge-abilist.awk: Remove.
50909 * sysdeps/generic/libcidn.abilist: New file.
50910 * sysdeps/generic/libnss_compat.abilist: New file.
50911 * sysdeps/generic/libnss_db.abilist: New file.
50912 * sysdeps/generic/libnss_dns.abilist: New file.
50913 * sysdeps/generic/libnss_files.abilist: New file.
50914 * sysdeps/generic/libnss_hesiod.abilist: New file.
50915 * sysdeps/generic/libnss_nis.abilist: New file.
50916 * sysdeps/generic/libnss_nisplus.abilist: New file.
50917 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50918 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50919 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50921 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50922 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50923 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50924 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50925 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50926 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50927 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50928 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50929 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50931 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50932 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50933 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50934 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50936 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50937 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50938 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50939 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50940 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50941 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50943 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50944 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50945 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50947 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50954 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50956 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50958 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51050 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51051 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51052 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51054 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51055 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51056 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51057 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51058 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51059 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51060 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51061 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51062 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51063 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51115 2012-04-28 Joseph Myers <joseph@codesourcery.com>
51117 * conform/conformtest.pl: Fix typo in handling typed-constant from
51120 2012-04-27 Joseph Myers <joseph@codesourcery.com>
51122 * README: Cut down references to pre-2.6 Linux kernels and
51123 Linuxthreads. Update lists of configurations in libc and ports
51124 and sort alphabetically. Say "or newer" with Linux kernel version
51127 * config.h.in [IS_IN_build]: Allow compiling without optimization.
51129 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
51132 * math/libm-test.inc (logb_test_downward): New test to expose
51133 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51136 2012-04-27 Joseph Myers <joseph@codesourcery.com>
51139 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51141 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51142 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51144 2012-04-26 Joseph Myers <joseph@codesourcery.com>
51146 * sysdeps/unix/i386/brk.S: Remove file.
51147 * sysdeps/unix/i386/dl-brk.S: Likewise.
51148 * sysdeps/unix/i386/pipe.S: Likewise.
51149 * sysdeps/unix/i386/sigreturn.S: Likewise.
51150 * sysdeps/unix/i386/syscall.S: Likewise.
51151 * sysdeps/unix/i386/vfork.S: Likewise.
51152 * sysdeps/unix/i386/wait.S: Likewise.
51154 * sysdeps/unix/common/tcsendbrk.c: Move to ...
51155 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51157 * configure.in (arm*-none*): Do not allow without
51158 --enable-hacker-mode.
51159 (netbsd*): Remove case setting base_os.
51160 (386bsd*): Likewise.
51161 (freebsd*): Likewise.
51164 (sunos*): Likewise.
51165 (ultrix*): Likewise.
51166 (newsos*): Likewise.
51167 (dynix*): Likewise.
51173 (minix*): Likewise.
51174 (irix4*): Likewise.
51175 (irix6*): Likewise.
51176 (solaris[2-9]*): Likewise.
51178 * configure: Regenerated.
51180 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51183 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51184 overflow or cancellation in calculating denominator.
51185 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51186 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51187 down expression to avoid unexpected rounding in newer GCCs.
51188 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51190 2012-04-26 David S. Miller <davem@davemloft.net>
51192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51193 long-double compat symbols.
51194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51208 2012-04-25 David S. Miller <davem@davemloft.net>
51210 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51211 HWCAP_* values only after the memory barriers have been defined.
51212 (atomic_full_barrier): Define.
51213 (atomic_read_barrier): Define.
51214 (atomic_write_barrier): Define.
51216 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51218 * shlib-versions: Add libgcc_s version information.
51219 * sysdeps/generic/libgcc_s.h: Remove.
51220 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51222 * sysdeps/gnu/unwind-resume.c: Likewise.
51223 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51225 2012-04-25 David S. Miller <davem@davemloft.net>
51227 * sysdeps/unix/sparc/brk.S: Delete.
51228 * sysdeps/unix/sparc/dl-brk.S: Delete.
51229 * sysdeps/unix/sparc/pipe.S: Delete.
51230 * sysdeps/unix/sparc/sysdep.S: Delete.
51231 * sysdeps/unix/sparc/sysdep.h: Delete.
51232 * sysdeps/unix/sparc/vfork.S: Delete.
51233 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51234 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51235 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51236 (ret_ERRVAL, r0, r1, MOVE): Define.
51237 (JUMPTARGET): Remove.
51238 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51239 sysdeps/unix/sparc/sysdep.h
51240 (ENTRY, END): Remove.
51241 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51243 2012-04-25 Joseph Myers <joseph@codesourcery.com>
51245 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51246 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51249 * timezone/README: Update upstream location and email address for
51251 * timezone/zdump.c: Update from tzcode 2012b.
51252 * timezone/zic.c: Likewise.
51254 * configure.in (libc_cv_as_needed): Remove test.
51255 * configure: Regenerated.
51256 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51257 conditional definition.
51258 [$(have-as-needed) != yes] (no-as-needed): Likewise.
51259 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51260 * config.make.in (have-as-needed): Remove variable.
51262 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
51263 Paul Pluzhnikov <ppluzhnikov@google.com>
51265 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51268 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
51270 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51271 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51272 * sysdeps/sh/strlen.S: Likewise.
51274 2012-04-24 Joseph Myers <joseph@codesourcery.com>
51276 * sysdeps/unix/fork.S: Remove file.
51277 * sysdeps/unix/i386/fork.S: Likewise.
51278 * sysdeps/unix/sparc/fork.S: Likewise.
51280 * sysdeps/unix/system.c: Remove file.
51281 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51283 * sysdeps/unix/getegid.S: Remove file.
51284 * sysdeps/unix/geteuid.S: Likewise.
51286 2012-04-24 Roland McGrath <roland@hack.frob.com>
51288 * scripts/check-localplt.awk: New file.
51289 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51291 * scripts/data/localplt-generic.data: Add a comment.
51293 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51294 NODE when __dir_mkfile failed.
51295 * sysdeps/mach/hurd/symlinkat.c: Likewise.
51296 Reported by Ludovic Courtès <ludo@gnu.org>.
51298 2012-04-24 Andreas Jaeger <aj@suse.de>
51300 * Makerules (common-clean): Also remove gen-as-const-headers
51303 2012-04-24 Joseph Myers <joseph@codesourcery.com>
51305 * Makerules (native-compile): Do not change working directory for
51306 build. Use $(OUTPUT_OPTION) in command.
51307 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51309 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51312 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51313 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51314 * math/libm-test.inc (floor_test): Add more tests.
51315 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51317 2012-04-24 Joseph Myers <joseph@codesourcery.com>
51319 * sysdeps/unix/getdents.c: Remove file.
51320 * sysdeps/unix/sysv/getdents.c: Likewise.
51321 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51323 * sysdeps/unix/syscalls.list (madvise): Add syscall from
51324 sysdeps/unix/mman/syscalls.list.
51326 (mprotect): Likewise.
51328 (munmap): Likewise.
51329 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51330 * sysdeps/unix/mman/syscalls.list: Remove.
51331 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51333 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51334 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
51335 * configure: Regenerated.
51336 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
51337 $(libgcc_s_suffix).
51338 * config.make.in (libgcc_s_suffix): Remove variable.
51340 2012-04-23 Joseph Myers <joseph@codesourcery.com>
51342 * sysdeps/unix/sysv/gethostname.c: Move to ...
51343 * sysdeps/posix/gethostname.c: ... here.
51345 * sysdeps/unix/execve.S: Remove file.
51347 * sysdeps/unix/_exit.S: Remove file.
51349 2012-04-23 Andreas Jaeger <aj@suse.de>
51352 * manual/Makefile: Remove make dist support, there's no
51353 need for a stand-alone documentation tar ball.
51354 (TEXI2DVI): Define always, it's not in Makeconfig.
51357 (edition): Removed.
51358 (glibc-doc-$(edition).tar): Removed
51362 (ETAGS): Remove, it's in Makeconfig.
51363 (move-if-change): Remove, it's in Makeconfig.
51365 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
51368 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51369 (strtod, strtof, strtold, strtol, strtoul, strtoq)
51370 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51371 (strtod_l, strtof_l, strtold_l): Remove __wur.
51372 It is not necessarily an error to ignore strtol's return value.
51373 One can reliably look at the stored endptr to decide whether
51374 the number had valid syntax.
51376 2012-04-21 Andreas Jaeger <aj@suse.de>
51379 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51381 2012-04-21 Joseph Myers <joseph@codesourcery.com>
51383 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
51384 * sysdeps/unix/sysv/Versions: Remove file.
51386 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
51389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51391 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
51394 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
51395 version from __vm86.
51397 2012-04-20 Joseph Myers <joseph@codesourcery.com>
51399 * sysdeps/unix/common/lxstat.c: Remove file.
51400 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
51402 * sysdeps/unix/sysv/Makefile: Remove file.
51404 * sysdeps/unix/sysv/direct.h: Remove file.
51406 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
51407 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
51408 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
51409 * sysdeps/unix/sysv/bits/signum.h: Likewise.
51410 * sysdeps/unix/sysv/bits/stat.h: Likewise.
51411 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
51412 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
51414 * sysdeps/unix/sysv/setrlimit.c: Remove file.
51416 * sysdeps/unix/xmknod.c: Remove file.
51417 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
51419 * sysdeps/unix/sysv/settimeofday.c: Remove file.
51421 * sysdeps/unix/sysv/i386/time.S: Remove file.
51423 * sysdeps/unix/fxstat.c: Remove file.
51424 * sysdeps/unix/xstat.c: Likewise.
51425 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
51427 * sysdeps/unix/sysv/sigaction.c: Remove file.
51429 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
51430 (sysdep_headers): Remove variable.
51431 [termio.h not in sysdep_headers] (generated): Likewise.
51432 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
51433 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
51434 * sysdeps/unix/sysv/tcdrain.c: Likewise.
51435 * sysdeps/unix/sysv/tcflow.c: Likewise.
51436 * sysdeps/unix/sysv/tcflush.c: Likewise.
51437 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
51438 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
51439 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
51440 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
51441 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
51443 * sysdeps/unix/siglist.c: Remove file.
51445 * sysdeps/unix/getppid.S: Remove file.
51447 * sysdeps/unix/mkdir.c: Remove file.
51448 * sysdeps/unix/rmdir.c: Likewise.
51450 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
51452 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51454 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51455 errlist-compat value.
51457 2012-04-18 David S. Miller <davem@davemloft.net>
51459 * sysdeps/generic/memcopy.h (reg_char): Delete.
51460 * debug/strcat_chk.c: Use char, not reg_char.
51461 * debug/strcpy_chk.c: Likewise.
51462 * debug/strncat_chk.c: Likewise.
51463 * debug/strncpy_chk.c: Likewise.
51464 * string/memchr.c: Likewise.
51465 * string/memrchr.c: Likewise.
51466 * string/rawmemchr.c: Likewise.
51467 * string/strcat.c: Likewise.
51468 * string/strchr.c: Likewise.
51469 * string/strchrnul.c: Likewise.
51470 * string/strcmp.c: Likewise.
51471 * string/strcpy.c: Likewise.
51472 * string/strncat.c: Likewise.
51473 * string/strncmp.c: Likewise.
51474 * string/strncpy.c: Likewise.
51476 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
51478 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51479 __builtin_memcopy is called when src and dest ranges are known to not
51482 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
51484 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51485 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51486 fwd_align_merge macro call.
51487 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51488 bwd_align_merge macro call.
51489 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51491 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
51493 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51494 bwd_align_merge macros.
51495 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51496 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51497 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51499 2012-04-18 David S. Miller <davem@davemloft.net>
51501 * sysdeps/sparc/sparc64/memcopy.h: Delete.
51503 2012-04-18 Andreas Jaeger <aj@suse.de>
51506 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51507 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51508 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51510 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51511 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51512 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51514 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51515 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51516 Adjust for changed ldbl-128 files.
51518 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51519 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51520 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51522 2012-04-17 David S. Miller <davem@davemloft.net>
51524 * sysdeps/sparc/sparc32/memcopy.h: Delete.
51526 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
51528 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51529 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51530 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51531 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51532 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51533 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51535 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51538 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51539 * math/libm-test.inc: Add ilogb errno and exception tests.
51540 * math/w_ilogb.c: New file: ilogb wrapper.
51541 * math/w_ilogbf.c: New file: ilogbf wrapper.
51542 * math/w_ilogbl.c: New file: ilogbl wrapper.
51543 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51544 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51545 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51546 exception being thrown with 0.0 as argument.
51547 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51548 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51549 exception being thrown with 0.0 as argument.
51550 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51551 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51552 exception being thrown with 0.0 as argument.
51553 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51554 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51555 exception being thrown with 0.0 as argument.
51556 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51557 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51558 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51559 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51560 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51561 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51562 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51563 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51564 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51566 2012-04-17 Petr Baudis <pasky@ucw.cz>
51568 * include/sys/uio.h: Change __vector to __iovec to avoid clash
51571 2012-04-16 Marek Polacek <polacek@redhat.com>
51573 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51575 2012-04-16 Marek Polacek <polacek@redhat.com>
51577 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51578 operands of fdivp instruction.
51580 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
51582 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51583 * elf/tst-auditmod3b.c: Likewise.
51584 * elf/tst-auditmod4b.c: Likewise.
51585 * elf/tst-auditmod5b.c: Likewise.
51586 * elf/tst-auditmod6b.c: Likewise.
51587 * elf/tst-auditmod6c.c: Likewise.
51588 * elf/tst-auditmod7b.c: Likewise.
51589 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51590 * sysdeps/x86_64/preconfigure.in: Likewise.
51591 * sysdeps/x86_64/preconfigure: Regenerated.
51593 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
51595 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51598 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
51600 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51601 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51603 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
51606 * locale/iso-639.def: Fix gl language name. Spotted by
51609 2012-04-12 Roland McGrath <roland@hack.frob.com>
51612 * libio/libio.h (__io_write_fn): Update comment.
51614 2012-04-12 Petr Baudis <pasky@ucw.cz>
51617 * stdio.texi (Hook Functions): The user provided writer function
51618 is not allowed to return -1.
51620 2012-04-11 David S. Miller <davem@davemloft.net>
51622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51624 2012-04-11 Mike Frysinger <vapier@gentoo.org>
51626 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51627 Add a leading slash to rtkaio.
51629 2012-04-11 Jim Meyering <meyering@redhat.com>
51632 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51633 It is not necessarily an error to ignore fwrite's return
51634 value. One can reliably use ferror to test for errors after
51637 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
51639 * bits/types.h (__snseconds_t): New type.
51640 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51642 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51643 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51644 (__SNSECONDS_T_TYPE): Likewise.
51645 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51646 (__SNSECONDS_T_TYPE): Likewise.
51647 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51648 (__SNSECONDS_T_TYPE): Likewise.
51650 2012-04-10 Andreas Jaeger <aj@suse.de>
51653 * manual/time.texi (Processor Time): Return type of times is
51654 elapsed real time since an arbitrary point in the past.
51655 (CPU Time): Move CLK_TCK from here...
51656 (Processor Time): ...to here. Correct description.
51657 * manual/conf.texi (Constants for Sysconf): Correct description of
51660 2012-04-10 David S. Miller <davem@davemloft.net>
51663 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51664 where the is a gap between DT_REL(A) and DT_JMPREL.
51666 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
51668 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51669 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51670 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51672 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
51674 * elf/dl-support.c (_dl_inhibit_cache): New variable.
51675 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51676 (dl_main): Handle --inhibit-cache.
51677 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51679 * elf/dl-load.c (_dl_map_object): Use it.
51680 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51682 2012-04-09 Joseph Myers <joseph@codesourcery.com>
51685 * sysdeps/i386/fpu/e_powl.S (p78): New object.
51686 (__ieee754_powl): Saturate large exponents rather than testing for
51687 overflow of y*log2(x).
51688 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51689 * math/libm-test.inc (pow_test): Do not permit spurious overflow
51693 * math/s_ctan.c: Include <float.h>.
51694 (__ctan): Avoid internal overflow or cancellation in calculating
51696 * math/s_ctanf.c: Likewise.
51697 * math/s_ctanl.c: Likewise.
51698 * math/s_ctanh.c: Likewise.
51699 * math/s_ctanhf.c: Likewise.
51700 * math/s_ctanhl.c: Likewise.
51701 * math/libm-test.inc (ctan_test): Add more tests.
51702 (ctanh_test): Likewise.
51703 * sysdeps/i386/fpu/libm-test-ulps: Update.
51704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51706 2012-04-09 Andreas Jaeger <aj@suse.de>
51709 * manual/filesys.texi (Directory Entries): Mention that d_namlen
51710 is an optional BSD extension.
51713 * manual/stdio.texi (Opening Streams): Document additional fopen
51716 2012-04-09 Roland McGrath <roland@hack.frob.com>
51718 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51719 %eax without telling the compiler.
51721 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
51724 * manual/install.texi: Use sourceware.org.
51726 2012-04-09 Joseph Myers <joseph@codesourcery.com>
51729 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51730 (__ieee754_pow): Generate overflow and underflow using huge*huge
51731 and tiny*tiny rather than just returning constant infinity or zero
51732 for large exponents.
51733 * math/libm-test.inc (pow_test): Require overflow exceptions for
51734 applicable cases of large exponents.
51737 * sysdeps/i386/fpu/e_pow.S (p10): New object.
51738 (__ieee754_pow): Use iterative multiplication algorithm only for
51739 integer exponents with absolute value below 1024. Check for odd
51740 integer exponents when using algorithm for real exponents.
51741 * math/libm-test.inc (pow_test): Add more tests.
51742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51744 2012-04-08 Joseph Myers <joseph@codesourcery.com>
51747 * math/libm-test.inc (exp_test): Do not allow overflow exception
51750 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
51753 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51754 instead of __kernel_standard_f.
51756 2012-04-08 Mike Frysinger <vapier@gentoo.org>
51758 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51759 * sysdeps/x86_64/memset_chk.S: Likewise.
51761 2012-04-08 Andreas Jaeger <aj@suse.de>
51764 * manual/startup.texi (Environment Access): Describe return value
51765 for putenv and setenv.
51768 * manual/filesys.texi (Directory Entries): Add description for
51772 * manual/filesys.texi (Directory Entries): Clarify that it's file
51773 system not operating system in the description of DT_UNKNOWN.
51776 * manual/syslog.texi (closelog): Fix reference, it's openlog.
51778 2012-04-08 Stephen Compall <s11@member.fsf.org>
51781 * manual/llio.texi (Opening and Closing Files): Add cross
51782 reference to explain mode argument.
51784 2012-04-07 Mike Frysinger <vapier@gentoo.org>
51786 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51787 * sysdeps/x86_64/memset_chk.S: Likewise.
51789 2012-04-07 David S. Miller <davem@davemloft.net>
51791 * elf/elf.h (R_SPARC_WDISP10): Define.
51792 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51794 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51795 R_SPARC_SIZE64 and R_SPARC_H34.
51797 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
51799 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51800 conditions and remove no longer applicable assertion.
51802 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
51804 * bits/byteswap.h: Include <features.h>.
51805 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51806 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51808 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
51810 * bits/byteswap.h (__bswap_16): Removed.
51811 Include <bits/byteswap-16.h> to get __bswap_16.
51812 * sysdeps/i386/bits/byteswap.h: Likewise.
51813 * sysdeps/s390/bits/byteswap.h: Likewise.
51814 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51815 * bits/byteswap-16.h: New file.
51816 * sysdeps/i386/bits/byteswap-16.h: Likewise.
51817 * sysdeps/s390/bits/byteswap-16.h: Likewise.
51818 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51819 * string/Makefile (headers): Add bits/byteswap-16.h.
51821 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51824 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51826 * nss/Makefile (tests-static, tests): Add tst-nss-static.
51827 * nss/tst-nss-static.c: New.
51829 2012-04-06 Robert Millan <rmh@gnu.org>
51832 * manual/llio.texi (File Position Primitive): lseek
51833 refers to WHENCE when it really means OFFSET.
51835 2012-04-06 Andreas Jaeger <aj@suse.de>
51837 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51838 strncmp declarations.
51840 * abilist/libc.abilist: Add __poll and __ppoll.
51842 2012-04-05 David S. Miller <davem@davemloft.net>
51844 * scripts/check-local-headers.sh: Accept a host triplet in the
51845 path matched by the exclude regexp.
51847 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51849 * sysdeps/powerpc/powerpc32/dl-machine.h
51850 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51851 * sysdeps/s390/s390-32/dl-machine.h
51852 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51853 * sysdeps/sparc/sparc32/dl-machine.h
51854 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51855 * sysdeps/sparc/sparc64/dl-machine.h
51856 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51858 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51860 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51861 undefined symbol errors.
51863 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51866 2012-04-05 Michael Matz <matz@suse.de>
51869 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51871 2012-04-05 Andreas Jaeger <aj@suse.de>
51874 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51877 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51879 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51880 which ROUND is no valid rounding mode.
51882 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51884 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51886 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51888 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51890 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51891 an exception using FPU order intentionally.
51893 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51895 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51896 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51897 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51898 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51900 2012-04-05 Simon Josefsson <simon@josefsson.org>
51903 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51904 EINVAL when BUFLEN is too smal.
51906 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
51909 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51910 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51912 2012-04-03 Andreas Jaeger <aj@suse.de>
51915 * manual/setjmp.texi (System V contexts): Fix sentence.
51918 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51919 New macro for this case.
51920 [!__GNUC__] (__bswap_64): New inline function for this case.
51921 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51922 * bits/byteswap.h: Likewise.
51923 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51924 ull, guard with __GLIBC_HAVE_LONG_LONG.
51926 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51927 __GLIBC_HAVE_LONG_LONG.
51929 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51930 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51932 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51935 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51936 inptr and inend, rather than using last_ch.
51938 2012-04-02 David S. Miller <davem@davemloft.net>
51940 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51941 * stdio-common/printf-parse.h (read_int): Change return type to
51942 'int', return -1 on INT_MAX overflow.
51943 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51944 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
51945 overflows INT_MAX. Check for overflow of in-format-string precision
51946 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
51947 SIZE_MAX not INT_MAX for integer overflow test.
51948 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51949 skip the construct in the format string but do not record anything.
51950 * stdio-common/bug22.c: Adjust to test both width/prevision
51951 INT_MAX overflow as well as total length INT_MAX overflow. Check
51952 explicitly for proper errno values.
51954 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
51956 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51958 * string/test-strcmp.c [! WIDE]: Likewise.
51959 * time/tst-mktime2.c: Likewise for INT_MAX.
51960 * string/test-string.h: #include <sys/param.h> for MIN.
51962 * csu/init-first.c (__libc_init_first): Call __ctype_init.
51963 * sysdeps/i386/init-first.c (init): Likewise.
51964 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51965 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51966 * sysdeps/sh/init-first.c (init): Likewise.
51968 2012-04-01 Ulrich Drepper <drepper@gmail.com>
51970 * po/ru.po: Update from translation team.
51971 * po/vi.po: Likewise.
51973 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
51975 * resolv/nss_dns/dns-host.c: Merge copyright years.
51977 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51979 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51980 Optimize memcpy with prefetch if
51981 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
51982 src, dst pointers have unequal 16 byte alignments.
51984 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51987 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51988 from a CNAME entry and return the minimum ttl for the query.
51989 (gaih_getanswer_slice): Likewise.
51991 2012-03-30 Jeff Law <law@redhat.com>
51993 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51995 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51996 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51998 * resolv/nss_dns/dns-host.c: Update copyright year.
52000 2012-03-30 Ulrich Drepper <drepper@gmail.com>
52002 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52003 requests to save a system call. Fix check that all bytes are sent.
52005 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52006 comments for sendmmsg.
52008 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52011 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52012 with only 1 character between 0x0041 and 0x01b0.
52013 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52014 * wcsmbs/tst-mbsnrtowcs.c: New file.
52016 2012-03-29 David S. Miller <davem@davemloft.net>
52018 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52019 small copies by hand.
52021 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
52024 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52025 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52028 2012-03-28 David S. Miller <davem@davemloft.net>
52030 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52031 that branches into memcpy.
52032 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52033 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52034 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52035 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52036 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52038 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52039 implementation too.
52040 * sysdeps/sparc/mempcpy.S: New file.
52042 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52043 the IFUNC routine in the libc case.
52044 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52046 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52047 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52048 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52049 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52050 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52051 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52052 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52053 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52055 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52056 loop to 256 bytes instead of 64 bytes and fix test signedness.
52058 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52059 * sysdeps/sparc/sparc32/Makefile: rather than here...
52060 * sysdeps/sparc/sparc64/Makefile: and here.
52062 2012-03-28 Ulrich Drepper <drepper@gmail.com>
52064 * malloc/mallocbug.c: Avoid warnings about unused variables.
52066 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
52069 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52070 in the right place. Discard and retry query if response is
52071 larger than input buffer size.
52073 2012-03-28 Joseph Myers <joseph@codesourcery.com>
52078 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52079 x for large integer exponent.
52080 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52081 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
52082 sign of result as needed afterwards.
52083 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52084 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52085 result for underflowing pow the same as for overflow.
52086 (__kernel_standard_l): Handle powl overflow and underflow here
52087 rather than calling __kernel_standard.
52088 * math/libm-test.inc (pow_test): Add more tests.
52103 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52104 * sysdeps/ieee754/k_standard.c: Include <float.h>.
52105 (__kernel_standard_l): New function.
52106 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52108 * math/w_acosl.c (__acosl): Likewise.
52109 * math/w_asinl.c (__asinl): Likewise.
52110 * math/w_atan2l.c (__atan2l): Likewise.
52111 * math/w_atanhl.c (__atanhl): Likewise.
52112 * math/w_coshl.c (__coshl): Likewise.
52113 * math/w_exp10l.c (__exp10l): Likewise.
52114 * math/w_exp2l.c (__exp2l): Likewise.
52115 * math/w_fmodl.c (__fmodl): Likewise.
52116 * math/w_hypotl.c (__hypotl): Likewise.
52117 * math/w_j0l.c (__j0l, __y0l): Likewise.
52118 * math/w_j1l.c (__j1l, __y1l): Likewise.
52119 * math/w_jnl.c (__jnl, __ynl): Likewise.
52120 * math/w_lgammal.c (__lgammal): Likewise.
52121 * math/w_log10l.c (__log10l): Likewise.
52122 * math/w_log2l.c (__log2l): Likewise.
52123 * math/w_logl.c (__logl): Likewise.
52124 * math/w_powl.c (__powl): Likewise.
52125 * math/w_remainderl.c (__remainderl): Likewise.
52126 * math/w_scalbl.c (sysv_scalbl): Likewise.
52127 * math/w_sinhl.c (__sinhl): Likewise.
52128 * math/w_sqrtl.c (__sqrtl): Likewise.
52129 * math/w_tgammal.c (__tgammal): Likewise.
52130 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52131 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52132 * math/libm-test.inc (acos_test): Add more tests.
52133 (acosh_test): Likewise.
52134 (asin_test): Likewise.
52135 (atanh_test): Likewise.
52136 (exp_test): Likewise.
52137 (exp10_test): Likewise.
52138 (exp2_test): Likewise.
52139 (expm1_test): Likewise.
52140 (lgamma_test): Likewise.
52141 (log_test): Likewise.
52142 (log10_test): Likewise.
52143 (log1p_test): Likewise.
52144 (log2_test): Likewise.
52145 (pow_test): Do not allow some spurious overflow exceptions.
52146 (sqrt_test): Add more tests.
52147 (tgamma_test): Likewise.
52148 (y0_test): Likewise.
52149 (y1_test): Likewise.
52150 (yn_test): Likewise.
52152 2012-03-27 Anton Blanchard <anton@samba.org>
52154 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52156 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52157 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52158 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52160 2012-03-27 David S. Miller <davem@davemloft.net>
52162 * conform/Makefile: Run run-conformtest.sh using $(BASH).
52164 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52165 have-as-vis3 check.
52167 2012-03-27 Andreas Jaeger <aj@suse.de>
52169 * sysdeps/x86_64/elf/configure.in: Moved to ...
52170 * sysdeps/x86_64/configure.in: ... here.
52171 * sysdeps/x86_64/elf/start.S: Moved to ...
52172 * sysdeps/x86_64/start.S: ... here.
52173 * sysdeps/x86_64/elf/configure: Delete.
52175 * sysdeps/x86_64/configure.in: Merge contents from
52176 sysdeps/i386/configure.in (without i686 check).
52178 * sysdeps/i386/elf/Versions: Merge into ...
52179 * sysdeps/i386/Versions: ... this.
52180 * sysdeps/i386/elf/Versions: Delete file.
52181 * sysdeps/i386/elf/start.S: Moved to ...
52182 * sysdeps/i386/start.S: ...here.
52183 * sysdeps/i386/elf/configure.in: Merge into...
52184 * sysdeps/i386/configure.in: ...here.
52185 * sysdeps/i386/elf/configure.in: Delete file.
52186 * sysdeps/i386/elf/configure: Delete file.
52188 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52189 * debug/backtracesyms.c: ... here.
52190 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52191 * debug/backtracesymsfd.c: ... here.
52192 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52193 * sysdeps/generic/ifunc-sel.h: ... here.
52195 * sysdeps/unix/i386/start.c: Delete file.
52196 * sysdeps/unix/sparc/start.c: Delete file.
52197 * sysdeps/unix/start.c: Delete file.
52199 * sysdeps/sh/elf/configure.in: Moved to ...
52200 * sysdeps/sh/configure.in: ... here.
52201 * sysdeps/sh/elf/start.S: Moved to ...
52202 * sysdeps/sh/start.S: ... here.
52203 * sysdeps/sh/elf/configure: Delete file.
52205 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52206 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52207 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52208 * sysdeps/powerpc/powerpc64/entry.h: ... here.
52209 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52210 * sysdeps/powerpc/powerpc64/start.S: here.
52211 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52212 * sysdeps/powerpc/powerpc64/Makefile: ... this.
52213 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52214 * sysdeps/powerpc/powerpc64/configure.in: ... this.
52215 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52217 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52218 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52219 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52220 * sysdeps/powerpc/powerpc32/start.S: ... here.
52221 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52222 * sysdeps/powerpc/powerpc32/configure.in: ... this.
52223 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52225 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52226 * sysdeps/powerpc/ifunc-sel.h: ... here.
52227 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52228 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52230 * sysdeps/sparc/elf/configure.in: Moved to ...
52231 * sysdeps/sparc/configure.in: ... here.
52232 * sysdeps/sparc/elf/configure: Delete file.
52233 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52234 * sysdeps/sparc/sparc32/start.S: ... here.
52235 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52236 * sysdeps/sparc/sparc64/start.S: ... here.
52237 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52238 * sysdeps/sparc/sparc32/Makefile: ... this.
52239 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52240 * sysdeps/sparc/sparc64/Makefile: ... this.
52242 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52243 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52244 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52245 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52246 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52247 * sysdeps/s390/s390-32/setjmp.S: ... here.
52248 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52249 * sysdeps/s390/s390-32/configure.in: ... here.
52250 * sysdeps/s390/s390-32/elf/configure: Delete file.
52251 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52252 * sysdeps/s390/s390-32/start.S: ... here.
52254 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52255 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52256 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52257 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52258 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52259 * sysdeps/s390/s390-64/setjmp.S: ... here.
52260 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52261 * sysdeps/s390/s390-64/configure.in: ... here
52262 * sysdeps/s390/s390-64/elf/configure: Delete file.
52263 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52264 * sysdeps/s390/s390-64/start.S: ... here.
52265 * sysdeps/s390/s390-64/elf/configure: Delete.
52267 * configure.in: Remove support for elf directories in sysdeps.
52269 * configure: Regenerated.
52270 * sysdeps/i386/configure: Regenerated.
52271 * sysdeps/powerpc/powerpc32/configure: Regenerated.
52272 * sysdeps/powerpc/powerpc64/configure: Regenerated.
52273 * sysdeps/s390/s390-32/configure: Regenerated.
52274 * sysdeps/s390/s390-64/configure: Regenerated.
52275 * sysdeps/sh/configure: Regenerated.
52276 * sysdeps/sparc/configure: Regenerated.
52277 * sysdeps/x86_64/configure: Regenerated.
52279 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
52281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52283 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52284 denormal result into account.
52286 2012-03-25 Roland McGrath <roland@hack.frob.com>
52288 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52289 Reported by Allan McRae <allan@archlinux.org>.
52291 2012-03-23 Jeff Law <law@redhat.com>
52293 * nss/getnssent.c (__nss_getent): Fix typo.
52295 2012-03-23 David S. Miller <davem@davemloft.net>
52297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52299 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
52301 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52302 to pad to uint64_t for each field.
52303 (dl_tls_index): Replace unsigned long with uint64_t.
52305 2012-03-23 Daniel Jacobowitz <dmj@google.com>
52306 Paul Pluzhnikov <ppluzhnikov@google.com>
52309 * grp/Makefile (otherlibs): Don't set it.
52310 * inet/Makefile (otherlibs): Likewise.
52311 * login/Makefile (otherlibs): Likewise.
52312 * nscd/Makefile (otherlibs): Likewise.
52313 * posix/Makefile (otherlibs): Likewise.
52314 * pwd/Makefile (otherlibs): Likewise.
52315 * rt/Makefile (otherlibs): Likewise.
52316 * sunrpc/Makefile (otherlibs): Likewise.
52317 * nss/Makefile (otherlibs): Likewise.
52318 Add libnss_files to routines and static-only-routines.
52319 ($(objpfx)getent): Remove rule.
52320 * resolv/Makefile: Add libnss_dns and libresolv to routines and
52321 static-only-routines.
52323 2012-03-22 Joseph Myers <joseph@codesourcery.com>
52326 * math/s_cexp.c: Include <float.h>.
52327 (__cexp): Handle exp result overflowing not necessarily
52328 overflowing both real and imaginary parts of result.
52329 * math/s_cexpf.c: Likewise.
52330 * math/s_cexpl.c: Likewise.
52331 * math/libm-test.inc (cexp_test): Add more tests.
52332 * sysdeps/i386/fpu/libm-test-ulps: Update.
52333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52335 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52337 * include/link.h (ELFW): New macro.
52338 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52339 Replace ELF64_R_TYPE with ELFW(R_TYPE).
52341 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52343 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52346 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52348 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52350 (struct La_x32_retval): Likewise.
52352 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52354 * sysdeps/x86_64/preconfigure.in: New file.
52355 * sysdeps/x86_64/preconfigure: New generated file.
52357 2012-03-22 Joseph Myers <joseph@codesourcery.com>
52360 * math/e_exp2l.c: Include <float.h>.
52361 (__ieee754_exp2l): Handle overflow and underflow cases
52362 separately. Only pass fractional part of argument to
52364 * math/libm-test.inc (exp2_test): Add more tests.
52366 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52367 negating x to take absolute value.
52368 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52370 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52371 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52373 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52374 computing low part if x was negated.
52375 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52377 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
52379 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
52380 la_x32_gnu_pltexit.
52381 (pltexit): Cast int_retval to ptrdiff_t.
52382 * elf/tst-auditmod3b.c: Likewise.
52383 * elf/tst-auditmod4b.c: Likewise.
52384 * elf/tst-auditmod5b.c: Likewise.
52385 * elf/tst-auditmod6b.c: Likewise.
52386 * elf/tst-auditmod6c.c: Likewise.
52387 * elf/tst-auditmod7b.c: Likewise.
52389 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
52390 and x32_gnu_pltexit.
52392 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
52393 __ELF_NATIVE_CLASS.
52394 (La_x32_regs): New macro.
52395 (La_x32_retval): Likewise.
52396 (la_x32_gnu_pltenter): New function prototype.
52397 (la_x32_gnu_pltexit): Likewise.
52399 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
52401 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
52404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52406 * configure.in (libc_cv_cc_nofma): Check for option to disable
52407 generation of FMA instructions.
52408 * configure: Regenerate.
52409 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
52410 * sysdeps/ieee754/dbl-64/Makefile: New file.
52411 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
52412 Remove brandred-fma4.
52413 (CFLAGS-brandred-fma4.c): Remove.
52414 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
52415 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
52417 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
52420 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
52422 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52423 LLONG_MAX != LONG_MAX.
52424 (_itoa_word): Use _ITOA_WORD_TYPE on value.
52425 (_fitoa_word): Likewise.
52426 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
52427 LLONG_MAX != LONG_MAX.
52428 * stdio-common/_itowa.h: Include <_itoa.h>.
52429 (_itowa_word): Use _ITOA_WORD_TYPE on value.
52430 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
52431 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
52432 only if not defined.
52433 (_ITOA_WORD_TYPE): Likewise.
52434 (_itoa_word): Use _ITOA_WORD_TYPE on value.
52435 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
52437 2012-03-21 David S. Miller <davem@davemloft.net>
52439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52441 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
52443 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
52444 of x86_64 when setting libc_cv_slibdir, libdir and
52446 * sysdeps/unix/sysv/linux/configure: Regenerated.
52448 2012-03-21 Joseph Myers <joseph@codesourcery.com>
52450 * manual/lang.texi (Old Varargs): Remove section.
52451 (How Variadic): Update menu.
52452 (va_start): Do not mention varargs.h.
52454 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
52455 Joseph Myers <joseph@codesourcery.com>
52457 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52459 * configure: Regenerated.
52461 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
52463 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52464 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52467 2012-03-21 Joseph Myers <joseph@codesourcery.com>
52470 * Makefile (files-for-dist): Remove NOTES.
52471 (NOTES): Remove rule.
52472 * README: Don't refer to NOTES.
52473 * manual/creature.texi: Don't include macros.texi.
52474 * manual/intro.texi (creature.texi): Remove comment referring to
52477 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52478 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52479 * configure: Regenerated.
52480 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52481 LIBC_TRY_CC_OPTION.
52482 (libc_cv_as_i686): Likewise.
52483 (libc_cv_cc_avx): Likewise.
52484 (libc_cv_cc_sse2avx): Likewise.
52485 (libc_cv_cc_fma4): Likewise.
52486 (libc_cv_cc_novzeroupper): Likewise.
52487 * sysdeps/i386/configure: Regenerated.
52490 * sysdeps/i386/fpu/s_cexp.S: Remove.
52491 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52492 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52493 * math/libm-test.inc (cexp_test): Add more tests.
52494 * sysdeps/i386/fpu/libm-test-ulps: Update.
52495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52497 2012-03-21 Allan McRae <allan@archlinux.org>
52499 * timezone/Makefile: Do not install iso3166.tab and zone.tab
52501 2012-03-21 Joseph Myers <joseph@codesourcery.com>
52504 * math/w_exp2.c: Do not include <float.h>.
52505 (o_threshold, u_threshold): Remove.
52506 (__exp2): Calculate result before checking finiteness and calling
52508 * math/w_exp2f.c: Likewise.
52509 * math/w_exp2l.c: Likewise.
52510 * math/libm-test.inc (exp2_test): Require overflow exception for
52514 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52515 range of signed 64-bit integers before using fistpll. Remove
52516 checks for whether integers fit in mantissa bits.
52517 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52518 the range of signed 32-bit integers before using fistpl. Remove
52519 checks for whether integers fit in mantissa bits.
52520 * sysdeps/i386/fpu/e_powl.S (p64): New object.
52521 (__ieee754_powl): Test for y outside the range of signed 64-bit
52522 integers before using fistpll. Reduce 64-bit values to 63-bit
52524 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52525 divide-by-zero is raised for zero to large negative powers.
52526 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52527 (__ieee754_powl): Test for y outside the range of signed 64-bit
52528 integers before using fistpll. Reduce 64-bit values to 63-bit
52530 * math/libm-test.inc (pow_test): Add more tests.
52532 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52534 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52535 <stdio-common/_itoa.h>.
52536 * debug/segfault.c: Likewise.
52537 * elf/dl-cache.c: Likewise.
52538 * elf/dl-minimal.c: Likewise.
52539 * elf/dl-misc.c: Likewise.
52540 * elf/dl-sysdep.c: Likewise.
52541 * elf/dl-version.c: Likewise.
52542 * elf/rtld.c: Likewise.
52543 * hurd/hurdsock.c: Likewise.
52544 * hurd/lookup-retry.c: Likewise.
52545 * malloc/malloc.c: Likewise.
52546 * malloc/mtrace.c: Likewise.
52547 * nscd/nscd_getgr_r.c: Likewise.
52548 * nscd/nscd_getpw_r.c: Likewise.
52549 * nscd/nscd_getserv_r.c: Likewise.
52550 * posix/getopt_init.c: Likewise.
52551 * posix/wordexp.c: Likewise.
52552 * stdio-common/_itoa.c: Likewise.
52553 * stdio-common/printf_fphex.c: Likewise.
52554 * stdio-common/vfprintf.c: Likewise.
52555 * string/_strerror.c: Likewise.
52556 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52557 * sysdeps/i386/i686/hp-timing.h: Likewise.
52558 * sysdeps/mach/_strerror.c: Likewise.
52559 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52560 * sysdeps/mach/hurd/sethostid.c: Likewise.
52561 * sysdeps/mach/hurd/xmknodat.c: Likewise.
52562 * sysdeps/mach/xpg-strerror.c: Likewise.
52563 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52564 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52565 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52566 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52567 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52568 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52569 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52570 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52571 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52572 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52573 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52574 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52575 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52576 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52577 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52578 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52579 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52580 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52581 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52582 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52583 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52585 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52587 * stdio-common/_itoa.h: Moved to ...
52588 * sysdeps/generic/_itoa.h: Here.
52590 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52592 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52593 instead of "_itoa.h" and "_itowa.h".
52594 * stdio-common/vfprintf.: Likewise.
52596 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52598 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52600 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52601 (__signbit): Likwise.
52602 (llrintf): Likwise.
52605 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52607 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52610 2012-03-20 Joseph Myers <joseph@codesourcery.com>
52612 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52613 OVERFLOW_EXCEPTION_OK.
52614 * math/libm-test.inc ("Philosophy"): Update comment about
52616 (OVERFLOW_EXCEPTION): Define.
52617 (OVERFLOW_EXCEPTION_OK): Likewise.
52618 (INVALID_EXCEPTION_OK): Renumber.
52619 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52620 (IGNORE_ZERO_INF_SIGN): Likewise.
52621 (test_exceptions): Handle FE_OVERFLOW.
52622 (exp10_test): Expect overflow exceptions.
52623 (exp2_test): Likewise.
52624 (expm1_test): Likewise.
52625 (nextafter_test): Likewise.
52626 (pow_test): Likewise.
52627 (scalbn_test): Likewise.
52628 (scalbln_test): Likewise.
52630 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52632 * sysdeps/x86_64/bits/atomic.h
52633 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52635 (atomic_exchange_acq): Likewise.
52636 (__arch_exchange_and_add_body): Likewise.
52637 (__arch_add_body): Likewise.
52638 (atomic_add_negative): Likewise.
52639 (atomic_add_zero): Likewise.
52641 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52643 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52644 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52646 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52648 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52649 Check __x86_64__ instead of __WORDSIZE.
52651 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52653 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52655 2012-03-19 David S. Miller <davem@davemloft.net>
52657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52659 * sysdeps/sparc/fpu/fenv_private.h: New file.
52660 * sysdeps/sparc/fpu/math_private.h: Use it.
52661 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52663 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52664 (libc_feholdexcept_setroundl): Remove.
52665 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52667 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52668 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52670 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52672 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52673 int64_t instead of long int.
52674 (INSERT_WORDS64): Likwise.
52676 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52678 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52679 _Unwind_GetCFA return to _Unwind_Ptr first.
52681 2012-03-19 Joseph Myers <joseph@codesourcery.com>
52684 * math/s_clog.c: Include <float.h>.
52685 (__clog): Scale large or subnormal inputs.
52686 * math/s_clogf.c: Likewise.
52687 * math/s_clogl.c: Likewise.
52688 * math/s_clog10.c: Include <float.h>.
52689 (M_LOG10_2): Define.
52690 (__clog10): Scale large or subnormal inputs.
52691 * math/s_clog10f.c: Likewise.
52692 * math/s_clog10l.c: Likewise.
52693 * math/libm-test.inc (clog_test): Add more tests.
52694 (clog10_test): Likewise.
52695 * sysdeps/i386/fpu/libm-test-ulps: Update.
52696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52699 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52701 * math/libm-test.inc (atan2_test): Add another test.
52703 * Makerules (common-objdir-compile): Remove.
52704 * sysdeps/unix/Makefile (config-generated): Do not add
52705 $(unix-generated) to variable.
52706 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52707 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52709 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52711 [generic bits/local_lim.h] (before-compile): Do not append to
52713 [generic bits/local_lim.h] (common-generated): Likewise.
52714 [generic sys/param.h] (before-compile): Do not append to variable.
52715 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52716 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52717 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52718 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52720 [generic sys/param.h] (sys/param.h-includes): Remove variable.
52721 [generic sys/param.h] (sys/param.h-includes): Remove rule.
52722 [generic sys/param.h] ($(addprefix
52723 $(common-objpfx),$(sys/param.h-includes))): Likewise.
52724 [generic sys/param.h] (common-generated): Do not append to
52726 [generic sys/param.h] (sysdep_headers): Likewise.
52727 [generic bits/errno.h] (before-compile): Do not append to
52729 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52731 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52732 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52733 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52734 [generic bits/errno.h] (common-generated): Do not append to
52736 [generic bits/ioctls.h] (before-compile): Do not append to
52738 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52740 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52741 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52742 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52744 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52745 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52746 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52747 [generic bits/ioctls.h] (common-generated): Do not append to
52749 [generic sys/syscall.h] (syscall.h): Remove variable.
52750 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52752 [generic sys/syscall.h] (before-compile): Do not append to
52754 [generic sys/syscall.h] (common-generated): Likewise.
52755 * sysdeps/unix/errnos-tmpl.c: Remove file.
52756 * sysdeps/unix/errnos.awk: Likewise.
52757 * sysdeps/unix/ioctls-tmpl.c: Likewise.
52758 * sysdeps/unix/ioctls.awk: Likewise.
52759 * sysdeps/unix/mk-local_lim.c: Likewise.
52760 * sysdeps/unix/snarf-ioctls: Likewise.
52762 2012-03-19 Richard Henderson <rth@twiddle.net>
52764 * sysdeps/i386/fpu/fenv_private.h: New file.
52765 * sysdeps/i386/fpu/math_private.h: Use it.
52766 (math_opt_barrier, math_force_eval): Remove.
52767 (libc_feholdexcept_setround_53bit): Remove.
52768 (libc_feupdateenv_53bit): Remove.
52769 * sysdeps/x86_64/fpu/math_private.h: Likewise.
52770 (math_opt_barrier, math_force_eval): Remove.
52771 (libc_feholdexcept): Remove.
52772 (libc_feholdexcept_setround): Remove.
52773 (libc_fetestexcept, libc_fesetenv): Remove.
52774 (libc_feupdateenv_test): Remove.
52775 (libc_feupdateenv, libc_feholdsetround): Remove.
52776 (libc_feresetround): Remove.
52778 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52779 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52781 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52782 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52783 (libc_feupdateenv_testl): New.
52784 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52785 (libc_feupdateenv_testf): New.
52786 (libc_feupdateenv): Use libc_feupdateenv_test.
52787 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52788 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52790 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52791 (libc_feholdsetroundf, libc_feholdsetroundl): New.
52792 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52793 (libc_feresetround_noex): New.
52794 (libc_feresetround_noexf): New.
52795 (libc_feresetround_noexl): New.
52796 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52797 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52798 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52799 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52801 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52802 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52804 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52805 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52806 SET_RESTORE_ROUND_NOEX.
52807 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52808 SET_RESTORE_ROUND_NOEXF.
52809 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52810 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52811 (libc_feholdsetroundf): New.
52812 (libc_feresetround, libc_feresetroundf): New.
52814 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52815 (libc_feholdexcept_setround_53bit): Convert from macro to function.
52816 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
52818 * sysdeps/generic/math_private.h: Include <fenv.h>.
52819 (default_libc_feholdexcept): New.
52820 (default_libc_feholdexcept_setround): New.
52821 (default_libc_fesetenv, default_libc_feupdateenv): New.
52822 (libc_feholdexcept): Only define if undefined.
52823 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52824 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52825 (libc_feholdexcept_setroundl): Likewise.
52826 (libc_feholdexcept_setround_53bit): Likewise.
52827 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52828 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52829 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52830 (libc_feupdateenv_53bit): Likewise.
52831 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52832 (libc_feholdexcept): Convert from macro to inline function.
52833 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52834 (libc_fesetenv, libc_feupdateenv): Likewise.
52836 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52837 not previously defined.
52838 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52839 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52840 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52841 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52842 * sysdeps/ieee754/flt-32/math_private.h: New file.
52843 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52844 math_private.h below SET_FLOAT_WORD.
52845 (__isnan, __isinf_ns, __finite): Remove.
52846 (__isnanf, __isinf_nsf, __finitef): Remove.
52848 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
52850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52852 2012-03-17 David S. Miller <davem@davemloft.net>
52855 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52858 2012-03-16 David S. Miller <davem@davemloft.net>
52860 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52864 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52866 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52867 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52868 sysdep_routines when subdir is sysvipc.
52869 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52870 __getshmlba helper.
52872 * sysdeps/sparc/fpu/libm-test/ulps: Update.
52874 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52876 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52879 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52881 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52882 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52883 (__lround): Renamed to ...
52884 (__llround): This. Replace long int with long long int.
52885 Define lround functions as aliases of llround functions.
52886 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52888 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52890 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52891 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
52892 adresses to uintptr_t. Replace "long int" and "unsigned long
52893 int" with "greg_t" on va_arg.
52895 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52897 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52898 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52900 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52901 Move e_machine check before EI_CLASS check. Handle x32
52902 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52903 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52904 SKIP_EM_IA_64 and include
52905 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52907 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52908 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52909 (add_system_dir): New macro.
52911 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52912 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52914 2012-03-16 Joseph Myers <joseph@codesourcery.com>
52925 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52927 * math/w_j0f.c (j0f): Likewise.
52929 * math/w_j0l.c (__j0l): Likewise.
52931 * math/w_j1.c (j1): Likewise.
52933 * math/w_j1f.c (j1f): Likewise.
52935 * math/w_j1l.c (__j1l): Likewise.
52937 * math/w_jn.c (jn): Likewise.
52939 * math/w_jnf.c (jnf): Likewise.
52941 * math/w_jnl.c (__jnl): Likewise.
52943 * math/libm-test.inc (j0_test): Add more tests.
52944 (j1_test): Likewise.
52945 (jn_test): Likewise. Add trailing semicolon to existing test.
52946 (y0_test): Likewise.
52947 (y1_test): Likewise.
52948 * sysdeps/i386/fpu/libm-test-ulps: Update.
52949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52953 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52954 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52955 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52956 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52957 (__tanl): Set errno for infinite argument.
52958 * sysdeps/i386/fpu/mptan.c: Remove.
52959 * sysdeps/i386/fpu/s_tan.S: Likewise.
52960 * sysdeps/i386/fpu/s_tanl.S: Likewise.
52961 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52962 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52963 * math/libm-test.inc (tan_test): Add more tests and enable more
52964 tests for double and long double.
52965 * sysdeps/i386/fpu/libm-test-ulps: Update.
52966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52968 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
52970 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52971 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52973 2012-03-16 Roland McGrath <roland@hack.frob.com>
52975 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52976 * configure.in: Use it for both main tree and add-ons.
52977 * configure: Regenerated.
52979 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52981 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52983 2012-03-16 Joseph Myers <joseph@codesourcery.com>
52985 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52989 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52990 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52991 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52992 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52993 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52995 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52996 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52997 != 0 for prec == 2.
52998 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52999 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53000 * sysdeps/i386/fpu/s_cosl.S: Likewise.
53001 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53002 * sysdeps/i386/fpu/s_sinl.S: Likewise.
53003 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53004 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53005 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53006 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53007 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53008 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53009 * math/libm-test.inc (cos_test): Add more tests and enable more
53010 tests for long double.
53011 (sin_test): Likewise.
53012 (sincos_test): Likewise.
53013 * sysdeps/i386/fpu/libm-test-ulps: Update.
53014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53016 2012-03-16 David S. Miller <davem@davemloft.net>
53018 * sysdeps/sparc/fpu/math_private.h: New file.
53020 2012-03-15 David S. Miller <davem@davemloft.net>
53022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53032 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53036 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53037 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53039 * sysdeps/sparc/sparc-ifunc.h: New file.
53040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53064 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53066 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53067 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53078 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53079 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53080 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53081 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53082 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53083 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53085 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
53087 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53091 2012-03-15 Andreas Jaeger <aj@suse.de>
53094 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53095 ieee754/flt-32 implementation for sin, cos and sincos.
53096 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53097 * sysdeps/i386/fpu/s_cosf.S: Likewise.
53098 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53099 * sysdeps/i386/fpu/s_sinf.S: Likewise.
53100 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53101 ieee754/flt-32 implementation for tan.
53103 * math/libm-test.inc (cos_test): Enable some large input tests for
53105 (sin_test): Likewise.
53106 (sincos_test): Likewise.
53107 (tan_test): Add tests for large input.
53109 * sysdeps/i386/fpu/libm-test-ulps: Update.
53111 2012-03-15 Andreas Jaeger <aj@suse.de>
53114 * math/libm-test.inc (cos_test): Add more test cases.
53115 (sin_test): Likewise.
53116 (sincos_test): Likewise.
53118 2012-03-15 Andreas Jaeger <aj@suse.de>
53121 * math/libm-test.inc (cos_test): Add a test case for large input
53123 (sin_test): Likewise.
53124 (sincos_test): Likewise.
53126 2012-03-15 Andreas Jaeger <aj@suse.de>
53127 Joseph Myers <joseph@codesourcery.com>
53130 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53131 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53132 * sysdeps/i386/fpu/branred.c: Likewise.
53133 * sysdeps/i386/fpu/dosincos.c: Likewise.
53134 * sysdeps/i386/fpu/mpa.c: Likewise.
53135 * sysdeps/i386/fpu/s_cos.S: Likewise.
53136 * sysdeps/i386/fpu/s_sin.S: Likewise.
53137 * sysdeps/i386/fpu/s_sincos.S: Likewise.
53138 * sysdeps/i386/fpu/sincos32.c: Likewise.
53140 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53142 (libc_feupdateenv_53bit): Define.
53143 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53145 (libc_feupdateenv_53bit): Define.
53147 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53148 53 bit (without extend i386 double precision).
53150 * math/libm-test.inc (sincos_test): Add tests for large input.
53154 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53156 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
53158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53160 2012-03-15 David S. Miller <davem@davemloft.net>
53162 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53163 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53164 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53165 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53189 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53190 fmin/fmax sysdep routines.
53191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53193 2012-03-14 David S. Miller <davem@davemloft.net>
53195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53197 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53198 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53199 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53200 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53201 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53202 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53205 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53206 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53215 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53216 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53217 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53218 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53219 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53220 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53221 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53222 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53223 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53267 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53272 * sysdeps/sparc/configure.in: New file.
53273 * sysdeps/sparc/configure: Generate.
53274 * configure.in (libc_cv_sparc_as_vis3): Substitute.
53275 * configure: Regenerate.
53276 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53277 * config.make.in (have-as-vis3): New.
53278 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53279 available use -Av9d instead of -Av9a.
53280 * sysdeps/sparc/sparc64/Makefile: Likewise.
53281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53290 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53291 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53292 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53293 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53294 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53296 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53297 fzeros/fnegs to load 0x80000000 into a float register instead of
53299 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53301 2012-03-14 Joseph Myers <joseph@codesourcery.com>
53303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53305 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53306 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53307 ($(inst_includedir)/bits/syscall.h): Remove rule.
53308 ($(objpfx)bits/syscall.d): Include instead of
53309 $(objpfx)syscall-list.d.
53310 (generated): Change syscall-list.h and syscall-list.d to
53311 bits/syscall.h and bits/syscall.d.
53313 2012-03-14 Roland McGrath <roland@hack.frob.com>
53316 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53318 2012-03-14 Joseph Myers <joseph@codesourcery.com>
53321 * math/s_csqrt.c: Include <float.h>.
53322 (__csqrt): Scale large or subnormal inputs.
53323 * math/s_csqrtf.c: Likewise.
53324 * math/s_csqrtl.c: Likewise.
53325 * math/libm-test.inc (csqrt_test): Add more tests.
53326 * sysdeps/i386/fpu/libm-test-ulps: Update.
53327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53330 * math/libm-test.inc (hypot_test): Add more tests.
53332 2012-03-13 David S. Miller <davem@davemloft.net>
53335 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
53336 double-precision for the calculation instead of scaling.
53338 2012-03-13 Joseph Myers <joseph@codesourcery.com>
53340 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53341 manipulate bits before adding and subtracting TWO52[sx].
53342 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53343 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53345 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53347 2012-03-13 David S. Miller <davem@davemloft.net>
53349 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53350 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53351 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53352 rtld-global-offsets.h
53353 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53355 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53358 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53360 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53361 'err' in the ifdef scope in which it is actually used.
53363 * nss/nss_db/db-init.c: Include string.h
53365 2012-03-12 David S. Miller <davem@davemloft.net>
53367 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53368 masking out of the most significant byte of random value used.
53369 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53370 Fix coding style in previous change.
53372 * sysdeps/unix/sysv/linux/kernel-features.h
53373 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53374 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53376 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53379 2012-03-11 David S. Miller <davem@davemloft.net>
53381 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53382 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
53383 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
53384 for 'resultvar' otherwise things get truncated on 64-bit.
53386 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53387 Fix masking out of the most significant byte of random value used.
53389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53391 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
53393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53395 2012-03-09 David S. Miller <davem@davemloft.net>
53397 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
53398 variables with appropriate CPP guards.
53399 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
53400 from the frame pointer, not the stack pointer. Correct layout
53401 comments. Fix test on resulting framesize and the management of
53402 the outregs buffer for pltexit. Preserve floating point return
53403 values across _dl_call_pltexit call.
53404 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
53405 framesize and the management of the outregs buffer for pltexit.
53406 Preserve floating point return values across _dl_call_pltexit
53408 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
53409 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
53410 (la_sparc64_gnu_pltexit): New functions.
53411 (print_exit): Fix format string for return register value.
53413 2012-03-10 Joseph Myers <joseph@codesourcery.com>
53415 * sunrpc/Makefile (others): Add rpcgen.
53416 ($(objpfx)rpcgen): Remove special build rule and dependency on
53418 * sunrpc/rpcgen.c: New file.
53420 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
53423 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
53424 * stdio-common/bug-vfprintf-nargs.c: Likewise.
53425 * sysdeps/i386/crti.S: Likewise.
53426 * sysdeps/i386/crtn.S: Likewise.
53427 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
53428 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
53429 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
53430 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
53431 * sysdeps/sh/crti.S: Likewise.
53432 * sysdeps/sh/crtn.S: Likewise.
53433 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53436 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
53438 * locale/programs/locfile-kw.gperf: Likewise.
53439 * locale/programs/charmap-kw.h: Regenerated.
53440 * locale/programs/locfile-kw.h: Likewise.
53443 * intl/plural.y: Replace FSF snail mail address with URL.
53444 * intl/plural.c: Regenerated.
53446 2012-03-09 Richard Henderson <rth@twiddle.net>
53448 * include/math_private.h: Remove file.
53449 * math/math_private.h: Move file ...
53450 * sysdeps/generic/math_private.h: ... here.
53452 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53453 * sysdeps/powerpc/fpu/math_private.h: Likewise.
53454 * sysdeps/x86_64/fpu/math_private.h: Likewise.
53456 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53457 and <math_private.h>.
53458 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53459 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53460 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53461 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53462 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53463 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53464 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53465 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53466 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53467 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53468 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53469 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53470 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53471 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53472 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53473 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53474 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53475 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53476 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53477 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53478 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53479 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53480 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53481 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53482 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53483 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53484 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53485 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53486 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53487 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53488 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53489 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53490 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53491 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53492 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53493 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53494 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53495 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53496 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53497 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53498 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53499 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53500 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53501 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53502 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53503 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53504 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53505 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53506 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53507 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53508 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53509 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53510 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53511 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53512 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53513 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53514 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53515 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53516 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53517 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53518 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53519 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53520 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53521 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53522 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53523 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53524 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53525 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53526 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53527 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53528 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53529 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53530 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53531 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53532 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53533 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53534 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53535 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53536 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53537 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53538 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53539 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53540 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53541 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53542 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53543 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53544 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53545 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53546 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53547 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53548 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53549 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53550 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53551 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53552 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53553 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53554 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53555 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53556 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53557 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53558 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53559 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53560 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53561 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53562 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53563 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53564 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53565 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53566 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53567 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53568 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53569 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53570 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53571 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53572 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53573 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53574 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53575 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53576 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53577 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53578 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53579 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53580 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53581 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53582 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53583 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53584 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53585 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53586 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53587 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53588 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53589 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53590 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53591 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53592 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53593 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53594 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53595 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53596 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53597 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53598 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53599 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53600 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53601 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53602 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53603 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53604 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53605 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53606 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53607 * sysdeps/ieee754/k_standard.c: Likewise.
53608 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53609 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53610 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53611 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53612 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53613 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53614 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53615 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53616 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53617 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53618 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53619 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53620 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53621 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53622 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53623 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53624 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53625 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53626 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53627 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53628 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53629 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53630 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53631 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53632 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53633 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53634 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53635 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53636 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53637 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53638 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53639 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53640 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53641 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53642 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53643 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53644 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53645 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53646 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53647 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53648 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53649 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53650 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53651 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53652 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53653 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53654 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53655 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53656 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53657 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53658 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53659 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53660 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53661 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53662 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53663 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53664 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53665 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53666 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53667 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53668 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53669 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53670 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53671 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53672 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53673 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53674 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53675 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53676 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53677 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53678 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53679 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53680 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53681 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53682 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53683 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53684 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53685 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53686 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53687 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53688 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53689 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53690 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53691 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53692 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53693 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53694 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53695 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53696 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53697 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53698 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53699 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53700 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53701 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53702 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53703 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53704 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53705 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53706 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53707 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53708 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53709 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53710 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53711 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53712 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53713 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53714 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53715 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53716 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53717 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53718 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53719 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53720 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53721 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53722 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53723 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53724 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53725 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53726 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53727 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53728 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53729 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53730 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53731 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53732 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53733 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53734 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53735 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53736 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53737 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53738 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53739 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53740 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53741 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53742 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53743 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53744 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53745 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53746 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53747 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53748 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53749 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53750 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53751 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53752 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53753 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53754 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53755 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53756 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53757 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53758 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53759 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53760 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53761 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53762 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53763 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53764 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53765 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53766 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53767 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53768 * sysdeps/ieee754/s_lib_version.c: Likewise.
53769 * sysdeps/ieee754/s_matherr.c: Likewise.
53770 * sysdeps/ieee754/s_signgam.c: Likewise.
53771 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53772 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53773 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53774 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53775 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53776 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53777 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53778 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53779 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53780 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53781 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53782 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53783 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53784 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53785 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53786 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53787 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53788 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53789 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53790 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53791 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53793 2012-03-09 Joseph Myers <joseph@codesourcery.com>
53795 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53796 * sunrpc/rpc_main.c: Likewise.
53797 * sunrpc/rpc_svcout.c: Likewise.
53799 2012-03-09 David S. Miller <davem@davemloft.net>
53801 * include/math_private.h: New file.
53803 2012-03-09 Joseph Myers <joseph@codesourcery.com>
53805 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53806 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53807 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53808 from <bits/socket_type.h>.
53809 (enum __socket_type): Don't define here.
53810 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53811 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53812 bits/socket_type.h.
53815 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53816 checking __USE_GNU.
53818 * Makerules ($(inst_includedir)/%.h): New rule.
53819 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53820 (install-others): Remove variable setting.
53821 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53823 2012-03-08 Richard Henderson <rth@twiddle.net>
53825 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53826 from macro to inline function; merge with the
53827 !__LIBC_INTERNAL_MATH_INLINES version.
53828 (__ieee754_sqrtf): Likewise.
53830 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53831 to inline function.
53832 (__rintf, __floor, __floorf): Likewise.
53834 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53835 macro to inline function.
53836 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53838 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53839 not <math/math_private.h>.
53841 2012-03-08 David S. Miller <davem@davemloft.net>
53843 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53845 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53847 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
53849 * resolv/gai_misc.c (handle_requests): Fix struct timespec
53851 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53852 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53854 2012-03-08 Ulrich Drepper <drepper@gmail.com>
53856 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
53857 be defined individually, they must be defined as a block. Define
53858 S for printing a string instead of hidint the different by using a
53859 macro for adding the 'l'.
53860 * stdio-common/tst-fphex-wide.c: Adjust.
53862 2012-03-07 Marek Polacek <polacek@redhat.com>
53864 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53866 2012-03-08 Marek Polacek <polacek@redhat.com>
53869 * stdio-common/Makefile (tests): Add tst-fphex-wide.
53870 * stdio-common/tst-fphex.c: Define a few macros to make the
53871 test reusable. Use them.
53872 * stdio-common/tst-fphex-wide.c: New file.
53874 2012-03-08 Joseph Myers <joseph@codesourcery.com>
53877 * manual/macros.texi (gnusystems): New macro.
53878 (nongnusystems): Likewise.
53879 (gnulinuxhurdsystems): Likewise.
53880 (gnuhurdsystems): Likewise..
53881 (gnulinuxsystems): Likewise.
53882 * manual/charset.texi: Use new macros or @theglibc{} to refer to
53883 variants of the GNU system, not "GNU system".
53884 * manual/conf.texi: Likewise.
53885 * manual/errno.texi: Likewise. Update example of errno macro
53887 * manual/filesys.texi: Likewise.
53888 (getumask): Document as specific to GNU/Hurd.
53889 * manual/install.texi: Likewise. Reword some references to
53891 * manual/intro.texi: Likewise.
53892 * manual/io.texi: Likewise.
53893 (File Name Portability): Detail which constraints are inapplicable
53894 to all GNU systems and which are only inapplicable to GNU/Hurd.
53895 * manual/job.texi: Likewise.
53896 * manual/llio.texi: Likewise.
53897 (O_NOCTTY): Document as present on GNU/Linux.
53898 * manual/maint.texi: Likewise.
53899 * manual/memory.texi: Likewise.
53900 * manual/pattern.texi: Likewise.
53901 * manual/pipe.texi: Likewise.
53902 * manual/process.texi: Likewise.
53903 * manual/resource.texi: Likewise.
53904 (RUSAGE_CHILDREN): Remove statement about specifying a particular
53906 * manual/setjmp.texi: Likewise.
53907 * manual/signal.texi: Likewise.
53908 * manual/startup.texi: Likewise.
53909 * manual/stdio.texi: Likewise.
53910 * manual/terminal.texi: Likewise.
53911 (ONLCR): Document as POSIX.
53912 (OXTABS): Document availability on GNU/Linux as XTABS.
53913 (ONOEOT): Document availability separately from other bits.
53914 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53915 * manual/time.texi: Likewise.
53916 * manual/users.texi: Likewise.
53917 * INSTALL: Regenerated.
53918 * sysdeps/gnu/errlist.c: Regenerated.
53920 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53921 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53922 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
53924 * configure: Regenerated.
53926 2012-03-07 Joseph Myers <joseph@codesourcery.com>
53928 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53929 default includes instead of AC_HEADER_CHECK.
53930 * sysdeps/i386/configure: Regenerated.
53933 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53934 * math/s_cacoshf.c (__cacoshf): Likewise.
53935 * math/s_cacoshl.c (__cacoshl): Likewise.
53936 * math/s_casinh.c (__casinh): Set signs of result from argument.
53937 * math/s_casinhf.c (__casinhf): Likewise.
53938 * math/s_casinhl.c (__casinhl): Likewise.
53939 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53940 (casinh_test): Add more tests.
53941 * sysdeps/i386/fpu/libm-test-ulps: Update.
53942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53944 2012-03-07 Ulrich Drepper <drepper@gmail.com>
53946 * po/zh_TW.po: Update from translation team.
53948 * login/Makefile (distribute): Remove variable.
53949 * catgets/Makefile: Likewise.
53950 * mach/Makefile: Likewise.
53951 * malloc/Makefile: Likewise.
53952 * misc/Makefile: Likewise.
53953 * iconv/Makefile: Likewise.
53954 * nscd/Makefile: Likewise.
53955 * hurd/Makefile: Likewise.
53956 * manual/Makefile: Likewise.
53957 * locale/Makefile: Likewise.
53958 * intl/Makefile: Likewise.
53959 * conform/Makefile: Likewise.
53960 * nss/Makefile: Likewise.
53961 * time/Makefile: Likewise.
53962 * soft-fp/Makefile: Likewise.
53963 * dirent/Makefile: Likewise.
53964 * gmon/Makefile: Likewise.
53965 * po/Makefile: Likewise.
53966 * rt/Makefile: Likewise.
53967 * socket/Makefile: Likewise.
53968 * math/Makefile: Likewise.
53969 * signal/Makefile: Likewise.
53970 * debug/Makefile: Likewise.
53971 * elf/Makefile: Likewise.
53972 * timezone/Makefile: Likewise.
53973 * stdlib/Makefile: Likewise.
53974 * iconvdata/Makefile: Likewise.
53975 * sunrpc/Makefile: Likewise.
53976 * io/Makefile: Likewise.
53977 * argp/Makefile: Likewise.
53978 * inet/Makefile: Likewise.
53979 * hesiod/Makefile: Likewise.
53980 * grp/Makefile: Likewise.
53981 * csu/Makefile: Likewise.
53982 * wctype/Makefile: Likewise.
53983 * crypt/Makefile: Likewise.
53984 * libio/Makefile: Likewise.
53985 * string/Makefile: Likewise.
53986 * nis/Makefile: Likewise.
53987 * resolv/Makefile: Likewise.
53988 * stdio-common/Makefile: Likewise.
53989 * wcsmbs/Makefile: Likewise.
53990 * dlfcn/Makefile: Likewise.
53991 * posix/Makefile: Likewise.
53994 * timezone/Makefile: Don't install timezone files, just the programs
53997 2012-03-06 Ulrich Drepper <drepper@gmail.com>
53999 * nss/databases.def: Add missing gshadow entry.
54001 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
54003 2012-03-06 Marek Polacek <polacek@redhat.com>
54006 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54007 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54008 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54009 * stdio-common/tst-long-dbl-fphex.c: New file.
54011 2012-03-06 David S. Miller <davem@davemloft.net>
54013 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54014 (set_obp_int): New function.
54015 (get_obp_int): New function.
54016 (__get_clockfreq_via_dev_openprom): Likewise.
54017 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54018 Avoid unused variable warnings on 'val' and use builtin_expect.
54019 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54021 (INLINE_CLONE_SYSCALL): Likewise.
54023 2012-03-05 David S. Miller <davem@davemloft.net>
54025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54027 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
54029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54031 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54032 only for |x| >= 40.
54033 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54035 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
54037 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54038 Replace gettimeofday with __vdso_gettimeofday.
54040 * sysdeps/unix/sysv/linux/x86_64/init-first.c
54041 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54042 __vdso_clock_gettime and __vdso_getcpu.
54044 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54045 time with __vdso_time.
54047 2012-03-05 Joseph Myers <joseph@codesourcery.com>
54049 * manual/lang.texi (size_t): Note types to which size_t may be
54050 equivalent with the GNU C Library, but do not describe when
54051 differences between them are significant.
54053 2012-03-05 Andreas Jaeger <aj@suse.de>
54055 * sysdeps/i386/fpu/libm-test-ulps: Update.
54057 2012-03-05 Joseph Myers <joseph@codesourcery.com>
54060 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54061 (__ieee754_pow): Save and restore rounding mode and use
54062 round-to-nearest for main computations.
54063 * math/libm-test.inc (pow_test_tonearest): New function.
54064 (pow_test_towardzero): Likewise.
54065 (pow_test_downward): Likewise.
54066 (pow_test_upward): Likewise.
54067 (main): Call the new functions.
54068 * sysdeps/i386/fpu/libm-test-ulps: Update.
54069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54072 * math/libm-test.inc (cosh_test_tonearest): New function.
54073 (cosh_test_towardzero): Likewise.
54074 (cosh_test_downward): Likewise.
54075 (cosh_test_upward): Likewise.
54076 (sinh_test_tonearest): Likewise.
54077 (sinh_test_towardzero): Likewise.
54078 (sinh_test_downward): Likewise.
54079 (sinh_test_upward): Likewise.
54080 (main): Call the new functions.
54081 * sysdeps/i386/fpu/libm-test-ulps: Update.
54082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54084 2012-03-05 Tom de Vries <tom@codesourcery.com>
54086 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54087 default stack guard is set in last bytes.
54088 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54090 2012-03-05 Kees Cook <keescook@chromium.org>
54092 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54095 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54096 possibly allocate from heap instead of stack.
54097 * stdio-common/bug-vfprintf-nargs.c: New file.
54098 * stdio-common/Makefile (tests): Add nargs overflow test.
54100 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
54102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54104 2012-03-03 Marek Polacek <polacek@redhat.com>
54106 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54107 * math/math_private.h: Likewise.
54108 * stdlib/tst-strtod.c: Likewise.
54109 * sysdeps/i386/i486/bits/atomic.h: Likewise.
54110 * sysdeps/x86_64/bits/atomic.h: Likewise.
54112 2012-03-02 David S. Miller <davem@davemloft.net>
54114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54118 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54119 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54120 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54121 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54123 2012-03-02 Roland McGrath <roland@hack.frob.com>
54126 * manual/examples/README: New file, says the example source files
54127 can be used under GPL>=2.
54128 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54129 line containing just "*/".
54130 * manual/examples/add.c: Add copyright header (GPL>=2).
54131 * manual/examples/argp-ex1.c: Likewise.
54132 * manual/examples/argp-ex2.c: Likewise.
54133 * manual/examples/argp-ex3.c: Likewise.
54134 * manual/examples/argp-ex4.c: Likewise.
54135 * manual/examples/atexit.c: Likewise.
54136 * manual/examples/db.c: Likewise.
54137 * manual/examples/dir.c: Likewise.
54138 * manual/examples/dir2.c: Likewise.
54139 * manual/examples/execinfo.c: Likewise.
54140 * manual/examples/filecli.c: Likewise.
54141 * manual/examples/filesrv.c: Likewise.
54142 * manual/examples/fmtmsgexpl.c: Likewise.
54143 * manual/examples/genpass.c: Likewise.
54144 * manual/examples/inetcli.c: Likewise.
54145 * manual/examples/inetsrv.c: Likewise.
54146 * manual/examples/isockad.c: Likewise.
54147 * manual/examples/longopt.c: Likewise.
54148 * manual/examples/memopen.c: Likewise.
54149 * manual/examples/memstrm.c: Likewise.
54150 * manual/examples/mkfsock.c: Likewise.
54151 * manual/examples/mkisock.c: Likewise.
54152 * manual/examples/mygetpass.c: Likewise.
54153 * manual/examples/pipe.c: Likewise.
54154 * manual/examples/popen.c: Likewise.
54155 * manual/examples/rprintf.c: Likewise.
54156 * manual/examples/search.c: Likewise.
54157 * manual/examples/select.c: Likewise.
54158 * manual/examples/setjmp.c: Likewise.
54159 * manual/examples/sigh1.c: Likewise.
54160 * manual/examples/sigusr.c: Likewise.
54161 * manual/examples/stpcpy.c: Likewise.
54162 * manual/examples/strdupa.c: Likewise.
54163 * manual/examples/strftim.c: Likewise.
54164 * manual/examples/strncat.c: Likewise.
54165 * manual/examples/subopt.c: Likewise.
54166 * manual/examples/swapcontext.c: Likewise.
54167 * manual/examples/termios.c: Likewise.
54168 * manual/examples/testopt.c: Likewise.
54169 * manual/examples/testpass.c: Likewise.
54170 * manual/examples/timeval_subtract.c: Likewise.
54173 * manual/time.texi (Elapsed Time): Move timeval_subtract example
54175 * manual/timeval_subtract.c.texi: ... here, new file.
54177 2012-03-02 David S. Miller <davem@davemloft.net>
54179 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54181 2012-03-02 Joseph Myers <joseph@codesourcery.com>
54184 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54185 (__sin): Save and restore rounding mode and use round-to-nearest
54186 for all computations.
54187 (__cos): Save and restore rounding mode and use round-to-nearest
54188 for all computations.
54189 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54191 (tan): Save and restore rounding mode and use round-to-nearest for
54193 * math/libm-test.inc (cos_test_tonearest): New function.
54194 (cos_test_towardzero): Likewise.
54195 (cos_test_downward): Likewise.
54196 (cos_test_upward): Likewise.
54197 (sin_test_tonearest): Likewise.
54198 (sin_test_towardzero): Likewise.
54199 (sin_test_downward): Likewise.
54200 (sin_test_upward): Likewise.
54201 (tan_test_tonearest): Likewise.
54202 (tan_test_towardzero): Likewise.
54203 (tan_test_downward): Likewise.
54204 (tan_test_upward): Likewise.
54205 (main): Call the new functions.
54206 * sysdeps/i386/fpu/libm-test-ulps: Update.
54207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54210 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54211 small n, then large n, before computing and testing k+n.
54212 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54213 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54215 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54217 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54218 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54219 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54220 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54221 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54222 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54223 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54224 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54225 * math/libm-test.inc (scalbn_test): Add more tests.
54226 (scalbln_test): Likewise.
54228 * manual/filesys.texi (mode_t): Describe constraints on size and
54229 signedness, not exact equivalence to a particular type.
54231 (ino64_t): Likewise.
54233 (nlink_t): Likewise.
54234 (blkcnt_t): Likewise.
54235 (blkcnt64_t): Likewise.
54236 * manual/llio.texi (off_t): Likewise.
54239 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54240 (__ieee754_exp): Save and restore rounding mode and use
54241 round-to-nearest for all computations.
54242 * math/libm-test.inc (exp_test_tonearest): New function.
54243 (exp_test_towardzero): Likewise.
54244 (exp_test_downward): Likewise.
54245 (exp_test_upward): Likewise.
54246 (main): Call the new functions.
54247 * sysdeps/i386/fpu/libm-test-ulps: Update.
54248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54250 2012-03-01 Chris Demetriou <cgd@google.com>
54252 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54253 have predictable order.
54255 2012-03-01 David S. Miller <davem@davemloft.net>
54257 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54259 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54260 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54261 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54262 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54264 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54265 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54266 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54268 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54269 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54270 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54271 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54272 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54276 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54277 * sysdeps/sparc/fpu/libm-test-ulps: to here.
54278 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54280 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54281 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54282 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54283 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54284 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54285 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54286 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54287 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54288 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54289 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54290 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54291 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54292 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54293 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54294 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54295 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54296 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54297 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54298 * sysdeps/sparc/elf/configure: Regenerated.
54300 2012-03-01 Joseph Myers <joseph@codesourcery.com>
54302 * configure.in (AS, LD): Require binutils 2.20 or later.
54303 * configure: Regenerated.
54304 * manual/install.texi (Tools for Compilation): Give binutils 2.20
54305 as required minimum version.
54306 * INSTALL: Regenerated.
54310 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54311 before squaring exponent.
54312 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54313 bottom long double and 27 bits of top long double before squaring
54315 * math/libm-test.inc (erfc_test): Add more tests.
54316 * sysdeps/i386/fpu/libm-test-ulps: Update.
54317 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54320 2012-03-01 Kai Tietz <ktietz@redhat.com>
54322 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54323 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54324 containing bit-fields.
54325 * soft-fp/extended.h (_FP_UNION_E): Likewise.
54326 * soft-fp/single.h (_FP_UNION_S): Likewise.
54327 * soft-fp/double.h (_FP_UNION_D): Likewise.
54329 2012-02-29 Joseph Myers <joseph@codesourcery.com>
54332 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54333 not include ../strcmp.S.
54334 [USE_AS_STRNCASECMP_L]: Likewise.
54335 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
54336 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
54337 * sysdeps/i386/i686/multiarch/strncase_l-c.c
54338 (__strncasecmp_l_ia32): Define as alias to
54339 __strncasecmp_l_nonascii.
54342 * math/libm-test.inc (expm1_test): Add test for bug 5794.
54343 * sysdeps/i386/fpu/libm-test-ulps: Update.
54344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54346 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54349 2012-02-29 Jeff Law <law@redhat.com>
54351 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54352 out of bounds read.
54354 2012-02-29 Marek Polacek <polacek@redhat.com>
54357 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54358 * elf/Makefile: Add rules to run tst-unused-dep.out.
54360 2012-02-28 David S. Miller <davem@davemloft.net>
54362 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54363 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54364 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54365 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54366 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54367 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54369 2012-02-29 Joseph Myers <joseph@codesourcery.com>
54371 * math/libm-test.inc (llround_test): Move one test from
54372 lround_test. Use TEST_f_L in moved test.
54373 (lround_test): Move misplaced test to llround_test. Add testcase
54376 2012-02-28 Ulrich Drepper <drepper@gmail.com>
54378 * sysdeps/x86_64/fpu/e_expf.S: New file.
54379 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
54381 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
54384 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
54385 of remain_len that may cause incomplete multi-byte character and
54387 * posix/bug-regex33.c: New file.
54388 * posix/Makefile (tests): Add bug-regex33.
54390 2012-02-28 Joseph Myers <joseph@codesourcery.com>
54392 * manual/macros.texi: New file.
54393 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
54394 * manual/libc.texinfo: Include macros.texi.
54395 * manual/creatute.texi: Likewise.
54396 * manual/install.texi: Likewise.
54397 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
54398 @glibcadj{} in references to the GNU C Library.
54399 * manual/charset.texi: Likewise.
54400 * manual/conf.texi: Likewise.
54401 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
54402 when not using those macros.
54403 * manual/creature.texi: Likewise.
54404 * manual/crypt.texi: Likewise.
54405 * manual/errno.texi: Likewise.
54406 * manual/filesys.texi: Likewise.
54407 * manual/header.texi: Likewise.
54408 * manual/install.texi: Likewise.
54409 * manual/intro.texi: Likewise.
54410 * manual/io.texi: Likewise.
54411 * manual/job.texi: Likewise.
54412 * manual/lang.texi: Likewise.
54413 * manual/libc.texiinfo: Likewise.
54414 * manual/llio.texi: Likewise.
54415 * manual/locale.texi: Likewise.
54416 * manual/maint.texi: Likewise.
54417 * manual/math.texi: Likewise.
54418 * manual/memory.texi: Likewise.
54419 * manual/message.texi: Likewise.
54420 * manual/nss.texi: Likewise.
54421 * manual/pattern.texi: Likewise.
54422 * manual/process.texi: Likewise.
54423 * manual/resource.texi: Likewise.
54424 * manual/search.texi: Likewise.
54425 * manual/setjmp.texi: Likewise.
54426 * manual/signal.texi: Likewise.
54427 * manual/socket.texi: Likewise.
54428 * manual/startup.texi: Likewise.
54429 * manual/stdio.texi: Likewise.
54430 * manual/string.texi: Likewise.
54431 * manual/sysinfo.texi: Likewise.
54432 * manual/syslog.texi: Likewise.
54433 * manual/terminal.texi: Likewise.
54434 * manual/time.texi: Likewise.
54435 * manual/users.texi: Likewise.
54436 * INSTALL: Regenerated.
54437 * NOTES: Regenerated.
54438 * sysdeps/gnu/errlist.c: Regenerated.
54440 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
54442 * include/dirent.h: Include <dirstream.h> before
54445 2012-02-28 David S. Miller <davem@davemloft.net>
54447 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54448 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54449 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54450 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54452 2012-02-27 David S. Miller <davem@davemloft.net>
54454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54456 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54457 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54460 frame pointer instead of stack pointer relative arg slot.
54461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54462 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54463 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54465 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
54468 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54470 2012-02-27 David S. Miller <davem@davemloft.net>
54472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54476 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54477 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54478 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54479 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54481 2012-02-27 Joseph Myers <joseph@codesourcery.com>
54483 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54484 later. Allow versions 5-9.
54485 * configure: Regenerated.
54486 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54487 required minimum version and 4.6 as recommended version. Do not
54488 mention bugs in GCC 2.7 and 2.8.
54489 * INSTALL: Regenerated.
54491 2012-02-27 David S. Miller <davem@davemloft.net>
54493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54497 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54498 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54499 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54500 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54502 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54503 manipulate bits before adding and subtracting TWO112[sx].
54504 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54506 2012-02-27 Roland McGrath <roland@hack.frob.com>
54509 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54510 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54511 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54512 being in POSIX, because they are in 1003.1-2008.
54514 * rt/tst-aio.c: Include <fcntl.h>.
54515 * rt/tst-aio7.c: Likewise.
54516 * rt/tst-aio64.c: Likewise.
54518 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54520 2012-02-27 Joseph Myers <joseph@codesourcery.com>
54522 * manual/install.texi (--with-headers): Describe headers as
54523 interface headers, not private headers.
54524 (Specific advice for GNU/Linux systems): Describe use of headers
54525 from "make headers_install", not private headers from older
54527 * INSTALL: Regenerated.
54528 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54530 * sysdeps/unix/sysv/linux/configure: Regenerated.
54532 * manual/llio.texi (fclean): Remove documentation.
54534 * manual/Makefile (libc-texi-generated): New variable. Include
54536 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54537 $(libc-texi-generated), not duplicated list of files.
54538 (version.texi, stamp-version): New rules.
54539 (realclean): Remove $(libc-texi-generated), not individual files
54540 from that list. Do not remove dir-add.texinfo.
54541 * manual/libc.texinfo: Comment out uses of edition numbers and
54542 references to printed manual. Remove last-updated dates.
54543 (EDITION): Comment out.
54545 (VERSION, UPDATED): Remove.
54546 (version.texi): Include.
54548 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
54550 * sysdeps/posix/spawni.c: Include <signal.h>.
54551 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54552 * sysdeps/pthread/aio_fsync.c: Likewise.
54554 2012-02-26 Ulrich Drepper <drepper@gmail.com>
54556 * conform/Makefile (tests): Run only when not cross-compiling and
54557 when fast-check is not defined.
54559 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54560 * conform/data/limits.h-data: Fixes for POSIX2008.
54561 * conform/run-conformtest.sh: Run all tests.
54562 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54564 * include/bits/dlfcn.h: Likewise.
54565 * include/langinfo.h: Likewise.
54566 * include/monetary.h: Likewise.
54567 * include/sys/poll.h: Likewise.
54569 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54571 * posix/spawn.h: Define __need_sigset_t.
54572 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54573 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54574 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
54575 to get sigevent_t only.
54576 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54577 only for __USE_GNU.
54578 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54579 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54580 process_vm_writev only for __USE_GNU.
54581 * termios/termios.h: Declare tcgetsid also for POSIX2008.
54583 * conform/Makefile: For now ignore errors from run-conformtest.
54584 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
54585 POSIX to avoid namespace pollution. Don't prepend headers.
54586 * conform/data/aio.h-data: Fixes for POSIX testing.
54587 * conform/data/fcntl.h-data: Likewise.
54588 * conform/data/glob.h-data: Likewise.
54589 * conform/data/grp.h-data: Likewise.
54590 * conform/data/pthread.h-data: Likewise.
54591 * conform/data/pwd.h-data: Likewise.
54592 * conform/data/signal.h-data: Likewise.
54593 * conform/data/spawn.h-data: Likewise.
54594 * conform/data/stdio.h-data: Likewise.
54595 * conform/data/stdlib.h-data: Likewise.
54596 * conform/data/stropts.h-data: Likewise.
54597 * conform/data/sys/mman.h-data: Likewise.
54598 * conform/data/sys/stat.h-data: Likewise.
54599 * conform/data/sys/types.h-data: Likewise.
54600 * conform/data/sys/wait.h-data: Likewise.
54601 * conform/data/time.h-data: Likewise.
54602 * conform/data/unistd.h-data: Likewise.
54603 * conform/data/utime.h-data: Likewise.
54605 * io/sys/stat.h: fchmod was always in POSIX.
54606 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54607 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54608 * rt/aio.h: Define __need_timespec before including <time.h>.
54609 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54610 struct. Add forward declaration of pthread_attr_t and use it in
54612 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54613 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54614 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54615 always remove CLK_TCK definition.
54617 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
54619 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54621 2012-02-25 Ulrich Drepper <drepper@gmail.com>
54623 * conform/run-conformtest.sh: New file.
54624 * conform/Makefile: Run run-conformtest for tests.
54625 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
54628 * conform/data/uchar.h-data: New file.
54629 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54630 * conform/data/arpa/inet.h-data: Likewise.
54631 * conform/data/assert.h-data: Likewise.
54632 * conform/data/complex.h-data: Likewise.
54633 * conform/data/cpio.h-data: Likewise.
54634 * conform/data/ctype.h-data: Likewise.
54635 * conform/data/dirent.h-data: Likewise.
54636 * conform/data/dlfcn.h-data: Likewise.
54637 * conform/data/errno.h-data: Likewise.
54638 * conform/data/fcntl.h-data: Likewise.
54639 * conform/data/float.h-data: Likewise.
54640 * conform/data/fmtmsg.h-data: Likewise.
54641 * conform/data/fnmatch.h-data: Likewise.
54642 * conform/data/ftw.h-data: Likewise.
54643 * conform/data/glob.h-data: Likewise.
54644 * conform/data/grp.h-data: Likewise.
54645 * conform/data/iconv.h-data: Likewise.
54646 * conform/data/inttypes.h-data: Likewise.
54647 * conform/data/langinfo.h-data: Likewise.
54648 * conform/data/libgen.h-data: Likewise.
54649 * conform/data/limits.h-data: Likewise.
54650 * conform/data/locale.h-data: Likewise.
54651 * conform/data/math.h-data: Likewise.
54652 * conform/data/monetary.h-data: Likewise.
54653 * conform/data/mqueue.h-data: Likewise.
54654 * conform/data/ndbm.h-data: Likewise.
54655 * conform/data/net/if.h-data: Likewise.
54656 * conform/data/netdb.h-data: Likewise.
54657 * conform/data/netinet/in.h-data: Likewise.
54658 * conform/data/nl_types.h-data: Likewise.
54659 * conform/data/poll.h-data: Likewise.
54660 * conform/data/pthread.h-data: Likewise.
54661 * conform/data/pwd.h-data: Likewise.
54662 * conform/data/regex.h-data: Likewise.
54663 * conform/data/sched.h-data: Likewise.
54664 * conform/data/search.h-data: Likewise.
54665 * conform/data/semaphore.h-data: Likewise.
54666 * conform/data/setjmp.h-data: Likewise.
54667 * conform/data/signal.h-data: Likewise.
54668 * conform/data/spawn.h-data: Likewise.
54669 * conform/data/stdarg.h-data: Likewise.
54670 * conform/data/stdio.h-data: Likewise.
54671 * conform/data/stdlib.h-data: Likewise.
54672 * conform/data/string.h-data: Likewise.
54673 * conform/data/strings.h-data: Likewise.
54674 * conform/data/stropts.h-data: Likewise.
54675 * conform/data/sys/ipc.h-data: Likewise.
54676 * conform/data/sys/mman.h-data: Likewise.
54677 * conform/data/sys/msg.h-data: Likewise.
54678 * conform/data/sys/resource.h-data: Likewise.
54679 * conform/data/sys/select.h-data: Likewise.
54680 * conform/data/sys/sem.h-data: Likewise.
54681 * conform/data/sys/shm.h-data: Likewise.
54682 * conform/data/sys/socket.h-data: Likewise.
54683 * conform/data/sys/stat.h-data: Likewise.
54684 * conform/data/sys/statvfs.h-data: Likewise.
54685 * conform/data/sys/time.h-data: Likewise.
54686 * conform/data/sys/timeb.h-data: Likewise.
54687 * conform/data/sys/times.h-data: Likewise.
54688 * conform/data/sys/types.h-data: Likewise.
54689 * conform/data/sys/uio.h-data: Likewise.
54690 * conform/data/sys/un.h-data: Likewise.
54691 * conform/data/sys/utsname.h-data: Likewise.
54692 * conform/data/sys/wait.h-data: Likewise.
54693 * conform/data/syslog.h-data: Likewise.
54694 * conform/data/tar.h-data: Likewise.
54695 * conform/data/termios.h-data: Likewise.
54696 * conform/data/utime.h-data: Likewise.
54697 * conform/data/utmpx.h-data: Likewise.
54698 * conform/data/varargs.h-data: Likewise.
54699 * conform/data/wchar.h-data: Likewise.
54700 * conform/data/wctype.h-data: Likewise.
54701 * conform/data/wordexp.h-data: Likewise.
54703 * include/stropts.h: New file.
54704 * include/uchar.h: New file.
54705 * include/aio.h: Changes to allow conformtest.pl to use the headers.
54706 * include/assert.h: Likewise.
54707 * include/ctype.h: Likewise.
54708 * include/dirent.h: Likewise.
54709 * include/dlfcn.h: Likewise.
54710 * include/fcntl.h: Likewise.
54711 * include/fnmatch.h: Likewise.
54712 * include/glob.h: Likewise.
54713 * include/grp.h: Likewise.
54714 * include/libio.h: Likewise.
54715 * include/locale.h: Likewise.
54716 * include/math.h: Likewise.
54717 * include/net/if.h: Likewise.
54718 * include/netdb.h: Likewise.
54719 * include/netinet/in.h: Likewise.
54720 * include/pthread.h: Likewise.
54721 * include/pwd.h: Likewise.
54722 * include/regex.h: Likewise.
54723 * include/sched.h: Likewise.
54724 * include/search.h: Likewise.
54725 * include/setjmp.h: Likewise.
54726 * include/signal.h: Likewise.
54727 * include/stdio.h: Likewise.
54728 * include/stdlib.h: Likewise.
54729 * include/string.h: Likewise.
54730 * include/sys/cdefs.h: Likewise.
54731 * include/sys/mman.h: Likewise.
54732 * include/sys/msg.h: Likewise.
54733 * include/sys/resource.h: Likewise.
54734 * include/sys/select.h: Likewise.
54735 * include/sys/socket.h: Likewise.
54736 * include/sys/stat.h: Likewise.
54737 * include/sys/statvfs.h: Likewise.
54738 * include/sys/time.h: Likewise.
54739 * include/sys/times.h: Likewise.
54740 * include/sys/uio.h: Likewise.
54741 * include/sys/utsname.h: Likewise.
54742 * include/sys/wait.h: Likewise.
54743 * include/termios.h: Likewise.
54744 * include/time.h: Likewise.
54745 * include/ulimit.h: Likewise.
54746 * include/unistd.h: Likewise.
54747 * include/utime.h: Likewise.
54748 * include/wchar.h: Likewise.
54749 * include/wctype.h: Likewise.
54750 * include/wordexp.h: Likewise.
54752 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54754 * time/time.h: TIME_UTC must be a macro.
54755 Make timespec_get available for ISO C11 only as well.
54757 2012-02-24 Ulrich Drepper <drepper@gmail.com>
54759 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54760 Reported by Peng Haitao <penght@cn.fujitsu.com>.
54762 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54764 * configure.in: Use -o not -a in test for unsupported multi-arch.
54766 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54768 * manual/texinfo.tex: Update to version 2012-01-19.16.
54770 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54772 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54774 2012-02-24 Roland McGrath <roland@hack.frob.com>
54777 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54778 * manual/fdl-1.3.texi: New file.
54779 * manual/fdl-1.1.texi: File removed.
54782 * manual/libc.texinfo (FDL_VERSION): New @set.
54783 Use it for mention of FDL in cover text.
54784 (Documentation License): Use it in @include file name.
54786 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54787 Roland McGrath <roland@hack.frob.com>
54790 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54791 (not LONG_LONG_MAX and LONG_LONG_MIN.
54792 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54793 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
54795 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54797 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54801 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54802 manipulate bits before adding and subtracting TWO23[sx].
54803 * math/libm-test.inc (nearbyint_test): Add more tests.
54805 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54808 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54809 bits before adding and subtracting TWO23[sx].
54810 * math/libm-test.inc (rint_test): Add more tests.
54811 (rint_test_tonearest): Likewise.
54812 (rint_test_towardzero): Likewise.
54813 (rint_test_downward): Likewise.
54814 (rint_test_upward: Likewise.
54816 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54819 * include/stdc-predef.h: New file. Extracted from features.h.
54820 * include/features.h: Include stdc-predef.h.
54821 * Makefile (headers): Add stdc-predef.h.
54822 * CONFORMANCE (Compiler limitations): Update.
54824 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54826 * manual/libc.texinfo (VERSION, UPDATED): Revert.
54828 2012-02-21 David S. Miller <davem@davemloft.net>
54830 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54831 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54833 2012-02-20 David S. Miller <davem@davemloft.net>
54835 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54836 using a normal save/restore sequence, rather than allocating a
54837 dummy stack frame just to store a frame pointer and restore.
54838 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54840 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54842 * manual/install.texi: Fix stray word in line-wrapped comment.
54844 2012-02-20 David S. Miller <davem@davemloft.net>
54846 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54847 both binutils and gcc support GOTDATA.
54849 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54850 "rd %pc" in the PIC register setup sequences.
54852 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54853 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54854 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54855 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54856 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54857 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54858 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54859 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54860 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54861 (SYSCALL_ERROR_HANDLER): Likewise.
54862 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54863 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54864 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54865 (SYSCALL_ERROR_HANDLER): Likewise.
54867 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54868 (HAVE_GCC_GOTDATA): New.
54869 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54870 relocation support in both binutils and gcc.
54871 * sysdeps/sparc/elf/configure: Regenerate.
54873 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54874 * sysdeps/sparc/sparc32/elf/configure: Delete.
54875 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54876 * sysdeps/sparc/sparc64/elf/configure: Delete.
54877 * sysdeps/sparc/elf/configure.in: New file.
54878 * sysdeps/sparc/elf/configure: Generate.
54880 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54881 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54882 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54883 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54884 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54886 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54888 * manual/install.texi: Do not mention specific glibc version
54890 * manual/libc.texinfo (VERSION, UPDATED): Update.
54891 (@copying): Use @copyright{} and range of years.
54893 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54896 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54897 [crti.S not in sysdirs] (generated): Do not append.
54898 [crti.S not in sysdirs] (omit-deps): Likewise.
54899 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54900 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54901 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54902 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54903 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54905 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54906 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54907 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54908 * csu/defs.awk: Remove file.
54909 * sysdeps/generic/initfini.c: Likewise.
54910 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54912 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54915 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54917 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54918 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54919 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54920 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54921 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54922 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54924 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54925 (__EPOLL_PACKED): Define to empty if not defined by
54927 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54928 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54931 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54933 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54934 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54935 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54936 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54938 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54942 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54944 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54946 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54947 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54948 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54951 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
54953 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54954 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54956 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
54958 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54959 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54961 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54963 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54966 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
54968 * math/w_acos.c: Use non-signaling floating-point comparisons.
54969 * math/w_acosf.c: Likewise.
54970 * math/w_acosh.c: Likewise.
54971 * math/w_acoshf.c: Likewise.
54972 * math/w_acoshl.c: Likewise.
54973 * math/w_acosl.c: Likewise.
54974 * math/w_asin.c: Likewise.
54975 * math/w_asinf.c: Likewise.
54976 * math/w_asinl.c: Likewise.
54977 * math/w_atanh.c: Likewise.
54978 * math/w_atanhf.c: Likewise.
54979 * math/w_atanhl.c: Likewise.
54980 * math/w_exp2.c: Likewise.
54981 * math/w_exp2f.c: Likewise.
54982 * math/w_exp2l.c: Likewise.
54983 * math/w_j0.c: Likewise.
54984 * math/w_j0f.c: Likewise.
54985 * math/w_j0l.c: Likewise.
54986 * math/w_j1.c: Likewise.
54987 * math/w_j1f.c: Likewise.
54988 * math/w_j1l.c: Likewise.
54989 * math/w_jn.c: Likewise.
54990 * math/w_jnf.c: Likewise.
54991 * math/w_log.c: Likewise.
54992 * math/w_log10.c: Likewise.
54993 * math/w_log10f.c: Likewise.
54994 * math/w_log10l.c: Likewise.
54995 * math/w_log2.c: Likewise.
54996 * math/w_log2f.c: Likewise.
54997 * math/w_log2l.c: Likewise.
54998 * math/w_logf.c: Likewise.
54999 * math/w_logl.c: Likewise.
55000 * math/w_sqrt.c: Likewise.
55001 * math/w_sqrtf.c: Likewise.
55002 * math/w_sqrtl.c: Likewise.
55003 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55004 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55005 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55006 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55007 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55009 2012-02-19 Joseph Myers <joseph@codesourcery.com>
55012 * manual/string.texi (strnlen): Use correct parameter name in
55013 equivalent expression.
55015 2012-02-19 Joseph Myers <joseph@codesourcery.com>
55018 * manual/users.texi (seteuid): Consistently use neweuid for
55021 2012-02-19 Joseph Myers <joseph@codesourcery.com>
55024 * manual/nss.texi (Services in the NSS configuration): Correct
55025 list of services in example configuration file.
55027 2012-02-19 Nick Bowler <nbowler@draconx.ca>
55030 * manual/arith.texi: Remove statements about negative zero
55031 behaving identically to zero.
55033 2012-02-18 Joseph Myers <joseph@codesourcery.com>
55036 * manual/install.texi: Do not document upgrading from libc5.
55038 2012-02-18 Joseph Myers <joseph@codesourcery.com>
55041 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55043 2012-02-18 David S. Miller <davem@davemloft.net>
55045 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55046 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55047 %o7 across the call.
55048 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55050 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55051 SETUP_PIC_REG_LEAF.
55052 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55053 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55054 * sysdeps/sparc/crtn.S: Likewise.
55056 2012-02-17 Ulrich Drepper <drepper@gmail.com>
55058 * aout/Makefile: Remove.
55060 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
55063 * manual/examples/argp-ex1.c (main): Format definition in GNU
55065 * manual/examples/argp-ex2.c (main): Likewise.
55066 * manual/examples/argp-ex3.c (main): Likewise.
55067 * manual/examples/argp-ex4.c (main): Likewise.
55068 * manual/examples/longopt.c (main): Use new-style prototype
55070 * manual/examples/strncat.c (main): Specify return type and use
55071 (void) for arguments.
55072 * manual/examples/subopt.c (main): Use char **argv argument.
55074 2012-02-17 Joseph Myers <joseph@codesourcery.com>
55077 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55080 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
55083 * manual/string.texi (strchr): Change when strchrnul is
55086 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
55089 * manual/locale.texi (setlocale): Document LOCPATH.
55091 2012-02-17 Joseph Myers <joseph@codesourcery.com>
55094 * manual/process.texi (execle): Move @dots{} before last argument.
55096 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
55099 * manual/charset.texi (Generic Charset Conversion): Fix typo
55100 (LC_TYPE -> LC_CTYPE).
55102 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
55105 * manual/arith.texi (scalbn): Use @var{} on parameter names.
55106 (scalbnf): Likewise.
55107 (scalbnl): Likewise.
55108 (scalbln): Likewise.
55109 (scalblnf): Likewise.
55110 (scalblnl): Likewise.
55111 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55112 (vwarnx): Likewise.
55115 * manual/filesys.texi (telldir): Use braces around return type.
55116 * manual/llio.texi (mmap): Add space after comma.
55117 (mmap64): Likewise.
55118 * manual/math.texi (jn): Use @var{} on parameter names.
55124 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55126 * manual/resource.texi (ulimit): Use @dots{} instead of literal
55128 (sched_get_priority_min): Remove semicolon on @deftypefun line.
55129 (sched_get_priority_max): Likewise.
55130 * manual/signal.texi (sigvec): Add space after comma.
55131 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55133 (if_indextoname): Likewise.
55134 (if_freenameindex): Likewise.
55135 (sendto): Use ',' instead of '.' in prototype.
55136 * manual/startup.texi (syscall): Use @dots{} instead of literal
55138 * manual/stdio.texi (__fpending): Separate initial words of
55139 paragraph from @deftypefun line.
55140 * manual/syslog.texi (syslog): Use @dots{} instead of literal
55142 (vsyslog): Use @var{} on parameter names.
55143 * manual/terminal.texi (stty): Use @var{} on parameter names.
55144 * manual/users.texi (getutmp): Use @var{} on parameter names.
55145 (getutmpx): Likewise.
55147 2012-02-17 Joseph Myers <joseph@codesourcery.com>
55150 * manual/stdio.texi (fopen): Fix typos in description of
55153 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
55156 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55157 get clock_id definition.
55159 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
55162 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55163 (madvise): Cast every argument to void on its own.
55165 2012-02-17 Joseph Myers <joseph@codesourcery.com>
55168 * manual/startup.texi (Exit Status): Fix typo.
55170 2012-02-17 Joseph Myers <joseph@codesourcery.com>
55173 * manual/examples/argp-ex1.c: Include <stdlib.h>.
55174 * manual/examples/argp-ex2.c: Likewise.
55175 * manual/examples/argp-ex3.c: Likewise.
55177 2012-02-16 Richard Henderson <rth@redhat.com>
55179 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55180 * sysdeps/s390/s390-32/initfini.c: Remove.
55181 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55182 * sysdeps/s390/s390-64/initfini.c: Remove.
55184 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55186 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55187 compiler output for sysdeps/generic/initfini.c.
55188 * sysdeps/sh/elf/initfini.c: Remove file.
55190 2012-02-16 David S. Miller <davem@davemloft.net>
55193 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55195 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55196 * sysdeps/sparc/crti.S: New file.
55197 * sysdeps/sparc/crtn.S: New file.
55198 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55199 * sysdeps/sparc/sparc64/Makefile: Likewise.
55201 2012-02-15 Mike Frysinger <vapier@gentoo.org>
55204 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55206 2012-02-15 Roland McGrath <roland@hack.frob.com>
55209 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55211 * mach/devstream.c (cookie_io_functions_t): Macro removed.
55212 (write, read, close): Likewise.
55213 Patch by Aurelien Jarno <aurelien@aurel32.net>.
55215 2012-02-15 Joseph Myers <joseph@codesourcery.com>
55217 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55218 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55219 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55220 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55222 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55223 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55226 2012-02-14 Marek Polacek <polacek@redhat.com>
55228 * sysdeps/x86_64/crti.S: New file.
55229 * sysdeps/x86_64/crtn.S: New file.
55230 * sysdeps/x86_64/elf/initfini.c: Remove file.
55232 2012-02-13 Joseph Myers <joseph@codesourcery.com>
55234 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55235 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55236 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55237 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55239 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55243 2012-02-13 Joseph Myers <joseph@codesourcery.com>
55245 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55246 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55247 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55248 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55250 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55254 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
55256 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55257 __feraiseexcept instead of feraiseexcept.
55259 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55260 nanosleep invocations.
55261 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55262 strings, and add error checking for a nanosleep invocations.
55264 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
55266 Replace FSF snail mail address with URLs, as per GNU coding standards.
55267 Most of the snail mail addresses were wrong anyway, and omitting
55268 them makes the source code easier to maintain. Almost all of the
55269 changes are to license notices and to locale LC_IDENTIFICATION
55270 addresses, except for this one:
55271 * manual/libc.texinfo: In "Published by", give the FSF's URL,
55272 not its snail mail address.
55274 2012-02-09 Richard Henderson <rth@twiddle.net>
55276 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55277 of kernel-features.h.
55279 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55281 2012-02-08 Marek Polacek <polacek@redhat.com>
55283 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55284 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55285 * sysdeps/gnu/_G_config.h: Likewise.
55286 * sysdeps/generic/_G_config.h: Likewise.
55288 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
55290 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55294 * sysdeps/powerpc/powerpc32/crti.S: New file.
55295 * sysdeps/powerpc/powerpc32/crtn.S: New file.
55296 * sysdeps/powerpc/powerpc64/crti.S: New file.
55297 * sysdeps/powerpc/powerpc64/crtn.S: New file.
55299 * Makeconfig (have-initfini): Don't set.
55300 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55301 * configure.in (nopic_initfini): Don't substitute.
55302 * config.h.in (HAVE_INITFINI): Don't #undef.
55303 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55304 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55306 2012-02-08 Joseph Myers <joseph@codesourcery.com>
55308 Support crti.S and crtn.S provided directly by architectures.
55309 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55310 [crti.S in sysdirs] (omit-deps): Likewise.
55311 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55312 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55313 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55314 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55315 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55316 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55317 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55318 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55319 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55320 compiler output for sysdeps/generic/initfini.c.
55321 * sysdeps/i386/elf/Makefile: Remove file.
55322 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55324 2012-02-07 Marek Polacek <polacek@redhat.com>
55326 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55327 * sysdeps/gnu/_G_config.h: Likewise.
55328 * sysdeps/mach/hurd/_G_config.h: Likewise.
55330 2012-02-07 Marek Polacek <polacek@redhat.com>
55332 * math/Makefile (tests): Add tst-CMPLX2.
55333 * math/tst-CMPLX2.c: New file.
55335 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
55337 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55339 * math/libm-test.inc (jn_test): Add missing L suffix.
55341 2012-02-06 Marek Polacek <polacek@redhat.com>
55343 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55344 * sysdeps/i386/fpu/e_powf.S: Likewise.
55345 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55346 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55347 * sysdeps/i386/fpu/e_acosh.S: Likewise.
55348 * sysdeps/i386/fpu/e_pow.S: Likewise.
55349 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55350 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55351 * sysdeps/i386/fpu/s_expm1.S: Likewise.
55352 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55353 * sysdeps/i386/fpu/e_log2.S: Likewise.
55354 * sysdeps/i386/fpu/e_log2l.S: Likewise.
55355 * sysdeps/i386/fpu/e_scalb.S: Likewise.
55356 * sysdeps/i386/fpu/e_powl.S: Likewise.
55357 * sysdeps/i386/fpu/s_log1p.S: Likewise.
55358 * sysdeps/i386/fpu/e_log10f.S: Likewise.
55359 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55360 * sysdeps/i386/fpu/e_logl.S: Likewise.
55361 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55362 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55363 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55364 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55365 * sysdeps/i386/fpu/e_log2f.S: Likewise.
55366 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55367 * sysdeps/i386/fpu/e_log.S: Likewise.
55368 * sysdeps/i386/fpu/s_cexp.S: Likewise.
55369 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55370 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55371 * sysdeps/i386/fpu/e_logf.S: Likewise.
55372 * sysdeps/i386/fpu/e_log10l.S: Likewise.
55373 * sysdeps/i386/fpu/e_atanh.S: Likewise.
55374 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55375 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55376 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55377 * sysdeps/i386/fpu/e_log10.S: Likewise.
55378 * sysdeps/i386/fpu/s_frexp.S: Likewise.
55379 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55380 * sysdeps/i386/fpu/s_asinh.S: Likewise.
55381 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55382 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55383 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55384 * sysdeps/i386/asm-syntax.h: Likewise.
55385 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55386 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55387 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55388 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
55389 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
55390 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55391 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55392 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55393 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55394 * sysdeps/powerpc/sysdep.h: Likewise.
55395 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
55396 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55398 2012-02-06 Joseph Myers <joseph@codesourcery.com>
55401 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
55403 2012-02-06 Joseph Myers <joseph@codesourcery.com>
55405 * sysdeps/i386/sysdep.h: Include <features.h>.
55406 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
55409 2012-02-05 Joseph Myers <joseph@codesourcery.com>
55411 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
55413 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
55416 2012-02-03 Joseph Myers <joseph@codesourcery.com>
55418 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
55419 (SETUP_PIC_REG): Use GET_PC_THUNK.
55420 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
55423 2012-02-03 Joseph Myers <joseph@codesourcery.com>
55425 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
55426 for non-PIC compilation.
55427 (SETUP_PIC_REG): Add .p2align directive.
55428 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
55429 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
55430 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55431 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55432 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55433 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55434 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
55435 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55436 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55437 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55438 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55439 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55440 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55441 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55442 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55443 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55444 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55445 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55446 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55447 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55448 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55449 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55450 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55451 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55452 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55453 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55454 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55455 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55456 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55457 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55458 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55459 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55460 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55461 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55462 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55463 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55464 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55465 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55466 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55467 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55468 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55470 2012-02-03 Joseph Myers <joseph@codesourcery.com>
55472 * math/tst-CMPLX.c: Include <stdio.h>.
55474 2012-01-31 Joseph Myers <joseph@codesourcery.com>
55476 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55478 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55479 * sysdeps/sparc/bits/mathdef.h: Likewise.
55481 2012-01-31 Marek Polacek <polacek@redhat.com>
55483 * libio/libio.h: Don't define _PARAMS.
55484 * locale/programs/config.h: Don't define PARAMS.
55485 * stdlib/strtol_l.c: Likewise.
55486 (__strtol_l): Remove PARAMS from the prototype.
55488 2012-01-31 Ulrich Drepper <drepper@gmail.com>
55490 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
55491 names. Just use the correct names. Remove unnecessary wrapper
55493 * malloc/arena.c: Likewise.
55494 * malloc/hooks.c: Likewise.
55496 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55497 ARENA_TEST says not to. Simplify test for creation of a new arena.
55498 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55500 2012-01-30 Ulrich Drepper <drepper@gmail.com>
55502 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55504 (update_get_addr): New function.
55505 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55506 GET_ADDR_MODULE parameter.
55508 2012-01-30 Joseph Myers <joseph@codesourcery.com>
55510 * crypt/cert.c: Remove __STDC__ conditionals.
55511 * crypt/crypt-entry.c: Likewise.
55512 * crypt/crypt_util.c: Likewise.
55513 * libio/filedoalloc.c: Likewise.
55514 * libio/fileops.c: Likewise.
55515 * libio/genops.c: Likewise.
55516 * libio/iofclose.c: Likewise.
55517 * libio/iofdopen.c: Likewise.
55518 * libio/iofopen.c: Likewise.
55519 * libio/iofopen64.c: Likewise.
55520 * libio/iogetdelim.c: Likewise.
55521 * libio/iopopen.c: Likewise.
55522 * libio/obprintf.c: Likewise.
55523 * libio/oldfileops.c: Likewise.
55524 * libio/oldiofclose.c: Likewise.
55525 * libio/oldiofdopen.c: Likewise.
55526 * libio/oldiofopen.c: Likewise.
55527 * libio/oldiopopen.c: Likewise.
55528 * libio/wfiledoalloc.c: Likewise.
55529 * libio/wgenops.c: Likewise.
55530 * locale/programs/xmalloc.c: Likewise.
55531 * misc/syslog.c: Likewise.
55532 * stdio-common/xbug.c: Likewise.
55533 * string/memchr.c: Likewise.
55534 * string/memcmp.c: Likewise.
55535 * string/memrchr.c: Likewise.
55536 * string/rawmemchr.c: Likewise.
55537 * sysdeps/posix/getcwd.c: Likewise.
55538 * time/strftime_l.c: Likewise.
55540 2012-01-30 Joseph Myers <joseph@codesourcery.com>
55542 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55543 * config.make.in (config-cflags-sse2avx): Define.
55544 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55547 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
55549 * scripts/config.guess: Update from upstream config git repository.
55550 * scripts/config.sub: Likewise.
55552 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
55554 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55556 (R_TILEPRO_*, R_TILEGX_*): New macros.
55558 * scripts/firstversions.awk: Fix bug in version range handling.
55560 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55562 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55564 * include/sys/epoll.h: New file.
55565 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55568 2012-01-28 Ulrich Drepper <drepper@gmail.com>
55570 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55571 Avoid unnecessary __WORDSIZE == 64 test.
55572 (fmaxf): Use VEX format if possible.
55577 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55578 * math/math_private.h: Remove libc_fegetround* and
55580 * sysdeps/i386/configure.in: Check for -msse2avx.
55581 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55582 also if SSE2AVX is defined.
55583 Remove libc_fegetround* and libc_fesetround*.
55584 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55585 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
55586 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55588 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55589 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55590 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55591 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55592 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55594 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55596 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55598 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55600 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55602 2012-01-27 Ulrich Drepper <drepper@gmail.com>
55605 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55607 * Makeconfig (libm): Define.
55608 * elf/Makefile: Add rules to build and run tst-relsort1.
55609 * elf/tst-relsort1.c: New file.
55610 * elf/tst-relsort1mod1.c: New file.
55611 * elf/tst-relsort1mod2.c: New file.
55613 2012-01-27 Joseph Myers <joseph@codesourcery.com>
55615 * math/s_ldexp.c: Remove __STDC__ conditionals.
55616 * math/s_ldexpf.c: Likewise.
55617 * math/s_ldexpl.c: Likewise.
55618 * math/s_nextafter.c: Likewise.
55619 * math/s_nexttowardf.c: Likewise.
55620 * math/s_significand.c: Likewise.
55621 * math/s_significandf.c: Likewise.
55622 * math/s_significandl.c: Likewise.
55623 * math/w_jnl.c: Likewise.
55624 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55625 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55626 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55627 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55628 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55629 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55630 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55631 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55632 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55633 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55634 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55635 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55636 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55637 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55638 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55639 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55640 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55641 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55642 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55643 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55644 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55645 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55646 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55647 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55648 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55649 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55650 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55651 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55652 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55653 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55654 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55655 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55656 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55657 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55658 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55659 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55660 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55661 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55662 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55663 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55664 * sysdeps/ieee754/k_standard.c: Likewise.
55665 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55666 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55667 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55668 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55669 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55670 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55671 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55672 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55673 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55674 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55675 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55676 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55677 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55678 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55679 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55680 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55681 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55682 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55683 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55684 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55685 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55686 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55687 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55688 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55689 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55690 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55691 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55692 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55693 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55694 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55695 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55696 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55697 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55698 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55699 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55700 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55701 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55702 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55703 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55704 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55705 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55706 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55707 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55708 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55709 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55710 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55711 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55712 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55713 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55714 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55715 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55716 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55717 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55718 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55719 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55720 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55721 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55722 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55723 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55724 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55725 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55726 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55727 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55728 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55729 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55730 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55731 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55732 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55733 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55734 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55735 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55736 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55737 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55738 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55739 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55740 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55741 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55742 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55743 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55744 * sysdeps/ieee754/s_matherr.c: Likewise.
55745 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55746 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55747 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55748 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55750 2012-01-26 Joseph Myers <joseph@codesourcery.com>
55752 * crypt/md5.h: Remove __STDC__ conditionals.
55753 * libio/libioP.h: Likewise.
55754 * locale/programs/config.h: Likewise.
55755 * sysdeps/generic/sysdep.h: Likewise.
55756 * sysdeps/i386/asm-syntax.h: Likewise.
55757 * sysdeps/s390/asm-syntax.h: Likewise.
55758 * sysdeps/unix/sysdep.h: Likewise.
55759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55762 2012-01-26 Joseph Myers <joseph@codesourcery.com>
55764 * libio/libio.h: Remove __STDC__ conditionals.
55765 * malloc/obstack.h: Likewise.
55766 * math/complex.h: Likewise.
55767 * math/math.h: Likewise.
55768 * sysdeps/generic/_G_config.h: Likewise.
55769 * sysdeps/gnu/_G_config.h: Likewise.
55770 * sysdeps/mach/hurd/_G_config.h: Likewise.
55771 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55772 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55773 * sysdeps/sparc/bits/mathdef.h: Likewise.
55775 2012-01-26 Ulrich Drepper <drepper@gmail.com>
55778 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55779 Clean up HAS_* macros.
55780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55781 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55783 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55785 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55786 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55787 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55788 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55789 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55791 2012-01-25 Joseph Myers <joseph@codesourcery.com>
55793 * elf/tst-unique3.cc (gets): Remove declaration.
55794 * elf/tst-unique3lib.cc (gets): Likewise.
55795 * elf/tst-unique3lib2.cc (gets): Likewise.
55796 * elf/tst-unique4.cc (gets): Likewise.
55798 2012-01-24 Ulrich Drepper <drepper@gmail.com>
55800 * include/stdio.h: Add C++ protection. Add gets declarations and
55802 * debug/tst-chk1.c: Don't declare gets here.
55803 * stdio-common/tst-gets.c: Likewise.
55805 2012-01-24 Joseph Myers <joseph@codesourcery.com>
55807 * posix/glob: Remove directory.
55809 2012-01-24 Joseph Myers <joseph@codesourcery.com>
55811 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55813 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
55815 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55816 of the non-standard EPFNOSUPPORT.
55818 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
55820 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55821 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55822 ANYWHERE set to 1 only on KERN_NO_SPACE error.
55824 2012-01-21 Ulrich Drepper <drepper@gmail.com>
55826 * wcsmbs/uchar.h: Test __STDC_VERSION__.
55828 2012-01-20 Ulrich Drepper <drepper@gmail.com>
55830 * nscd/aicache.c (addhstaiX): Do not cache negative results of
55832 * nscd/grpcache.c (cache_addgr): Likewise.
55833 * nscd/hstcache.c (cache_addhst): Likewise.
55834 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55835 * nscd/pwdcache.c (cache_addpw): Likewise.
55836 * nscd/servicescache.c (cache_addserv): Likewise.
55838 2012-01-16 Ulrich Drepper <drepper@gmail.com>
55840 * malloc/malloc.c: Various cleanups.
55841 * malloc/hooks.c: Likewise.
55843 * stdlib/Makefile (tests): Add bug-fmtmsg1.
55844 * stdlib/bug-fmtmsg1.c: New file.
55846 * stdlib/fmtmsg.c (init): Add missing unlock.
55847 Patch by Peng Haitao <penght@cn.fujitsu.com>.
55849 2012-01-12 Marek Polacek <polacek@redhat.com>
55851 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55854 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
55856 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55857 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55858 macro to ensure uniqueness of label name.
55859 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55860 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55862 2012-01-11 Ulrich Drepper <drepper@gmail.com>
55864 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55866 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55867 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55868 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55869 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55871 2012-01-10 Ulrich Drepper <drepper@gmail.com>
55873 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55875 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55876 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55877 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55879 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55881 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55882 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55883 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55884 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55886 * math/bits/math-finite.h: Add ldexp support.
55888 2012-01-10 Marek Polacek <polacek@redhat.com>
55890 * locale/programs/localedef.h (show_archive_content): Add noreturn
55893 2012-01-09 Ulrich Drepper <drepper@gmail.com>
55895 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55897 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55899 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55901 * io/Makefile (headers): Add bits/poll2.h.
55903 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
55905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55906 typo #include statement.
55908 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55910 * include/sys/cdefs.h: Define __attribute_alloc_size.
55911 * catgets/gencat.c: Add alloc_size attribute and apply consistently
55912 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55913 * elf/pldd.c: Likewise.
55914 * iconv/iconv_charmap.c: Likewise.
55915 * iconv/iconvconfig.c: Likewise.
55916 * iconv/strtab.c: Likewise.
55917 * locale/programs/locale.c: Likewise.
55918 * locale/programs/localedef.h: Likewise.
55919 * locale/programs/simple-hash.c: Likewise.
55920 * nscd/nscd.h: Likewise.
55921 * nss/makedb.c: Likewise.
55922 * sysdeps/generic/ldconfig.h: Likewise.
55923 * locale/programs/localedef.c: Remove xmalloc prototype.
55924 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55926 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55928 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55931 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55933 * math/Makefile (tests): Add tst-CMPLX.
55934 * math/tst-CMPLX.c: New file.
55936 * math/complex.h (CMPLXL): Fix typo.
55938 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55939 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55941 * debug/tst-chk1.c: Add poll and ppoll tests.
55942 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55943 * include/sys/poll.h: Add hidden proto for ppoll.
55944 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55945 * sysdeps/mach/hurd/ppoll.c: Likewise.
55946 * io/ppoll.c: Likewise.
55947 * debug/poll_chk.c: New file.
55948 * debug/ppoll_chk.c: New file.
55949 * include/bits/poll2.h: New file.
55950 * io/bits/poll2.h: New file.
55953 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55955 * configure.in: static is always set to yes. Remove.
55956 * config.make.in: Don't set build-static.
55957 * Makeconfig: Remove use of build-static.
55958 * dlfcn/Makefile: Likewise.
55959 * elf/Makefile: Likewise.
55960 * math/Makefile: Likewise.
55961 * misc/Makefile: Likewise.
55962 * nptl/Makefile: Likewise.
55963 * sysdeps/mach/hurd/Makefile: Likewise.
55965 * configure.in: PWD_P is not used anymore.
55966 * config.make.in: Remove PWD_P entry.
55968 * configure.in: Remove last remnants of RANLIB.
55969 No need to check for signed size_t anymore.
55970 Don't set libc_commonpagesize and libc_relro_required here for Alpha
55972 Remove __builtin_expect test because we require at least gcc 3.4.
55973 * aclocal.m4: Likewise.
55975 * wcsmbs/mbrtoc16.c: Implement using towc function.
55976 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55977 * wcsmbs/wcsmbsload.c: Likewise.
55978 * iconv/gconv_simple.c: Likewise.
55979 * iconv/gconv_int.h: Likewise.
55980 * iconv/gconv_builtin.h: Likewise.
55981 * iconv/iconv_prog.c: Remove CHAR16 handling.
55983 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55985 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55987 * configure.in: Remove --with-elf and --enable-bounded options.
55988 Dont set base_machine for ia64. More non-ELF conditions removed.
55989 Remove testing and setting of leading underscore information.
55990 * config.make.in (build-bounded): Set to no.
55991 * config.h.in: Remove NO_UNDERSCORES entry.
55992 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
55994 * csu/start.c: Remove !NO_UNDERSCORE code.
55995 * locale/localeinfo.h: Likewise.
55996 * sysdeps/generic/machine-gmon.h: Likewise.
55997 * sysdeps/generic/sysdep.h: Likewise.
55998 * sysdeps/i386/sysdep.h: Likewise.
55999 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56000 * sysdeps/mach/sysdep.h: Likewise.
56001 * sysdeps/s390/s390-32/sysdep.h: Likewise.
56002 * sysdeps/s390/s390-64/sysdep.h: Likewise.
56003 * sysdeps/sh/sysdep.h: Likewise.
56004 * sysdeps/sparc/sparc32/alloca.S: Likewise.
56005 * sysdeps/unix/i386/sysdep.S: Likewise.
56006 * sysdeps/unix/sparc/start.c: Likewise.
56007 * sysdeps/unix/sparc/sysdep.S: Likewise.
56008 * sysdeps/unix/sparc/sysdep.h: Likewise.
56009 * sysdeps/unix/start.c: Likewise.
56010 * sysdeps/unix/x86_64/sysdep.S: Likewise.
56011 * sysdeps/x86_64/sysdep.h: Likewise.
56013 2012-01-07 Ulrich Drepper <drepper@gmail.com>
56016 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56018 * argp/argp-fmtstream.h: Use const instead __const.
56019 * argp/argp.h: Likewise.
56020 * assert/assert.h: Likewise.
56021 * bits/fenv.h: Likewise.
56022 * bits/sched.h: Likewise.
56023 * bits/sigset.h: Likewise.
56024 * bits/sigthread.h: Likewise.
56025 * catgets/nl_types.h: Likewise.
56026 * conform/data/pthread.h-data: Likewise.
56027 * crypt/crypt-private.h: Likewise.
56028 * crypt/crypt.h: Likewise.
56029 * crypt/crypt_util.c: Likewise.
56030 * ctype/ctype.h: Likewise.
56031 * debug/execinfo.h: Likewise.
56032 * debug/mbsnrtowcs_chk.c: Likewise.
56033 * debug/mbsrtowcs_chk.c: Likewise.
56034 * debug/wcsnrtombs_chk.c: Likewise.
56035 * debug/wcsrtombs_chk.c: Likewise.
56036 * debug/wcstombs_chk.c: Likewise.
56037 * dirent/dirent.h: Likewise.
56038 * dlfcn/dlfcn.h: Likewise.
56039 * elf/neededtest4.c: Likewise.
56040 * grp/grp.h: Likewise.
56041 * gshadow/gshadow.h: Likewise.
56042 * iconv/gconv.h: Likewise.
56043 * iconv/gconv_int.h: Likewise.
56044 * iconv/gconv_simple.c: Likewise.
56045 * iconv/iconv.h: Likewise.
56046 * iconv/loop.c: Likewise.
56047 * iconv/skeleton.c: Likewise.
56048 * include/aio.h: Likewise.
56049 * include/aliases.h: Likewise.
56050 * include/argz.h: Likewise.
56051 * include/arpa/inet.h: Likewise.
56052 * include/assert.h: Likewise.
56053 * include/dirent.h: Likewise.
56054 * include/dlfcn.h: Likewise.
56055 * include/execinfo.h: Likewise.
56056 * include/fcntl.h: Likewise.
56057 * include/fenv.h: Likewise.
56058 * include/glob.h: Likewise.
56059 * include/grp.h: Likewise.
56060 * include/libintl.h: Likewise.
56061 * include/mntent.h: Likewise.
56062 * include/netdb.h: Likewise.
56063 * include/pwd.h: Likewise.
56064 * include/rpc/netdb.h: Likewise.
56065 * include/sched.h: Likewise.
56066 * include/search.h: Likewise.
56067 * include/shadow.h: Likewise.
56068 * include/signal.h: Likewise.
56069 * include/stdio.h: Likewise.
56070 * include/stdlib.h: Likewise.
56071 * include/string.h: Likewise.
56072 * include/sys/socket.h: Likewise.
56073 * include/sys/stat.h: Likewise.
56074 * include/sys/statfs.h: Likewise.
56075 * include/sys/statvfs.h: Likewise.
56076 * include/sys/syslog.h: Likewise.
56077 * include/sys/time.h: Likewise.
56078 * include/sys/uio.h: Likewise.
56079 * include/time.h: Likewise.
56080 * include/unistd.h: Likewise.
56081 * include/utmp.h: Likewise.
56082 * include/wchar.h: Likewise.
56083 * include/wctype.h: Likewise.
56084 * inet/aliases.h: Likewise.
56085 * inet/arpa/inet.h: Likewise.
56086 * inet/netinet/ether.h: Likewise.
56087 * inet/netinet/in.h: Likewise.
56088 * intl/libintl.h: Likewise.
56089 * io/bits/fcntl2.h: Likewise.
56090 * io/fcntl.h: Likewise.
56091 * io/ftw.h: Likewise.
56092 * io/sys/poll.h: Likewise.
56093 * io/sys/stat.h: Likewise.
56094 * io/sys/statfs.h: Likewise.
56095 * io/sys/statvfs.h: Likewise.
56096 * io/utime.h: Likewise.
56097 * libio/bits/stdio.h: Likewise.
56098 * libio/bits/stdio2.h: Likewise.
56099 * libio/libio.h: Likewise.
56100 * libio/libioP.h: Likewise.
56101 * libio/stdio.h: Likewise.
56102 * locale/lc-ctype.c: Likewise.
56103 * locale/locale.h: Likewise.
56104 * login/utmp.h: Likewise.
56105 * malloc/arena.c: Likewise.
56106 * malloc/malloc.c: Likewise.
56107 * malloc/malloc.h: Likewise.
56108 * malloc/mcheck.c: Likewise.
56109 * malloc/mtrace.c: Likewise.
56110 * math/bits/mathcalls.h: Likewise.
56111 * math/fenv.h: Likewise.
56112 * math/math_private.h: Likewise.
56113 * misc/bits/error.h: Likewise.
56114 * misc/bits/syslog.h: Likewise.
56115 * misc/err.h: Likewise.
56116 * misc/error.h: Likewise.
56117 * misc/fstab.h: Likewise.
56118 * misc/mntent.h: Likewise.
56119 * misc/regexp.h: Likewise.
56120 * misc/search.h: Likewise.
56121 * misc/sgtty.h: Likewise.
56122 * misc/sys/mman.h: Likewise.
56123 * misc/sys/syslog.h: Likewise.
56124 * misc/sys/uio.h: Likewise.
56125 * misc/sys/xattr.h: Likewise.
56126 * misc/ttyent.h: Likewise.
56127 * nis/rpcsvc/ypclnt.h: Likewise.
56128 * nss/nss.h: Likewise.
56129 * posix/bits/unistd.h: Likewise.
56130 * posix/fnmatch.h: Likewise.
56131 * posix/glob.h: Likewise.
56132 * posix/sched.h: Likewise.
56133 * posix/spawn.h: Likewise.
56134 * posix/sys/wait.h: Likewise.
56135 * posix/unistd.h: Likewise.
56136 * posix/wordexp.h: Likewise.
56137 * pwd/pwd.h: Likewise.
56138 * resolv/netdb.h: Likewise.
56139 * resource/sys/resource.h: Likewise.
56140 * rt/aio.h: Likewise.
56141 * rt/bits/mqueue2.h: Likewise.
56142 * rt/mqueue.h: Likewise.
56143 * shadow/shadow.h: Likewise.
56144 * signal/signal.h: Likewise.
56145 * socket/send.c: Likewise.
56146 * socket/sendto.c: Likewise.
56147 * socket/sys/socket.h: Likewise.
56148 * stdio-common/printf.h: Likewise.
56149 * stdlib/bits/stdlib.h: Likewise.
56150 * stdlib/fmtmsg.h: Likewise.
56151 * stdlib/monetary.h: Likewise.
56152 * stdlib/stdlib.h: Likewise.
56153 * stdlib/ucontext.h: Likewise.
56154 * streams/stropts.h: Likewise.
56155 * string/argz.h: Likewise.
56156 * string/bits/string2.h: Likewise.
56157 * string/string.h: Likewise.
56158 * string/strings.h: Likewise.
56159 * sunrpc/rpc/auth.h: Likewise.
56160 * sunrpc/rpc/auth_des.h: Likewise.
56161 * sunrpc/rpc/clnt.h: Likewise.
56162 * sunrpc/rpc/netdb.h: Likewise.
56163 * sunrpc/rpc/pmap_clnt.h: Likewise.
56164 * sunrpc/rpc/xdr.h: Likewise.
56165 * sysdeps/generic/inttypes.h: Likewise.
56166 * sysdeps/generic/net/if.h: Likewise.
56167 * sysdeps/generic/sys/swap.h: Likewise.
56168 * sysdeps/gnu/net/if.h: Likewise.
56169 * sysdeps/gnu/utmpx.h: Likewise.
56170 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56171 * sysdeps/i386/i486/bits/string.h: Likewise.
56172 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56173 * sysdeps/s390/bits/string.h: Likewise.
56174 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56175 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56176 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56177 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56178 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56179 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56180 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56181 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56182 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56183 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56184 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56185 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56186 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56187 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56188 * sysdeps/unix/sysv/linux/readv.c: Likewise.
56189 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56190 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56192 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56193 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56194 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56195 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56196 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56197 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56198 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56199 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56200 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56201 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56202 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56203 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56204 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56205 * sysvipc/sys/ipc.h: Likewise.
56206 * sysvipc/sys/msg.h: Likewise.
56207 * sysvipc/sys/sem.h: Likewise.
56208 * sysvipc/sys/shm.h: Likewise.
56209 * termios/termios.h: Likewise.
56210 * time/sys/time.h: Likewise.
56211 * time/time.h: Likewise.
56212 * wcsmbs/bits/wchar2.h: Likewise.
56213 * wcsmbs/uchar.h: Likewise.
56214 * wcsmbs/wchar.h: Likewise.
56215 * wctype/wctype.h: Likewise.
56218 * Makeconfig: Remove all but ELF support including AIX support.
56219 * Makerules: Likewise.
56220 * config.h.in: Likewise.
56221 * config.make.in: Likewise.
56222 * configure: Likewise.
56223 * configure.in: Likewise.
56224 * csu/Makefile: Likewise.
56225 * csu/version.c: Likewise.
56226 * debug/Makefile: Likewise.
56227 * dlfcn/Makefile: Likewise.
56228 * elf/Makefile: Likewise.
56229 * extra-lib.mk: Likewise.
56230 * iconv/Makefile: Likewise.
56231 * include/libc-symbols.h: Likewise.
56232 * include/shlib-compat.h: Likewise.
56233 * resolv/Makefile: Likewise.
56234 * resolv/res_libc.c: Likewise.
56235 * rt/Makefile: Likewise.
56236 * sysdeps/i386/asm-syntax.h: Likewise.
56237 * sysdeps/i386/sysdep.h: Likewise.
56238 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56239 * sysdeps/mach/sysdep.h: Likewise.
56240 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56241 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56242 * sysdeps/s390/asm-syntax.h: Likewise.
56243 * sysdeps/s390/s390-32/sysdep.h: Likewise.
56244 * sysdeps/s390/s390-64/sysdep.h: Likewise.
56245 * sysdeps/sh/sysdep.h: Likewise.
56246 * sysdeps/unix/sparc/sysdep.h: Likewise.
56247 * sysdeps/wordsize-32/divdi3.c: Likewise.
56248 * sysdeps/x86_64/sysdep.h: Likewise.
56250 * argp/Versions: Remove _argp_unlock_xxx.
56253 * abilist/ld.abilist: Update. Adjust for removal of tls option.
56254 * abilist/libBrokenLocale.abilist: Likewise.
56255 * abilist/libanl.abilist: Likewise.
56256 * abilist/libc.abilist: Likewise.
56257 * abilist/libcrypt.abilist: Likewise.
56258 * abilist/libdl.abilist: Likewise.
56259 * abilist/libm.abilist: Likewise.
56260 * abilist/libnsl.abilist: Likewise.
56261 * abilist/libpthread.abilist: Likewise.
56262 * abilist/libresolv.abilist: Likewise.
56263 * abilist/librt.abilist: Likewise.
56264 * abilist/libthread_db.abilist: Likewise.
56265 * abilist/libutil.abilist: Likewise.
56266 * abilist/libnss_db.abilist: New file.
56268 * scripts/abilist.awk: Add support for indirect functions.
56270 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56272 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56274 * shlib-versions: Remove entries for ports architectures.
56276 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
56278 * elf/stackguard-macros.h: Remove support for IA-64.
56279 * elf/tst-auditmod1.c: Likewise.
56280 * sysdeps/generic/ldsodefs.h: Likewise.
56282 * sysdeps/unix/sysv/linux/configure.in: Ports should define
56283 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56287 * configure.in: Remove --enable-omitfp support.
56289 * config.make.in: Likewise.
56290 * Makeconfig: Likewise.
56291 * manual/install.texi: Likewise.
56293 In case anyone cares, the IA-64 architecture could move to ports.
56294 * sysdeps/ia64/*: Removed.
56295 * sysdeps/unix/sysv/linux/ia64/*: Removed.
56296 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56299 * configure.in: Remove entries for unsupported architectures.
56302 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56303 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
56305 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56306 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56307 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
56308 fall back to using wcrtomb.
56309 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56310 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
56312 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56313 * wcsmbs/tst-c16c32-1.c: New file.
56315 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56318 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56320 * elf/tst-unique3.cc: Add explicit declaration of gets.
56321 * elf/tst-unique3lib.cc: Likewise.
56322 * elf/tst-unique3lib2.cc: Likewise.
56323 * elf/tst-unique4.cc: Likewise.
56325 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56327 2012-01-06 Joseph Myers <joseph@codesourcery.com>
56330 * assert/assert.h (static_assert): Don't define for C++.
56331 * libio/stdio.h (gets): Do declare for C++ <= C++11.
56332 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56334 2012-01-03 Ulrich Drepper <drepper@gmail.com>
56336 * iconv/loop.c (single loop): Fix assertion in storing of
56339 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56341 2012-01-01 Ulrich Drepper <drepper@gmail.com>
56343 * posix/getconf.c: Update copyright year.
56344 * nss/getent.c: Likewise.
56345 * nss/makedb.c: Likewise.
56346 * iconv/iconvconfig.c: Likewise.
56347 * iconv/iconv_prog.c: Likewise.
56348 * elf/ldconfig.c: Likewise.
56349 * elf/pldd.c: Likewise.
56350 * elf/sotruss.ksh: Likewise.
56351 * catgets/gencat.c: Likewise.
56352 * csu/version.c: Likewise.
56353 * elf/ldd.bash.in: Likewise.
56354 * elf/sprof.c (print_version): Likewise.
56355 * locale/programs/locale.c: Likewise.
56356 * locale/programs/localedef.c: Likewise.
56357 * login/programs/pt_chown.c: Likewise.
56358 * nscd/nscd.c (print_version): Likewise.
56359 * debug/xtrace.sh: Likewise.
56360 * malloc/memusage.sh: Likewise.
56361 * malloc/mtrace.pl: Likewise.
56362 * debug/catchsegv.sh: Likewise.
56364 2011-12-30 Jakub Jelinek <jakub@redhat.com>
56366 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56369 2011-12-24 Ulrich Drepper <drepper@gmail.com>
56372 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56373 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56375 * iconv/gconv_int.h: Likewise.
56376 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56377 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
56378 from libc for GLIBC_2.16.
56379 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
56380 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
56381 * wcsmbs/uchar.h: Really define mbstate_t.
56382 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
56383 * wcsmbs/c16rtomb.c: New file.
56384 * wcsmbs/mbrtoc16.c: New file.
56385 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
56386 for C/POSIX locale.
56387 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
56388 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
56390 * wcsmbs/wchar.h: Add missing __restrict.
56392 2011-12-23 Ulrich Drepper <drepper@gmail.com>
56395 * time/Makefile (routines): Add timespec_get.
56396 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
56397 * time/time.h: Define TIME_UTC and declare timespec_get. Define
56398 timespec for ISO C11.
56399 * time/timespec_get.c: New file.
56400 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
56401 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
56404 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
56405 * stdlib/stdlib.h: Declare aligned_alloc.
56406 * Versions.def: Add GLIBC_2.16 for libc.
56407 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
56410 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
56413 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
56417 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
56420 * assert/assert.h (static_assert): Define.
56422 * version.h: Update for 2.16 development version.
56425 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
56428 * version.h (RELEASE): Bump for 2.15 release.
56429 * include/features.h (__GLIBC_MINOR__): Bump to 15.
56431 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
56432 Patch by Marek Polacek <mpolacek@redhat.com>.
56434 * bits/byteswap.h: Protect long long constants with __extension__.
56435 * sysdeps/i386/bits/byteswap.h: Likewise.
56436 * sysdeps/ia64/bits/byteswap.h: Likewise.
56437 * sysdeps/s390/bits/byteswap.h: Likewise.
56438 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56440 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56443 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
56444 destination buffer.
56445 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56447 2011-12-23 Marek Polacek <polacek@redhat.com>
56449 * elf/dl-addr.c (determine_info): Add inline keyword.
56450 * elf/tst-auditmod4b.c (check_avx): Likewise.
56451 * elf/tst-auditmod6b.c (check_avx): Likewise.
56452 * elf/tst-auditmod6c.c (check_avx): Likewise.
56453 * elf/tst-auditmod7b.c (check_avx): Likewise.
56455 2011-12-23 Ulrich Drepper <drepper@gmail.com>
56457 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56460 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56463 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56464 processing for last bytes.
56466 2011-08-06 Bruno Haible <bruno@clisp.org>
56469 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56470 U+0385, not to U+1FEE.
56473 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56474 entry for U+00A5 U+0301.
56476 2011-12-22 Ulrich Drepper <drepper@gmail.com>
56479 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56480 buffer for the output is too small.
56482 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56486 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56487 SSE flags if possible.
56489 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56492 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56493 processing for last bytes.
56495 2011-12-22 Joseph Myers <joseph@codesourcery.com>
56497 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56498 (syscall-list-default-options, syscall-list-default-condition)
56499 (syscall-list-includes): Define.
56500 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56501 list of ABIs and options and #if conditions for each ABI. Do not
56502 handle common syscalls between ABIs specially.
56503 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56505 (syscall-list-variants, syscall-list-32bit-options)
56506 (syscall-list-32bit-condition, syscall-list-64bit-options)
56507 (syscall-list-64bit-condition): Define.
56508 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56509 (syscall-list-variants, syscall-list-32bit-options)
56510 (syscall-list-32bit-condition, syscall-list-64bit-options)
56511 (syscall-list-64bit-condition): Define.
56512 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56514 (syscall-list-variants, syscall-list-32bit-options)
56515 (syscall-list-32bit-condition, syscall-list-64bit-options)
56516 (syscall-list-64bit-condition): Define.
56517 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56519 (syscall-list-variants, syscall-list-32bit-options)
56520 (syscall-list-32bit-condition, syscall-list-64bit-options)
56521 (syscall-list-64bit-condition): Define.
56523 2011-12-22 Ulrich Drepper <drepper@gmail.com>
56525 * locale/iso-639.def: Add brx entry.
56528 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56529 Proposed by Mariusz_Cukr <marcukr@op.pl>.
56531 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56532 __feraiseexcept_renamed.
56534 2011-12-21 Ulrich Drepper <drepper@gmail.com>
56537 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56538 EPOLLET with unsigned values.
56539 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56540 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56542 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56543 to large cancellation.
56544 * math/s_cacoshf.c: Likewise.
56545 * math/s_cacoshl.c: Likewise.
56547 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
56551 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56552 * math/s_cacoshf.c: Likewise.
56553 * math/s_cacoshl.c: Likewise.
56555 2011-12-21 Ulrich Drepper <drepper@gmail.com>
56558 * iconv/gconv.h: Define __GCONV_SWAP.
56559 * iconvdata/unicode.c: The swap bit must be stored in __flags.
56560 * iconvdata/utf-16.c: Likewise.
56561 * iconvdata/utf-32.c: Likewise.
56563 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
56566 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56567 numerator after shifting it by one limb.
56569 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
56571 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56572 under [__USE_EXTERN_INLINES].
56574 2011-12-17 Ulrich Drepper <drepper@gmail.com>
56577 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56579 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56581 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56582 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56584 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56585 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56586 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56587 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56588 for strncasecmp/strncasecmp_l compilation.
56589 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56590 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56592 2011-12-08 Marek Polacek <mpolacek@redhat.com>
56595 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56598 2011-12-17 Ulrich Drepper <drepper@gmail.com>
56601 * time/tzfile.c (__tzfile_read): Check values from file header.
56603 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
56605 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56606 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56607 * powerpc/powerpc32/dl-start.S: Likewise.
56608 * powerpc/powerpc32/elf/start.S: Likewise.
56609 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56610 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56611 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56612 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56613 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56614 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56615 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56616 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56617 * powerpc/powerpc32/fpu/s_round.S: Likewise.
56618 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56619 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56620 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56621 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56622 * powerpc/powerpc32/memset.S: Likewise.
56623 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56624 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56625 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56626 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56627 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56628 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56629 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56630 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56631 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56632 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56633 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56634 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56635 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56637 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56639 * math/libm-test.inc: Added more nearbyint tests.
56640 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56641 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56642 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56643 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56645 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
56647 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56650 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56652 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56653 Add wcscpy-ssse3 wcscpy-c.
56654 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56655 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56656 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56657 * sysdeps/x86_64/wcschr.S: New file.
56658 * sysdeps/x86_64/wcsrchr.S: New file.
56659 * string/test-strcmp.c: Remove checking of wcscmp function for
56661 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56662 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56663 wcsrchr-sse2 wcsrchr-c.
56664 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56665 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56666 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56667 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56668 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56669 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56670 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56671 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56672 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56673 * wcsmbc/wcschr.c (WCSCHR): New macro.
56675 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56677 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56678 * wcsmbs/test-wcsrchr.c: New file.
56679 * string/test-strrchr.c: Add wcsrchr support.
56681 * wcsmbs/test-wcscpy.c: New file.
56682 * string/test-strcpy.c: Add wcscpy support.
56685 2011-12-10 Ulrich Drepper <drepper@gmail.com>
56687 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56690 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
56693 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56695 2011-12-04 Ulrich Drepper <drepper@gmail.com>
56697 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56698 Minor optimizations.
56700 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56701 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56702 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56704 2011-12-03 Ulrich Drepper <drepper@gmail.com>
56706 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56707 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56708 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56709 for gcc to avoid warnings.
56710 * inet/Makefile (tests): Add tst-checks.
56711 * inet/tst-checks.c: New file.
56713 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56716 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56719 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56720 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56722 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56724 2011-12-02 Ulrich Drepper <drepper@gmail.com>
56726 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56729 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56731 2011-11-29 Joseph Myers <joseph@codesourcery.com>
56733 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56734 conditional on GCC version.
56735 (__arch_compare_and_exchange_val_8_acq)
56736 (__arch_compare_and_exchange_val_16_acq)
56737 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56738 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56739 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56741 2011-12-02 Joseph Myers <joseph@codesourcery.com>
56743 * sysdeps/sh/backtrace.c: New file.
56745 2011-12-02 Andreas Schwab <schwab@redhat.com>
56747 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
56750 2011-12-01 Andreas Schwab <schwab@redhat.com>
56752 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56753 falling back to utime.
56755 2011-11-30 Andreas Schwab <schwab@redhat.com>
56757 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56758 expectations for float.
56760 2011-11-29 Andreas Schwab <schwab@redhat.com>
56762 * locale/weight.h (findidx): Add parameter len.
56763 * locale/weightwc.h (findidx): Likewise.
56764 * posix/fnmatch_loop.c (FCT): Adjust caller.
56765 * posix/regcomp.c (build_equiv_class): Likewise.
56766 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56767 * posix/regexec.c (check_node_accept_bytes): Likewise.
56768 * string/strcoll_l.c (STRCOLL): Likewise.
56769 * string/strxfrm_l.c (STRXFRM): Likewise.
56771 2011-11-17 Ulrich Drepper <drepper@gmail.com>
56773 * Makefile.in: Remove CVSOPT handling.
56774 * configure.in: Remove use of AC_REVISION.
56775 * iconvdata/Makefile (distribute): No need to filter out CVS.
56776 * scripts/list-sources.sh: Remove CVS, subversion and monotone
56779 2011-11-16 Andreas Schwab <schwab@redhat.com>
56781 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56782 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56783 [USE_AS_STRNCASECMP_L]: Likewise.
56784 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56785 NO_TLS_DIRECT_SEG_REFS.
56786 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56787 Fix argument offsets for non-PIC.
56788 [USE_AS_STRNCASECMP_L]: Likewise.
56789 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56790 NO_TLS_DIRECT_SEG_REFS.
56792 2011-11-15 Ulrich Drepper <drepper@gmail.com>
56794 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56796 * locale/loadlocale.c (_nl_load_locale): Likewise.
56798 2011-11-15 Andreas Schwab <schwab@redhat.com>
56800 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56801 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56802 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56803 (SYSCALL_GETTIME): Set errno on error.
56805 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56806 count references to noai6ai_cached.
56808 2011-11-15 Ulrich Drepper <drepper@gmail.com>
56810 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56812 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56813 FD_CLOEXEC for /proc/self/maps.
56815 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56816 FD_CLOEXEC for /proc/meminfo.
56818 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56821 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
56822 FD_CLOEXEC for given file.
56824 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56826 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56827 FD_CLOEXEC for /etc/hosts.
56828 (_gethtent): Likewise.
56830 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56832 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56833 cancellation and set FD_CLOEXEC for /etc/netgroup.
56835 * nss/nss_files/files-key.c (search): Don't allow cancellation when
56836 reading /etc/publickey.
56838 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56839 allow cancellation when reading /etc/group.
56841 * nss/nss_files/files-alias.c (internal_setent): Don't allow
56843 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
56845 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56846 when using data file.
56848 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56850 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56851 (write_nis_obj): Use "c" and "e" in fopen.
56853 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56855 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56857 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56859 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56861 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56864 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56866 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56868 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56870 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56871 file parsing and set FD_CLOEXEC.
56873 2011-11-14 Ulrich Drepper <drepper@gmail.com>
56875 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56877 2011-11-14 Andreas Schwab <schwab@redhat.com>
56879 * malloc/arena.c (arena_get2): Don't call reused_arena when
56880 _int_new_arena failed.
56882 2011-11-14 Ulrich Drepper <drepper@gmail.com>
56884 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56885 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56886 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56887 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56888 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56889 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56890 to compile strcasecmp and strncasecmp.
56891 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56892 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56894 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56896 2011-11-13 Ulrich Drepper <drepper@gmail.com>
56898 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56899 locale-defines.sym to gen-as-const-headers.
56900 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56901 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56902 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56903 to compile strcasecmp and strncasecmp.
56904 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56905 strcasecmp_l and strncasecmp_l.
56906 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56907 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56908 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56909 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56910 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56911 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56912 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56913 * sysdeps/i386/i686/multiarch/strncase.S: New file.
56914 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56915 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56916 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56918 2011-11-12 Ulrich Drepper <drepper@gmail.com>
56920 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56921 result of SYSDEP_GETTIME_CPU to retval.
56922 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56923 parameter list to macro. Remove trailing semicolon. Adjust users.
56925 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56928 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56930 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56932 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56933 from unused variable.
56935 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56937 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56940 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56943 * sunrpc/rpc_prot.c (rejected): Fix case value.
56945 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56946 unsigned long long int to avoid warnings in shift.
56948 * posix/regex_internal.c (re_string_reconstruct): Actually use result
56950 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56953 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56954 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56955 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56957 * nis/nis_table.c (nis_list): Use variable of correct type for
56958 result of __follow_path call.
56960 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56962 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56963 of math functions ceil, trunc, floor, round, and sqrt, when
56964 avaliable on the platform.
56965 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56967 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56968 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56969 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56971 2011-10-30 Marek Polacek <mpolacek@redhat.com>
56973 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56974 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56976 2011-11-11 Roland McGrath <roland@hack.frob.com>
56978 * include/unistd.h: Fix __readlink return type.
56979 Reported by Chris Metcalf <cmetcalf@tilera.com>.
56981 2011-11-11 Ulrich Drepper <drepper@gmail.com>
56983 * stdlib/ucontext.h: Undo last change for makecontext.
56985 2011-11-11 Andreas Schwab <schwab@redhat.com>
56987 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56989 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56990 * setjmp/setjmp.h: Mark functions as non-leaf.
56991 * setjmp/bits/setjmp2.h: Likewise.
56992 * stdlib/ucontext.h: Likewise.
56994 2011-11-10 Andreas Schwab <schwab@redhat.com>
56996 * malloc/arena.c (_int_new_arena): Don't increment narenas.
56997 (reused_arena): Don't check arena limit.
56998 (arena_get2): Atomically check arena limit.
57000 2011-11-08 Ulrich Drepper <drepper@gmail.com>
57002 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57003 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57005 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57008 2011-11-07 Andreas Schwab <schwab@redhat.com>
57010 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57011 handler when locking.
57013 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57014 Fix size of allocated buffer.
57016 2011-11-04 Andreas Schwab <schwab@redhat.com>
57019 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57020 declarations for long double functions.
57021 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57023 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57025 2011-11-03 Andreas Schwab <schwab@redhat.com>
57027 * nscd/nscd.c (main): Don't start AVC thread until credentials are
57030 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57033 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
57035 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57037 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
57039 * include/alloca.h (stackinfo_alloca_round): Define.
57040 (extend_alloca): Use it.
57041 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57042 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57045 * scripts/check-local-headers.sh: Ignore libaudit.h.
57047 * nscd/Makefile (extra-objs): Make recursively expanded.
57049 2011-11-01 Ulrich Drepper <drepper@gmail.com>
57051 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57052 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57054 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57055 * posix/tst-rfc3484-2.c: Likewise.
57056 * posix/tst-rfc3484-3.c: Likewise.
57058 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57060 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57062 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57063 process_vm_writev from libc using GLIBC_2.15 version.
57065 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57067 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
57069 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57072 2011-10-31 Ulrich Drepper <drepper@gmail.com>
57075 * nss/getent.c (initgroups_keys): Show error message in case no group
57078 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57079 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57080 __bump_nl_timestamp.
57081 * nscd/connections (nscd_init): When host database is served open
57082 netlink socket and request notification about configuration changes.
57083 (main_loop_poll): Track netlink file descriptor and bump timestamp
57084 in case data becomes available.
57085 (main_loop_epoll): Likewise.
57086 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57087 (database_pers_head): Add extra_data fileds.
57088 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57089 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57090 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57092 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57093 in6ai data, call __free_in6ai.
57094 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57095 Add -DHAVE_NETLINK.
57096 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
57097 interface information. Reuse previous data if netlink timestamp
57099 (__bump_nl_timestamp): New function.
57100 (__free_in6ai): New function.
57102 2011-10-30 Ulrich Drepper <drepper@gmail.com>
57104 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57105 close_not_cancel_no_status here.
57106 (__check_pf): Reorganize code a bit to not call close twice if OOM.
57108 2011-10-29 Ulrich Drepper <drepper@gmail.com>
57111 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57114 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57115 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57116 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57118 2011-07-03 Andreas Jaeger <aj@suse.de>
57121 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57122 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57123 * math/libm-test.inc (sin_test): Add test case.
57125 2011-10-29 Ulrich Drepper <drepper@gmail.com>
57128 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57129 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57131 * elf/chroot_canon.c (chroot_canon): Cleanups.
57133 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57136 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57137 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57139 * string/test-strchr.c: Make usable for strchrnul testing.
57140 * string/test-strchrnul.c: New file.
57141 * string/Makefile (strop-tests): Add strchrnul.
57143 * po/it.po: Update from translation team.
57144 * po/es.po: Likewise.
57146 2011-10-28 Ulrich Drepper <drepper@gmail.com>
57148 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57149 the three constants needed as parameters. Drop the others.
57150 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57151 __m128i_strloadu_tolower.
57152 Create and initialize variable zero and use it in all the places
57153 where _mm_setzero_si128 was used.
57155 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57156 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57157 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57158 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57160 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57161 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57162 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57163 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57164 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57165 __mpranred, __mptan.
57166 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57167 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57168 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57169 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57170 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57171 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57172 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57173 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57174 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57176 2011-10-28 Andreas Schwab <schwab@redhat.com>
57178 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57179 redefine if SHARED.
57180 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57182 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57183 wide char related routines to wcsmbs subdir.
57185 2011-10-27 Andreas Schwab <schwab@redhat.com>
57188 * misc/sys/cdefs.h (__THROWNL): Define.
57189 * posix/unistd.h: Use __THREADNL instead of __THREAD
57190 for memory synchronization functions.
57192 2011-10-26 Roland McGrath <roland@hack.frob.com>
57195 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57197 * manual/stdio.texi (Obstack Streams): Node removed.
57199 2011-10-26 Andreas Schwab <schwab@redhat.com>
57201 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57202 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57203 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57205 * math/math_private.h (math_force_eval): Allow non-addressable
57207 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57209 2011-10-25 Ulrich Drepper <drepper@gmail.com>
57211 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57212 file is not needed.
57214 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57215 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57216 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57217 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57218 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57219 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57220 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57221 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57223 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57224 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57225 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57226 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57227 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57228 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57229 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57230 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57231 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57232 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57233 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57234 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57235 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57236 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57237 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57238 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57239 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57240 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57241 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57243 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57244 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
57246 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57247 place. Use VEX encoding when compiling for AVX.
57249 2011-10-25 Andreas Schwab <schwab@redhat.com>
57251 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57252 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57254 * string/test-strchr.c (do_test): Don't generate NUL bytes.
57256 2011-10-25 Ulrich Drepper <drepper@gmail.com>
57258 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57259 useless if() expression.
57260 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57261 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57262 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57263 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57264 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57265 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57266 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57267 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57268 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57269 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57270 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57271 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57272 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57273 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57274 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57275 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57276 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57277 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57278 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57280 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57282 2011-10-25 Andreas Schwab <schwab@redhat.com>
57284 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57286 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57288 2011-10-25 Ulrich Drepper <drepper@gmail.com>
57290 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57291 .text section. Avoid duplicate constants.
57292 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57293 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57294 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57295 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57296 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57297 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57298 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57299 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57300 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57301 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57302 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57303 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57304 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57305 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57306 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57307 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57308 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57309 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57310 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57311 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57312 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57313 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57314 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57315 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57316 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57317 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57318 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57319 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57320 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57321 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57322 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57323 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57324 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57325 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57326 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57327 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57328 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57329 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57330 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57331 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57332 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57333 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57334 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
57335 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
57336 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57338 2011-10-24 Ulrich Drepper <drepper@gmail.com>
57340 * sysdeps/x86_64/dla.h: Move to ...
57341 * sysdeps/x86_64/fpu/dla.h: ...here.
57342 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57343 situations. Use __builtin_fma only for gcc 4.6 and up.
57345 * config.make.in: Add have-mfma4 entry.
57346 * configure.in: Substitute libc_cv_cc_fma4.
57347 * math/Makefile (dbl-only-routines): Add sincostab.
57348 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57349 Use __sincostab not sincos.
57350 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57352 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57353 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57354 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57355 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
57357 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
57358 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
57359 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57360 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57362 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57363 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57365 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
57366 define aliases when function name is a macro.
57367 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57368 sysdeps/ieee754/dbl-64/sincos.tbl.
57369 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57370 fma4-enabled routines.
57371 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57372 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57373 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57374 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57375 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57376 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57377 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
57378 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
57379 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
57380 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
57381 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
57382 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
57383 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
57384 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
57385 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
57386 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
57387 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
57388 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
57389 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
57390 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
57391 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
57392 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
57393 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
57394 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
57395 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
57396 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
57397 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
57398 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
57399 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
57400 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
57402 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
57404 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57405 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57406 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57407 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57409 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57410 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57411 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57413 2011-10-24 Andreas Schwab <schwab@redhat.com>
57415 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
57417 2011-10-23 Ulrich Drepper <drepper@gmail.com>
57419 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
57421 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
57423 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
57425 * string/strnlen.c: Don't define STRNLEN, reverse logic.
57426 Remove unused variable magic_bits.
57427 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
57429 * string/strnlen.c: Define and use STRNLEN macro.
57430 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
57431 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
57432 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
57433 * wcsmbs/wcslen.c: Define and use WCSLEN.
57434 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
57435 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
57436 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
57437 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
57438 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
57439 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
57440 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57442 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57445 strnlen-sse2-no-bsf.
57446 Rename strlen-no-bsf to strlen-sse2-no-bsf.
57447 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57448 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57449 Add strnlen support.
57450 (USE_AS_STRNLEN): New macro.
57451 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57452 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57453 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57454 * sysdeps/x86_64/wcslen.S: New file.
57456 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
57458 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57459 XMM-moves are used for copying on small sizes.
57461 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57463 * wcsmbs/Makefile (strop-tests): Add wcschr.
57464 * wcsmbs/test-wcschr.c: New file.
57465 * string/test-strchr.c: Update.
57466 Add wcschr support.
57469 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57471 * wcsmbs/Makefile (strop-tests): Add wcslen.
57472 * wcsmbs/test-wcslen.c: New file.
57473 * string/test-strlen.c: Update.
57474 Add wcslen support.
57477 2011-10-23 Ulrich Drepper <drepper@gmail.com>
57479 * po/it.po: Update from translation team.
57481 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57483 * sysdeps/x86_64/wcscmp.S: Update.
57484 Fix wrong comparison semantics.
57485 wcscmp shall use signed comparison not unsigned.
57486 Don't use substraction to avoid overflow bug.
57487 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57488 * wcsmbc/wcscmp.c: Likewise.
57489 * string/test-strcmp.c: Likewise.
57490 Add new tests to check cases with negative values.
57492 2011-10-23 Ulrich Drepper <drepper@gmail.com>
57494 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57495 * sysdeps/x86_64/dla.h: ...here. New file.
57496 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57497 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57498 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57499 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57500 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57501 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57502 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57503 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57504 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57506 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
57508 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57509 __ynl_finite aliases.
57511 2011-10-22 Ulrich Drepper <drepper@gmail.com>
57513 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57515 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57517 [DLA_FMA] (EMULV): Use DLA_FMA.
57518 [DLA_FMA] (MUL12): Use EMULV.
57519 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57520 that are not needed.
57521 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57523 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57524 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57525 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57526 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57527 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57529 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
57531 * math/s_nan.c: Undef __nan.
57532 * math/s_nanf.c: Undef __nanf.
57533 * math/s_nanl.c: Undef __nanl.
57534 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57537 2011-10-22 Ulrich Drepper <drepper@gmail.com>
57539 * math/s_catan.c: Add branch predictions.
57540 * math/s_catanf.c: Likewise.
57541 * math/s_catanh.c: Likewise.
57542 * math/s_catanhf.c: Likewise.
57543 * math/s_catanhl.c: Likewise.
57544 * math/s_catanl.c: Likewise.
57545 * math/s_cexp.c: Likewise.
57546 * math/s_cexpf.c: Likewise.
57547 * math/s_cexpl.c: Likewise.
57548 * math/s_clog.c: Likewise.
57549 * math/s_clog10.c: Likewise.
57550 * math/s_clog10f.c: Likewise.
57551 * math/s_clog10l.c: Likewise.
57552 * math/s_clogf.c: Likewise.
57553 * math/s_clogl.c: Likewise.
57554 * math/s_csqrt.c: Likewise.
57555 * math/s_csqrtf.c: Likewise.
57556 * math/s_csqrtl.c: Likewise.
57557 * math/s_ctanf.c: Likewise.
57558 * math/s_ctanh.c: Likewise.
57559 * math/s_ctanhf.c: Likewise.
57560 * math/s_ctanhl.c: Likewise.
57561 * math/s_ctanl.c: Likewise.
57563 * math/math_private.h: Define __nan, __nanf, __nanl.
57564 * math/s_cacosh.c: Include <math_private.h>.
57565 * math/s_cacoshl.c: Likewise.
57566 * math/s_casinh.c: Likewise.
57567 * math/s_casinhf.c: Likewise.
57568 * math/s_casinhl.c: Likewise.
57569 * math/s_ccos.c: Rely entire on ccosh.
57570 * math/s_ccosf.c: Rely entire on ccoshf.
57571 * math/s_ccosl.c: Rely entirely on ccoshl.
57572 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
57573 Remove tests for FE_INVALID.
57574 * math/s_ccoshf.c: Likewise.
57575 * math/s_ccoshl.c: Likewise.
57576 * math/s_csin.c: Likewise.
57577 * math/s_csinf.c: Likewise.
57578 * math/s_csinh.c Likewise.
57579 * math/s_csinhf.c: Likewise.
57580 * math/s_csinhl.c: Likewise.
57581 * math/s_csinl.c: Likewise.
57582 * math/s_ctan.c: Likewise.
57583 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57584 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57585 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57587 2011-10-21 Ulrich Drepper <drepper@gmail.com>
57589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57590 compilation problems.
57592 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57595 2011-10-20 Ulrich Drepper <drepper@gmail.com>
57597 * sysdeps/i386/configure.in: Test for -mfma4 option.
57598 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57599 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57600 COMMON_CPUID_INDEX_80000001.
57601 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57602 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57603 use it if FMA3 is not supported.
57604 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57606 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57607 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57609 2011-10-20 Andreas Schwab <schwab@redhat.com>
57612 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57613 it would create a cycle with a link time dependency.
57615 2011-10-19 Ulrich Drepper <drepper@gmail.com>
57617 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57619 * string/Makefile (strop-tests): Add rawmemchr.
57620 * string/test-rawmemchr.c: New file.
57622 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57623 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
57624 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
57625 when compiling str{,n}casecmp and when AVX is available. Hook up
57626 new optimized code in initializers.
57628 2011-10-19 Andreas Schwab <schwab@redhat.com>
57630 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57631 __feraiseexcept instead of feraiseexcept.
57633 2011-10-18 Ulrich Drepper <drepper@gmail.com>
57635 * math/math_private.h: Define defaults for libc_fetestexcept and
57637 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57638 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57639 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57640 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57641 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57642 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57643 libc_fetestexcept and libc_feupdateenv.
57645 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57646 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57647 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57648 * sysdeps/x86_64/fpu/math_private.h: Define special version of
57649 libc_feholdexcept_setround.
57651 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57652 Add s_nearbyint-c and s_nearbyintf-c.
57653 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57654 nearbyintf inlines.
57655 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57656 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57657 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57658 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57660 * math/math_private.h: Define defaults for libc_fegetround,
57661 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57662 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57663 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57664 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57665 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57666 standard functions.
57667 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57668 Remove comments and hacks for old compiler versions.
57669 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57670 libc_fegetround, libc_fesetround, libc_feholdexcept, and
57671 libc_feholdexceptl.
57673 2011-10-18 Andreas Schwab <schwab@redhat.com>
57675 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57676 (__feraiseexcept_renamed): Add __NTH.
57677 (feraiseexcept): Add __NTH. Rename local variables to fix
57678 namespace violations.
57680 2011-10-17 Ulrich Drepper <drepper@gmail.com>
57682 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57684 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57686 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57687 recently added interfaces.
57688 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57690 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57691 about macro parameter expansion.
57693 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57694 __NO_MATH_INLINES is defined. Cleanups.
57696 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57697 and __floorf is target has SSE4.1.
57698 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57699 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57700 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57701 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57703 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57705 (floorf): Likewise.
57707 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57709 2011-10-17 Andreas Schwab <schwab@redhat.com>
57711 * misc/sys/cdefs.h: Fix last change.
57713 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57716 2011-10-16 Ulrich Drepper <drepper@gmail.com>
57718 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57720 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57721 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57722 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57723 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57724 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57725 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57726 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57727 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57728 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57729 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57730 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57731 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57732 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57733 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57734 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57735 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57736 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57737 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57738 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57739 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57740 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57741 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57743 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57744 ceil, ceilf, floor, floorf.
57746 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57747 Perform IRELATIVE relocations last.
57749 * elf/do-rel.h: Add another parameter nrelative, replacing the
57750 local variable with the same name. Change name of the function
57751 to end in Rel or Rela (uppercase).
57752 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57753 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
57754 elf_dynamic_do_##reloc function.
57756 2011-10-15 Ulrich Drepper <drepper@gmail.com>
57758 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57759 is sufficient, at least on modern CPUs.
57761 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57763 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57764 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57766 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57768 * math/bits/math-finite.h: Add entries for exp.
57769 * math/e_expl.c: Add __*_finite alias.
57770 * sysdeps/i386/fpu/e_exp.S: Likewise.
57771 * sysdeps/i386/fpu/e_expf.S: Likewise.
57772 * sysdeps/i386/fpu/e_expl.c: Likewise.
57773 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57774 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57775 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57776 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57777 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57778 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57779 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57781 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57782 is sufficient, at least on modern CPUs.
57784 * ctype/ctype-info.c (__ctype_init): Define.
57785 * include/ctype.h (__ctype_init): Declare.
57786 (__ctype_b_loc): The variable is always initialized.
57787 (__ctype_toupper_loc): Likewise.
57788 (__ctype_tolower_loc): Likewise.
57789 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57790 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57792 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
57794 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57796 * configure.in: Also look in $cxxmachine/include for C++ system
57799 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57801 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57802 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57803 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57804 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
57805 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57806 (USE_AS_WMEMCMP): New macro.
57808 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57809 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57810 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57811 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57812 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57813 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57814 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57815 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57816 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57817 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57818 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57819 (USE_AS_WMEMCMP): New macro.
57820 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57821 * sysdeps/string/test-memcmp.c: Update.
57822 Fix simple_wmemcmp.
57824 * wcsmbs/wmemcmp.c: Update.
57825 (WMEMCMP): New macro.
57828 2011-10-12 Andreas Jaeger <aj@suse.de>
57831 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57833 2011-10-15 Ulrich Drepper <drepper@gmail.com>
57835 * libio/iofwide.c (do_length): Avoid warning.
57837 * ctype/ctype.h (__isctype_f): Add missing __THROW.
57839 2011-10-14 Ulrich Drepper <drepper@gmail.com>
57841 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57843 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57844 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57845 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57846 * sysdeps/i386/i686/fpu/e_log.S: New file.
57847 * sysdeps/i386/i686/fpu/e_logf.S: New file.
57848 * sysdeps/i386/i686/fpu/e_logl.S: New file.
57850 * ctype/ctype.h: Add support for inlined isXXX functions when
57851 compiling C++ code.
57853 2011-10-14 Andreas Schwab <schwab@redhat.com>
57855 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57857 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57859 2011-10-13 Roland McGrath <roland@hack.frob.com>
57862 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57864 2011-10-13 Andreas Schwab <schwab@redhat.com>
57866 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57867 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57870 * sysdeps/x86_64/memrchr.S: Check for zero size.
57872 * string/stratcliff.c: Add memrchr tests.
57874 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57876 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57877 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57878 rawmemchr-sse2 rawmemchr-sse2-bsf.
57879 * sysdeps/i386/i686/multiarch/memchr.S: New file.
57880 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57881 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57882 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57883 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57884 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57885 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57886 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57887 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57888 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57889 * string/memrchr.c (MEMRCHR): New macro.
57891 2011-10-12 Ulrich Drepper <drepper@gmail.com>
57893 Add integration with gcc's -ffinite-math-only and optimize wrapper
57895 * Versions.def: Define GLIBC_2.15 version for libm.
57896 * math/Makefile (headers): Add bits/math-finite.h.
57897 * math/bits/math-finite.h: New file.
57898 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57899 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57900 * math/e_acoshl.c: Add __*_finite alias.
57901 * math/e_acosl.c: Likewise.
57902 * math/e_asinl.c: Likewise.
57903 * math/e_atan2l.c: Likewise.
57904 * math/e_atanhl.c: Likewise.
57905 * math/e_coshl.c: Likewise.
57906 * math/e_exp10.c: Likewise.
57907 * math/e_exp10f.c: Likewise.
57908 * math/e_exp10l.c: Likewise.
57909 * math/e_exp2l.c: Likewise.
57910 * math/e_fmodl.c: Likewise.
57911 * math/e_gammal_r.c: Likewise.
57912 * math/e_hypotl.c: Likewise.
57913 * math/e_j0l.c: Likewise.
57914 * math/e_j1l.c: Likewise.
57915 * math/e_jnl.c: Likewise.
57916 * math/e_lgammal_r.c: Likewise.
57917 * math/e_log10l.c: Likewise.
57918 * math/e_log2l.c: Likewise.
57919 * math/e_logl.c: Likewise.
57920 * math/e_powl.c: Likewise.
57921 * math/e_sinhl.c: Likewise.
57922 * math/e_sqrtl.c: Likewise.
57923 * math/e_scalb.c: Completely rewritten and optimized.
57924 * math/e_scalbf.c: Likewise.
57925 * math/e_scalbl.c: Likewise.
57926 * math/w_acos.c: Likewise.
57927 * math/w_acosf.c: Likewise.
57928 * math/w_acosl.c: Likewise.
57929 * math/w_acosh.c: Likewise.
57930 * math/w_acoshf.c: Likewise.
57931 * math/w_acoshl.c: Likewise.
57932 * math/w_asin.c: Likewise.
57933 * math/w_asinf.c: Likewise.
57934 * math/w_asinl.c: Likewise.
57935 * math/w_atan2.c: Likewise.
57936 * math/w_atan2f.c: Likewise.
57937 * math/w_atan2l.c: Likewise.
57938 * math/w_atanh.c: Likewise.
57939 * math/w_atanhf.c: Likewise.
57940 * math/w_atanhl.c: Likewise.
57941 * math/w_exp10.c: Likewise.
57942 * math/w_exp10f.c: Likewise.
57943 * math/w_exp10l.c: Likewise.
57944 * math/w_fmod.c: Likewise.
57945 * math/w_fmodf.c: Likewise.
57946 * math/w_fmodl.c: Likewise.
57947 * math/w_j0.c: Likewise.
57948 * math/w_j0f.c: Likewise.
57949 * math/w_j0l.c: Likewise.
57950 * math/w_j1.c: Likewise.
57951 * math/w_j1f.c: Likewise.
57952 * math/w_j1l.c: Likewise.
57953 * math/w_jn.c: Likewise.
57954 * math/w_jnf.c: Likewise.
57955 * math/w_log.c: Likewise.
57956 * math/w_logf.c: Likewise.
57957 * math/w_logl.c: Likewise.
57958 * math/w_log10.c: Likewise.
57959 * math/w_log10f.c: Likewise.
57960 * math/w_log10l.c: Likewise.
57961 * math/w_log2.c: Likewise.
57962 * math/w_log2f.c: Likewise.
57963 * math/w_log2l.c: Likewise.
57964 * math/w_pow.c: Likewise.
57965 * math/w_powf.c: Likewise.
57966 * math/w_powl.c: Likewise.
57967 * math/w_remainder.c: Likewise.
57968 * math/w_remainderf.c: Likewise.
57969 * math/w_remainderl.c: Likewise.
57970 * math/w_scalb.c: Likewise.
57971 * math/w_scalbf.c: Likewise.
57972 * math/w_scalbl.c: Likewise.
57973 * math/w_sqrt.c: Likewise.
57974 * math/w_sqrtf.c: Likewise.
57975 * math/w_sqrtl.c: Likewise.
57976 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57977 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
57979 * math/math_private.h: Declare __kernel_standard_f.
57980 * math/w_cosh.c: Remove cruft and optimize a bit.
57981 * math/w_coshf.c: Likewise.
57982 * math/w_coshl.c: Likewise.
57983 * math/w_exp2.c: Likewise.
57984 * math/w_exp2f.c: Likewise.
57985 * math/w_exp2l.c: Likewise.
57986 * math/w_hypot.c: Likewise.
57987 * math/w_hypotf.c: Likewise.
57988 * math/w_hypotl.c: Likewise.
57989 * math/w_lgamma.c: Likewise.
57990 * math/w_lgamma_r.c: Likewise.
57991 * math/w_lgammaf.c: Likewise.
57992 * math/w_lgammaf_r.c: Likewise.
57993 * math/w_lgammal.c: Likewise.
57994 * math/w_lgammal_r.c: Likewise.
57995 * math/w_sinh.c: Likewise.
57996 * math/w_sinhf.c: Likewise.
57997 * math/w_sinhl.c: Likewise.
57998 * math/w_tgamma.c: Likewise.
57999 * math/w_tgammaf.c: Likewise.
58000 * math/w_tgammal.c: Likewise.
58001 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58002 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58003 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58004 Minor optimizations. Pretty printing. Remove cruft.
58005 * sysdeps/i386/fpu/e_acosf.S: Likewise.
58006 * sysdeps/i386/fpu/e_acosh.S: Likewise.
58007 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58008 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58009 * sysdeps/i386/fpu/e_acosl.c: Likewise.
58010 * sysdeps/i386/fpu/e_asin.S: Likewise.
58011 * sysdeps/i386/fpu/e_asinf.S: Likewise.
58012 * sysdeps/i386/fpu/e_atan2.S: Likewise.
58013 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58014 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58015 * sysdeps/i386/fpu/e_atanh.S: Likewise.
58016 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58017 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58018 * sysdeps/i386/fpu/e_exp10.S: Likewise.
58019 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58020 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58021 * sysdeps/i386/fpu/e_exp2.S: Likewise.
58022 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58023 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58024 * sysdeps/i386/fpu/e_fmod.S: Likewise.
58025 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58026 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58027 * sysdeps/i386/fpu/e_hypot.S: Likewise.
58028 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58029 * sysdeps/i386/fpu/e_log.S: Likewise.
58030 * sysdeps/i386/fpu/e_log10.S: Likewise.
58031 * sysdeps/i386/fpu/e_log10f.S: Likewise.
58032 * sysdeps/i386/fpu/e_log10l.S: Likewise.
58033 * sysdeps/i386/fpu/e_log2.S: Likewise.
58034 * sysdeps/i386/fpu/e_log2f.S: Likewise.
58035 * sysdeps/i386/fpu/e_log2l.S: Likewise.
58036 * sysdeps/i386/fpu/e_logf.S: Likewise.
58037 * sysdeps/i386/fpu/e_logl.S: Likewise.
58038 * sysdeps/i386/fpu/e_pow.S: Likewise.
58039 * sysdeps/i386/fpu/e_powf.S: Likewise.
58040 * sysdeps/i386/fpu/e_powl.S: Likewise.
58041 * sysdeps/i386/fpu/e_remainder.S: Likewise.
58042 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58043 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58044 * sysdeps/i386/fpu/e_scalb.S: Likewise.
58045 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58046 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58047 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58048 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58049 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58050 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58051 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58052 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58053 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58054 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58055 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58056 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58057 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58058 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58059 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58060 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58061 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58062 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58063 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58064 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58065 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58066 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58067 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58068 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58069 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58070 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58071 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58072 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58073 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58074 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58075 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58076 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58077 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58078 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58079 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58080 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58081 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58082 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58083 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58084 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58085 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58086 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58087 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58088 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58089 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58090 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58091 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58092 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58093 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58094 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58095 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58096 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58097 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58098 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58099 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58100 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58101 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58102 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58103 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58104 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58105 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58106 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58107 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58108 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58109 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58110 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58111 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58112 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58113 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58114 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58115 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58116 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58117 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58118 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58119 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58120 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58121 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58122 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58123 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58124 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58125 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58126 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58127 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58128 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58129 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58130 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58131 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58132 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58133 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58134 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58135 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58136 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58137 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58138 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58139 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58140 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58141 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58142 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58143 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58144 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58145 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58146 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58147 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58148 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58149 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58150 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58151 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58152 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58153 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58154 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58155 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58156 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58157 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58158 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58159 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58160 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
58161 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58162 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58163 (__isnanf): Likewise.
58164 (__isinf_ns): Likewise.
58165 (__isinf_nsf): Likewise.
58166 (__finite): Likewise.
58167 (__finitef): Likewise.
58168 (__ieee754_sqrt): Define as macro.
58169 (__ieee754_sqrtf): Define as macro.
58170 (__ieee754_sqrtl): Define as macro.
58171 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58173 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58174 __FINITE_MATH_ONLY__ consistent.
58175 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58177 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
58179 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58182 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58184 2011-10-09 Ulrich Drepper <drepper@gmail.com>
58186 * po/ja.po: Update from translation team.
58188 2011-10-08 Roland McGrath <roland@hack.frob.com>
58190 * locale/programs/locarchive.c (prepare_address_space): New function.
58191 (create_archive, enlarge_archive, open_archive): Use it.
58193 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58194 inside [SHARED], where it is used.
58196 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58198 * nss/getent.c (netgroup_keys): Remove unused variable.
58199 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58201 2011-10-08 Ulrich Drepper <drepper@gmail.com>
58203 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58204 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58205 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58206 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58207 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58208 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58209 * math/Makefile (libm-calls): Add s_isinf_ns.
58210 * math/divtc3.c: Use __isinf_nsl instead of isinf.
58211 * math/multc3.c: Likewise.
58212 * math/s_casin.c: Likewise.
58213 * math/s_casinf.c: Likewise.
58214 * math/s_casinl.c: Likewise.
58215 * math/s_ccos.c: Likewise.
58216 * math/s_ccosf.c: Likewise.
58217 * math/s_ccosl.c: Likewise.
58218 * math/s_ctan.c: Likewise.
58219 * math/s_ctanf.c: Likewise.
58220 * math/s_ctanh.c: Likewise.
58221 * math/s_ctanhf.c: Likewise.
58222 * math/s_ctanhl.c: Likewise.
58223 * math/s_ctanl.c: Likewise.
58224 * math/w_fmod.c: Likewise.
58225 * math/w_fmodf.c: Likewise.
58226 * math/w_fmodl.c: Likewise.
58227 * math/w_remainder.c: Likewise.
58228 * math/w_remainderf.c: Likewise.
58229 * math/w_remainderl.c: Likewise.
58230 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58231 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58232 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58233 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58234 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58235 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58236 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58237 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58239 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58241 * stdio-common/printf_fphex.c: Likewise.
58242 * stdio-common/printf_size.c: Likewise.
58244 * math/e_exp10.c: Include math_private.h using <...> not "...".
58245 * math/e_exp10f.c: Likewise.
58246 * math/e_exp10l.c: Likewise.
58247 * math/e_exp2l.c: Likewise.
58248 * math/e_j0l.c: Likewise.
58249 * math/e_j1l.c: Likewise.
58250 * math/e_jnl.c: Likewise.
58251 * math/e_lgammal_r.c: Likewise.
58252 * math/e_rem_pio2l.c: Likewise.
58253 * math/e_scalb.c: Likewise.
58254 * math/e_scalbf.c: Likewise.
58255 * math/e_scalbl.c: Likewise.
58256 * math/k_cosl.c: Likewise.
58257 * math/k_sinl.c: Likewise.
58258 * math/k_tanl.c: Likewise.
58259 * math/s_cacoshf.c: Likewise.
58260 * math/s_catan.c: Likewise.
58261 * math/s_catanf.c: Likewise.
58262 * math/s_catanh.c: Likewise.
58263 * math/s_catanhf.c: Likewise.
58264 * math/s_catanhl.c: Likewise.
58265 * math/s_catanl.c: Likewise.
58266 * math/s_ccosh.c: Likewise.
58267 * math/s_ccoshf.c: Likewise.
58268 * math/s_ccoshl.c: Likewise.
58269 * math/s_cexp.c: Likewise.
58270 * math/s_cexpf.c: Likewise.
58271 * math/s_cexpl.c: Likewise.
58272 * math/s_clog.c: Likewise.
58273 * math/s_clog10.c: Likewise.
58274 * math/s_clog10f.c: Likewise.
58275 * math/s_clog10l.c: Likewise.
58276 * math/s_clogf.c: Likewise.
58277 * math/s_clogl.c: Likewise.
58278 * math/s_csin.c: Likewise.
58279 * math/s_csinf.c: Likewise.
58280 * math/s_csinh.c: Likewise.
58281 * math/s_csinhf.c: Likewise.
58282 * math/s_csinhl.c: Likewise.
58283 * math/s_csinl.c: Likewise.
58284 * math/s_csqrt.c: Likewise.
58285 * math/s_csqrtf.c: Likewise.
58286 * math/s_csqrtl.c: Likewise.
58287 * math/s_ctan.c: Likewise.
58288 * math/s_ctanf.c: Likewise.
58289 * math/s_ctanh.c: Likewise.
58290 * math/s_ctanhf.c: Likewise.
58291 * math/s_ctanhl.c: Likewise.
58292 * math/s_ctanl.c: Likewise.
58293 * math/s_ldexp.c: Likewise.
58294 * math/s_ldexpf.c: Likewise.
58295 * math/s_ldexpl.c: Likewise.
58296 * math/s_significand.c: Likewise.
58297 * math/s_significandf.c: Likewise.
58298 * math/s_significandl.c: Likewise.
58299 * math/w_acos.c: Likewise.
58300 * math/w_acosf.c: Likewise.
58301 * math/w_acosh.c: Likewise.
58302 * math/w_acoshf.c: Likewise.
58303 * math/w_acoshl.c: Likewise.
58304 * math/w_acosl.c: Likewise.
58305 * math/w_asin.c: Likewise.
58306 * math/w_asinf.c: Likewise.
58307 * math/w_asinl.c: Likewise.
58308 * math/w_atan2.c: Likewise.
58309 * math/w_atan2f.c: Likewise.
58310 * math/w_atan2l.c: Likewise.
58311 * math/w_atanh.c: Likewise.
58312 * math/w_atanhf.c: Likewise.
58313 * math/w_atanhl.c: Likewise.
58314 * math/w_cosh.c: Likewise.
58315 * math/w_coshf.c: Likewise.
58316 * math/w_coshl.c: Likewise.
58317 * math/w_dremf.c: Likewise.
58318 * math/w_exp10.c: Likewise.
58319 * math/w_exp10f.c: Likewise.
58320 * math/w_exp10l.c: Likewise.
58321 * math/w_exp2.c: Likewise.
58322 * math/w_exp2f.c: Likewise.
58323 * math/w_fmod.c: Likewise.
58324 * math/w_fmodf.c: Likewise.
58325 * math/w_fmodl.c: Likewise.
58326 * math/w_hypot.c: Likewise.
58327 * math/w_hypotf.c: Likewise.
58328 * math/w_hypotl.c: Likewise.
58329 * math/w_j0.c: Likewise.
58330 * math/w_j0f.c: Likewise.
58331 * math/w_j0l.c: Likewise.
58332 * math/w_j1.c: Likewise.
58333 * math/w_j1f.c: Likewise.
58334 * math/w_j1l.c: Likewise.
58335 * math/w_jn.c: Likewise.
58336 * math/w_jnf.c: Likewise.
58337 * math/w_jnl.c: Likewise.
58338 * math/w_lgamma.c: Likewise.
58339 * math/w_lgamma_r.c: Likewise.
58340 * math/w_lgammaf.c: Likewise.
58341 * math/w_lgammaf_r.c: Likewise.
58342 * math/w_lgammal.c: Likewise.
58343 * math/w_lgammal_r.c: Likewise.
58344 * math/w_log.c: Likewise.
58345 * math/w_log10.c: Likewise.
58346 * math/w_log10f.c: Likewise.
58347 * math/w_log10l.c: Likewise.
58348 * math/w_log2.c: Likewise.
58349 * math/w_log2f.c: Likewise.
58350 * math/w_log2l.c: Likewise.
58351 * math/w_logf.c: Likewise.
58352 * math/w_logl.c: Likewise.
58353 * math/w_pow.c: Likewise.
58354 * math/w_powf.c: Likewise.
58355 * math/w_powl.c: Likewise.
58356 * math/w_remainder.c: Likewise.
58357 * math/w_remainderf.c: Likewise.
58358 * math/w_remainderl.c: Likewise.
58359 * math/w_scalb.c: Likewise.
58360 * math/w_scalbf.c: Likewise.
58361 * math/w_scalbl.c: Likewise.
58362 * math/w_sinh.c: Likewise.
58363 * math/w_sinhf.c: Likewise.
58364 * math/w_sinhl.c: Likewise.
58365 * math/w_sqrt.c: Likewise.
58366 * math/w_sqrtf.c: Likewise.
58367 * math/w_sqrtl.c: Likewise.
58368 * math/w_tgamma.c: Likewise.
58369 * math/w_tgammaf.c: Likewise.
58370 * math/w_tgammal.c: Likewise.
58372 * po/ja.po: Update from translation team.
58374 2011-09-29 Andreas Jaeger <aj@suse.de>
58377 * sunrpc/netname.c (netname2host): Fix logic.
58381 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
58383 * math/w_remainder.c (__remainder): Likewise.
58384 * math/w_remainderf.c (__remainderf): Likewise.
58385 * math/libm-test.inc (remainder_test): Add test cases.
58387 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58389 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
58392 2011-10-07 Ulrich Drepper <drepper@gmail.com>
58394 * string/test-memcmp.c: Avoid unncessary #defines.
58395 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58397 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58399 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
58400 Use new sse2 version for core i3 - i7 as it's faster
58401 than sse42 version.
58402 (bit_Prefer_PMINUB_for_stringop): New.
58403 * sysdeps/x86_64/rawmemchr.S: Update.
58404 Replace with faster SSE2 version.
58405 * sysdeps/x86_64/memrchr.S: New file.
58406 * sysdeps/x86_64/memchr.S: Update.
58407 Replace with faster SSE2 version.
58409 2011-09-12 Marek Polacek <mpolacek@redhat.com>
58411 * elf/dl-load.c (lose): Add cast to avoid warning.
58413 2011-10-07 Ulrich Drepper <drepper@gmail.com>
58415 * po/ca.po: Update from translation team.
58417 * inet/getnetgrent_r.c: Hook up nscd.
58418 * nscd/Makefile (routines): Add nscd_netgroup.
58419 (nscd-modules): Add netgroupcache.
58420 (CFLAGS-netgroupcache.c): Define.
58421 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
58422 (cache_search): Add const to second parameter.
58423 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
58425 (dbs): Add netgrdb entry.
58426 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
58427 (verify_persistent_db): Handle netgrdb.
58428 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
58429 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
58431 (netgroup_response_header): Define.
58432 (innetgroup_response_header): Define.
58433 (datahead): Add netgroup_response_header and innetgroup_response_header
58435 * nscd/nscd.conf: Add entries for netgroup cache.
58436 * nscd/nscd.h (dbtype): Add netgrdb.
58437 (_PATH_NSCD_NETGROUP_DB): Define.
58438 (netgroup_iov_disabled): Declare.
58439 (xmalloc, xcalloc, xrealloc): Move declarations here.
58440 (cache_search): Adjust prototype.
58441 Add netgroup-related prototypes.
58442 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
58443 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
58444 (__nscd_innetgr): Declare.
58445 * nscd/selinux.c (perms): Use access_vector_t as element type and
58446 add netgroup-related initializers.
58447 * nscd/netgroupcache.c: New file.
58448 * nscd/nscd_netgroup.c: New file.
58449 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58450 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58451 For four parameters use innetgr.
58452 * nss/nss_files/files-init.c: Add definition and callback for netgr.
58453 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58454 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58455 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58457 * nscd/connections.c (register_traced_file): Don't register file
58458 for disabled databases.
58460 2011-10-06 Ulrich Drepper <drepper@gmail.com>
58462 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58464 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58465 from tree and freeing node.
58467 2011-09-25 Jiri Olsa <jolsa@redhat.com>
58469 * nss/nsswitch.c (__nss_database_lookup): Handle
58470 nss_parse_service_list out of memory case.
58472 2011-09-15 Jiri Olsa <jolsa@redhat.com>
58474 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58475 out of memory case.
58477 2011-10-04 Andreas Schwab <schwab@redhat.com>
58479 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58480 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58482 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58483 elf_machine_rela, elf_machine_lazy_rel.
58484 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58485 (ELF_DYNAMIC_DO_REL): Likewise.
58486 (ELF_DYNAMIC_DO_RELA): Likewise.
58487 (ELF_DYNAMIC_RELOCATE): Likewise.
58488 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58489 to ELF_DYNAMIC_DO_REL.
58490 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58491 (dl_main): In trace mode always set __RTLD_NOIFUNC.
58492 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58494 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58495 skip_ifunc, don't call ifunc function if non-zero.
58496 (elf_machine_rela): Likewise.
58497 (elf_machine_lazy_rel): Likewise.
58498 (elf_machine_lazy_rela): Likewise.
58499 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58500 (elf_machine_lazy_rel): Likewise.
58501 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58503 (elf_machine_lazy_rel): Likewise.
58504 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58506 (elf_machine_lazy_rel): Likewise.
58507 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58508 (elf_machine_lazy_rel): Likewise.
58509 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58510 (elf_machine_lazy_rel): Likewise.
58511 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58512 (elf_machine_lazy_rel): Likewise.
58513 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58514 (elf_machine_lazy_rel): Likewise.
58515 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58516 (elf_machine_lazy_rel): Likewise.
58517 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58518 (elf_machine_lazy_rel): Likewise.
58520 2011-09-28 Ulrich Drepper <drepper@gmail.com>
58522 * nss/nss_files/files-init.c (_nss_files_init): Use static
58523 initialization for all the *_traced_file variables.
58525 2011-09-28 Andreas Schwab <schwab@redhat.com>
58527 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58529 2011-09-27 Roland McGrath <roland@hack.frob.com>
58532 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58534 2011-09-27 Andreas Schwab <schwab@redhat.com>
58536 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58537 Reread the line before reparsing it.
58539 2011-09-26 Andreas Schwab <schwab@redhat.com>
58541 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58543 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
58544 Maxim Kuvyrkov <maxim@codesourcery.com>
58545 Joseph Myers <joseph@codesourcery.com>
58547 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58548 if needed for __stack_chk_guard.
58550 2011-09-19 Roland McGrath <roland@hack.frob.com>
58552 * sysdeps/posix/spawni.c (script_execute): Always define it.
58553 It will be optimized away if unused.
58554 (maybe_script_execute): New function.
58555 (__spawni): Call it.
58557 * Makerules: Don't include tls.make.
58558 (config-tls): Always set to thread.
58559 * tls.make.c: File removed.
58561 2011-09-19 Mike Frysinger <vapier@gentoo.org>
58563 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58564 * config.make.in (CPPFLAGS-config): New substituted variable.
58566 2011-09-15 Ulrich Drepper <drepper@gmail.com>
58568 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58571 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58572 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58574 2011-09-15 Roland McGrath <roland@hack.frob.com>
58576 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58577 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58578 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58579 (CALL_FAIL): Likewise.
58580 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58581 (CALL_FAIL): Macro removed.
58582 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58584 2011-09-15 Ulrich Drepper <drepper@gmail.com>
58586 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58587 for __FINITE_MATH_ONLY__ == 1.
58589 2011-09-15 Andreas Schwab <schwab@redhat.com>
58591 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58592 __ieee754_sqrt instead of sqrt.
58593 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58594 __ieee754_sqrtf instead of sqrtf.
58595 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58596 __floorf instead of floorf.
58597 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58598 __floorf, __truncf instead of floorf, truncf.
58600 2011-09-14 Ulrich Drepper <drepper@gmail.com>
58602 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58604 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58605 __extern_always_inline.
58606 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58609 2011-09-14 Andreas Schwab <schwab@redhat.com>
58611 * elf/rtld.c (dl_main): Also relocate in dependency order when
58612 doing symbol dependency testing.
58614 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
58616 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58617 Always define `refsym'.
58619 2011-09-13 Andreas Schwab <schwab@redhat.com>
58621 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58622 (__FD_ELT): Renamed from __FDELT.
58623 * misc/bits/select2.h (__FD_ELT): Likewise.
58624 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58625 __FD_MASK instead of __FDELT, __FDMASK.
58626 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58628 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58631 * elf/Makefile (gen-ldd): Fix pattern.
58633 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58634 (init_tls): Likewise.
58636 2011-09-12 Ulrich Drepper <drepper@gmail.com>
58638 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58640 2011-09-12 Andreas Schwab <schwab@redhat.com>
58642 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58643 `struct cmsghdr *' instead of `void *'.
58644 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58647 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
58649 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58651 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58652 ldd_rewrite_script.
58654 2011-09-11 Ulrich Drepper <drepper@gmail.com>
58656 * configure.in: Remove --with-tls option.
58657 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58658 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58659 out in case it is missing.
58660 * sysdeps/ia64/elf/configure.in: Likewise.
58661 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58662 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58663 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58664 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58665 * sysdeps/sh/elf/configure.in: Likewise.
58666 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58667 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58668 * sysdeps/x86_64/elf/configure.in: Likewise.
58669 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58670 * sysdeps/mach/hurd/tls.h: Likewise.
58673 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58676 * configure.in: Fix use of AC_INIT.
58678 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58680 2011-09-10 Ulrich Drepper <drepper@gmail.com>
58682 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58684 * malloc/hooks.c: Likewise.
58687 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
58688 variables statically.
58689 (narenas): Initialize.
58690 (list_lock): Initialize.
58691 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
58692 initializtion of main_arena and list_lock. Small cleanups.
58693 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58694 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
58695 Add initializers to main_arena and mp_.
58696 (malloc_state): Remove pagesize member. Change all users to use
58699 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58700 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
58701 is always initialized.
58703 * malloc/malloc.c: Removed unused configurations and dead code.
58704 * malloc/arena.c: Likewise.
58705 * malloc/hooks.c: Likewise.
58706 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58708 * include/tls.h: Removed. USE___THREAD must always be defined.
58709 * bits/libc-tsd.h: Don't handle !USE___THREAD.
58710 * elf/dl-libc.c: Likewise.
58711 * elf/dl-tsd.c: Likewise.
58712 * include/errno.h: Likewise.
58713 * include/netdb.h: Likewise.
58714 * include/resolv.h: Likewise.
58715 * inet/herrno-loc.c: Likewise.
58716 * inet/herrno.c: Likewise.
58717 * malloc/arena.c: Likewise.
58718 * malloc/hooks.c: Likewise.
58719 * malloc/malloc.c: Likewise.
58720 * resolv/res-state.c: Likewise.
58721 * resolv/res_libc.c: Likewise.
58722 * sysdeps/i386/dl-machine.h: Likewise.
58723 * sysdeps/ia64/dl-machine.h: Likewise.
58724 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58725 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58726 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58727 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58728 * sysdeps/sh/dl-machine.h: Likewise.
58729 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58730 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58731 * sysdeps/unix/i386/sysdep.S: Likewise.
58732 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58733 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58734 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58735 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58736 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58737 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58738 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58740 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58741 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58742 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58743 * sysdeps/x86_64/dl-machine.h: Likewise.
58744 * tls.make.c: Likewise.
58746 * configure.in: Remove --with-__thread option. Make tests for
58747 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58748 tls_model attribute fail if no support is available. Remove
58750 * Makeconfig: Adjust for dropped configure option. All features are
58752 * Makerules: Likewise.
58753 * Versions.def: Likewise.
58754 * argp/argp-fmtstream.c: Likewise.
58755 * argp/argp-fmtstream.h: Likewise.
58756 * argp/argp-help.c: Likewise.
58757 * assert/assert.c: Likewise.
58758 * config.h.in: Likewise.
58759 * config.make.in: Likewise.
58760 * configure: Likewise.
58761 * configure.in: Likewise.
58762 * csu/Versions: Likewise.
58763 * csu/init.c: Likewise.
58764 * elf/tst-audit2.c: Likewise.
58765 * elf/tst-tls10.c: Likewise.
58766 * elf/tst-tls10.h: Likewise.
58767 * elf/tst-tls11.c: Likewise.
58768 * elf/tst-tls12.c: Likewise.
58769 * elf/tst-tls14.c: Likewise.
58770 * elf/tst-tlsmod11.c: Likewise.
58771 * elf/tst-tlsmod12.c: Likewise.
58772 * elf/tst-tlsmod13.c: Likewise.
58773 * elf/tst-tlsmod13a.c: Likewise.
58774 * elf/tst-tlsmod14a.c: Likewise.
58775 * elf/tst-tlsmod15b.c: Likewise.
58776 * elf/tst-tlsmod16a.c: Likewise.
58777 * elf/tst-tlsmod16b.c: Likewise.
58778 * elf/tst-tlsmod7.c: Likewise.
58779 * elf/tst-tlsmod8.c: Likewise.
58780 * elf/tst-tlsmod9.c: Likewise.
58781 * gmon/gmon.c: Likewise.
58782 * grp/fgetgrent_r.c: Likewise.
58783 * grp/putgrent.c: Likewise.
58784 * hurd/fopenport.c: Likewise.
58785 * include/libc-symbols.h: Likewise.
58786 * include/tls.h: Likewise.
58787 * intl/gettextP.h: Likewise.
58788 * intl/loadinfo.h: Likewise.
58789 * locale/global-locale.c: Likewise.
58790 * locale/localeinfo.h: Likewise.
58791 * mach/devstream.c: Likewise.
58792 * malloc/arena.c: Likewise.
58793 * malloc/set-freeres.c: Likewise.
58794 * misc/err.c: Likewise.
58795 * misc/getttyent.c: Likewise.
58796 * misc/mntent_r.c: Likewise.
58797 * posix/getopt.c: Likewise.
58798 * posix/wordexp.c: Likewise.
58799 * pwd/fgetpwent_r.c: Likewise.
58800 * resolv/Versions: Likewise.
58801 * resolv/res_hconf.c: Likewise.
58802 * shadow/fgetspent_r.c: Likewise.
58803 * shadow/putspent.c: Likewise.
58804 * stdio-common/printf_fphex.c: Likewise.
58805 * stdio-common/tmpfile.c: Likewise.
58806 * stdlib/abort.c: Likewise.
58807 * stdlib/fmtmsg.c: Likewise.
58808 * sunrpc/auth_unix.c: Likewise.
58809 * sunrpc/clnt_perr.c: Likewise.
58810 * sunrpc/clnt_tcp.c: Likewise.
58811 * sunrpc/clnt_udp.c: Likewise.
58812 * sunrpc/clnt_unix.c: Likewise.
58813 * sunrpc/openchild.c: Likewise.
58814 * sunrpc/svc_simple.c: Likewise.
58815 * sunrpc/svc_tcp.c: Likewise.
58816 * sunrpc/svc_udp.c: Likewise.
58817 * sunrpc/svc_unix.c: Likewise.
58818 * sunrpc/xdr.c: Likewise.
58819 * sunrpc/xdr_array.c: Likewise.
58820 * sunrpc/xdr_rec.c: Likewise.
58821 * sunrpc/xdr_ref.c: Likewise.
58822 * sunrpc/xdr_stdio.c: Likewise.
58824 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58826 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58828 2011-07-03 Andreas Jaeger <aj@suse.de>
58830 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58831 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58832 regenerate with gen-libm-tests.pl.
58834 2010-05-12 Petr Baudis <pasky@suse.cz>
58837 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58838 around j0() zero points by switching to j1().
58839 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58840 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58841 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58842 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58844 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58846 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58848 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58850 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58851 Patch in part by Pavel Roskin <proski@gnu.org>.
58854 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58856 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
58857 Free memory block if necessary.
58860 * libio/genops.c (INTDEF): For string streams the _lock pointer can
58861 be NULL. Don't lock in this case.
58863 2011-09-09 Roland McGrath <roland@hack.frob.com>
58865 * elf/elf.h (ELFOSABI_GNU): New macro.
58866 (ELFOSABI_LINUX): Define to that.
58868 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
58870 * string/strncat.c (strncat): Undef the symbol in case it has been
58871 defined in bits/string.h.
58873 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58875 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58877 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58880 2011-08-17 Andreas Jaeger <aj@suse.de>
58882 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58884 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
58885 Ian Lance Taylor <iant@google.com>
58887 * math/libm-test.inc (lround_test): New testcase.
58888 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58890 2011-09-08 Ulrich Drepper <drepper@gmail.com>
58892 * Makefile: Remove support for automatic cvs check-ins.
58893 * Makerules: Likewise.
58894 * config.make.in: Likewise.
58895 * configure.in: Likewise.
58896 * intl/Makefile: Likewise.
58897 * locale/Makefile: Likewise.
58898 * po/Makefile: Likewise.
58899 * posix/Makefile: Likewise.
58900 * sysdeps/gnu/Makefile: Likewise.
58901 * sysdeps/mach/hurd/Makefile: Likewise.
58902 * sysdeps/sparc/sparc32/Makefile: Likewise.
58905 * posix/Makefile (bug-regex32-ENV): Define.
58906 Patch by John Stanley <jpsinthemix@verizon.net>.
58908 * misc/Makefile (headers): Add bits/select2.h.
58909 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58910 * misc/bits/select2.h: New file.
58911 * include/bits/select2.h: New file.
58912 * debug/Makefile (routines): Add fdelt_chk.
58913 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58914 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58916 * debug/fdelt_chk.c: New file.
58918 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
58919 * wcsmbs/test-wmemcmp.c: Likewise.
58920 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58921 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58923 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58925 * string/Makefile (strop-tests): Add memcmp.
58926 * string/test-wmemcmp.c: New file.
58927 * string/test-memcmp.c: Add wmemcmp support.
58929 2011-09-08 Roland McGrath <roland@hack.frob.com>
58932 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58935 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58936 garbage value in a __mach_port_mod_refs call in the cases of the
58937 task-self and thread-self ports.
58939 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
58941 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58943 2011-09-08 Andreas Schwab <schwab@redhat.com>
58945 * elf/dl-load.c (lose): Check for non-null L.
58947 2011-09-07 Ulrich Drepper <drepper@gmail.com>
58949 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58951 * elf/dl-libc.c (dlerror_run): Pass back error code from
58955 * elf/dl-load.c (lose): Free l_origin if it is valid.
58957 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58959 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58960 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58961 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58962 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58963 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58964 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58966 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58968 * sysdeps/powerpc/fpu/e_hypot.c: New file.
58969 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58970 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58971 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58972 * sysdeps/powerpc/fpu/k_cosf.c: New file.
58973 * sysdeps/powerpc/fpu/k_sinf.c: New file.
58974 * sysdeps/powerpc/fpu/s_cosf.c: New file.
58975 * sysdeps/powerpc/fpu/s_sinf.c: New file.
58976 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58977 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58979 2011-08-15 Alan Modra <amodra@gmail.com>
58982 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58983 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58984 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
58985 ppc_mcount to static-only-routines.
58986 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58988 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58989 __mcount_internal with usual JUMPTARGET. Remove useless nop.
58991 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
58993 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58994 for finite and infinity parameters.
58996 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58998 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58999 and add nop instructions for throughput optimization.
59000 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59002 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
59004 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59005 aligned copy for power7 with vector-scalar instructions.
59006 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59008 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
59010 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59013 2011-09-07 Andreas Schwab <schwab@redhat.com>
59016 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59019 2011-09-07 Ulrich Drepper <drepper@gmail.com>
59021 * sysdeps/unix/sysv/linux/x86_64/init-first.c
59022 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59023 syscall wrapper around clock_gettime in __vdso_clock_gettime.
59024 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59027 2011-09-06 Ulrich Drepper <drepper@gmail.com>
59029 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59030 Forgot to demangle the pointer.
59032 * sysdeps/i386/sysdep.h: Define atom_text_section.
59033 * sysdeps/x86_64/sysdep.h: Likewise.
59034 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59035 section with atom_text_section.
59036 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59037 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59038 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59039 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59040 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59042 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59043 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59044 already be defined. Change to take two parameters and don't assign
59045 result to variable. Adjust all users.
59046 Define INTERNAL_GETTIME if not already defined.
59047 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59049 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59050 HAVE_CLOCK_GETTIME_VSYSCALL.
59051 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59053 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59054 gettimeofday vsyscall, just use time.
59056 2011-09-06 Andreas Schwab <schwab@redhat.com>
59058 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59061 2011-09-06 Ulrich Drepper <drepper@gmail.com>
59063 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59065 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59067 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59068 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59069 syscall if possible.
59071 2011-09-05 Ulrich Drepper <drepper@gmail.com>
59073 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59074 e_ident. Don't pass to find_mapsXX.
59075 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59077 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59080 strchr-sse2-no-bsf strrchr-sse2-no-bsf
59081 * sysdeps/x86_64/multiarch/strchr.S: Update.
59082 Check bit_slow_BSF bit.
59083 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59084 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59085 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59087 2011-09-05 Ulrich Drepper <drepper@gmail.com>
59090 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59092 (tryshell): Define.
59093 (__spawni): Change last parameter to be flag. Test
59094 SPAWN_XFLAGS_USE_PATH flag to use path or not.
59095 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59096 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59097 * posix/spawni.c: Likewise.
59098 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59099 * posix/spawnp.c: Likewise. Change normal version to use
59100 SPAWN_XFLAGS_USE_PATH.
59101 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59102 SPAWN_XFLAGS_TRY_SHELL.
59105 * posix/glob.h: Remove gcc 1.x support.
59108 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59110 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59113 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59115 * sysdeps/i386/i686/multiarch/strchr.S: New file.
59116 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59117 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59118 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59119 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59120 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59122 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59124 * sysdeps/x86_64/wcscmp.S: New file.
59126 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59127 wcscmp-c wcscmp-sse2
59128 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59129 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59130 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59131 * wcsmbs/wcscmp.c: Allow renaming.
59133 2011-09-05 David S. Miller <davem@davemloft.net>
59135 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59136 stack slot, rather than the struct return pointer slot.
59137 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59138 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59140 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59142 2011-09-05 Ulrich Drepper <drepper@gmail.com>
59144 * po/ja.po: Update from translation team.
59147 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59148 kernel in 64-bit binaries.
59150 2011-09-01 David S. Miller <davem@davemloft.net>
59152 * elf/elf.h (HWCAP_SPARC_*): Move to..
59153 * sysdeps/sparc/sysdep.h: this new file and add new values.
59154 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59155 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59156 _DL_HWCAP_COUNT to 24.
59157 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59159 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59160 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59161 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59162 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59163 instead of magic constants.
59164 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59166 2011-08-31 David S. Miller <davem@davemloft.net>
59168 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59169 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59170 Reimplement to do errno handling inline.
59171 (SYSCALL_ERROR_HANDLER): New macro.
59172 (__SYSCALL_STRING): Do not do errno handling in asm.
59173 (__CLONE_SYSCALL_STRING): Delete.
59174 (__INTERNAL_SYSCALL_STRING): Delete.
59175 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59176 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59177 (PSEUDO): Reimplement to do errno handling inline.
59178 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59179 (SYSCALL_ERROR_HANDLER): New macro.
59180 (__SYSCALL_STRING): Do not do errno handling in asm.
59181 (__CLONE_SYSCALL_STRING): Delete.
59182 (__INTERNAL_SYSCALL_STRING): Delete.
59183 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59184 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59186 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59187 (inline_syscall*): Add 'err' argument.
59188 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59189 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59190 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59191 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59193 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59194 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59196 2011-08-30 Andreas Schwab <schwab@redhat.com>
59198 * elf/rtld.c (dl_main): Relocate objects in dependency order.
59200 2011-08-29 Jiri Olsa <jolsa@redhat.com>
59202 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59205 2011-08-24 David S. Miller <davem@davemloft.net>
59207 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59209 2011-08-24 Andreas Schwab <schwab@redhat.com>
59211 * elf/Makefile: Add rules to build and run unload8 test.
59212 * elf/unload8.c: New file.
59213 * elf/unload8mod1.c: New file.
59214 * elf/unload8mod1x.c: New file.
59215 * elf/unload8mod2.c: New file.
59216 * elf/unload8mod3.c: New file.
59218 * elf/dl-close.c (_dl_close_worker): Reset private search list if
59221 2011-08-23 David S. Miller <davem@davemloft.net>
59223 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59224 subtract stack bias.
59225 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59226 %sp not %fp in calculations.
59227 (_JMPBUF_UNWINDS_ADJ): Likewise.
59229 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59230 (aio_suspend): Call it to force an exception region around the
59231 AIO_MISC_WAIT() invocation.
59233 2011-08-23 Andreas Schwab <schwab@redhat.com>
59235 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59238 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
59240 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59242 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59243 and <dl-machine.h>.
59244 (Elf64_FuncDesc): Remove.
59246 2011-08-22 David S. Miller <davem@davemloft.net>
59248 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59249 sigaltstack check, add missing cfi directives.
59250 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59251 missing cfi directives, and sigaltstack handling.
59253 2011-08-16 Andreas Schwab <schwab@redhat.com>
59256 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59257 object is seen twice.
59258 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59260 * elf/Makefile (distribute): Add tst-initorder2.c.
59261 (tests): Add tst-initorder2.
59262 (modules-names): Add tst-initorder2a tst-initorder2b
59263 tst-initorder2c tst-initorder2d. Add rules to build them.
59264 ($(objpfx)tst-initorder2.out): New rule.
59265 * elf/tst-initorder2.c: New file.
59266 * elf/tst-initorder2.exp: New file.
59268 2011-08-22 Andreas Schwab <schwab@redhat.com>
59270 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59272 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59273 dependencies back to end of function.
59275 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59276 $(elfobjdir)/ld.so.
59278 2011-08-21 Ulrich Drepper <drepper@gmail.com>
59280 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59281 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59282 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59283 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59284 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59285 of __vdso_gettimeofday.
59286 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59287 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
59289 (_libc_vdso_platform_setup): Remove initialization of
59290 __vdso_gettimeofday and __vdso_time.
59292 2011-08-20 Ulrich Drepper <drepper@gmail.com>
59294 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59295 and fgetc_unlocked.
59296 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59299 * elf/dl-open.c (add_to_global): Report additions to the global scope
59300 for LD_DEBUG=scopes.
59301 (dl_open_worker): Also print scope of newly loaded dependencies.
59302 (_dl_show_scope): Indicate if there is no scope.
59305 * stdio-common/Makefile (tests): Add bug24.
59306 * stdio-common/bug24.c: New file.
59308 2011-08-19 Andreas Jaeger <aj@suse.de>
59311 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59312 non-existant file when using close-on-exec mode.
59314 2011-08-20 Ulrich Drepper <drepper@gmail.com>
59316 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59317 the very first instruction.
59319 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59320 the CFI state in the end.
59321 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59322 inclusion of dl-trampoline.h.
59323 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59325 2011-08-19 Andreas Schwab <schwab@redhat.com>
59327 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59328 expectations for long double.
59330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59331 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59333 2011-08-14 David S. Miller <davem@davemloft.net>
59335 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
59336 artificual limit depends upon the system page size.
59338 2011-08-17 Ulrich Drepper <drepper@gmail.com>
59340 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59341 * resolv/Makefile: Define CFLAGS-libresolv.
59343 2011-08-17 Andreas Schwab <schwab@redhat.com>
59345 * nss/makedb.c (compute_tables): Make variables used in nested
59348 2011-08-17 Ulrich Drepper <drepper@gmail.com>
59350 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59351 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59352 if buffer was too small.
59354 * elf/pldd.c (main): Attach to all threads in the process.
59355 Rewrite /proc handling to use *at functions.
59357 2011-08-16 Ulrich Drepper <drepper@gmail.com>
59359 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59360 specifies first scope to show.
59361 (dl_open_worker): Update callers. Move printing scope of new
59362 object to before the relocation.
59363 * elf/rtld.c (dl_main): Update _dl_show_scope call.
59364 * sysdeps/generic/ldsodefs.h: Update declaration.
59366 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59367 string for the scope number.
59369 2011-08-14 Ulrich Drepper <drepper@gmail.com>
59371 * nscd/servicescache.c (cache_addserv): Make sure written is always
59374 2011-08-14 Roland McGrath <roland@hack.frob.com>
59376 * sysdeps/i386/i486/bits/atomic.h
59377 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
59378 statement expression, so as to suppress "set but not used" warning.
59379 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
59381 * string/strncat.c (STRNCAT): Use prototype definition.
59383 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
59384 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
59386 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
59387 (localedef-modules): Add localedef.
59388 (locale-modules): Add locale.
59390 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
59391 * elf/rtld.c (dl_main): Invert order of assignment in last change,
59392 to avoid a warning.
59394 2011-08-14 David S. Miller <davem@davemloft.net>
59396 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
59397 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
59399 2011-08-13 Ulrich Drepper <drepper@gmail.com>
59401 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
59402 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
59403 * elf/rtld.c (dl_main): Set l_name of vDSO.
59404 Call _dl_show_scope when DL_DEBUG_SCOPES.
59405 (process_dl_debug): Recognize scopes flag and also set it for all.
59406 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
59407 Declare _dl_show_scope.
59409 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
59410 (do_dlopen): Pass caller_dlopen to dl_open.
59411 (__libc_dlopen_mode): Initialize caller_dlopen.
59413 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
59414 of libc. Make tolower call locale-independent. Optimize a bit by
59415 using isdigit instead of isalnum.
59416 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
59418 2011-08-12 Ulrich Drepper <drepper@gmail.com>
59420 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
59421 was a dependency or dynamically loaded.
59423 2011-08-11 Ulrich Drepper <drepper@gmail.com>
59425 * intl/l10nflist.c: Allow architecture-specific pop function.
59426 * sysdeps/x86_64/l10nflist.c: New file.
59428 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
59431 2011-08-10 Andreas Schwab <schwab@redhat.com>
59433 * include/dirent.h: Add libc_hidden_proto for scandirat and
59434 scandirat64. Don't declare __scandirat64.
59435 * dirent/scandirat.c: Add libc_hidden_def.
59436 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
59437 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
59439 2011-08-10 David S. Miller <davem@davemloft.net>
59441 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
59443 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59444 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59445 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59447 2011-08-09 Ulrich Drepper <drepper@gmail.com>
59449 * Versions.def [libc]: Add GLIBC_2.15.
59450 * dirent/Makefile (routines): Add scandirat and scandirat64.
59451 * dirent/Versions [libc]: Export scandirat and scandirat64 for
59453 * dirent/dirent.h: Declare scandirat and scandirat64.
59454 * dirent/scandirat.c: New file.
59455 * dirent/scandirat64.c: New file.
59456 * sysdeps/wordsize-64/scandirat.c: New file.
59457 * sysdeps/wordsize-64/scandirat64.c: New file.
59458 * dirent/opendir.c: Define opendirat.
59459 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
59461 * dirent/scandir64.c: Adjust for scandir.c change.
59462 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
59463 __scandirat64, and __scandir_cancel_handler.
59464 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
59465 additional parameter and use openat instead of open (outside of ld.so).
59466 Add new __opendir as wrapper around __opendirat.
59467 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59468 here without requiring old scandirat implementation.
59470 2011-08-08 Ulrich Drepper <drepper@gmail.com>
59472 * dirent/scandir.c (cancel_handler): Renamed to
59473 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
59474 defined. Adjust users.
59475 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59476 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59478 2011-08-04 Ulrich Drepper <drepper@gmail.com>
59480 * string/test-string.h (IMPL): Use __STRING to expand name and then
59483 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
59486 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59488 * string/Makefile: Update.
59489 (strop-tests): Append strncat.
59490 * string/test-wcscmp.c: New file.
59491 New comprehensive test for wcscmp.
59492 * string/test-strcmp.c: Update.
59493 (WIDE): New define.
59495 2011-07-22 Andreas Schwab <schwab@redhat.com>
59497 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59500 2011-07-26 Andreas Schwab <schwab@redhat.com>
59502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59503 encoding to ACE if AI_IDN.
59505 2011-08-01 Jakub Jelinek <jakub@redhat.com>
59507 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59508 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59510 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59512 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59513 Fix overflow bug in strncat.
59514 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59516 * string/test-strncat.c: Update.
59517 Add new tests for checking overflow bugs.
59519 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59521 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59522 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59523 * sysdeps/i386/i686/multiarch/strcat.S: New file.
59524 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59525 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59526 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59527 * sysdeps/i386/i686/multiarch/strncat.S: New file.
59528 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59529 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59531 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59532 (USE_AS_STRCAT): Define.
59533 Add strcat and strncat support.
59534 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59536 2011-07-25 Andreas Schwab <schwab@redhat.com>
59538 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59539 __n bigger than INT_MAX+1.
59540 (__strncmp_g): Likewise.
59542 2011-07-23 Ulrich Drepper <drepper@gmail.com>
59544 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59545 * libio/stido.h: Likewise.
59547 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59549 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59552 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59553 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59554 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59555 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59556 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59559 * scripts/test-installation.pl: Don't expect libnss_test1 to be
59562 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59564 (_dl_x86_64_save_sse): Likewise.
59566 2011-07-22 Ulrich Drepper <drepper@gmail.com>
59568 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59570 (_dl_x86_64_save_sse): Likewise.
59572 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59574 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59576 2011-07-21 Andreas Schwab <schwab@redhat.com>
59578 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59580 (_dl_x86_64_save_sse): Use correct AVX check.
59582 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59584 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59585 bug in strncpy/strncat.
59586 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59588 2011-07-21 Ulrich Drepper <drepper@gmail.com>
59590 * string/tester.c (test_strcat): Add tests for different alignments
59591 of source and destination.
59592 (test_strncat): Likewise.
59594 2011-07-20 Ulrich Drepper <drepper@gmail.com>
59597 * posix/glob.c (glob): Check passed in values before using them in
59598 expressions to avoid some overflows.
59599 (glob_in_dir): Likewise.
59602 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59603 check for AVX enablement so that we don't crash with old kernels and
59605 * elf/tst-audit4.c: Add same checks here.
59606 * elf/tst-audit6.c: Likewise.
59608 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59610 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
59612 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59614 2011-07-20 Ulrich Drepper <drepper@gmail.com>
59616 * po/cs.po: Update from translation team.
59617 * po/bg.po: Likewise.
59619 2011-07-12 Marek Polacek <mpolacek@redhat.com>
59621 * misc/sys/cdefs.h: Add support for const attribute.
59622 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59623 to gnu_dev_{major,minor,makedev} functions.
59625 2011-07-20 Marek Polacek <mpolacek@redhat.com>
59627 * intl/dcigettext.c (get_output_charset): Add missing bracket.
59629 2011-07-20 Andreas Schwab <schwab@redhat.com>
59631 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59634 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59636 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59637 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59638 register in order to avoid conflicts with the soft frame pointer
59639 being held in r11 when necessary.
59640 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59641 (INTERNAL_VSYSCALL_NCS): Likewise.
59643 2011-07-14 Marek Polacek <mpolacek@redhat.com>
59645 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59646 * elf/dl-fini.c (_dl_fini): Adjust caller.
59647 * elf/dl-close.c (_dl_close_worker): Likewise.
59648 * sysdeps/generic/ldsodefs.h: Adjust declaration.
59650 2011-07-15 Marek Polacek <mpolacek@redhat.com>
59652 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59653 "aux_cache->nlibs < 0".
59655 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59656 in the reload-count case.
59658 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59661 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59662 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59663 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59664 * sysdeps/x86_64/multiarch/strcat.S: New file.
59665 * sysdeps/x86_64/multiarch/strncat.S: New file.
59666 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59667 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59668 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59669 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59670 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59671 (USE_AS_STRCAT): Define.
59672 Add strcat and strncat support.
59673 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59674 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59675 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59676 * string/strncat.c: Update.
59677 (USE_AS_STRNCAT): Define.
59678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59679 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59681 * sysdeps/x86_64/multiarch/init-arch.h
59682 (bit_Prefer_PMINUB_for_stringop): New.
59683 (index_Prefer_PMINUB_for_stringop): Likewise.
59684 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59685 bit_Prefer_PMINUB_for_stringop.
59687 2011-07-19 Ulrich Drepper <drepper@gmail.com>
59689 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59691 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59692 of casting of buffer.
59693 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59694 buffer32 and buffer64.
59695 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59696 writes instead of casting of buffer.
59697 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59699 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59702 2011-07-19 Andreas Schwab <schwab@redhat.com>
59704 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59706 2011-07-19 Ulrich Drepper <drepper@gmail.com>
59708 * nscd/nscd.c (termination_handler): Don't do anything for a database
59709 if it has not yet been initialized.
59711 2011-07-18 Ulrich Drepper <drepper@gmail.com>
59713 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59715 2011-07-15 Marek Polacek <mpolacek@redhat.com>
59717 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59719 2011-07-18 Ulrich Drepper <drepper@gmail.com>
59721 * po/nl.po: Update from translation team.
59722 * po/sv.po: Likewise.
59724 2011-07-16 Roland McGrath <roland@hack.frob.com>
59726 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59727 now disallowed by GCC.
59729 * configure.in (use-default-link): Default to yes if a test -shared
59730 link meets our qualifications.
59731 * configure: Regenerated.
59733 * config.make.in (output-format): New variable.
59734 * configure.in: Check for ld --print-output-format support.
59735 * configure: Regenerated.
59736 * Makerules ($(common-objpfx)format.lds)
59737 [$(output-format) != unknown]: Just use $(output-format),
59738 instead of the linker-script munging.
59740 2011-07-14 Roland McGrath <roland@hack.frob.com>
59742 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59743 of $(common-objpfx)shlib.lds.
59744 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59746 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59747 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59749 * configure.in (-z relro check): Adjust test code to add a large
59750 writable data section after it.
59751 * configure: Regenerated.
59753 2011-07-11 Roland McGrath <roland@hack.frob.com>
59755 * configure.in (-z relro check): Fix test code to make the variable
59757 * configure: Regenerated.
59759 2011-07-11 Ulrich Drepper <drepper@gmail.com>
59761 * nscd/nscd.h (struct traced_file): Define.
59762 (struct database_dyn): Remove inotify_descr, reset_res, and filename
59763 elements. Add traced_files.
59764 (inotify_fd): Declare.
59765 (register_traced_file): Declare.
59766 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59767 (inotify_fd): Export.
59768 (resolv_conf_descr): Remove.
59769 (nscd_init): Move inotify descriptor creation to main.
59770 Don't register files for notification here.
59771 (register_traced_file): New function.
59772 (invalidate_cache): Don't use reset_res to determine whether to call
59773 res_init, go through the list of registered files.
59774 (main_loop_poll): The inotify descriptors are now stored in the
59775 structures for the traced files.
59776 (main_loop_epoll): Likewise
59777 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
59778 to __nss_disable_nscd.
59779 * nscd/cache.c (prune_cache): There is no single inotify descriptor
59780 for a database anymore. Check the records for all the registered
59782 * nss/Makefile (libnss_files-routines): Add files-init.
59783 (libnss_db-routines): Add db-init.
59784 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59785 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59786 * nss/nss_db/db-init.c: New file.
59787 * nss/nss_files/files-init.c: New file.
59788 * nss/nsswitch.c (nss_load_library): New function. Broken out of
59789 __nss_lookup_function.
59790 (__nss_lookup_function): Call nss_load_library.
59791 (nss_load_all_libraries): New function.
59792 (__nss_disable_nscd): Take parameter with callback function for files
59793 to register. Set is_nscd. Load all the DSOs for the NSS modules
59794 used for the cached services.
59795 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59796 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59797 options for features to all the files in nscd.
59799 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59801 2011-07-10 Roland McGrath <roland@hack.frob.com>
59803 * csu/elf-init.c (__libc_csu_init): Comment typo.
59805 2011-07-09 Ulrich Drepper <drepper@gmail.com>
59807 * po/pl.po: Update from translation team.
59808 * po/ja.po: Likewise.
59809 * po/ru.po: Likewise.
59810 * po/ko.po: Likewise.
59811 * po/fr.po: Likewise.
59813 2011-07-09 Roland McGrath <roland@hack.frob.com>
59815 * configure.in (.ctors/.dtors header and trailer check):
59816 Use an empirical test on a built program.
59817 * configure: Regenerated.
59819 * configure.in (-z relro check): Use an empirical test on a built DSO.
59820 Detect, but do not require, on ia64.
59821 * configure: Regenerated.
59823 * configure.in (READELF): Find it with AC_CHECK_TOOL.
59824 Update tests that use readelf to use $READELF instead.
59825 * configure: Regenerated.
59827 2011-07-08 Ulrich Drepper <drepper@gmail.com>
59829 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59830 if the result is not used.
59832 2011-07-05 Andreas Jaeger <aj@suse.de>
59835 * stdlib/tst-strtod.c: Add testcase.
59837 2011-07-07 Ulrich Drepper <drepper@gmail.com>
59839 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59840 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59841 The latter has a higher limit. Take additional parameter to pass to
59843 (__pathconf): Pass file to __statfs_link_max.
59844 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59846 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59850 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59851 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59853 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59854 (__statfs_filesize_max): Likewise.
59855 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59857 2011-07-05 Andreas Jaeger <aj@suse.de>
59859 * resolv/res_comp.c (dn_skipname): Remove unused variable.
59861 2011-07-06 Marek Polacek <mpolacek@redhat.com>
59863 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59865 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59868 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
59870 * Makefile (strop-tests): Add strncat.
59871 * string/test-strncat.c: New file.
59873 2011-06-30 Marek Polacek <mpolacek@redhat.com>
59875 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59877 2011-06-21 Andreas Jaeger <aj@suse.de>
59879 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59880 Copy rule from iconvdata/Makefile.
59882 2011-07-06 Ulrich Drepper <drepper@gmail.com>
59885 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59886 but no long options are defined, just return 'W'.
59888 2011-06-22 Marek Polacek <mpolacek@redhat.com>
59891 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59893 2011-07-06 Ulrich Drepper <drepper@gmail.com>
59895 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59897 (innetgr): Likewise.
59899 2011-07-05 Roland McGrath <roland@hack.frob.com>
59901 * config.make.in (install_root): Default to $(DESTDIR).
59903 2011-07-05 Ulrich Drepper <drepper@gmail.com>
59905 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59907 2011-07-02 Roland McGrath <roland@hack.frob.com>
59909 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59911 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59912 containing directory rather than embedding absolute directory names.
59914 * scripts/check-local-headers.sh: Rewritten using awk.
59915 Match by word, not by line. Print error messages for matches.
59916 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59918 * Makerules [shlib-lds-flags empty]:
59919 ($(common-objpfx)libc_pic.opts): New target.
59920 ($(common-objpfx)libc_pic.os.clean): New target.
59921 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59923 * config.make.in (OBJCOPY): New variable.
59924 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59925 * configure: Regenerated.
59927 * config.make.in (use-default-link): New variable.
59928 * configure.in (use_default_link): Grok --with-default-link to set it.
59929 * configure: Regenerated.
59930 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59931 (shlib-lds, shlib-lds-flags): Define to empty.
59933 * Makerules (shlib-lds): New variable.
59934 (shlib-lds-flags): New variable.
59935 (build-shlib, build-moduile, build-module-asneeded): Use it.
59936 ($(common-objpfx)libc.so): Use $(shlib-lds).
59937 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59938 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59940 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59941 DT_FLAGS/DT_FLAGS_1 with zero flags.
59943 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59944 linker script munging.
59946 2011-07-02 Ulrich Drepper <drepper@gmail.com>
59948 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59950 * crypt/sha512.c (sha512_process_block): Perform total addition using
59951 128-bit if possible.
59952 (__sha512_finish_ctx): Likewise.
59953 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59955 * crypt/sha256.c (SWAP64): Define.
59956 (sha256_process_block): Perform total addition using 64-bit if
59958 (__sha256_finish_ctx): Likewise.
59960 2011-07-01 Ulrich Drepper <drepper@gmail.com>
59962 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
59963 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59964 * nscd/hstcache.c (cache_addhst): Likewise.
59965 * nscd/grpcache.c (cache_addgr): Likewise.
59966 * nscd/aicache.c (addhstaiX): Likewise
59967 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59969 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
59971 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59972 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59973 * nscd/hstcache.c (cache_addhst): Likewise.
59974 * nscd/grpcache.c (cache_addgr): Likewise.
59975 * nscd/aicache.c (addhstaiX): Likewise
59977 2011-07-01 Andreas Schwab <schwab@redhat.com>
59979 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59980 domain only when needed.
59982 2011-06-30 Andreas Schwab <schwab@redhat.com>
59984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59985 is always restored.
59987 2011-06-29 Ulrich Drepper <drepper@gmail.com>
59989 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59990 are re-adding the entry.
59991 * nscd/servicescache.c (cache_addserv): Likewise.
59993 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
59995 * sysdeps/generic/dl-irel.h: fix protection against multiple
59997 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59999 2011-06-28 Ulrich Drepper <drepper@gmail.com>
60002 * malloc/memusage.sh: Fix quoting in message.
60003 * debug/xtrace.sh: Likewise.
60005 * configure.in: Remove support for --experimental-malloc option, make
60007 * config.make.in: Likewise.
60008 * malloc/Makefile: Likewise.
60010 2011-06-27 Andreas Schwab <schwab@redhat.com>
60012 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60013 two-byte characters.
60015 2011-06-27 Roland McGrath <roland@hack.frob.com>
60017 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60018 AC_CACHE_CHECK invocation.
60019 * configure: Regenerated.
60021 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60023 2011-06-27 Ulrich Drepper <drepper@gmail.com>
60026 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
60027 bit from old_res_options.
60029 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60031 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60032 value type for setfct.
60034 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
60036 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60037 __gettimeofday instead of gettimeofday.
60039 2011-06-26 Ulrich Drepper <drepper@gmail.com>
60041 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60043 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
60045 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60047 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60050 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
60052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60053 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60054 strcpy-sse2-unaligned strncpy-sse2-unaligned
60055 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60056 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60057 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60058 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60059 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60060 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60061 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60062 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60063 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60064 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60065 (STRCPY): Support SSE2 and SSSE3 versions.
60067 2011-06-24 Ulrich Drepper <drepper@gmail.com>
60070 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60071 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60072 kernels which artificially limit size of requests.
60074 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
60076 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60077 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60078 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60079 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60080 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60081 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60082 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60083 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60084 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60085 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60086 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60087 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60088 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60089 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60090 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60092 Enable unaligned load optimization for Intel Core i3, i5 and i7
60094 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60096 (index_Fast_Unaligned_Load): Define.
60097 (HAS_FAST_UNALIGNED_LOAD): Define.
60099 2011-06-23 Marek Polacek <mpolacek@redhat.com>
60101 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60103 2011-06-22 Ulrich Drepper <drepper@gmail.com>
60106 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60107 until it is clear that the information is realy needed.
60108 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60110 2011-06-22 Andreas Schwab <schwab@redhat.com>
60112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60114 2011-06-22 Ulrich Drepper <drepper@gmail.com>
60116 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60117 /sys/devices/system/cpu/online if it is usable.
60119 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60120 reading the information from the /proc filesystem to once a second.
60122 2011-06-21 Andreas Jaeger <aj@suse.de>
60124 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60125 NULL after inclusion of kernel headers.
60127 2011-06-21 Ulrich Drepper <drepper@gmail.com>
60129 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60130 calls to internal_setent.
60133 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60134 addresses using gethostbyname4_r ignore IPv4 addresses.
60136 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60137 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
60139 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60141 2011-06-20 David S. Miller <davem@davemloft.net>
60143 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60145 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60147 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60148 (elf_irel): Use it.
60149 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60150 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60151 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60152 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60153 * sysdeps/x86_64/dl-irel.h: Likewise.
60155 * elf/dl-runtime.c: Use elf_ifunc_invoke.
60156 * elf/dl-sym.c: Likewise.
60158 2011-06-15 Ulrich Drepper <drepper@gmail.com>
60160 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
60161 need to dereference resplen2.
60163 2011-06-14 Andreas Schwab <schwab@redhat.com>
60165 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60167 2011-06-15 Ulrich Drepper <drepper@gmail.com>
60169 * Makeconfig: Define vardbdir and inst_vardbdir.
60170 * nss/Makefile: Add rules to install db-Makefile.
60172 * nss/nss_db/db-XXX.c: Cleanup.
60174 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60175 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60177 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60178 * nss/makedb.c: Implement -g option to specify that value strings
60179 are generated and should not be added to table iterated over for
60181 * nss/nss_db/db-initgroups.c: New file.
60183 * nss/getent.c: Add support for initgroups lookups through getgrouplist
60186 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60187 (internal_getgrouplist): Adjust to name change.
60188 Update use_initgroups_entry if this is not the first call.
60189 * nss/databases.def: Add initgroups entry.
60191 * nss/makedb.c (compute_tables): Check result of multiple hash table
60192 sizes to minimize maximum chain length.
60194 2011-06-14 Ulrich Drepper <drepper@gmail.com>
60196 * Versions.def: Add entry for libnss_db.
60197 * shlib-versions: Likewise.
60198 * nss/Makefile: Add rules to build libnss_db.
60199 * nss/Versions: Add libnss_db information. Organize libnss_files
60201 * nss/db-Makefile: Add gshadow support. Change rules for the new
60202 makedb progra. Some minor improvements to generate smaller files.
60203 * nss/nss_db/nss_db.h: Move NSS database header data structures to
60205 * nss/makedb.c: ...here.
60206 Improve database format to be smaller and require less memory at
60208 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
60210 * nss/nss_db/db-netgrp.c: Likewise.
60211 * nss/nss_db/db-open.c: Likewise.
60212 * nss/nss_files/flies-XXX.x: Adjust comments.
60213 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60214 * nss/nss_files/files-grp.c: Likewise.
60215 * nss/nss_files/files-hosts.c: Likewise.
60216 * nss/nss_files/files-network.c: Likewise.
60217 * nss/nss_files/files-proto.c: Likewise.
60218 * nss/nss_files/files-pwd.c: Likewise.
60219 * nss/nss_files/files-rpc.c: Likewise.
60220 * nss/nss_files/files-service.c: Likewise.
60221 * nss/nss_files/files-sgrp.c: Likewise.
60222 * nss/nss_files/files-spwd.c: Likewise.
60223 * nss/nss_db/db-alias.c: Removed.
60224 * nss/nss_db/dummy-db.h: Removed.
60226 2011-06-02 Ulrich Drepper <drepper@gmail.com>
60228 * nss/makedb.c: Rewritten to not use database library.
60229 * nss/Makefile: Update to build new makedb program.
60231 2011-06-14 Andreas Jaeger <aj@suse.de>
60233 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60234 memset declaration.
60236 2011-06-10 Andreas Schwab <schwab@redhat.com>
60238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60241 2011-06-10 Roland McGrath <roland@hack.frob.com>
60243 * Makerules (shlib.lds): Fail if the linker script comes out empty.
60244 * elf/Makefile ($(objpfx)ld.so): Likewise.
60246 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60247 Don't list ld.so twice in dependencies.
60249 * posix/bug-regex31.c: Include <stdlib.h>.
60251 * nscd/hstcache.c (cache_addhst): Remove unused variable.
60253 * nis/nss_compat/compat-spwd.c
60254 (getspent_next_nss_netgr): Remove unused variable.
60255 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60257 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60258 nonmembers" output to use the right array.
60260 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60262 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60264 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60265 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60266 * catgets/gencat.c (read_input_file): Likewise.
60267 * locale/programs/locarchive.c (enlarge_archive): Likewise.
60269 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60270 variable definition inside #if's controlling its use.
60272 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60274 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60276 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60278 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60281 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60283 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60284 * configure: Regenerated.
60286 * Makerules: Revert last change.
60287 * elf/Makefile: Likewise.
60289 2011-06-09 Roland McGrath <roland@hack.frob.com>
60291 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60292 * elf/Makefile ($(objpfx)librtld.os): Likewise.
60293 (reloc-link): Likewise.
60295 2011-06-09 Ulrich Drepper <drepper@gmail.com>
60297 * elf/Makefile: Add rules to build pldd.
60298 * elf/pldd.c: New file.
60299 * elf/pldd-xx.c: New file.
60301 2011-06-07 Ulrich Drepper <drepper@gmail.com>
60303 * version.h: Update for 2.15 development version.
60305 2011-06-07 David S. Miller <davem@davemloft.net>
60307 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60309 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60310 elf_machine_lazy_rel): Likewise.
60311 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60312 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60313 elf_machine_lazy_rel): Likewise.
60314 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60315 dl_hwcap via passed in argument.
60316 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60319 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60321 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
60323 2011-06-06 Roland McGrath <roland@hack.frob.com>
60326 * manual/fdl-1.1.texi: New file, verbatim from:
60327 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60328 * manual/lgpl-2.1.texi: New file, verbatim from:
60329 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60330 * manual/Makefile (licenses): New variable, list those new file names.
60332 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60334 * manual/fdl.texi: File removed.
60335 * manual/lesser.texi: File removed.
60336 * manual/libc.texinfo (Copying, Documentation License):
60337 Use new @include file names, put @appendix directive before @include.
60339 2011-06-04 Jakub Jelinek <jakub@redhat.com>
60342 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60343 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60344 (mq_open): Add __NTH.
60346 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
60348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60349 Assume Intel Core i3/i5/i7 processor if AVX is available.
60351 2011-05-31 Ulrich Drepper <drepper@gmail.com>
60353 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60356 2011-05-31 Andreas Schwab <schwab@redhat.com>
60358 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60359 memory. Use alloca_account. Fix memory leak when retrying.
60361 2011-05-31 Ulrich Drepper <drepper@gmail.com>
60363 * version.h (RELEASE): Bump for 2.14 release.
60364 * include/features.h (__GLIBC_MINOR__): Bump to 14.
60366 * config.make.in (RANLIB): Remove entry.
60368 2011-05-30 Ulrich Drepper <drepper@gmail.com>
60370 * po/Makefile (po-sed-cmd): Add ksh to extensions.
60371 (libc.pot): Work around missing support for .ksh extension in xgettext.
60374 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60375 if both request failed.
60376 (send_dg): In case of server errors clear resplen or *resplen2.
60379 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
60380 when there are multiple maps.
60381 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
60382 (_dl_fini): Remove test here.
60384 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
60386 2011-05-29 Ulrich Drepper <drepper@gmail.com>
60389 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
60390 bit from old_res_options.
60391 (gaih_inet): Likewise.
60394 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
60397 * resolv/res_init.c (res_setoptions): Make the code more compact.
60400 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
60404 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
60406 * malloc/malloc.h: Mark malloc hook variables as deprecated.
60409 * malloc/malloc.h: Declare malloc hook variables as volatile.
60411 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
60415 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
60416 raise in the comment.
60417 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60418 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60419 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
60421 2011-05-28 Ulrich Drepper <drepper@gmail.com>
60424 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
60425 grow the buffers more if it already has to be sufficient.
60426 (build_wcs_upper_buffer): Likewise.
60427 * posix/regexec.c (check_matching): Likewise.
60428 (clean_state_log_if_needed): Likewise.
60429 (extend_buffers): Don't enlarge buffers beyond size of the input
60431 Patches mostly by Emil Wojak <emil@wojak.eu>.
60432 * posix/bug-regex32.c: New file.
60433 * posix/Makefile (tests): Add bug-regex32.
60435 * locale/findlocale.c (_nl_find_locale): Return right away if
60436 _nl_explode_name failed.
60437 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
60439 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
60441 * debug/xtrace.sh: Unify messages.
60442 * malloc/memusage.sh: Likewise.
60445 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60446 time symbol from vDSO. Substitute with vsyscall if not available.
60447 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60450 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60451 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60452 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60453 Add sendmmsg and internal_sendmmsg.
60454 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60455 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60456 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60458 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60459 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60460 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60462 2011-05-27 Ulrich Drepper <drepper@gmail.com>
60465 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60466 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
60468 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60472 * iconvdata/Makefile (tests): Add bug-iconv9.
60473 * iconvdata/bug-iconv9.c: New file.
60475 2011-05-27 Andreas Schwab <schwab@redhat.com>
60478 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60480 2011-05-25 Jakub Jelinek <jakub@redhat.com>
60482 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60483 (struct user_regs_struct): Change intcs field back to cs.
60485 2011-05-25 Ulrich Drepper <drepper@gmail.com>
60487 * po/ja.po: Update from translation team.
60489 2011-05-23 Ulrich Drepper <drepper@gmail.com>
60492 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60493 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60495 2011-05-20 Andreas Schwab <schwab@redhat.com>
60497 * stdlib/longlong.h: Update from GCC.
60499 2011-05-23 Andreas Schwab <schwab@redhat.com>
60501 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60503 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60504 Add parameter name.
60505 (__sysconf): Pass it down.
60507 2011-05-22 Ulrich Drepper <drepper@gmail.com>
60510 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60512 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60513 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60514 add in in __libc_use_alloca calls. Adjust callers.
60515 (glob): Use malloc in some situations.
60517 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60518 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60521 2011-05-21 Ulrich Drepper <drepper@gmail.com>
60523 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60524 and CLOCK_BOOTTIME_ALARM.
60527 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60530 * string/_strerror.c (__strerror_r): Print negative errors as signed
60534 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60535 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60536 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60538 * configure.in: Fix typo in redirection and correct removal of test
60539 files in two cases.
60542 * locale/setlocale.c (new_composite_name): Fix test to check for
60543 identical name of all categories.
60546 * libio/filedoalloc.c (local_isatty): New function.
60547 (_IO_file_doallocate): Use local_isatty.
60548 * stdio-common/perror.c (perror): In case a new stream is used
60549 forward the stream error.
60550 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60553 2011-05-20 Ulrich Drepper <drepper@gmail.com>
60556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60558 * include/alloca.h (extend_alloca_account): Define.
60561 * posix/regex.h: Fix comments with documentation of user-accessible
60562 fields after compilation and describe correct free'ing of pattern
60563 after re_compile_pattern.
60564 Patch by Reuben Thomas <rrt@sc3d.org>.
60566 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
60568 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60569 and -mno-altivec to prevent the compiler from using Altivec and/or
60570 VSX instructions when the corresponding registers are not available.
60572 2011-05-19 Andreas Schwab <schwab@redhat.com>
60574 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60576 2011-05-19 Ulrich Drepper <drepper@gmail.com>
60578 * libio/freopen.c (freopen): Use __dup2, not dup2.
60579 * libio/freopen64.c (freopen64): Likewise.
60581 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
60584 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60585 * math/Makefile (tests): Add test-powl.
60586 (CFLAGS-test-powl.c): Define.
60587 * math/test-powl.c: New file.
60589 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
60591 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60593 2011-05-17 Ulrich Drepper <drepper@gmail.com>
60596 * iconvdata/gb18030.c: Update to GB18020-2005.
60598 2011-05-16 Ulrich Drepper <drepper@gmail.com>
60600 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60601 RE_SYNTAX_POSIX_AWK): Update to match recent development.
60602 Patch by Aharon Robbins <arnold@skeeve.com>.
60605 * stdlib/putenv.c (putenv): Don't always create copy of the variable
60609 * misc/pselect.c (__pselect): Handle timeout value errors hidden
60610 through underflows.
60613 * misc/error.c (error_at_line): Ensure file_name and old_file_name
60614 point to strings before performing equality test for error_one_per_line
60618 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60621 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60622 (struct user_fpregs_struct): Avoid __uint*_t types.
60625 * malloc/mtrace.c (tr_where): Add additional parameter to point to
60626 symbol info. Use it instead of calling _dl_addr locally.
60627 (lock_and_info): New function.
60628 (tr_freehook): Call lock_and_info and pass symbol info as additional
60629 parameter to tr_where.
60630 (tr_mallochook): Likewise.
60631 (tr_reallochook): Likewise.
60632 (tr_memalignhook): Likewise.
60634 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
60635 used and couldn't be at all thread-safe.
60637 2011-05-15 Ulrich Drepper <drepper@gmail.com>
60639 * libio/freopen.c (freopen): Don't close old file descriptor
60640 before the new one is opened. Instead dup the new file descriptor
60641 to the old one after the new stream is created.
60642 * libio/freopen64.c (freopen64): Likewise.
60643 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60644 * libio/fileops.c (_IO_new_file_close_it): Handle new
60645 _IO_FLAGS2_NOCLOSE flag.
60646 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60647 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60648 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60649 _IO_FLAGS2_NOCLOSE flag.
60650 * include/unistd.h: Add hidden_proto for dup3.
60651 Define __have_dup3.
60652 * io/dup3.c: Define hidden symbol.
60653 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60656 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60657 when an incomplete long option is used.
60658 * posix/tst-getopt_long1.c: New file.
60659 * posix/Makefile (tests): Add tst-getopt_long1.
60662 * scripts/config.guess: Update from autoconf-2.68.
60663 * scripts/config.sub: Likewise.
60666 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60668 (has_cpuclock): ...this. New function.
60669 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60670 macro here based on has_cpuclock code.
60673 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60674 First byte (not low byte) is now always NUL.
60675 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60677 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60678 Use non-cancelable interfaces.
60681 * locale/iso-639.def: Add entry for Sorani.
60684 * include/stdlib.h: Move include protection to the right place.
60685 Define abort_msg_s. Declare __abort_msg with it.
60686 * stdlib/abort.c (__abort_msg): Adjust type.
60687 * assert/assert.c (__assert_fail_base): New function. Majority
60688 of code from __assert_fail. Allocate memory for __abort_msg with
60690 (__assert_fail): Now call __assert_fail_base.
60691 * assert/assert-perr.c: Remove bulk of implementation. Use
60692 __assert_fail_base.
60693 * include/assert.hL Declare __assert_fail_base.
60694 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60696 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60698 2011-05-14 Ulrich Drepper <drepper@gmail.com>
60702 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60703 until all modules are registered in the DTV.
60704 * elf/Makefile: Add rules to build and run tst-tls19.
60705 * elf/tst-tls19.c: New file.
60706 * elf/tst-tls19mod1.c: New file.
60707 * elf/tst-tls19mod2.c: New file.
60708 * elf/tst-tls19mod3.c: New file.
60709 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60712 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60716 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60717 two-byte sequence errors.
60718 * iconvdata/Makefile (tests): Add bug-iconv8.
60719 * iconvdata/bug-iconv8.c: New file.
60722 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60725 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60728 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60729 (dummy_getcfa): New function.
60730 (init): Get _Unwind_GetCFA address, use dummy if not found.
60731 (backtrace_helper): In recursion check, also check whether CFA changes.
60732 (__backtrace): Completely initialize arg.
60734 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60735 storing incomplete byte sequence in state object. Avoid testing for
60736 guaranteed too small input if we know there is enough data available.
60738 2011-05-11 Andreas Schwab <schwab@redhat.com>
60740 * Makeconfig (+link-pie): Indent.
60741 * Rules (binaries-pie): Define if $(have-fpie) and
60743 (binaries-shared): Also filter out $(binaries-pie).
60744 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60745 * nscd/Makefile (others-pie): Add nscd.
60746 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60747 ($(objpfx)nscd): Remove command override.
60748 * login/Makefile (others-pie): Add pt_chown.
60749 ($(objpfx)pt_chown): Remove command override.
60750 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60751 remove command overrides.
60753 2011-05-13 Ulrich Drepper <drepper@gmail.com>
60755 * libio/tst_putwc.c: Fix error messages.
60758 * libio/fileops.c (_IO_new_file_close_it): Always flush when
60759 currently writing and seek to current position when not.
60760 * libio/Makefile (tests): Add bug-fclose1.
60761 * libio/bug-fclose1.c: New file.
60763 2011-05-12 Ulrich Drepper <drepper@gmail.com>
60766 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60767 don't set DF_1_NODELETE here.
60768 (do_lookup_x): When entering new entry test for copy relocation
60769 and if necessary set DF_1_NODELETE flag.
60770 * elf/tst-unique4.cc: New file.
60771 * elf/tst-unique4.h: New file.
60772 * elf/tst-unique4lib.cc: New file.
60773 * elf/Makefile: Add rules to build and run tst-unique4.
60774 Patch by Piotr Bury <pbury@goahead.com>.
60776 2011-05-11 Ulrich Drepper <drepper@gmail.com>
60779 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60782 * misc/mntent_r.c (addmntent): Flush the stream after the output
60785 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60786 (is_trusted_path_normalize): Skip initial colon. Append slash
60787 to empty buffer. Duplicate is_trusted_path code but allow
60788 constructed patch to be prefix.
60789 (is_dst): Allow $ORIGIN followed by /.
60790 (_dl_dst_substitute): Correct clearing of check_for_trusted.
60791 Correct testing of result of is_trusted_path_normalize
60792 (decompose_rpath): Fix warning.
60794 2011-05-10 Ulrich Drepper <drepper@gmail.com>
60797 * grp/initgroups.c (internal_getgrouplist): When we found the service
60798 list through the initgroups entry in nsswitch.conf do not always
60799 continue on a successful lookup. Don't always use the
60800 __nss_group_database value if it is set.
60801 * nss/nsswitch.conf (initgroups): Change action for successful db
60802 lookup to continue for compatibility.
60804 2011-05-09 Ulrich Drepper <drepper@gmail.com>
60807 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60809 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60811 * iconvdata/tst-tables.sh: Likewise.
60812 * iconvdata/cp770.c: New file.
60813 * iconvdata/cp771.c: New file.
60814 * iconvdata/cp772.c: New file.
60815 * iconvdata/cp773.c: New file.
60816 * iconvdata/cp774.c: New file.
60817 * iconvdata/testdata/CP770: New file.
60818 * iconvdata/testdata/CP770..UTF8: New file.
60819 * iconvdata/testdata/CP771: New file.
60820 * iconvdata/testdata/CP771..UTF8: New file.
60821 * iconvdata/testdata/CP772: New file.
60822 * iconvdata/testdata/CP772..UTF8: New file.
60823 * iconvdata/testdata/CP773: New file.
60824 * iconvdata/testdata/CP773..UTF8: New file.
60825 * iconvdata/testdata/CP774: New file.
60826 * iconvdata/testdata/CP774..UTF8: New file.
60828 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60830 * iconvdata/gen-8bit-gap.sh: Likewise.
60831 * iconvdata/gen-8bit.sh: Likewise.
60833 * locale/iso-639.def: Add ary entry.
60836 * locale/C-translit.h.in: Add U20A1 transliteration.
60839 * locale/iso-639.def: Add wae entry.
60840 Patch by Kevin Bortis <bortis@translate-wae.ch>.
60843 * locale/programs/localedef.c (construct_output_path): Use ssize_t
60847 * locale/C-translit.h.in: Add entry for U20B9.
60848 Patch by pravin.d.s@gmail.com.
60850 2011-05-08 Ulrich Drepper <drepper@gmail.com>
60853 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60854 ENAMETOOLONG use generic getcwd.
60855 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
60856 in rtld. Use *stat64.
60857 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60858 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60859 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60860 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60861 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60862 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60863 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60864 __fstatat64 macros.
60865 * include/dirent.h: Add libc_hidden_proto for rewinddir.
60866 * dirent/rewinddir.c: Add libc_hidden_def.
60867 * sysdeps/mach/hurd/rewinddir.c: Likewise.
60868 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
60870 * include/dirent.h (__alloc_dir): Add flags parameter.
60871 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60872 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60874 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
60875 from fdopendir if O_CLOEXEC is already set.
60877 2011-03-15 Alan Modra <amodra@gmail.com>
60879 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60880 l_tls_firstbyte_offset non-zero. Save padding offset in
60881 l_tls_firstbyte_offset for later use.
60882 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60883 freeing static tls block.
60885 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
60887 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60888 where #ifdef was intended. The intent is to prevent ARG_MAX from
60889 being defined by the kernel headers.
60891 2011-05-07 Ulrich Drepper <drepper@gmail.com>
60894 * resolv/resolv.h: Define RES_NOTLDQUERY.
60895 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60896 no-tld-query and set RES_NOTLDQUERY.
60897 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60898 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60899 modern BIND to search name as TLD unless forbidden.
60901 2011-05-07 Petr Baudis <pasky@suse.cz>
60902 Ulrich Drepper <drepper@gmail.com>
60905 * elf/dl-load.c (fillin_rpath): Move trusted path check...
60906 (is_trusted_path): ...to here.
60907 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60908 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60909 using is_trusted_path_normalize() in setuid scripts.
60911 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
60913 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60914 __BEGIN/__END_DECLS.
60916 2011-05-06 Ulrich Drepper <drepper@gmail.com>
60918 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60919 NSS_STATUS_NOTFOUND if no record was found.
60921 2011-05-05 Andreas Schwab <schwab@redhat.com>
60923 * sunrpc/Makefile (headers): Add rpc/netdb.h.
60924 (headers-not-in-tirpc): Remove rpc/netdb.h
60925 * resolv/netdb.h: Revert last change.
60927 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
60929 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60930 circular dependency between libgcc.a and libc.a.
60932 2011-05-05 Andreas Schwab <schwab@redhat.com>
60934 * resolv/netdb.h: Don't include <rpc/netdb.h>.
60935 * nis/Makefile: Don't install rpcsvc/*.
60936 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60937 instead of <rpc/types.h>.
60938 (MAXHOSTNAMELEN): Define.
60940 2011-05-03 Andreas Schwab <schwab@redhat.com>
60942 * elf/ldconfig.c (add_dir): Don't crash on empty path.
60944 2011-04-28 Maciej Babinski <mbabinski@google.com>
60947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60948 gethostbyname4_r when IPv6 results are possible.
60950 2011-05-02 Ulrich Drepper <drepper@gmail.com>
60953 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60954 _PC_PIPE_BUF handling.
60956 2011-04-30 Bruno Haible <bruno@clisp.org>
60959 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60960 * resolv/netdb.h (getnameinfo): Change type of flags parameter
60962 * inet/getnameinfo.c (getnameinfo): Likewise.
60964 2011-04-29 Ulrich Drepper <drepper@gmail.com>
60966 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60967 to groups setting in database lookup.
60968 * nss/nsswitch.conf: Add initgroups entry.
60970 2011-04-22 Ulrich Drepper <drepper@gmail.com>
60973 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60975 Patch by Eric Blake <eblake@redhat.com>.
60977 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
60979 * sunrpc/Makefile (need-export-routines): Add svc_run.
60980 (routines): Remove svc_run.
60981 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60982 * sunrpc/clnt_perr.c (clnt_perrno): Export.
60983 * sunrpc/svc_run.c (svc_run): Likewise.
60984 * sunrpc/svc_udp.c (svcudp_create): Likewise.
60986 2011-04-21 Ulrich Drepper <drepper@gmail.com>
60988 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60989 problem in reallocation in last patch.
60991 2011-04-20 Ulrich Drepper <drepper@gmail.com>
60993 * sunrpc/Makefile: Move inclusion of Rules.
60995 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60997 * nss/nss_files/files-initgroups.c: New file.
60998 * nss/Makefile (libnss_files-routines): Add files-initgroups.
60999 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61000 _nss_files_initgroups_dyn.
61002 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
61004 * elf/elf.h (R_ARM_IRELATIVE): Define.
61006 2011-04-19 Ulrich Drepper <drepper@gmail.com>
61008 * po/ru.po: Update from translation team.
61010 2011-04-17 Ulrich Drepper <drepper@gmail.com>
61012 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61015 2011-02-06 Mike Frysinger <vapier@gentoo.org>
61018 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61019 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61020 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61021 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61022 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61024 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
61026 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61028 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61029 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61030 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61032 2011-04-17 Ulrich Drepper <drepper@gmail.com>
61035 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61037 * stdlib/bug-getcontext.c: New file.
61038 * stdlib/Makefile: Add rules to build and run bug-getcontext.
61040 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61042 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61043 instructions into .machine "z9-109".
61044 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61045 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61047 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61049 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61050 between environment variables and auxiliary vector.
61052 2011-04-16 Ulrich Drepper <drepper@gmail.com>
61054 * Makefile: Add rules to build linkobj/libc.so.
61055 * include/libc-symbols.h: Define libc_hidden_nolink.
61056 * include/rpc/auth.h: Mark functions which are to be hidden.
61057 * include/rpc/auth_des.h: Likewise.
61058 * include/rpc/auth_unix.h: Likewise.
61059 * include/rpc/clnt.h: Likewise.
61060 * include/rpc/des_crypt.h: Likewise.
61061 * include/rpc/key_prot.h: Likewise.
61062 * include/rpc/pmap_clnt.h: Likewise.
61063 * include/rpc/pmap_prot.h: Likewise.
61064 * include/rpc/pmap_rmt.h: Likewise.
61065 * include/rpc/rpc_msg.h: Likewise.
61066 * include/rpc/svc.h: Likewise.
61067 * include/rpc/svc_auth.h: Likewise.
61068 * include/rpc/xdr.h: Likewise.
61069 * nis/Makefile: Link all DSOs against linkobj/libc.so.
61070 * nss/Makefile: Likewise.
61071 * sunrpc/Makefile: Don't install headers. Build library with normal
61072 entry points. Don't build rpcinfo. Link RPC tests appropriately.
61073 * sunrpc/auth_des.c: Hide exported symbols by default, export some
61074 for the compat linking library. Remove use of INTDEF/INTUSE.
61075 * sunrpc/auth_none.c: Likewise.
61076 * sunrpc/auth_unix.c: Likewise.
61077 * sunrpc/authdes_prot.c: Likewise.
61078 * sunrpc/authuxprot.c: Likewise.
61079 * sunrpc/clnt_gen.c: Likewise.
61080 * sunrpc/clnt_perr.c: Likewise.
61081 * sunrpc/clnt_raw.c: Likewise.
61082 * sunrpc/clnt_simp.c: Likewise.
61083 * sunrpc/clnt_tcp.c: Likewise.
61084 * sunrpc/clnt_udp.c: Likewise.
61085 * sunrpc/clnt_unix.c: Likewise.
61086 * sunrpc/des_crypt.c: Likewise.
61087 * sunrpc/des_soft.c: Likewise.
61088 * sunrpc/get_myaddr.c: Likewise.
61089 * sunrpc/key_call.c: Likewise.
61090 * sunrpc/key_prot.c: Likewise.
61091 * sunrpc/netname.c: Likewise.
61092 * sunrpc/pm_getmaps.c: Likewise.
61093 * sunrpc/pm_getport.c: Likewise.
61094 * sunrpc/pmap_clnt.c: Likewise.
61095 * sunrpc/pmap_prot.c: Likewise.
61096 * sunrpc/pmap_prot2.c: Likewise.
61097 * sunrpc/pmap_rmt.c: Likewise.
61098 * sunrpc/publickey.c: Likewise.
61099 * sunrpc/rpc_cmsg.c: Likewise.
61100 * sunrpc/rpc_common.c: Likewise.
61101 * sunrpc/rpc_dtable.c: Likewise.
61102 * sunrpc/rpc_prot.c: Likewise.
61103 * sunrpc/rpc_thread.c: Likewise.
61104 * sunrpc/rtime.c: Likewise.
61105 * sunrpc/svc.c: Likewise.
61106 * sunrpc/svc_auth.c: Likewise.
61107 * sunrpc/svc_authux.c: Likewise.
61108 * sunrpc/svc_raw.c: Likewise.
61109 * sunrpc/svc_run.c: Likewise.
61110 * sunrpc/svc_simple.c: Likewise.
61111 * sunrpc/svc_tcp.c: Likewise.
61112 * sunrpc/svc_udp.c: Likewise.
61113 * sunrpc/svc_unix.c: Likewise.
61114 * sunrpc/svcauth_des.c: Likewise.
61115 * sunrpc/xcrypt.c: Likewise.
61116 * sunrpc/xdr.c: Likewise.
61117 * sunrpc/xdr_array.c: Likewise.
61118 * sunrpc/xdr_float.c: Likewise.
61119 * sunrpc/xdr_intXX_t.c: Likewise.
61120 * sunrpc/xdr_mem.c: Likewise.
61121 * sunrpc/xdr_rec.c: Likewise.
61122 * sunrpc/xdr_ref.c: Likewise.
61123 * sunrpc/xdr_sizeof.c: Likewise.
61124 * sunrpc/xdr_stdio.c: Likewise.
61126 2011-04-10 Ulrich Drepper <drepper@gmail.com>
61129 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61130 * sysdeps/ia64/dl-tls.h: Likewise.
61131 * sysdeps/powerpc/dl-tls.h: Likewise.
61132 * sysdeps/s390/dl-tls.h: Likewise.
61133 * sysdeps/sh/dl-tls.h: Likewise.
61134 * sysdeps/sparc/dl-tls.h: Likewise.
61135 * sysdeps/x86_64/dl-tls.h: Likewise.
61136 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61138 2011-03-14 Andreas Schwab <schwab@redhat.com>
61140 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61141 rpath element also skip the following colon.
61142 (expand_dynamic_string_token): Add is_path parameter and pass
61143 down to DL_DST_REQUIRED and _dl_dst_substitute.
61144 (decompose_rpath): Call expand_dynamic_string_token with
61145 non-zero is_path. Ignore empty rpaths.
61146 (_dl_map_object_from_fd): Call expand_dynamic_string_token
61149 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
61151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61154 2011-04-09 Ulrich Drepper <drepper@gmail.com>
61157 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61158 Patch by Filipe David Manana <fdmanana@apache.org>.
61160 2011-04-07 Andreas Schwab <schwab@redhat.com>
61162 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61163 Maintain aligned stack.
61164 (CHECK_RSP): Remove unused macro.
61166 2011-04-03 Ulrich Drepper <drepper@gmail.com>
61168 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61169 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61171 2011-04-02 Ulrich Drepper <drepper@gmail.com>
61173 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61175 * include/features.h: Mention __USE_XOPEN2K8 in comment.
61177 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
61180 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61181 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61182 * sysdeps/x86_64/memmove.c: New file.
61183 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61184 (memcpy): Renamed to ...
61185 (__new_memcpy): This.
61186 (memcpy): Provide GLIBC_2_14 memcpy.
61187 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61188 (memcpy): Provide GLIBC_2_2_5 memcpy.
61190 2011-04-01 Ulrich Drepper <drepper@gmail.com>
61193 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61195 2011-03-30 Andreas Schwab <schwab@redhat.com>
61197 * misc/syncfs.c: New file.
61198 * misc/Makefile (routines): Add syncfs.
61199 * posix/unistd.h: Declare syncfs.
61200 * sysdeps/unix/syscalls.list: Add syncfs.
61202 2011-04-01 Andreas Schwab <schwab@redhat.com>
61204 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61206 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61207 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61208 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61209 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61210 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61211 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61212 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61214 2011-04-01 Ulrich Drepper <drepper@gmail.com>
61216 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61217 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61218 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61219 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61220 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61221 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61222 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61224 * io/Makefile: Compile fallocate.c, fallocate64.c, and
61225 sync_file_range.c with -fexceptions.
61226 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61227 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61228 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61229 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61230 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61231 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61232 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61233 sync_file_range as cancellation point
61234 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
61235 now a wrapper around __call_sync_file_range with cancellation handling.
61236 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61237 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
61238 function name to __call_sync_file_range.
61239 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61240 Add call_sync_file_range.
61242 2011-04-01 Andreas Schwab <schwab@redhat.com>
61244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61247 2011-04-01 Ulrich Drepper <drepper@gmail.com>
61249 * iconv/iconv.h: Fix typo in comment.
61250 * io/fcntl.h: Likewise.
61251 * libio/stdio.h: Likewise.
61252 * posix/spawn.h: Likewise.
61253 * posix/unistd.h: Likewise.
61254 * stdlib/stdlib.h: Likewise.
61255 * time/time.h: Likewise.
61256 * wcsmbs/wchar.h: Likewise.
61258 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61259 open_by_handle): Add.
61260 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61261 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
61262 Augment a few comments.
61263 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61264 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61265 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61266 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61267 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61268 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61271 * io/fcntl.h (AT_EMPTY_PATH): Define.
61273 2011-03-30 Ulrich Drepper <drepper@gmail.com>
61275 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61276 * sysdeps/unix/sysv/linux/bits/time.h: New file.
61277 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61279 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
61280 * Versions.def: Add GLIBC_2.14.
61281 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61284 2011-03-22 Ulrich Drepper <drepper@gmail.com>
61286 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61288 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61290 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
61293 * string/test-strncmp.c (do_page_test): New function.
61294 (check2): Likewise.
61295 (test_main): Call check2.
61296 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61298 2011-03-20 Ulrich Drepper <drepper@gmail.com>
61301 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61302 Handle cache information in CPU leaf 4.
61303 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61305 2011-03-18 Ulrich Drepper <drepper@gmail.com>
61308 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61309 character representation.
61310 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61312 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
61314 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61315 END(__isnan) to END(__isnanf) to match function entry point/label
61316 EALIGN(__isnanf,...).
61318 2011-03-10 Jakub Jelinek <jakub@redhat.com>
61320 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61322 2011-03-10 Ulrich Drepper <drepper@gmail.com>
61325 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61326 copy from the symbol referenced in the relocation to initialize the
61328 Patch by Piotr Bury <pbury@goahead.com>.
61329 * elf/Makefile: Add rules to build and tst-unique3.
61330 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61331 * elf/tst-unique3.cc: New file.
61332 * elf/tst-unique3.h: New file.
61333 * elf/tst-unique3lib.cc: New file.
61334 * elf/tst-unique3lib2.cc: New file.
61336 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61338 2011-03-10 Mike Frysinger <vapier@gentoo.org>
61340 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61341 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
61344 2011-03-06 Ulrich Drepper <drepper@gmail.com>
61346 * elf/dl-load.c (_dl_map_object): If we are looking for the first
61347 to-be-loaded object along a path to loader is ld.so.
61349 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
61350 Ulrich Drepper <drepper@gmail.com>
61352 * sysdeps/x86_64/memset.S: After aligning destination, code
61353 branches to different locations depending on the value of
61354 misalignment, when multiarch is enabled. Fix this.
61356 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
61358 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61359 Set _x86_64_preferred_memory_instruction for AMD processsors.
61360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61361 Set bit_Prefer_SSE_for_memop for AMD processors.
61363 2011-03-04 Ulrich Drepper <drepper@gmail.com>
61365 * libio/fmemopen.c (fmemopen): Optimize a bit.
61367 2011-03-03 Andreas Schwab <schwab@redhat.com>
61369 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61371 2011-03-03 Roland McGrath <roland@redhat.com>
61373 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61375 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
61377 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
61378 __bzero_ultra1 instead of __memset_ultra1.
61380 2011-02-23 Andreas Schwab <schwab@redhat.com>
61381 Ulrich Drepper <drepper@gmail.com>
61384 * include/link.h (struct link_map): Add l_orig_initfini.
61385 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
61386 returning unsuccessfully.
61387 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
61388 close of a file loaded at startup, restore the original l_initfini
61390 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
61391 list, store the pointer.
61392 * elf/Makefile ($(objpfx)noload-mem): New rule.
61393 (noload-ENV): Define.
61394 (tests): Add $(objpfx)noload-mem.
61395 * elf/noload.c: Include <memcheck.h>.
61396 (main): Call mtrace. Close all opened handles.
61398 2011-02-17 Andreas Schwab <schwab@redhat.com>
61401 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
61402 dependencies are missing.
61404 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
61406 Fix __if_freereq crash: Unlike the generic version which uses free,
61408 * sysdeps/mach/hurd/ifreq.h: New file.
61410 2011-01-27 Petr Baudis <pasky@suse.cz>
61411 Ulrich Drepper <drepper@gmail.com>
61414 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
61415 to extend_alloca().
61416 * stdio-common/bug23.c: New file.
61417 * stdio-common/Makefile (tests): Add bug23.
61419 2010-09-28 Andreas Schwab <schwab@redhat.com>
61420 Ulrich Drepper <drepper@gmail.com>
61423 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
61424 before performing relro protection. At old place add assertion
61425 to make sure nothing changed.
61427 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
61428 Glauber de Oliveira Costa <glommer@gmail.com>
61430 * elf/elf.h: Add new ARM TLS relocs.
61432 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
61434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61435 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
61437 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
61439 * sysdeps/wordsize-64/tst-writev.c: New file.
61441 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
61443 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
61444 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61445 insns in _dl_start to prevent a TOC reference before relocs are
61448 2011-02-15 Ulrich Drepper <drepper@gmail.com>
61451 * Makeconfig: Remove RANLIB definition.
61452 * Makerules: Don't use RANLIB.
61453 * aclocal.m4: Remove ranlib test.
61454 * configure.in: No need to check for ranlib.
61455 * elf/rtld-Rules: Don't use RANLIB.
61457 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
61459 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61461 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61462 inclusion protection macro.
61464 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61465 SIGRTMIN and SIGRTMAX and print information in that case only when
61466 SIGRTMIN is defined.
61468 2011-02-11 Jakub Jelinek <jakub@redhat.com>
61470 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61471 arginfo fn returning -1.
61473 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61474 and thousands string is zero terminated.
61476 2011-02-03 Andreas Schwab <schwab@redhat.com>
61478 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61479 sysdeps/unix/sysv/linux/bits/socket.h.
61481 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
61483 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61484 (__CPU_COUNT): Remove old macros.
61485 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61486 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61487 (__CPU_ALLOC, __CPU_FREE): Add macros.
61488 (__sched_cpualloc, __sched_cpufree): Add declarations.
61490 2011-02-05 Ulrich Drepper <drepper@gmail.com>
61492 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61493 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61494 * nscd/aicache.c (addhstaiX): Return timeout of added value.
61495 (readdhstai): Return value of addhstaiX call.
61496 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61497 (addgrbyX): Return value returned by cache_addgr.
61498 (readdgrbyname): Return value returned by addgrbyX.
61499 (readdgrbygid): Likewise.
61500 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61501 (addpwbyX): Return value returned by cache_addpw.
61502 (readdpwbyname): Return value returned by addhstbyX.
61503 (readdpwbyuid): Likewise.
61504 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61505 (addservbyX): Return value returned by cache_addserv.
61506 (readdservbyname): Return value returned by addservbyX:
61507 (readdservbyport): Likewise.
61508 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61509 (addhstbyX): Return value returned by cache_addhst.
61510 (readdhstbyname): Return value returned by addhstbyX.
61511 (readdhstbyaddr): Likewise.
61512 (readdhstbynamev6): Likewise.
61513 (readdhstbyaddrv6): Likewise.
61514 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61515 (readdinitgroups): Return value returned by addinitgroupsX.
61516 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61517 (prune_cache): Keep track of timeout value of re-added entries.
61518 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61519 * nscd/nscd.h: Adjust prototypes of readd* functions.
61521 2011-02-04 Roland McGrath <roland@redhat.com>
61523 * nis/nis_server.c (nis_servstate): Use the right name for 0.
61524 (nis_stats): Likewise.
61525 * nis/nis_modify.c (nis_modify): Likewise.
61526 * nis/nis_remove.c (nis_remove): Likewise.
61527 * nis/nis_add.c (nis_add): Likewise.
61529 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61531 * posix/fnmatch_loop.c: Add some consts.
61533 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61535 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
61538 * config.make.in (config-cflags-novzeroupper): Define.
61539 * configure.in: Substitute libc_cv_cc_novzeroupper.
61540 * elf/Makefile (AVX-CFLAGS): Define.
61541 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61542 (CFLAGS-tst-auditmod4a.c): Likewise.
61543 (CFLAGS-tst-auditmod4b.c): Likewise.
61544 (CFLAGS-tst-auditmod6b.c): Likewise.
61545 (CFLAGS-tst-auditmod6c.c): Likewise.
61546 (CFLAGS-tst-auditmod7b.c): Likewise.
61547 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61549 2011-02-02 Ulrich Drepper <drepper@gmail.com>
61551 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61552 function to the callback.
61553 Patch partly by Jiri Olsa <jolsa@redhat.com>.
61555 2011-02-02 Andreas Schwab <schwab@redhat.com>
61557 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61560 2011-01-19 Ulrich Drepper <drepper@gmail.com>
61563 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61565 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61567 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61570 * elf/Makefile: Add rules to build and run new test.
61571 * elf/tst-initorder.c: New file.
61572 * elf/tst-initorder.exp: New file.
61573 * elf/tst-initordera1.c: New file.
61574 * elf/tst-initordera2.c: New file.
61575 * elf/tst-initordera3.c: New file.
61576 * elf/tst-initordera4.c: New file.
61577 * elf/tst-initorderb1.c: New file.
61578 * elf/tst-initorderb2.c: New file.
61579 * elf/tst-order-a1.c: New file.
61580 * elf/tst-order-a2.c: New file.
61581 * elf/tst-order-a3.c: New file.
61582 * elf/tst-order-a4.c: New file.
61583 * elf/tst-order-b1.c: New file.
61584 * elf/tst-order-b2.c: New file.
61585 * elf/tst-order-main.c: New file.
61586 New test case by George Gensure <werkt0@gmail.com>.
61588 2010-10-01 Andreas Schwab <schwab@redhat.com>
61590 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61591 decoding ACE if AI_CANONIDN.
61593 2011-01-18 Ulrich Drepper <drepper@gmail.com>
61595 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61597 2011-01-17 Ulrich Drepper <drepper@gmail.com>
61599 * version.h (RELEASE): Bump for 2.13 release.
61600 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61602 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61604 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61606 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61607 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61608 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61609 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61610 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61611 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61613 * posix/getconf.c: Update copyright year.
61614 * catgets/gencat.c: Likewise.
61615 * csu/version.c: Likewise.
61616 * debug/catchsegv.sh: Likewise.
61617 * debug/xtrace.sh: Likewise.
61618 * elf/ldconfig.c: Likewise.
61619 * elf/ldd.bash.in: Likewise.
61620 * elf/sprof.c (print_version): Likewise.
61621 * iconv/iconv_prog.c: Likewise.
61622 * iconv/iconvconfig.c: Likewise.
61623 * locale/programs/locale.c: Likewise.
61624 * locale/programs/localedef.c: Likewise.
61625 * malloc/memusage.sh: Likewise.
61626 * malloc/mtrace.pl: Likewise.
61627 * nscd/nscd.c (print_version): Likewise.
61628 * nss/getent.c: Likewise.
61630 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61631 PF_CAIF, and PF_ALG.
61632 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61634 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
61636 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61637 (modules-names): Use them.
61638 (ifunc-test-modules, ifunc-pie-tests): Define.
61639 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61640 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61641 (test-extras): Likewise.
61642 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61643 $(compile-command.c).
61644 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61645 (all-built-dso): Define.
61646 (check-textrel.out, check-execstack.out): Depend on it.
61648 * configure.in: Don't override --enable-multi-arch.
61650 2011-01-15 Ulrich Drepper <drepper@gmail.com>
61653 * nscd/hstcache.c (tryagain): Define.
61654 (cache_addhst): Return tryagain not notfound for temporary errors.
61655 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61658 2011-01-14 Ulrich Drepper <drepper@gmail.com>
61661 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61662 to make the syscall.
61663 * sysdeps/unix/sysv/linux/setgroups.c: New file.
61666 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61667 and fall back to matching as normal character if the string ends before
61668 the matching ']' is found. This is what POSIX requires.
61669 * posix/testfnm.c: Adjust test result.
61670 * posix/globtest.sh: Adjust test result. Add new test.
61671 * posix/tst-fnmatch.input: Likewise.
61672 * posix/tst-fnmatch2.c: Add new test.
61674 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
61676 * elf/Makefile (check-execstack): Revert last change. Depend on
61678 (check-execstack.h): New target.
61679 (generated): Add check-execstack.h.
61680 * elf/check-execstack.c: Include "check-execstack.h".
61681 (main): Revert last change.
61682 (handle_file): Return zero if GNU_STACK is absent and
61683 DEFAULT_STACK_PERMS doesn't include PF_X.
61685 2011-01-13 Ulrich Drepper <drepper@gmail.com>
61687 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61688 in child fails because the descriptor is already closed.
61689 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61690 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61691 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61694 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61698 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61699 temporary buffer used to handle multi lookups locally.
61700 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61702 2011-01-12 Ulrich Drepper <drepper@gmail.com>
61704 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61707 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
61709 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61710 alignment for SSE2.
61712 2011-01-12 Ulrich Drepper <drepper@gmail.com>
61715 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61716 characters. When rounding increased number of integer digits recompute
61718 * stdio-common/tst-grouping.c: New file.
61719 * stdio-common/Makefile: Add rules to build and run tst-grouping.
61721 2011-01-09 Ulrich Drepper <drepper@gmail.com>
61723 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61724 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
61726 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61728 * bits/select.h: Likewise.
61730 2011-01-08 Ulrich Drepper <drepper@gmail.com>
61732 * po/ja.po: Update from translation team.
61734 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
61737 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61738 implementation just like for lxstat, fxstatat, et al.
61740 2010-12-27 Jim Meyering <meyering@redhat.com>
61743 * posix/regexec.c (build_trtable): Return failure indication upon
61744 calloc failure. Otherwise, re_search_internal could infloop on OOM.
61746 2010-12-25 Ulrich Drepper <drepper@gmail.com>
61749 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61750 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61751 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61752 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61755 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61758 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61759 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61761 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
61763 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61764 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61765 script has SORT_BY_INIT_PRIORITY.
61766 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61767 NO_CTORS_DTORS_SECTIONS is defined.
61768 * elf/soinit.c: Likewise.
61769 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61770 NO_CTORS_DTORS_SECTIONS is defined.
61771 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61772 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61773 * sysdeps/sh/init-first.c: Likewise.
61774 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61776 2010-12-24 Ulrich Drepper <drepper@gmail.com>
61778 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61779 always use the slow path.
61781 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
61783 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61784 similar rule which adds the sysdep directories to the header search in
61785 order to pick up the correct platform stackinfo.h.
61786 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61787 perform test if it is, otherwise return successfully without testing.
61788 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61789 DEFAULT_STACK_PERMS define in stackinfo.h.
61790 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61791 defined in stackinfo.h.
61792 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61793 DEFAULT_STACK_PERMS defined in stackinfo.h.
61794 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61795 * sysdeps/ia64/stackinfo.h: Likewise.
61796 * sysdeps/s390/stackinfo.h: Likewise.
61797 * sysdeps/sh/stackinfo.h: Likewise.
61798 * sysdeps/sparc/stackinfo.h: Likewise.
61799 * sysdeps/x86_64/stackinfo.h: Likewise.
61800 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61801 PF_X for powerpc64. Retain PF_X for powerpc32.
61803 2010-12-19 Ulrich Drepper <drepper@gmail.com>
61805 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61807 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61808 GETDENTS_64BIT_ALIGNED.
61810 2010-12-14 Ulrich Drepper <dreper@gmail.com>
61812 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61814 2010-12-10 Andreas Schwab <schwab@redhat.com>
61816 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61819 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61820 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61822 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61823 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61825 2010-12-09 Ulrich Drepper <drepper@gmail.com>
61828 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61831 2010-12-09 Jakub Jelinek <jakub@redhat.com>
61833 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61835 2010-12-03 Ulrich Drepper <drepper@gmail.com>
61837 * po/it.po: Update from translation team.
61839 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
61841 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61844 2010-11-30 Ulrich Drepper <drepper@gmail.com>
61846 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61848 2010-11-24 Andreas Schwab <schwab@redhat.com>
61850 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61852 (gaih_getanswer_slice): Likewise.
61854 2010-10-20 Jakub Jelinek <jakub@redhat.com>
61856 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61858 2010-05-31 Petr Baudis <pasky@suse.cz>
61861 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61862 silently even in the chroot mode.
61864 2010-11-22 Ulrich Drepper <drepper@gmail.com>
61866 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61867 last patch a bit. Pretty printing
61869 2010-05-31 Petr Baudis <pasky@suse.cz>
61872 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61873 initialization of skip_initgroups_dyn.
61875 2010-11-19 Ulrich Drepper <drepper@gmail.com>
61877 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61878 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61880 2010-11-16 Ulrich Drepper <drepper@gmail.com>
61882 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61884 2010-11-11 Andreas Schwab <schwab@redhat.com>
61886 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61887 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61888 (tst-fnmatch-ENV): Set MALLOC_TRACE.
61889 ($(objpfx)tst-fnmatch-mem): New rule.
61890 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61891 * posix/tst-fnmatch.c (main): Call mtrace.
61893 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
61895 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61896 Support Intel processor model 6 and model 0x2c.
61898 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
61900 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61903 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
61906 * string/test-strncasecmp.c (check_result): New function.
61907 (do_one_test): Use it.
61908 (check1): New function.
61909 (test_main): Use it.
61910 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61911 Support strcasecmp and strncasecmp.
61913 2010-11-08 Ulrich Drepper <drepper@gmail.com>
61916 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61917 * sysdeps/x86_64/bits/byteswap.h: Likewise.
61919 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
61921 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61925 * sysdeps/x86_64/multiarch/bzero.S: New file.
61926 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61927 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61928 * sysdeps/x86_64/multiarch/memset.S: New file.
61929 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61931 Set bit_Prefer_SSE_for_memop for Intel processors.
61932 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61934 (index_Prefer_SSE_for_memop): Define.
61935 (HAS_PREFER_SSE_FOR_MEMOP): Define.
61937 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
61939 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61940 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61942 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
61945 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61946 (__x86_64_raw_data_cache_size_half): Likewise.
61947 (__x86_64_raw_shared_cache_size): Likewise.
61948 (__x86_64_raw_shared_cache_size_half): Likewise.
61950 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61951 (__x86_64_raw_data_cache_size_half): Likewise.
61952 (__x86_64_raw_shared_cache_size): Likewise.
61953 (__x86_64_raw_shared_cache_size_half): Likewise.
61954 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61955 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61956 and __x86_64_raw_shared_cache_size_half. Round
61957 __x86_64_data_cache_size_half, __x86_64_data_cache_size
61958 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61959 to multiple of 256 bytes.
61961 2010-11-03 Ulrich Drepper <drepper@gmail.com>
61964 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61965 of inacessible symlinks. Verify result of symlink before returning it.
61966 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61967 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61969 2010-10-28 Erich Ritz <erichritz@gmail.com>
61971 * math/math.h (isinf): Fix typo in comment.
61973 2010-11-01 Ulrich Drepper <drepper@gmail.com>
61975 * po/da.po: Update from translation team.
61977 2010-10-26 Ulrich Drepper <drepper@gmail.com>
61979 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61980 is added to the list.
61982 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61983 Ulrich Drepper <drepper@gmail.com>
61985 * elf/dl-object.c (_dl_new_object): Don't append the new object to
61986 the global list here. Move code to...
61987 (_dl_add_to_namespace_list): ...here. New function.
61988 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61989 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61990 * elf/dl-load.c (lose): Don't remove the element from the list.
61991 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61992 (_dl_map_object): Likewise.
61994 2010-10-25 Ulrich Drepper <drepper@gmail.com>
61997 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61998 into all bytes of SSE register.
61999 Patch by Richard Li <richardpku@gmail.com>.
62001 2010-10-24 Ulrich Drepper <drepper@gmail.com>
62004 * malloc/malloc.c (_int_free): Fill correct number of bytes when
62007 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
62009 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62010 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62011 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62012 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62017 2010-10-22 Andreas Schwab <schwab@redhat.com>
62019 * include/dlfcn.h (__RTLD_SECURE): Define.
62020 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
62021 mode & __RTLD_SECURE instead.
62022 (open_path): Rename preloaded parameter to secure.
62023 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62024 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62025 * elf/dl-deps.c (openaux): Likewise.
62026 * elf/rtld.c (struct map_args): Remove is_preloaded.
62027 (map_doit): Don't use it.
62028 (dl_main): Likewise.
62029 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62030 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62032 2010-09-09 Andreas Schwab <schwab@redhat.com>
62034 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62035 (sysd-rules-targets): Remove duplicates.
62036 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62037 rtld-%.$o dependency.
62039 2010-10-18 Andreas Schwab <schwab@redhat.com>
62041 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62042 _dl_map_object do it.
62044 2010-10-19 Ulrich Drepper <drepper@gmail.com>
62046 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62047 fast fma builtins, define the macros in the C99 standard.
62048 (FP_FAST_FMAF): Likewise.
62049 (FP_FAST_FMAL): Likewise.
62050 * sysdeps/x86_64/bits/mathdef.h: Likewise.
62052 * bits/mathdef.h: Update copyright year.
62053 * sysdeps/powerpc/bits/mathdef.h: Likewise.
62055 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
62057 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62058 builtins, define the macros in the C99 standard.
62059 (FP_FAST_FMAF): Likewise.
62060 (FP_FAST_FMAL): Likewise.
62061 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62063 (FP_FAST_FMAF): Likewise.
62065 2010-10-15 Jakub Jelinek <jakub@redhat.com>
62068 * math/libm-test.inc (fma_test): Some new testcases.
62069 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62070 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62071 y and infinite z. Do multiplication by C already in long double.
62072 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62073 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62074 y and infinite z. Do bitwise or of inexact bit into u.d.
62075 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62076 * sysdeps/i386/fpu/s_fmaf.S: Removed.
62077 * sysdeps/i386/fpu/s_fma.S: Removed.
62078 * sysdeps/i386/fpu/s_fmal.S: Removed.
62080 2010-10-16 Jakub Jelinek <jakub@redhat.com>
62083 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62084 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62085 computation is not scheduled after fetestexcept. Fix value
62086 of minimum denormal long double.
62088 2010-10-14 Jakub Jelinek <jakub@redhat.com>
62091 * math/libm-test.inc (fma_test): Add some more tests.
62092 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62095 2010-10-15 Andreas Schwab <schwab@redhat.com>
62097 * scripts/data/localplt-s390-linux-gnu.data: New file.
62098 * scripts/data/localplt-s390x-linux-gnu.data: New file.
62100 2010-10-13 Jakub Jelinek <jakub@redhat.com>
62103 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62104 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62106 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62108 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62110 if one of x and y is very large and the other is subnormal.
62111 * sysdeps/s390/fpu/s_fmaf.c: New file.
62112 * sysdeps/s390/fpu/s_fma.c: New file.
62113 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62114 * sysdeps/powerpc/fpu/s_fma.S: New file.
62115 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62116 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62117 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62119 2010-10-12 Jakub Jelinek <jakub@redhat.com>
62122 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62124 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62125 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62126 * sysdeps/i386/i686/multiarch/s_fma.c: Include
62127 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62128 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62129 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62130 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62132 2010-10-12 Ulrich Drepper <drepper@redhat.com>
62135 * posix/regcomp.c (parse_branch): One more memory leak plugged.
62136 * posix/bug-regex31.input: Add test case.
62138 2010-10-11 Ulrich Drepper <drepper@gmail.com>
62140 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62141 * posix/bug-regex31.input: New file.
62144 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62145 (parse_sub_exp): Fix last change, use postorder.
62147 * posix/bug-regex31.c: New file.
62148 * posix/Makefile: Add rules to build and run bug-regex31.
62150 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62153 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62156 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62157 to have entries in sys_siglist.
62160 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62163 2010-10-07 Jakub Jelinek <jakub@redhat.com>
62166 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62167 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62168 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62169 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62170 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62171 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62172 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62173 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62174 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62175 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62176 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62177 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62178 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62179 * math/ftestexcept.c (fetestexcept): Likewise.
62180 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62181 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62182 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62183 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62184 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62185 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62186 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62188 2010-10-11 Ulrich Drepper <drepper@gmail.com>
62191 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62194 2010-10-06 Ulrich Drepper <drepper@gmail.com>
62196 * string/bug-strstr1.c: New file.
62197 * string/Makefile: Add rules to build and run bug-strstr1.
62199 2010-10-05 Eric Blake <eblake@redhat.com>
62202 * string/str-two-way.h (two_way_long_needle): Always clear memory
62203 when skipping input due to the shift table.
62205 2010-10-03 Ulrich Drepper <drepper@gmail.com>
62208 * malloc/mcheck.c: Handle large requests.
62211 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62212 for strncmp and strncasecmp.
62213 * string/stratcliff.c: Add tests for strcmp and strncmp.
62214 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62216 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
62218 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62221 2010-09-30 Andreas Jaeger <aj@suse.de>
62223 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62224 (CGROUP_SUPER_MAGIC): Define.
62225 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62226 Handle btrfs and cgroup file systems.
62227 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62230 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
62232 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62233 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62235 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62238 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62239 trying to locate the ELF header.
62241 2010-09-27 Andreas Schwab <schwab@redhat.com>
62244 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62245 Mask out sign-bit copies when constructing f_fsid.
62247 2010-09-24 Petr Baudis <pasky@suse.cz>
62249 * debug/stack_chk_fail_local.c: Add missing licence exception.
62250 * debug/warning-nop.c: Likewise.
62252 2010-09-15 Joseph Myers <joseph@codesourcery.com>
62254 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62255 implementing getdents64 using getdents syscall, set d_type if
62256 __ASSUME_GETDENTS32_D_TYPE.
62258 2010-09-16 Andreas Schwab <schwab@redhat.com>
62260 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62261 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62263 2010-09-21 Ulrich Drepper <drepper@redhat.com>
62266 * posix/unistd.h: Undo change of feature selection for ftruncate from
62269 2010-09-20 Ulrich Drepper <drepper@redhat.com>
62271 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62274 2010-09-20 Andreas Schwab <schwab@redhat.com>
62276 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62278 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62280 2010-09-14 Andreas Schwab <schwab@redhat.com>
62282 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62283 variables after CHECK_SP call.
62284 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62286 2010-09-13 Andreas Schwab <schwab@redhat.com>
62287 Ulrich Drepper <drepper@redhat.com>
62289 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62290 re-relocationg ld.so.
62291 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62292 _dl_init_paths call.
62293 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
62296 2010-09-14 Ulrich Drepper <drepper@redhat.com>
62298 * resolv/res_init.c (__res_vinit): Count the default server we added.
62300 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
62301 Ulrich Drepper <drepper@redhat.com>
62304 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62305 (____longjmp_chk): Use %ebx for saving value across system call.
62308 2010-09-06 Andreas Schwab <schwab@redhat.com>
62310 * manual/Makefile: Don't mix pattern rules with normal rules.
62312 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
62314 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62316 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62317 * libio/iofopncook.c (_IO_cookie_init): Likewise.
62318 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62319 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62320 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62323 2010-09-04 Ulrich Drepper <drepper@redhat.com>
62326 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62327 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62329 2010-09-02 Ulrich Drepper <drepper@redhat.com>
62331 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62332 * sysdeps/x86_64/addmul_1.S: Likewise.
62333 * sysdeps/x86_64/lshift.S: Likewise.
62334 * sysdeps/x86_64/mul_1.S: Likewise.
62335 * sysdeps/x86_64/rshift.S: Likewise.
62336 * sysdeps/x86_64/sub_n.S: Likewise.
62337 * sysdeps/x86_64/submul_1.S: Likewise.
62339 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
62341 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62342 Define __sched_param instead of SCHED_* and sched_param when
62343 <bits/sched.h> is included with __need_schedparam defined.
62344 * bits/sched.h [__need_schedparam]
62345 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62346 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62347 (__defined_schedparam): Define to 1.
62348 (__sched_param): New structure, identical to sched_param.
62349 (__need_schedparam): Undefine.
62351 2010-08-31 Mike Frysinger <vapier@gentoo.org>
62353 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62354 (epoll_create1): Declare.
62356 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62358 2010-08-31 Andreas Schwab <schwab@redhat.com>
62361 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62362 shifting retval into place.
62364 2010-09-01 Ulrich Drepper <drepper@redhat.com>
62366 * nis/rpcsvc/nis.h: Update copyright notice.
62367 * nis/rpcsvc/nis.x: Likewise.
62368 * nis/rpcsvc/nis_callback.h: Likewise.
62369 * nis/rpcsvc/nis_callback.x: Likewise.
62370 * nis/rpcsvc/nis_object.x: Likewise.
62371 * nis/rpcsvc/nis_tags.h: Likewise.
62372 * nis/rpcsvc/yp.h: Likewise.
62373 * nis/rpcsvc/yp.x: Likewise.
62374 * nis/rpcsvc/ypupd.h: Likewise.
62375 * nis/yp_xdr.c: Likewise.
62376 * nis/ypupdate_xdr.c: Likewise.
62378 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
62379 mainly the body of pmap_getport. Add parameters to specify timeouts.
62380 (pmap_getport): Use __libc_rpc_getport.
62381 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
62382 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
62383 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
62385 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
62387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
62390 2010-08-27 Roland McGrath <roland@redhat.com>
62392 * sysdeps/i386/i686/multiarch/Makefile
62393 (CFLAGS-varshift.c): New variable.
62395 2010-08-27 Ulrich Drepper <drepper@redhat.com>
62397 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
62398 * sysdeps/i386/i686/multiarch/varshift.c: New file.
62400 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
62402 * sysdeps/x86_64/strlen.S: Minimal code improvement.
62404 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
62406 * sysdeps/x86_64/strlen.S: Unroll the loop.
62407 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62408 strlen-sse2 strlen-sse2-bsf.
62409 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
62410 __strlen_no_bsf if bit_Slow_BSF is set.
62411 (__strlen_sse42): Removed.
62412 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
62413 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
62415 2010-08-25 Roland McGrath <roland@redhat.com>
62417 * sysdeps/x86_64/multiarch/varshift.S: File removed.
62418 * sysdeps/x86_64/multiarch/varshift.c: New file.
62419 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
62420 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
62421 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
62422 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62424 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
62426 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62427 strlen-sse2 strlen-sse2-bsf.
62428 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
62429 __strlen_sse2_bsf if bit_Slow_BSF is unset.
62430 (__strlen_sse2): Removed.
62431 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
62432 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
62433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62434 bit_Slow_BSF for Atom.
62435 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
62436 (index_Slow_BSF): Define.
62437 (HAS_SLOW_BSF): Define.
62439 2010-08-25 Ulrich Drepper <drepper@redhat.com>
62442 * resolv/res_init.c (__res_vinit): When no server address at all
62443 is given default to loopback.
62445 2010-08-24 Roland McGrath <roland@redhat.com>
62447 * configure.in: Remove config-name.h generation.
62448 * configure: Regenerated.
62449 * config-name.in: File removed.
62450 * scripts/config-uname.sh: New file.
62451 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62452 ($(objdir)config-name.h): New target.
62454 * sunrpc/rpc_parse.h: Avoid nested comment.
62456 2010-08-24 Richard Henderson <rth@redhat.com>
62457 Ulrich Drepper <drepper@redhat.com>
62458 H.J. Lu <hongjiu.lu@intel.com>
62460 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62462 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62463 Replace _mm_srli_si128 with __m128i_shift_right. Replace
62464 _mm_alignr_epi8 with _mm_loadu_si128.
62465 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62466 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62467 (__m128i_shift_right): Removed.
62468 * sysdeps/i386/i686/multiarch/varshift.h: New file.
62469 * sysdeps/i386/i686/multiarch/varshift.S: New file.
62470 * sysdeps/x86_64/multiarch/varshift.h: New file.
62471 * sysdeps/x86_64/multiarch/varshift.S: New file.
62473 2010-08-21 Mike Frysinger <vapier@gentoo.org>
62475 * configure.in: Move assembler checks to before sysdep dir checking.
62477 2010-08-20 Petr Baudis <pasky@suse.cz>
62479 * LICENSES: Sync the sunrpc license.
62481 2010-08-19 Ulrich Drepper <drepper@redhat.com>
62483 * sunrpc/auth_des.c: Update copyright notice once again.
62484 * sunrpc/auth_none.c: Likewise.
62485 * sunrpc/auth_unix.c: Likewise.
62486 * sunrpc/authdes_prot.c: Likewise.
62487 * sunrpc/authuxprot.c: Likewise.
62488 * sunrpc/bindrsvprt.c: Likewise.
62489 * sunrpc/clnt_gen.c: Likewise.
62490 * sunrpc/clnt_perr.c: Likewise.
62491 * sunrpc/clnt_raw.c: Likewise.
62492 * sunrpc/clnt_simp.c: Likewise.
62493 * sunrpc/clnt_tcp.c: Likewise.
62494 * sunrpc/clnt_udp.c: Likewise.
62495 * sunrpc/clnt_unix.c: Likewise.
62496 * sunrpc/des_crypt.c: Likewise.
62497 * sunrpc/des_soft.c: Likewise.
62498 * sunrpc/get_myaddr.c: Likewise.
62499 * sunrpc/getrpcport.c: Likewise.
62500 * sunrpc/key_call.c: Likewise.
62501 * sunrpc/key_prot.c: Likewise.
62502 * sunrpc/openchild.c: Likewise.
62503 * sunrpc/pm_getmaps.c: Likewise.
62504 * sunrpc/pm_getport.c: Likewise.
62505 * sunrpc/pmap_clnt.c: Likewise.
62506 * sunrpc/pmap_prot.c: Likewise.
62507 * sunrpc/pmap_prot2.c: Likewise.
62508 * sunrpc/pmap_rmt.c: Likewise.
62509 * sunrpc/rpc/auth.h: Likewise.
62510 * sunrpc/rpc/auth_unix.h: Likewise.
62511 * sunrpc/rpc/clnt.h: Likewise.
62512 * sunrpc/rpc/des_crypt.h: Likewise.
62513 * sunrpc/rpc/key_prot.h: Likewise.
62514 * sunrpc/rpc/netdb.h: Likewise.
62515 * sunrpc/rpc/pmap_clnt.h: Likewise.
62516 * sunrpc/rpc/pmap_prot.h: Likewise.
62517 * sunrpc/rpc/pmap_rmt.h: Likewise.
62518 * sunrpc/rpc/rpc.h: Likewise.
62519 * sunrpc/rpc/rpc_des.h: Likewise.
62520 * sunrpc/rpc/rpc_msg.h: Likewise.
62521 * sunrpc/rpc/svc.h: Likewise.
62522 * sunrpc/rpc/svc_auth.h: Likewise.
62523 * sunrpc/rpc/types.h: Likewise.
62524 * sunrpc/rpc/xdr.h: Likewise.
62525 * sunrpc/rpc_clntout.c: Likewise.
62526 * sunrpc/rpc_cmsg.c: Likewise.
62527 * sunrpc/rpc_common.c: Likewise.
62528 * sunrpc/rpc_cout.c: Likewise.
62529 * sunrpc/rpc_dtable.c: Likewise.
62530 * sunrpc/rpc_hout.c: Likewise.
62531 * sunrpc/rpc_main.c: Likewise.
62532 * sunrpc/rpc_parse.c: Likewise.
62533 * sunrpc/rpc_parse.h: Likewise.
62534 * sunrpc/rpc_prot.c: Likewise.
62535 * sunrpc/rpc_sample.c: Likewise.
62536 * sunrpc/rpc_scan.c: Likewise.
62537 * sunrpc/rpc_scan.h: Likewise.
62538 * sunrpc/rpc_svcout.c: Likewise.
62539 * sunrpc/rpc_tblout.c: Likewise.
62540 * sunrpc/rpc_util.c: Likewise.
62541 * sunrpc/rpc_util.h: Likewise.
62542 * sunrpc/rpcinfo.c: Likewise.
62543 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62544 * sunrpc/rpcsvc/key_prot.x: Likewise.
62545 * sunrpc/rpcsvc/klm_prot.x: Likewise.
62546 * sunrpc/rpcsvc/mount.x: Likewise.
62547 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62548 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62549 * sunrpc/rpcsvc/rex.x: Likewise.
62550 * sunrpc/rpcsvc/rstat.x: Likewise.
62551 * sunrpc/rpcsvc/rusers.x: Likewise.
62552 * sunrpc/rpcsvc/sm_inter.x: Likewise.
62553 * sunrpc/rpcsvc/spray.x: Likewise.
62554 * sunrpc/rpcsvc/yppasswd.x: Likewise.
62555 * sunrpc/rtime.c: Likewise.
62556 * sunrpc/svc.c: Likewise.
62557 * sunrpc/svc_auth.c: Likewise.
62558 * sunrpc/svc_authux.c: Likewise.
62559 * sunrpc/svc_raw.c: Likewise.
62560 * sunrpc/svc_run.c: Likewise.
62561 * sunrpc/svc_simple.c: Likewise.
62562 * sunrpc/svc_tcp.c: Likewise.
62563 * sunrpc/svc_udp.c: Likewise.
62564 * sunrpc/svc_unix.c: Likewise.
62565 * sunrpc/svcauth_des.c: Likewise.
62566 * sunrpc/xcrypt.c: Likewise.
62567 * sunrpc/xdr.c: Likewise.
62568 * sunrpc/xdr_array.c: Likewise.
62569 * sunrpc/xdr_float.c: Likewise.
62570 * sunrpc/xdr_mem.c: Likewise.
62571 * sunrpc/xdr_rec.c: Likewise.
62572 * sunrpc/xdr_ref.c: Likewise.
62573 * sunrpc/xdr_sizeof.c: Likewise.
62574 * sunrpc/xdr_stdio.c: Likewise.
62576 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62579 2010-08-19 Andreas Schwab <schwab@redhat.com>
62581 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62583 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
62585 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62586 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62587 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62588 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62589 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62590 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62591 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62592 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62593 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62594 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62595 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62596 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62597 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62598 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62600 2010-07-26 Anton Blanchard <anton@samba.org>
62602 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62603 * malloc/arena.c (heap_trim): Likewise.
62605 2010-08-16 Ulrich Drepper <drepper@redhat.com>
62607 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62609 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62610 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62612 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
62614 * sysdeps/i386/elf/Makefile: New file.
62616 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
62618 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62619 from fanotify_init.
62620 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62621 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62623 2010-08-15 Ulrich Drepper <drepper@redhat.com>
62625 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62627 * sysdeps/multiarch/strcmp.S: Likewise.
62629 2010-08-14 Ulrich Drepper <drepper@redhat.com>
62631 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62632 strncase_l-nonascii.
62633 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62634 Add strncase_l-ssse3.
62635 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62636 * sysdeps/x86_64/strcmp.S: Likewise.
62637 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62638 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62639 * sysdeps/x86_64/strncase.S: New file.
62640 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62641 * sysdeps/x86_64/strncase_l.S: New file.
62642 * string/Makefile (strop-tests): Add strncasecmp.
62643 * string/test-strncasecmp.c: New file.
62645 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62648 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62649 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62651 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
62653 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62655 2010-08-12 Ulrich Drepper <drepper@redhat.com>
62657 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62658 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62659 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62661 2010-05-01 Alan Modra <amodra@gmail.com>
62663 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62664 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62665 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62666 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62667 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62668 tidying. Don't tail-call __sigjmp_save for static lib.
62669 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62671 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62672 (CALL_MCOUNT): Add eh info, and nop after bl.
62673 (TAIL_CALL_SYSCALL_ERROR): New macro.
62674 (PSEUDO_RET): Use it.
62675 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62676 Correct save location of integer regs and cr.
62677 (_dl_profile_resolve): Correct cr save location. Delete nops
62678 after bl when SHARED. Reduce cfi size a little by better
62679 placement of cfi directives.
62680 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62681 make a stack frame. Instead use parm save area as a temp.
62682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62683 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
62684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62685 Don't make a stack frame for parent, use parm save area.
62686 Increase child stack frame to 112 bytes. Don't save unused reg,
62687 and adjust reg usage. Set up cfi on error recovery and
62688 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62690 (__makecontext): Add dummy nop after jump to exit.
62691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62692 Use correct parm save area and cr save, reduce stack frame.
62693 Correct cfi for possible PSEUDO_RET frame setup.
62694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62695 Branch to local label emitted by PSEUDO_RET rather than
62698 2010-08-12 Andreas Schwab <schwab@redhat.com>
62701 * locale/programs/locale.c (print_assignment): New function.
62702 (show_locale_vars): Use it.
62704 2010-08-11 Ulrich Drepper <drepper@redhat.com>
62706 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62708 (struct statfs64): Likewise.
62709 (_STATFS_F_FLAGS): Define.
62710 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62711 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62712 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62713 (ST_VALID): Define locally.
62714 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62715 __statvfs_getflags, use the provided value.
62716 * sysdeps/unix/sysv/linux/kernel-features.h: Define
62717 __ASSUME_STATFS_F_FLAGS.
62719 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62721 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62722 Add sys/fanotify.h.
62723 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62724 fanotify_mask for GLIBC_2.13.
62725 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62726 fanotify_init and fanotify_mark.
62727 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62728 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62730 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62732 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62733 prlimit64 for GLIBC_2.13.
62734 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62736 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62739 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62740 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62741 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62742 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
62744 * sysdeps/unix/sysv/linux/prlimit.c: New file.
62747 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62748 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62750 * nss/Makefile: Add rules to build and run tst-nss-test1.
62751 * shlib-versions: Add entry for libnss_test1.
62752 * nss/nss_test1.c: New file.
62753 * nss/tst-nss-test1.c: New file.
62755 * nss/nsswitch.c (__nss_database_custom): Define new variable.
62756 (__nss_configure_lookup): Set appropriate entry in
62757 __nss_configure_lookup to true.
62758 * nss/nsswitch.h: Define enum with indeces of databases in
62759 databases and __nss_database_custom arrays. Declare
62760 __nss_database_custom.
62761 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62762 to avoid using nscd when custom rules are installed.
62763 * nss/getXXbyYY_r.c: Likewise.
62764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62766 * nss/nss_files/files-parse.c: Whitespace fixes.
62768 2010-08-09 Ulrich Drepper <drepper@redhat.com>
62771 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62772 * posix/fnmatch_loop.c: Likewise.
62774 2010-07-17 Andi Kleen <ak@linux.intel.com>
62776 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62777 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62778 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62779 * Versions.def [GLIBC_2.13]: Add.
62781 2010-08-06 Ulrich Drepper <drepper@redhat.com>
62783 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62784 Also fail if tpwd after pwuid call is NULL.
62786 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
62788 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62789 when converting to ms.
62791 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
62793 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62794 EOPNOTSUPP errors with ENOTTY.
62795 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62796 EOPNOTSUPP errors with ENOTTY.
62798 2010-07-31 Ulrich Drepper <drepper@redhat.com>
62800 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62801 Add strcasecmp_l-ssse3.
62802 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62804 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62805 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62806 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62808 2010-07-30 Ulrich Drepper <drepper@redhat.com>
62810 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62812 * string/Makefile (strop-tests): Add strcasecmp.
62813 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62814 strcasecmp_l-nonascii.
62815 (gen-as-const-headers): Add locale-defines.sym.
62816 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62817 * sysdeps/x86_64/strcasecmp.S: New file.
62818 * sysdeps/x86_64/strcasecmp_l.S: New file.
62819 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62820 * sysdeps/x86_64/locale-defines.sym: New file.
62821 * string/test-strcasecmp.c: New file.
62823 * string/test-strcasestr.c: Test both ends of the range of characters.
62824 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62826 2010-07-29 Roland McGrath <roland@redhat.com>
62829 * manual/locale.texi (Yes-or-No Questions): Fix example code.
62831 2010-07-27 Ulrich Drepper <drepper@redhat.com>
62833 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62836 2010-07-27 Andreas Schwab <schwab@redhat.com>
62838 * manual/memory.texi (Malloc Tunable Parameters): Document
62841 2010-07-26 Roland McGrath <roland@redhat.com>
62844 * configure.in (-fgnu89-inline check): Set and substitute
62845 gnu89_inline, not libc_cv_gnu89_inline.
62846 * configure: Regenerated.
62847 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62849 2010-07-26 Ulrich Drepper <drepper@redhat.com>
62851 * string/test-strnlen.c: New file.
62852 * string/Makefile (strop-tests): Add strnlen.
62853 * string/tester.c (test_strnlen): Add a few more test cases.
62854 * string/tst-strlen.c: Better error reporting.
62856 * sysdeps/x86_64/strnlen.S: New file.
62858 2010-07-24 Ulrich Drepper <drepper@redhat.com>
62860 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62861 lower-latency instructions.
62863 2010-07-23 Ulrich Drepper <drepper@redhat.com>
62865 * string/test-strcasestr.c: New file.
62866 * string/test-strstr.c: New file.
62867 * string/Makefile (strop-tests): Add strstr and strcasestr.
62868 * string/str-two-way.h: Don't undefine MAX.
62869 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62871 2010-07-21 Andreas Schwab <schwab@redhat.com>
62873 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62874 strcasestr-nonascii.
62875 (CFLAGS-strcasestr-nonascii.c): Define.
62876 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62877 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62878 Remove unused attribute.
62880 2010-07-20 Roland McGrath <roland@redhat.com>
62882 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62883 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
62884 ld.so.cache was broken. With it, there is no way to disable dsocaps
62885 like LD_HWCAP_MASK can disable hwcaps.
62887 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
62889 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62891 2010-07-16 Ulrich Drepper <drepper@redhat.com>
62893 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62894 call in strcasestr.
62895 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62896 __strcasestr_sse42_nonascii.
62897 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62898 strcasestr-nonascii.c.
62899 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62901 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
62903 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62904 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62905 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62906 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62908 2010-07-09 Ulrich Drepper <drepper@redhat.com>
62910 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62913 2010-07-06 Andreas Schwab <schwab@redhat.com>
62916 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62919 2010-07-06 Ulrich Drepper <drepper@redhat.com>
62921 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62922 _PC_PIPE_BUF using F_GETPIPE_SZ.
62924 2010-07-05 Roland McGrath <roland@redhat.com>
62926 * manual/arith.texi (Rounding Functions): Fix rint description
62927 implicit in round description.
62929 2010-07-02 Ulrich Drepper <drepper@redhat.com>
62931 * elf/Makefile: Fix linking for a few tests to make recent linker
62934 2010-06-30 Andreas Schwab <schwab@redhat.com>
62936 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62937 $(common-objpfx)libc_nonshared.a.
62939 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
62941 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62942 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62943 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62944 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62945 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62946 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62947 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62948 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62963 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62964 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62965 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62966 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62967 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62968 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62969 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62970 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62971 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62972 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62973 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62974 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62990 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
62992 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62993 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
62994 * string/memmove.c (memmove): Renamed to ...
62995 (MEMMOVE): ...this. Default to memmove.
62996 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62997 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62999 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63000 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63001 mempcpy-ssse3-back memmove-ssse3-back.
63002 * sysdeps/x86_64/multiarch/bcopy.S: New file .
63003 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63004 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63005 * sysdeps/x86_64/multiarch/memcpy.S: New file.
63006 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63007 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63008 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63009 * sysdeps/x86_64/multiarch/memmove.c: New file.
63010 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63011 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63012 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63013 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63014 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63015 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63017 (index_Fast_Copy_Backward): Define.
63018 (HAS_ARCH_FEATURE): Define.
63019 (HAS_FAST_REP_STRING): Define.
63020 (HAS_FAST_COPY_BACKWARD): Define.
63022 2010-06-21 Andreas Schwab <schwab@redhat.com>
63024 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63025 Restore proper fallback handling.
63027 2010-06-19 Ulrich Drepper <drepper@redhat.com>
63030 * posix/group_member.c (__group_member): Correct checking loop.
63032 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63033 OOM in getpwuid_r correctly. Return error number when the caller
63034 should return, otherwise -1.
63035 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63036 call returning > 0 value.
63037 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63039 2010-06-07 Andreas Schwab <schwab@redhat.com>
63041 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63042 libc_nonshared.a from targets in modules-names.
63044 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
63046 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63049 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
63051 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63052 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63053 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63056 2010-06-02 Andreas Schwab <schwab@redhat.com>
63058 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63060 2010-06-14 Ulrich Drepper <drepper@redhat.com>
63062 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63064 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63065 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63066 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63067 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63068 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63069 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63071 2010-06-14 Roland McGrath <roland@redhat.com>
63073 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63075 2010-06-07 Jakub Jelinek <jakub@redhat.com>
63077 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63078 __REDIRECT followed by __THROW.
63079 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63080 * posix/getopt.h (getopt): Likewise.
63082 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
63084 * hurd/lookup-at.c (__file_name_lookup_at): Accept
63085 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
63086 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63088 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63089 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63091 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
63093 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63095 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
63098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63099 Properly check family and model.
63101 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
63103 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63105 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
63107 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63109 2010-05-21 Ulrich Drepper <drepper@redhat.com>
63111 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63114 2010-05-19 Andreas Schwab <schwab@redhat.com>
63116 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63119 2010-05-21 Andreas Schwab <schwab@redhat.com>
63121 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63122 and internal_recvmmsg.
63123 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63124 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63125 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63126 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63128 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63129 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63130 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63132 2010-05-20 Andreas Schwab <schwab@redhat.com>
63134 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63136 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
63138 POWER7 optimizations.
63139 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63140 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63142 2010-05-19 Ulrich Drepper <drepper@redhat.com>
63144 * version.h: Update for 2.13 development version.
63146 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
63148 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63149 exceptions. Return 0.
63151 2010-05-07 Roland McGrath <roland@redhat.com>
63153 * elf/ldconfig.c (main): Add a const.
63155 2010-05-06 Ulrich Drepper <drepper@redhat.com>
63157 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63158 (args_options): Add no-idn option.
63159 (ahosts_keys_int): Add idn_flags to ai_flags.
63160 (parse_option): Handle 'i' option to clear idn_flags.
63162 * malloc/malloc.c (_int_free): Possible race in the most recently
63163 added check. Only act on the data if no current modification
63166 See ChangeLog.17 for earlier changes.