1 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5 (La_x86_64_retval): Likewise.
7 2014-04-24 Ian Bolton <ian.bolton@arm.com>
9 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10 fpsr if value didn't change.
11 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12 to fpcr if value didn't change.
13 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15 fpsr or fpcr if value didn't change.
16 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18 fpcr if value didn't change.
19 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20 to fpsr if value didn't change.
22 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24 * nptl/tst-sem3.c: Use test-skeleton.c
25 (main): Rename to do_test. Use return instead of
27 * nptl/tst-sem4.c: Use test-skeleton.c
28 (main): Rename to do_test.
30 2014-04-22 David S. Miller <davem@davemloft.net>
32 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33 (struct sigaction): New struct member __glibc_reserved0, change
34 type of sa_flags to int.
36 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
38 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
39 (COUNT_LEADING_ZEROS_0): Define for AArch64.
41 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
44 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
46 2014-04-22 Will Newton <will.newton@linaro.org>
47 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
49 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
50 (__longjmp): Add longjmp and longjmp_target SystemTap
52 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53 (__sigsetjmp): Add setjmp SystemTap probe.
55 2014-04-17 Carlos O'Donell <carlos@redhat.com>
57 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
60 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
64 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66 * sysdeps/powerpc/fpu/fenv_private.h
67 (libc_feholdexcept_setroundl_ctx): Define to
68 libc_feholdexcept_setround_ppc_ctx.
69 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
70 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
71 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
72 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
74 2014-04-17 Ian Bolton <ian.bolton@arm.com>
76 * sysdeps/aarch64/math-tests.h: New file.
78 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
80 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
82 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83 Check and set bit_AVX2_Usable.
84 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
87 (index_AVX2_Usable): Likewise.
88 (CPUID_AVX2): Likewise.
91 2014-04-17 Will Newton <will.newton@linaro.org>
93 * manual/setjmp.texi (System V contexts): Add note that
94 calling setcontext on a context created by a call to a
95 signal handler is undefined. Update text to note that
96 setcontext from a signal handler is possible but not
100 * stdlib/tst-setcontext.c: Include signal.h.
101 (main): Check that the signal stack before and
102 after swapcontext is the same.
104 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
105 Re-implement to restore registers in user code and avoid
106 rt_sigreturn system call.
108 2014-04-17 Wilco <wdijkstr@arm.com>
110 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
111 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
112 * math/test-fenv.c: Skip exception trap tests on targets which only
113 support non-stop mode.
115 2014-04-17 Ian Bolton <ian.bolton@arm.com>
116 Wilco Dijkstra <wilco.dijkstra@arm.com>
118 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
119 (libc_feholdsetround_aarch64_ctx)
120 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
121 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
122 (libc_feresetround_ctx, libc_feresetroundf_ctx)
123 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
124 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
125 (libc_feresetround_noexl_ctx): Define.
127 2014-04-16 Richard Henderson <rth@redhat.com>
129 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
131 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
134 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
135 const from the non-libc, non-ldso copy.
137 * sysdeps/alpha/libm-test-ulps: Regenerate.
139 2014-04-16 Ian Bolton <ian.bolton@arm.com>
140 Wilco Dijkstra <wilco.dijkstra@arm.com>
142 * sysdeps/aarch64/fpu/math_private.h: New file.
144 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
146 * sysdeps/aarch64/libm-test-ulps: Regenerate.
148 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
150 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
151 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
152 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
153 Intel MPX bound registers before _dl_profile_fixup.
154 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
155 registers after _dl_profile_fixup. Save and restore bound
156 registers bnd0/bnd1 when calling _dl_call_pltexit.
157 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
158 (LR_BND_OFFSET): Likewise.
159 (LRV_BND0_OFFSET): Likewise.
160 (LRV_BND1_OFFSET): Likewise.
162 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
164 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
166 * sysdeps/mach/hurd/i386/tls.h: ... here.
167 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
168 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
171 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
173 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
175 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
177 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
179 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
182 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
183 * sysdeps/s390/configure: Regenerate.
185 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
188 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
189 Set round-to-nearest internally to reduce error accumulation.
191 2014-04-16 Alan Modra <amodra@gmail.com>
195 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
196 * math/libm-test.inc (frexp_test_data): Add tests.
197 * NEWS: Update fixed bug list.
199 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
201 * benchtests/Makefile: Depend on libraries in build directory.
202 (bench-math): Separate out math tests.
203 (bench-pthread): Separate out pthread tests.
204 (bench): Include math and pthread tests.
206 2014-04-14 Carlos O'Donell <carlos@redhat.com>
209 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
210 _dl_debug_initialize.
212 2014-04-14 Carlos O'Donell <carlos@redhat.com>
214 * configure.ac: Remove SELinux header check.
215 * configure: Regenerate.
216 * nscd/selinux.c (perms): Array of const char* to permission names.
217 (nscd_request_avc_has_perm): Call security_deny_unknown to find
218 default policy. Call string_to_security_class and string_to_av_perm to
219 translate strings. Enforce default policy and call avs_has_perm with
220 results of translated strings.
222 2014-04-13 David S. Miller <davem@davemloft.net>
224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
226 2014-04-12 Allan McRae <allan@archlinux.org>
229 * manual/string.texi (Collation Functions): Fix qsort argument
231 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
233 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
235 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
236 Make the test a no-op if there are no exceptions defined.
238 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
240 * elf/Makefile (tests): make tst-dlopen-aout conditional on
241 enable-hardcoded-path-in-tests
243 2014-04-11 Will Newton <will.newton@linaro.org>
245 * benchtests/Makefile (extra-objs): Add json-lib.o.
246 (bench-func): Tidy up JSON output.
247 * benchtests/bench-skeleton.c: Include json-lib.h.
248 (main): Use JSON library functions to do output of
250 * benchtests/bench-timing-type.c (main): Output the
251 timing type simply, leaving formatting to the user.
252 * benchtests/json-lib.c: New file.
253 * benchtests/json-lib.h: Likewise.
255 2014-04-11 Torvald Riegel <triegel@redhat.com>
258 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
259 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
260 memory barriers. Add comments.
261 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
262 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
263 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
264 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
265 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
266 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
268 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
270 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
271 * sysdeps/s390/s390-64/configure.ac: ... this ...
272 * sysdeps/s390/configure.ac: ... to here.
273 * sysdeps/s390/s390-32/configure: Delete file.
274 * sysdeps/s390/s390-64/configure: Delete file.
275 * sysdeps/s390/configure: Regenerate.
277 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
279 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
281 2014-04-11 Will Newton <will.newton@linaro.org>
283 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
284 to zero if it is not defined elsewhere. (mtrim): Test
285 the value of MALLOC_DEBUG with #if rather than #ifdef.
287 2014-04-10 Torvald Riegel <triegel@redhat.com>
289 * benchtests/pthread_once-inputs: New file.
290 * benchtests/pthread_once-source.c: New file.
291 * benchtests/README: Update documentation.
293 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
294 H.J. Lu <hongjiu.lu@intel.com>
296 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
297 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
298 * sysdeps/x86_64/configure: Regenerated.
299 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
301 (REGISTER_SAVE_RAX): Likewise.
302 (REGISTER_SAVE_RCX): Likewise.
303 (REGISTER_SAVE_RDX): Likewise.
304 (REGISTER_SAVE_RSI): Likewise.
305 (REGISTER_SAVE_RDI): Likewise.
306 (REGISTER_SAVE_R8): Likewise.
307 (REGISTER_SAVE_R9): Likewise.
308 (REGISTER_SAVE_BND0): Likewise.
309 (REGISTER_SAVE_BND1): Likewise.
310 (REGISTER_SAVE_BND2): Likewise.
311 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
312 bound registers when calling _dl_fixup.
314 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
316 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
317 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
319 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
320 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
321 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
322 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
323 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
324 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
325 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
327 2014-04-09 Peter Brett <peter@peter-b.co.uk>
330 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
331 pathconf(_PC_NAME_MAX).
333 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
335 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
337 (__PTHREAD_SPINS): Move definition to ...
338 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
339 (__PTHREAD_SPINS): ... here.
340 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
341 (__PTHREAD_SPIN): Likewise.
342 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
343 (__PTHREAD_SPIN): Likewise.
344 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
345 (__PTHREAD_SPIN): Likewise.
346 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
347 (__PTHREAD_SPIN): Likewise.
348 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
349 (__PTHREAD_SPIN): Likewise.
350 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
351 (__PTHREAD_SPIN): Likewise.
352 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
353 (__PTHREAD_SPIN): Likewise.
354 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
355 (__PTHREAD_SPIN): Likewise.
356 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
357 (__PTHREAD_SPIN): Likewise.
358 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
359 (__PTHREAD_SPIN): Likewise.
360 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
361 (__PTHREAD_SPIN): Likewise.
362 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
363 (__PTHREAD_SPIN): Likewise.
365 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
367 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
368 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
369 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
370 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
372 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
373 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
374 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
375 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
377 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
378 strlen symbol for non multi-arch builds.
379 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
380 missing hidden_def and weak_alias.
382 2014-04-08 Carlos O'Donell <carlos@redhat.com>
384 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
386 2014-04-07 Will Newton <will.newton@linaro.org>
388 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
389 and contents. [!_LIBC] Remove #ifndef and contents.
390 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
391 * string/memccpy.c (__memccpy): Use ANSI prototype.
392 * string/memfrob.c (memfrob): Likewise.
393 * string/strcoll.c (STRCOLL): Likewise.
394 * string/strlen.c (strlen): Likewise.
395 * string/strtok.c (STRTOK): Likewise.
396 * string/strcat.c: Remove unused #include of memcopy.h.
397 (strcat): Use ANSI prototype.
398 * string/strchr.c: Remove unused #include of memcopy.h.
399 (strchr): Use ANSI prototype.
400 * string/strcmp.c: Remove unused #include of memcopy.h.
401 (strcmp): Use ANSI prototype.
402 * string/strcpy.c: Remove unused #include of memcopy.h.
403 (strcpy): Use ANSI prototype.
405 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
407 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
408 * config.make.in (config-extra-cppflags): Set it from
410 * configure.ac (libc_extra_cflags): Make it accumulate over
412 (libc_extra_cppflags): New flag.
413 * configure. Regenerate.
414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
415 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
416 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
419 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
422 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
423 result for FE_DOWNWARD rounding mode.
424 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
428 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
430 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
431 in function argument name.
433 2014-04-03 David Svoboda <svoboda@cert.org>
436 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
439 2014-04-03 Roland McGrath <roland@hack.frob.com>
441 * elf/dl-unmap-segments.h: New file.
442 * sysdeps/generic/ldsodefs.h
443 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
444 * elf/dl-close.c: Include <dl-unmap-segments.h>.
445 * elf/dl-fptr.c: Likewise.
446 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
447 * sysdeps/aarch64/tlsdesc.c: Likewise.
448 * sysdeps/arm/tlsdesc.c: Likewise.
449 * sysdeps/i386/tlsdesc.c: Likewise.
450 * sysdeps/tile/dl-runtime.c: Likewise.
451 * sysdeps/x86_64/tlsdesc.c: Likewise.
452 * elf/dl-load.h: New file.
453 * elf/dl-load.c: Include it.
454 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
455 Macros moved to dl-load.h.
456 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
457 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
458 Use _dl_unmap_segments in place of __munmap.
459 Break out segment-mapping loop into ...
460 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
462 2014-04-03 Will Newton <will.newton@linaro.org>
464 * elf/dl-lookup.c (do_lookup_x): Remove comment
465 referring to nested function and move variable
466 declarations down to before first use.
468 2014-04-02 Joseph Myers <joseph@codesourcery.com>
472 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
474 * math/s_catanf.c (__catanf): Likewise.
475 * math/s_catanh.c (__catanh): Likewise.
476 * math/s_catanhf.c (__catanhf): Likewise.
477 * math/s_catanhl.c (__catanhl): Likewise.
478 * math/s_catanl.c (__catanl): Likewise.
479 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
480 by positive zero when computing -Inf result.
481 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
482 (catanh_test): Likewise.
483 * sysdeps/i386/fpu/libm-test-ulps: Update.
484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
487 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
488 instead of using underflowing value in computing result.
489 * math/s_clog10.c (__clog10): Likewise.
490 * math/s_clog10f.c (__clog10f): Likewise.
491 * math/s_clog10l.c (__clog10l): Likewise.
492 * math/s_clogf.c (__clogf): Likewise.
493 * math/s_clogl.c (__clogl): Likewise.
494 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
495 (clog10_test): Likewise.
496 * sysdeps/i386/fpu/libm-test-ulps: Update.
497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
499 2014-04-02 Alan Modra <amodra@gmail.com>
502 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
503 output when value is near a power of two. Use int64_t for lx and
504 remove casts. Use decimal rather than hex exponent constants.
505 Don't use long double multiplication when double will suffice.
506 * math/libm-test.inc (nextafter_test_data): Add tests.
507 * NEWS: Add 16739 and 16786 to bug list.
509 2014-04-02 Alan Modra <amodra@gmail.com>
511 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
513 2014-04-02 Alan Modra <amodra@gmail.com>
515 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
517 2014-04-01 Will Newton <will.newton@linaro.org>
519 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
520 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
522 2014-04-01 Florian Weimer <fweimer@redhat.com>
525 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
526 * nptl/tst-setuid2.c: New file.
527 * nptl/Makefile (xtests): Add tst-setuid2.
529 2014-04-01 Alan Modra <amodra@gmail.com>
532 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
534 2014-03-31 Joseph Myers <joseph@codesourcery.com>
538 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
539 set errno as appropriate.
540 * math/w_scalbf.c (__scalbf): Likewise.
541 * math/w_scalbl.c (__scalbl): Likewise.
542 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
543 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
544 * math/libm-test.inc (scalb_test_data): Add errno expectations.
548 * math/w_atan2.c: Include <errno.h>.
549 (__atan2): Set errno for result underflowing to zero.
550 * math/w_atan2f.c: Include <errno.h>.
551 (__atan2f): Set errno for result underflowing to zero.
552 * math/w_atan2l.c: Include <errno.h>.
553 (__atan2l): Set errno for result underflowing to zero.
554 * math/auto-libm-test-in: Don't allow missing errno for some atan2
556 * math/auto-libm-test-out: Regenerated.
558 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
560 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
561 Encode instruction correctly in little endian.
562 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
564 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
566 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
568 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
571 2014-03-31 Joseph Myers <joseph@codesourcery.com>
574 * sysdeps/unix/sysv/linux/kernel-features.h
575 [__sparc__ && !__arch64__ && !__sparc_v9__]
576 (__ASSUME_SET_ROBUST_LIST): Do not define.
577 [__sparc__ && !__arch64__ && !__sparc_v9__]
578 (__ASSUME_FUTEX_LOCK_PI): Likewise.
579 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
581 * sysdeps/unix/sysv/linux/arm/kernel-features.h
582 (__ASSUME_FUTEX_LOCK_PI): Undefine.
583 (__ASSUME_REQUEUE_PI): Likewise.
584 (__ASSUME_SET_ROBUST_LIST): Likewise.
585 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
586 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
588 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
589 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
591 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
593 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
595 * sysdeps/unix/sysv/linux/mips/kernel-features.h
596 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
598 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
599 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
603 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
604 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
605 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
607 2014-03-31 Will Newton <will.newton@linaro.org>
609 * benchtests/Makefile (bench): Add ffs and ffsll to list
611 * benchtests/ffs-inputs: New file.
612 * benchtests/ffsll-inputs: Likewise.
614 2014-03-29 Joseph Myers <joseph@codesourcery.com>
617 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
618 too large before casting to int.
619 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
620 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
621 * math/libm-test.inc (scalb_test_data): Add more tests.
623 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
625 * benchtests/Makefile (DETAILED_OPT): New make option.
626 (bench-func): Run benchmark program with -d if DETAILED_OPT is
628 * benchtests/bench-skeleton.c: Include stdbool.h.
629 (main): Store and print timings per input.
630 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
631 member to each argument value.
632 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
633 (_print_arg_data): Initialize per-input timing to 0.
635 * benchtests/Makefile (timing-type): New binary.
636 (bench-clean): Also remove bench-timing-type.
637 (bench): New target for timing-type.
638 (bench-func): Print output in JSON format.
639 * benchtests/bench-skeleton.c (main): Print output in JSON
641 * benchtests/bench-timing-type.c: New file.
642 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
643 (TIMING_PRINT_STATS): Remove.
644 * benchtests/scripts/bench.py (_print_arg_data): Store variant
647 * benchtests/bench-modf.c: Remove.
648 * benchtests/modf-inputs: New inputs file.
650 2014-03-28 Joseph Myers <joseph@codesourcery.com>
653 * math/s_clog10.c (M_PI_LOG10E): New macro.
654 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
655 imaginary parts are 0.
656 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
657 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
658 imaginary parts are 0.
659 * math/s_clog10l.c (M_PI_LOG10El): New macro.
660 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
661 imaginary parts are 0.
662 * math/libm-test.inc (clog10_test_data): Update expected results
663 for when real and imaginary parts are 0.
665 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
667 * elf/dl-load.c: Finish conversion of __builtin_expect into
670 2014-03-27 Joseph Myers <joseph@codesourcery.com>
673 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
674 1+x for argument with exponent below -67.
675 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
677 * math/auto-libm-test-in: Add more tests of exp.
678 * math/auto-libm-test-out: Regenerated.
680 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
683 * inet/getnetgrent_r.c (get_nonempty_val): New function.
684 (nscd_getnetgrent): Use it.
687 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
690 2014-03-27 Andi Kleen <ak@linux.intel.com>
692 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
693 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
694 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
695 Remove out of line section. Use cfi intrinsics.
696 (LLL_STUB_UNWIND_INFO*): Remove.
697 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
698 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
699 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
700 Remove out of line section. Use cfi intrinsics.
701 (LLL_STUB_UNWIND_INFO*): Remove.
703 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
706 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
709 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
711 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
713 2014-03-26 Joseph Myers <joseph@codesourcery.com>
716 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
718 * math/test-fenv-preserve.c: New file.
719 * math/Makefile (tests): Add test-fenv-preserve.
721 2014-03-26 Will Newton <will.newton@linaro.org>
723 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
725 2014-03-25 Roland McGrath <roland@hack.frob.com>
727 * scripts/versionlist.awk: Partition the version sets and emit all
728 GLIBC_* (sorted) before all others (sorted).
730 2014-03-25 Joseph Myers <joseph@codesourcery.com>
732 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
735 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
737 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
740 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
742 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
745 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
749 2014-03-25 Andreas Schwab <schwab@suse.de>
751 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
752 label to be used after in6ailist is initialized.
754 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
756 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
757 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
759 2014-03-25 Joseph Myers <joseph@codesourcery.com>
763 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
765 (fp_formats): Update initializers.
766 (init_fp_formats): Initialize new field.
767 (output_for_one_input_case): Allow underflow for results up to
769 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
770 * math/auto-libm-test-in: Don't mark some underflows from asin and
772 * math/auto-libm-test-out: Regenerated.
773 * sysdeps/i386/fpu/libm-test-ulps: Update.
774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
776 2014-03-25 Andreas Schwab <schwab@suse.de>
778 * libio/Makefile (tst-ftell-partial-wide-ENV)
779 (tst-ftell-active-handler-ENV): Define.
781 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
783 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
785 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
787 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
789 2014-03-24 Joseph Myers <joseph@codesourcery.com>
791 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
792 * sysdeps/x86_64/fpu/multiarch/e_exp.c
793 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
795 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
798 * elf/dl-load.c (open_verify): Add mode parameter.
799 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
800 (open_path): Change from boolean 'secure' to complete flag 'mode'
801 (_dl_map_object): Adjust.
802 * elf/Makefile (tests): Add tst-dlopen-aout.
803 * elf/tst-dlopen-aout.c: New test.
805 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
808 * sysdeps/unix/sysv/linux/s390/bits/stat.h
809 (struct stat): Rename member pad0 to __glibc_reserved0.
811 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
814 * sysdeps/s390/s390-32/bits/wordsize.h
815 (__WORDSIZE32_SIZE_ULONG): New define.
816 * sysdeps/s390/s390-64/bits/wordsize.h
817 (__WORDSIZE32_SIZE_ULONG): Likewise.
818 * sysdeps/generic/stdint.h (SIZE_MAX):
819 Define as UL if __WORDSIZE32_SIZE_ULONG.
821 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
824 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
825 (__glibc_reserved0): New variable.
826 (sa_flags): Change type to int.
828 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
830 * posix/Makefile (before-compile): Use += before-compile instead
833 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
835 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
836 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
838 2014-03-20 Andreas Schwab <schwab@suse.de>
841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
842 non-matching result from nscd.
844 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
846 * scripts/bench.py: Moved to ...
847 * benchtests/scripts/bench.py: ... here.
848 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
850 2014-03-24 Andreas Schwab <schwab@suse.de>
853 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
854 alloca_account and account alloca use for struct in6ailist.
856 2014-03-24 Joseph Myers <joseph@codesourcery.com>
859 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
860 rounding mode to recompute results that overflow to infinity or
862 * math/auto-libm-test-in: Don't mark tests as expected to fail for
864 * math/auto-libm-test-out: Regenerated.
865 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
866 (ccosh_test): Likewise.
867 (csin_test_data): Use plus_oflow.
868 (csin_test): Use ALL_RM_TEST.
869 (csinh_test_data): Use plus_oflow.
870 (csinh_test): Use ALL_RM_TEST.
871 * sysdeps/i386/fpu/libm-test-ulps: Update.
872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
874 2014-03-21 Joseph Myers <joseph@codesourcery.com>
876 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
877 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
878 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
881 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
883 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
884 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
885 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
886 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
888 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
889 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
891 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
892 * sysdeps/i386/fpu/libm-test-ulps: Update.
893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
895 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
897 * scripts/bench.pl: Remove file.
898 * scripts/bench.py: New benchmark script.
899 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
900 * benchtests/README: Mention python dependency.
901 * scripts/pylintrc: New file.
902 * scripts/pylint: New file.
904 * bits/mathdef.h: Use #ifdef instead of #if.
905 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
906 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
907 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
908 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
909 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
910 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
912 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
913 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
915 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
916 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
917 and strpbrk-ppc64 objects.
918 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
919 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
920 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
921 multiarch strpbrk for POWER7.
922 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
923 multiarch strpbrk for PPC64.
924 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
926 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
929 2014-03-20 Joseph Myers <joseph@codesourcery.com>
931 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
932 (atan_test): Likewise.
933 (atanh_test_data): Use NO_TEST_INLINE for two tests.
934 (atanh_test): Use ALL_RM_TEST.
935 (atan2_test_data): Likewise.
936 (cabs_test): Likewise.
937 (cacosh_test): Likewise.
938 (carg_test): Likewise.
939 (casin_test): Likewise.
940 (casinh_test): Likewise.
941 (cbrt_test): Likewise.
942 (csqrt_test): Likewise.
943 (erf_test): Likewise.
944 (erfc_test): Likewise.
945 (pow10_test): Likewise.
946 (exp2_test): Likewise.
947 (hypot_test): Likewise.
950 (lgamma_test): Likewise.
951 (gamma_test): Likewise.
952 (sincos_test): Likewise.
953 (tanh_test): Likewise.
956 * sysdeps/i386/fpu/libm-test-ulps: Update.
957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
959 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
961 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
962 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
963 and strcspn-ppc64 objects.
964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
965 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
966 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
967 multiarch strcspn for POWER7.
968 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
969 multiarch strcspn for PPC64.
970 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
972 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
975 2014-03-20 Joseph Myers <joseph@codesourcery.com>
977 * math/gen-libm-test.pl (generate_testfile): Expect only function
978 name as argument to AUTO_TESTS_* and pass results for all rounding
980 (parse_auto_input): Separate inputs of automatic tests from
981 outputs before storing in %auto_tests.
982 * math/libm-test.inc (acos_test_data): Update call to
984 (acos_test): Use ALL_RM_TEST.
985 (acos_tonearest_test_data): Remove.
986 (acos_test_tonearest): Likewise.
987 (acos_towardzero_test_data): Likewise.
988 (acos_test_towardzero): Likewise.
989 (acos_downward_test_data): Likewise.
990 (acos_test_downward): Likewise.
991 (acos_upward_test_data): Likewise.
992 (acos_test_upward): Likewise.
993 (acosh_test_data): Update call to AUTO_TESTS_f_f.
994 (asin_test_data): Likewise.
995 (asin_test): Use ALL_RM_TEST.
996 (asin_tonearest_test_data): Remove.
997 (asin_test_tonearest): Likewise.
998 (asin_towardzero_test_data): Likewise.
999 (asin_test_towardzero): Likewise.
1000 (asin_downward_test_data): Likewise.
1001 (asin_test_downward): Likewise.
1002 (asin_upward_test_data): Likewise.
1003 (asin_test_upward): Likewise.
1004 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1005 (atan_test_data): Likewise.
1006 (atanh_test_data): Likewise.
1007 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1008 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1009 (carg_test_data): Likewise.
1010 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1011 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1012 (ccosh_test_data): Likewise.
1013 (cexp_test_data): Likewise.
1014 (clog_test_data): Likewise.
1015 (clog10_test_data): Likewise.
1016 (cos_test_data): Update call to AUTO_TESTS_f_f.
1017 (cos_test): Use ALL_RM_TEST.
1018 (cos_tonearest_test_data): Remove.
1019 (cos_test_tonearest): Likewise.
1020 (cos_towardzero_test_data): Likewise.
1021 (cos_test_towardzero): Likewise.
1022 (cos_downward_test_data): Likewise.
1023 (cos_test_downward): Likewise.
1024 (cos_upward_test_data): Likewise.
1025 (cos_test_upward): Likewise.
1026 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1027 (cosh_test): Use ALL_RM_TEST.
1028 (cosh_tonearest_test_data): Remove.
1029 (cosh_test_tonearest): Likewise.
1030 (cosh_towardzero_test_data): Likewise.
1031 (cosh_test_towardzero): Likewise.
1032 (cosh_downward_test_data): Likewise.
1033 (cosh_test_downward): Likewise.
1034 (cosh_upward_test_data): Likewise.
1035 (cosh_test_upward): Likewise.
1036 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1037 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1038 (ctan_test_data): Likewise.
1039 (ctan_test): Use ALL_RM_TEST.
1040 (ctan_tonearest_test_data): Remove.
1041 (ctan_test_tonearest): Likewise.
1042 (ctan_towardzero_test_data): Likewise.
1043 (ctan_test_towardzero): Likewise.
1044 (ctan_downward_test_data): Likewise.
1045 (ctan_test_downward): Likewise.
1046 (ctan_upward_test_data): Likewise.
1047 (ctan_test_upward): Likewise.
1048 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1049 (ctanh_test): Use ALL_RM_TEST.
1050 (ctanh_tonearest_test_data): Remove.
1051 (ctanh_test_tonearest): Likewise.
1052 (ctanh_towardzero_test_data): Likewise.
1053 (ctanh_test_towardzero): Likewise.
1054 (ctanh_downward_test_data): Likewise.
1055 (ctanh_test_downward): Likewise.
1056 (ctanh_upward_test_data): Likewise.
1057 (ctanh_test_upward): Likewise.
1058 (erf_test_data): Update call to AUTO_TESTS_f_f.
1059 (erfc_test_data): Likewise.
1060 (exp_test_data): Likewise.
1061 (exp_test): Use ALL_RM_TEST.
1062 (exp_tonearest_test_data): Remove.
1063 (exp_test_tonearest): Likewise.
1064 (exp_towardzero_test_data): Likewise.
1065 (exp_test_towardzero): Likewise.
1066 (exp_downward_test_data): Likewise.
1067 (exp_test_downward): Likewise.
1068 (exp_upward_test_data): Likewise.
1069 (exp_test_upward): Likewise.
1070 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1071 (exp10_test): Use ALL_RM_TEST.
1072 (exp10_tonearest_test_data): Remove.
1073 (exp10_test_tonearest): Likewise.
1074 (exp10_towardzero_test_data): Likewise.
1075 (exp10_test_towardzero): Likewise.
1076 (exp10_downward_test_data): Likewise.
1077 (exp10_test_downward): Likewise.
1078 (exp10_upward_test_data): Likewise.
1079 (exp10_test_upward): Likewise.
1080 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1081 (expm1_test_data): Likewise.
1082 (expm1_test): Use ALL_RM_TEST.
1083 (expm1_tonearest_test_data): Remove.
1084 (expm1_test_tonearest): Likewise.
1085 (expm1_towardzero_test_data): Likewise.
1086 (expm1_test_towardzero): Likewise.
1087 (expm1_downward_test_data): Likewise.
1088 (expm1_test_downward): Likewise.
1089 (expm1_upward_test_data): Likewise.
1090 (expm1_test_upward): Likewise.
1091 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1092 (fma_test): Use ALL_RM_TEST.
1093 (fma_towardzero_test_data): Remove.
1094 (fma_test_towardzero): Likewise.
1095 (fma_downward_test_data): Likewise.
1096 (fma_test_downward): Likewise.
1097 (fma_upward_test_data): Likewise.
1098 (fma_test_upward): Likewise.
1099 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1100 (j0_test_data): Update call to AUTO_TESTS_f_f.
1101 (j1_test_data): Likewise.
1102 (jn_test_data): Update call to AUTO_TESTS_if_f.
1103 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1104 (log_test_data): Update call to AUTO_TESTS_f_f.
1105 (log10_test_data): Likewise.
1106 (log1p_test_data): Likewise.
1107 (log2_test_data): Likewise.
1108 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1109 (pow_tonearest_test_data): Likewise.
1110 (sin_test_data): Update call to AUTO_TESTS_f_f.
1111 (sin_test): Use ALL_RM_TEST.
1112 (sin_tonearest_test_data): Remove.
1113 (sin_test_tonearest): Likewise.
1114 (sin_towardzero_test_data): Likewise.
1115 (sin_test_towardzero): Likewise.
1116 (sin_downward_test_data): Likewise.
1117 (sin_test_downward): Likewise.
1118 (sin_upward_test_data): Likewise.
1119 (sin_test_upward): Likewise.
1120 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1121 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1122 (sinh_test): Use ALL_RM_TEST.
1123 (sinh_tonearest_test_data): Remove.
1124 (sinh_test_tonearest): Likewise.
1125 (sinh_towardzero_test_data): Likewise.
1126 (sinh_test_towardzero): Likewise.
1127 (sinh_downward_test_data): Likewise.
1128 (sinh_test_downward): Likewise.
1129 (sinh_upward_test_data): Likewise.
1130 (sinh_test_upward): Likewise.
1131 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1132 (sqrt_test): Use ALL_RM_TEST.
1133 (sqrt_tonearest_test_data): Remove.
1134 (sqrt_test_tonearest): Likewise.
1135 (sqrt_towardzero_test_data): Likewise.
1136 (sqrt_test_towardzero): Likewise.
1137 (sqrt_downward_test_data): Likewise.
1138 (sqrt_test_downward): Likewise.
1139 (sqrt_upward_test_data): Likewise.
1140 (sqrt_test_upward): Likewise.
1141 (tan_test_data): Update call to AUTO_TESTS_f_f.
1142 (tan_test): Use ALL_RM_TEST.
1143 (tan_tonearest_test_data): Remove.
1144 (tan_test_tonearest): Likewise.
1145 (tan_towardzero_test_data): Likewise.
1146 (tan_test_towardzero): Likewise.
1147 (tan_downward_test_data): Likewise.
1148 (tan_test_downward): Likewise.
1149 (tan_upward_test_data): Likewise.
1150 (tan_test_upward): Likewise.
1151 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1152 (tgamma_test_data): Likewise.
1153 (y0_test_data): Likewise.
1154 (y1_test_data): Likewise.
1155 (yn_test_data): Update call to AUTO_TESTS_if_f.
1156 (main): Do not call removed functions.
1158 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1160 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1161 (ldexp_test_data): Remove.
1162 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1164 (scalb_test): Use ALL_RM_TEST.
1166 2014-03-19 Andreas Schwab <schwab@suse.de>
1168 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1170 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1173 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1174 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1175 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1176 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1177 (__ASSUME_PREADV): Undefine.
1178 (__ASSUME_PWRITEV): Likewise.
1180 2014-03-18 Roland McGrath <roland@hack.frob.com>
1182 * bits/mman-linux.h: Add comment about non-Linux use.
1183 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1184 bits/mman-linux.h resting place.
1186 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1187 * bits/mman-linux.h: ... here.
1189 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1191 * conform/conformtest.pl: Add standard definition when calling C
1192 preprocessor on data files.
1193 (checknamespace): Remove unused variable.
1195 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1197 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1198 minus_oflow, plus_uflow and minus_uflow in expected results.
1199 * math/libm-test.inc (scalbn_test_data): Add more tests of
1200 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1202 (scalbn_test): Use ALL_RM_TEST.
1203 (scalbln_test_data): Add more tests of negative arguments. Use
1204 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1205 (scalbln_test): Use ALL_RM_TEST.
1207 2014-03-18 Roland McGrath <roland@hack.frob.com>
1209 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1211 2014-03-18 Will Newton <will.newton@linaro.org>
1213 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1216 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1218 * Makerules [!subdir] (check-abi): Exit with error status if a
1221 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1223 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1224 for rint. Include results for all rounding modes.
1225 (nearbyint_test): Use ALL_RM_TEST.
1226 (rint_test_data): Include all tests used for nearbyint.
1228 2014-03-17 Will Newton <will.newton@linaro.org>
1230 * nptl/sysdeps/pthread/pthread.h: Revert previous
1233 * sysdeps/generic/ldsodefs.h: Revert previous
1236 * libio/genops.c: Revert previous change.
1237 * libio/libioP.h: Likewise.
1238 * stdio-common/vfprintf.c: Likewise.
1240 * sysdeps/generic/math_private.h: Revert previous
1243 * sysdeps/generic/math_private.h: Check whether
1244 HAVE_RM_CTX is defined with #ifdef rather
1247 * argp/argp-fmtstream.h: Check whether
1248 __STRICT_ANSI__ is defined with #ifdef rather
1250 * argp/argp.h: Likewise.
1252 * libio/genops.c: Check whether
1253 _IO_JUMPS_OFFSET is defined with #ifdef rather
1255 * libio/libioP.h: Likewise.
1256 * stdio-common/vfprintf.c: Likewise.
1258 * sysdeps/generic/ldsodefs.h: Check whether
1259 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1262 * nptl/sysdeps/pthread/pthread.h: Check
1263 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1266 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1268 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1270 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1274 * libio/fileops.c (_IO_file_open): Seek to end of file but
1275 don't cache the offset.
1276 (get_file_offset): Remove function.
1277 (do_ftell): Use cached offset when available.
1278 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1279 don't cache the offset.
1280 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1282 (do_one_test): Call it.
1283 (do_ftell_test): Fix up expected old offset for a+ mode.
1284 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1287 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1288 up test status with function return status.
1289 (do_write_test): Likewise.
1290 (do_append_test): Likewise.
1292 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1293 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1296 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1298 * math/gen-libm-test.pl (parse_args): Handle results specified for
1299 each rounding mode separately.
1300 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1301 tests and results from lrint_tonearest_test_data,
1302 lrint_towardzero_test_data, lrint_downward_test_data and
1303 lrint_upward_test_data.
1304 (lrint_test): Use ALL_RM_TEST.
1305 (lrint_tonearest_test_data): Remove.
1306 (lrint_test_tonearest): Likewise.
1307 (lrint_towardzero_test_data): Likewise.
1308 (lrint_test_towardzero): Likewise.
1309 (lrint_downward_test_data): Likewise.
1310 (lrint_test_downward): Likewise.
1311 (lrint_upward_test_data): Likewise.
1312 (lrint_test_upward): Likewise.
1313 (llrint_test_data): Merge in per-rounding-mode tests and results
1314 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1315 llrint_downward_test_data and llrint_upward_test_data.
1316 (llrint_test): Use ALL_RM_TEST.
1317 (llrint_tonearest_test_data): Remove.
1318 (llrint_test_tonearest): Likewise.
1319 (llrint_towardzero_test_data): Likewise.
1320 (llrint_test_towardzero): Likewise.
1321 (llrint_downward_test_data): Likewise.
1322 (llrint_test_downward): Likewise.
1323 (llrint_upward_test_data): Likewise.
1324 (llrint_test_upward): Likewise.
1325 (rint_test_data): Merge in per-rounding-mode tests and results
1326 from rint_tonearest_test_data, rint_towardzero_test_data,
1327 rint_downward_test_data and rint_upward_test_data. Add
1328 per-rounding-mode results for tests not in those arrays.
1329 (rint_test): Use ALL_RM_TEST.
1330 (rint_tonearest_test_data): Remove.
1331 (rint_test_tonearest): Likewise.
1332 (rint_towardzero_test_data): Likewise.
1333 (rint_test_towardzero): Likewise.
1334 (rint_downward_test_data): Likewise.
1335 (rint_test_downward): Likewise.
1336 (rint_upward_test_data): Likewise.
1337 (rint_test_upward): Likewise.
1338 (main): Don't call removed functions.
1340 2014-03-14 Roland McGrath <roland@hack.frob.com>
1342 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1343 "Compiled on ..." crapola. It is anti-useful.
1345 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1347 * scripts/evaluate-test.sh: Handle fourth argument to determine
1348 whether test run should stop on failure.
1349 * Makeconfig (stop-on-test-failure): New variable.
1350 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1351 $(stop-on-test-failure).
1352 * Makefile (tests): Give a summary of results from testing and
1353 exit with failure status if they include an ERROR or FAIL.
1355 * manual/install.texi (Configuring and compiling): Mention
1356 stop-on-test-failure=y.
1357 * INSTALL: Regenerated.
1359 2014-03-14 Roland McGrath <roland@hack.frob.com>
1361 * scripts/versionlist.awk: New file.
1362 * Makerules [$(build-shared) = yes]
1363 (postclean-generated): Add Versions.def, not Versions.def.v and
1365 ($(common-objpfx)Versions.def.v.i): Target removed.
1366 ($(common-objpfx)Versions.def): New target.
1367 ($(common-objpfx)Versions.all): Depend on that rather that
1368 $(common-objpfx)Versions.def.v.
1369 * Versions.def: File removed.
1371 * Makeconfig (+gccwarn): Add -Wundef.
1372 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1373 a dl-sysdep.h breaking its contract.
1374 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1375 * include/stackinfo.h: New file.
1376 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1377 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1378 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1379 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1380 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1381 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1382 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1383 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1384 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1385 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1386 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1387 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1388 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1389 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1390 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1392 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1395 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1397 * math/libm-test.inc (round_test_data): Add more tests.
1399 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1402 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1404 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1406 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1409 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1411 * math/libm-test.inc (ceil_test_data): Add more tests.
1413 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1415 * math/libm-test.inc (trunc_test_data): Add more tests related to
1418 2014-03-14 Roland McGrath <roland@hack.frob.com>
1420 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1421 with #if rather than #ifdef.
1422 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1424 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1426 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1427 first. Disable AVX-512 GCC support if assembler doesn't support
1429 * sysdeps/x86_64/configure: Regenerated.
1431 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1433 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1434 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1435 (__old_pthread_attr_setstack): Likewise.
1436 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1437 [!_STACK_GROWS_DOWN]: Likewise.
1439 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1441 * config.make.in (have-bash2): Delete.
1442 * configure.ac (libc_cv_have_bash2): Delete.
1443 * configure: Regenerate.
1444 * elf/Makefile (common-ldd-rewrite): Rename to ...
1445 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1446 (sh-ldd-rewrite): Delete.
1447 (bash-ldd-rewrite): Delete.
1448 (have-bash2): Delete checks.
1449 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1451 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1453 * config.make.in (have-ksh): Delete.
1455 * configure.ac (libc_cv_have_ksh): Delete.
1456 * configure: Regenerate.
1458 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1460 * elf/Makefile: Delete $(have-ksh) check.
1461 ($(objpfx)sotruss): Change KSH to BASH.
1462 * elf/sotruss.ksh: Rename to ...
1463 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1464 function style to match POSIX. Drop ksh vim mode setting.
1466 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1468 * manual/time.texi (Specifying the Time Zone with TZ): Change
1469 Tuesday to Thursday.
1471 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1473 * debug/tst-longjmp_chk2.c: Update header comment.
1474 (stackoverflow_handler): Add comment. Call assert on pass value.
1476 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1478 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1479 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1480 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1481 (La_x86_64_vector): Add zmm.
1482 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1483 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1484 ($(objpfx)tst-audit10): New target.
1485 ($(objpfx)tst-audit10.out): Likewise.
1486 (tst-audit10-ENV): New.
1487 (AVX512-CFLAGS): Likewise.
1488 (CFLAGS-tst-audit10.c): Likewise.
1489 (CFLAGS-tst-auditmod10a.c): Likewise.
1490 (CFLAGS-tst-auditmod10b.c): Likewise.
1491 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1492 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1493 * sysdeps/x86_64/configure: Regenerated.
1494 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1495 AVX-512 zmm register support.
1496 (_dl_x86_64_save_sse): Likewise.
1497 (_dl_x86_64_restore_sse): Likewise.
1498 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1499 size vector registers.
1500 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1501 (ZMM_SIZE): Likewise.
1502 * sysdeps/x86_64/tst-audit10.c: New file.
1503 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1504 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1506 2014-03-13 Roland McGrath <roland@hack.frob.com>
1508 * configure.ac (HAVE_EHDR_START): New check.
1509 * configure: Regenerated.
1510 * config.h.in (HAVE_EHDR_START): New #undef.
1511 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1512 assuming the lowest-addressed segment maps the start of the file.
1514 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1516 * INSTALL: Regenerated.
1518 2014-03-13 Will Newton <will.newton@linaro.org>
1520 * manual/setjmp.texi (System V contexts): Improve
1521 clarity and grammar of documentation.
1523 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1526 * elf/Makefile (tests): Add tst-pie2.
1527 (tests-pie): Add tst-pie2.
1528 * elf/tst-pie2.c: New file.
1529 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1531 * elf/rtld.c (map_doit): Load executable as lt_executable.
1532 (dl_main): Likewise.
1534 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1537 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1538 (__ASSUME_PSELECT): Undefine.
1540 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1543 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1544 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1546 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1547 selector for static builds.
1549 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1552 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1555 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1557 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1558 selector for static builds.
1560 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1562 * sysdeps/mips/math_private.h [__mips_hard_float]
1563 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1564 libc_feresetround_mips_ctx.
1565 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1566 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1567 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1570 * math/s_nextafter.c (__nextafter): Do not return value from
1571 overflowing computation.
1572 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1573 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1574 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1576 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1578 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1579 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1581 2014-03-11 Roland McGrath <roland@hack.frob.com>
1583 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1584 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1585 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1586 the new mov targetting sp.
1588 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1591 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1592 Define it for static builds as well.
1593 (NO_BZERO_IMPL): Likewise.
1595 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1597 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1598 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1599 multiarch strspn for PPC64.
1600 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1601 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1603 (__libc_ifunc_impl_list): Likewise.
1604 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1605 multiarch optimizations
1606 * string/strspn.c (strspn): Using macro to redefine symbol name.
1608 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1609 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1611 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1612 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1613 multiarch strncat for PPC64.
1614 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1615 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1617 (__libc_ifunc_impl_list): Likewise.
1618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1619 multiarch optimizations
1621 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1624 * nscd/nscd.service: Make service type forking.
1626 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1628 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1629 sign in non default rounding modes.
1630 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1632 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1634 * math/libm-test.inc (ALL_RM_TEST): New macro.
1635 (ceil_test): Use ALL_RM_TEST.
1636 (cimag_test): Likewise.
1637 (conj_test): Likewise.
1638 (copysign_test): Likewise.
1639 (cproj_test): Likewise.
1640 (creal_test): Likewise.
1641 (fabs_test): Likewise.
1642 (floor_test): Likewise.
1643 (fmax_test): Likewise.
1644 (fmin_test): Likewise.
1645 (fmod_test): Likewise.
1646 (fpclassify_test): Likewise.
1647 (frexp_test): Likewise.
1648 (ilogb_test): Likewise.
1649 (isfinite_test): Likewise.
1650 (finite_test): Likewise.
1651 (isgreater_test): Likewise.
1652 (isgreaterequal_test): Likewise.
1653 (isinf_test): Likewise.
1654 (isless_test): Likewise.
1655 (islessequal_test): Likewise.
1656 (islessgreater_test): Likewise.
1657 (isnan_test): Likewise.
1658 (isnormal_test): Likewise.
1659 (issignaling_test): Likewise.
1660 (isunordered_test): Likewise.
1661 (logb_test): Likewise.
1662 (logb_downward_test_data): Remove.
1663 (logb_test_downward): Likewise.
1664 (lround_test): Use ALL_RM_TEST.
1665 (llround_test): Likewise.
1666 (modf_test): Likewise.
1667 (nexttoward_test): Likewise.
1668 (remainder_test): Likewise.
1669 (drem_test): Likewise.
1670 (remainder_tonearest_test_data): Likewise.
1671 (remainder_test_tonearest): Likewise.
1672 (drem_test_tonearest): Likewise.
1673 (remainder_towardzero_test_data): Likewise.
1674 (remainder_test_towardzero): Likewise.
1675 (drem_test_towardzero): Likewise.
1676 (remainder_downward_test_data): Likewise.
1677 (remainder_test_downward): Likewise.
1678 (drem_test_downward): Likewise.
1679 (remainder_upward_test_data): Likewise.
1680 (remainder_test_upward): Likewise.
1681 (drem_test_upward): Likewise.
1682 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1683 (round_test): Use ALL_RM_TEST.
1684 (signbit_test): Likewise.
1685 (trunc_test): Likewise.
1686 (significand_test): Likewise.
1687 (main): Don't call removed functions.
1689 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1692 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1694 (ILL_ILLOPN): Likewise.
1695 (ILL_ILLADR): Likewise.
1696 (ILL_ILLTRP): Likewise.
1697 (ILL_PRVOPC): Likewise.
1698 (ILL_PRVREG): Likewise.
1699 (ILL_COPROC): Likewise.
1700 (ILL_BADSTK): Likewise.
1701 (FPE_INTDIV): Likewise.
1702 (FPE_INTOVF): Likewise.
1703 (FPE_FLTDIV): Likewise.
1704 (FPE_FLTOVF): Likewise.
1705 (FPE_FLTUND): Likewise.
1706 (FPE_FLTRES): Likewise.
1707 (FPE_FLTINV): Likewise.
1708 (FPE_FLTSUB): Likewise.
1709 (SEGV_MAPERR): Likewise.
1710 (SEGV_ACCERR): Likewise.
1711 (BUS_ADRALN): Likewise.
1712 (BUS_ADRERR): Likewise.
1713 (BUS_OBJERR): Likewise.
1714 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1715 (TRAP_TRACE): Likewise.
1716 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1718 (CLD_KILLED): Likewise.
1719 (CLD_DUMPED): Likewise.
1720 (CLD_TRAPPED): Likewise.
1721 (CLD_STOPPED): Likewise.
1722 (CLD_CONTINUED): Likewise.
1723 (POLL_IN): Likewise.
1724 (POLL_OUT): Likewise.
1725 (POLL_MSG): Likewise.
1726 (POLL_ERR): Likewise.
1727 (POLL_PRI): Likewise.
1728 (POLL_HUP): Likewise.
1729 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1731 (ILL_ILLOPN): Likewise.
1732 (ILL_ILLADR): Likewise.
1733 (ILL_ILLTRP): Likewise.
1734 (ILL_PRVOPC): Likewise.
1735 (ILL_PRVREG): Likewise.
1736 (ILL_COPROC): Likewise.
1737 (ILL_BADSTK): Likewise.
1738 (FPE_INTDIV): Likewise.
1739 (FPE_INTOVF): Likewise.
1740 (FPE_FLTDIV): Likewise.
1741 (FPE_FLTOVF): Likewise.
1742 (FPE_FLTUND): Likewise.
1743 (FPE_FLTRES): Likewise.
1744 (FPE_FLTINV): Likewise.
1745 (FPE_FLTSUB): Likewise.
1746 (SEGV_MAPERR): Likewise.
1747 (SEGV_ACCERR): Likewise.
1748 (BUS_ADRALN): Likewise.
1749 (BUS_ADRERR): Likewise.
1750 (BUS_OBJERR): Likewise.
1751 (BUS_MCEERR_AR): Likewise.
1752 (BUS_MCEERR_AO): Likewise.
1753 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1754 (TRAP_TRACE): Likewise.
1755 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1757 (CLD_KILLED): Likewise.
1758 (CLD_DUMPED): Likewise.
1759 (CLD_TRAPPED): Likewise.
1760 (CLD_STOPPED): Likewise.
1761 (CLD_CONTINUED): Likewise.
1762 (POLL_IN): Likewise.
1763 (POLL_OUT): Likewise.
1764 (POLL_MSG): Likewise.
1765 (POLL_ERR): Likewise.
1766 (POLL_PRI): Likewise.
1767 (POLL_HUP): Likewise.
1768 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1769 (ILL_ILLOPN): Likewise.
1770 (ILL_ILLADR): Likewise.
1771 (ILL_ILLTRP): Likewise.
1772 (ILL_PRVOPC): Likewise.
1773 (ILL_PRVREG): Likewise.
1774 (ILL_COPROC): Likewise.
1775 (ILL_BADSTK): Likewise.
1776 (FPE_INTDIV): Likewise.
1777 (FPE_INTOVF): Likewise.
1778 (FPE_FLTDIV): Likewise.
1779 (FPE_FLTOVF): Likewise.
1780 (FPE_FLTUND): Likewise.
1781 (FPE_FLTRES): Likewise.
1782 (FPE_FLTINV): Likewise.
1783 (FPE_FLTSUB): Likewise.
1784 (SEGV_MAPERR): Likewise.
1785 (SEGV_ACCERR): Likewise.
1786 (BUS_ADRALN): Likewise.
1787 (BUS_ADRERR): Likewise.
1788 (BUS_OBJERR): Likewise.
1789 (BUS_MCEERR_AR): Likewise.
1790 (BUS_MCEERR_AO): Likewise.
1791 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1792 (TRAP_TRACE): Likewise.
1793 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1795 (CLD_KILLED): Likewise.
1796 (CLD_DUMPED): Likewise.
1797 (CLD_TRAPPED): Likewise.
1798 (CLD_STOPPED): Likewise.
1799 (CLD_CONTINUED): Likewise.
1800 (POLL_IN): Likewise.
1801 (POLL_OUT): Likewise.
1802 (POLL_MSG): Likewise.
1803 (POLL_ERR): Likewise.
1804 (POLL_PRI): Likewise.
1805 (POLL_HUP): Likewise.
1806 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1808 (ILL_ILLOPN): Likewise.
1809 (ILL_ILLADR): Likewise.
1810 (ILL_ILLTRP): Likewise.
1811 (ILL_PRVOPC): Likewise.
1812 (ILL_PRVREG): Likewise.
1813 (ILL_COPROC): Likewise.
1814 (ILL_BADSTK): Likewise.
1815 (ILL_BADIADDR): Likewise.
1816 (ILL_BREAK): Likewise.
1817 (FPE_INTDIV): Likewise.
1818 (FPE_INTOVF): Likewise.
1819 (FPE_FLTDIV): Likewise.
1820 (FPE_FLTOVF): Likewise.
1821 (FPE_FLTUND): Likewise.
1822 (FPE_FLTRES): Likewise.
1823 (FPE_FLTINV): Likewise.
1824 (FPE_FLTSUB): Likewise.
1825 (FPE_DECOVF): Likewise.
1826 (FPE_DECDIV): Likewise.
1827 (FPE_DECERR): Likewise.
1828 (FPE_INVASC): Likewise.
1829 (FPE_INVDEC): Likewise.
1830 (SEGV_MAPERR): Likewise.
1831 (SEGV_ACCERR): Likewise.
1832 (SEGV_PSTKOVF): Likewise.
1833 (BUS_ADRALN): Likewise.
1834 (BUS_ADRERR): Likewise.
1835 (BUS_OBJERR): Likewise.
1836 (BUS_MCEERR_AR): Likewise.
1837 (BUS_MCEERR_AO): Likewise.
1838 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1839 (TRAP_TRACE): Likewise.
1840 (TRAP_BRANCH): Likewise.
1841 (TRAP_HWBKPT): Likewise.
1842 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1844 (CLD_KILLED): Likewise.
1845 (CLD_DUMPED): Likewise.
1846 (CLD_TRAPPED): Likewise.
1847 (CLD_STOPPED): Likewise.
1848 (CLD_CONTINUED): Likewise.
1849 (POLL_IN): Likewise.
1850 (POLL_OUT): Likewise.
1851 (POLL_MSG): Likewise.
1852 (POLL_ERR): Likewise.
1853 (POLL_PRI): Likewise.
1854 (POLL_HUP): Likewise.
1855 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1856 (ILL_ILLOPN): Likewise.
1857 (ILL_ILLADR): Likewise.
1858 (ILL_ILLTRP): Likewise.
1859 (ILL_PRVOPC): Likewise.
1860 (ILL_PRVREG): Likewise.
1861 (ILL_COPROC): Likewise.
1862 (ILL_BADSTK): Likewise.
1863 (FPE_INTDIV): Likewise.
1864 (FPE_INTOVF): Likewise.
1865 (FPE_FLTDIV): Likewise.
1866 (FPE_FLTOVF): Likewise.
1867 (FPE_FLTUND): Likewise.
1868 (FPE_FLTRES): Likewise.
1869 (FPE_FLTINV): Likewise.
1870 (FPE_FLTSUB): Likewise.
1871 (SEGV_MAPERR): Likewise.
1872 (SEGV_ACCERR): Likewise.
1873 (BUS_ADRALN): Likewise.
1874 (BUS_ADRERR): Likewise.
1875 (BUS_OBJERR): Likewise.
1876 (BUS_MCEERR_AR): Likewise.
1877 (BUS_MCEERR_AO): Likewise.
1878 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1879 (TRAP_TRACE): Likewise.
1880 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1882 (CLD_KILLED): Likewise.
1883 (CLD_DUMPED): Likewise.
1884 (CLD_TRAPPED): Likewise.
1885 (CLD_STOPPED): Likewise.
1886 (CLD_CONTINUED): Likewise.
1887 (POLL_IN): Likewise.
1888 (POLL_OUT): Likewise.
1889 (POLL_MSG): Likewise.
1890 (POLL_ERR): Likewise.
1891 (POLL_PRI): Likewise.
1892 (POLL_HUP): Likewise.
1893 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1894 (ILL_ILLOPN): Likewise.
1895 (ILL_ILLADR): Likewise.
1896 (ILL_ILLTRP): Likewise.
1897 (ILL_PRVOPC): Likewise.
1898 (ILL_PRVREG): Likewise.
1899 (ILL_COPROC): Likewise.
1900 (ILL_BADSTK): Likewise.
1901 (FPE_INTDIV): Likewise.
1902 (FPE_INTOVF): Likewise.
1903 (FPE_FLTDIV): Likewise.
1904 (FPE_FLTOVF): Likewise.
1905 (FPE_FLTUND): Likewise.
1906 (FPE_FLTRES): Likewise.
1907 (FPE_FLTINV): Likewise.
1908 (FPE_FLTSUB): Likewise.
1909 (SEGV_MAPERR): Likewise.
1910 (SEGV_ACCERR): Likewise.
1911 (BUS_ADRALN): Likewise.
1912 (BUS_ADRERR): Likewise.
1913 (BUS_OBJERR): Likewise.
1914 (BUS_MCEERR_AR): Likewise.
1915 (BUS_MCEERR_AO): Likewise.
1916 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1917 (TRAP_TRACE): Likewise.
1918 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1920 (CLD_KILLED): Likewise.
1921 (CLD_DUMPED): Likewise.
1922 (CLD_TRAPPED): Likewise.
1923 (CLD_STOPPED): Likewise.
1924 (CLD_CONTINUED): Likewise.
1925 (POLL_IN): Likewise.
1926 (POLL_OUT): Likewise.
1927 (POLL_MSG): Likewise.
1928 (POLL_ERR): Likewise.
1929 (POLL_PRI): Likewise.
1930 (POLL_HUP): Likewise.
1931 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1932 (ILL_ILLOPN): Likewise.
1933 (ILL_ILLADR): Likewise.
1934 (ILL_ILLTRP): Likewise.
1935 (ILL_PRVOPC): Likewise.
1936 (ILL_PRVREG): Likewise.
1937 (ILL_COPROC): Likewise.
1938 (ILL_BADSTK): Likewise.
1939 (FPE_INTDIV): Likewise.
1940 (FPE_INTOVF): Likewise.
1941 (FPE_FLTDIV): Likewise.
1942 (FPE_FLTOVF): Likewise.
1943 (FPE_FLTUND): Likewise.
1944 (FPE_FLTRES): Likewise.
1945 (FPE_FLTINV): Likewise.
1946 (FPE_FLTSUB): Likewise.
1947 (SEGV_MAPERR): Likewise.
1948 (SEGV_ACCERR): Likewise.
1949 (BUS_ADRALN): Likewise.
1950 (BUS_ADRERR): Likewise.
1951 (BUS_OBJERR): Likewise.
1952 (BUS_MCEERR_AR): Likewise.
1953 (BUS_MCEERR_AO): Likewise.
1954 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1955 (TRAP_TRACE): Likewise.
1956 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1958 (CLD_KILLED): Likewise.
1959 (CLD_DUMPED): Likewise.
1960 (CLD_TRAPPED): Likewise.
1961 (CLD_STOPPED): Likewise.
1962 (CLD_CONTINUED): Likewise.
1963 (POLL_IN): Likewise.
1964 (POLL_OUT): Likewise.
1965 (POLL_MSG): Likewise.
1966 (POLL_ERR): Likewise.
1967 (POLL_PRI): Likewise.
1968 (POLL_HUP): Likewise.
1969 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1970 (ILL_ILLOPN): Likewise.
1971 (ILL_ILLADR): Likewise.
1972 (ILL_ILLTRP): Likewise.
1973 (ILL_PRVOPC): Likewise.
1974 (ILL_PRVREG): Likewise.
1975 (ILL_COPROC): Likewise.
1976 (ILL_BADSTK): Likewise.
1977 (ILL_DBLFLT): Likewise.
1978 (ILL_HARDWALL): Likewise.
1979 (FPE_INTDIV): Likewise.
1980 (FPE_INTOVF): Likewise.
1981 (FPE_FLTDIV): Likewise.
1982 (FPE_FLTOVF): Likewise.
1983 (FPE_FLTUND): Likewise.
1984 (FPE_FLTRES): Likewise.
1985 (FPE_FLTINV): Likewise.
1986 (FPE_FLTSUB): Likewise.
1987 (SEGV_MAPERR): Likewise.
1988 (SEGV_ACCERR): Likewise.
1989 (BUS_ADRALN): Likewise.
1990 (BUS_ADRERR): Likewise.
1991 (BUS_OBJERR): Likewise.
1992 (BUS_MCEERR_AR): Likewise.
1993 (BUS_MCEERR_AO): Likewise.
1994 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1995 (TRAP_TRACE): Likewise.
1996 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1998 (CLD_KILLED): Likewise.
1999 (CLD_DUMPED): Likewise.
2000 (CLD_TRAPPED): Likewise.
2001 (CLD_STOPPED): Likewise.
2002 (CLD_CONTINUED): Likewise.
2003 (POLL_IN): Likewise.
2004 (POLL_OUT): Likewise.
2005 (POLL_MSG): Likewise.
2006 (POLL_ERR): Likewise.
2007 (POLL_PRI): Likewise.
2008 (POLL_HUP): Likewise.
2009 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2010 (ILL_ILLOPN): Likewise.
2011 (ILL_ILLADR): Likewise.
2012 (ILL_ILLTRP): Likewise.
2013 (ILL_PRVOPC): Likewise.
2014 (ILL_PRVREG): Likewise.
2015 (ILL_COPROC): Likewise.
2016 (ILL_BADSTK): Likewise.
2017 (FPE_INTDIV): Likewise.
2018 (FPE_INTOVF): Likewise.
2019 (FPE_FLTDIV): Likewise.
2020 (FPE_FLTOVF): Likewise.
2021 (FPE_FLTUND): Likewise.
2022 (FPE_FLTRES): Likewise.
2023 (FPE_FLTINV): Likewise.
2024 (FPE_FLTSUB): Likewise.
2025 (SEGV_MAPERR): Likewise.
2026 (SEGV_ACCERR): Likewise.
2027 (BUS_ADRALN): Likewise.
2028 (BUS_ADRERR): Likewise.
2029 (BUS_OBJERR): Likewise.
2030 (BUS_MCEERR_AR): Likewise.
2031 (BUS_MCEERR_AO): Likewise.
2032 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2033 (TRAP_TRACE): Likewise.
2034 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2036 (CLD_KILLED): Likewise.
2037 (CLD_DUMPED): Likewise.
2038 (CLD_TRAPPED): Likewise.
2039 (CLD_STOPPED): Likewise.
2040 (CLD_CONTINUED): Likewise.
2041 (POLL_IN): Likewise.
2042 (POLL_OUT): Likewise.
2043 (POLL_MSG): Likewise.
2044 (POLL_ERR): Likewise.
2045 (POLL_PRI): Likewise.
2046 (POLL_HUP): Likewise.
2047 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2048 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2051 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2052 before #include of <time.h>.
2053 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2054 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2055 (test-xfail-UNIX98/sched.h/conform): Likewise.
2057 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2059 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2060 error absence of trapping exception support.
2061 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2063 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2065 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2066 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2067 * timezone/Makefile (testdata): Move definition above include of
2069 (test-zones): New variable.
2070 (tests-special): Add zone files.
2071 (build-testdata): Use $(evaluate-test).
2073 * elf/Makefile (tests-special): Rename tests to end with .out.
2074 ($(objpfx)noload-mem): Likewise.
2075 ($(objpfx)tst-leaks1-mem): Likewise.
2076 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2077 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2078 $(objpfx)test-iconvconfig.out.
2079 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2080 set -e inside subshell and redirect output to file.
2081 * iconvdata/Makefile (generated): Rename tests to end with .out.
2083 (tests-special): Rename tests to end with .out.
2084 ($(objpfx)mtrace-tst-loading): Likewise.
2085 * intl/Makefile (generated): Likewise.
2086 (tests-special): Likewise.
2087 ($(objpfx)mtrace-tst-gettext): Likewise.
2088 * misc/Makefile (generated): Likewise.
2089 (tests-special): Likewise.
2090 ($(objpfx)tst-error1-mem): Likewise.
2091 * nptl/Makefile (tests-special): Likewise.
2092 ($(objpfx)tst-stack3-mem): Likewise.
2093 (generated): Likewise.
2094 * posix/Makefile (generated): Likewise.
2095 (tests-special): Likewise.
2096 (xtests-special): Likewise.
2097 ($(objpfx)tst-fnmatch-mem): Likewise.
2098 ($(objpfx)bug-regex2-mem): Likewise.
2099 ($(objpfx)bug-regex14-mem): Likewise.
2100 ($(objpfx)bug-regex21-mem): Likewise.
2101 ($(objpfx)bug-regex31-mem): Likewise.
2102 ($(objpfx)tst-vfork3-mem): Likewise.
2103 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2104 ($(objpfx)tst-pcre-mem): Likewise.
2105 ($(objpfx)tst-boost-mem): Likewise.
2106 ($(objpfx)bug-ga2-mem): Likewise.
2107 ($(objpfx)bug-glob2-mem): Likewise.
2108 * resolv/Makefile (generate): Likewise.
2109 (tests-special): Likewise.
2110 (xtests-special): Likewise.
2111 (generated): Likewise.
2112 ($(objpfx)mtrace-tst-leaks): Likewise.
2113 ($(objpfx)mtrace-tst-leaks2): Likewise.
2115 * scripts/merge-test-results.sh: New file.
2116 * Makefile (tests-special-notdir): New variable.
2117 (tests): Run merge-test-results.sh.
2119 * Rules (tests-special-notdir): New variable.
2120 (xtests-special-notdir): Likewise.
2121 (tests): Run merge-test-results.sh
2124 * Makeconfig (test-xfail-name): New variable.
2125 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2126 compute variable name for expected failures.
2127 * conform/Makefile (conformtest-headers-data): New variable.
2128 (conformtest-standards): Likewise.
2129 (conformtest-headers-ISO): Likewise.
2130 (conformtest-headers-ISO99): Likewise.
2131 (conformtest-headers-ISO11): Likewise.
2132 (conformtest-headers-POSIX): Likewise.
2133 (conformtest-headers-XPG3): Likewise.
2134 (conformtest-headers-XPG4): Likewise.
2135 (conformtest-headers-UNIX98): Likewise.
2136 (conformtest-headers-XOPEN2K): Likewise.
2137 (conformtest-headers-POSIX2008): Likewise.
2138 (conformtest-headers-XOPEN2K8): Likewise.
2139 (conformtest-header-list-base): Likewise.
2140 (conformtest-header-list-tests): Likewise.
2141 (conformtest-header-base): Likewise.
2142 (conformtest-header-tests): Likewise.
2143 (tests-special): Add $(conformtest-header-list-tests). If
2144 [$(fast-check) && !$(cross-compiling)], add
2145 $(conformtest-header-tests) instead of
2146 $(objpfx)run-conformtest.out.
2147 (generated): Add $(conformtest-header-list-base). If
2148 [$(fast-check) && !$(cross-compiling)], add
2149 $(conformtest-header-base). Remove previous setting.
2150 ($(conformtest-header-list-tests)): New target.
2151 (test-xfail-run-conformtest): Remove variable.
2152 ($(objpfx)run-conformtest.out): Remove target.
2153 (test-xfail-ISO11/complex.h/conform): New variable.
2154 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2155 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2156 (test-xfail-XPG3/varargs.h/conform): Likewise.
2157 (test-xfail-XPG4/varargs.h/conform): Likewise.
2158 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2159 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2160 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2161 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2162 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2163 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2164 (test-xfail-XPG3/ftw.h/conform): Likewise.
2165 (test-xfail-XPG3/grp.h/conform): Likewise.
2166 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2167 (test-xfail-XPG3/limits.h/conform): Likewise.
2168 (test-xfail-XPG3/pwd.h/conform): Likewise.
2169 (test-xfail-XPG3/search.h/conform): Likewise.
2170 (test-xfail-XPG3/signal.h/conform): Likewise.
2171 (test-xfail-XPG3/stdio.h/conform): Likewise.
2172 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2173 (test-xfail-XPG3/string.h/conform): Likewise.
2174 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2175 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2176 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2177 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2178 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2179 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2180 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2181 (test-xfail-XPG3/termios.h/conform): Likewise.
2182 (test-xfail-XPG3/time.h/conform): Likewise.
2183 (test-xfail-XPG3/unistd.h/conform): Likewise.
2184 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2185 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2186 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2187 (test-xfail-XPG4/netdb.h/conform): Likewise.
2188 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2189 (test-xfail-XPG4/signal.h/conform): Likewise.
2190 (test-xfail-XPG4/stdio.h/conform): Likewise.
2191 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2192 (test-xfail-XPG4/stropts.h/conform): Likewise.
2193 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2194 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2195 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2196 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2197 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2198 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2199 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2200 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2201 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2202 (test-xfail-XPG4/termios.h/conform): Likewise.
2203 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2204 (test-xfail-XPG4/unistd.h/conform): Likewise.
2205 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2206 (test-xfail-POSIX/sched.h/conform): Likewise.
2207 (test-xfail-POSIX/signal.h/conform): Likewise.
2208 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2209 (test-xfail-POSIX/tar.h/conform): Likewise.
2210 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2211 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2212 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2213 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2214 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2215 (test-xfail-UNIX98/sched.h/conform): Likewise.
2216 (test-xfail-UNIX98/signal.h/conform): Likewise.
2217 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2218 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2219 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2220 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2221 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2222 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2223 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2224 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2225 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2226 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2227 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2228 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2229 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2230 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2231 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2232 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2233 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2234 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2235 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2236 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2237 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2238 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2239 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2240 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2241 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2242 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2243 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2244 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2245 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2246 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2247 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2248 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2249 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2250 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2251 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2252 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2253 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2254 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2255 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2256 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2257 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2258 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2259 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2260 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2261 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2262 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2263 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2264 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2265 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2266 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2267 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2268 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2269 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2270 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2271 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2272 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2273 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2274 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2275 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2276 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2277 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2278 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2279 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2280 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2281 (conformtest-cc-flags): Likewise.
2282 ($(conformtest-header-tests): New target.
2283 * conform/check-header-lists.sh: New file.
2284 * conform/run-conformtest.sh: Remove.
2286 * conform/conformtest.pl: Allow ' and \ in values given for
2288 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2290 [POSIX] (sys/types.h): Likewise.
2291 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2293 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2295 * conform/data/signal.h-data (SIGIO): Remove expectation.
2296 [XPG3] (SIGBUS): Do not expect.
2297 [POSIX || XPG3] (SIGPOLL): Likewise.
2298 [POSIX || XPG3] (SIGPROF): Likewise.
2299 [POSIX || XPG3] (SIGSYS): Likewise.
2300 [XPG3] (SIGTRAP): Likewise.
2301 [POSIX || XPG3] (SIGURG): Likewise.
2302 [POSIX || XPG3] (SIGVTALRM): Likewise.
2303 [POSIX || XPG3] (SIGXCPU): Likewise.
2304 [POSIX || XPG3] (SIGXFSZ): Likewise.
2305 [POSIX] (SA_SIGINFO): Expect.
2306 [XPG3] (siginfo_t): Do not expect type or contents.
2307 [POSIX] (si_pid): Do not expect element.
2308 [POSIX] (si_uid): Likewise.
2309 [POSIX] (si_addr): Likewise.
2310 [POSIX] (si_status): Likewise.
2311 [POSIX] (si_band): Likewise.
2312 [XPG4] (si_value): Likewise.
2313 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2314 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2315 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2316 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2317 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2318 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2319 [POSIX || XPG3] (ILL_COPROC): Likewise.
2320 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2321 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2322 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2323 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2324 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2325 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2326 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2327 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2328 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2329 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2330 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2331 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2332 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2333 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2334 [POSIX || XPG3] (CLD_EXITED): Likewise.
2335 [POSIX || XPG3] (CLD_KILLED): Likewise.
2336 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2337 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2338 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2339 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2340 [POSIX || XPG3] (POLL_IN): Likewise.
2341 [POSIX || XPG3] (POLL_OUT): Likewise.
2342 [POSIX || XPG3] (POLL_MSG): Likewise.
2343 [POSIX || XPG3] (POLL_ERR): Likewise.
2344 [POSIX || XPG3] (POLL_PRI): Likewise.
2345 [POSIX || XPG3] (POLL_HUP): Likewise.
2346 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2347 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2348 (SIG*): Do not allow.
2349 [XPG3] (si_*): Likewise.
2350 [XPG3] (SI_*): Likewise.
2351 [XPG3 || XPG4] (sigev_*): Likewise.
2352 [XPG3 || XPG4] (SIGEV_*): Likewise.
2353 [XPG3 || XPG4] (sival_*): Likewise.
2354 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2355 [POSIX || XPG3] (BUS_*): Likewise.
2356 [POSIX || XPG3] (CLD_*): Likewise.
2357 [POSIX || XPG3] (FPE_*): Likewise.
2358 [POSIX || XPG3] (ILL_*): Likewise.
2359 [POSIX || XPG3] (POLL_*): Likewise.
2360 [POSIX || XPG3] (SEGV_*): Likewise.
2361 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2362 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2363 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2364 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2365 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2366 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2367 Specify type and value.
2368 (TVERSLEN): Likewise.
2369 (REGTYPE): Likewise.
2370 (AREGTYPE): Likewise.
2371 (LNKTYPE): Likewise.
2372 (SYMTYPE): Likewise.
2373 (CHRTYPE): Likewise.
2374 (BLKTYPE): Likewise.
2375 (DIRTYPE): Likewise.
2376 (FIFOTYPE): Likewise.
2377 (CONTTYPE): Likewise.
2382 (TUWRITE): Likewise.
2385 (TGWRITE): Likewise.
2388 (TOWRITE): Likewise.
2390 [POSIX] (TSVTX): Expect constant.
2392 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2394 * Makefile (tests): Change dependencies to ....
2395 (tests-special): ... additions to this variable.
2396 (tests): Depend on $(tests-special).
2397 * Makerules (check-abi-list): New variable.
2398 (check-abi): Depend on $(check-abi-list).
2399 [$(subdir) = elf] (tests-special): Add
2400 $(objpfx)check-abi-libc.out.
2401 [$(build-shared) = yes && subdir] (tests-special): Add
2403 [$(build-shared) = yes && subdir] (tests): Do not depend on
2405 * Rules (tests): Depend on $(tests-special).
2406 (xtests): Depend on $(xtests-special).
2407 * catgets/Makefile (tests): Change dependencies to ....
2408 (tests-special): ... additions to this variable.
2409 * conform/Makefile (tests): Change dependencies to ....
2410 (tests-special): ... additions to this variable.
2411 * elf/Makefile (tests): Change dependencies to ....
2412 (tests-special): ... additions to this variable.
2413 * grp/Makefile (tests): Change dependencies to ....
2414 (tests-special): ... additions to this variable.
2415 * iconv/Makefile (xtests): Change dependencies to ....
2416 (xtests-special): ... additions to this variable.
2417 * iconvdata/Makefile (tests): Change dependencies to ....
2418 (tests-special): ... additions to this variable.
2419 * intl/Makefile (tests): Change dependencies to ....
2420 (tests-special): ... additions to this variable. Also add
2421 $(objpfx)tst-gettext.out.
2422 * io/Makefile (tests): Change dependencies to ....
2423 (tests-special): ... additions to this variable.
2424 * libio/Makefile (tests): Change dependencies to ....
2425 (tests-special): ... additions to this variable.
2426 * malloc/Makefile (tests): Change dependencies to ....
2427 (tests-special): ... additions to this variable.
2428 * misc/Makefile (tests): Change dependencies to ....
2429 (tests-special): ... additions to this variable.
2430 * nptl/Makefile (tests): Change dependencies to ....
2431 (tests-special): ... additions to this variable.
2432 * nptl_db/Makefile (tests): Change dependencies to ....
2433 (tests-special): ... additions to this variable.
2434 * posix/Makefile (tests): Change dependencies to ....
2435 (tests-special): ... additions to this variable.
2436 (xtests): Change dependencies to ....
2437 (xtests-special): ... additions to this variable.
2438 * resolv/Makefile (tests): Change dependencies to ....
2439 (tests-special): ... additions to this variable.
2440 (xtests): Change dependencies to ....
2441 (xtests-special): ... additions to this variable.
2442 * stdio-common/Makefile (tests): Change dependencies to ....
2443 (tests-special): ... additions to this variable.
2444 (do-tst-unbputc): Remove target.
2445 (do-tst-printf): Likewise.
2446 * stdlib/Makefile (tests): Change dependencies to ....
2447 (tests-special): ... additions to this variable.
2448 * string/Makefile (tests): Change dependencies to ....
2449 (tests-special): ... additions to this variable.
2450 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2451 (tests-special): ... additions to this variable.
2453 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2455 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2457 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2458 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2460 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2461 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2462 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2463 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2464 * conform/data/libgen.h-data [XPG3]: Likewise.
2465 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2466 * conform/data/ndbm.h-data [XPG3]: Likewise.
2467 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2468 * conform/data/netdb.h-data [XPG3]: Likewise.
2469 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2470 * conform/data/poll.h-data [XPG3]: Likewise.
2471 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2472 * conform/data/strings.h-data [XPG3]: Likewise.
2473 * conform/data/stropts.h-data [XPG3]: Likewise.
2474 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2475 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2476 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2478 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2479 * conform/data/sys/time.h-data [XPG3]: Likewise.
2480 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2481 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2482 * conform/data/sys/un.h-data [XPG3]: Likewise.
2483 * conform/data/syslog.h-data [XPG3]: Likewise.
2484 * conform/data/ucontext.h-data [XPG3]: Likewise.
2485 * conform/data/utmpx.h-data [XPG3]: Likewise.
2486 * conform/data/varargs.h-data [UNIX98]: Enable file.
2488 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2490 * math/libm-test.inc (struct test_f_f_data): Move expected results
2491 into structure for each rounding mode.
2492 (struct test_ff_f_data): Likewise.
2493 (struct test_ff_f_data_nexttoward): Likewise.
2494 (struct test_fi_f_data): Likewise.
2495 (struct test_fl_f_data): Likewise.
2496 (struct test_if_f_data): Likewise.
2497 (struct test_fff_f_data): Likewise.
2498 (struct test_c_f_data): Likewise.
2499 (struct test_f_f1_data): Likewise.
2500 (struct test_fF_f1_data): Likewise.
2501 (struct test_ffI_f1_data): Likewise.
2502 (struct test_c_c_data): Likewise.
2503 (struct test_cc_c_data): Likewise.
2504 (struct test_f_i_data): Likewise.
2505 (struct test_ff_i_data): Likewise.
2506 (struct test_f_l_data): Likewise.
2507 (struct test_f_L_data): Likewise.
2508 (struct test_fFF_11_data): Likewise.
2510 (RM_FE_DOWNWARD): Likewise.
2511 (RM_FE_TONEAREST): Likewise.
2512 (RM_FE_TOWARDZERO): Likewise.
2513 (RM_FE_UPWARD): Likewise.
2514 (RUN_TEST_LOOP_f_f): Update references to expected results.
2515 (RUN_TEST_LOOP_2_f): Likewise.
2516 (RUN_TEST_LOOP_fff_f): Likewise.
2517 (RUN_TEST_LOOP_c_f): Likewise.
2518 (RUN_TEST_LOOP_f_f1): Likewise.
2519 (RUN_TEST_LOOP_fF_f1): Likewise.
2520 (RUN_TEST_LOOP_fI_f1): Likewise.
2521 (RUN_TEST_LOOP_ffI_f1): Likewise.
2522 (RUN_TEST_LOOP_c_c): Likewise.
2523 (RUN_TEST_LOOP_cc_c): Likewise.
2524 (RUN_TEST_LOOP_f_i): Likewise.
2525 (RUN_TEST_LOOP_f_i_tg): Likewise.
2526 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2527 (RUN_TEST_LOOP_f_b): Likewise.
2528 (RUN_TEST_LOOP_f_b_tg): Likewise.
2529 (RUN_TEST_LOOP_f_l): Likewise.
2530 (RUN_TEST_LOOP_f_L): Likewise.
2531 (RUN_TEST_LOOP_fFF_11): Likewise.
2532 * math/gen-libm-test.pl (parse_args): Output four copies of
2533 expected results for each test.
2535 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2536 (__ASSUME_UTIMES): Remove.
2537 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2538 (__ASSUME_UTIMES): Likewise.
2540 * math/gen-auto-libm-tests.c: Update comment on output format.
2541 (output_for_one_input_case): Generate before-rounding and
2542 after-rounding information as conditions on output flags not
2543 floating-point format.
2544 * math/auto-libm-test-out: Regenerated.
2545 * math/gen-libm-test.pl (cond_value): New function.
2546 (or_cond_value): Use cond_value.
2547 (generate_testfile): Handle conditional exceptions.
2549 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2551 * math/libm-test.inc (max_valid_error): New variable.
2552 (init_max_error): Take new argument specifying whether function
2553 results are exactly determined. Set max_valid_error and bound
2554 other variables for errors based on this argument.
2555 (set_max_error): Do not record results above max_valid_error.
2556 (check_float_internal): Only accept errors of up to 0.5ulps if
2557 also at most max_valid_error.
2558 (START): Take new argument EXACT and pass it to init_max_error.
2559 (acos_test): Update call to START.
2560 (acos_test_tonearest): Likewise.
2561 (acos_test_towardzero): Likewise.
2562 (acos_test_downward): Likewise.
2563 (acos_test_upward): Likewise.
2564 (acosh_test): Likewise.
2565 (asin_test): Likewise.
2566 (asin_test_tonearest): Likewise.
2567 (asin_test_towardzero): Likewise.
2568 (asin_test_downward): Likewise.
2569 (asin_test_upward): Likewise.
2570 (asinh_test): Likewise.
2571 (atan_test): Likewise.
2572 (atanh_test): Likewise.
2573 (atan2_test): Likewise.
2574 (cabs_test): Likewise.
2575 (cacos_test): Likewise.
2576 (cacosh_test): Likewise.
2577 (carg_test): Likewise.
2578 (casin_test): Likewise.
2579 (casinh_test): Likewise.
2580 (catan_test): Likewise.
2581 (catanh_test): Likewise.
2582 (cbrt_test): Likewise.
2583 (ccos_test): Likewise.
2584 (ccosh_test): Likewise.
2585 (ceil_test): Likewise.
2586 (cexp_test): Likewise.
2587 (cimag_test): Likewise.
2588 (clog_test): Likewise.
2589 (clog10_test): Likewise.
2590 (conj_test): Likewise.
2591 (copysign_test): Likewise.
2592 (cos_test): Likewise.
2593 (cos_test_tonearest): Likewise.
2594 (cos_test_towardzero): Likewise.
2595 (cos_test_downward): Likewise.
2596 (cos_test_upward): Likewise.
2597 (cosh_test): Likewise.
2598 (cosh_test_tonearest): Likewise.
2599 (cosh_test_towardzero): Likewise.
2600 (cosh_test_downward): Likewise.
2601 (cosh_test_upward): Likewise.
2602 (cpow_test): Likewise.
2603 (cproj_test): Likewise.
2604 (creal_test): Likewise.
2605 (csin_test): Likewise.
2606 (csinh_test): Likewise.
2607 (csqrt_test): Likewise.
2608 (ctan_test): Likewise.
2609 (ctan_test_tonearest): Likewise.
2610 (ctan_test_towardzero): Likewise.
2611 (ctan_test_downward): Likewise.
2612 (ctan_test_upward): Likewise.
2613 (ctanh_test): Likewise.
2614 (ctanh_test_tonearest): Likewise.
2615 (ctanh_test_towardzero): Likewise.
2616 (ctanh_test_downward): Likewise.
2617 (ctanh_test_upward): Likewise.
2618 (erf_test): Likewise.
2619 (erfc_test): Likewise.
2620 (exp_test): Likewise.
2621 (exp_test_tonearest): Likewise.
2622 (exp_test_towardzero): Likewise.
2623 (exp_test_downward): Likewise.
2624 (exp_test_upward): Likewise.
2625 (exp10_test): Likewise.
2626 (exp10_test_tonearest): Likewise.
2627 (exp10_test_towardzero): Likewise.
2628 (exp10_test_downward): Likewise.
2629 (exp10_test_upward): Likewise.
2630 (pow10_test): Likewise.
2631 (exp2_test): Likewise.
2632 (expm1_test): Likewise.
2633 (expm1_test_tonearest): Likewise.
2634 (expm1_test_towardzero): Likewise.
2635 (expm1_test_downward): Likewise.
2636 (expm1_test_upward): Likewise.
2637 (fabs_test): Likewise.
2638 (fdim_test): Likewise.
2639 (floor_test): Likewise.
2640 (fma_test): Likewise.
2641 (fma_test_towardzero): Likewise.
2642 (fma_test_downward): Likewise.
2643 (fma_test_upward): Likewise.
2644 (fmax_test): Likewise.
2645 (fmin_test): Likewise.
2646 (fmod_test): Likewise.
2647 (fpclassify_test): Likewise.
2648 (frexp_test): Likewise.
2649 (hypot_test): Likewise.
2650 (ilogb_test): Likewise.
2651 (isfinite_test): Likewise.
2652 (finite_test): Likewise.
2653 (isgreater_test): Likewise.
2654 (isgreaterequal_test): Likewise.
2655 (isinf_test): Likewise.
2656 (isless_test): Likewise.
2657 (islessequal_test): Likewise.
2658 (islessgreater_test): Likewise.
2659 (isnan_test): Likewise.
2660 (isnormal_test): Likewise.
2661 (issignaling_test): Likewise.
2662 (isunordered_test): Likewise.
2663 (j0_test): Likewise.
2664 (j1_test): Likewise.
2665 (jn_test): Likewise.
2666 (ldexp_test): Likewise.
2667 (lgamma_test): Likewise.
2668 (gamma_test): Likewise.
2669 (lrint_test): Likewise.
2670 (lrint_test_tonearest): Likewise.
2671 (lrint_test_towardzero): Likewise.
2672 (lrint_test_downward): Likewise.
2673 (lrint_test_upward): Likewise.
2674 (llrint_test): Likewise.
2675 (llrint_test_tonearest): Likewise.
2676 (llrint_test_towardzero): Likewise.
2677 (llrint_test_downward): Likewise.
2678 (llrint_test_upward): Likewise.
2679 (log_test): Likewise.
2680 (log10_test): Likewise.
2681 (log1p_test): Likewise.
2682 (log2_test): Likewise.
2683 (logb_test): Likewise.
2684 (logb_test_downward): Likewise.
2685 (lround_test): Likewise.
2686 (llround_test): Likewise.
2687 (modf_test): Likewise.
2688 (nearbyint_test): Likewise.
2689 (nextafter_test): Likewise.
2690 (nexttoward_test): Likewise.
2691 (pow_test): Likewise.
2692 (pow_test_tonearest): Likewise.
2693 (pow_test_towardzero): Likewise.
2694 (pow_test_downward): Likewise.
2695 (pow_test_upward): Likewise.
2696 (remainder_test): Likewise.
2697 (drem_test): Likewise.
2698 (remainder_test_tonearest): Likewise.
2699 (drem_test_tonearest): Likewise.
2700 (remainder_test_towardzero): Likewise.
2701 (drem_test_towardzero): Likewise.
2702 (remainder_test_downward): Likewise.
2703 (drem_test_downward): Likewise.
2704 (remainder_test_upward): Likewise.
2705 (drem_test_upward): Likewise.
2706 (remquo_test): Likewise.
2707 (rint_test): Likewise.
2708 (rint_test_tonearest): Likewise.
2709 (rint_test_towardzero): Likewise.
2710 (rint_test_downward): Likewise.
2711 (rint_test_upward): Likewise.
2712 (round_test): Likewise.
2713 (scalb_test): Likewise.
2714 (scalbn_test): Likewise.
2715 (scalbln_test): Likewise.
2716 (signbit_test): Likewise.
2717 (sin_test): Likewise.
2718 (sin_test_tonearest): Likewise.
2719 (sin_test_towardzero): Likewise.
2720 (sin_test_downward): Likewise.
2721 (sin_test_upward): Likewise.
2722 (sincos_test): Likewise.
2723 (sinh_test): Likewise.
2724 (sinh_test_tonearest): Likewise.
2725 (sinh_test_towardzero): Likewise.
2726 (sinh_test_downward): Likewise.
2727 (sinh_test_upward): Likewise.
2728 (sqrt_test): Likewise.
2729 (sqrt_test_tonearest): Likewise.
2730 (sqrt_test_towardzero): Likewise.
2731 (sqrt_test_downward): Likewise.
2732 (sqrt_test_upward): Likewise.
2733 (tan_test): Likewise.
2734 (tan_test_tonearest): Likewise.
2735 (tan_test_towardzero): Likewise.
2736 (tan_test_downward): Likewise.
2737 (tan_test_upward): Likewise.
2738 (tanh_test): Likewise.
2739 (tgamma_test): Likewise.
2740 (trunc_test): Likewise.
2741 (y0_test): Likewise.
2742 (y1_test): Likewise.
2743 (yn_test): Likewise.
2744 (significand_test): Likewise.
2746 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2747 individual tests in comment.
2748 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2749 (prev_max_error): New variable.
2750 (prev_real_max_error): Likewise.
2751 (prev_imag_max_error): Likewise.
2752 (compare_ulp_data): Don't refer to test names in comment.
2753 (find_test_ulps): Remove function.
2754 (find_function_ulps): Likewise.
2755 (find_complex_function_ulps): Likewise.
2756 (init_max_error): Take function name as argument. Look up ulps
2758 (print_ulps): Remove function.
2759 (print_max_error): Use prev_max_error instead of calling
2761 (print_complex_max_error): Use prev_real_max_error and
2762 prev_imag_max_error instead of calling find_complex_function_ulps.
2763 (check_float_internal): Take max_ulp parameter instead of calling
2764 find_test_ulps. Don't call print_ulps.
2765 (check_float): Update call to check_float_internal.
2766 (check_complex): Update calls to check_float_internal.
2767 (START): Pass argument to init_max_error.
2768 * math/gen-libm-test.pl (%results): Don't include "kind"
2770 (parse_ulps): Don't handle ulps of individual tests.
2771 (print_ulps_file): Likewise.
2772 (output_ulps): Likewise.
2773 * math/README.libm-test: Update.
2774 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2776 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2777 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2778 * sysdeps/arm/libm-test-ulps: Likewise.
2779 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2780 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2781 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2782 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2783 * sysdeps/microblaze/libm-test-ulps: Likewise.
2784 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2785 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2786 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2787 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2788 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2789 * sysdeps/sh/libm-test-ulps: Likewise.
2790 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2791 * sysdeps/tile/libm-test-ulps: Likewise.
2792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2794 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2796 * math/libm-test.inc (print_complex_max_error): Check separately
2797 whether real and imaginary errors are within allowed range and
2798 pass 0 to print_complex_function_ulps instead of value within
2801 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2803 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2805 (get_handles_fopen): Likewise.
2806 (do_write_test): Likewise.
2808 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2810 * libio/fileops.c (do_ftell): Use cached offset when
2812 * libio/iofwide.c (do_ftell_wide): Likewise.
2813 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2815 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2818 * libio/libioP.h (get_file_offset): New function.
2819 * libio/fileops.c (get_file_offset): Likewise.
2820 (do_ftell): Likewise.
2821 (_IO_new_file_seekoff): Split out ftell logic.
2822 * libio/wfileops.c (do_ftell_wide): Likewise.
2823 (_IO_wfile_seekoff): Split out ftell logic.
2824 * libio/tst-ftell-active-handler.c: New test case.
2825 * libio/Makefile (tests): Add it.
2827 2014-03-03 Roland McGrath <roland@hack.frob.com>
2829 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2830 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2832 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2835 * nscd/connections.c (nscd_init): Call do_exit.
2836 (start_threads): Call do_exit and notify_parent.
2837 (begin_drop_privileges): Call do_exit.
2838 (finish_drop_privileges): Likewise.
2839 * nscd/selinux.c (preserve_capabilities): Likewise.
2840 (install_real_capabilities): Likewise.
2841 (nscd_selinux_enabled): Likewise.
2842 (avc_create_thread): Likewise.
2843 (avc_alloc_lock): Likewise.
2844 (nscd_avc_init): Likewise.
2845 * nscd/nscd.c (parent_fd): New static variable.
2846 (main): Create a pipe between parent and child processes.
2847 Skip closing parent_fd.
2848 (monitor_child): New function.
2849 (do_exit): Likewise.
2850 (notify_parent): Likewise.
2851 * nscd/nscd.h (notify_parent): Likewise.
2852 (do_exit): Likewise.
2854 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2856 * malloc/malloc.c (__libc_calloc): Revert last change.
2858 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2862 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2864 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2868 (__libc_ifunc_impl_list): Likewise.
2869 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2870 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2871 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2872 * string/strrchr.c: Define STRRCHR.
2874 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2876 * benchtest/bench-strtok.c (simple_strtok): Delete.
2877 (strtok_string): Use as benchmark.
2878 * string/strtok (STRTOK): New macro.
2880 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2882 * manual/threads.texi: Add header and standard comments to all
2885 * elf/dl-lookup.c (check_match): New function.
2886 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2887 (do_lookup_x): Remove nested function check_match. Use non-nested
2888 function check_match.
2890 2014-02-28 Roland McGrath <roland@hack.frob.com>
2892 * csu/Makefile (generated, before-compile): Use += rather than =.
2893 * catgets/Makefile (generated, generated-dirs): Likewise.
2894 * debug/Makefile (generated): Likewise.
2895 * dlfcn/Makefile (generated): Likewise.
2896 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2897 * iconvdata/Makefile (before-compile, generated): Likewise.
2898 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2899 * libio/Makefile (generated): Likewise.
2900 * malloc/Makefile (generated): Likewise.
2901 * manual/Makefile (generated, generated-dirs): Likewise.
2902 * misc/Makefile (generated): Likewise.
2903 * posix/Makefile (generated): Likewise.
2904 * resolv/Makefile (generated): Likewise.
2905 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2906 * timezone/Makefile (generated, generated-dirs): Likewise.
2908 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2910 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2912 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2915 POWER8 llround ifunc implementation.
2916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2917 POWER8 implementation.
2918 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2919 POWER8 llround implementation.
2921 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2923 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2926 POWER8 llrint ifunc implementation.
2927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2928 POWER8 implementation.
2929 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2930 POWER8 llrint implementation.
2932 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2934 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2937 POWER8 finite ifunc implementation.
2938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2939 POWER8 implementation.
2940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2942 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2943 POWER8 finite implementation.
2944 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2946 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2948 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2951 POWER8 isinf ifunc implementation.
2952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2953 POWER8 implementation.
2954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2956 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2957 POWER8 isinf implementation.
2958 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2960 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2962 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2963 Add hwcap2 initialization.
2964 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2967 POWER8 isnan ifunc implementation.
2968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2969 POWER8 implementation.
2970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2972 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2973 POWER8 isnan implementation.
2974 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2976 2014-02-27 Joey Ye <joey.ye@arm.com>
2978 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2979 (_FP_NANFRAC_Q): Set to zero.
2981 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2984 * math/auto-libm-test-in: New test inputs.
2985 * math/auto-libm-test-out: Regenerate.
2986 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2989 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2991 2014-02-27 Joseph Myers <joseph@codesourcery.com>
2993 * scripts/evaluate-test.sh: Take new argument indicating whether
2994 failure is expected.
2995 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2996 indicating whether failure is expected.
2997 * conform/Makefile (test-xfail-run-conformtest): New variable.
2998 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3000 * posix/Makefile (test-xfail-annexc): New variable.
3001 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3003 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3005 * argp/Makefile: Include Makeconfig immediately after defining
3007 * assert/Makefile: Likewise.
3008 * benchtests/Makefile: Likewise.
3009 * catgets/Makefile: Likewise.
3010 * conform/Makefile: Likewise.
3011 * crypt/Makefile: Likewise.
3012 * csu/Makefile: Likewise.
3013 (all): Remove target.
3014 * ctype/Makefile: Include Makeconfig immediately after defining
3016 * debug/Makefile: Likewise.
3017 * dirent/Makefile: Likewise.
3018 * dlfcn/Makefile: Likewise.
3019 * gmon/Makefile: Likewise.
3020 * gnulib/Makefile: Likewise.
3021 * grp/Makefile: Likewise.
3022 * gshadow/Makefile: Likewise.
3023 * hesiod/Makefile: Likewise.
3024 * hurd/Makefile: Likewise.
3025 (all): Remove target.
3026 * iconvdata/Makefile: Include Makeconfig immediately after
3028 * inet/Makefile: Likewise.
3029 * intl/Makefile: Likewise.
3030 * io/Makefile: Likewise.
3031 * libio/Makefile: Likewise.
3032 (all): Remove target.
3033 * locale/Makefile: Include Makeconfig immediately after defining
3035 * login/Makefile: Likewise.
3036 * mach/Makefile: Likewise.
3037 (all): Remove target.
3038 * malloc/Makefile: Include Makeconfig immediately after defining
3040 (all): Remove target.
3041 * manual/Makefile: Include Makeconfig immediately after defining
3043 * math/Makefile: Likewise.
3044 * misc/Makefile: Likewise.
3045 * nis/Makefile: Likewise.
3046 * nss/Makefile: Likewise.
3047 * po/Makefile: Likewise.
3048 (all): Remove target.
3049 * posix/Makefile: Include Makeconfig immediately after defining
3051 * pwd/Makefile: Likewise.
3052 * resolv/Makefile: Likewise.
3053 * resource/Makefile: Likewise.
3054 * rt/Makefile: Likewise.
3055 * setjmp/Makefile: Likewise.
3056 * shadow/Makefile: Likewise.
3057 * signal/Makefile: Likewise.
3058 * socket/Makefile: Likewise.
3059 * soft-fp/Makefile: Likewise.
3060 * stdio-common/Makefile: Likewise.
3061 * stdlib/Makefile: Likewise.
3062 * streams/Makefile: Likewise.
3063 * string/Makefile: Likewise.
3064 * sunrpc/Makefile: Likewise.
3065 (all): Remove target.
3066 * sysvipc/Makefile: Include Makeconfig immediately after defining
3068 * termios/Makefile: Likewise.
3069 * time/Makefile: Likewise.
3070 * timezone/Makefile: Likewise.
3071 (all): Remove target.
3072 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3074 * wctype/Makefile: Likewise.
3076 2014-02-26 Steve Ellcey <sellcey@mips.com>
3078 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3079 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3080 (libc_feholdexcept_setround_mips): Ditto.
3081 (libc_feholdsetround): New.
3082 (libc_feholdsetroundf): New.
3083 (libc_feholdsetroundl): New.
3084 (libc_feupdateenv_test_mips): New.
3085 (libc_feupdateenv_test): New.
3086 (libc_feupdateenv_testf): New.
3087 (libc_feupdateenv_testl): New.
3088 (libc_feresetround): New.
3089 (libc_feresetroundf): New.
3090 (libc_feresetroundl): New.
3091 (libc_fetestexcept_mips): New.
3092 (libc_fetestexcept): New.
3093 (libc_fetestexceptf): New.
3094 (libc_fetestexceptl): New.
3096 (libc_feholdexcept_setround_mips_ctx): New.
3097 (libc_feholdexcept_setround_ctx): New.
3098 (libc_feholdexcept_setroundf_ctx): New.
3099 (libc_feholdexcept_setroundl_ctx): New.
3100 (libc_fesetenv_mips_ctx): New.
3101 (libc_fesetenv_ctx): New.
3102 (libc_fesetenv_ctxf): New.
3103 (libc_fesetenv_ctxl): New.
3104 (libc_feupdateenv_mips_ctx): New.
3105 (libc_feupdateenv_ctx): New.
3106 (libc_feupdateenvf_ctx): New.
3107 (libc_feupdateenvl_ctx): New.
3108 (libc_feholdsetround_mips_ctx): New.
3109 (libc_feholdsetround_ctx): New.
3110 (libc_feholdsetroundf_ctx): New.
3111 (libc_feholdsetroundl_ctx): New.
3112 (libc_feresetround_mips_ctx): New.
3113 (libc_feresetround_ctx): New.
3114 (libc_feresetroundf_ctx): New.
3115 (libc_feresetroundl_ctx): New.
3117 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3119 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3121 * manual/ipc.texi: New file.
3122 * manual/Makefile (chapters): Add ipc.
3123 * manual/job.texi: Add "Inter-Process Communication" to next.
3124 * manual/process.texi: Add "Inter-Process Communication" to prev.
3126 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3130 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3132 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3134 * manual/arith.texi: Fix spaces after sentences.
3135 * manual/charset.texi: Likewise.
3136 * manual/errno.texi: Likewise.
3137 * manual/install.texi: Likewise.
3138 * manual/llio.texi: Likewise.
3139 * manual/locale.texi: Likewise.
3140 * manual/maint.texi: Likewise.
3141 * manual/math.texi: Likewise.
3142 * manual/memory.texi: Likewise.
3143 * manual/message.texi: Likewise.
3144 * manual/probes.texi: Likewise.
3145 * manual/resource.texi: Likewise.
3146 * manual/signal.texi: Likewise.
3147 * manual/socket.texi: Likewise.
3148 * manual/stdio.texi: Likewise.
3149 * manual/string.texi: Likewise.
3150 * manual/time.texi: Likewise.
3151 * manual/users.texi: Likewise.
3153 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3156 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3157 _DEFAULT_SOURCE is defined.
3159 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3160 Carlos O'Donell <carlos@redhat.com>
3163 * elf/dl-tls.c (_dl_count_modids): New function.
3164 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3165 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3166 audit library and increment generation counter.
3167 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3168 * elf/tst-audit9.c: New file.
3169 * elf/tst-auditmod9a.c: New file.
3170 * elf/tst-auditmod9b.c: New file.
3171 * elf/Makefile: Add rules to build and run tst-audit9.
3173 2014-02-25 Florian Weimer <fweimer@redhat.com>
3176 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3178 2014-02-25 Will Newton <will.newton@linaro.org>
3180 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3181 (__longjmp): Restore sp and lr before restoring callee
3182 saved registers. Add longjmp and longjmp_target
3183 SystemTap probe point.
3184 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3185 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3186 Define to zero to match jmpbuf layout.
3187 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3188 (__sigsetjmp): Save sp and lr before saving callee
3189 saved registers. Add setjmp SystemTap probe point.
3191 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3193 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3195 2014-02-24 Andreas Schwab <schwab@suse.de>
3198 * elf/pldd.c (wait_for_ptrace_stop): New function.
3199 (main): Call it after attaching.
3201 2014-02-22 Roland McGrath <roland@hack.frob.com>
3203 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3204 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3205 Versions files is now verboten.
3206 * hurd/Versions (libc: GLIBC_2.0):
3207 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3208 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3209 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3210 * mach/Versions: Likewise.
3212 * csu/Versions: Remove unused %include.
3213 * resolv/Versions: Likewise.
3215 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3217 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3218 ($(objpfx)check-local-headers.out): Likewise.
3219 ($(objpfx)begin-end-check.out): Likewise.
3220 * Makerules (check-abi-%.out): Likewise.
3221 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3222 ($(objpfx)test2.cat): Likewise.
3223 ($(objpfx)de/libc.cat): Likewise.
3224 ($(objpfx)test-gencat.out): Likewise.
3225 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3226 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3227 ($(objpfx)noload-mem): Likewise.
3228 ($(objpfx)tst-pathopt.out): Likewise.
3229 ($(objpfx)tst-rtld-load-self.out): Likewise.
3230 ($(objpfx)tst-array1-cmp.out): Likewise.
3231 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3232 ($(objpfx)tst-array2-cmp.out): Likewise.
3233 ($(objpfx)tst-array3-cmp.out): Likewise.
3234 ($(objpfx)tst-array4-cmp.out): Likewise.
3235 ($(objpfx)tst-array5-cmp.out): Likewise.
3236 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3237 ($(objpfx)check-textrel.out): Likewise.
3238 ($(objpfx)check-execstack.out): Likewise.
3239 ($(objpfx)check-localplt.out): Likewise.
3240 ($(objpfx)order2-cmp.out): Likewise.
3241 ($(objpfx)tst-leaks1-mem): Likewise.
3242 ($(objpfx)tst-leaks1-static-mem): Likewise.
3243 ($(objpfx)tst-initorder-cmp.out): Likewise.
3244 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3245 ($(objpfx)tst-unused-dep.out): Likewise.
3246 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3247 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3248 * iconv/Makefile (test-iconvconfig): Likewise.
3249 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3250 ($(objpfx)iconv-test.out): Likewise.
3251 ($(objpfx)tst-tables.out): Likewise.
3252 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3253 ($(objpfx)tst-gettext.out): Likewise.
3254 ($(objpfx)tst-translit.out): Likewise.
3255 ($(objpfx)tst-gettext2.out): Likewise.
3256 ($(objpfx)tst-gettext4.out): Likewise.
3257 ($(objpfx)tst-gettext6.out): Likewise.
3258 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3259 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3260 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3261 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3262 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3263 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3264 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3265 ($(objpfx)wordexp-tst.out): Likewise.
3266 ($(objpfx)annexc.out): Likewise.
3267 ($(objpfx)tst-fnmatch-mem): Likewise.
3268 ($(objpfx)bug-regex2-mem): Likewise.
3269 ($(objpfx)bug-regex14-mem): Likewise.
3270 ($(objpfx)bug-regex21-mem): Likewise.
3271 ($(objpfx)bug-regex31-mem): Likewise.
3272 ($(objpfx)tst-vfork3-mem): Likewise.
3273 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3274 ($(objpfx)tst-pcre-mem): Likewise.
3275 ($(objpfx)tst-boost-mem): Likewise.
3276 ($(objpfx)tst-getconf.out): Likewise.
3277 ($(objpfx)bug-ga2-mem): Likewise.
3278 ($(objpfx)bug-glob2-mem): Likewise.
3279 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3280 ($(objpfx)mtrace-tst-leaks2): Likewise.
3281 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3282 ($(objpfx)tst-printf.out): Likewise.
3283 ($(objpfx)tst-setvbuf1.out): Likewise.
3284 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3285 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3286 ($(objpfx)tst-fmtmsg.out): Likewise.
3287 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3288 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3290 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3291 * bits/sigaction.h [__USE_MISC]: Likewise.
3292 * bits/waitstatus.h: Update #endif comments.
3293 * ctype/ctype.h: Likewise.
3294 * dirent/dirent.h: Likewise.
3295 [__USE_MISC]: Remove redundant conditionals.
3296 * grp/grp.h: Update #endif comments.
3297 [__USE_GNU]: Remove redundant conditionals.
3298 [__USE_MISC]: Likewise.
3299 * inet/netinet/in.h [__USE_GNU]: Likewise.
3300 * io/sys/stat.h [__USE_MISC]: Likewise.
3301 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3302 * libio/bits/stdio.h: Update #endif comments.
3303 [__USE_MISC]: Remove redundant conditionals.
3304 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3305 * libio/stdio.h: Update #endif comments.
3306 [__USE_MISC]: Remove redundant conditionals.
3307 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3308 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3309 * math/math.h: Update #else and #endif comments.
3310 [__USE_MISC]: Remove redundant conditionals.
3311 * misc/sys/uio.h: Update #endif comments.
3312 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3313 * posix/glob.h [__USE_MISC]: Likewise.
3314 * posix/sys/types.h: Update #endif comments.
3315 [__USE_MISC]: Remove redundant conditionals.
3316 * posix/sys/wait.h: Update #endif comments.
3317 [__USE_MISC]: Remove redundant conditionals.
3318 * posix/unistd.h: Update #endif comments.
3319 [__USE_MISC]: Remove redundant conditionals.
3320 * pwd/pwd.h [__USE_GNU]: Likewise.
3321 [__USE_MISC]: Likewise.
3322 * resolv/netdb.h [__USE_GNU]: Likewise.
3323 * signal/signal.h: Update #endif comments.
3324 [__USE_MISC]: Remove redundant conditionals.
3325 * stdlib/stdlib.h: Update #else and #endif comments.
3326 [__USE_MISC]: Remove redundant conditionals.
3327 [__USE_GNU]: Likewise.
3328 * string/bits/string2.h [__USE_MISC]: Likewise.
3329 * string/string.h: Update #endif comments.
3330 [__USE_MISC]: Remove redundant conditionals.
3331 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3333 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3334 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3335 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3337 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3339 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3341 [__USE_MISC]: Remove redundant conditionals.
3342 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3343 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3344 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3345 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3346 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3348 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3349 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3351 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3352 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3354 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3356 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3357 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3359 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3361 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3362 * sysdeps/x86/bits/string.h: Update #endif comments.
3363 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3365 * time/sys/time.h: Update #endif comments.
3366 * time/time.h: Likewise.
3367 [__USE_MISC]: Remove redundant conditionals.
3369 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3372 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3374 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3376 * Versions.def (librt): Add GLIBC_2.17.
3378 2014-02-21 Adam Conrad <adconrad@0c3.net>
3380 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3381 synonym for _SYS_AUXV_H to allow direct inclusion.
3382 * sysdeps/sparc/bits/hwcap.h: Likewise.
3383 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3384 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3385 * sysdeps/sparc/sysdep.h: Likewise.
3387 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3389 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3391 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3393 * benchtests/bench-strrchr.c: Print length instead of position.
3395 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3398 * sysdeps/unix/sysv/linux/kernel-features.h
3399 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3400 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3401 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3402 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3404 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3405 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3406 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3407 (__ASSUME_SENDMMSG): Define instead of using previous
3408 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3409 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3410 (__ASSUME_SENDMMSG_SYSCALL): Define.
3411 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3412 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3414 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3415 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3417 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3418 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3420 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3421 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3422 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3423 [__ASSUME_SENDMMSG]: Change conditionals to
3424 [__ASSUME_SENDMMSG_SOCKETCALL].
3425 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3426 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3428 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3429 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3431 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3432 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3433 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3434 [!__ASSUME_SENDMMSG]: Change conditional to
3435 [!__ASSUME_SENDMMSG_SOCKETCALL].
3436 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3437 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3441 * sysdeps/unix/sysv/linux/kernel-features.h
3442 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3443 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3444 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3445 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3446 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3447 [__i386__ || __sparc__]
3448 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3449 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3450 (__ASSUME_RECVMMSG): Define instead of using previous
3451 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3452 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3453 (__ASSUME_RECVMMSG_SYSCALL): Define.
3454 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3455 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3457 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3458 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3460 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3461 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3463 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3464 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3465 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3466 [__ASSUME_RECVMMSG]: Change condition to
3467 [__ASSUME_RECVMMSG_SOCKETCALL].
3468 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3469 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3471 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3472 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3473 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3475 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3476 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3477 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3478 [!__ASSUME_RECVMMSG]: Change condition to
3479 [!__ASSUME_RECVMMSG_SOCKETCALL].
3480 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3481 (__ASSUME_RECVMMSG_SYSCALL): Define.
3484 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3485 __powerpc__ || __s390__ || __sh__ || __sparc__]
3486 (__ASSUME_SOCKETCALL): Define.
3487 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3488 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3489 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3490 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3491 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3492 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3493 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3494 (__ASSUME_ACCEPT4): Define instead of using previous
3495 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3496 __powerpc__ || __sparc__ || __s390__)] condition.
3497 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3498 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3499 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3500 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3501 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3502 [!__ASSUME_ACCEPT4]: Change condition to
3503 [!__ASSUME_ACCEPT4_SOCKETCALL].
3504 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3505 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3506 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3507 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3508 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3509 __ASSUME_ACCEPT4_SYSCALL.
3510 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3511 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3512 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3513 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3514 __ASSUME_ACCEPT4_SYSCALL.
3515 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3516 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3517 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3518 [__ASSUME_ACCEPT4]: Change condition to
3519 [__ASSUME_ACCEPT4_SOCKETCALL].
3520 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3521 (__ASSUME_SOCKETCALL): Define.
3522 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3523 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3524 (__ASSUME_SOCKETCALL): Define.
3525 (__ASSUME_ACCEPT4): Remove.
3526 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3528 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3529 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3531 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3532 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3534 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3536 (HWCAP_ARM_LPAE): Likewise.
3537 (HWCAP_ARM_EVTSTRM): Likewise.
3538 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3539 Add vpfd32, lpae and evtstrm.
3540 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3543 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3545 * math/auto-libm-test-in: Add tests of clog10.
3546 * math/auto-libm-test-out: Regenerated.
3547 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3548 * sysdeps/i386/fpu/libm-test-ulps: Update.
3549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3551 2014-02-18 Andreas Schwab <schwab@suse.de>
3554 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3555 Store non-zero if the second buffer was newly allocated.
3556 (send_dg): Likewise.
3557 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3558 to send_vc and send_dg.
3559 (res_nsend): Pass NULL for ansp2_malloced.
3560 * resolv/res_query.c (__libc_res_nquery): Add parameter
3561 answerp2_malloced and pass it down to __libc_res_nsend.
3562 (res_nquery): Pass additional NULL to __libc_res_nquery.
3563 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3564 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3565 second answer buffer if answerp2_malloced was set.
3566 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3567 (__libc_res_nquerydomain): Add parameter
3568 answerp2_malloced and pass it down to __libc_res_nquery.
3569 (res_nquerydomain): Pass additional NULL to
3570 __libc_res_nquerydomain.
3571 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3572 additional NULL to __libc_res_nsend and __libc_res_nquery.
3573 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3574 additional NULL to __libc_res_nsearch.
3575 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3576 parameter of __libc_res_nsearch to check for separately allocated
3578 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3580 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3581 additional NULL to __libc_res_nquery.
3582 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3584 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3585 * include/resolv.h: Update prototypes of __libc_res_nquery,
3586 __libc_res_nsearch, __libc_res_nsend.
3588 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3590 * math/auto-libm-test-in: Add tests of fma.
3591 * math/auto-libm-test-out: Regenerated.
3592 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3593 (fma_towardzero_test_data): Likewise.
3594 (fma_downward_test_data): Likewise.
3595 (fma_upward_test_data): Likewise.
3596 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3598 (rounding_modes): Add values for new field.
3599 (func_calc_method): Add value mpfr_fff_f.
3600 (func_calc_desc): Add mpfr_fff_f union field.
3601 (test_function): Add field exact_args.
3602 (FUNC): Add macro argument EXACT_ARGS.
3603 (FUNC_mpfr_f_f): Update call to FUNC.
3604 (FUNC_mpfr_f_f): Likewise.
3605 (FUNC_mpfr_ff_f): Likewise.
3606 (FUNC_mpfr_if_f): Likewise.
3607 (FUNC_mpc_c_f): Likewise.
3608 (FUNC_mpc_c_c): Likewise.
3609 (test_functions): Add fma. Update calls to FUNC.
3610 (handle_input_arg): Add argument exact_args.
3611 (add_test): Update call to handle_input_arg.
3612 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3613 (output_for_one_input_case): Update call to calc_generic_results.
3614 Recalculate exact zero results in each rounding mode.
3616 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3617 non-negative before setting low bit.
3618 * math/auto-libm-test-in: Mark one asin test possibly having
3620 * math/auto-libm-test-out: Regenerated.
3621 * sysdeps/i386/fpu/libm-test-ulps: Update.
3622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3624 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3626 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3627 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3628 ports/sysdeps/unix/sysv/linux/microblaze.
3629 * README: Add missing listing for microblaze*-*-linux-gnu.
3631 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3633 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3634 * sysdeps/unix/sysv/linux/ia64: Move directory from
3635 ports/sysdeps/unix/sysv/linux/ia64.
3636 * README: Update listing for ia64-*-linux-gnu.
3638 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3639 Joseph Myers <joseph@codesourcery.com>
3641 * Makeconfig (test-name): New variable.
3642 (evaluate-test): Likewise.
3643 * Makerules (do-test-clean): Remove .test-result files.
3644 (common-mostlyclean): Likewise.
3645 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3646 * scripts/evaluate-test.sh: New file.
3648 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3650 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3651 separate $(objpfx)tst-fopenloc-cmp.out and
3652 $(objpfx)tst-fopenloc-mem.out targets.
3653 (tests): Update dependencies.
3654 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3655 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3656 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3657 (tst-rxspencer-no-utf8-ARGS): New variable.
3658 (tst-rxspencer-no-utf8-ENV): Likewise.
3659 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3660 instead of $(objpfx)tst-rxspencer-mem.
3661 ($(objpfx)tst-rxspencer-mem): Change target to
3662 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3663 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3664 * posix/tst-rxspencer-no-utf8.c: New file.
3666 * elf/Makefile ($(objpfx)order.out): Remove rule.
3667 [$(run-built-tests) = yes] (tests): Depend on
3668 $(objpfx)order-cmp.out.
3669 ($(objpfx)order-cmp.out): New rule.
3670 [$(run-built-tests) = yes] (tests): Depend on
3671 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3672 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3673 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3674 $(objpfx)tst-array5-static-cmp.out.
3675 ($(objpfx)tst-array1.out): Remove rule.
3676 ($(objpfx)tst-array1-cmp.out): New rule.
3677 ($(objpfx)tst-array1-static.out): Remove rule.
3678 ($(objpfx)tst-array1-static-cmp.out): New rule.
3679 ($(objpfx)tst-array2.out): Remove rule.
3680 ($(objpfx)tst-array2-cmp.out): New rule.
3681 ($(objpfx)tst-array3.out): Remove rule.
3682 ($(objpfx)tst-array3-cmp.out): New rule.
3683 ($(objpfx)tst-array4.out): Remove rule.
3684 ($(objpfx)tst-array4-cmp.out): New rule.
3685 ($(objpfx)tst-array5.out): Remove rule.
3686 ($(objpfx)tst-array5-cmp.out): New rule.
3687 ($(objpfx)tst-array5-static.out): Remove rule.
3688 ($(objpfx)tst-array5-static-cmp.out): New rule.
3689 [$(run-built-tests) = yes] (tests): Depend on
3690 $(objpfx)order2-cmp.out.
3691 ($(objpfx)order2.out): Remove rule.
3692 ($(objpfx)order2-cmp.out): New rule.
3693 ($(objpfx)tst-initorder.out): Remove rule.
3694 [$(run-built-tests) = yes] (tests): Depend on
3695 $(objpfx)tst-initorder-cmp.out.
3696 ($(objpfx)tst-initorder-cmp.out): New rule.
3697 ($(objpfx)tst-initorder2.out): Remove rule.
3698 [$(run-built-tests) = yes] (tests): Depend on
3699 $(objpfx)tst-initorder2-cmp.out.
3700 ($(objpfx)tst-initorder2-cmp.out): New rule.
3701 [$(run-built-tests) = yes] (tests): Depend on
3702 $(objpfx)tst-unused-dep-cmp.out.
3703 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3704 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3705 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3706 on $(objpfx)tst-setvbuf1-cmp.out.
3707 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3708 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3709 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3710 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3711 ($(objpfx)tst-svc.out): Remove rule.
3712 ($(objpfx)tst-svc-cmp.out): New rule.
3714 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3716 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3717 * ctype/ctype.h [__USE_MISC]: Likewise.
3718 * dirent/dirent.h [__USE_MISC]: Likewise.
3719 * grp/grp.h [__USE_MISC]: Likewise.
3720 * io/fcntl.h [__USE_MISC]: Likewise.
3721 * io/sys/stat.h [__USE_MISC]: Likewise.
3722 * libio/stdio.h [__USE_MISC]: Likewise.
3723 * posix/unistd.h [__USE_MISC]: Likewise.
3724 * pwd/pwd.h [__USE_MISC]: Likewise.
3725 * stdlib.h [__USE_MISC]: Likewise.
3726 * string/bits/string2.h [__USE_MISC]: Likewise.
3727 * string/string.h [__USE_MISC]: Likewise.
3728 * time/time.h [__USE_MISC]: Likewise.
3730 2014-02-13 Andreas Schwab <schwab@suse.de>
3733 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3734 second answer buffer if it was separately allocated.
3736 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3738 * sysdeps/mips/math-tests.h: Include <features.h>.
3739 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3740 (ROUNDING_TESTS_long_double): Do not define.
3741 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3742 (EXCEPTION_TESTS_long_double): Likewise.
3743 * sysdeps/mips/mips64/libm-test-ulps: Update.
3745 * include/features.h (__USE_BSD): Remove macro definitions.
3746 (__USE_SVID): Likewise.
3747 (_BSD_SOURCE): Likewise.
3748 (_SVID_SOURCE): Likewise.
3749 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3750 from definition of _DEFAULT_SOURCE.
3751 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3753 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3754 * bits/mman.h [__USE_BSD]: Likewise.
3755 * bits/termios.h [__USE_BSD]: Likewise.
3756 * bits/waitstatus.h [__USE_BSD]: Likewise.
3757 * ctype/ctype.h [__USE_SVID]: Likewise.
3758 * dirent/dirent.h [__USE_BSD]: Likewise.
3759 * grp/grp.h [__USE_SVID]: Likewise.
3760 [__USE_BSD]: Likewise.
3761 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3762 * io/fcntl.h [__USE_BSD]: Likewise.
3763 * io/ftw.h [__USE_BSD]: Likewise.
3764 * io/sys/stat.h [__USE_BSD]: Likewise.
3765 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3766 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3767 * libio/stdio.h [__USE_SVID]: Likewise.
3768 [__USE_BSD]: Likewise.
3769 * math/math.h [__USE_SVID]: Likewise.
3770 [__USE_BSD]: Likewise.
3771 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3772 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3773 * misc/search.h [__USE_SVID]: Likewise.
3774 * misc/sys/mman.h [__USE_BSD]: Likewise.
3775 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3776 * misc/sys/uio.h [__USE_BSD]: Likewise.
3777 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3778 * posix/glob.h [__USE_BSD]: Likewise.
3779 * posix/regex.h [__USE_BSD]: Likewise.
3780 * posix/sys/types.h [__USE_BSD]: Likewise.
3781 [__USE_SVID]: Likewise.
3782 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3783 * posix/sys/wait.h [__USE_BSD]: Likewise.
3784 [__USE_SVID]: Likewise.
3785 * posix/unistd.h [__USE_BSD]: Likewise.
3786 [__USE_SVID]: Likewise.
3787 * pwd/pwd.h [__USE_SVID]: Likewise.
3788 * resolv/netdb.h [__USE_BSD]: Likewise.
3789 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3790 * signal/signal.h [__USE_BSD]: Likewise.
3791 [__USE_SVID]: Likewise.
3792 * socket/sys/socket.h [__USE_BSD]: Likewise.
3793 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3794 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3795 [__USE_SVID]: Likewise.
3796 * string/bits/string2.h [__USE_BSD]: Likewise.
3797 [__USE_SVID]: Likewise.
3798 * string/bits/string3.h [__USE_BSD]: Likewise.
3799 * string/endian.h [__USE_BSD]: Likewise.
3800 * string/string.h [__USE_SVID]: Likewise.
3801 [__USE_BSD]: Likewise.
3802 * string/strings.h [__USE_BSD]: Likewise.
3803 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3804 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3805 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3806 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3807 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3808 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3810 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3812 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3813 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3815 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3816 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3818 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3820 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3821 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3822 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3824 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3826 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3827 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3828 * termios/termios.h [__USE_BSD]: Likewise.
3829 * time/sys/time.h [__USE_BSD]: Likewise.
3830 * time/time.h [__USE_BSD]: Likewise.
3831 [__USE_SVID]: Likewise.
3833 * Makefile (subdir_targets): Remove subdir_lint.out.
3835 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3836 (do-tst-printf): Likewise.
3837 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3838 $(objpfx)tst-printf.out.
3840 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3842 * Makerules (check-abi-%): Change target to
3843 $(objpfx)check-abi-%.out.
3844 (check-abi target): Update dependencies.
3845 (check-abi-pattern variable): Redirect output of diff to $@.
3846 (check-abi variable): Likewise.
3847 * elf/Makefile (check-abi): Update dependencies.
3849 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3851 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3852 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3854 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3855 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3856 value has largest subnormal exponent.
3857 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3858 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3859 * sysdeps/aarch64/soft-fp/sfp-machine.h
3860 (_FP_TININESS_AFTER_ROUNDING): New macro.
3861 * sysdeps/alpha/soft-fp/sfp-machine.h
3862 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3863 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3865 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3866 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3867 * sysdeps/mips/soft-fp/sfp-machine.h
3868 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3869 * sysdeps/powerpc/soft-fp/sfp-machine.h
3870 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3871 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3873 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3874 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3875 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3876 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3877 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3880 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3883 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3886 2014-02-12 Richard Henderson <rth@redhat.com>
3888 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3889 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3890 * sysdeps/unix/sysv/linux/alpha: Move directory from
3891 ports/sysdeps/unix/sysv/linux/alpha.
3892 * README: Update listing for alpha-*-linux-gnu.
3894 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3896 * include/features.h: Update comment documenting feature test
3898 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3900 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3901 (_SVID_SOURCE): Likewise.
3902 (_DEFAULT_SOURCE): Update description of default features.
3903 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3905 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3906 (S_ISVTX): Likewise.
3907 * manual/math.texi (Mathematical Constants): Likewise.
3908 * manual/signal.texi (Interrupted Primitives): Likewise.
3909 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3910 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3911 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3912 Don't refer to _SVID_SOURCE in warning text.
3914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3916 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3918 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3919 * sysdeps/mips/dl-lookup.c: Remove.
3920 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3922 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3925 * math/auto-libm-test-in: Add testcase for expl.
3926 * math/auto-libm-test-out: Regenerate.
3927 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3928 calculation of unsafe.
3929 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3931 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3933 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3934 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3935 ports/sysdeps/unix/sysv/linux/aarch64.
3936 * README: Update listing for aarch64*-*-linux-gnu.
3938 2014-02-11 Will Newton <will.newton@linaro.org>
3940 * manual/probes.texi (Mathematical Function Probes): Use
3941 "triggered" instead of "hit".
3943 2014-02-11 Will Newton <will.newton@linaro.org>
3945 * manual/probes.texi (Internal Probes): Add documentation
3946 of setjmp, longjmp and longjmp_target probes.
3948 2014-02-11 Will Newton <will.newton@linaro.org>
3950 * include/stap-probe.h: Add comment about probe argument
3953 2014-02-11 Will Newton <will.newton@linaro.org>
3955 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3956 definition. (tr_where, tr_freehook, tr_mallochook,
3957 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3959 2014-02-11 David S. Miller <davem@davemloft.net>
3961 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3962 processing int_tests.
3964 2014-02-10 Joseph Myers <joseph@codesourcery.com>
3966 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3967 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3968 * sysdeps/unix/sysv/linux/mips: Move directory from
3969 ports/sysdeps/unix/sysv/linux/mips.
3970 * README: Update listing for mips-*-linux-gnu and
3973 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3975 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3976 * sysdeps/unix/sysv/linux/m68k: Move directory from
3977 ports/sysdeps/unix/sysv/linux/m68k.
3978 * README: Update listing for m68k-*-linux-gnu.
3980 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3982 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3983 * sysdeps/unix/sysv/linux/generic: Move directory from
3984 ports/sysdeps/unix/sysv/linux/generic.
3985 * sysdeps/unix/sysv/linux/tile: Move directory from
3986 ports/sysdeps/unix/sysv/linux/tile.
3987 * README: Update listing for tile*-*-linux-gnu.
3989 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3991 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3992 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3993 * catgets/open_catalog.c (__open_catalog): Likewise.
3994 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3995 * debug/confstr_chk.c: Likewise.
3996 * debug/fread_chk.c (__fread_chk): Likewise.
3997 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3998 * debug/getgroups_chk.c: Likewise.
3999 * debug/mbsnrtowcs_chk.c: Likewise.
4000 * debug/mbsrtowcs_chk.c: Likewise.
4001 * debug/mbstowcs_chk.c: Likewise.
4002 * debug/memcpy_chk.c: Likewise.
4003 * debug/memmove_chk.c: Likewise.
4004 * debug/mempcpy_chk.c: Likewise.
4005 * debug/memset_chk.c: Likewise.
4006 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4007 * debug/strcat_chk.c (__strcat_chk): Likewise.
4008 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4009 * debug/strncat_chk.c (__strncat_chk): Likewise.
4010 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4011 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4012 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4013 * debug/wcpncpy_chk.c: Likewise.
4014 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4015 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4016 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4017 * debug/wcsncpy_chk.c: Likewise.
4018 * debug/wcsnrtombs_chk.c: Likewise.
4019 * debug/wcsrtombs_chk.c: Likewise.
4020 * debug/wcstombs_chk.c: Likewise.
4021 * debug/wmemcpy_chk.c: Likewise.
4022 * debug/wmemmove_chk.c: Likewise.
4023 * debug/wmempcpy_chk.c: Likewise.
4024 * debug/wmemset_chk.c: Likewise.
4025 * dirent/scandirat.c (SCANDIRAT): Likewise.
4026 * dlfcn/dladdr1.c (dladdr1): Likewise.
4027 * dlfcn/dladdr.c (dladdr): Likewise.
4028 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4029 * dlfcn/dlerror.c (__dlerror): Likewise.
4030 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4031 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4032 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4033 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4034 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4035 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4036 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4037 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4039 * elf/dl-conflict.c: Likewise.
4040 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4041 * elf/dl-dst.h: Likewise.
4042 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4043 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4044 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4045 * elf/dl-init.c (call_init, _dl_init): Likewise.
4046 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4047 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
4048 _dl_map_object_from_fd, open_verify, open_path,
4049 _dl_map_object): Likewise.
4050 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4052 * elf/dl-minimal.c (__libc_memalign): Likewise.
4053 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4054 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4055 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4056 * elf/dl-sym.c (do_sym): Likewise.
4057 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
4058 _dl_tls_get_addr_soft): Likewise.
4059 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4060 * elf/dl-writev.h (_dl_writev): Likewise.
4061 * elf/ldconfig.c (search_dir): Likewise.
4062 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
4064 * elf/setup-vdso.h (setup_vdso): Likewise.
4065 * grp/compat-initgroups.c (compat_call): Likewise.
4066 * grp/fgetgrent.c (fgetgrent): Likewise.
4067 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4068 * grp/putgrent.c (putgrent): Likewise.
4069 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4071 * hurd/hurdinit.c: Likewise.
4072 * iconvdata/8bit-gap.c (struct): Likewise.
4073 * iconvdata/ansi_x3.110.c : Likewise.
4074 * iconvdata/big5.c : Likewise.
4075 * iconvdata/big5hkscs.c : Likewise.
4076 * iconvdata/cp1255.c: Likewise.
4077 * iconvdata/cp1258.c : Likewise.
4078 * iconvdata/cp932.c : Likewise.
4079 * iconvdata/euc-cn.c: Likewise.
4080 * iconvdata/euc-jisx0213.c : Likewise.
4081 * iconvdata/euc-jp.c: Likewise.
4082 * iconvdata/euc-jp-ms.c : Likewise.
4083 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4084 * iconvdata/gb18030.c : Likewise.
4085 * iconvdata/gbbig5.c (const): Likewise.
4086 * iconvdata/gbgbk.c: Likewise.
4087 * iconvdata/gbk.c : Likewise.
4088 * iconvdata/ibm1364.c : Likewise.
4089 * iconvdata/ibm930.c : Likewise.
4090 * iconvdata/ibm932.c: Likewise.
4091 * iconvdata/ibm933.c : Likewise.
4092 * iconvdata/ibm935.c : Likewise.
4093 * iconvdata/ibm937.c : Likewise.
4094 * iconvdata/ibm939.c : Likewise.
4095 * iconvdata/ibm943.c: Likewise.
4096 * iconvdata/iso_11548-1.c: Likewise.
4097 * iconvdata/iso-2022-cn.c : Likewise.
4098 * iconvdata/iso-2022-cn-ext.c : Likewise.
4099 * iconvdata/iso-2022-jp-3.c: Likewise.
4100 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4101 * iconvdata/iso-2022-kr.c : Likewise.
4102 * iconvdata/iso646.c (gconv_end): Likewise.
4103 * iconvdata/iso_6937-2.c : Likewise.
4104 * iconvdata/iso_6937.c : Likewise.
4105 * iconvdata/iso8859-1.c: Likewise.
4106 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4107 * iconvdata/shift_jisx0213.c : Likewise.
4108 * iconvdata/sjis.c : Likewise.
4109 * iconvdata/t.61.c : Likewise.
4110 * iconvdata/tcvn5712-1.c : Likewise.
4111 * iconvdata/tscii.c: Likewise.
4112 * iconvdata/uhc.c : Likewise.
4113 * iconvdata/unicode.c (gconv_end): Likewise.
4114 * iconvdata/utf-16.c (gconv_end): Likewise.
4115 * iconvdata/utf-32.c (gconv_end): Likewise.
4116 * iconvdata/utf-7.c (base64): Likewise.
4117 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4118 * iconv/gconv_close.c (__gconv_close): Likewise.
4119 * iconv/gconv_open.c (__gconv_open): Likewise.
4120 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
4121 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
4122 internal_ucs4le_loop_single, ucs4le_internal_loop,
4123 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
4124 * iconv/iconv.c (iconv): Likewise.
4125 * iconv/iconv_close.c: Likewise.
4126 * iconv/loop.c (SINGLE): Likewise.
4127 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4128 * include/atomic.h: Likewise.
4129 * inet/inet6_option.c (option_alloc): Likewise.
4130 * intl/bindtextdom.c (set_binding_values): Likewise.
4131 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4132 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4133 * intl/localealias.c (read_alias_file): Likewise.
4134 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4135 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
4136 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4137 * libio/fmemopen.c (fmemopen): Likewise.
4138 * libio/iofgets.c (_IO_fgets): Likewise.
4139 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4140 * libio/iofgetws.c (fgetws): Likewise.
4141 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4142 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4143 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
4144 adjust_wide_data, _IO_wfile_seekoff): Likewise.
4145 * locale/findlocale.c (_nl_find_locale): Likewise.
4146 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4147 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4149 * locale/setlocale.c (setlocale): Likewise.
4150 * login/programs/pt_chown.c (main): Likewise.
4151 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4152 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4153 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
4154 mmap, mmap64, mremap, munmap): Likewise.
4155 * math/e_exp2l.c: Likewise.
4156 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4157 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4158 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4159 * math/s_catan.c (__catan): Likewise.
4160 * math/s_catanf.c (__catanf): Likewise.
4161 * math/s_catanh.c (__catanh): Likewise.
4162 * math/s_catanhf.c (__catanhf): Likewise.
4163 * math/s_catanhl.c (__catanhl): Likewise.
4164 * math/s_catanl.c (__catanl): Likewise.
4165 * math/s_ccosh.c (__ccosh): Likewise.
4166 * math/s_ccoshf.c (__ccoshf): Likewise.
4167 * math/s_ccoshl.c (__ccoshl): Likewise.
4168 * math/s_cexp.c (__cexp): Likewise.
4169 * math/s_cexpf.c (__cexpf): Likewise.
4170 * math/s_cexpl.c (__cexpl): Likewise.
4171 * math/s_clog10.c (__clog10): Likewise.
4172 * math/s_clog10f.c (__clog10f): Likewise.
4173 * math/s_clog10l.c (__clog10l): Likewise.
4174 * math/s_clog.c (__clog): Likewise.
4175 * math/s_clogf.c (__clogf): Likewise.
4176 * math/s_clogl.c (__clogl): Likewise.
4177 * math/s_csin.c (__csin): Likewise.
4178 * math/s_csinf.c (__csinf): Likewise.
4179 * math/s_csinh.c (__csinh): Likewise.
4180 * math/s_csinhf.c (__csinhf): Likewise.
4181 * math/s_csinhl.c (__csinhl): Likewise.
4182 * math/s_csinl.c (__csinl): Likewise.
4183 * math/s_csqrt.c (__csqrt): Likewise.
4184 * math/s_csqrtf.c (__csqrtf): Likewise.
4185 * math/s_csqrtl.c (__csqrtl): Likewise.
4186 * math/s_ctan.c (__ctan): Likewise.
4187 * math/s_ctanf.c (__ctanf): Likewise.
4188 * math/s_ctanh.c (__ctanh): Likewise.
4189 * math/s_ctanhf.c (__ctanhf): Likewise.
4190 * math/s_ctanhl.c (__ctanhl): Likewise.
4191 * math/s_ctanl.c (__ctanl): Likewise.
4192 * math/w_pow.c: Likewise.
4193 * math/w_powf.c: Likewise.
4194 * math/w_powl.c: Likewise.
4195 * math/w_scalb.c (sysv_scalb): Likewise.
4196 * math/w_scalbf.c (sysv_scalbf): Likewise.
4197 * math/w_scalbl.c (sysv_scalbl): Likewise.
4198 * misc/error.c (error_tail): Likewise.
4199 * misc/pselect.c (__pselect): Likewise.
4200 * nis/nis_callback.c (__nis_create_callback): Likewise.
4201 * nis/nis_call.c (__nisfind_server): Likewise.
4202 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4203 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4204 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4205 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4206 * nis/nis_lookup.c (nis_lookup): Likewise.
4207 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4208 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
4209 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4210 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4211 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
4212 internal_getgrgid_r): Likewise.
4213 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
4215 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
4216 internal_getpwuid_r): Likewise.
4217 * nis/nss_compat/compat-spwd.c (getspent_next_file,
4218 internal_getspnam_r): Likewise.
4219 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
4220 _nss_nis_getaliasbyname_r): Likewise.
4221 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4222 _nss_nis_getntohost_r): Likewise.
4223 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4224 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4226 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4227 internal_nis_gethostent_r, internal_gethostbyname2_r,
4228 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4229 _nss_nis_gethostbyname4_r): Likewise.
4230 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4231 initgroups_netid): Likewise.
4232 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4233 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4234 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4235 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4236 _nss_nis_getprotobynumber_r): Likewise.
4237 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4238 _nss_nis_getsecretkey): Likewise.
4239 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4240 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4242 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4243 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4244 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4245 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4246 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4247 _nss_nis_getspnam_r): Likewise.
4248 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4250 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4251 _nss_nisplus_getntohost_r): Likewise.
4252 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4253 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4254 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4255 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4256 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4258 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4259 _nss_nisplus_getnetbyaddr_r): Likewise.
4260 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4261 _nss_nisplus_getprotobynumber_r): Likewise.
4262 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4263 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4264 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4266 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4267 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4268 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4269 _nss_nisplus_getspnam_r): Likewise.
4270 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4271 * nscd/aicache.c (addhstaiX): Likewise.
4272 * nscd/cache.c (cache_search, prune_cache): Likewise.
4273 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4274 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4275 * nscd/grpcache.c (addgrbyX): Likewise.
4276 * nscd/hstcache.c (addhstbyX): Likewise.
4277 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4278 * nscd/mem.c (gc, mempool_alloc): Likewise.
4279 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4281 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4283 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4284 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4285 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4287 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4288 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4289 * nscd/nscd_helper.c (__readvall, open_socket,
4290 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4291 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4292 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4293 * nscd/pwdcache.c (addpwbyX): Likewise.
4294 * nscd/selinux.c (preserve_capabilities): Likewise.
4295 * nscd/servicescache.c (addservbyX): Likewise.
4296 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4297 * posix/fnmatch.c (fnmatch): Likewise.
4298 * posix/getopt.c (_getopt_internal_r): Likewise.
4299 * posix/glob.c (glob, glob_in_dir): Likewise.
4300 * posix/wordexp.c (exec_comm_child): Likewise.
4301 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4302 gaih_getanswer_slice): Likewise.
4303 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4304 * resolv/res_init.c: Likewise.
4305 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4306 * resolv/res_query.c (__libc_res_nquery): Likewise.
4307 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4309 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4310 * stdio-common/perror.c (perror): Likewise.
4311 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4312 * stdio-common/tmpnam.c (tmpnam): Likewise.
4313 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4314 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4315 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4316 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4317 * stdlib/putenv.c (putenv): Likewise.
4318 * stdlib/setenv.c (__add_to_environ): Likewise.
4319 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4320 * stdlib/strtol_l.c (INTERNAL): Likewise.
4321 * string/memmem.c (memmem): Likewise.
4322 * string/strerror.c (strerror): Likewise.
4323 * string/strnlen.c (__strnlen): Likewise.
4324 * string/test-memmem.c (simple_memmem): Likewise.
4325 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4326 * sunrpc/pm_getport.c (__get_socket): Likewise.
4327 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4328 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4329 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4330 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4332 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4333 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4334 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4335 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4336 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4337 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4338 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4339 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4340 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4341 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4342 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4343 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4345 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4346 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4347 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4348 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4349 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4350 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4352 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4354 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4356 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4357 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4358 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4359 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4360 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4361 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4362 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4363 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4364 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4365 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4366 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4367 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4368 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4369 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4370 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4371 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4372 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4374 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4376 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4378 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4379 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4380 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4382 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4383 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4384 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4385 * sysdeps/posix/sleep.c: Likewise.
4386 * sysdeps/posix/tempname.c: Likewise.
4387 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4388 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4390 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4391 elf_machine_rela): Likewise.
4392 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4393 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4394 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4395 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4397 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4398 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4399 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4400 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4401 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4402 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4403 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4404 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4405 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4406 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4407 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4408 elf_machine_lazy_rel): Likewise.
4409 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4410 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4411 elf_machine_lazy_rel): Likewise.
4412 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4413 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4414 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4415 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4416 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4417 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4418 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4419 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4421 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4422 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4423 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4424 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4425 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4426 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4427 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4428 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4429 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4430 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4431 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4433 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4434 (__posix_fallocate64_l64): Likewise.
4435 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4436 (posix_fallocate): Likewise.
4437 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4438 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4439 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4440 getifaddrs_internal): Likewise.
4441 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4442 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4443 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4444 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4445 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4446 (__posix_fallocate64_l64): Likewise.
4447 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4449 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4450 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4452 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4453 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4454 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4455 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4456 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4457 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4458 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4459 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4461 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4462 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4463 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4464 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4465 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4466 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4467 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4469 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4470 (posix_fallocate): Likewise.
4471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4472 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4473 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4474 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4475 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4477 * time/asctime.c (asctime_internal): Likewise.
4478 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4479 * time/tzset.c (__tzset_parse_tz): Likewise.
4480 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4481 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4482 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4483 * wcsmbs/wcsmbsload.h: Likewise.
4485 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4488 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4490 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4492 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4493 arena_get2): Remove THREAD_STATS conditionals.
4494 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4495 __malloc_stats, int): Likewise.
4497 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4499 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4500 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4502 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4504 * manual/setjmp.texi: Fix typos/grammar errors.
4506 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4508 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4509 Only return early when n is <= 0. Delete unused return statement.
4511 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4513 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4514 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4515 * debug/tst-longjmp_chk3.c: New file.
4517 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4519 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4520 (test_main): Replace code with set_fortify_handler call.
4521 * debug/test-strcpy_chk.c: Likewise.
4522 * debug/tst-chk1.c: Likewise.
4523 * debug/tst-longjmp_chk.c: Likewise.
4524 * test-skeleton.c: Include fcntl.h & paths.h
4525 (set_fortify_handler): Define.
4527 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4529 * debug/tst-longjmp_chk.c: Add header comment and include
4531 (do_test): Mark static.
4532 (TEST_FUNCTION): Define.
4534 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4536 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4537 (IP_PMTUDISC_INTERFACE): Likewise.
4538 (IP_MULTICAST_IF): Likewise.
4539 (IP_MULTICAST_TTL): Likewise.
4540 (IP_MULTICAST_LOOP): Likewise.
4541 (IP_ADD_MEMBERSHIP): Likewise.
4542 (IP_DROP_MEMBERSHIP): Likewise.
4543 (IP_UNBLOCK_SOURCE): Likewise.
4544 (IP_BLOCK_SOURCE): Likewise.
4545 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4546 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4547 (IP_MSFILTER): Likewise.
4548 (MCAST_JOIN_GROUP): Likewise.
4549 (MCAST_BLOCK_SOURCE): Likewise.
4550 (MCAST_UNBLOCK_SOURCE): Likewise.
4551 (MCAST_LEAVE_GROUP): Likewise.
4552 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4553 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4554 (MCAST_MSFILTER): Likewise.
4555 (IP_MULTICAST_ALL): Likewise.
4556 (IP_UNICAST_IF): Likewise.
4558 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4560 * timezone/Makefile: Delete $(have-ksh) check.
4561 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4562 * timezone/tzselect.ksh: Add +x mode bits.
4564 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4566 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4567 (ANON_INODE_FS_MAGIC): Likewise.
4568 (BDEVFS_MAGIC): Likewise.
4569 (BINFMTFS_MAGIC): Likewise.
4570 (BTRFS_TEST_MAGIC): Likewise.
4571 (CRAMFS_MAGIC_WEND): Likewise.
4572 (DEBUGFS_MAGIC): Likewise.
4573 (ECRYPTFS_SUPER_MAGIC): Likewise.
4574 (EXT3_SUPER_MAGIC): Likewise.
4575 (EXT4_SUPER_MAGIC): Likewise.
4576 (FUTEXFS_SUPER_MAGIC): Likewise.
4577 (HOSTFS_SUPER_MAGIC): Likewise.
4578 (HUGETLBFS_MAGIC): Likewise.
4579 (MINIX3_SUPER_MAGIC): Likewise.
4580 (MTD_INODE_FS_MAGIC): Likewise.
4581 (NILFS_SUPER_MAGIC): Likewise.
4582 (OPENPROM_SUPER_MAGIC): Likewise.
4583 (PIPEFS_MAGIC): Likewise.
4584 (PSTOREFS_MAGIC): Likewise.
4585 (QNX6_SUPER_MAGIC): Likewise.
4586 (RAMFS_MAGIC): Likewise.
4587 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4588 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4589 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4590 (SECURITYFS_MAGIC): Likewise.
4591 (SELINUX_MAGIC): Likewise.
4592 (SMACK_MAGIC): Likewise.
4593 (SOCKFS_MAGIC): Likewise.
4594 (SQUASHFS_MAGIC): Likewise.
4595 (STACK_END_MAGIC): Likewise.
4596 (TMPFS_MAGIC): Likewise.
4597 (USBDEVICE_SUPER_MAGIC): Likewise.
4598 (V9FS_MAGIC): Likewise.
4599 (XENFS_SUPER_MAGIC): Likewise.
4600 (CRAMFS_MAGIC): Fix typo in comment.
4601 (EXT2_SUPER_MAGIC): Update comment.
4602 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4604 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4606 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4607 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4608 * sysdeps/unix/sysv/linux/arm: Move directory from
4609 ports/sysdeps/unix/sysv/linux/arm.
4610 * README: Update listing for arm-*-linux-gnueabi.
4612 * README: Remove mention of am33.
4614 2014-02-07 Roland McGrath <roland@hack.frob.com>
4616 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4617 than the comma operator, to avoid "rhs of comma has no effect"
4619 (__sigfillset, __sigandset, __sigorset): Likewise.
4620 * include/signal.h (__sigemptyset): Likewise.
4621 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4623 2014-02-07 Allan McRae <allan@archlinux.org>
4625 * version.h (RELEASE): Set to "development".
4626 (VERSION): Set to "2.19.90"
4627 * NEWS: Add 2.20 section.
4629 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4632 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4634 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4636 * manual/contrib.texi: Update entry for Carlos O'Donell,
4637 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4639 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4641 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4643 * sysdeps/unix/sysv/linux/kernel-features.h
4644 [__LINUX_KERNEL_VERSION >= 0x020621]
4645 (__ASSUME_PROC_PID_TASK_COMM): Define.
4647 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4650 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4651 conversion when destination buffer does not have enough space.
4652 * libio/tst-ftell-partial-wide.c: New test case.
4653 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4655 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4656 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4657 Leonard and Allan McRae.
4659 2014-02-04 David S. Miller <davem@davemloft.net>
4661 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4664 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4693 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4695 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4696 * shlib-versions: Likewise.
4698 2014-02-04 Roland McGrath <roland@hack.frob.com>
4699 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4701 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4702 (abilist-pattern): New variable, set to %-le.abilist.
4704 * Makerules (abilist-pattern): New variable.
4705 (vpath): Use $(abilist-pattern) in place of %.abilist.
4706 (check-abi-% pattern rule): Likewise.
4707 (check-abi, update-abi): Likewise.
4709 2014-02-04 Eric Wong <normalperson@yhbt.net>
4711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4713 2014-02-04 Eric Wong <normalperson@yhbt.net>
4715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4717 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4719 * manual/startup.texi: Add next, previous, and top entries for
4720 the `Program Arguments' and `Environment Variables' nodes.
4722 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4724 * manual/macros.texi: Add comments before MTASC-safety macros.
4726 * manual/users.texi: Document MTASC-safety properties.
4728 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4729 pthread_getspecific, pthread_setspecific): Format with
4730 @deftypefun, and add @safety note.
4731 * manual/signal.texi: Move comments that analyze the above
4732 functions to their home place.
4734 2014-02-03 Allan McRae <allan@archlinux.org>
4736 * po/sl.po: Update Slovenian translation from translation project.
4738 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4740 * manual/time.texi (timegm): Add missing blank after @c.
4741 Reported by Joseph Myers <joseph@codesourcery.com>.
4743 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4745 * manual/check-safety.sh: New.
4746 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4748 * manual/terminal.texi: Document MTASC-safety properties.
4750 * manual/filesys.texi: Document MTASC-safety properties.
4752 * manual/errno.texi: Document MTASC-safety properties.
4754 * manual/intro.texi: Document safety identifiers and
4757 * manual/string.texi (wcstok): Fix prototype.
4758 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4760 * manual/time.texi: Document MTASC-safety properties.
4762 * manual/string.texi: Document MTASC-safety properties.
4764 * manual/threads.texi: Document MTASC-safety properties.
4766 * manual/stdio.texi: Document MTASC-safety properties.
4768 * manual/syslog.texi: Document MTASC-safety properties.
4770 * manual/sysinfo.texi: Document MTASC-safety properties.
4772 * manual/startup.texi: Document MTASC-safety properties.
4774 * manual/socket.texi: Document MTASC-safety properties.
4776 * manual/signal.texi: Document MTASC-safety properties.
4778 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4780 * manual/setjmp.texi: Document MTASC-safety properties.
4782 * manual/search.texi: Document MTASC-safety properties.
4784 * manual/resource.texi: Document MTASC-safety properties.
4786 * manual/process.texi: Document MTASC-safety properties.
4788 * manual/platform.texi: Document MTASC-safety properties.
4790 * manual/pipe.texi: Document MTASC-safety properties.
4792 * manual/pattern.texi: Document MTASC-safety properties.
4794 * manual/message.texi: Document MTASC-safety properties.
4797 * manual/memory.texi: Document MTASC-safety properties.
4799 * manual/math.texi: Document MTASC-safety properties.
4801 * manual/locale.texi: Document MTASC-safety properties.
4803 * manual/llio.texi: Document MTASC-safety properties.
4805 * manual/libdl.texi: New.
4807 * manual/lang.texi: Document MTASC-safety properties.
4809 * manual/job.texi: Document MTASC-safety properties.
4811 * manual/getopt.texi: Document MTASC-safety properties.
4813 * manual/ctype.texi: Document MTASC-safety properties.
4815 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4818 * csu/libc-tls.c (static_map): Remove variable.
4819 (__libc_setup_tls): Use main executable's link map for TLS data.
4820 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4821 casing for LM_ID_BASE and GL(dl_nns).
4822 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4823 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4824 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4825 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4826 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4828 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4831 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4833 * manual/debug.texi: Document MTASC-safety properties.
4835 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4838 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4839 of __x86_64__ when disabling x87 inline functions.
4841 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4843 * manual/charset.texi: Document MTASC-safety properties.
4845 * manual/crypt.texi: Document MTASC-safety properties.
4847 * manual/conf.texi: Document MTASC-safety properties.
4849 * manual/arith.texi: Document MTASC-safety properties.
4851 * manual/argp.texi: Document MTASC-safety properties.
4853 * manual/macros.texi: Introduce macros to document multi
4854 thread, asynchronous signal and asynchronous cancellation
4856 * manual/intro.texi: Introduce the properties themselves.
4858 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4860 * sysdeps/sh/sh4/Makefile: New file.
4862 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4864 * math/gen-libm-test.pl ($srcdir): New variable.
4865 ($auto_input): Use it.
4867 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4870 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4871 access beyond array bounds when parsing netgroups file.
4873 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4874 the old buffer before realloc.
4876 2014-01-27 Allan McRae <allan@archlinux.org>
4878 * po/fr.po: Update French translation from translation project.
4880 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4882 * sysdeps/sh/libm-test-ulps: Regenerate.
4884 2014-01-24 David S. Miller <davem@davemloft.net>
4886 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4888 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4890 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4891 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4893 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4896 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4897 string pointers after reallocation.
4899 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4901 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4902 __SH4A__ instead of __SH_FPU_ANY__.
4904 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4906 * sysdeps/sh/fpu_control.h: New file.
4907 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4908 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4909 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4910 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4911 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4912 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4913 * sysdeps/sh/sys/ucontext.h: Remove.
4914 * sysdeps/sh/sys: Remove directory.
4916 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4918 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4919 s390/sys/ucontext.h.
4920 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4921 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4923 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4926 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4928 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4931 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4932 Adjust the vDSO correctly for internal calls.
4933 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4935 2014-01-20 Allan McRae <allan@archlinux.org>
4937 * po/ca.po: Update Catalan translation from translation project.
4939 2014-01-16 Mike Frysinger <vapier@gentoo.org>
4941 * sysdeps/s390/sotruss-lib.c: New file.
4943 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4946 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4947 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4948 local calls issues by not having a PLT stub required for IFUNC calls.
4949 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4951 2014-01-16 Joseph Myers <joseph@codesourcery.com>
4953 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4954 * math/test-fpucw-static.c: Likewise.
4956 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4959 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4961 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4963 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4964 implementation for powerpc.
4966 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
4969 * sysdeps/posix/system.c (__libc_system): Do not enable
4970 asynchronous cancellation.
4972 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4975 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4976 handling only for numbers special also in the IEEE case.
4978 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4980 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4982 2014-01-11 Allan McRae <allan@archlinux.org>
4984 * po/bg.po: Update Bulgarian translation from translation project.
4986 * po/de.po: Update German translation from translation project.
4988 2014-01-10 Roland McGrath <roland@hack.frob.com>
4990 * sysdeps/generic/gcc-compat.h: New file.
4992 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4994 * benchtests/asin-inputs: Correct slow inputs.
4995 * benchtests/acos-inputs: Likewise.
4997 2014-01-10 Allan McRae <allan@archlinux.org>
4999 * po:sv.po: Update Swedish translation from translation project.
5001 * po/vi.po: Update Vietnamese translation from translation project.
5003 * po/eo.po: Update Esperanto translation from translation project.
5005 * po/cs.po: Update Czech translation from translation project.
5007 * po/nl.po: Update Dutch translation from translation project.
5009 * po/pl.po: Update Polish translation from translation project.
5011 * po/ru.po: Update Russian translation from translation project.
5013 * po/uk.po: Update Ukrainian translation from translation project.
5015 2014-01-08 Brooks Moses <bmoses@google.com>
5017 * elf/dl-load.c: Fix comment typo.
5019 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5021 * po/header.pot: Rename to...
5022 * po/pot.header: ... this.
5023 * po/Makefile: Use pot.header.
5025 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5026 Maxim Kuvyrkov <maxim@kugelworks.com>
5029 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5030 SRC and DEST against LEN.
5032 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5035 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5037 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5039 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5043 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5046 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5047 for large positive arguments.
5049 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5051 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5053 * math/auto-libm-test-in: Mark various tests with
5054 xfail-rounding:ldbl-128ibm.
5055 * math/auto-libm-test-out: Regenerated.
5058 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5059 Increase overflow threshold.
5061 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5064 * stdio-common/vfprintf.c: Check for integer overflow.
5066 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5068 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5069 the first argument and return value of __tls_get_addr_internal.
5071 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5073 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5074 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5076 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5078 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5079 * sysdeps/s390/rtld-global-offsets.sym: New file.
5080 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5082 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5083 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5084 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5086 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5087 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5093 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5094 halfs of GPRs for high_gprs contexts.
5095 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5096 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5098 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5100 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5102 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5103 for high GPRs (uc_high_gprs) and for future extensions
5105 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5106 for future extensions (__reserved).
5107 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5109 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5110 SC_HIGHGPRS offset definition.
5111 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5112 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5114 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5116 * Versions.def: Add GLIBC_2.19 for libpthread.
5117 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5118 siglongjmp for libpthread with GLIBC_2.19 symver.
5119 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5120 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5121 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5122 * sysdeps/s390/__longjmp.c: New file.
5123 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5124 * sysdeps/s390/longjmp.c: New file.
5125 * sysdeps/s390/setjmp.S: New file.
5126 * sysdeps/s390/sigjmp.S: New file.
5127 * sysdeps/s390/v1-longjmp.c: New file.
5128 * sysdeps/s390/v1-setjmp.h: New file.
5129 * sysdeps/s390/v1-sigjmp.c: New file.
5130 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5131 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5133 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5134 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5135 versioned symbols for ____longjmp_chk.
5136 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5146 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5147 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5148 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5149 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5150 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5151 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5152 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5153 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5154 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5155 * sysdeps/s390/rtld-__longjmp.c: New file.
5156 * sysdeps/s390/rtld-setjmp.S: New file.
5158 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5161 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5162 Return -__logl (x) for small positive arguments without evaluating
5165 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5167 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5169 (__ptrace_peeksiginfo_args): ... this.
5170 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5171 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5172 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5174 2014-01-06 Allan McRae <allan@archlinux.org>
5176 * inet/netinet/in.h: Fix typo in comment.
5178 2014-01-05 Andreas Jaeger <aj@suse.de>
5180 * sysdeps/i386/fpu/libm-test-ulps: Update.
5182 2014-01-05 Allan McRae <allan@archlinux.org>
5184 * po/libc.pot: Regenerated.
5186 * malloc/memusagestat.c: Fix gettext call formatting.
5188 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5190 * nscd/nscd.c: Improve usage() output.
5192 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5194 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5195 * sysdeps/unix/sysv/linux/configure: Regenerated.
5196 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5197 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5199 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5202 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5203 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5205 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5207 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5208 extra tokens at end of #undef directive.
5209 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5210 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5211 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5213 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5215 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5217 * math/auto-libm-test-in: Mark various tests with
5218 xfail-rounding:ldbl-128ibm.
5219 * math/auto-libm-test-out: Regenerated.
5221 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5224 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5225 numbers with subnormal high part when calculating exponent.
5228 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5232 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5234 (__ieee754_acoshl): Use __log1pl not __log1p.
5236 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5238 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5239 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5240 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5241 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5242 Convert to GNU style.
5243 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5244 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5245 memalign_check, __malloc_set_state): Likewise.
5246 * malloc/mallocbug.c (main): Likewise.
5247 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5248 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5249 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5250 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5251 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5252 * malloc/malloc.h: Likewise.
5253 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5254 memalignhook, reallochook, mabort): Likewise.
5255 * malloc/mcheck.h: Likewise.
5256 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5257 mmap64, mremap, munmap, dest): Likewise.
5258 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5259 * malloc/morecore.c (__default_morecore): Likewise.
5260 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5261 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5262 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5263 print_and_abort): Likewise.
5264 * malloc/obstack.h: Likewise.
5265 * malloc/set-freeres.c (__libc_freeres): Likewise.
5266 * malloc/tst-mallocstate.c (main): Likewise.
5267 * malloc/tst-mtrace.c (main): Likewise.
5268 * malloc/tst-realloc.c (do_test): Likewise.
5270 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5273 * nscd/netgroupcache.c (do_notfound): New function.
5274 (addgetnetgrentX): Use it.
5277 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5278 NSS_STATUS_NOTFOUND.
5280 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5282 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5285 2014-01-01 Allan McRae <allan@archlinux.org>
5287 * scripts/update-copyrights: Update configure input file suffix.
5289 * NEWS: Update copyright year.
5290 * catgets/gencat.c: Likewise.
5291 * csu/version.c: Likewise.
5292 * debug/catchsegv.sh: Likewise.
5293 * debug/pcprofiledump.c: Likewise.
5294 * debug/xtrace.sh: Likewise.
5295 * elf/ldconfig.c: Likewise.
5296 * elf/ldd.bash.in: Likewise.
5297 * elf/pldd.c: Likewise.
5298 * elf/sotruss.ksh: Likewise.
5299 * elf/sprof.c: Likewise.
5300 * iconv/iconv_prog.c: Likewise.
5301 * iconv/iconvconfig.c: Likewise.
5302 * locale/programs/locale.c: Likewise.
5303 * locale/programs/localedef.c: Likewise.
5304 * login/programs/pt_chown.c: Likewise.
5305 * malloc/memusage.sh: Likewise.
5306 * malloc/memusagestat.c: Likewise.
5307 * malloc/mtrace.pl: Likewise.
5308 * manual/libc.texinfo: Likewise.
5309 * nscd/nscd.c: Likewise.
5310 * nss/getent.c: Likewise.
5311 * nss/makedb.c: Likewise.
5312 * posix/getconf.c: Likewise.
5313 * scripts/test-installation.pl: Likewise.
5315 * All files with FSF copyright notices: Update copyright dates
5316 using scripts/update-copyrights.
5317 * intl/plural.c: Regenerated.
5318 * locale/programs/charmap-kw.h: Likewise.
5319 * locale/programs/locfile-kw.h: Likewise.
5321 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5323 * sysdeps/unix/sysv/linux/configure: Regenerated.
5324 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5325 the linux/fanotify.h header.
5326 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5327 HAVE_LINUX_FANOTIFY_H is defined.
5329 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5331 * benchtests/cos-inputs: New inputs.
5332 * benchtests/sin-inputs: Likewise.
5334 * benchtests/atan-inputs: New inputs. Fix name of multiple
5335 precision fallback inputs.
5337 * benchtests/atanh-inputs: New inputs.
5338 * benchtests/tanh-inputs: Likewise.
5340 * benchtests/acosh-inputs: New inputs.
5341 * benchtests/asinh-inputs: Likewise.
5343 * benchtests/cosh-inputs: New inputs.
5344 * benchtests/sinh-inputs: Likewise.
5346 * benchtests/acos-inputs: Add more inputs.
5347 * benchtests/asin-inputs: Likewise.
5349 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5352 * manual/arith.texi: Fix spelling.
5353 * manual/charset.texi: Likewise.
5354 * manual/errno.texi: Likewise.
5355 * manual/filesys.texi: Likewise.
5356 * manual/lang.texi: Likewise.
5357 * manual/llio.texi: Likewise.
5358 * manual/locale.texi: Likewise.
5359 * manual/message.texi: Likewise.
5360 * manual/resource.texi: Likewise.
5361 * manual/search.texi: Likewise.
5362 * manual/setjmp.texi: Likewise.
5363 * manual/stdio.texi: Likewise.
5364 * manual/string.texi: Likewise.
5365 * manual/sysinfo.texi: Likewise.
5366 * manual/time.texi: Likewise.
5368 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5370 * po/sl.po: New file.
5372 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5374 * .gitignore: Add core/.gdbinit/.gdb_history.
5376 2013-12-27 Allan McRae <allan@archlinux.org>
5379 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5380 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5382 2013-12-24 Brooks Moses <bmoses@google.com>
5384 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5385 all compilers that claim C++98 compliance, not just GCC.
5386 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5389 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5391 * NEWS: Restore accidentally deleted bug-fix entries.
5393 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5394 Ondřej Bílka <neleai@seznam.cz>
5397 * malloc/malloc.c (_int_free): Perform sanity check only if we
5400 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5403 * manual/stdio.texi (String Input Conversions): Clarify that character
5404 classes are not supported.
5406 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5410 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5413 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5414 Calculate results for small negative arguments directly rather
5415 than using reflection formula with special underflow handling.
5417 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5418 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5419 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5420 (fchflags): Likewise.
5422 (setlogin): Likewise.
5423 (sigaltstack): Likewise.
5426 (sigsetmask): Likewise.
5428 (waitpid): Likewise.
5429 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5430 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5432 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5433 * sysdeps/unix/bsd/Makefile: ... here.
5434 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5435 * sysdeps/unix/bsd/Versions: ... here.
5436 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5437 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5438 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5439 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5440 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5441 * sysdeps/unix/bsd/sigblock.c: ... here.
5442 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5443 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5444 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5445 * sysdeps/unix/bsd/sigvec.c: ... here.
5446 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5447 * sysdeps/unix/bsd/tcdrain.c: ... here.
5448 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5449 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5450 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5451 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5452 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5453 * sysdeps/unix/bsd/wait.c: ... here.
5454 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5455 * sysdeps/unix/bsd/wait3.c: ... here.
5456 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5457 * sysdeps/unix/bsd/waitpid.c: ... here.
5459 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5462 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5463 round-to-nearest for [!USE_AS_EXPM1L].
5464 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5465 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5466 more tests of exp and exp10. Expect some exp10 tests to miss
5467 exceptions or fail in directed rounding modes.
5468 * math/auto-libm-test-out: Regenerated.
5469 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5470 (exp10_test_tonearest): New function.
5471 (exp10_towardzero_test_data): New array.
5472 (exp10_test_towardzero): New function.
5473 (exp10_downward_test_data): New array.
5474 (exp10_test_downward): New function.
5475 (exp10_upward_test_data): New array.
5476 (exp10_test_upward): New function.
5477 (main): Call the new functions.
5478 * sysdeps/i386/fpu/libm-test-ulps: Update.
5479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5481 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5483 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5484 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5485 * math/auto-libm-test-out: Regenerated.
5486 * math/libm-test.inc (acosh_test_data): Add more tests.
5487 (atanh_test_data): Likewise.
5488 (ceil_test_data): Likewise.
5489 (copysign_test_data): Likewise.
5490 * sysdeps/i386/fpu/libm-test-ulps: Update.
5491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5493 * timezone/checktab.awk: Update from tzcode 2013i.
5494 * timezone/private.h: Likewise.
5495 * timezone/scheck.c: Likewise.
5496 * timezone/tzfile.h: Likewise.
5497 * timezone/tzselect.ksh: Likewise.
5498 * timezone/zdump.c: Likewise.
5499 * timezone/zic.c: Likewise.
5501 * math/auto-libm-test-in: Add tests of cpow.
5502 * math/auto-libm-test-out: Regenerated.
5503 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5504 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5506 (func_calc_desc): Add mpc_cc_c union field.
5507 (test_functions): Add cpow.
5508 (special_fill_2pi): New function.
5509 (special_real_inputs): Add 2pi.
5510 (calc_generic_results): Handle mpc_cc_c.
5511 * sysdeps/i386/fpu/libm-test-ulps: Update.
5512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5514 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5515 csqrt, ctan and ctanh.
5516 * math/auto-libm-test-out: Regenerated.
5517 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5518 (TEST_COND_x86): Likewise.
5519 (ccos_test_data): Use AUTO_TESTS_c_c.
5520 (ccosh_test_data): Likewise.
5521 (cexp_test_data): Likewise.
5522 (clog_test_data): Likewise.
5523 (csqrt_test_data): Likewise.
5524 (ctan_test_data): Likewise.
5525 (ctan_tonearest_test_data): Likewise.
5526 (ctan_towardzero_test_data): Likewise.
5527 (ctan_downward_test_data): Likewise.
5528 (ctan_upward_test_data): Likewise.
5529 (ctanh_test_data): Likewise.
5530 (ctanh_tonearest_test_data): Likewise.
5531 (ctanh_towardzero_test_data): Likewise.
5532 (ctanh_downward_test_data): Likewise.
5533 (ctanh_upward_test_data): Likewise.
5534 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5536 (func_calc_desc): Add mpc_c_c union field.
5537 (FUNC_mpc_c_c): New macro.
5538 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5539 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5541 (special_fill_min_subnorm_p120): New function.
5542 (special_real_inputs): Add min_subnorm_p120.
5543 (calc_generic_results): Handle mpc_c_c.
5544 * sysdeps/i386/fpu/libm-test-ulps: Update.
5545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5547 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5549 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5550 do_sin_slow): New functions.
5551 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5552 cslow2, csloww1, csloww2): Use the new functions.
5554 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5555 Use M to change sign of result instead of X. Assume X is
5557 (csloww1): Likewise.
5561 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5566 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5568 (sloww1): Don't adjust sign of DX.
5569 (csloww1): Likewise.
5570 (sloww2): Use X directly and don't adjust sign of DX.
5571 (csloww2): Likewise.
5573 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5575 * math/auto-libm-test-in: Add tests of cabs and carg.
5576 * math/auto-libm-test-out: Regenerated.
5577 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5578 (carg_test_data): Likewise.
5579 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5581 (func_calc_desc): Add mpc_c_f union field.
5582 (test_functions): Add cabs and carg.
5583 (calc_generic_results): Handle mpc_c_f.
5585 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5586 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5587 as a macro and a compat symbol.
5588 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5589 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5590 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5591 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5592 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5593 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5595 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5597 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5599 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5601 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5603 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5605 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5606 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5609 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5613 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5615 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5616 trailing whitespace removed.
5617 * scripts/config.guess: Update to version 2013-11-29.
5618 * scripts/config.sub: Update to version 2013-10-01.
5620 * math/auto-libm-test-in: Add tests of sincos.
5621 * math/auto-libm-test-out: Regenerated.
5622 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5623 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5625 (func_calc_desc): Add mpfr_f_11 union field.
5626 (test_functions): Add sincos.
5627 (calc_generic_results): Handle mpfr_f_11.
5628 * sysdeps/i386/fpu/libm-test-ulps: Update.
5629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5631 2013-12-19 Andreas Schwab <schwab@suse.de>
5633 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5635 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5636 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5637 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5639 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5641 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5642 * sysdeps/i386/fpu/libm-test-ulps: Update.
5643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5646 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5647 round-to-nearest mode when using frndint.
5648 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5649 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5650 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5652 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5654 * math/auto-libm-test-out: Regenerated.
5655 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5656 (TEST_COND_x86): Likewise.
5657 (expm1_tonearest_test_data): New array.
5658 (expm1_test_tonearest): New function.
5659 (expm1_towardzero_test_data): New array.
5660 (expm1_test_towardzero): New function.
5661 (expm1_downward_test_data): New array.
5662 (expm1_test_downward): New function.
5663 (expm1_upward_test_data): New array.
5664 (expm1_test_upward): New function.
5665 (main): Run the new test functions.
5666 * sysdeps/i386/fpu/libm-test-ulps: Update.
5667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5669 * include/features.h: Update comment documenting feature test
5670 macros. Mention _DEFAULT_SOURCE in comment.
5671 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5672 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5673 _BSD_SOURCE and _SVID_SOURCE.
5674 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5675 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5676 !_SVID_SOURCE]: Likewise.
5677 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5678 (__USE_POSIX_IMPLICITLY): Define.
5679 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5680 (_POSIX_SOURCE): Undefine and redefine.
5681 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5682 (_POSIX_C_SOURCE): Likewise.
5683 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5684 (Feature Test Macros): Update documentation of default features.
5686 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5688 * benchtests/Makefile: Add bench-strtok.
5689 * benchtests/bench-strtok.c: New file: strtok benchtest.
5691 2013-12-19 Allan McRae <allan@archlinux.org>
5693 * manual/install.texi: Suppress menu for plain text output.
5694 * INSTALL: Regenerated.
5696 2013-12-18 Brooks Moses <bmoses@google.com>
5699 * misc/getauxval.c: Include errno.h.
5700 (__getauxval): Set errno to ENOENT if the requested type is not
5702 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5703 don't declare with __attribute_const__.
5704 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5705 * manual/startup.texi: Document that getauxval sets errno.
5707 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5709 * math/auto-libm-test-in: Add tests of jn and yn.
5710 * math/auto-libm-test-out: Regenerated.
5711 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5712 (yn_test_data): Likewise.
5713 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5715 (func_calc_desc): Add mpfr_if_f union field.
5716 (FUNC_mpfr_if_f): New macro.
5717 (test_functions): Add jn and yn.
5718 (calc_generic_results): Assert type of second input for
5719 mpfr_ff_f. Handle mpfr_if_f.
5720 (output_for_one_input_case): Disable all checking for arguments
5721 fitting floating-point types in case of an integer argument.
5722 * sysdeps/i386/fpu/libm-test-ulps: Update.
5723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5726 Don't expect fegetround reference in libm.so.
5728 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5730 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5731 $(config-cflags-nofma).
5733 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5735 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5736 * math/auto-libm-test-out: Regenerated.
5739 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5740 to determine exponent and adjust argument to have exponent of -1.
5741 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5743 * math/auto-libm-test-out: Regenerated.
5744 * sysdeps/i386/fpu/libm-test-ulps: Update.
5745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5747 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5749 * manual/probes.texi: Remove cases when per-thread arenas are
5752 2013-12-18 Andreas Schwab <schwab@suse.de>
5754 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5755 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5756 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5757 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5758 * sysdeps/i386/i686/multiarch/Makefile: Update.
5759 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5761 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5763 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5764 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5766 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5769 Support TZ transition times < 00:00:00.
5770 This is needed for version-3 tz-format files; it supports time
5771 stamps past 2037 for America/Godthab (the only entry in the tz
5772 database for which this change is relevant).
5773 * manual/time.texi (TZ Variable): Document transition times
5774 from -167:59:59 through -00:00:01.
5775 * time/tzset.c (tz_rule): Time of day is now signed.
5776 (__tzset_parse_tz): Parse negative time of day.
5778 Document TZ transition times >= 25:00:00.
5779 * manual/time.texi (TZ Variable): Document transition times from
5780 25:00:00 through 167:59:59. These are already supported, and this
5781 support will help with version-3 tz-format files.
5783 * manual/time.texi (TZ Variable): Modernize North America example
5784 to reflect current (i.e., 2007-and-later) daylight saving rules.
5786 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5788 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5790 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5791 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5792 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5793 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5794 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5795 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5796 * sysdeps/unix/bsd/clock.c: Likewise.
5797 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5798 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5799 * sysdeps/unix/bsd/init-posix.c: Likewise.
5800 * sysdeps/unix/bsd/poll.c: Likewise.
5801 * sysdeps/unix/bsd/ptsname.c: Likewise.
5802 * sysdeps/unix/bsd/seekdir.c: Likewise.
5803 * sysdeps/unix/bsd/setegid.c: Likewise.
5804 * sysdeps/unix/bsd/seteuid.c: Likewise.
5805 * sysdeps/unix/bsd/setgid.c: Likewise.
5806 * sysdeps/unix/bsd/setrgid.c: Likewise.
5807 * sysdeps/unix/bsd/setruid.c: Likewise.
5808 * sysdeps/unix/bsd/setsid.c: Likewise.
5809 * sysdeps/unix/bsd/setuid.c: Likewise.
5810 * sysdeps/unix/bsd/sigaction.c: Likewise.
5811 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5812 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5813 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5814 * sysdeps/unix/bsd/telldir.c: Likewise.
5815 * sysdeps/unix/bsd/times.c: Likewise.
5816 * sysdeps/unix/bsd/usleep.c: Likewise.
5818 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5819 ($(objpfx)libbsd-compat.a): Remove rule.
5821 * include/features.h (__FAVOR_BSD): Do not define.
5822 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5823 features conflicting with POSIX.
5824 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5825 (_BSD_SOURCE): Remove description of not being a subset of other
5826 feature test macros.
5827 * manual/job.texi (getpgrp): Do not document BSD version.
5828 (getpgid): Do not document by reference to BSD getpgrp.
5829 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5830 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5831 * signal/signal.h [__FAVOR_BSD]: Likewise.
5832 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5833 instead of making contents conditional on [__FAVOR_BSD].
5834 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5836 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5840 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5843 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5844 values below 2**-450, not 2**-500.
5845 * math/auto-libm-test-in: Don't allow spurious underflow from
5847 * math/auto-libm-test-out: Regenerated.
5851 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5852 values of ha and hb and sort them after adjusting subnormal
5854 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5856 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5857 values of ea and eb and sort them after adjusting subnormal
5859 * math/auto-libm-test-in: Do not expect some hypot tests of
5860 subnormals to fail. Add more hypot tests.
5861 * math/auto-libm-test-out: Regenerated.
5863 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5866 * sysdeps/sh/s_fma.c: New file.
5867 * sysdeps/sh/s_fmaf.c: New file.
5868 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5870 * sysdeps/sh/Implies: Add sh/soft-fp.
5872 2013-12-16 Roland McGrath <roland@hack.frob.com>
5874 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5875 level of indirection to members `objname', `errstring', `malloced'.
5876 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5877 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5878 it as the __longjmp argument (just pass 1 instead).
5879 (_dl_catch_error): Initialize C with argument pointers and address of
5880 volatile local ERRCODE rather than copying values out of C at return.
5882 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5884 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5885 * math/auto-libm-test-out: Regenerated.
5886 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5887 (hypot_test_data): Likewise.
5888 (pow_test_data): Likewise.
5889 (pow_tonearest_test_data): Likewise.
5890 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5892 (func_calc_desc): Add mpfr_ff_f union field.
5893 (FUNC_mpfr_ff_f): New macro.
5894 (test_functions): Add atan2, hypot and pow.
5895 (special_fill_min): New function.
5896 (special_fill_minus_min): Likewise.
5897 (special_fill_min_subnorm): Likewise.
5898 (special_fill_minus_min_subnorm): Likewise.
5899 (special_real_inputs): Add min, -min, min_subnorm and
5901 (calc_generic_results): Handle mpfr_ff_f.
5902 * sysdeps/i386/fpu/libm-test-ulps: Update.
5903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5905 2013-12-16 Will Newton <will.newton@linaro.org>
5907 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5908 (Aligned Memory Blocks): Add documentation for aligned_alloc
5909 and suggest it as an alternative to posix_memalign.
5910 (Hooks for Malloc): Document __memalign_hook is also called
5911 for aligned_alloc. (Summary of Malloc): Add summary for
5912 aligned alloc. Document __memalign_hook is also called
5915 2013-12-16 Will Newton <will.newton@linaro.org>
5917 * manual/memory.texi (Malloc Examples): Clarify default
5918 alignment documentation. Suggest posix_memalign rather
5919 than memalign or valloc.
5920 (Aligned Memory Blocks): Remove suggestion to use memalign
5921 or valloc. Remove obsolete comment about BSD.
5922 Document memalign errno values and mark the function obsolete.
5923 Document posix_memalign returned error codes. Mark valloc
5924 as obsolete. (Hooks for Malloc): __memalign_hook is also
5925 called for posix_memalign and valloc.
5926 (Summary of Malloc): Add posix_memalign to function summary.
5927 __memalign_hook is also called for posix_memalign and valloc.
5929 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5931 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5935 (sloww): Use mynumber union. Expand ternary operator into
5937 (cslow): use mynumber union.
5939 2013-12-16 Allan McRae <allan@archlinux.org>
5941 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5942 * configure: Regenerated.
5944 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5947 * configure.ac: Added --enable-maintainer-mode. Check for
5948 autoconf when enabled.
5949 * configure: Regenerated.
5951 * nscd/nscd.service: New file.
5952 * nscd/nscd.tmpfiles: New file.
5954 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
5957 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5958 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5959 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5960 (strstr): Add __strstr_sse2_unaligned ifunc.
5961 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5962 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5963 (strcasestr): Remove __strcasestr_sse42 ifunc.
5964 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5965 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5966 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5968 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5970 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5971 * sysdeps/sh/bits/fenv.h: ... here.
5972 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5974 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5976 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5978 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5980 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5981 hypotf multiarch implementations.
5982 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5983 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5984 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5985 multiarch hypot for PPC64.
5986 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5987 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5988 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5989 multiarch hypotf for PPC64.
5991 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5993 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5994 modff multiarch implementations.
5995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5998 multiarch modf for PPC64.
5999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6002 multiarch modff for PPC64.
6004 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6006 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6007 and logl multiarch implementations.
6008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6011 multiarch logb for PPC64.
6012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6015 multiarch logb for PPC64.
6016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6019 multiarch logb for PPC64.
6021 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6023 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6024 isinff multiarch implementation.
6025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6029 multiarch isinf for PPC64.
6030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6033 multiarch isinff for PPC64.
6035 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6037 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6038 finitef multiarch implementation.
6039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6043 multiarch finite for PPC64.
6044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6047 multiarch finitef for PPC64.
6049 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6051 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6052 lrint multiarch implementation.
6053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6057 multiarch llrint for PPC64.
6058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6059 multiarch lrint for PPC64.
6061 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6063 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6064 copysignf multiarch implementation.
6065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6070 multiarch copysign for PPC64.
6071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6072 multiarch copysignf for PPC64.
6074 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6076 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6077 multiarch implementation.
6078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6086 multiarch llround for PPC64.
6087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6088 multiarch trunc for PPC64.
6089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6090 multiarch truncf for PPC64.
6092 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6095 multiarch implementation.
6096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6104 multiarch llround for PPC64.
6105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6106 multiarch round for PPC64.
6107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6108 multiarch roundf for PPC64.
6110 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6112 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6113 multiarch implementation.
6114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6122 multiarch llround for PPC64.
6123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6124 multiarch floor for PPC64.
6125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6126 multiarch floorf for PPC64.
6128 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6130 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6131 multiarch implementation.
6132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6140 multiarch llround for PPC64.
6141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6142 multiarch ceil for PPC64.
6143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6144 multiarch ceilf for PPC64.
6146 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6148 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6149 multiarch implementation.
6150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6157 multiarch llround for PPC64.
6158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6159 multiarch lround for PPC64.
6161 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6163 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6164 multiarch implementation.
6165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6172 multiarch isnan for PPC64.
6173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6174 multiarch isnanf for PPC64.
6176 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6178 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6179 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6180 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6181 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6182 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6185 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6187 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6188 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6189 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6190 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6192 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6194 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6195 multiarch implementations.
6196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6197 (__libc_ifunc_impl_list): Likewise.
6198 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6199 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6200 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6201 multiarch stpcpy for PPC64.
6203 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6206 multiarch implementations.
6207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6208 (__libc_ifunc_impl_list): Likewise.
6209 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6210 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6211 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6212 multiarch strcpy for PPC64.
6214 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6216 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6217 redefine function name.
6218 (_wordcopy_fwd_dest_aligned): Likewise.
6219 (_wordcopy_bwd_aligned): Likewise.
6220 (_wordcopy_bwd_dest_aligned): Likewise.
6221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6222 multiarch implementations.
6223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6224 (__libc_ifunc_impl_list): Likewise.
6225 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6226 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6227 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6228 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6229 multiarch wcscpy for PPC64.
6231 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6233 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6234 multiarch implementations.
6235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6236 (__libc_ifunc_impl_list): Likewise.
6237 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6238 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6239 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6240 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6241 multiarch wcscpy for PPC64.
6243 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6245 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6246 multiarch implementations.
6247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6248 (__libc_ifunc_impl_list): Likewise.
6249 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6250 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6251 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6252 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6253 multiarch wcsrchr for PPC64.
6255 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6257 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6258 multiarch implementations.
6259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6260 (__libc_ifunc_impl_list): Likewise.
6261 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6262 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6263 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6264 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6265 multiarch wcschr for PPC64.
6267 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6270 multiarch implementations.
6271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6272 (__libc_ifunc_impl_list): Likewise.
6273 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6274 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6275 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6276 multiarch strchrnul for PPC64.
6278 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6283 (__libc_ifunc_impl_list): Likewise.
6284 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6285 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6286 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6287 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6290 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6295 (__libc_ifunc_impl_list): Likewise.
6296 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6297 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6298 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6299 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6302 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6304 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6305 multiarch implementations.
6306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6307 (__libc_ifunc_impl_list): Likewise.
6308 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6309 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6310 strncasecmp for PPC64.
6311 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6312 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6313 multiarch strncasecmp_l for PPC64.
6315 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6317 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6318 multiarch implementations.
6319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6320 (__libc_ifunc_impl_list): Likewise.
6321 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6322 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6323 multiarch strcasecmp for PPC64.
6324 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6326 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6327 multiarch strcasecmp_l for PPC64.
6329 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6334 (__libc_ifunc_impl_list): Likewise.
6335 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6336 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6337 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6340 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6345 (__libc_ifunc_impl_list): Likewise.
6346 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6347 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6348 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6351 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6356 (__libc_ifunc_impl_list): Likewise.
6357 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6358 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6359 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6360 rawmemrchr for PPC64.
6362 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6364 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6366 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6367 (__libc_ifunc_impl_list): Likewise.
6368 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6369 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6370 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6373 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6375 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6378 (__libc_ifunc_impl_list): Likewise.
6379 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6380 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6381 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6384 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6386 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6388 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6389 (__libc_ifunc_impl_list): Likewise.
6390 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6391 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6392 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6395 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6397 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6398 avoid cretion of __bzero symbol.
6399 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6401 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6403 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6405 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6406 multiarch implementations.
6407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6408 (__libc_ifunc_impl_list): Likewise.
6409 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6410 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6411 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6412 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6414 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6415 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6416 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6417 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6418 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6420 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6422 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6424 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6428 (__libc_ifunc_impl_list): Likewise.
6429 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6430 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6431 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6432 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6435 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6437 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6438 multiarch for POWER/PPC64.
6439 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6440 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6441 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6442 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6443 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6444 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6445 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6446 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6447 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6450 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6452 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6453 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6454 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6455 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6456 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6457 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6458 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6459 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6460 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6461 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6462 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6463 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6464 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6465 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6466 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6475 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6477 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6479 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6481 * benchtests/Makefile (bench): Add exp2 and log2.
6482 (LDLIBS-bench-exp2): Add -lm.
6483 (LDLIBS-bench-log2): Likewise.
6484 * benchtests/exp2-inputs: New inputs file.
6485 * benchtests/log2-inputs: New inputs file.
6486 * benchtests/log-inputs: Add new inputs.
6487 * benchtests/tan-inputs: Likewise.
6489 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6491 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6493 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6494 csloww1, csloww2): ... from here.
6496 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6497 instead of structures.
6498 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6499 (POLYNOMIAL): Likewise.
6500 (TAYLOR_SLOW): Likewise.
6508 (bsloww1): Likewise.
6509 (bsloww2): Likewise.
6512 (csloww1): Likewise.
6513 (csloww2): Likewise.
6515 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6517 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6518 (__malloc_assert, __libc_realloc, __libc_calloc,
6519 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6521 * malloc/hooks.c (realloc_check): Likewise.
6523 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6525 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6526 * malloc/arena.c: Remove PER_THREAD conditional.
6527 [!PER_THREAD]: Remove code.
6528 (ptmalloc_unlock_all2): Likewise.
6529 (ptmalloc_init): Likewise.
6530 (_int_new_arena): Likewise.
6531 (arena_get2): Likewise.
6532 * malloc/hooks.c (__malloc_get_state): Likewise.
6533 (__malloc_set_state): Likewise.
6534 * malloc/malloc.c: Likewise.
6535 (struct malloc_state): Likewise.
6536 (struct malloc_par): Likewise.
6537 (__libc_realloc): Likewise.
6538 (__libc_mallopt): Likewise.
6540 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6542 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6544 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6546 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6547 macro to a function. Check for zero perturb_byte.
6548 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6550 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6552 * malloc/malloc.c: (force_reg): Remove.
6553 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6554 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6555 force_reg by atomic_forced_read.
6556 * malloc/arena.c (ptmalloc_init): Likewise.
6557 * malloc/hooks.c (top_check): Likewise.
6559 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6563 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6567 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6569 * math/auto-libm-test-in: Add tests of lgamma.
6570 * math/auto-libm-test-out: Regenerated.
6571 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6572 (M_LOG_2_SQRT_PIl): Likewise.
6573 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6574 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6576 (func_calc_desc): Add mpfr_f_f1 union field.
6585 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6586 (test_functions): Add lgamma.
6587 (calc_generic_results): Handle mpfr_f_f1.
6588 * sysdeps/i386/fpu/libm-test-ulps: Update.
6589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6591 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6593 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6594 __mpn_add_n for PowerPC64/POWER7.
6595 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6596 __mpn_sub_n for PowerPC64/POWER7.
6598 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6600 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6601 __mpn_addmul_1 for PowerPC64.
6602 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6603 __mpn_submul_1 for PowerPC64.
6604 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6606 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6609 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6612 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6614 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6616 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6618 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6620 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6621 add multiarch folders.
6622 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6623 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6624 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6625 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6626 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6627 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6628 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6629 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6630 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6631 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6632 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6640 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6643 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6649 multiarch __ieee754_hypot for PowerPC32.
6650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6655 multiarch __ieee754_hypotf for PowerPC32.
6657 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6659 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6660 long_double_symbol only if __logbl is defined.
6661 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6662 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6663 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6664 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6665 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6666 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6667 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6668 path for implementation.
6669 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6670 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6672 logb, and logbl multiarch implementations for PowerPC32.
6673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6678 multiarch logb for PowerPC32.
6679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6684 multiarch logbf for PowerPC32.
6685 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6689 multiarch logbl implementation for PowerPC32.
6691 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6694 and modff multiarch implementations.
6695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6700 multiarch modf for PowerPC32.
6701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6706 multiarch modff for PowerPC32.
6708 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6711 and lrintf multiarch implementations.
6712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6717 multiarch lrint for PowerPC32.
6718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6719 file: multiarch lrintf for PowerPC32.
6721 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6724 and lroundf multiarch implementations.
6725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6732 multiarch lround for PowerPC32.
6733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6734 file: multiarch lroundf for PowerPC32.
6736 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6739 copysign and copysignf multiarch implementations.
6740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6745 file: multiarch copysign for PowerPC32.
6746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6747 file: multiarch copysignf for PowerPC32.
6749 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6752 and truncf multiarch implementations.
6753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6758 multiarch trunc for PowerPC32.
6759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6764 multiarch truncf for PowerPC32.
6766 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6769 and roundf multiarch implementations.
6770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6775 multiarch round for PowerPC32.
6776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6781 multiarch roundf for PowerPC32.
6783 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6786 and floorf multiarch implementations.
6787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6792 multiarch floor for PowerPC32.
6793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6798 multiarch floorf for PowerPC32.
6800 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6803 and ceilf multiarch implementations.
6804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6809 multiarch ceil for PowerPC32.
6810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6815 multiarch ceilf for PowerPC32.
6817 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6819 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6821 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6824 and finitef multiarch implementations.
6825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6830 multiarch finite for PowerPC32.
6831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6834 file: multiarch finitef for PowerPC32.
6836 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6839 and isinff multiarch implementations.
6840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6845 multiarch isinf for PowerPC32.
6846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6849 multiarch isinff for PowerPC32.
6851 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6853 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6854 alias when __isnan is defined.
6855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6856 and isnanf multiarch implementations.
6857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6866 multiarch isnan for PowerPC32.
6867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6872 multiarch isnanf for PowerPC32.
6874 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6877 and sqrtf multiarch implementations.
6878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6883 multiarch sqrt for PowerPC32.
6884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6889 multiarch sqrtf for PowerPC32.
6891 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6894 and llroundf multiarch implementations.
6895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6902 file: multiarch llround for PowerPC32.
6903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6904 file: multiarch llroundf for PowerPC32.
6906 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6909 multiarch PowerPC32 fpu implementations.
6910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6915 multiarch llrint for PowerPC32.
6916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6923 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6927 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6929 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6931 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6933 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6935 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6936 multiarch wordcopy for PPC32.
6937 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6939 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6940 (__libc_ifunc_impl_list): Likewise.
6941 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6942 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6943 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6944 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6945 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6946 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6948 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6950 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6951 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6953 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6955 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6957 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6958 multiarch wcscpy for PPC32.
6959 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6961 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6962 (__libc_ifunc_impl_list): Likewise.
6963 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6964 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6965 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6966 sysdeps/powerpc/power6/wcscpy.c.
6968 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6970 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6971 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6973 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6975 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6977 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6978 multiarch wcsrchr for PPC32.
6979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6982 (__libc_ifunc_impl_list): Likewise.
6983 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6984 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6985 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6986 sysdeps/powerpc/power6/wcsrchr.c.
6988 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6990 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6992 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6994 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6995 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6996 multiarch wcschr for PPc32.
6997 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6999 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7000 (__libc_ifunc_impl_list): Likewise.
7001 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7002 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7003 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7004 sysdeps/powerpc/power6/wcschr.c.
7006 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7008 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7009 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7011 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7012 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7013 file: multiarch strchr for PPC32.
7014 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7016 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7017 (__libc_ifunc_impl_list): Likewise.
7019 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7021 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7023 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7025 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7027 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7028 multiarch strchrnul for PPC32.
7029 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7031 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7032 (__libc_ifunc_impl_list): Likewise.
7034 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7036 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7038 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7039 multiarch strncasecmp for PPC32.
7040 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7042 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7043 multiarch strncasecmp_l for PPC32.
7044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7045 strncasecmp multiarch objects.
7046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7047 (__libc_ifunc_impl_list): Likewise.
7049 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7051 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7053 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7054 multiarch strncasecmp for PPC32.
7055 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7057 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7058 multiarch strcasecmp_l for PPC32.
7059 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7061 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7062 (__libc_ifunc_impl_list): Likewise.
7064 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7066 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7068 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7070 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7071 multiarch strncmp for PPC32.
7072 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7074 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7075 (__libc_ifunc_impl_list): Likewise.
7077 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7079 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7080 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7082 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7083 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7084 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7086 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7087 (__libc_ifunc_impl_list): Likewise.
7089 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7091 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7093 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7095 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7096 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7098 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7099 (__libc_ifunc_impl_list): Likewise.
7101 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7103 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7105 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7107 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7108 multiarch rawmemchr for PPC32.
7109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7112 (__libc_ifunc_impl_list): Likewise.
7114 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7116 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7118 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7120 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7121 file: memrchr multiarch for PPC32.
7122 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7124 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7125 (__libc_ifunc_impl_list): Likewise.
7127 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7129 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7130 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7132 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7133 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7134 multiarch memchr for PPC32.
7135 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7137 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7138 (__libc_ifunc_impl_list): Likewise.
7140 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7142 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7143 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7145 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7147 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7148 file: multiarch mempcpy for PPC32.
7149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7152 (__libc_ifunc_impl_list): Likewise.
7154 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7156 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7157 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7158 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7159 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7160 multiarch bzero for PPC32.
7161 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7163 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7165 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7166 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7167 file: multiarch memset for PPC32.
7168 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7169 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7170 memset multiarch objects.
7171 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7172 (__libc_ifunc_impl_list): Likewise.
7174 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7176 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7178 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7179 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7181 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7182 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7184 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7185 (__libc_ifunc_impl_list): Likewise.
7187 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7189 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7190 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7191 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7193 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7195 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7197 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7198 multiarch memcpy for PPC32.
7199 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7201 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7202 (__libc_ifunc_impl_list): Likewise.
7204 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7207 support multiarch for POWER/PPC32.
7208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7210 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7212 Implies file to make multiarch folder appers before the fpu and
7213 default folder for power4 configuration.
7215 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7217 * scripts/bench.pl: Append volatile keyword to type.
7219 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7221 * sysdeps/sh/sotruss-lib.c: New file.
7222 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7224 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7228 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7231 * math/w_tgamma.c: Include <errno.h>.
7232 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7233 * math/w_tgammaf.c: Include <errno.h>.
7234 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7235 * math/w_tgammal.c: Include <errno.h>.
7236 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7237 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7238 underflow. Add more tgamma tests.
7239 * math/auto-libm-test-out: Regenerated.
7240 * sysdeps/i386/fpu/libm-test-ulps: Update.
7241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7243 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7244 sin, sinh, tan, tanh, tgamma, y0 and y1.
7245 * math/auto-libm-test-out: Regenerated.
7246 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7247 (TEST_COND_x86): Likewise.
7248 (M_E2l): Remove macro.
7250 (M_2_SQRT_PIl): Likewise.
7251 (M_SQRT_PIl): Likewise.
7252 (M_1_DIV_El): Likewise.
7253 (log_test_data): Use AUTO_TESTS_f_f.
7254 (log10_test_data): Likewise.
7255 (log1p_test_data): Likewise.
7256 (log2_test_data): Likewise.
7257 (sin_test_data): Likewise.
7258 (sin_tonearest_test_data): Likewise.
7259 (sin_towardzero_test_data): Likewise.
7260 (sin_downward_test_data): Likewise.
7261 (sin_upward_test_data): Likewise.
7262 (sinh_test_data): Likewise.
7263 (sinh_tonearest_test_data): Likewise.
7264 (sinh_towardzero_test_data): Likewise.
7265 (sinh_downward_test_data): Likewise.
7266 (sinh_upward_test_data): Likewise.
7267 (tan_test_data): Likewise.
7268 (tan_tonearest_test_data): Likewise.
7269 (tan_towardzero_test_data): Likewise.
7270 (tan_downward_test_data): Likewise.
7271 (tan_upward_test_data): Likewise.
7272 (tanh_test_data): Likewise.
7273 (tgamma_test_data): Likewise.
7274 (y0_test_data): Likewise.
7275 (y1_test_data): Likewise.
7276 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7277 (special_real_inputs): Add pi/4.
7278 * sysdeps/i386/fpu/libm-test-ulps: Update.
7279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7281 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7283 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7284 "longjmp_target" static probes.
7285 (__longjmp): Rename to __longjmp_symbol.
7286 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7287 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7288 on which longjmp to generate.
7289 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7290 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7292 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7293 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7294 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7295 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7296 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7297 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7299 __longjmp_symbol based on which __longjmp to generate.
7300 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7302 (setjmp): Rename to setjmp_symbol.
7303 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7304 (_setjmp): Rename to _setjmp_symbol.
7305 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7306 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7307 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7308 which setjmp to generate.
7309 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7310 "longjmp_target" static probes.
7312 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7314 * benchtests/README: Add note about output arguments.
7315 * benchtests/bench-sincos.c: Remove file.
7316 * benchtests/sincos-inputs: New file.
7317 * scripts/bench.pl: Identify output arguments and define
7318 static variables for them.
7320 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7323 * Makefile (INSTALL): Add install-plain.texi as the primary
7325 * manual/install-plain.texi: New file.
7326 * manual/install.texi: Include node directive only for
7327 non-plaintext output.
7329 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7331 * stdlib/longlong.h: Update from GCC.
7335 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7336 * math/w_j0f.c (y0f): Likewise.
7337 * math/w_j0l.c (__y0l): Likewise.
7338 * math/w_j1.c (y1): Likewise.
7339 * math/w_j1f.c (y1f): Likewise.
7340 * math/w_j1l.c (__y1l): Likewise
7341 * math/w_jn.c (yn): Likewise.
7342 * math/w_jnf.c (ynf): Likewise.
7343 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7344 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7345 value for Bessel function domain errors outside _SVID_ mode.
7346 Adjust sign of return value for yn (negative integer, 0).
7347 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7348 by zero in return for negative x and set sign appropriately for
7350 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7351 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7352 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7353 expectations in error cases.
7354 (y1_test_data): Likewise.
7355 (yn_test_data): Likewise.
7356 * sysdeps/i386/fpu/libm-test-ulps: Update.
7357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7359 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7361 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7362 "64" to "64-v1". Add "64-v2".
7363 (abi-64-options): Rename to ...
7364 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7365 (abi-64-condition): Rename to ...
7366 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7367 (abi-64-ld-soname): Rename to ...
7368 (abi-64-v1-ld-soname): ... this.
7369 (abi-64-v2-options): Define.
7370 (abi-64-v2-condition): Likewise.
7371 (abi-64-v2-ld-soname): Likewise.
7372 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7373 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7378 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7379 Alan Modra <amodra@gmail.com>
7381 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7382 New versions for use with the ELFv2 ABI.
7383 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7384 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7386 (struct La_ppc64v2_retval): Likewise.
7387 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7388 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7389 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7390 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7391 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7392 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7393 Do not save or restore CR.
7394 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7395 (_dl_profile_resolve): Do no save or restore CR. Support extended
7396 return values for ELFv2 ABI. Fix location of FPR return registers.
7397 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7398 updated values for _CALL_ELF == 2.
7399 (La_regs, La_retval, int_retval): Likewise.
7401 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7403 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7404 (FRAME_MIN_SIZE_PARM): Likewise.
7405 (FRAME_BACKCHAIN): Likewise.
7406 (FRAME_CR_SAVE): Likewise.
7407 (FRAME_LR_SAVE): Likewise.
7408 (FRAME_TOC_SAVE): Likewise.
7409 (FRAME_PARM_SAVE): Likewise.
7410 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7411 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7412 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7413 (call_mcount_parm_offset): New macro.
7414 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7415 (PROF): Use symbolic stack frame offsets.
7416 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7417 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7418 Redefine in terms of FRAME_MIN_SIZE.
7419 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7420 (_dl_profile_resolve): Likewise. Update comment.
7421 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7422 symbols stack frame offsets.
7423 (__sigsetjmp): Likewise.
7424 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7425 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7426 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7427 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7430 (FRAME_BACKCHAIN): Remove.
7431 (FRAME_CR_SAVE): Likewise.
7432 (FRAME_LR_SAVE): Likewise.
7433 (FRAME_COMPILER_DW): Likewise.
7434 (FRAME_LINKER_DW): Likewise.
7435 (FRAME_TOC_SAVE): Likewise.
7436 (FRAME_PARM_SAVE): Likewise.
7437 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7438 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7439 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7441 (CHECK_SP): Use symbolic stack frame offsets.
7442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7443 zone" instead of caller's parameter save area for temp storage.
7444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7445 Likewise. Also, use symbolic stack frame offsets.
7446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7447 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7448 our own stack frame instead of the caller's.
7449 (__socket): Use symbolic stack frame offsets.
7451 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7452 Alan Modra <amodra@gmail.com>
7454 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7456 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7457 PPC64_LOCAL_ENTRY_OFFSET): Define.
7458 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7460 (elf_machine_fixup_plt): Call it.
7461 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7463 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7464 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7465 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7466 r2 before calling target.
7468 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7469 Alan Modra <amodra@gmail.com>
7471 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7472 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7473 versions of macros to support ELFv2 ABI.
7474 (LOCALENTRY): New macro.
7475 (ENTRY, EALIGN): Use it.
7476 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7477 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7478 fall through into ENTRY entry point.
7479 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7480 Only define if _CALL_ELF != 2.
7482 (elf_machine_matches_host): Verify ABI version matches.
7483 (RTLD_START): Use LOCALENTRY.
7484 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7485 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7486 (PLT_ENTRY_WORDS): New macro.
7487 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7488 (elf_machine_runtime_setup): Support ELFv2 ABI.
7489 (elf_machine_fixup_plt): Likewise.
7490 (elf_machine_plt_conflict): Likewise.
7491 (resolve_ifunc): Likewise.
7492 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7493 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7496 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7498 (makecontext): Support ELFv2 ABI.
7499 * elf/elf.h (EF_PPC64_ABI): Define.
7501 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7503 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7504 New assembler macro.
7505 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7506 [ASSEMBLER] (ENTRY): ... but instead here ...
7507 [ASSEMBLER] (EALIGN): ... and here.
7508 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7509 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7510 [!ASSEMBLER] (ENTRY_2): Use it.
7511 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7512 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7513 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7514 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7515 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7517 Use PPC64_LOAD_FUNCPTR.
7519 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7521 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7523 2013-12-04 Alan Modra <amodra@gmail.com>
7525 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7526 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7527 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7528 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7530 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7531 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7532 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7533 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7534 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7535 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7537 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7540 (__makecontext): Fix incorrect CFI when backtracing out of
7541 context created via makecontext.
7542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7543 (__setcontext): Fix incorrect CFI during switch to new context.
7544 (__novec_setcontext): Likewise.
7546 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7549 * time/strptime_l.c (__strptime_internal): Allow modifiers
7551 * time/tst-strptime.c (day_tests): Add testcase.
7554 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7556 * scripts/bench.pl: Skip over blank lines.
7558 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7561 * manual/time.texi (Calendar Time): Clarify what timezone functions
7564 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7568 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7570 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7572 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7573 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7574 * debug/memset_chk.c (__memset_chk): Likewise.
7575 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7576 * debug/strncpy_chk.c: Likewise.
7578 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7582 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7583 (__ieee754_exp): For possibly underflowing results, check size of
7584 result and force underflow exception if required.
7585 * math/auto-libm-test-in: Add more tests of exp.
7586 * math/auto-libm-test-out: Regenerated.
7587 * sysdeps/i386/fpu/libm-test-ulps: Update.
7588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7591 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7592 * math/w_exp2f.c (__exp2f): Likewise.
7593 * math/w_exp2l.c (__exp2l): Likewise.
7594 * math/auto-libm-test-in: Do not allow missing errno on exp2
7596 * math/auto-libm-test-out: Regenerated.
7598 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7601 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7602 handle filename validation.
7603 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7606 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7609 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7610 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7611 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7613 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7614 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7615 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7616 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7617 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7618 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7619 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7620 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7621 Add more erfc tests.
7622 * math/auto-libm-test-out: Regenerated.
7623 * sysdeps/i386/fpu/libm-test-ulps: Update.
7624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7626 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7627 exp2, expm1, j0 and j1.
7628 * math/auto-libm-test-out: Regenerated.
7629 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7630 (erfc_test_data): Likewise.
7631 (exp_test_data): Likewise.
7632 (exp_tonearest_test_data): Likewise.
7633 (exp_towardzero_test_data): Likewise.
7634 (exp_downward_test_data): Likewise.
7635 (exp_upward_test_data): Likewise.
7636 (exp10_test_data): Likewise.
7637 (exp2_test_data): Likewise.
7638 (expm1_test_data): Likewise.
7639 (j0_test_data): Likewise.
7640 (j1_test_data): Likewise.
7641 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7642 (input_flag_type): Add flag_xfail_rounding.
7643 (input_flags): Add xfail-rounding.
7644 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7645 (output_for_one_input_case): Handle flag_xfail_rounding.
7646 * sysdeps/i386/fpu/libm-test-ulps: Update.
7647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7649 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7652 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7655 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7658 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7659 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7660 (STAP_PROBE0): New macro.
7661 (STAP_PROBE1): Likewise.
7662 (STAP_PROBE2): Likewise.
7663 (STAP_PROBE3): Likewise.
7664 (STAP_PROBE4): Likewise.
7666 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7668 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7670 2013-12-02 Steve Ellcey <sellcey@mips.com>
7672 * benchtests/Makefile (bench): Add sqrt.
7673 (LDLIBS-bench-sqrt): New.
7674 * benchtests/sqrt-input: New.
7676 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7678 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7679 (GAIH_EAI): Likewise.
7680 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7681 (gaih_inet): Likewise.
7682 (getaddrinfo): Don't use GAIH_EAI.
7684 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7685 (struct gaih): Remove definition.
7687 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7689 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7690 Use HERRNOP directly.
7692 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7696 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7698 * math/gen-auto-libm-tests.c (test_functions): Add more
7699 single-argument functions.
7700 (special_fill_pi_2): New function.
7701 (special_fill_minus_pi_2): Likewise.
7702 (special_fill_pi_6): Likewise.
7703 (special_fill_minus_pi_6): Likewise.
7704 (special_fill_pi_3): Likewise.
7705 (special_fill_2pi_3): Likewise.
7706 (special_fill_e): Likewise.
7707 (special_fill_1_e): Likewise.
7708 (special_fill_e_minus_1): Likewise.
7709 (special_real_inputs): Add more special inputs.
7710 (output_for_one_input_case): Do not require ERANGE on underflow to
7711 zero if round-to-nearest result does not underflow to zero, unless
7712 exact results required.
7713 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7714 atan, atanh, cbrt, cos and cosh.
7715 * math/auto-libm-test-out: Regenerated.
7716 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7717 (acos_tonearest_test_data): Likewise.
7718 (acos_towardzero_test_data): Likewise.
7719 (acos_downward_test_data): Likewise.
7720 (acos_upward_test_data): Likewise.
7721 (acosh_test_data): Likewise.
7722 (asin_test_data): Likewise.
7723 (asin_tonearest_test_data): Likewise.
7724 (asin_towardzero_test_data): Likewise.
7725 (asin_upward_test_data): Likewise.
7726 (asinh_test_data): Likewise.
7727 (atan_test_data): Likewise.
7728 (atanh_test_data): Likewise.
7729 (cbrt_test_data): Likewise.
7730 (cos_test_data): Likewise.
7731 (cos_tonearest_test_data): Likewise.
7732 (cos_towardzero_test_data): Likewise.
7733 (cos_downward_test_data): Likewise.
7734 (cos_upward_test_data): Likewise.
7735 (cosh_test_data): Likewise.
7736 (cosh_tonearest_test_data): Likewise.
7737 (cosh_towardzero_test_data): Likewise.
7738 (cosh_downward_test_data): Likewise.
7739 (cosh_upward_test_data): Likewise.
7740 * sysdeps/i386/fpu/libm-test-ulps: Update.
7741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7743 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7746 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7747 * math/w_exp10f.c (__exp10f): Likewise.
7748 * math/w_exp10l.c (__exp10l): Likewise.
7749 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7750 errno settings in existing tests.
7753 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7754 precision control set to double precision.
7755 * sysdeps/i386/fpu/w_sqrt.c: New file.
7756 * math/auto-libm-test-in: Add more tests.
7757 * math/auto-libm-test-out: Update.
7759 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7760 (sqrt_test_tonearest): New function.
7761 (sqrt_towardzero_test_data): New variable.
7762 (sqrt_test_towardzero): New function.
7763 (sqrt_downward_test_data): New variable.
7764 (sqrt_test_downward): New function.
7765 (sqrt_upward_test_data): New variable.
7766 (sqrt_test_upward): New function.
7767 (main): Call the new functions.
7769 * math/gen-auto-libm-tests.c: New file.
7770 * math/auto-libm-test-in: Likewise.
7771 * math/auto-libm-test-out: New generated file.
7772 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7774 (%beautify): Add generated representations of zero.
7775 (top level): Set $auto_input and call parse_auto_input.
7776 (beautify): Remove trailing "f" from hex float constants.
7777 (parse_args): Handle XFAIL_TEST.
7778 (convert_condition): New function.
7779 (or_value): Likewise.
7780 (or_cond_value): Likewise.
7781 (generate_testfile): Handle AUTO_TESTS_* lines.
7782 (parse_auto_input): New function.
7783 * math/libm-test.inc (XFAIL_TEST): New macro.
7784 (ERRNO_UNCHANGED): Update value.
7785 (ERRNO_EDOM): Likewise.
7786 (ERRNO_ERANGE): Likewise.
7787 (IGNORE_RESULT): Likewise.
7788 (TEST_COND_flt_32): New macro.
7789 (TEST_COND_dbl_64): Likewise.
7790 (TEST_COND_ldbl_96_intel): Likewise.
7791 (TEST_COND_ldbl_96_m68k): Likewise.
7792 (TEST_COND_ldbl_128): Likewise.
7793 (TEST_COND_ldbl_128ibm): Likewise.
7794 (TEST_COND_long32): Likewise.
7795 (TEST_COND_long64): Likewise.
7796 (TEST_COND_before_rounding): Likewise.
7797 (TEST_COND_after_rounding): Likewise.
7798 (enable_test): Handle XFAIL_TEST flag.
7799 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7800 with finite results.
7801 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7804 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7805 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7808 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7809 __tls_get_addr_internal instead of __tls_get_offset in order to
7810 avoid GOT pointer dependency. Make rtld export
7811 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7812 __tls_get_addr since we are a __tls_get_offset platform.
7813 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7814 GOT pointer being set up before.
7815 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7817 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7819 * manual/math.texi (Errors in Math Functions): Document accuracy
7823 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7824 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7825 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7826 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7827 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7828 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7829 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7830 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7831 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7832 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7833 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7834 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7835 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7836 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7837 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7838 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7840 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7841 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7842 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7843 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7844 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7846 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7848 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7850 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7851 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7852 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7853 atomic-feupdateenv and flt-rounds.
7854 * sysdeps/powerpc/nofpu/Versions (libc): Add
7855 __atomic_feholdexcept, __atomic_feclearexcept,
7856 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7857 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7858 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7859 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7860 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7865 * manual/arith.texi (FP Exceptions): Document that exceptions may
7866 not be raised when matherr is used.
7867 (Math Error Reporting): Document overflow in directed rounding
7868 modes. Document that errno may not be set when finite values are
7869 returned on overflow. Document intent to set errno on underflow
7870 only for underflow to zero.
7873 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7874 round-to-nearest then adjust result for other rounding modes.
7875 * include/fenv.h (fegetround): Use libm_hidden_proto.
7876 * math/fegetround.c (fegetround): Use libm_hidden_def.
7877 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7878 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7879 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7880 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7882 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7883 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7884 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7885 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7887 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7890 * nss/Versions (libnss_files): Add
7891 _nss_files_gethostbyname3_r.
7892 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7894 (HOST_DB_LOOKUP): Remove macro.
7895 (_nss_files_gethostbyname_r): Implement function without the
7896 HOST_DB_LOOKUP macro.
7897 (_nss_files_gethostbyname2_r): Likewise.
7899 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7901 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7903 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7905 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7906 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7909 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7911 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7912 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7913 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7914 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7915 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7916 __fe_nomask_env_priv and attribute_hidden.
7917 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7918 (libc_feupdateenv_test_ppc): Likewise.
7919 (libc_feresetround_ppc): Likewise.
7920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7921 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7922 compat_symbol macro.
7923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7924 (__fe_nomask_env): Likewise.
7925 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7927 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7929 * string/Makefile: Remove ifunc tests.
7930 * string/test-string.h: Define TEST_IFUNC.
7931 * string/test-bcopy-ifunc.c: Remove.
7932 * string/test-bzero-ifunc.c: Likewise.
7933 * string/test-memccpy-ifunc.c: Likewise.
7934 * string/test-memchr-ifunc.c: Likewise.
7935 * string/test-memcmp-ifunc.c: Likewise.
7936 * string/test-memcpy-ifunc.c: Likewise.
7937 * string/test-memmem-ifunc.c: Likewise.
7938 * string/test-memmove-ifunc.c: Likewise.
7939 * string/test-mempcpy-ifunc.c: Likewise.
7940 * string/test-memrchr-ifunc.c: Likewise.
7941 * string/test-memset-ifunc.c: Likewise.
7942 * string/test-rawmemchr-ifunc.c: Likewise.
7943 * string/test-stpcpy-ifunc.c: Likewise.
7944 * string/test-stpncpy-ifunc.c: Likewise.
7945 * string/test-strcasecmp-ifunc.c: Likewise.
7946 * string/test-strcasestr-ifunc.c: Likewise.
7947 * string/test-strcat-ifunc.c: Likewise.
7948 * string/test-strchr-ifunc.c: Likewise.
7949 * string/test-strchrnul-ifunc.c: Likewise.
7950 * string/test-strcmp-ifunc.c: Likewise.
7951 * string/test-strcpy-ifunc.c: Likewise.
7952 * string/test-strcspn-ifunc.c: Likewise.
7953 * string/test-strlen-ifunc.c: Likewise.
7954 * string/test-strncasecmp-ifunc.c: Likewise.
7955 * string/test-strncat-ifunc.c: Likewise.
7956 * string/test-strncmp-ifunc.c: Likewise.
7957 * string/test-strncpy-ifunc.c: Likewise.
7958 * string/test-strnlen-ifunc.c: Likewise.
7959 * string/test-strpbrk-ifunc.c: Likewise.
7960 * string/test-strrchr-ifunc.c: Likewise.
7961 * string/test-strspn-ifunc.c: Likewise.
7962 * string/test-strstr-ifunc.c: Likewise.
7964 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7966 * benchtests/Makefile: Remove ifunc tests.
7967 * benchtests/bench-string.h: Define TEST_IFUNC.
7968 * benchtests/bench-bcopy-ifunc.c: Remove.
7969 * benchtests/bench-bzero-ifunc.c: Likewise.
7970 * benchtests/bench-memccpy-ifunc.c: Likewise.
7971 * benchtests/bench-memchr-ifunc.c: Likewise.
7972 * benchtests/bench-memcmp-ifunc.c: Likewise.
7973 * benchtests/bench-memcpy-ifunc.c: Likewise.
7974 * benchtests/bench-memmem-ifunc.c: Likewise.
7975 * benchtests/bench-memmove-ifunc.c: Likewise.
7976 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7977 * benchtests/bench-memrchr-ifunc.c: Likewise.
7978 * benchtests/bench-memset-ifunc.c: Likewise.
7979 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7980 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7981 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7982 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7983 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7984 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7985 * benchtests/bench-strcat-ifunc.c: Likewise.
7986 * benchtests/bench-strchr-ifunc.c: Likewise.
7987 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7988 * benchtests/bench-strcmp-ifunc.c: Likewise.
7989 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7990 * benchtests/bench-strcpy-ifunc.c: Likewise.
7991 * benchtests/bench-strcspn-ifunc.c: Likewise.
7992 * benchtests/bench-strlen-ifunc.c: Likewise.
7993 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7994 * benchtests/bench-strncat-ifunc.c: Likewise.
7995 * benchtests/bench-strncmp-ifunc.c: Likewise.
7996 * benchtests/bench-strncpy-ifunc.c: Likewise.
7997 * benchtests/bench-strnlen-ifunc.c: Likewise.
7998 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7999 * benchtests/bench-strrchr-ifunc.c: Likewise.
8000 * benchtests/bench-strsep-ifunc.c: Likewise.
8001 * benchtests/bench-strspn-ifunc.c: Likewise.
8002 * benchtests/bench-strstr-ifunc.c: Likewise.
8004 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8006 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8008 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8010 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8011 * rt/aio.h: Likewise.
8012 * sysdeps/gnu/bits/utmp.h: Likewise.
8013 * sysdeps/gnu/bits/utmpx.h: Likewise.
8014 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8015 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8016 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8017 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8018 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8019 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8020 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8021 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8022 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8023 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8024 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8025 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8026 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8028 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8029 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8030 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8031 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8032 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8033 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8034 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8035 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8036 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8037 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8038 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8039 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8040 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8041 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8042 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8043 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8044 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8045 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8046 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8047 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8048 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8049 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8050 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8051 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8052 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8053 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8054 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8055 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8057 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8060 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8061 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8063 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8065 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8066 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8069 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8071 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8072 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8073 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8074 (__fesetround): Remove define.
8075 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8076 rounding and exceptions handling.
8077 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8078 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8079 (__fe_nomask_env): Likewise.
8080 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8081 __fegetround instead of fegetround.
8082 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8083 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8085 2013-11-21 Roland McGrath <roland@hack.frob.com>
8087 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8090 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8092 2013-11-21 Meador Inge <meadori@codesourcery.com>
8095 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8096 (encrypt_r): Likewise.
8097 * malloc/obstack.h (obstack_free): Likewise.
8098 * posix/unistd.h (encrypt): Likewise.
8100 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8102 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8103 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8104 DL_CALL_DT_FINI() that call the functions directly.
8105 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8106 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8107 * elf/dl-fini.c: Likewise.
8109 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8111 * malloc/hooks.c (memalign_check): Add alignment rounding.
8112 * malloc/malloc.c (_mid_memalign): New function.
8113 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8114 Implement by calling _mid_memalign.
8115 * manual/probes.texi (Memory Allocation Probes): Remove
8116 memory_valloc_retry and memory_pvalloc_retry.
8118 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8120 * locale/programs/locarchive.c (open_archive): Add const
8121 qualifier to ARCHIVEFNAME and copy default fname to
8125 * libio/tst-widetext.input: Rename Oriya to Odia.
8126 * locale/iso-639.def: Likewise.
8128 * manual/probes.texi (Mathematical Function Probes): Add
8129 documentation for sin, cos, asin and acos probes.
8130 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8131 (__sin32): Add slowasin probe.
8132 (__cos32): Add slowacos probe.
8133 (__mpsin): Add slowsin probe.
8134 (__mpcos): Add slowcos probe.
8136 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8139 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8140 thread-local __sim_exceptions_thread and global
8141 __sim_exceptions_global.
8142 (__sim_disabled_exceptions): Change to thread-local
8143 __sim_disabled_exceptions_thread and global
8144 __sim_disabled_exceptions_global.
8145 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8146 and global __sim_round_mode_global.
8147 (__simulate_exceptions): Use thread-local floating-point state and
8148 set global state from it as needed.
8149 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8150 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8151 __sim_round_mode_thread.
8152 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8153 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8154 and global __sim_exceptions_global.
8155 (__sim_disabled_exceptions): Change to thread-local
8156 __sim_disabled_exceptions_thread and global
8157 __sim_disabled_exceptions_global.
8158 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8159 and global __sim_round_mode_global.
8160 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8161 (SIM_SET_GLOBAL): Likewise.
8162 * sysdeps/powerpc/soft-fp/sfp-machine.h
8163 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8164 __sim_round_mode_thread.
8165 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8166 __sim_disabled_exceptions_thread.
8167 (__sim_exceptions): Change to __sim_exceptions_thread.
8168 (__sim_disabled_exceptions): Change to
8169 __sim_disabled_exceptions_thread.
8170 (__sim_round_mode): Change to __sim_round_mode_thread.
8171 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8172 thread-local floating-point state and set global state from it as
8174 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8175 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8176 (__sim_disabled_exceptions): Remove extern declaration.
8177 (feenableexcept): Use thread-local floating-point state and set
8178 global state from it as needed.
8179 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8181 (__sim_disabled_exceptions): Likewise.
8182 (__sim_round_mode): Likewise.
8183 (__fegetenv): Use thread-local floating-point state.
8184 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8185 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8186 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8187 floating-point state and set global state from it as needed.
8188 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8189 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8190 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8192 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8193 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8195 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8196 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8197 Use __sim_round_mode_thread.
8198 * math/test-fenv-tls.c: New file.
8199 * math/Makefile (tests): Add test-fenv-tls.
8200 ($(objpfx)test-fenv-tls): Depend on
8201 $(common-objpfx)nptl/libpthread.so.
8203 2013-11-19 Andreas Schwab <schwab@suse.de>
8205 * locale/programs/locale.c (show_info): Decode wordarray elements.
8206 * locale/categories.def (LC_MONETARY): Add element for
8207 _NL_MONETARY_CRNCYSTR.
8208 * locale/C-monetary.c (conversion_rate): New variable.
8209 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8212 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8214 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8215 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8217 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8219 * elf/Makefile (tst-auxv): New test.
8220 * elf/tst-auxv.c: New
8221 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8223 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8225 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8226 (hidden_proto): Caller changed.
8227 (hidden_tls_proto): New macro.
8228 (libc_hidden_tls_proto): Likewise.
8229 (rtld_hidden_tls_proto): Likewise.
8230 (libm_hidden_tls_proto): Likewise.
8231 (libresolv_hidden_tls_proto): Likewise.
8232 (librt_hidden_tls_proto): Likewise.
8233 (libdl_hidden_tls_proto): Likewise.
8234 (libnss_files_hidden_tls_proto): Likewise.
8235 (libnsl_hidden_tls_proto): Likewise.
8236 (libnss_nisplus_hidden_tls_proto): Likewise.
8237 (libutil_hidden_tls_proto): Likewise.
8239 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8242 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8243 (decompose_rpath): Defer expansion to fillin_rpath.
8244 (_dl_init_paths): Pass linkmap to fillin_rpath.
8246 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8248 * benchtests/Makefile: Add strsep.
8249 * benchtests/bench-strsep.c: New file: strsep benchtest.
8250 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8252 2013-11-18 Andreas Schwab <schwab@suse.de>
8254 * locale/programs/locale.c (show_info) [case byte]: Check for
8255 '\377' instead of '\177'.
8256 * locale/C-monetary.c (not_available): Always use "\377".
8257 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8258 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8259 detect unavailable sign_posn locale elements.
8260 * locale/localeconv.c (__localeconv): For grouping and
8261 mon_grouping handle "\177" and "\377" like no grouping.
8262 (INT_ELEM): New macro. Use it to set all numeric members.
8263 * locale/programs/ld-monetary.c (monetary_read)
8264 <tok_mon_grouping>: Normalize single -1 to the empty string.
8265 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8268 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8271 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8272 when we match (nil).
8273 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8275 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8277 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8278 (NO_TEST_INLINE): Update value.
8279 (ERRNO_UNCHANGED): Likewise.
8280 (ERRNO_EDOM): Likewise.
8281 (ERRNO_ERANGE): Likewise.
8282 (IGNORE_RESULT): Likewise.
8283 (check_float_internal): Check signs of NaN results if
8285 (check_complex): Pass TEST_NAN_SIGN flag through to second
8286 check_float_internal call.
8287 (copysign_test_data): Add tests with quiet NaNs as second
8288 argument. Use TEST_NAN_SIGN.
8289 (fabs_test_data): Add test of negative quiet NaN argument. Use
8291 (signbit_test_data): Add tests of quiet NaN argument.
8292 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8294 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8296 (parse_args): Handle function results specified as IGNORE.
8297 * math/libm-test.inc (IGNORE_RESULT): New macro.
8298 (check_float_internal): Do not check numerical result if flag
8300 (check_complex): Pass through IGNORE_RESULT to second
8301 check_float_internal call.
8302 (check_int): Do not check numerical result if flag IGNORE_RESULT
8304 (check_long): Likewise.
8305 (check_bool): Likewise.
8306 (check_longlong): Likewise.
8307 (lrint_test_data): Add tests of infinite and NaN arguments.
8308 (lrint_tonearest_test_data): Likewise.
8309 (lrint_towardzero_test_data): Likewise.
8310 (lrint_downward_test_data): Likewise.
8311 (lrint_upward_test_data): Likewise.
8312 (llrint_test_data): Likewise.
8313 (llrint_tonearest_test_data): Likewise.
8314 (llrint_towardzero_test_data): Likewise.
8315 (llrint_downward_test_data): Likewise.
8316 (llrint_upward_test_data): Likewise.
8317 (lround_test_data): Likewise.
8318 (llround_test_data): Likewise.
8320 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8321 (ERRNO_UNCHANGED): Update value.
8322 (ERRNO_EDOM): Likewise.
8323 (ERRNO_ERANGE): Likewise.
8324 (NO_TEST_INLINE_FLOAT): New macro.
8325 (NO_TEST_INLINE_DOUBLE): Likewise.
8326 (enable_test): New function.
8327 (RUN_TEST_f_f): Check enable_test before running test.
8328 (RUN_TEST_2_f): Likewise.
8329 (RUN_TEST_fff_f): Likewise.
8330 (RUN_TEST_c_f): Likewise.
8331 (RUN_TEST_f_f1): Likewise.
8332 (RUN_TEST_fF_f1): Likewise.
8333 (RUN_TEST_fI_f1): Likewise.
8334 (RUN_TEST_ffI_f1): Likewise.
8335 (RUN_TEST_c_c): Likewise.
8336 (RUN_TEST_cc_c): Likewise.
8337 (RUN_TEST_f_i): Likewise.
8338 (RUN_TEST_f_i_tg): Likewise.
8339 (RUN_TEST_ff_i_tg): Likewise.
8340 (RUN_TEST_f_b): Likewise.
8341 (RUN_TEST_f_b_tg): Likewise.
8342 (RUN_TEST_f_l): Likewise.
8343 (RUN_TEST_f_L): Likewise.
8344 (RUN_TEST_fFF_11): Likewise.
8345 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8347 (cosh_test_data): Likewise.
8348 (exp_test_data): Likewise.
8349 (expm1_test_data): Likewise.
8350 (hypot_test_data): Likewise.
8351 (pow_test_data): Likewise.
8352 (sinh_test_data): Likewise.
8353 (tanh_test_data): Likewise.
8354 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8357 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8358 tests with quiet NaN input and output.
8359 (acosh_test_data): Likewise.
8360 (asin_test_data): Likewise.
8361 (asinh_test_data): Likewise.
8362 (atan_test_data): Likewise.
8363 (atanh_test_data): Likewise.
8364 (atan2_test_data): Likewise.
8365 (cbrt_test_data): Likewise.
8366 (cos_test_data): Likewise.
8367 (cosh_test_data): Likewise.
8368 (erf_test_data): Likewise.
8369 (erfc_test_data): Likewise.
8370 (exp_test_data): Likewise.
8371 (exp10_test_data): Likewise.
8372 (exp2_test_data): Likewise.
8373 (expm1_test_data): Likewise.
8374 (hypot_test_data): Likewise.
8375 (j0_test_data): Likewise.
8376 (j1_test_data): Likewise.
8377 (jn_test_data): Likewise.
8378 (lgamma_test_data): Likewise.
8379 (log_test_data): Likewise.
8380 (log10_test_data): Likewise.
8381 (log1p_test_data): Likewise.
8382 (log2_test_data): Likewise.
8383 (pow_test_data): Likewise.
8384 (scalb_test_data): Likewise.
8385 (sin_test_data): Likewise.
8386 (sincos_test_data): Likewise.
8387 (sinh_test_data): Likewise.
8388 (tan_test_data): Likewise.
8389 (tanh_test_data): Likewise.
8390 (tgamma_test_data): Likewise.
8391 (y0_test_data): Likewise.
8392 (y1_test_data): Likewise.
8393 (yn_test_data): Likewise.
8396 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8397 argument being NaN and avoid computations with second argument in
8399 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8400 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8401 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8403 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8405 * locale/iso-639.def: Add Chitwani Tharu (the).
8407 2013-11-14 Andreas Schwab <schwab@suse.de>
8409 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8410 word instead of empty string.
8412 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8415 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8417 (__fe_nomask_env): Likewise.
8419 2013-11-13 Steve Ellcey <sellcey@mips.com>
8421 * benchtests/bench-timing.h: Include time.h.
8423 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8426 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8428 * sysdeps/unix/sysv/linux/configure: Regenerated.
8430 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8433 * stdlib/strtod_l.c (round_and_return): Do not consider
8434 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8435 exponent one less than half the least subnormal exponent.
8436 * stdlib/test-strtod-round-data: Add more tests.
8437 * stdlib/tst-strtod-round.c (tests): Regenerated.
8439 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8442 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8443 (__fe_mask_env): Likewise.
8444 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8445 libm_hidden_proto and add function prototype.
8446 (__fe_mask_env): Add function prototype.
8447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8448 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8450 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8452 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8454 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8456 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8457 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8459 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8461 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8462 of htab_find_slot().
8464 2013-11-11 David S. Miller <davem@davemloft.net>
8467 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8468 symbol in the non-vis3 case in static builds.
8469 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8470 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8471 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8472 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8474 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8477 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8480 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8482 * benchtests/Makefile: Add bench-strtod.
8483 * benchtests/bench-strtod.c: New file: strtod benchtest
8485 2013-11-11 Andreas Schwab <schwab@suse.de>
8488 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8489 terminating NUL in key length.
8491 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8493 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8494 Add artificial ODP entry for vDSO symbol for PPC64.
8495 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8496 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8498 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8501 * nss/getent.c (services_keys): Recognize services starting with digit.
8503 2013-11-06 David S. Miller <davem@davemloft.net>
8506 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8507 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8509 2013-11-06 Will Newton <will.newton@linaro.org>
8511 * manual/memory.texi (Malloc Examples): Remove register
8512 keyword from examples.
8514 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8516 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8518 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8521 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8522 depending on [__GCC_IEC_559 > 0].
8523 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8524 depending on [__GCC_IEC_559_COMPLEX > 0].
8526 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8528 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8531 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8533 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8535 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8538 * malloc/malloc (malloc_info): Do not handle first bin as
8541 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8543 * locale/iso-639.def: Add Central Nahuatl (nhn).
8545 2013-11-01 Bruno Haible <bruno@clisp.org>
8548 * manual/math.texi (BSD Random): Specify range upper bound as
8551 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8553 * locale/iso-639.def: Add Meadow Mari (mhr).
8555 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8557 [BZ #14752], [BZ #15763]
8558 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8560 * rt/tst_shm.c: Add test for escaping directory.
8562 2013-10-31 Andreas Schwab <schwab@suse.de>
8565 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8566 followed by 'x' as part of digit sequence.
8567 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8569 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8572 * configure.ac: allow GNU Make 4.0 and greater.
8573 * configure: Regenerated.
8575 2013-10-30 Will Newton <will.newton@linaro.org>
8578 * malloc/hooks.c (memalign_check): Limit alignment to the
8579 maximum representable power of two.
8580 * malloc/malloc.c (__libc_memalign): Likewise.
8581 * malloc/tst-memalign.c (do_test): Add test for very
8582 large alignment values.
8583 * malloc/tst-posix_memalign.c (do_test): Likewise.
8585 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8588 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8589 (munmap_chunk): Likewise.
8590 (mremap_chunk): Likewise.
8592 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8595 * stdlib/div.c (div): Remove obsolete code.
8596 * stdlib/ldiv.c (ldiv): Likewise.
8597 * stdlib/lldiv.c (lldiv): Likewise.
8599 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8602 * nss/nss_files/files-XXX.c (get_contents_ret): New
8604 (get_contents): New function.
8605 (internal_getent): Use it. Expand size of LINEBUFLEN.
8607 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8609 * configure.in: Moved to ...
8610 * configure.ac: ... here. Change reference to configure.in
8612 * sysdeps/arm/preconfigure.ac: ... here.
8613 configure.in to configure.ac.
8614 * sysdeps/gnu/configure.in: Moved to ...
8615 * sysdeps/gnu/configure.ac: ... here.
8616 * sysdeps/i386/configure.in: Moved to ...
8617 * sysdeps/i386/configure.ac: ... here.
8618 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8619 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8620 * sysdeps/mach/configure.in: Moved to ...
8621 * sysdeps/mach/configure.ac: ... here.
8622 * sysdeps/mach/hurd/configure.in: Moved to ...
8623 * sysdeps/mach/hurd/configure.ac: ... here.
8624 * sysdeps/powerpc/configure.in: Moved to ...
8625 * sysdeps/powerpc/configure.ac: ... here.
8626 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8627 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8628 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8629 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8630 * sysdeps/s390/s390-32/configure.in: Moved to ...
8631 * sysdeps/s390/s390-32/configure.ac: ... here.
8632 * sysdeps/s390/s390-64/configure.in: Moved to ...
8633 * sysdeps/s390/s390-64/configure.ac: ... here.
8634 * sysdeps/sh/configure.in: Moved to ...
8635 * sysdeps/sh/configure.ac: ... here.
8636 * sysdeps/sparc/configure.in: Moved to ...
8637 * sysdeps/sparc/configure.ac: ... here.
8638 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8639 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8640 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8641 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8642 * sysdeps/x86_64/configure.in: Moved to ...
8643 * sysdeps/x86_64/configure.ac: ... here.
8644 * sysdeps/x86_64/preconfigure.in: Moved to ...
8645 * sysdeps/x86_64/preconfigure.ac: ... here.
8646 * aclocal.m4: Change reference to configure.in to configure.ac.
8647 * config.h.in: Likewise.
8648 * manual/install.texi: Likewise.
8649 * manual/maint.texi: Likewise.
8650 * Makefile: Likewise.
8651 * malloc/Makefile: Likewise.
8652 * nscd/Makefile: Likewise.
8653 * Makeconfig: Change reference to configure.in and
8654 preconfigure.in to configure.ac and preconfigure.ac
8656 * INSTALL: Regenerated.
8657 * configure: Likewise.
8658 * sysdeps/gnu/configure: Likewise.
8659 * sysdeps/i386/configure: Likewise.
8660 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8661 * sysdeps/mach/configure: Likewise.
8662 * sysdeps/mach/hurd/configure: Likewise.
8663 * sysdeps/powerpc/configure: Likewise.
8664 * sysdeps/powerpc/powerpc32/configure: Likewise.
8665 * sysdeps/powerpc/powerpc64/configure: Likewise.
8666 * sysdeps/s390/s390-32/configure: Likewise.
8667 * sysdeps/s390/s390-64/configure: Likewise.
8668 * sysdeps/sh/configure: Likewise.
8669 * sysdeps/sparc/configure: Likewise.
8670 * sysdeps/unix/sysv/linux/configure: Likewise.
8671 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8672 * sysdeps/x86_64/configure: Likewise.
8673 * sysdeps/x86_64/preconfigure: Likewise.
8675 2013-10-29 Andreas Schwab <schwab@suse.de>
8677 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8679 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8681 * benchtests/pow-inputs: Add new inputs.
8683 * benchtests/exp-inputs: Add new inputs.
8685 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8686 conditional check for return value.
8687 (__cos32): Likewise.
8689 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8691 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8692 to provide a boost for large inputs with word alignment.
8693 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8694 implementation based on optimized PPC64 strcpy.
8695 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8696 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8697 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8698 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8700 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8703 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8705 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8708 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8709 * time/tst-strptime.c (day_tests): Add testcase.
8711 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8714 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8716 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8719 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8720 MAP_FAILED on error.
8722 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8725 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8726 heap for large requests.
8728 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8731 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8732 result if the result has no associated interface.
8733 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8734 interface for all 127.X.Y.Z addresses.
8736 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8738 * locale/iso-639.def: Add Ligurian (lij)
8740 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8743 * sunrpc/rpc_main.c: Document rpcgen -5.
8745 2013-10-19 Michael Stahl <mstahl@redhat.com>
8747 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8749 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8752 * posix/glob.c: Match only directories when trailing slash is present.
8753 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8754 (main): Add testcase.
8756 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8759 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8761 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8763 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8764 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8765 AUTH_DES and cindex for FIPS 140-2.
8766 (DES Encryption): Add cindex FIPS 46-3.
8768 * locale/locarchive.h (struct locarhandle): Add fname.
8769 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8770 if an optional argument was specified to --list-archive,
8772 * locale/programs/locarchive.c (show_archive_content): Take new
8773 argument fname and pass it via ah.fname to open_archive.
8774 * locale/programs/localedef.h: Update decl.
8775 (open_archive): If AH->fname is non-null, open that file
8776 rather than the default file name, and don't ignore ENOENT.
8777 (create_archive): Set AH.fname to NULL.
8778 (delete_locales_from_archive): Likewise.
8779 (add_locales_to_archive): Likewise.
8780 * locale/programs/locfile.c (write_all_categories): Likewise.
8782 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8783 Aldy Hernandez <aldyh@redhat.com>
8785 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8786 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8787 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8788 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8789 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8790 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8791 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8792 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8793 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8794 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8795 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8796 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8797 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8798 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8799 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8801 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8803 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8805 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8807 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8808 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8810 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8811 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8812 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8813 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8815 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8816 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8817 * sysdeps/powerpc/preconfigure: Likewise.
8818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8820 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8821 Replace contents of file by #include of <fenv_libc.h>.
8822 * sysdeps/powerpc/soft-fp/sfp-machine.h
8823 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8825 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8826 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8827 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8828 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8829 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8830 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8831 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8832 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8833 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8834 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8835 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8836 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8838 Allow copysignl PLT reference to be missing.
8840 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8841 Joseph Myers <joseph@codesourcery.com
8844 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8846 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8848 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8850 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8851 * elf/tst-tls1.c: Likewise.
8852 * elf/tst-tls10.h: Likewise.
8853 * elf/tst-tls14.c: Likewise.
8854 * elf/tst-tls2.c: Likewise.
8855 * elf/tst-tls3.c: Likewise.
8856 * elf/tst-tls4.c: Likewise.
8857 * elf/tst-tls5.c: Likewise.
8858 * elf/tst-tls6.c: Likewise.
8859 * elf/tst-tls7.c: Likewise.
8860 * elf/tst-tls8.c: Likewise.
8861 * elf/tst-tls9.c: Likewise.
8862 * elf/tst-tlsmod1.c: Likewise.
8863 * elf/tst-tlsmod13.c: Likewise.
8864 * elf/tst-tlsmod13a.c: Likewise.
8865 * elf/tst-tlsmod14a.c: Likewise.
8866 * elf/tst-tlsmod16a.c: Likewise.
8867 * elf/tst-tlsmod16b.c: Likewise.
8868 * elf/tst-tlsmod2.c: Likewise.
8869 * elf/tst-tlsmod3.c: Likewise.
8870 * elf/tst-tlsmod4.c: Likewise.
8871 * elf/tst-tlsmod5.c: Likewise.
8872 * elf/tst-tlsmod6.c: Likewise.
8874 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8877 * malloc/malloc.c: remove checks for statistics.
8879 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8882 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8883 * inet/tst-network.c: Add testcase.
8885 2013-10-17 Andreas Schwab <schwab@suse.de>
8888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8889 to determine canonical name.
8891 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8893 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8894 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8895 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8897 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8898 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8899 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8900 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8901 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8902 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8903 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8904 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8905 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8906 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8907 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8908 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8909 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8911 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8912 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8913 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8914 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8915 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8916 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8917 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8918 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8919 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8920 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8921 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8922 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8923 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8924 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8925 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8926 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8927 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8928 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8929 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8931 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8932 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8933 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8934 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8935 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8936 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8937 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8938 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8939 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8940 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8941 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8942 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8943 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8945 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8946 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8947 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8948 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8949 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8950 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8952 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8955 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8956 make result into a quiet NaN.
8958 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8960 * soft-fp/adddf3.c: Fix horizontal whitespace.
8961 * soft-fp/addsf3.c: Likewise.
8962 * soft-fp/addtf3.c: Likewise.
8963 * soft-fp/divdf3.c: Likewise.
8964 * soft-fp/divsf3.c: Likewise.
8965 * soft-fp/divtf3.c: Likewise.
8966 * soft-fp/double.h: Likewise.
8967 * soft-fp/eqdf2.c: Likewise.
8968 * soft-fp/eqsf2.c: Likewise.
8969 * soft-fp/eqtf2.c: Likewise.
8970 * soft-fp/extenddftf2.c: Likewise.
8971 * soft-fp/extended.h: Likewise.
8972 * soft-fp/extendsfdf2.c: Likewise.
8973 * soft-fp/extendsftf2.c: Likewise.
8974 * soft-fp/extendxftf2.c: Likewise.
8975 * soft-fp/fixdfdi.c: Likewise.
8976 * soft-fp/fixdfsi.c: Likewise.
8977 * soft-fp/fixdfti.c: Likewise.
8978 * soft-fp/fixsfdi.c: Likewise.
8979 * soft-fp/fixsfsi.c: Likewise.
8980 * soft-fp/fixsfti.c: Likewise.
8981 * soft-fp/fixtfdi.c: Likewise.
8982 * soft-fp/fixtfsi.c: Likewise.
8983 * soft-fp/fixtfti.c: Likewise.
8984 * soft-fp/fixunsdfdi.c: Likewise.
8985 * soft-fp/fixunsdfsi.c: Likewise.
8986 * soft-fp/fixunsdfti.c: Likewise.
8987 * soft-fp/fixunssfdi.c: Likewise.
8988 * soft-fp/fixunssfsi.c: Likewise.
8989 * soft-fp/fixunssfti.c: Likewise.
8990 * soft-fp/fixunstfdi.c: Likewise.
8991 * soft-fp/fixunstfsi.c: Likewise.
8992 * soft-fp/fixunstfti.c: Likewise.
8993 * soft-fp/floatdidf.c: Likewise.
8994 * soft-fp/floatdisf.c: Likewise.
8995 * soft-fp/floatditf.c: Likewise.
8996 * soft-fp/floatsidf.c: Likewise.
8997 * soft-fp/floatsisf.c: Likewise.
8998 * soft-fp/floatsitf.c: Likewise.
8999 * soft-fp/floattidf.c: Likewise.
9000 * soft-fp/floattisf.c: Likewise.
9001 * soft-fp/floattitf.c: Likewise.
9002 * soft-fp/floatundidf.c: Likewise.
9003 * soft-fp/floatundisf.c: Likewise.
9004 * soft-fp/floatunditf.c: Likewise.
9005 * soft-fp/floatunsidf.c: Likewise.
9006 * soft-fp/floatunsisf.c: Likewise.
9007 * soft-fp/floatunsitf.c: Likewise.
9008 * soft-fp/floatuntidf.c: Likewise.
9009 * soft-fp/floatuntisf.c: Likewise.
9010 * soft-fp/floatuntitf.c: Likewise.
9011 * soft-fp/fmadf4.c: Likewise.
9012 * soft-fp/fmasf4.c: Likewise.
9013 * soft-fp/fmatf4.c: Likewise.
9014 * soft-fp/gedf2.c: Likewise.
9015 * soft-fp/gesf2.c: Likewise.
9016 * soft-fp/getf2.c: Likewise.
9017 * soft-fp/ledf2.c: Likewise.
9018 * soft-fp/lesf2.c: Likewise.
9019 * soft-fp/letf2.c: Likewise.
9020 * soft-fp/muldf3.c: Likewise.
9021 * soft-fp/mulsf3.c: Likewise.
9022 * soft-fp/multf3.c: Likewise.
9023 * soft-fp/negdf2.c: Likewise.
9024 * soft-fp/negsf2.c: Likewise.
9025 * soft-fp/negtf2.c: Likewise.
9026 * soft-fp/op-1.h: Likewise.
9027 * soft-fp/op-2.h: Likewise.
9028 * soft-fp/op-4.h: Likewise.
9029 * soft-fp/op-8.h: Likewise.
9030 * soft-fp/op-common.h: Likewise.
9031 * soft-fp/quad.h: Likewise.
9032 * soft-fp/single.h: Likewise.
9033 * soft-fp/soft-fp.h: Likewise.
9034 * soft-fp/sqrtdf2.c: Likewise.
9035 * soft-fp/sqrtsf2.c: Likewise.
9036 * soft-fp/sqrttf2.c: Likewise.
9037 * soft-fp/subdf3.c: Likewise.
9038 * soft-fp/subsf3.c: Likewise.
9039 * soft-fp/subtf3.c: Likewise.
9040 * soft-fp/truncdfsf2.c: Likewise.
9041 * soft-fp/trunctfdf2.c: Likewise.
9042 * soft-fp/trunctfsf2.c: Likewise.
9043 * soft-fp/trunctfxf2.c: Likewise.
9044 * soft-fp/unorddf2.c: Likewise.
9045 * soft-fp/unordsf2.c: Likewise.
9046 * soft-fp/unordtf2.c: Likewise.
9048 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9050 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9051 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9053 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9055 * elf/dl-libc.c: Clear initfini list after freeing.
9057 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9059 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9060 * soft-fp/addsf3.c: Likewise.
9061 * soft-fp/addtf3.c: Likewise.
9062 * soft-fp/divdf3.c: Likewise.
9063 * soft-fp/divsf3.c: Likewise.
9064 * soft-fp/divtf3.c: Likewise.
9065 * soft-fp/double.h: Likewise.
9066 * soft-fp/eqdf2.c: Likewise.
9067 * soft-fp/eqsf2.c: Likewise.
9068 * soft-fp/eqtf2.c: Likewise.
9069 * soft-fp/extenddftf2.c: Likewise.
9070 * soft-fp/extended.h: Likewise.
9071 * soft-fp/extendsfdf2.c: Likewise.
9072 * soft-fp/extendsftf2.c: Likewise.
9073 * soft-fp/extendxftf2.c: Likewise.
9074 * soft-fp/fixdfdi.c: Likewise.
9075 * soft-fp/fixdfsi.c: Likewise.
9076 * soft-fp/fixdfti.c: Likewise.
9077 * soft-fp/fixsfdi.c: Likewise.
9078 * soft-fp/fixsfsi.c: Likewise.
9079 * soft-fp/fixsfti.c: Likewise.
9080 * soft-fp/fixtfdi.c: Likewise.
9081 * soft-fp/fixtfsi.c: Likewise.
9082 * soft-fp/fixtfti.c: Likewise.
9083 * soft-fp/fixunsdfdi.c: Likewise.
9084 * soft-fp/fixunsdfsi.c: Likewise.
9085 * soft-fp/fixunsdfti.c: Likewise.
9086 * soft-fp/fixunssfdi.c: Likewise.
9087 * soft-fp/fixunssfsi.c: Likewise.
9088 * soft-fp/fixunssfti.c: Likewise.
9089 * soft-fp/fixunstfdi.c: Likewise.
9090 * soft-fp/fixunstfsi.c: Likewise.
9091 * soft-fp/fixunstfti.c: Likewise.
9092 * soft-fp/floatdidf.c: Likewise.
9093 * soft-fp/floatdisf.c: Likewise.
9094 * soft-fp/floatditf.c: Likewise.
9095 * soft-fp/floatsidf.c: Likewise.
9096 * soft-fp/floatsisf.c: Likewise.
9097 * soft-fp/floatsitf.c: Likewise.
9098 * soft-fp/floattidf.c: Likewise.
9099 * soft-fp/floattisf.c: Likewise.
9100 * soft-fp/floattitf.c: Likewise.
9101 * soft-fp/floatundidf.c: Likewise.
9102 * soft-fp/floatundisf.c: Likewise.
9103 * soft-fp/floatunsidf.c: Likewise.
9104 * soft-fp/floatunsisf.c: Likewise.
9105 * soft-fp/floatuntidf.c: Likewise.
9106 * soft-fp/floatuntisf.c: Likewise.
9107 * soft-fp/floatuntitf.c: Likewise.
9108 * soft-fp/fmadf4.c: Likewise.
9109 * soft-fp/fmasf4.c: Likewise.
9110 * soft-fp/fmatf4.c: Likewise.
9111 * soft-fp/gedf2.c: Likewise.
9112 * soft-fp/gesf2.c: Likewise.
9113 * soft-fp/getf2.c: Likewise.
9114 * soft-fp/ledf2.c: Likewise.
9115 * soft-fp/lesf2.c: Likewise.
9116 * soft-fp/letf2.c: Likewise.
9117 * soft-fp/muldf3.c: Likewise.
9118 * soft-fp/mulsf3.c: Likewise.
9119 * soft-fp/multf3.c: Likewise.
9120 * soft-fp/negdf2.c: Likewise.
9121 * soft-fp/negsf2.c: Likewise.
9122 * soft-fp/negtf2.c: Likewise.
9123 * soft-fp/op-1.h: Likewise.
9124 * soft-fp/op-2.h: Likewise.
9125 * soft-fp/op-4.h: Likewise.
9126 * soft-fp/op-8.h: Likewise.
9127 * soft-fp/op-common.h: Likewise.
9128 * soft-fp/quad.h: Likewise.
9129 * soft-fp/single.h: Likewise.
9130 * soft-fp/soft-fp.h: Likewise.
9131 * soft-fp/sqrtdf2.c: Likewise.
9132 * soft-fp/sqrtsf2.c: Likewise.
9133 * soft-fp/sqrttf2.c: Likewise.
9134 * soft-fp/subdf3.c: Likewise.
9135 * soft-fp/subsf3.c: Likewise.
9136 * soft-fp/subtf3.c: Likewise.
9137 * soft-fp/truncdfsf2.c: Likewise.
9138 * soft-fp/trunctfdf2.c: Likewise.
9139 * soft-fp/trunctfsf2.c: Likewise.
9140 * soft-fp/trunctfxf2.c: Likewise.
9141 * soft-fp/unorddf2.c: Likewise.
9142 * soft-fp/unordsf2.c: Likewise.
9143 * soft-fp/unordtf2.c: Likewise.
9145 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9148 * misc/error.c (error_tail): Fix possible buffer overflow.
9150 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9153 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9156 2013-10-14 P. J. McDermott <pj@pehjota.net>
9159 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9160 testing pipefail option.
9162 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9164 * soft-fp/double.h: Indent preprocessor directives inside #if.
9165 * soft-fp/extended.h: Likewise.
9166 * soft-fp/op-2.h: Likewise.
9167 * soft-fp/op-4.h: Likewise.
9168 * soft-fp/op-common.h: Likewise.
9169 * soft-fp/quad.h: Likewise.
9170 * soft-fp/single.h: Likewise.
9171 * soft-fp/soft-fp.h: Likewise.
9173 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9175 * iconv/iconv_prog.c: Fix typos.
9176 * stdio-common/psiginfo-data.h: Likewise.
9178 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9181 * locale/setlocale.c: Fix typo.
9183 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9186 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9187 signaling NaN arguments.
9188 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9189 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9192 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9194 * soft-fp/gesf2.c (__gesf2): Likewise.
9195 * soft-fp/getf2.c (__getf2): Likewise.
9196 * soft-fp/ledf2.c (__ledf2): Likewise.
9197 * soft-fp/lesf2.c (__lesf2): Likewise.
9198 * soft-fp/letf2.c (__letf2): Likewise.
9200 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9201 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9202 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9203 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9204 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9205 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9206 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9207 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9208 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9209 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9210 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9211 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9212 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9213 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9214 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9215 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9216 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9217 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9218 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9219 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9220 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9221 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9222 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9223 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9224 * soft-fp/floattidf.c (__floattidf): Likewise.
9225 * soft-fp/floattisf.c (__floattisf): Likewise.
9226 * soft-fp/floattitf.c (__floattitf): Likewise.
9227 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9228 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9229 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9230 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9231 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9232 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9233 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9234 * soft-fp/gesf2.c (__gesf2): Likewise.
9235 * soft-fp/getf2.c (__getf2): Likewise.
9236 * soft-fp/ledf2.c (__ledf2): Likewise.
9237 * soft-fp/lesf2.c (__lesf2): Likewise.
9238 * soft-fp/letf2.c (__letf2): Likewise.
9240 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9241 Undefine and redefine.
9242 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9243 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9244 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9245 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9246 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9247 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9248 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9249 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9250 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9251 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9252 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9253 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9254 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9255 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9256 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9259 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9260 without decrementing exponent if mantissa >= that for the
9262 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9263 denominator, not >. Decrement exponent in < case instead of
9264 incrementing in >= case.
9265 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9266 without decrementing exponent if mantissa >= that for the
9269 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9270 computing saturated result for unsigned overflow.
9272 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9273 Jeff Law <law@redhat.com>
9275 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9276 (atan2Mp): Add systemtap probe marker.
9277 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9278 (__ieee754_log): Add systemtap probe marker.
9279 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9280 (atanMp): Add systemtap probe marker.
9281 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9282 (tanMp): Add systemtap probe marker.
9283 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9284 (__slowexp): Add systemtap probe marker.
9285 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9286 (__slowpow): Add systemtap probe marker.
9287 * manual/probes.texi: Document probes.
9289 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9292 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9294 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9296 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9297 written to buffer but not flushed.
9298 * libio/iofwrite_u.c: Likewise.
9299 * libio/iopadn.c: Return bytes returned even if EOF was
9301 * libio/iowpadn.c: Likewise.
9302 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9303 if _IO_padn does not write the whole buffer.
9304 [!COMPILE_WPRINTF] (PAD): Likewise.
9306 2013-10-10 David S. Miller <davem@davemloft.net>
9308 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9311 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9313 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9314 instead of FSF address.
9315 * soft-fp/fixdfti.c: Likewise.
9316 * soft-fp/fixsfti.c: Likewise.
9317 * soft-fp/fixtfti.c: Likewise.
9318 * soft-fp/fixunsdfti.c: Likewise.
9319 * soft-fp/fixunssfti.c: Likewise.
9320 * soft-fp/fixunstfti.c: Likewise.
9321 * soft-fp/floattidf.c: Likewise.
9322 * soft-fp/floattisf.c: Likewise.
9323 * soft-fp/floattitf.c: Likewise.
9324 * soft-fp/floatuntidf.c: Likewise.
9325 * soft-fp/floatuntisf.c: Likewise.
9326 * soft-fp/floatuntitf.c: Likewise.
9327 * soft-fp/trunctfxf2.c: Likewise.
9329 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9330 * soft-fp/fixdfti.c: Likewise.
9331 * soft-fp/fixsfti.c: Likewise.
9332 * soft-fp/fixtfti.c: Likewise.
9333 * soft-fp/fixunsdfti.c: Likewise.
9334 * soft-fp/fixunssfti.c: Likewise.
9335 * soft-fp/fixunstfti.c: Likewise.
9336 * soft-fp/floattidf.c: Likewise.
9337 * soft-fp/floattisf.c: Likewise.
9338 * soft-fp/floattitf.c: Likewise.
9339 * soft-fp/floatuntidf.c: Likewise.
9340 * soft-fp/floatuntisf.c: Likewise.
9341 * soft-fp/floatuntitf.c: Likewise.
9342 * soft-fp/trunctfxf2.c: Likewise.
9344 2013-10-10 David S. Miller <davem@davemloft.net>
9346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9348 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9350 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9351 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9352 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9353 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9354 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9355 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9356 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9358 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9359 for NaNs before doing comparisons on argument.
9360 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9363 2013-10-10 Will Newton <will.newton@linaro.org>
9365 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9366 passed to _int_memalign does not overflow.
9368 2013-10-10 Torvald Riegel <triegel@redhat.com>
9370 * scripts/bench.pl: Add include-sources directive.
9371 * benchtests/README: Update documentation.
9373 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9375 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9376 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9377 instead of FP_INIT_ROUNDMODE.
9378 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9379 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9382 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9383 copy class of input value.
9384 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9385 not handle exceptions.
9386 * soft-fp/negsf2.c (__negsf2): Likewise.
9387 * soft-fp/negtf2.c (__negtf2): Likewise.
9388 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9390 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9392 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9393 semicolon. From Linux kernel.
9395 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9397 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9399 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9402 * manual/socket.texi: Added statement about buffer
9403 for gethostbyname2_r.
9405 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9407 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9408 Use .p2align directive instead, throughout.
9409 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9410 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9411 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9412 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9413 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9414 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9415 * sysdeps/x86_64/strchr.S: Likewise.
9416 * sysdeps/x86_64/strrchr.S: Likewise.
9418 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9420 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9422 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9424 * sysdeps/generic/math_private.h (__mpsin1): Remove
9426 (__mpcos1): Likewise.
9427 (__mpsin): New argument __range_reduce.
9428 (__mpcos): Likewise.
9429 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9430 (slow): Use __mpsin and __mpcos.
9437 (bsloww1): Likewise.
9438 (bsloww2): Likewise.
9441 (csloww1): Likewise.
9442 (csloww2): Likewise.
9443 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9444 range_reduce. Merge in __mpsin1.
9445 (__mpcos): Likewise.
9447 (__mpcos1): Likewise.
9449 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9451 * locale/loadlocale.c (_nl_intern_locale_data): Use
9453 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9454 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9455 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9456 obstack data is appropriately aligned.
9457 (obstack_int32_grow_fast): Likewise.
9458 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9459 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9460 (add_locale_uint32_array): Likewise.
9462 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9464 * benchtests/Makefile: Remove ARGLIST and RET variables.
9465 ($(objpfx)bench-%.c): Pass only function name to the script.
9466 * benchtests/README: Update documentation.
9467 * benchtests/acos-inputs: Add new directives.
9468 * benchtests/acosh-inputs: Likewise.
9469 * benchtests/asin-inputs: Likewise.
9470 * benchtests/asinh-inputs: Likewise.
9471 * benchtests/atan-inputs: Likewise.
9472 * benchtests/atanh-inputs: Likewise.
9473 * benchtests/cos-inputs: Likewise.
9474 * benchtests/cosh-inputs: Likewise.
9475 * benchtests/exp-inputs: Likewise.
9476 * benchtests/log-inputs: Likewise.
9477 * benchtests/pow-inputs: Likewise.
9478 * benchtests/rint-inputs: Likewise.
9479 * benchtests/sin-inputs: Likewise.
9480 * benchtests/sinh-inputs: Likewise.
9481 * benchtests/tan-inputs: Likewise.
9482 * benchtests/tanh-inputs: Likewise.
9483 * scripts/bench.pl: Add support for new directives.
9485 2013-10-07 Alan Modra <amodra@gmail.com>
9487 * README: Fix careless merge.
9489 2013-10-05 Alan Modra <amodra@gmail.com>
9491 * NEWS: Mention powerpc64le support and bugs fixed.
9492 * README: Both big-endian and little-endian powerpc64 supported.
9494 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9496 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9497 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9498 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9499 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9501 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9503 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9506 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9508 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9509 Move -mhard-float appending from
9510 ports/sysdeps/powerpc/powerpc32/Makefile.
9511 [$(with-fp) = yes] (ASFLAGS): Likewise.
9512 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9513 * sysdeps/powerpc/nofpu: Move directory from
9514 ports/sysdeps/powerpc/nofpu.
9515 * sysdeps/powerpc/soft-fp: Move directory from
9516 ports/sysdeps/powerpc/soft-fp.
9517 * sysdeps/powerpc/powerpc32/405: Move directory from
9518 ports/sysdeps/powerpc/powerpc32/405.
9519 * sysdeps/powerpc/powerpc32/440: Move directory from
9520 ports/sysdeps/powerpc/powerpc32/440.
9521 * sysdeps/powerpc/powerpc32/464: Move directory from
9522 ports/sysdeps/powerpc/powerpc32/464.
9523 * sysdeps/powerpc/powerpc32/476: Move directory from
9524 ports/sysdeps/powerpc/powerpc32/476.
9525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9526 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9528 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9530 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9532 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9534 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9535 * README: Update for powerpc-*-linux-gnu software floating point
9538 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9539 case to powerpc/powerpc32*.
9540 * sysdeps/unix/sysv/linux/configure: Regenerated.
9542 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9543 (_FPU_MASK_OM): Define as 0x04.
9544 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9545 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9547 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9549 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9552 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9555 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9558 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9559 and setcontext_e500.
9561 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9563 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9565 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9567 * manual/threads.texi (Default Thread Attributes): Fix typo.
9569 2013-10-04 Will Newton <will.newton@linaro.org>
9571 * malloc/Makefile: Add tst-memalign.
9572 * malloc/tst-memalign.c: New file.
9574 * malloc/tst-posix_memalign.c: Add comments.
9575 (do_test): Add comments and call free on all potentially
9576 allocated pointers. Add space after cast.
9578 * malloc/tst-pvalloc.c: Add comments.
9579 (do_test): Add comments and call free on all potentially
9580 allocated pointers. Remove duplicate check for NULL pointer.
9581 Add space after cast.
9583 * malloc/tst-valloc.c: Add comments.
9584 (do_test): Add comments and call free on all potentially
9585 allocated pointers. Remove duplicate check for NULL pointer.
9586 Add space after cast.
9588 2013-10-04 Alan Modra <amodra@gmail.com>
9590 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9591 Use stdint types in rather than __attribute__((mode())).
9592 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9594 2013-10-04 Alan Modra <amodra@gmail.com>
9596 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9597 Correct handling of unaligned relocs for little-endian.
9598 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9600 2013-10-04 Alan Modra <amodra@gmail.com>
9602 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9603 * configure: Regenerate.
9604 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9605 * shlib-versions: Likewise.
9607 2013-10-04 Alan Modra <amodra@gmail.com>
9609 * string/tester.c (test_memrchr): Increment reported test cycle.
9611 2013-10-04 Alan Modra <amodra@gmail.com>
9613 * string/test-memcpy.c (do_one_test): When reporting errors, print
9614 string address and don't overrun end of string.
9616 2013-10-04 Alan Modra <amodra@gmail.com>
9618 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9619 insrdi. Make better use of reg selection to speed exit slightly.
9620 Schedule entry path a little better. Remove useless "are we done"
9621 checks on entry to main loop. Handle wrapping around zero address.
9622 Correct main loop count. Handle single left-over word from main
9623 loop inline rather than by using loop_small. Remove extra word
9624 case in loop_small caused by wrong loop count. Add little-endian
9626 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9627 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9629 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9630 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9631 support. Avoid rlwimi.
9632 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9634 2013-10-04 Alan Modra <amodra@gmail.com>
9636 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9638 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9639 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9640 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9641 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9642 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9643 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9645 2013-10-04 Alan Modra <amodra@gmail.com>
9647 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9648 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9649 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9650 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9651 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9652 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9653 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9654 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9655 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9656 use of regs. Use power7 mtocrf. Tidy function tails.
9658 2013-10-04 Alan Modra <amodra@gmail.com>
9660 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9661 Formatting. Consistently use rXXX register defines or rN defines.
9662 Use early exit labels that avoid restoring unused non-volatile regs.
9663 Make cr field use more consistent with rWORDn compares. Rename
9664 regs used as shift registers for unaligned loop, using rN defines
9665 for short lifetime/multiple use regs.
9666 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9667 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9668 addi 1,1,64 to pop stack frame. Simplify return value code.
9669 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9671 2013-10-04 Alan Modra <amodra@gmail.com>
9673 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9674 support. Correct typos, formatting. Optimize tail. Use insrdi
9676 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9677 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9678 little-endian support. Correct typos.
9679 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9681 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9682 in loop and entry code to keep "and." results.
9683 (strchr): Add little-endian support. Comment. Move cntlzd
9685 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9687 2013-10-04 Alan Modra <amodra@gmail.com>
9689 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9690 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9691 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9692 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9694 2013-10-04 Alan Modra <amodra@gmail.com>
9696 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9697 (rTMP): Define as r11.
9698 (strcmp): Add little-endian support. Optimise tail.
9699 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9700 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9701 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9702 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9703 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9704 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9705 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9707 2013-10-04 Alan Modra <amodra@gmail.com>
9709 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9710 little-endian support. Remove unnecessary "are we done" tests.
9711 Handle "s" wrapping around zero and extremely large "size".
9712 Correct main loop count. Handle single left-over word from main
9713 loop inline rather than by using small_loop. Correct comments.
9714 Delete "zero" tail, use "end_max" instead.
9715 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9717 2013-10-04 Alan Modra <amodra@gmail.com>
9719 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9720 support. Don't branch over align.
9721 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9722 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9723 support. Rearrange tmp reg use to suit. Comment.
9724 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9726 2013-10-04 Alan Modra <amodra@gmail.com>
9728 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9730 2013-10-04 Alan Modra <amodra@gmail.com>
9732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9733 conditional form of branch and link when obtaining pc.
9734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9736 2013-10-04 Alan Modra <amodra@gmail.com>
9738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9743 2013-10-04 Alan Modra <amodra@gmail.com>
9745 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9746 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9747 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9748 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9749 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9750 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9751 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9752 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9753 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9754 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9756 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9757 Alistair Popple <alistair@ozlabs.au.ibm.com>
9758 Alan Modra <amodra@gmail.com>
9761 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9762 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9763 _dl_hwcap access for little-endian.
9764 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9765 destroy vmx regs when saving unaligned.
9766 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9767 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9768 destroy vmx regs when saving unaligned.
9770 2013-10-04 Alan Modra <amodra@gmail.com>
9772 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9773 Don't use a union to pack hi/low value.
9775 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9777 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9779 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9780 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9781 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9782 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9783 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9785 2013-10-04 Alan Modra <amodra@gmail.com>
9787 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9788 constants to usual value for .cst8 section, and remove redundant
9790 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9791 constant for 0x1p52. Load little-endian words of double from
9792 correct stack offsets.
9794 2013-10-04 Alan Modra <amodra@gmail.com>
9796 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9797 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9798 words of double from correct stack offsets.
9799 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9800 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9801 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9802 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9803 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9804 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9805 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9806 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9807 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9808 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9809 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9810 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9811 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9812 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9813 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9814 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9815 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9817 2013-10-04 Alan Modra <amodra@gmail.com>
9819 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9820 64-bit int/double union.
9821 (_FPU_SETCW): Likewise.
9822 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9823 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9825 2013-10-04 Alan Modra <amodra@gmail.com>
9827 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9828 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9830 2013-10-04 Alan Modra <amodra@gmail.com>
9832 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9833 use vector int constants.
9834 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9836 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9838 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9839 array with long long.
9840 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9841 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9842 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9843 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9844 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9845 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9846 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9847 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9848 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9849 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9850 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9851 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9852 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9854 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9856 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9857 (__signbit): Likewise. Correct for little-endian.
9858 (__signbitl): Call __signbit.
9859 (lrint): Correct for little-endian.
9860 (lrintf): Call lrint.
9862 2013-10-04 Alan Modra <amodra@gmail.com>
9864 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9865 union 32-bit int array member with 64-bit int array.
9866 (t515, tm256): Double rather than long double.
9867 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9869 2013-10-04 Alan Modra <amodra@gmail.com>
9871 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9873 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9874 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9875 version of math_ldbl.h.
9877 2013-10-04 Alan Modra <amodra@gmail.com>
9879 [BZ #15734], [BZ #15735]
9880 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9881 all uses of ieee875 long double macros and unions. Simplify test
9882 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9883 ldbl_extract_mantissa value for ix,iy exponents. Properly
9884 normalize after ldbl_extract_mantissa, and don't add hidden bit
9885 already handled. Don't treat low word of ieee854 mantissa like
9886 low word of IBM long double and mask off bit when testing for
9888 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9889 all uses of ieee875 long double macros and unions. Simplify tests
9890 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9891 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9892 two1022, instead use their values. Recognise that tests for large
9893 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9894 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9895 Rewrite all uses of ieee875 long double macros and unions. Simplify
9896 test for 0.0L and nan. Correct negation.
9897 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9898 ieee875 long double macros and unions. Correct output for large
9899 magnitude x. Correct absolute value calculation.
9900 (__erfcl): Likewise.
9901 * math/libm-test.inc: Add tests for errors discovered in IBM long
9902 double versions of fmodl, remainderl, erfl and erfcl.
9904 2013-10-04 Alan Modra <amodra@gmail.com>
9906 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9907 all uses of ieee854 long double macros and unions. Simplify tests
9908 for long doubles that are fully specified by the high double.
9909 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9911 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9912 Remove dead code too.
9913 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9914 (__ieee754_ynl): Likewise.
9915 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9916 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9917 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9918 Remove dead code too.
9919 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9920 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9921 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9922 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9924 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9926 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9927 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9928 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9929 Comment on variable precision.
9930 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9931 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9933 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9934 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9935 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9936 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9937 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9939 2013-10-04 Alan Modra <amodra@gmail.com>
9941 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9942 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9943 all uses of ieee854 long double macros and unions.
9944 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9945 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9946 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9947 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9948 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9949 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9951 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9952 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9953 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9954 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9955 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9956 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9957 Simplify sign and nan test too.
9958 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9959 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9960 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9961 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9963 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9964 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9966 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9967 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9968 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9969 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9970 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9971 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9973 2013-10-04 Alan Modra <amodra@gmail.com>
9975 * stdio-common/printf_size.c (__printf_size): Don't use
9976 union ieee854_long_double in fpnum union.
9977 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9978 signbit macro to retrieve sign from long double.
9979 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9980 retrieve sign from long double.
9981 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9982 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9983 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9984 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9985 * math/test-misc.c (main): Don't use union ieee854_long_double.
9987 2013-10-04 Alan Modra <amodra@gmail.com>
9990 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9991 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9992 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9993 calculation. Remove unnecessary test for denormal exponent.
9994 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9995 Correct handling of denormals. Avoid undefined shift behaviour.
9996 Correct normalisation of low mantissa when low double is denormal.
9997 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9998 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9999 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10000 Correct normalisation of low mantissa. Test for overflow of high
10001 mantissa and normalise.
10002 (ldbl_nearbyint): Use more readable constant for two52.
10003 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10004 (__mpn_construct_long_double): Fix test for overflow of high
10005 mantissa and correct normalisation. Avoid undefined shift.
10007 2013-10-04 Alan Modra <amodra@gmail.com>
10009 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10010 (union ibm_extended_long_double): Define as an array of ieee754_double.
10011 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10012 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10013 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10014 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10015 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10016 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10017 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10018 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10019 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10020 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10021 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10023 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10025 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10026 page size instead of calling getpagesize.
10028 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10029 (LOCFILE_ALIGN_MASK): Likewise.
10030 (LOCFILE_ALIGN_UP): Likewise.
10031 (LOCFILE_ALIGNED_P): Likewise.
10032 * locale/programs/ld-collate.c (collate_output): Use the new
10033 macros instead of __alignof__ (int32_t).
10034 * locale/weight.h (findidx): Likewise.
10036 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10039 * manual/string.texi: Fix strncat and wcsncat.
10041 2013-10-03 Brooks Moses <bmoses@google.com>
10044 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10045 * Makerules: ...here, and adjust associated comments.
10047 2013-10-02 Will Newton <will.newton@linaro.org>
10049 * malloc/Makefile: Add tst-pvalloc.
10050 * malloc/tst-pvalloc.c: New file.
10052 2013-10-02 Will Newton <will.newton@linaro.org>
10054 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10055 improve test coverage.
10057 2013-10-02 Will Newton <will.newton@linaro.org>
10059 * malloc/Makefile: Add tst-posix_memalign.
10060 * malloc/tst-posix_memalign.c: New file.
10062 2013-10-01 Eric Blake <eblake@redhat.com>
10064 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10065 Use __THROWNL rather than __THROW on static functions.
10067 2013-09-30 Petr Machata <pmachata@redhat.com>
10069 * elf/elf.h (R_AARCH64_ABS16): New macro.
10070 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10071 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10072 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10073 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10074 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10075 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10076 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10077 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10078 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10079 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10080 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10081 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10082 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10083 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10084 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10085 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10086 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10087 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10088 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10089 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10090 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10091 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10092 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10093 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10094 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10095 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10096 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10097 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10098 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10099 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10100 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10101 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10102 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10103 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10104 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10105 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10106 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10107 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10108 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10109 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10110 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10111 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10112 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10113 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10114 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10115 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10116 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10117 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10118 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10119 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10120 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10121 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10122 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10123 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10124 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10125 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10126 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10127 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10128 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10129 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10130 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10131 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10132 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10133 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10134 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10135 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10136 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10137 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10138 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10139 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10140 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10141 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10142 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10143 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10144 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10145 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10146 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10147 (R_AARCH64_TLSDESC_LDR): Likewise.
10148 (R_AARCH64_TLSDESC_ADD): Likewise.
10149 (R_AARCH64_TLSDESC_CALL): Likewise.
10151 2013-09-30 Andreas Schwab <schwab@suse.de>
10154 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10155 the nss database lookup.
10156 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10159 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10161 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10163 2013-09-28 P. J. McDermott <pj@pehjota.net>
10165 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10166 ${Bash-specific parameter/pattern/string} parameter expansion.
10167 * sysdeps/unix/make-syscalls.sh: Likewise.
10169 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10171 * sysdeps/sh/stackguard-macros.h: New file.
10173 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10175 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10176 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10177 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10178 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10179 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10180 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10182 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10184 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10185 Fix thread ID register.
10187 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10189 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10190 [POSIX || UNIX98]: Require rather than permitting all symbols from
10192 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10193 element of struct sched_param.
10194 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10195 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10196 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10197 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10200 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10202 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10203 argument calculation.
10205 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10207 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10209 [POSIX] (pthread_attr_t): Do not require type.
10210 [POSIX] (pthread_cond_t): Likewise.
10211 [POSIX] (pthread_condattr_t): Likewise.
10212 [POSIX] (pthread_key_t): Likewise.
10213 [POSIX] (pthread_mutex_t): Likewise.
10214 [POSIX] (pthread_mutexattr_t): Likewise.
10215 [POSIX] (pthread_once_t): Likewise.
10216 [POSIX] (pthread_t): Likewise.
10217 [POSIX-based standards] (pthread_atfork): Expect function.
10219 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10220 Richard Sandiford <richard@codesourcery.com>
10222 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10223 (swap_endianness_p): New extern variable.
10224 (set_big_endian): New inline function.
10225 (maybe_swap_uint32): Likewise.
10226 (maybe_swap_uint32_array): Likewise.
10227 (maybe_swap_uint32_obstack): Likewise.
10228 * locale/programs/locfile.c: Include <stdbool.h>.
10229 (swap_endianness_p): New variable.
10230 (add_locale_uint32): Call maybe_swap_uint32.
10231 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10232 (write_locale_data): Call maybe_swap_uint32_array.
10233 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10235 (obstack_int32_grow_fast): Likewise.
10236 (output_weightwc): Call maybe_swap_uint32_obstack.
10237 (collate_output): Likewise.
10238 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10239 (OPT_LITTLE_ENDIAN): Likewise.
10240 (options): Add --little-endian and --big-endian options.
10241 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10242 * locale/programs/locarchive.c: Include "locfile.h".
10246 (create_archive): Use the new macros to access fields of
10247 structures directly mapped from or written to locale archives.
10248 (oldlocrecentcmp): Likewise.
10249 (enlarge_archive): Likewise.
10250 (insert_name): Likewise.
10251 (add_alias): Likewise.
10252 (add_locale): Likewise.
10253 (delete_locales_from_archive): Likewise.
10254 (show_archive_content): Likewise.
10255 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10258 2013-09-24 Roland McGrath <roland@hack.frob.com>
10260 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10261 http://www.gnu.org/doc/freemanuals.texi.
10262 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10264 2013-09-24 Will Newton <will.newton@linaro.org>
10266 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10269 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10271 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10274 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10276 * manual/threads.texi (POSIX Threads): Fix a typo.
10278 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10281 * string/tst-strcoll-overflow.c: New test case.
10282 * string/Makefile (xtests): Add tst-strcoll-overflow.
10283 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10284 cache if string sizes may cause integer overflow.
10287 * string/strcoll_l.c (coll_seq): New members rule, idx,
10288 save_idx and back_us.
10289 (get_next_seq_nocache): New function.
10290 (do_compare_nocache): New function.
10291 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10294 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10297 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10298 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10299 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10302 * elf/Makefile (tests): Add tst-ptrguard1.
10303 (tests-static): Add tst-ptrguard1-static.
10304 (tst-ptrguard1-ARGS): Define.
10305 (tst-ptrguard1-static-ARGS): Define.
10306 * elf/tst-ptrguard1.c: New file.
10307 * elf/tst-ptrguard1-static.c: New file.
10308 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10309 * sysdeps/i386/stackguard-macros.h: Likewise.
10310 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10311 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10312 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10313 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10314 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10315 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10317 2013-09-23 Hector Marco <hecmargi@upv.es>
10318 Ismael Ripoll <iripoll@disca.upv.es>
10319 Carlos O'Donell <carlos@redhat.com>
10322 * sysdeps/generic/stackguard-macros.h: Define
10323 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10324 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10325 Define __pointer_chk_guard_local.
10326 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10327 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10329 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10332 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10334 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10336 * include/string.h (__ffs): Declare as hidden.
10337 * string/ffs.c (__ffs): Define as hidden.
10338 * sysdeps/i386/ffs.c (__ffs): Likewise.
10339 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10340 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10341 * sysdeps/s390/ffs.c (__ffs): Likewise.
10342 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10344 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10346 * NEWS: Mention malloc probes.
10348 * malloc/arena.c (new_heap): New memory_heap_new probe.
10349 (grow_heap): New memory_heap_more probe.
10350 (shrink_heap): New memory_heap_less probe.
10351 (heap_trim): New memory_heap_free probe.
10352 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10353 (systrim): New memory_sbrk_less probe.
10354 * manual/probes.texi: Document them.
10356 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10357 * manual/probes.texi: Document it.
10359 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10360 (__libc_realloc): Add memory_realloc_retry probe.
10361 (__libc_memalign): Add memory_memalign_retry probe.
10362 (__libc_valloc): Add memory_valloc_retry probe.
10363 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10364 (__libc_calloc): Add memory_calloc_retry probe.
10365 * manual/probes.texi: Document them.
10367 * malloc/arena.c (get_free_list): Add probe
10368 memory_arena_reuse_free_list.
10369 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10370 and memory_arena_reuse.
10371 (arena_get2) [!PER_THREAD]: Likewise.
10372 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10373 memory_arena_reuse_realloc.
10374 * manual/probes.texi: Document them.
10376 * malloc/malloc.c (__libc_free): Add
10377 memory_mallopt_free_dyn_thresholds probe.
10378 (__libc_mallopt): Add multiple memory_mallopt probes.
10379 * manual/probes.texi: Document them.
10381 * malloc/malloc.c: Include stap-probe.h.
10382 (__libc_mallopt): Add memory_mallopt probe.
10383 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10384 * manual/probes.texi: New.
10385 * manual/Makefile (chapters): Add probes.
10386 * manual/threads.texi: Set next node.
10388 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10390 [BZ #15963, #13985]
10391 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10392 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10393 Add `Chinese' to `nan' entry name.
10395 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10397 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10398 (POLYNOMIAL): Likewise.
10399 (TAYLOR_SINCOS): Likewise.
10400 (TAYLOR_SLOW): Likewise.
10401 (__sin): Use TAYLOR_SINCOS.
10403 (slow): Use TAYLOR_SLOW.
10405 (bsloww): Likewise.
10406 (csloww): Likewise.
10408 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10410 * stdlib/strtod_l.c: Fix buffer overrun.
10412 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10414 * benchtests/Makefile (bench): Add sincos.
10415 * benchtests/bench-sincos.c: New file.
10417 * math/libm-test.inc (cos_test_data): New test inputs.
10418 (sin_test_data): Likewise.
10420 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10426 (sloww1): Likewise.
10427 (sloww2): Likewise.
10428 (bsloww1): Likewise.
10429 (bsloww2): Likewise.
10430 (cslow2): Likewise.
10431 (csloww1): Likewise.
10432 (csloww2): Likewise.
10434 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10439 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10443 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10445 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10446 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10447 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10448 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10449 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10450 * elf/cache.c (print_entry): Handle the new cache flags.
10452 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10453 Aldy Hernandez <aldyh@redhat.com>
10455 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10456 Change condition to [_SOFT_FLOAT].
10457 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10458 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10459 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10461 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10462 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10463 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10464 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10465 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10466 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10467 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10468 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10469 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10470 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10471 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10472 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10475 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10477 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10478 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10479 (__longjmp): Use LOAD_GP to load saved GPRs.
10480 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10481 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10482 (__sigsetjmp): Use SAVE_GP to save GPRs.
10484 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10485 Do not append -msoft-float.
10486 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10488 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10490 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10492 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10495 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10496 (_FPU_GETCW): Use initial "__" on variable and field names but not
10497 on macro parameter name.
10498 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10499 parentheses around reference to macro parameter.
10501 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10503 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10505 (ctype_startup): Use uint32_t in cast and sizeof for
10508 2013-09-11 Jia Liu <proljc@gmail.com>
10510 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10512 [__FreeBSD__]: Likewise.
10514 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10516 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10517 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10518 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10519 (strchr): Remove __strchr_sse42 ifunc selection.
10520 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10521 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10523 2013-09-11 Will Newton <will.newton@linaro.org>
10525 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10526 parameter to RES. Remove hardcoded 1000 value.
10527 * benchtests/bench-skeleton.c (main): Pass RES parameter
10528 to TIMING_INIT and multiply result by 1000.
10530 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10534 2013-09-11 Andreas Schwab <schwab@suse.de>
10536 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10538 (O_TMPFILE) [__USE_GNU]: Define.
10539 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10542 2013-09-11 Will Newton <will.newton@linaro.org>
10545 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10548 2013-09-11 Will Newton <will.newton@linaro.org>
10551 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10554 2013-09-11 Will Newton <will.newton@linaro.org>
10557 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10560 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10562 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10563 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10564 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10565 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10566 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10568 2013-09-10 Allan McRae <allan@archlinux.org>
10571 * manual/arith.texi (Parsing of Floats): Clarify
10575 * manual/install.texi (Running make install): Mention
10577 * INSTALL: Regenerated.
10579 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10581 * csu/init-first.c (_init): Remove the !SHARED condition around
10582 FPU control word initialization.
10583 * elf/dl-support.c (_dl_fpu_control): New variable.
10584 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10585 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10586 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10587 * math/test-fpucw-static.c: New file.
10588 * math/test-fpucw-ieee.c: New file.
10589 * math/test-fpucw-ieee-static.c: New file.
10590 * math/Makefile (tests): Add `test-fpucw-ieee' and
10592 (tests-static): New variable.
10593 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10595 [($(build-shared),yes)]
10596 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10598 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10601 2013-09-09 Allan McRae <allan@archlinux.org>
10604 * manual/string.texi (Collation Functions): Fix typo in
10606 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10609 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10612 * libio/memstream.c (open_memstream): Fix memory leak.
10613 * libio/wmemstream.c (open_wmemstream): Likewise.
10616 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10618 2013-09-09 Will Newton <will.newton@linaro.org>
10620 * malloc/Makefile: Add tst-realloc to tests.
10621 * malloc/tst-realloc.c: New file.
10623 2013-09-09 Allan McRae <allan@archlinux.org>
10626 * COPYING: Update from GNU website to fix FSF address.
10627 * COPYING.LIB: Likewise.
10629 2013-09-06 David S. Miller <davem@davemloft.net>
10631 * po/zh_TW.po: Update Chinese (traditional) translation from
10632 translation project.
10634 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10635 Joseph Myers <joseph@codesourcery.com>
10637 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10639 (obstack_chunk_alloc): New macro.
10640 (obstack_chunk_free): Likewise.
10641 (record_offset): New function.
10642 (init_locale_data): Likewise.
10643 (align_locale_data): Likewise.
10644 (add_locale_empty): Likewise.
10645 (add_locale_raw_data): Likewise.
10646 (add_locale_raw_obstack): Likewise.
10647 (add_locale_string): Likewise.
10648 (add_locale_wstring): Likewise.
10649 (add_locale_uint32): Likewise.
10650 (add_locale_uint32_array): Likewise.
10651 (add_locale_char): Likewise.
10652 (start_locale_structure): Likewise.
10653 (end_locale_structure): Likewise.
10654 (start_locale_prelude): Likewise.
10655 (end_locale_prelude): Likewise.
10656 (write_locale_data): Take locale_file structure rather than an
10658 * locale/programs/locfile.h: Include "obstack.h".
10659 (struct locale_file): Change to store locale file contents instead
10661 (init_locale_data): New prototype.
10662 (align_locale_data): Likewise.
10663 (add_locale_empty): Likewise.
10664 (add_locale_raw_data): Likewise.
10665 (add_locale_raw_obstack): Likewise.
10666 (add_locale_string): Likewise.
10667 (add_locale_wstring): Likewise.
10668 (add_locale_uint32): Likewise.
10669 (add_locale_uint32_array): Likewise.
10670 (add_locale_char): Likewise.
10671 (start_locale_structure): Likewise.
10672 (end_locale_structure): Likewise.
10673 (start_locale_prelude): Likewise.
10674 (end_locale_prelude): Likewise.
10675 (write_locale_data): Update prototype.
10676 * locale/programs/3level.h (struct TABLE): Remove result field.
10677 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10678 Use new locale_file interface.
10679 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10680 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10681 * locale/programs/ld-address.c (address_output): Use new
10682 locale_file interface.
10683 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10685 (collate_finish): Don't call collseq_table_finalize.
10686 (collate_output): Use new locale_file interface.
10687 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10689 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10690 (TABLE): Move defines earlier in file.
10691 (ELEMENT): Likewise.
10692 (DEFAULT): Likewise.
10693 (wctrans_table_add): Move macro and inline function earlier in
10695 (struct wctype_table): Move type earlier in file.
10696 (add_locale_wctype_table): New static prototype.
10697 (struct locale_ctype_t): Use logical types instead of struct iovec
10698 pointers for members.
10699 (ctype_output): Use new locale_file interface.
10700 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10701 new locale_file interface.
10702 (allocate_arrays): Update for use of new locale_file interface.
10703 * locale/programs/ld-identification.c (identification_output): Use
10704 new locale_file interface.
10705 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10706 * locale/programs/ld-messages.c (messages_output): Likewise.
10707 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10708 * locale/programs/ld-name.c (name_output): Likewise.
10709 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10710 * locale/programs/ld-paper.c (paper_output): Likewise.
10711 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10712 * locale/programs/ld-time.c (time_output): Likewise.
10714 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10716 * benchtests/Makefile: Add memrchr benchmark.
10717 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10718 benchmark as memrchr.
10719 * benchtests/bench-memrchr-ifunc.c: New file.
10720 * benchtests/bench-memrchr.c: New file.
10722 2013-09-06 Will Newton <will.newton@linaro.org>
10724 * benchtests/Makefile (string-bench): Add memcpy.
10726 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10727 Cong Wang <amwang@redhat.com>
10730 * sysdeps/unix/sysv/linux/bits/in.h
10731 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10732 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10733 before __USE_KERNEL_IPV6_DEFS uses.
10734 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10736 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10737 sockaddr_in6, or ipv6_mreq.
10739 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10741 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10742 memory access for final bytes in some large inputs.
10743 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10745 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10747 * string/test-memrchr.c: New file.
10748 * string/test-memrchr-ifunc.c: New file.
10749 * string/Makefile: Add new memrchr testcase.
10751 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10753 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10754 fanotify_init returns EPERM.
10756 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10758 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10760 (top level): Treat second token from macro or constant entries for
10761 allowed headers as allowed.
10762 * include/complex.h: Condition internal declarations on
10764 * include/fenv.h: Condition include of <stdbool.h> and internal
10765 declarations on [!_ISOMAC].
10767 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10770 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10772 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10774 * configure.in (--enable-versioning): Remove configure option.
10775 (libc_cv_asm_symver_directive): Remove configure test.
10776 (libc_cv_ld_version_script_option): Likewise.
10777 (VERSIONING): Remove variable and AC_SUBST.
10778 (DO_VERSIONING): Remove AC_DEFINE.
10779 * configure: Regenerated.
10780 * config.h.in (DO_VERSIONING): Remove macro.
10781 * Makerules [$(versioning) = yes]: Change conditionals to
10782 [$(build-shared) = yes].
10783 * config.make.in (versioning): Remove variable.
10784 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10785 [$(build-shared) = yes].
10786 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10787 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10788 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10789 [$(build-shared) = yes].
10790 * extra-lib.mk [$(versioning) = yes]: Likewise.
10791 * hurd/Makefile [$(versioning) = yes]: Likewise.
10792 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10794 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10796 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10797 [SHARED && !NO_HIDDEN].
10798 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10800 [SHARED && DO_VERSIONING]: Likewise..
10801 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10802 [$(build-shared) = yes].
10803 * manual/install.texi (--disable-versioning): Remove
10805 * INSTALL: Regenerated.
10806 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10808 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10809 [$(build-shared) = yes].
10810 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10811 * sysdeps/i386/i686/multiarch/strstr-c.c
10812 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10813 [SHARED && !NO_HIDDEN].
10814 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10815 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10816 * sysdeps/powerpc/powerpc32/dl-machine.c
10817 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10818 * sysdeps/powerpc/powerpc32/sysdep.h
10819 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10820 to [SHARED && PIC && !NO_HIDDEN].
10821 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10822 conditional to [SHARED].
10824 2013-09-04 Will Newton <will.newton@linaro.org>
10826 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10827 * benchtests/bench-string.h: Include bench-timing.h instead
10828 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10829 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10830 call to HP_TIMING_DIFF_INIT.
10831 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10832 instead of hp-timing.h macros.
10833 * benchtests/bench-memchr.c: Likewise.
10834 * benchtests/bench-memcmp.c: Likewise.
10835 * benchtests/bench-memcpy.c: Likewise.
10836 * benchtests/bench-memmem.c: Likewise.
10837 * benchtests/bench-memmove.c: Likewise.
10838 * benchtests/bench-memset.c: Likewise.
10839 * benchtests/bench-rawmemchr.c: Likewise.
10840 * benchtests/bench-strcasecmp.c: Likewise.
10841 * benchtests/bench-strcasestr.c: Likewise.
10842 * benchtests/bench-strcat.c: Likewise.
10843 * benchtests/bench-strchr.c: Likewise.
10844 * benchtests/bench-strcmp.c: Likewise.
10845 * benchtests/bench-strcpy.c: Likewise.
10846 * benchtests/bench-strcpy_chk.c: Likewise.
10847 * benchtests/bench-strlen.c: Likewise.
10848 * benchtests/bench-strncasecmp.c: Likewise.
10849 * benchtests/bench-strncat.c: Likewise.
10850 * benchtests/bench-strncmp.c: Likewise.
10851 * benchtests/bench-strncpy.c: Likewise.
10852 * benchtests/bench-strnlen.c: Likewise.
10853 * benchtests/bench-strpbrk.c: Likewise.
10854 * benchtests/bench-strrchr.c: Likewise.
10855 * benchtests/bench-strspn.c: Likewise.
10856 * benchtests/bench-strstr.c: Likewise.
10858 2013-09-04 Will Newton <will.newton@linaro.org>
10860 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10862 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10865 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10866 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10867 * math/libm-test.inc (lgamma_test_data): Add more tests.
10868 * sysdeps/i386/fpu/libm-test-ulps: Update.
10869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10871 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10873 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10874 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10876 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10877 Add strcmp-sse2-unaligned
10878 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10880 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10882 * Versions.def (libc): Add GLIBC_2.19.
10884 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10886 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10887 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10889 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10892 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10893 intermediate calculations in recurrence.
10894 (__ieee754_ynf): Likewise.
10895 * math/libm-test.inc (jn_test_data): Do not allow spurious
10896 underflow exception. Add more tests.
10897 (yn_test_data): Add more tests.
10898 * sysdeps/i386/fpu/libm-test-ulps: Update.
10899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10901 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10903 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10905 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10907 * csu/init-first.c: Fix then/than typos.
10908 * locale/programs/ld-collate.c: Likewise.
10909 * locale/programs/linereader.h: Likewise.
10910 * manual/charset.texi: Likewise.
10911 * manual/filesys.texi: Likewise.
10912 * manual/stdio.texi: Likewise.
10913 * manual/string.texi: Likewise.
10914 * stdlib/fmtmsg.c: Likewise.
10915 * sysdeps/i386/stpncpy.S: Likewise.
10916 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10917 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10918 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10919 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10921 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10923 * elf/dl-open.c: Fix typos.
10924 * iconvdata/gbbig5.c: Likewise.
10925 * iconvdata/iso-2022-jp.c: Likewise.
10926 * iconv/gconv_int.h: Likewise.
10927 * iconv/loop.c: Likewise.
10928 * nis/rpcsvc/nis.h: Likewise.
10929 * resolv/ns_name.c: Likewise.
10930 * stdio-common/vfscanf.c: Likewise.
10931 * streams/stropts.h: Likewise.
10932 * sunrpc/rpc_thread.c: Likewise.
10933 * sysdeps/i386/strpbrk.S: Likewise.
10934 * sysdeps/ieee754/k_standard.c: Likewise.
10935 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10936 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10937 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10938 * sysdeps/mach/hurd/profil.c: Likewise.
10939 * sysdeps/s390/dl-procinfo.h: Likewise.
10940 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10941 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10942 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10943 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10944 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10946 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10948 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10949 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10951 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10953 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10954 aix specific files.
10955 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10956 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10957 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10958 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10959 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10960 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10961 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10962 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10964 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10965 Roland McGrath <roland@hack.frob.com>
10967 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10968 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10970 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10972 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10973 __executable_start symbol instead of _start.
10975 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10977 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10978 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10980 * sysdeps/gnu/ldsodefs.h: ... this new file.
10982 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10983 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10984 instead of ELFOSABI_LINUX.
10986 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10987 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10988 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10989 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10991 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10992 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10993 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10995 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10996 (ibm_extended_long_double): Add ieee_nan member.
10997 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10998 (do_test): New function.
11000 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11002 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11003 functions, renamed from truncdfsf_test, trunctfsf_test,
11005 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11007 (do_test): Run all these.
11009 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11011 * argp/argp-help.c: Fix typos.
11012 * argp/argp-parse.c: Likewise.
11013 * debug/backtracesyms.c: Likewise.
11014 * elf/elf.h: Likewise.
11015 * malloc/malloc.c: Likewise.
11016 * nis/nis_print.c: Likewise.
11017 * resolv/res_comp.c: Likewise.
11018 * stdlib/stdlib.h: Likewise.
11019 * sunrpc/clnt_tcp.c: Likewise.
11020 * sunrpc/clnt_udp.c: Likewise.
11021 * sunrpc/clnt_unix.c: Likewise.
11022 * sysdeps/unix/bsd/ptsname.c: Likewise.
11023 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11024 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11031 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11033 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11035 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11038 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11041 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11042 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11043 ($(objpfx)bug-dl-leaf): New rule.
11044 ($(objpfx)bug-dl-leaf.so): Likewise.
11045 ($(objpfx)bug-dl-leaf.out): Likewise.
11046 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11047 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11048 * dlfcn/bug-dl-leaf.c: New test.
11049 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11050 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11051 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11052 (dlclose): Likewise.
11053 (dlmopen): Likewise.
11055 2013-08-27 Roland McGrath <roland@hack.frob.com>
11057 * include/netdb.h [!_ISOMAC]:
11058 Don't include <tls.h>.
11059 (h_errno, __libc_h_errno): Move declaration and macros out of
11062 * include/resolv.h [_RESOLV_H_]:
11063 Don't include <tls.h>.
11064 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11065 * resolv/res_libc.c: Don't include <tls.h>.
11066 (_res): Use __attribute__ ((nocommon)) in place of
11067 __attribute__ ((section (".bss"))).
11069 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11070 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11072 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11074 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11075 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11077 * resolv/res_mkquery.c: Include <sys/time.h>.
11079 * inet/ifreq.c: Moved to ...
11080 * sysdeps/unix/ifreq.c: ... here.
11081 * inet/ifreq.c: New file, true stub version.
11083 * socket/sa_len.c: New file.
11084 * socket/Makefile (aux): Add it.
11085 * sysdeps/unix/sysv/linux/Makefile
11086 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11087 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11088 and #include <socket/sa_len.c>.
11089 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11090 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11092 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11093 * bits/socket.h: ... here.
11095 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11096 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11097 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11099 2013-08-27 Andreas Schwab <schwab@suse.de>
11102 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11103 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11104 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11105 * string/test-strcasecmp.c (test_main): Run tests in several
11107 * string/test-strncasecmp.c (test_main): Likewise.
11109 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11110 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11111 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11112 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11113 (__strncasecmp_ssse3) [PIC]: Likewise.
11115 2013-08-26 Roland McGrath <roland@hack.frob.com>
11117 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11119 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11120 instead of explicitly declaring xdecrypt.
11121 * nis/nss_nis/nis-publickey.c: Likewise.
11123 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11126 * nscd/aicache.c: Include res_hconf.h.
11127 (addhstaiX): Initialize res_hconf.
11129 2013-08-26 Andreas Schwab <schwab@suse.de>
11131 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11132 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11134 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11136 * nscd/aicache.c (addhstaiX): Fix indentation.
11138 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11140 * configure.ac: Quote $build_pt_chown test.
11141 * configure: Regenerated.
11143 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11146 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11147 * math/s_cexpf.c (__cexpf): Likewise.
11148 * math/s_cexpl.c (__cexpl): Likewise.
11149 * math/libm-test.inc (cexp_test_data): Correct expected return
11150 value for NaN + i0. Add another test.
11152 2013-08-22 David S. Miller <davem@davemloft.net>
11154 * po/ca.po: Update Catalan translation from translation project.
11155 * po/uk.po: Add Ukrainian translations from translation project.
11157 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11160 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11161 is infinite, not alongside NaN test.
11162 * math/s_fdimf.c (__fdimf): Likewise.
11163 * math/s_fdiml.c (__fdiml): Likewise.
11164 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11165 errno is unchanged.
11167 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11169 * argp/argp-help.c: Fix typos.
11170 * crypt/speeds.c: Likewise.
11171 * csu/check_fds.c: Likewise.
11172 * elf/dl-load.c: Likewise.
11173 * elf/dl-open.c: Likewise.
11174 * elf/reldep3.c: Likewise.
11175 * elf/reldep.c: Likewise.
11176 * elf/sprof.c: Likewise.
11177 * iconv/iconv_charmap.c: Likewise.
11178 * iconv/skeleton.c: Likewise.
11179 * iconv/strtab.c: Likewise.
11180 * io/lockf64.c: Likewise.
11181 * libio/libioP.h: Likewise.
11182 * resolv/gai_notify.c: Likewise.
11183 * resolv/ns_name.c: Likewise.
11184 * resolv/ns_samedomain.c: Likewise.
11185 * resolv/res_send.c: Likewise.
11186 * stdlib/random.c: Likewise.
11187 * sunrpc/rpc/xdr.h: Likewise.
11188 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11189 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11190 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11191 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11192 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11193 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11194 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11195 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11196 * sysdeps/mach/hurd/check_fds.c: Likewise.
11197 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11198 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11199 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11200 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11201 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11202 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11203 * sysdeps/pthread/aio_notify.c: Likewise.
11204 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11205 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11206 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11207 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11208 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11210 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11212 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11213 version if bit_Slow_SSE4_2 is set.
11214 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11215 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11217 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11220 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11221 trampoline stack frame information.
11222 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11223 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11224 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11225 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11226 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11227 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11228 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11229 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11231 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11232 interrupting a syscall and set with option SA_SIGINFO.
11234 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11237 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11238 argument is infinite.
11239 * math/s_cprojf.c (__cprojf): Likewise.
11240 * math/s_cprojl.c (__cprojl): Likewise.
11241 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11242 * math/libm-test.inc (cproj_test_data): Add more tests.
11244 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11246 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11247 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11248 size. Use __ffs to determine corresponding shift.
11250 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11251 Roland McGrath <roland@hack.frob.com>
11253 * Makefile (INSTALL): Remove trailing blank lines from output of
11256 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11258 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11259 Align 32 bit compat elf_greg to 8 bytes.
11261 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11263 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11265 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11267 * string/strcoll_l.c (coll_seq): New structure.
11268 (get_next_seq_cached): New function.
11269 (get_next_seq): New function.
11270 (do_compare): New function.
11271 (STRCOLL): Use GNU style definition. Simplify implementation
11272 by using get_next_seq, get_next_seq_cached and do_compare.
11274 2013-08-16 Florian Weimer <fweimer@redhat.com>
11278 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11280 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11282 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11283 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11284 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11286 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11287 GETDENTS_64BIT_ALIGNED.
11288 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11289 * manual/filesys.texi (Reading/Closing Directory): Document
11290 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11292 * manual/conf.texi (Limits for Files): Add portability note to
11293 NAME_MAX, PATH_MAX.
11294 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11296 2013-08-13 Andreas Schwab <schwab@suse.de>
11299 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11301 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11302 LDBL_MAX_EXP >= 16384]: Add tests for it.
11304 2013-08-12 David S. Miller <davem@davemloft.net>
11306 * version.h (RELEASE): Set to "development".
11307 (VERSION): Set to "2.18.90".
11308 * NEWS: Add 2.19 section.
11310 2013-08-03 David S. Miller <davem@davemloft.net>
11312 * po/ko.po: Update Korean translation from translation project.
11314 2013-08-01 David S. Miller <davem@davemloft.net>
11316 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11317 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11320 2013-07-30 David S. Miller <davem@davemloft.net>
11322 * po/fr.po: Update French translation from translation project.
11324 2013-07-28 David S. Miller <davem@davemloft.net>
11326 * po/cs.po: Update Czech translation from translation project.
11328 * po/sv.po: Update Swedish translation from translation project.
11330 2013-07-27 David S. Miller <davem@davemloft.net>
11332 * po/eo.po: Update Esperanto translation from translation project.
11334 * po/vi.po: Update Vietnamese translation from translation project.
11336 * po/de.po: Update German translation from translation project.
11338 2013-07-26 David S. Miller <davem@davemloft.net>
11340 * po/bg.po: Update Bulgarian translation from translation project.
11342 * po/nl.po: Update Dutch translation from translation project.
11343 * po/pl.po: Update Polish translation from translation project.
11344 * po/ru.po: Update Russian translation from translation project.
11346 2013-07-24 David S. Miller <davem@davemloft.net>
11348 * po/libc.pot: Update.
11350 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11352 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11353 variable page size.
11354 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11355 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11356 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11358 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11360 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11362 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11363 Andreas Schwab <schwab@suse.de>
11364 Roland McGrath <roland@hack.frob.com>
11365 Joseph Myers <joseph@codesourcery.com>
11366 Carlos O'Donell <carlos@redhat.com>
11369 * config.h.in: Define HAVE_PT_CHOWN.
11370 * config.make.in (build-pt-chown): New variable.
11371 * configure.in (--enable-pt_chown): New configure option.
11372 * configure: Regenerate.
11373 * login/Makefile: Include Makeconfig. Build pt_chown only if
11374 build-pt-chown is enabled.
11375 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11376 pt_chown to fix pty ownership.
11377 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11379 * manual/install.texi (Configuring and compiling): Mention
11380 --enable-pt_chown. Add @findex for grantpt.
11381 * INSTALL: Regenerate.
11383 2013-07-20 David S. Miller <davem@davemloft.net>
11385 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11386 difference between 32-bit and 64-bit.
11388 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11391 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11392 Avoid system header dependency with -ffreestanding.
11393 ($(objpfx)bits/syscall%d): Likewise.
11395 2013-07-13 David S. Miller <davem@davemloft.net>
11397 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11398 underflows from atanl/atan2l due to bug 15319.
11399 (casinh_test_data): Likewise.
11401 2013-07-07 David S. Miller <davem@davemloft.net>
11403 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11405 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11407 * sysdeps/i386/fpu/libm-test-ulps: Update.
11408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11410 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11412 * configure.in (--enable-lock-elision): Fix message text.
11413 * INSTALL: Regenerate.
11414 * configure: Regenerate.
11416 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11420 2013-07-03 Andreas Jaeger <aj@suse.de>
11422 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11424 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11425 (ptrace_peeksiginfo_args): Add.
11426 (__ptrace_peeksiginfo_flags): Add.
11427 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11428 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11429 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11431 2013-07-03 Allan McRae <allan@archlinux.org>
11433 * sysdeps/i386/fpu/libm-test-ulps: Update.
11435 2013-07-02 David S. Miller <davem@davemloft.net>
11437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11439 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11443 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11445 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11448 2013-07-02 Andi Kleen <ak@linux.intel.com>
11450 * config.h.in (ENABLE_LOCK_ELISION): Add.
11451 * configure.in (--enable-lock-elision): Add option.
11452 * manual/install.texi: Document --enable lock elision.
11453 * configure: Regenerate
11454 * INSTALL: Regenerate.
11456 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11458 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11459 SSE4.2 strcasecmp for libc.a.
11460 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11462 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11465 * soft-fp/op-common.h (_FP_FMA): New macro.
11466 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11467 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11468 (_FP_MUL_MEAT_1_imm): ... here.
11469 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11470 (_FP_MUL_MEAT_1_wide): ... here.
11471 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11472 (_FP_MUL_MEAT_1_hard): ... here.
11473 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11474 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11475 (_FP_MUL_MEAT_2_wide): ... here.
11476 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11477 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11478 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11479 (_FP_MUL_MEAT_2_gmp): ... here.
11480 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11481 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11482 (_FP_MUL_MEAT_4_wide): ... here.
11483 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11484 (_FP_MUL_MEAT_4_gmp): ... here.
11485 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11486 (_FP_WFRACBITS_DW_S): Likewise.
11487 (_FP_WFRACXBITS_DW_S): Likewise.
11488 (_FP_HIGHBIT_DW_S): Likewise.
11489 (FP_FMA_S): Likewise.
11490 (_FP_FRAC_HIGH_DW_S): Likewise.
11491 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11492 (_FP_WFRACBITS_DW_D): Likewise.
11493 (_FP_WFRACXBITS_DW_D): Likewise.
11494 (_FP_HIGHBIT_DW_D): Likewise.
11495 (FP_FMA_D): Likewise.
11496 (_FP_FRAC_HIGH_DW_D): Likewise.
11497 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11498 (_FP_WFRACBITS_DW_E): Likewise.
11499 (_FP_WFRACXBITS_DW_E): Likewise.
11500 (_FP_HIGHBIT_DW_E): Likewise.
11501 (FP_FMA_E): Likewise.
11502 (_FP_FRAC_HIGH_DW_E): Likewise.
11503 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11504 (_FP_WFRACBITS_DW_Q): Likewise.
11505 (_FP_WFRACXBITS_DW_Q): Likewise.
11506 (_FP_HIGHBIT_DW_Q): Likewise.
11507 (FP_FMA_Q): Likewise.
11508 (_FP_FRAC_HIGH_DW_Q): Likewise.
11509 * soft-fp/fmasf4.c: New file.
11510 * soft-fp/fmadf4.c: Likewise.
11511 * soft-fp/fmatf4.c: Likewise.
11513 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11516 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11518 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11520 (index_Slow_SSE4_2): Likewise.
11521 (index_Prefer_PMINUB_for_stringop): Likewise.
11522 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11523 bit_Slow_SSE4_2 is set.
11524 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11525 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11527 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11529 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11530 rtld_global._dl_hwcap2.
11531 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11533 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11534 POWER8 feature descriptions defined in _dl_hwcap2.
11535 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11536 string handling for POWER8 feature bits.
11537 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11538 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11539 _dl_powerpc_cap_flags.
11540 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11541 * sysdeps/powerpc/rtld-global-offsets.sym
11542 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11543 _dl_hwcap2 in the rtld_global_ro structure.
11545 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11547 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11548 hardware capabilities in support of AT_HWCAP2.
11549 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11550 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11552 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11553 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11554 explicitly the unknown a_type display mechanism is used.
11555 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11556 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11558 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11559 to macro prototype for AT_HWCAP2 support.
11560 * sysdeps/i386/dl-procinfo.h: Likewise.
11561 * sysdeps/s390/dl-procinfo.h: Likewise.
11562 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11563 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11564 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11565 return -1 for unknown a_type display fallback.
11566 * sysdeps/sparc/dl-procinfo.h: Likewise.
11567 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11568 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11570 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11572 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11573 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11575 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11578 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11579 mprotect making __stack_prot writable.
11581 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11582 Joseph Myers <joseph@codesourcery.com>
11584 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11585 as being properly aligned.
11587 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11589 * dlfcn/modstatic5.c: New file.
11590 * dlfcn/tststatic5.c: New file.
11591 * dlfcn/Makefile (tests): Add tststatic5.
11592 (tests-static): Likewise.
11593 (modules-names): Add modstatic5.
11594 (tststatic5-ENV): New variable.
11595 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11598 * elf/dl-support.c (_dl_main_map): New variable.
11599 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11600 (_dl_nns, _dl_load_adds): Set to 1.
11601 (_dl_initial_searchlist): Refer to _dl_main_map.
11602 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11603 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11604 call to _dl_get_origin.
11605 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11607 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11608 * dlfcn/modstatic3.c: New file.
11609 * dlfcn/tststatic3.c: New file.
11610 * dlfcn/tststatic4.c: New file.
11611 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11612 (tests-static): Likewise.
11613 (modules-names): Add modstatic3.
11614 (tststatic3-ENV, tststatic4-ENV): New variables.
11615 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11616 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11618 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11620 * configure.in (CC): Require GCC version 4.4 or later.
11621 * configure: Regenerated.
11622 * manual/install.texi (Tools for Compilation): Update GCC version
11624 * INSTALL: Regenerated.
11626 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11629 * string/test-memcmp.c (check2): New.
11630 (main): Call check2.
11632 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11634 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11637 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11639 (dl_open_worker) [!SHARED]: ... here.
11641 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11643 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11645 2013-06-25 Richard Henderson <rth@redhat.com>
11647 * locale/programs/locarchive.c: Include <libc-internal.h>
11649 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11651 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11652 trailing whitespace removed.
11654 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11657 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11658 * locale/programs/locarchive.c: Include libc-mmap.h.
11659 (prepare_address_space): Take two new outputs (the mmap base and len).
11660 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11662 (create_archive): Declare new mmap base and len values for
11663 prepare_address_space, and store the result in ah.
11664 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11665 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11666 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11667 Declare new mmap base and len values for
11668 prepare_address_space, and store the result in new_ah.
11669 (open_archive): Declare new mmap base and len values for
11670 prepare_address_space, and store the result in ah.
11671 (close_archive): If ah->mmap_base is not NULL, use that and
11672 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11673 * sysdeps/generic/libc-mmap.h: New file.
11675 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11677 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11678 (ALIGN_UP): Likewise.
11679 (PTR_ALIGN_DOWN): Likewise.
11680 (PTR_ALIGN_UP): Likewise.
11682 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11684 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11685 entry mapped to PPC_PLATFORM_POWER8.
11686 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11688 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11689 (_dl_string_platform): Add case for exporting platform position for
11691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11692 search path to sysdeps/powerpc/powerpc32/power8 directory.
11693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11694 search path to sysdeps/powerpc/powerpc64/power8 directory.
11695 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11696 power7 directories.
11697 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11698 power7 directories.
11700 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11702 * INSTALL: Regenerate.
11704 * nscd/connections.c (nscd_init): Fix comment.
11706 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11708 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11711 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11712 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11714 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11716 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11718 (DL_DST_REQ_STATIC): Remove macro.
11720 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11723 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11724 with a shift of 0 bits.
11726 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11728 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11731 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11734 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11736 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11738 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11739 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11740 accepts -fno-tree-loop-distribute-patterns.
11741 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11742 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11744 * string/memset.c (memset): Likewise.
11745 * string/test-memmove.c (simple_memmove): Disable loop transformation
11747 * string/test-memset.c (simple_memset): Likewise.
11748 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11749 * benchtests/bench-memset.c (simple_memset): Likewise.
11750 * configure: Regenerated.
11752 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11754 * math/test-misc.c (main): Ignore fesetround failure when failures
11755 of subsequent rounding tests would be ignored.
11758 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11759 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11760 * math/fegetenv.c (__fegetenv): Return 0.
11761 * math/fegetexcept.c (fegetexcept): Return 0.
11762 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11764 * math/feholdexcpt.c (feholdexcept): Return 0.
11765 * math/fesetenv.c (__fesetenv): Return 0.
11766 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11767 argument FE_TONEAREST.
11768 * math/feupdateenv.c (__feupdateenv): Return 0.
11769 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11771 2013-06-18 Roland McGrath <roland@hack.frob.com>
11773 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11774 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11775 ($(objpfx)rtld-%.os rules): Use them.
11777 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11779 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11782 2013-06-17 Roland McGrath <roland@hack.frob.com>
11784 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11785 length of target pattern, then descending length of dependency pattern.
11786 * configure.in (AWK): Require gawk 3.1.2 or newer.
11787 * manual/install.texi (Tools for Compilation): Say that we do.
11788 * configure: Regenerated.
11790 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11791 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11792 * scripts/sysd-rules.awk: ... this new script.
11793 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11794 than a glob-style pattern.
11796 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11798 * math/test-misc.c (main): Do not treat incorrectly rounded
11799 conversions as failure unless ROUNDING_TESTS passes.
11801 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11804 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11805 restore exception state around main square root computation, then
11806 check for inexactness explicitly.
11808 * math/libm-test.inc (fma_test_data): Add another test.
11810 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11812 * manual/threads.texi (Non-POSIX Extensions): New document
11813 node. Document pthread_getattr_default_np and
11814 pthread_setattr_default_np.
11816 * Versions.def (libpthread): Add GLIBC_2.18.
11817 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11826 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11837 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11840 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11842 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11843 H.J. Lu <hjl.tools@gmail.com>
11846 * sysdeps/x86_64/rtld-memset.c: Remove file.
11847 * sysdeps/x86_64/rtld-memset.S: New file.
11849 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11851 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11852 (test_in_one_mode): Take arguments for whether the rounding mode
11853 is supported for each floating-point type.
11854 (do_test): Pass new arguments to test_in_one_mode using
11857 2013-06-13 Roland McGrath <roland@hack.frob.com>
11859 * posix/tst-waitid.c (do_test): Distinguish different instances of
11860 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11861 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11862 before entering the kernel for waitpid.
11864 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11866 * NEWS: Fix note on clock function precision. Text by Roland
11869 2013-06-13 Roland McGrath <roland@hack.frob.com>
11871 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11872 it into place only when and if the sanity check passes.
11874 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11876 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11877 output for whether conversion result is exact. Take argument
11878 indicating whether type is IBM long double.
11879 (round_for_all): Change need_exact field to ibm_ld.
11880 * stdlib/tst-strtod-round.c (struct exactness): New type.
11881 (struct test): Change bool ld_ok field to struct exactness exact.
11882 (TEST): Update all definitions for change to field.
11883 (tests): Regenerate array contents.
11884 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11885 field value. Check for IBM long double here.
11886 (do_test): Update calls to test_in_one_mode.
11888 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11891 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11892 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11894 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11897 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11898 generated by the compiler on loop optimizations.
11899 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11900 general definitions.
11902 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11904 * math/bug-nextafter.c: Include <math-tests.h>.
11905 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11907 * math/bug-nexttoward.c: Include <math-tests.h>.
11908 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11910 * math/test-misc.c: Include <math-tests.h>.
11911 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11914 2013-06-12 Andreas Jaeger <aj@suse.de>
11916 * po/ia.po: Update Interlingua translation from translation
11919 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11921 * include/fenv.h: Include stdbool.h.
11922 (struct rm_ctx): New structure.
11923 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11925 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11926 (SET_RESTORE_ROUNDF): Likewise.
11927 (SET_RESTORE_ROUNDL): Likewise.
11928 (SET_RESTORE_ROUND_NOEX): Likewise.
11929 (SET_RESTORE_ROUND_NOEXF): Likewise.
11930 (SET_RESTORE_ROUND_NOEXL): Likewise.
11931 (SET_RESTORE_ROUND_53BIT): Likewise.
11932 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11933 (libc_feresetround_noexf_ctx): Likewise.
11934 (libc_feresetround_noexl_ctx): Likewise.
11935 (libc_feholdsetround_53bit_ctx): Likewise.
11936 (libc_feresetround_53bit_ctx): Likewise.
11937 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11938 (libc_feholdexcept_setround_sse_ctx): New function.
11939 (libc_fesetenv_sse_ctx): Likewise.
11940 (libc_feupdateenv_sse_ctx): Likewise.
11941 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11942 (libc_feholdexcept_setround_387_ctx): Likewise.
11943 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11944 (libc_feholdsetround_387_prec_ctx): Likewise.
11945 (libc_feholdsetround_387_ctx): Likewise.
11946 (libc_feholdsetround_387_53bit_ctx): Likewise.
11947 (libc_feholdsetround_sse_ctx): Likewise.
11948 (libc_feresetround_sse_ctx): Likewise.
11949 (libc_feresetround_387_ctx): Likewise.
11950 (libc_feupdateenv_387_ctx): Likewise.
11951 (libc_feholdexcept_setroundf_ctx): Define macro.
11952 (libc_fesetenvf_ctx): Likewise.
11953 (libc_feupdateenvf_ctx): Likewise.
11954 (libc_feholdsetroundf_ctx): Likewise.
11955 (libc_feresetroundf_ctx): Likewise.
11956 (libc_feholdexcept_setround_ctx): Likewise.
11957 (libc_fesetenv_ctx): Likewise.
11958 (libc_feupdateenv_ctx): Likewise.
11959 (libc_feholdsetround_ctx): Likewise.
11960 (libc_feresetround_ctx): Likewise.
11961 (libc_feholdexcept_setroundl_ctx): Likewise.
11962 (libc_feupdateenvl_ctx): Likewise.
11963 (libc_feholdsetroundl_ctx): Likewise.
11964 (libc_feresetroundl_ctx): Likewise.
11965 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11966 (libc_feresetround_53bit_ctx): Likewise.
11968 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11970 * locale/iso-639.def: Convert to UTF-8.
11972 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11974 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11975 (EXCEPTION_TESTS_double): Likewise.
11976 (EXCEPTION_TESTS_long_double): Likewise.
11977 (EXCEPTION_TESTS): Likewise.
11978 * math/libm-test.inc (test_exceptions): Only test exceptions if
11979 EXCEPTION_TESTS (FLOAT).
11981 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11983 * benchtests/Makefile (string-bench): Add strcpy_chk and
11985 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11986 * benchtests/bench-stpcpy_chk.c: New file.
11987 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11988 * benchtests/bench-strcpy_chk.c: New file.
11989 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11991 (do_test): Likewise.
11993 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11995 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11996 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11997 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11998 with tabs where appropriate.
11999 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12001 [PPC_PLATFORM_PPC440]: Likewise.
12002 [PPC_PLATFORM_PPC464]: Likewise.
12003 [PPC_PLATFORM_PPC476]: Likewise.
12004 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12005 ppc464, and ppc476 platform strings merging from ports/
12008 2013-06-11 Andreas Schwab <schwab@suse.de>
12011 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12012 (from_ucs4_idx): Regenerate.
12013 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12014 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12015 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12016 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12017 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12018 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12019 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12020 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12021 from FROM_LOOP and TO_LOOP specific macros.
12022 (BODY): Handle combining characters.
12023 * iconvdata/BIG5HKSCS.irreversible: Update.
12024 * iconvdata/BIG5HKSCS.precomposed: New file.
12025 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12027 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12029 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12031 * include/sys/time.h: Fix indentation and add copyright header.
12033 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12034 (do_test): Likewise.
12035 * string/test-memchr.c (do_one_test): Likewise.
12036 (do_test): Likewise.
12037 * string/test-memcmp.c (do_one_test): Likewise.
12038 (do_test): Likewise.
12039 * string/test-memcpy.c (do_one_test): Likewise.
12040 (do_test): Likewise.
12041 * string/test-memmem.c (do_one_test): Likewise.
12042 (do_test): Likewise.
12043 (do_random_tests): Likewise.
12044 * string/test-memmove.c (do_one_test): Likewise.
12045 (do_test): Likewise.
12046 * string/test-memset.c (do_one_test): Likewise.
12047 (do_test): Likewise.
12048 * string/test-rawmemchr.c (do_one_test): Likewise.
12049 (do_test): Likewise.
12050 * string/test-strcasecmp.c (do_one_test): Likewise.
12051 (do_test): Likewise.
12052 * string/test-strcasestr.c (do_one_test): Likewise.
12053 (do_test): Likewise.
12054 * string/test-strcat.c (do_one_test): Likewise.
12055 (do_test): Likewise.
12056 * string/test-strchr.c (do_one_test): Likewise.
12057 (do_test): Likewise.
12058 * string/test-strcmp.c (do_one_test): Likewise.
12059 (do_test): Likewise.
12060 * string/test-strcpy.c (do_one_test): Likewise.
12061 (do_test): Likewise.
12062 * string/test-string.h: Likewise.
12063 (test_init): Likewise.
12064 * string/test-strlen.c (do_one_test): Likewise.
12065 (do_test): Likewise.
12066 * string/test-strncasecmp.c (do_one_test): Likewise.
12067 (do_test): Likewise.
12068 * string/test-strncat.c (do_one_test): Likewise.
12069 (do_test): Likewise.
12070 * string/test-strncmp.c (do_one_test): Likewise.
12071 (do_test_limit): Likewise.
12072 (do_test): Likewise.
12073 * string/test-strncpy.c (do_one_test): Likewise.
12074 (do_test): Likewise.
12075 * string/test-strnlen.c (do_one_test): Likewise.
12076 (do_test): Likewise.
12077 * string/test-strpbrk.c (do_one_test): Likewise.
12078 (do_test): Likewise.
12079 * string/test-strrchr.c (do_one_test): Likewise.
12080 (do_test): Likewise.
12081 * string/test-strspn.c (do_one_test): Likewise.
12082 (do_test): Likewise.
12083 * string/test-strstr.c (do_one_test): Likewise.
12084 (do_test): Likewise.
12086 * benchtests/Makefile (string-bench): Add string benchmarks.
12087 * benchtests/bench-bcopy-ifunc.c: New file.
12088 * benchtests/bench-bcopy.c: New file.
12089 * benchtests/bench-bzero-ifunc.c: New file.
12090 * benchtests/bench-bzero.c: New file.
12091 * benchtests/bench-memccpy-ifunc.c: New file.
12092 * benchtests/bench-memccpy.c: New file.
12093 * benchtests/bench-memchr-ifunc.c: New file.
12094 * benchtests/bench-memchr.c: New file.
12095 * benchtests/bench-memcmp-ifunc.c: New file.
12096 * benchtests/bench-memcmp.c: New file.
12097 * benchtests/bench-memmem-ifunc.c: New file.
12098 * benchtests/bench-memmem.c: New file.
12099 * benchtests/bench-memmove-ifunc.c: New file.
12100 * benchtests/bench-memmove.c: New file.
12101 * benchtests/bench-mempcpy-ifunc.c: New file.
12102 * benchtests/bench-mempcpy.c: New file.
12103 * benchtests/bench-memset-ifunc.c: New file.
12104 * benchtests/bench-memset.c: New file.
12105 * benchtests/bench-rawmemchr-ifunc.c: New file.
12106 * benchtests/bench-rawmemchr.c: New file.
12107 * benchtests/bench-stpcpy-ifunc.c: New file.
12108 * benchtests/bench-stpcpy.c: New file.
12109 * benchtests/bench-stpncpy-ifunc.c: New file.
12110 * benchtests/bench-stpncpy.c: New file.
12111 * benchtests/bench-strcasecmp-ifunc.c: New file.
12112 * benchtests/bench-strcasecmp.c: New file.
12113 * benchtests/bench-strcasestr-ifunc.c: New file.
12114 * benchtests/bench-strcasestr.c: New file.
12115 * benchtests/bench-strcat-ifunc.c: New file.
12116 * benchtests/bench-strcat.c: New file.
12117 * benchtests/bench-strchr-ifunc.c: New file.
12118 * benchtests/bench-strchr.c: New file.
12119 * benchtests/bench-strchrnul-ifunc.c: New file.
12120 * benchtests/bench-strchrnul.c: New file.
12121 * benchtests/bench-strcmp-ifunc.c: New file.
12122 * benchtests/bench-strcmp.c: New file.
12123 * benchtests/bench-strcpy-ifunc.c: New file.
12124 * benchtests/bench-strcpy.c: New file.
12125 * benchtests/bench-strcspn-ifunc.c: New file.
12126 * benchtests/bench-strcspn.c: New file.
12127 * benchtests/bench-strlen-ifunc.c: New file.
12128 * benchtests/bench-strlen.c: New file.
12129 * benchtests/bench-strncasecmp-ifunc.c: New file.
12130 * benchtests/bench-strncasecmp.c: New file.
12131 * benchtests/bench-strncat-ifunc.c: New file.
12132 * benchtests/bench-strncat.c: New file.
12133 * benchtests/bench-strncmp-ifunc.c: New file.
12134 * benchtests/bench-strncmp.c: New file.
12135 * benchtests/bench-strncpy-ifunc.c: New file.
12136 * benchtests/bench-strncpy.c: New file.
12137 * benchtests/bench-strnlen-ifunc.c: New file.
12138 * benchtests/bench-strnlen.c: New file.
12139 * benchtests/bench-strpbrk-ifunc.c: New file.
12140 * benchtests/bench-strpbrk.c: New file.
12141 * benchtests/bench-strrchr-ifunc.c: New file.
12142 * benchtests/bench-strrchr.c: New file.
12143 * benchtests/bench-strspn-ifunc.c: New file.
12144 * benchtests/bench-strspn.c: New file.
12145 * benchtests/bench-strstr-ifunc.c: New file.
12146 * benchtests/bench-strstr.c: New file.
12148 * benchtests/Makefile: Disable parallel execution of targets.
12149 (string-bench): Add memcpy.
12150 (benchset): New variable to store a list of benchmark sets.
12151 (bench-func): Renamed from bench.
12152 (bench-set): New target.
12153 (bench): Depend on bench-func and bench-set.
12154 * benchtests/README: Add section on benchmark sets.
12155 * benchtests/bench-memcpy-ifunc.c: New file.
12156 * benchtests/bench-memcpy.c: New file.
12157 * benchtests/bench-string.h: New file.
12159 2013-06-11 Andreas Schwab <schwab@suse.de>
12162 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12163 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12164 values in the triple.
12165 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12166 terminator in the group key.
12168 2013-06-11 Andreas Jaeger <aj@suse.de>
12170 * po/zh_TW.po: Update Chinese (traditional) translation from
12171 translation project.
12173 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12175 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12176 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12177 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12178 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12179 (clock_getcpuclockid): Likewise.
12180 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12181 Add weak_alias and libc_hidden_def.
12182 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12183 * rt/clock_gettime.c (clock_gettime): Rename to
12184 __clock_gettime. Add weak_alias and libc_hidden_def.
12185 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12186 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12187 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12188 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12189 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12191 * rt/clock_settime.c (clock_settime): Rename to
12192 __clock_settime. Add weak_alias and libc_hidden_def.
12193 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12195 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12197 * mach/err_boot.sub: Remove trailing whitespace.
12198 * mach/err_ipc.sub: Likewise.
12199 * mach/err_mach.sub: Likewise.
12201 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12202 (ROUNDING_TESTS_double): Likewise.
12203 (ROUNDING_TESTS_long_double): Likewise.
12204 (ROUNDING_TESTS): Likewise.
12205 * math/libm-test.inc: Include <math-tests.h>.
12206 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12207 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12208 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12209 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12211 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12213 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12216 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12218 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12219 otherwise empty TRANS lines.
12220 * sysdeps/gnu/errlist.c: Regenerated.
12222 * catgets/gencat.c (error_print): Use (void) in function
12224 * crypt/crypt_util.c (__init_des): Likewise.
12225 * crypt/speeds.c (Stop): Likewise.
12227 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12228 * inet/ruserpass.c (token): Likewise.
12229 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12230 * intl/localealias.c (extend_alias_table): Likewise.
12231 * intl/plural-exp.c (init_germanic_plural): Likewise.
12232 * libio/fcloseall.c (__fcloseall): Likewise.
12233 * libio/genops.c (_IO_flush_all): Likewise.
12234 (_IO_flush_all_linebuffered): Likewise.
12235 (_IO_cleanup): Likewise.
12236 (_IO_iter_begin): Likewise.
12237 (_IO_iter_end): Likewise.
12238 (_IO_list_lock): Likewise.
12239 (_IO_list_unlock): Likewise.
12240 (_IO_list_resetlock): Likewise.
12241 * libio/getchar.c (getchar): Likewise.
12242 * libio/getchar_u.c (getchar_unlocked): Likewise.
12243 * libio/getwchar.c (getwchar): Likewise.
12244 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12245 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12246 * login/getpt.c (__getpt): Likewise.
12247 * login/tst-utmp.c (main): Likewise.
12248 * malloc/hooks.c (__malloc_check_init): Likewise.
12249 * malloc/malloc.c (__malloc_stats): Likewise.
12250 * malloc/mtrace.c (tr_break): Likewise.
12251 (mtrace): Likewise.
12252 (muntrace): Likewise.
12253 * misc/fstab.c (endfsent): Likewise.
12254 * misc/getclktck.c (__getclktck): Likewise.
12255 * misc/getdtsz.c (__getdtablesize): Likewise.
12256 * misc/gethostid.c (gethostid): Likewise.
12257 * misc/getpagesize.c (__getpagesize): Likewise.
12258 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12259 (__get_nprocs): Likewise.
12260 (__get_phys_pages): Likewise.
12261 (__get_avphys_pages): Likewise.
12262 * misc/getttyent.c (getttyent): Likewise.
12263 (setttyent): Likewise.
12264 (endttyent): Likewise.
12265 * misc/getusershell.c (getusershell): Likewise.
12266 (endusershell): Likewise.
12267 (setusershell): Likewise.
12268 (initshells): Likewise.
12269 * misc/hsearch.c (__hdestroy): Likewise.
12270 * misc/sync.c (sync): Likewise.
12271 * misc/syslog.c (closelog_internal): Likewise.
12272 (closelog): Likewise.
12273 * misc/ttyslot.c (ttyslot): Likewise.
12274 * misc/vhangup.c (vhangup): Likewise.
12275 * posix/fork.c (__fork): Likewise.
12276 * posix/getegid.c (__getegid): Likewise.
12277 * posix/geteuid.c (__geteuid): Likewise.
12278 * posix/getgid.c (__getgid): Likewise.
12279 * posix/getpid.c (__getpid): Likewise.
12280 * posix/getppid.c (__getppid): Likewise.
12281 * posix/getuid.c (__getuid): Likewise.
12282 * posix/pause.c (pause): Likewise.
12283 * posix/setpgrp.c (setpgrp): Likewise.
12284 * posix/setsid.c (__setsid): Likewise.
12285 * posix/test-vfork.c (noop): Likewise.
12286 * resolv/gethnamaddr.c (_endhtent): Likewise.
12287 (_gethtent): Likewise.
12288 (ht_endhostent): Likewise.
12289 (gethostent): Likewise.
12290 (dns_service): Likewise.
12291 * stdlib/drand48.c (drand48): Likewise.
12292 * stdlib/lrand48.c (lrand48): Likewise.
12293 * stdlib/mrand48.c (mrand48): Likewise.
12294 * stdlib/rand.c (rand): Likewise.
12295 * stdlib/random.c (__random): Likewise.
12296 * stdlib/setenv.c (clearenv): Likewise.
12297 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12298 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12299 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12300 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12301 (__get_nprocs): Likewise.
12302 (__get_phys_pages): Likewise.
12303 (__get_avphys_pages): Likewise.
12304 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12305 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12306 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12307 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12308 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12309 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12310 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12311 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12312 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12313 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12314 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12315 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12316 * sysdeps/posix/clock.c (clock): Likewise.
12317 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12318 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12319 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12320 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12321 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12322 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12323 (__get_nprocs_conf): Likewise.
12324 (__get_phys_pages): Likewise.
12325 (__get_avphys_pages): Likewise.
12326 * time/clock.c (clock): Likewise.
12327 * time/tzset.c (__tzname_max): Likewise.
12329 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12331 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12332 (__bswap_32): Do not use "register".
12333 * crypt/crypt.c (_ufc_doit_r): Likewise.
12334 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12335 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12336 * gmon/gmon.c (__monstartup): Likewise.
12337 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12338 * hurd/hurdmalloc.c (more_memory): Likewise.
12339 (malloc): Likewise.
12341 (realloc): Likewise.
12342 (malloc_fork_prepare): Likewise.
12343 (malloc_fork_parent): Likewise.
12344 (malloc_fork_child): Likewise.
12345 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12346 (_svcauth_des): Likewise.
12347 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12348 * inet/inet_net.c (inet_network): Likewise.
12349 * inet/inet_netof.c (inet_netof): Likewise.
12350 * inet/rcmd.c (__validuser2_sa): Likewise.
12351 * io/fts.c (fts_open): Likewise.
12352 (fts_load): Likewise.
12353 (fts_close): Likewise.
12354 (fts_read): Likewise.
12355 (fts_children): Likewise.
12356 (fts_build): Likewise.
12357 (fts_stat): Likewise.
12358 (fts_sort): Likewise.
12359 (fts_alloc): Likewise.
12360 (fts_lfree): Likewise.
12361 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12362 (_IO_file_xsgetn): Likewise.
12363 (_IO_file_xsgetn_mmap): Likewise.
12364 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12365 (_IO_cookie_write): Likewise.
12366 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12367 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12368 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12369 * malloc/obstack.c (_obstack_begin): Likewise.
12370 (_obstack_begin_1): Likewise.
12371 (_obstack_newchunk): Likewise.
12372 (_obstack_allocated_p): Likewise.
12373 (obstack_free): Likewise.
12374 (_obstack_memory_used): Likewise.
12375 * misc/getttyent.c (getttynam): Likewise.
12376 (getttyent): Likewise.
12379 * misc/getusershell.c (initshells): Likewise.
12380 * misc/syslog.c (__vsyslog_chk): Likewise.
12381 * misc/ttyslot.c (ttyslot): Likewise.
12382 * nis/nis_hash.c (__nis_hash): Likewise.
12383 * posix/fnmatch_loop.c (FCT): Likewise.
12384 * posix/getconf.c (print_all): Likewise.
12386 * posix/getopt.c (exchange): Likewise.
12387 * posix/glob.c (globfree): Likewise.
12388 (prefix_array): Likewise.
12389 (__glob_pattern_type): Likewise.
12390 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12391 (NS_GET32): Likewise.
12392 (NS_PUT16): Likewise.
12393 (NS_PUT32): Likewise.
12394 * resolv/gethnamaddr.c (getanswer): Likewise.
12395 (gethostbyname2): Likewise.
12396 (gethostbyaddr): Likewise.
12397 (_gethtent): Likewise.
12398 (_gethtbyname2): Likewise.
12399 (_gethtbyaddr): Likewise.
12400 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12401 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12402 * resolv/res_init.c (__res_vinit): Likewise.
12403 (net_mask): Likewise.
12404 * resolv/res_mkquery.c (outchar): Likewise.
12406 * stdio-common/printf_fp.c (outchar): Likewise.
12408 * stdio-common/printf_fphex.c (outchar): Likewise.
12410 * stdio-common/printf_size.c (outchar): Likewise.
12412 * stdio-common/test_rdwr.c (main): Likewise.
12413 * stdio-common/tfformat.c (matches): Likewise.
12414 * stdio-common/vfprintf.c (outchar): Likewise.
12415 (printf_unknown): Likewise.
12416 (buffered_vfprintf): Likewise.
12417 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12418 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12419 (ReadFile): Likewise.
12420 * stdlib/qsort.c (SWAP): Likewise.
12421 (_quicksort): Likewise.
12422 * stdlib/setenv.c (__add_to_environ): Likewise.
12423 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12424 * stdlib/strtol_l.c (__strtol_l): Likewise.
12425 * stdlib/tst-strtod.c (main): Likewise.
12426 * stdlib/tst-strtol.c (main): Likewise.
12427 * stdlib/tst-strtoll.c (main): Likewise.
12428 * string/bits/string2.h (__strcmp_cc): Likewise.
12429 (__strcmp_cg): Likewise.
12430 (__strcspn_c1): Likewise.
12431 (__strcspn_c2): Likewise.
12432 (__strcspn_c3): Likewise.
12433 (__strspn_c1): Likewise.
12434 (__strspn_c2): Likewise.
12435 (__strspn_c3): Likewise.
12436 (__strsep_1c): Likewise.
12437 (__strsep_2c): Likewise.
12438 (__strsep_3c): Likewise.
12439 * string/memccpy.c (__memccpy): Likewise.
12440 * string/stpcpy.c (__stpcpy): Likewise.
12441 * string/strcmp.c (strcmp): Likewise.
12442 * string/strrchr.c (strrchr): Likewise.
12443 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12445 * sysdeps/mach/hurd/getcwd.c
12446 (_hurd_canonicalize_directory_name_internal): Likewise.
12447 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12448 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12449 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12450 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12451 Likewise, in both definitions.
12452 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12454 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12455 64] (__bswap_64): Likewise.
12456 * time/test_time.c (main): Likewise.
12457 * time/tzfile.c (__tzfile_read): Likewise.
12458 (__tzfile_compute): Likewise.
12459 * time/tzset.c (__tzset_parse_tz): Likewise.
12460 (tzset_internal): Likewise.
12461 (compute_change): Likewise.
12462 * wcsmbs/wcscat.c (__wcscat): Likewise.
12463 * wcsmbs/wcschr.c (wcschr): Likewise.
12464 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12465 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12466 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12467 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12468 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12469 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12470 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12471 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12472 * wcsmbs/wmemset.c (wmemset): Likewise.
12474 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12476 * scripts/config.guess: Update to version 2013-05-16.
12477 * scripts/config.sub: Update to version 2013-04-24.
12478 * scripts/install-sh: Update to version 2011-11-20.07.
12479 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12480 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12482 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12484 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12485 * elf/sln.c: Likewise.
12486 * hurd/hurd/ioctl.h: Likewise.
12487 * hurd/hurdmalloc.c: Likewise.
12488 * hurd/xattr.c: Likewise.
12489 * include/shlib-compat.h: Likewise.
12490 * inet/ruserpass.c: Likewise.
12491 * libio/iofgets_u.c: Likewise.
12492 * libio/iofgetws_u.c: Likewise.
12493 * locale/programs/ld-identification.c: Likewise.
12494 * locale/programs/ld-time.c: Likewise.
12495 * mach/msg-destroy.c: Likewise.
12496 * nss/nss_files/files-netgrp.c: Likewise.
12497 * resolv/res_data.c: Likewise.
12498 * soft-fp/op-1.h: Likewise.
12499 * soft-fp/op-2.h: Likewise.
12500 * soft-fp/op-4.h: Likewise.
12501 * soft-fp/op-common.h: Likewise.
12502 * stdio-common/printf_fphex.c: Likewise.
12503 * stdlib/strtod_l.c: Likewise.
12504 * sunrpc/rpc/clnt.h: Likewise.
12505 * sysdeps/generic/framestate.c: Likewise.
12506 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12507 * sysdeps/i386/bsd-setjmp.S: Likewise.
12508 * sysdeps/i386/__longjmp.S: Likewise.
12509 * sysdeps/i386/setjmp.S: Likewise.
12510 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12511 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12512 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12513 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12514 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12515 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12516 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12517 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12518 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12519 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12520 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12521 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12522 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12523 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12524 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12525 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12526 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12527 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12528 * sysdeps/ieee754/support.c: Likewise.
12529 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12530 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12531 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12532 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12533 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12534 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12535 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12536 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12537 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12538 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12539 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12540 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12541 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12542 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12543 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12544 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12545 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12548 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12550 * posix/transbug.c: Remove executable mode.
12552 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12554 * crypt/speeds.c: Remove trailing whitespace.
12555 * dlfcn/default.c: Likewise.
12556 * elf/ifuncdep2.c: Likewise.
12557 * elf/ifuncmain1.c: Likewise.
12558 * elf/ifuncmain1vis.c: Likewise.
12559 * elf/testobj.h: Likewise.
12560 * elf/tst-stackguard1.c: Likewise.
12561 * gmon/sys/gmon.h: Likewise.
12562 * hurd/hurdmsg.c: Likewise.
12563 * hurd/new-fd.c: Likewise.
12564 * hurd/ports-get.c: Likewise.
12565 * iconvdata/ibm1008_420.c: Likewise.
12566 * inet/tst-getni1.c: Likewise.
12567 * inet/tst-getni2.c: Likewise.
12568 * libio/ioungetc.c: Likewise.
12569 * libio/wfiledoalloc.c: Likewise.
12570 * manual/libm-err-tab.pl: Likewise.
12571 * math/w_dremf.c: Likewise.
12572 * misc/ftruncate.c: Likewise.
12573 * posix/bug-glob2.c: Likewise.
12574 * posix/tst-pcre.c: Likewise.
12575 * posix/wait4.c: Likewise.
12576 * resolv/README: Likewise.
12577 * resolv/res_debug.h: Likewise.
12578 * resolv/tst-inet_ntop.c: Likewise.
12579 * setjmp/bug269-setjmp.c: Likewise.
12580 * soft-fp/extended.h: Likewise.
12581 * soft-fp/op-1.h: Likewise.
12582 * soft-fp/op-2.h: Likewise.
12583 * soft-fp/op-4.h: Likewise.
12584 * soft-fp/op-8.h: Likewise.
12585 * soft-fp/testit.c: Likewise.
12586 * stdio-common/bug16.c: Likewise.
12587 * stdlib/random.c: Likewise.
12588 * sunrpc/rpcsvc/rquota.x: Likewise.
12589 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12590 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12591 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12592 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12593 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12594 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12595 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12596 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12597 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12598 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12599 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12600 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12601 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12602 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12603 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12604 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12605 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12606 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12607 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12608 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12609 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12610 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12611 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12612 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12613 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12614 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12615 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12616 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12617 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12618 * sysdeps/ieee754/s_lib_version.c: Likewise.
12619 * sysdeps/mach/hurd/check_fds.c: Likewise.
12620 * sysdeps/mach/hurd/getsockname.c: Likewise.
12621 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12622 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12623 * sysdeps/powerpc/bits/link.h: Likewise.
12624 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12625 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12626 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12627 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12628 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12629 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12630 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12631 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12632 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12633 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12634 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12635 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12636 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12637 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12638 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12639 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12640 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12641 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12642 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12643 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12644 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12645 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12646 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12647 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12648 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12649 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12650 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12651 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12652 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12653 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12654 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12655 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12656 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12657 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12658 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12659 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12660 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12661 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12662 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12663 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12664 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12665 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12666 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12667 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12668 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12669 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12670 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12671 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12672 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12673 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12674 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12675 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12676 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12677 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12678 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12679 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12680 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12681 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12682 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12683 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12684 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12685 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12686 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12687 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12688 * sysdeps/powerpc/sysdep.h: Likewise.
12689 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12690 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12691 * sysdeps/sh/dl-trampoline.S: Likewise.
12692 * sysdeps/sh/memset.S: Likewise.
12693 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12694 * sysdeps/sh/strlen.S: Likewise.
12695 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12696 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12697 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12698 * sysdeps/sparc/sparc32/rem.S: Likewise.
12699 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12700 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12701 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12702 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12703 * sysdeps/sparc/sparc32/urem.S: Likewise.
12704 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12705 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12706 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12707 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12708 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12709 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12710 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12711 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12712 * sysdeps/unix/bsd/times.c: Likewise.
12713 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12714 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12718 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12719 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12720 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12721 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12722 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12723 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12724 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12725 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12726 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12727 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12728 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12729 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12730 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12731 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12732 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12733 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12734 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12735 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12736 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12737 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12738 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12739 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12740 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12741 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12742 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12743 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12744 * sysdeps/x86_64/strcspn.S: Likewise.
12746 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12748 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12749 generated file. Regenerate properly from gen-translit.pl.
12750 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12751 locale/C-translit.h.
12753 2013-06-05 Andreas Schwab <schwab@suse.de>
12756 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12757 week as 6 instead of -1.
12758 * time/tst-strptime.c (day_tests): Add test case.
12760 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12762 * sysdeps/generic/math_private.h
12763 (libc_feholdexcept_setround_53bit): Replace with
12764 libc_feholdsetround_53bit.
12765 (libc_feupdateenv_53bit): Replace with
12766 libc_feresetround_53bit.
12767 (SET_RESTORE_ROUND_53BIT): Adjust.
12769 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12771 * string/test-strchrnul.c: Add copyright header.
12773 * posix/tst-getaddrinfo4.c: Increase test timeout.
12775 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12778 * math/libm-test.inc (MAX_EXP): Remove
12780 (ulp): Use MIN_EXP - MANT_DIG.
12781 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12783 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12785 * po/be.po: Revert last change.
12786 * po/zh_CN.po: Likewise.
12787 * po/header.pot: Likewise.
12789 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12791 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12792 link-libc-deps to empty as target-specific variable.
12793 * Makerules (link-libc-args): New variable.
12794 (libc-for-link): Likewise.
12795 (link-libc-deps): Likewise.
12796 (lib%.so): Depend on $(link-libc-deps). Link with
12798 (build-module): Link with $(link-libc-args).
12799 (build-module-asneeded): Likewise.
12800 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12802 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12803 target-specific variable.
12804 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12805 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12806 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12808 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12810 ($(objpfx)libpcprofile.so): Likewise.
12811 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12813 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12814 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12815 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12817 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12818 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12819 * login/Makefile ($(objpfx)libutil.so): Likewise.
12820 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12821 * math/Makefile ($(objpfx)libm.so): Likewise.
12822 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12823 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12824 variable instead of depending directly on libc.
12825 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12826 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12828 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12830 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12831 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12832 ($(objpfx)libanl.so): Likewise.
12833 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12835 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12837 * sysdeps/i386/fpu/Makefile: Remove file.
12838 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12839 ($(objpfx)libm.so): Remove dependency on ld.so.
12841 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12844 * nis/yp_xdr.c (XDRMAXNAME): Define.
12845 (XDRMAXRECORD): Define.
12846 (xdr_domainname): Use XDRMAXNAME.
12847 (xdr_mapname): Likewise.
12848 (xdr_peername): Likewise.
12849 (xdr_keydat): Use XDRMAXRECORD.
12850 (xdr_valdat): Likewise.
12852 2013-05-30 Jeff Law <law@redhat.com>
12855 * manual/errno.texi (ESTALE): Update to account for more than
12856 just NFS file systems.
12857 * sysdeps/gnu/errlist.c: Regenerated.
12859 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12862 * elf/Makefile (tests): Add tst-null-argv.
12863 (modules-names): Add tst-null-argv-lib.
12864 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12865 (tst-null-argv-ENV): Set environment for tst-null-argv.
12866 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12867 (RTLD_PROGNAME): New macro.
12868 * elf/tst-null-argv.c: New test case.
12869 * elf/tst-null-argv-lib.c: Library for test case.
12870 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12871 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12872 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12873 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12874 * elf/dl-init.c (call_init): Likewise.
12875 (_dl_init): Likewise.
12876 * elf/dl-load.c (print_search_path): Likewise.
12877 (_dl_map_object): Likewise.
12878 * elf/dl-lookup.c (do_lookup_x): Likewise.
12879 (add_dependency): Likewise.
12880 (_dl_lookup_symbol_x): Likewise.
12881 (_dl_debug_bindings): Likewise.
12882 * elf/dl-open.c (_dl_show_scope): Likewise.
12883 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12884 * elf/dl-version.c (match_symbol): Likewise.
12885 (_dl_check_map_versions): Likewise.
12886 * elf/rtld.c (dl_main): Likewise.
12887 (print_unresolved): Use RTLD_PROGNAME.
12888 (print_missing_version): Likewise.
12889 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12890 (elf_machine_rela): Likewise.
12891 * sysdeps/powerpc/powerpc32/dl-machine.c
12892 (__process_machine_rela): Likewise.
12893 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12895 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12897 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12899 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12900 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12902 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12904 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12906 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12908 * po/be.po: Add descriptive title.
12909 * po/zh_CN.po: Likewise.
12910 * po/header.pot: Likewise.
12912 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12914 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12916 (enlarge_archive): Likewise.
12918 2013-05-28 Ben North <ben@redfrontdoor.org>
12920 * manual/arith.texi (frexp): It is the magnitude of the return
12921 value which lies in [0.5, 1), not the return value itself.
12923 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12927 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12929 * stdio-common/bug26.c (main): Correct fscanf template.
12931 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12932 declare _dl_skip_args.
12934 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12937 * manual/platform.texi: Add missing @end deftypefun.
12939 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12942 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12943 bit of mantissa of 2^16382.
12944 * math/libm-test.inc (hypot_test_data): Add more tests.
12946 * math/libm-test.inc: Add drem and pow10 to list of tested
12948 (pow10_test): New function.
12949 (drem_test): Likewise.
12950 (drem_test_tonearest): Likewise.
12951 (drem_test_towardzero): Likewise.
12952 (drem_test_downward): Likewise.
12953 (drem_test_upward): Likewise.
12954 (main): Call the new functions.
12956 * math/libm-test.inc (finite_test_data): Remove.
12957 (finite_test): Run tests from isfinite_test_data.
12958 (gamma_test_data): Remove.
12959 (gamma_test): Run tests from lgamma_test_data.
12960 * sysdeps/i386/fpu/libm-test-ulps: Update.
12961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12963 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12965 * manual/platform.texi: Add PowerPC PPR function set documentation.
12966 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12969 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12971 * math/libm-test.inc (MAX_EXP): Define.
12973 (ulp): New function.
12974 (check_float_internal): Use ULPDIFF.
12975 (cpow_test): Disable failing test.
12976 (check_ulp): Test ulp() implemetnation.
12977 (main): Call check_ulp before starting tests.
12979 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12981 * math/gen-libm-test.pl (generate_testfile): Do not handle
12982 START_DATA and END_DATA.
12983 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12985 (acos_tonearest_test_data): Likewise.
12986 (acos_towardzero_test_data): Likewise.
12987 (acos_downward_test_data): Likewise.
12988 (acos_upward_test_data): Likewise.
12989 (acosh_test_data): Likewise.
12990 (asin_test_data): Likewise.
12991 (asin_tonearest_test_data): Likewise.
12992 (asin_towardzero_test_data): Likewise.
12993 (asin_downward_test_data): Likewise.
12994 (asin_upward_test_data): Likewise.
12995 (asinh_test_data): Likewise.
12996 (atan_test_data): Likewise.
12997 (atanh_test_data): Likewise.
12998 (atan2_test_data): Likewise.
12999 (cabs_test_data): Likewise.
13000 (cacos_test_data): Likewise.
13001 (cacosh_test_data): Likewise.
13002 (carg_test_data): Likewise.
13003 (casin_test_data): Likewise.
13004 (casinh_test_data): Likewise.
13005 (catan_test_data): Likewise.
13006 (catanh_test_data): Likewise.
13007 (cbrt_test_data): Likewise.
13008 (ccos_test_data): Likewise.
13009 (ccosh_test_data): Likewise.
13010 (ceil_test_data): Likewise.
13011 (cexp_test_data): Likewise.
13012 (cimag_test_data): Likewise.
13013 (clog_test_data): Likewise.
13014 (clog10_test_data): Likewise.
13015 (conj_test_data): Likewise.
13016 (copysign_test_data): Likewise.
13017 (cos_test_data): Likewise.
13018 (cos_tonearest_test_data): Likewise.
13019 (cos_towardzero_test_data): Likewise.
13020 (cos_downward_test_data): Likewise.
13021 (cos_upward_test_data): Likewise.
13022 (cosh_test_data): Likewise.
13023 (cosh_tonearest_test_data): Likewise.
13024 (cosh_towardzero_test_data): Likewise.
13025 (cosh_downward_test_data): Likewise.
13026 (cosh_upward_test_data): Likewise.
13027 (cpow_test_data): Likewise.
13028 (cproj_test_data): Likewise.
13029 (creal_test_data): Likewise.
13030 (csin_test_data): Likewise.
13031 (csinh_test_data): Likewise.
13032 (csqrt_test_data): Likewise.
13033 (ctan_test_data): Likewise.
13034 (ctan_tonearest_test_data): Likewise.
13035 (ctan_towardzero_test_data): Likewise.
13036 (ctan_downward_test_data): Likewise.
13037 (ctan_upward_test_data): Likewise.
13038 (ctanh_test_data): Likewise.
13039 (ctanh_tonearest_test_data): Likewise.
13040 (ctanh_towardzero_test_data): Likewise.
13041 (ctanh_downward_test_data): Likewise.
13042 (ctanh_upward_test_data): Likewise.
13043 (erf_test_data): Likewise.
13044 (erfc_test_data): Likewise.
13045 (exp_test_data): Likewise.
13046 (exp_tonearest_test_data): Likewise.
13047 (exp_towardzero_test_data): Likewise.
13048 (exp_downward_test_data): Likewise.
13049 (exp_upward_test_data): Likewise.
13050 (exp10_test_data): Likewise.
13051 (exp2_test_data): Likewise.
13052 (expm1_test_data): Likewise.
13053 (fabs_test_data): Likewise.
13054 (fdim_test_data): Likewise.
13055 (finite_test_data): Likewise.
13056 (floor_test_data): Likewise.
13057 (fma_test_data): Likewise.
13058 (fma_towardzero_test_data): Likewise.
13059 (fma_downward_test_data): Likewise.
13060 (fma_upward_test_data): Likewise.
13061 (fmax_test_data): Likewise.
13062 (fmin_test_data): Likewise.
13063 (fmod_test_data): Likewise.
13064 (fpclassify_test_data): Likewise.
13065 (frexp_test_data): Likewise.
13066 (gamma_test_data): Likewise.
13067 (hypot_test_data): Likewise.
13068 (ilogb_test_data): Likewise.
13069 (isfinite_test_data): Likewise.
13070 (isgreater_test_data): Likewise.
13071 (isgreaterequal_test_data): Likewise.
13072 (isinf_test_data): Likewise.
13073 (isless_test_data): Likewise.
13074 (islessequal_test_data): Likewise.
13075 (islessgreater_test_data): Likewise.
13076 (isnan_test_data): Likewise.
13077 (isnormal_test_data): Likewise.
13078 (issignaling_test_data): Likewise.
13079 (isunordered_test_data): Likewise.
13080 (j0_test_data): Likewise.
13081 (j1_test_data): Likewise.
13082 (jn_test_data): Likewise.
13083 (ldexp_test_data): Likewise.
13084 (lgamma_test_data): Likewise.
13085 (lrint_test_data): Likewise.
13086 (lrint_tonearest_test_data): Likewise.
13087 (lrint_towardzero_test_data): Likewise.
13088 (lrint_downward_test_data): Likewise.
13089 (lrint_upward_test_data): Likewise.
13090 (llrint_test_data): Likewise.
13091 (llrint_tonearest_test_data): Likewise.
13092 (llrint_towardzero_test_data): Likewise.
13093 (llrint_downward_test_data): Likewise.
13094 (llrint_upward_test_data): Likewise.
13095 (log_test_data): Likewise.
13096 (log10_test_data): Likewise.
13097 (log1p_test_data): Likewise.
13098 (log2_test_data): Likewise.
13099 (logb_test_data): Likewise.
13100 (logb_downward_test_data): Likewise.
13101 (lround_test_data): Likewise.
13102 (llround_test_data): Likewise.
13103 (modf_test_data): Likewise.
13104 (nearbyint_test_data): Likewise.
13105 (nextafter_test_data): Likewise.
13106 (nexttoward_test_data): Likewise.
13107 (pow_test_data): Likewise.
13108 (pow_tonearest_test_data): Likewise.
13109 (pow_towardzero_test_data): Likewise.
13110 (pow_downward_test_data): Likewise.
13111 (pow_upward_test_data): Likewise.
13112 (remainder_test_data): Likewise.
13113 (remainder_tonearest_test_data): Likewise.
13114 (remainder_towardzero_test_data): Likewise.
13115 (remainder_downward_test_data): Likewise.
13116 (remainder_upward_test_data): Likewise.
13117 (remquo_test_data): Likewise.
13118 (rint_test_data): Likewise.
13119 (rint_tonearest_test_data): Likewise.
13120 (rint_towardzero_test_data): Likewise.
13121 (rint_downward_test_data): Likewise.
13122 (rint_upward_test_data): Likewise.
13123 (round_test_data): Likewise.
13124 (scalb_test_data): Likewise.
13125 (scalbn_test_data): Likewise.
13126 (scalbln_test_data): Likewise.
13127 (signbit_test_data): Likewise.
13128 (sin_test_data): Likewise.
13129 (sin_tonearest_test_data): Likewise.
13130 (sin_towardzero_test_data): Likewise.
13131 (sin_downward_test_data): Likewise.
13132 (sin_upward_test_data): Likewise.
13133 (sincos_test_data): Likewise.
13134 (sinh_test_data): Likewise.
13135 (sinh_tonearest_test_data): Likewise.
13136 (sinh_towardzero_test_data): Likewise.
13137 (sinh_downward_test_data): Likewise.
13138 (sinh_upward_test_data): Likewise.
13139 (sqrt_test_data): Likewise.
13140 (tan_test_data): Likewise.
13141 (tan_tonearest_test_data): Likewise.
13142 (tan_towardzero_test_data): Likewise.
13143 (tan_downward_test_data): Likewise.
13144 (tan_upward_test_data): Likewise.
13145 (tanh_test_data): Likewise.
13146 (tgamma_test_data): Likewise.
13147 (trunc_test_data): Likewise.
13148 (y0_test_data): Likewise.
13149 (y1_test_data): Likewise.
13150 (yn_test_data): Likewise.
13151 (significand_test_data): Likewise.
13153 * math/gen-libm-test.pl (@functions): Remove variable.
13154 (generate_testfile): Don't handle START and END lines.
13155 * math/libm-test.inc (START): New macro.
13157 (END_COMPLEX): Likewise.
13158 (acos_test): Use END macro without arguments.
13159 (acos_test_tonearest): Likewise.
13160 (acos_test_towardzero): Likewise.
13161 (acos_test_downward): Likewise.
13162 (acos_test_upward): Likewise.
13163 (acosh_test): Likewise.
13164 (asin_test): Likewise.
13165 (asin_test_tonearest): Likewise.
13166 (asin_test_towardzero): Likewise.
13167 (asin_test_downward): Likewise.
13168 (asin_test_upward): Likewise.
13169 (asinh_test): Likewise.
13170 (atan_test): Likewise.
13171 (atanh_test): Likewise.
13172 (atan2_test): Likewise.
13173 (cabs_test): Likewise.
13174 (cacos_test): Use END_COMPLEX macro without arguments.
13175 (cacosh_test): Likewise.
13176 (carg_test): Use END macro without arguments.
13177 (casin_test): Use END_COMPLEX macro without arguments.
13178 (casinh_test): Likewise.
13179 (catan_test): Likewise.
13180 (catanh_test): Likewise.
13181 (cbrt_test): Use END macro without arguments.
13182 (ccos_test): Use END_COMPLEX macro without arguments.
13183 (ccosh_test): Likewise.
13184 (ceil_test): Use END macro without arguments.
13185 (cexp_test): Use END_COMPLEX macro without arguments.
13186 (cimag_test): Use END macro without arguments.
13187 (clog_test): Use END_COMPLEX macro without arguments.
13188 (clog10_test): Likewise.
13189 (conj_test): Likewise.
13190 (copysign_test): Use END macro without arguments.
13191 (cos_test): Likewise.
13192 (cos_test_tonearest): Likewise.
13193 (cos_test_towardzero): Likewise.
13194 (cos_test_downward): Likewise.
13195 (cos_test_upward): Likewise.
13196 (cosh_test): Likewise.
13197 (cosh_test_tonearest): Likewise.
13198 (cosh_test_towardzero): Likewise.
13199 (cosh_test_downward): Likewise.
13200 (cosh_test_upward): Likewise.
13201 (cpow_test): Use END_COMPLEX macro without arguments.
13202 (cproj_test): Likewise.
13203 (creal_test): Use END macro without arguments.
13204 (csin_test): Use END_COMPLEX macro without arguments.
13205 (csinh_test): Likewise.
13206 (csqrt_test): Likewise.
13207 (ctan_test): Likewise.
13208 (ctan_test_tonearest): Likewise.
13209 (ctan_test_towardzero): Likewise.
13210 (ctan_test_downward): Likewise.
13211 (ctan_test_upward): Likewise.
13212 (ctanh_test): Likewise.
13213 (ctanh_test_tonearest): Likewise.
13214 (ctanh_test_towardzero): Likewise.
13215 (ctanh_test_downward): Likewise.
13216 (ctanh_test_upward): Likewise.
13217 (erf_test): Use END macro without arguments.
13218 (erfc_test): Likewise.
13219 (exp_test): Likewise.
13220 (exp_test_tonearest): Likewise.
13221 (exp_test_towardzero): Likewise.
13222 (exp_test_downward): Likewise.
13223 (exp_test_upward): Likewise.
13224 (exp10_test): Likewise.
13225 (exp2_test): Likewise.
13226 (expm1_test): Likewise.
13227 (fabs_test): Likewise.
13228 (fdim_test): Likewise.
13229 (finite_test): Likewise.
13230 (floor_test): Likewise.
13231 (fma_test): Likewise.
13232 (fma_test_towardzero): Likewise.
13233 (fma_test_downward): Likewise.
13234 (fma_test_upward): Likewise.
13235 (fmax_test): Likewise.
13236 (fmin_test): Likewise.
13237 (fmod_test): Likewise.
13238 (fpclassify_test): Likewise.
13239 (frexp_test): Likewise.
13240 (gamma_test): Likewise.
13241 (hypot_test): Likewise.
13242 (ilogb_test): Likewise.
13243 (isfinite_test): Likewise.
13244 (isgreater_test): Likewise.
13245 (isgreaterequal_test): Likewise.
13246 (isinf_test): Likewise.
13247 (isless_test): Likewise.
13248 (islessequal_test): Likewise.
13249 (islessgreater_test): Likewise.
13250 (isnan_test): Likewise.
13251 (isnormal_test): Likewise.
13252 (issignaling_test): Likewise.
13253 (isunordered_test): Likewise.
13254 (j0_test): Likewise.
13255 (j1_test): Likewise.
13256 (jn_test): Likewise.
13257 (ldexp_test): Likewise.
13258 (lgamma_test): Likewise.
13259 (lrint_test): Likewise.
13260 (lrint_test_tonearest): Likewise.
13261 (lrint_test_towardzero): Likewise.
13262 (lrint_test_downward): Likewise.
13263 (lrint_test_upward): Likewise.
13264 (llrint_test): Likewise.
13265 (llrint_test_tonearest): Likewise.
13266 (llrint_test_towardzero): Likewise.
13267 (llrint_test_downward): Likewise.
13268 (llrint_test_upward): Likewise.
13269 (log_test): Likewise.
13270 (log10_test): Likewise.
13271 (log1p_test): Likewise.
13272 (log2_test): Likewise.
13273 (logb_test): Likewise.
13274 (logb_test_downward): Likewise.
13275 (lround_test): Likewise.
13276 (llround_test): Likewise.
13277 (modf_test): Likewise.
13278 (nearbyint_test): Likewise.
13279 (nextafter_test): Likewise.
13280 (nexttoward_test): Likewise.
13281 (pow_test): Likewise.
13282 (pow_test_tonearest): Likewise.
13283 (pow_test_towardzero): Likewise.
13284 (pow_test_downward): Likewise.
13285 (pow_test_upward): Likewise.
13286 (remainder_test): Likewise.
13287 (remainder_test_tonearest): Likewise.
13288 (remainder_test_towardzero): Likewise.
13289 (remainder_test_downward): Likewise.
13290 (remainder_test_upward): Likewise.
13291 (remquo_test): Likewise.
13292 (rint_test): Likewise.
13293 (rint_test_tonearest): Likewise.
13294 (rint_test_towardzero): Likewise.
13295 (rint_test_downward): Likewise.
13296 (rint_test_upward): Likewise.
13297 (round_test): Likewise.
13298 (scalb_test): Likewise.
13299 (scalbn_test): Likewise.
13300 (scalbln_test): Likewise.
13301 (signbit_test): Likewise.
13302 (sin_test): Likewise.
13303 (sin_test_tonearest): Likewise.
13304 (sin_test_towardzero): Likewise.
13305 (sin_test_downward): Likewise.
13306 (sin_test_upward): Likewise.
13307 (sincos_test): Likewise.
13308 (sinh_test): Likewise.
13309 (sinh_test_tonearest): Likewise.
13310 (sinh_test_towardzero): Likewise.
13311 (sinh_test_downward): Likewise.
13312 (sinh_test_upward): Likewise.
13313 (sqrt_test): Likewise.
13314 (tan_test): Likewise.
13315 (tan_test_tonearest): Likewise.
13316 (tan_test_towardzero): Likewise.
13317 (tan_test_downward): Likewise.
13318 (tan_test_upward): Likewise.
13319 (tanh_test): Likewise.
13320 (tgamma_test): Likewise.
13321 (trunc_test): Likewise.
13322 (y0_test): Likewise.
13323 (y1_test): Likewise.
13324 (yn_test): Likewise.
13325 (significand_test): Likewise.
13327 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13330 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13332 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13335 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13336 __ppc_mdoio and __ppc_mdoom.
13337 * manual/platform.texi: Document new functions __ppc_yield,
13338 __ppc_mdoio and __ppc_mdoom.
13340 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13342 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13343 (main): Mention "tls" pseudo-hwcap is legacy.
13344 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13346 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13348 * math/gen-libm-test.pl (parse_args): Output only string of
13349 arguments as text for test name, not full call or descriptions of
13350 tests for extra outputs.
13351 (generate_testfile): Do not pass function name to parse_args.
13352 Generate this_func variable from START.
13353 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13355 (struct test_ff_f_data): Likewise.
13356 (test_ff_f_data_nexttoward): Likewise.
13357 (struct test_fi_f_data): Likewise.
13358 (struct test_fl_f_data): Likewise.
13359 (struct test_if_f_data): Likewise.
13360 (struct test_fff_f_data): Likewise.
13361 (struct test_c_f_data): Likewise.
13362 (struct test_f_f1_data): Likewise. Remove field extra_name.
13363 (struct test_fF_f1_data): Likewise.
13364 (struct test_ffI_f1_data): Likewise.
13365 (struct test_c_c_data): Rename test_name field to arg_str.
13366 (struct test_cc_c_data): Likewise.
13367 (struct test_f_i_data): Likewise.
13368 (struct test_ff_i_data): Likewise.
13369 (struct test_f_l_data): Likewise.
13370 (struct test_f_L_data): Likewise.
13371 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13373 (COMMON_TEST_SETUP): New macro.
13374 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13375 (COMMON_TEST_CLEANUP): Likewise.
13376 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13377 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13379 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13380 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13382 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13383 (RUN_TEST_fff_f): Take argument string. Call new setup and
13385 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13386 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13388 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13389 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13391 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13392 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13394 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13395 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13397 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13398 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13400 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13401 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13403 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13404 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13406 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13407 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13409 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13410 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13412 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13413 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13415 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13416 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13418 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13419 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13421 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13422 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13424 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13425 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13427 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13428 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13430 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13432 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13434 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13435 to _sifields.sigfault.
13436 (si_addr_lsb): Define new macro.
13437 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13438 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13439 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13441 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13444 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13446 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13448 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13449 loading the domain.
13451 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13453 * math/gen-libm-test.pl (parse_args): Do not include expected
13454 result in test name.
13455 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13456 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13457 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13458 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13459 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13462 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13464 * benchtests/Makefile: Sort function entries.
13466 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13467 tanh, asinh, acosh, atanh.
13468 * benchtests/acos-inputs: New file.
13469 * benchtests/acosh-inputs: New file.
13470 * benchtests/asin-inputs: New file.
13471 * benchtests/asinh-inputs: New file.
13472 * benchtests/atanh-inputs: New file.
13473 * benchtests/cosh-inputs: New file.
13474 * benchtests/log-inputs: New file.
13475 * benchtests/sinh-inputs: New file.
13476 * benchtests/tanh-inputs: New file.
13478 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13481 * posix/tst-getaddrinfo4.c: New test.
13482 * posix/Makefile (tests): Add it.
13484 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13487 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13488 when no services were used.
13489 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13490 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13492 2013-05-21 Andreas Schwab <schwab@suse.de>
13495 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13496 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13498 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13499 redundant variable declarations and reallocation of buffer when
13500 parsing as IPv6 address. Always set NSS status when called from
13501 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13502 buffer too small. Correct computation of needed size.
13503 * nss/Makefile (tests): Add test-digits-dots.
13504 * nss/test-digits-dots.c: New test.
13506 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13508 * benchtests/Makefile: Remove instructions for adding
13510 * benchtests/README: New file to explain how to execute and
13511 enhance the benchmark tests.
13513 2013-05-21 Andreas Schwab <schwab@suse.de>
13516 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13517 * setjmp/tst-sigsetjmp.c: New test.
13519 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13521 * sysdeps/x86_64/memset.S (memset): New implementation.
13522 (__bzero): Likewise.
13523 (__memset_tail): New function.
13525 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13527 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13528 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13529 __memcpy_sse2_unaligned ifunc selection.
13530 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13531 Add memcpy-sse2-unaligned.S.
13532 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13533 Add: __memcpy_sse2_unaligned.
13535 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13538 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13539 math_force_eval before restoring floating-point envrionment.
13540 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13541 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13543 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13545 (__nearbyintl): Use math_force_eval before restoring
13546 floating-point environment.
13547 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13549 * math/gen-libm-test.pl (special_functions): Remove.
13550 (parse_args): Don't handle TEST_extra. Handle functions with no
13552 * math/libm-test.inc (struct test_sincos_data): Replace with
13553 struct test_fFF_11_data.
13554 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13555 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13556 (sincos_test_data): Change element type to struct
13557 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13558 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13559 RUN_TEST_LOOP_sincos.
13560 * math/README.libm-test: Don't mention special handling of
13561 individual functions.
13562 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13563 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13564 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13565 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13566 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13569 * math/gen-libm-test.pl (get_variable): Remove function.
13570 (parse_args): Don't show pointer parameters to call in test
13571 names. Use "extra output N" in test names for extra outputs
13572 rather than naming variables.
13574 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13577 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13578 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13579 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13581 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13583 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13586 * math/gen-libm-test.pl (@tests): Remove variable.
13587 ($count): Likewise.
13588 (new_test): Remove function.
13589 (show_exceptions): New function.
13590 (special_functions): Use show_exceptions instead of new_test.
13591 (parse_args): Likewise.
13592 (generate_testfile): Pass only function name in generated call to
13593 print_max_error or print_complex_max_error.
13594 (get_ulps): Do not handle complex tests specially.
13595 (output_test): Rename to ...
13596 (get_all_ulps_for_test): ... this. Return a string rather than
13597 printing to a file. Require ulps to be present.
13598 (output_ulps): Generate arrays rather than #defines.
13599 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13600 (struct ulp_data): New type.
13601 (BUILD_COMPLEX_ULP): Remove macro.
13602 (compare_ulp_data): New function.
13603 (find_ulps): Likewise.
13604 (find_test_ulps): Likewise.
13605 (find_function_ulps): Likewise.
13606 (find_complex_function_ulps): Likewise.
13607 (print_max_error): Determine allowed ulps using
13608 find_function_ulps.
13609 (print_complex_max_error): Determine allowed ulps using
13610 find_complex_function_ulps.
13611 (check_float_internal): Determine max ulps using find_test_ulps.
13612 (check_float): Do not take max_ulp parameter. Update call to
13613 check_float_internal.
13614 (check_complex): Likewise.
13615 (check_int): Do not take max_ulp parameter.
13616 (check_long): Likewise.
13617 (check_bool): Likewise.
13618 (check_longlong): Likewise.
13619 (struct test_f_f_data): Remove max_ulp field.
13620 (struct test_ff_f_data): Likewise.
13621 (struct test_ff_f_data_nexttoward): Likewise.
13622 (struct test_fi_f_data): Likewise.
13623 (struct test_fl_f_data): Likewise.
13624 (struct test_if_f_data): Likewise.
13625 (struct test_fff_f_data): Likewise.
13626 (struct test_c_f_data): Likewise.
13627 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13628 (struct test_fF_f1_data): Likewise.
13629 (struct test_ffI_f1_data): Likewise.
13630 (struct test_c_c_data): Remove max_ulp field.
13631 (struct test_cc_c_data): Likewise.
13632 (struct test_f_i_data): Likewise.
13633 (struct test_ff_i_data): Likewise.
13634 (struct test_f_l_data): Likewise.
13635 (struct test_f_L_data): Likewise.
13636 (struct test_sincos_data): Likewise.
13637 (RUN_TEST_f_f): Do not handle ulps.
13638 (RUN_TEST_LOOP_f_f): Likewise.
13639 (RUN_TEST_2_f): Likewise.
13640 (RUN_TEST_LOOP_2_f): Likewise.
13641 (RUN_TEST_fff_f): Likewise.
13642 (RUN_TEST_LOOP_fff_f): Likewise.
13643 (RUN_TEST_c_f): Likewise.
13644 (RUN_TEST_LOOP_c_f): Likewise.
13645 (RUN_TEST_f_f1): Likewise.
13646 (RUN_TEST_LOOP_f_f1): Likewise.
13647 (RUN_TEST_fF_f1): Likewise.
13648 (RUN_TEST_LOOP_fF_f1): Likewise.
13649 (RUN_TEST_fI_f1): Likewise.
13650 (RUN_TEST_LOOP_fI_f1): Likewise.
13651 (RUN_TEST_ffI_f1): Likewise.
13652 (RUN_TEST_LOOP_ffI_f1): Likewise.
13653 (RUN_TEST_c_c): Likewise.
13654 (RUN_TEST_LOOP_c_c): Likewise.
13655 (RUN_TEST_cc_c): Likewise.
13656 (RUN_TEST_LOOP_cc_c): Likewise.
13657 (RUN_TEST_f_i): Likewise.
13658 (RUN_TEST_LOOP_f_i): Likewise.
13659 (RUN_TEST_f_i_tg): Likewise.
13660 (RUN_TEST_LOOP_f_i_tg): Likewise.
13661 (RUN_TEST_ff_i_tg): Likewise.
13662 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13663 (RUN_TEST_f_b): Likewise.
13664 (RUN_TEST_LOOP_f_b): Likewise.
13665 (RUN_TEST_f_b_tg): Likewise.
13666 (RUN_TEST_LOOP_f_b_tg): Likewise.
13667 (RUN_TEST_f_l): Likewise.
13668 (RUN_TEST_LOOP_f_l): Likewise.
13669 (RUN_TEST_f_L): Likewise.
13670 (RUN_TEST_LOOP_f_L): Likewise.
13671 (RUN_TEST_sincos): Likewise.
13672 (RUN_TEST_LOOP_sincos): Likewise.
13674 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13678 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13679 main case of finite arguments, set rounding mode to FE_TONEAREST
13680 and discard exceptions.
13681 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13683 (remainder_tonearest_test_data): New variable.
13684 (remainder_test_tonearest): New function.
13685 (remainder_towardzero_test_data): New variable.
13686 (remainder_test_towardzero): New function.
13687 (remainder_downward_test_data): New variable.
13688 (remainder_test_downward): New function.
13689 (remainder_upward_test_data): New variable.
13690 (remainder_test_upward): New function.
13691 (main): Call the new test functions.
13693 * math/libm-test.inc (struct test_f_f1_data): Remove field
13695 (struct test_fF_f1_data): Likewise.
13696 (struct test_ffI_f1_data): Likewise.
13697 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13698 based on value of EXTRA_EXPECTED.
13699 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13700 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13701 EXTRA_VAR based on value of EXTRA_EXPECTED.
13702 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13703 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13704 EXTRA_VAR based on value of EXTRA_EXPECTED.
13705 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13706 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13707 EXTRA_VAR based on value of EXTRA_EXPECTED.
13708 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13709 * math/gen-libm-test.pl (parse_args): Don't output initializers
13710 for extra output values.
13712 * math/libm-test.inc (check_int): Expect result to be exactly
13713 equal to expected value and do not handle ulps.
13714 (check_long): Likewise.
13715 (check_longlong): Likewise.
13717 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13719 (cimag_test_data): Likewise.
13720 (conj_test_data): Likewise.
13721 (copysign_test_data): Likewise.
13722 (cproj_test_data): Likewise.
13723 (creal_test_data): Likewise.
13724 (fabs_test_data): Likewise.
13725 (fdim_test_data): Likewise.
13726 (finite_test_data): Likewise.
13727 (floor_test_data): Likewise.
13728 (fmax_test_data): Likewise.
13729 (fmin_test_data): Likewise.
13730 (fmod_test_data): Likewise.
13731 (fpclassify_test_data): Likewise.
13732 (frexp_test_data): Likewise.
13733 (ilogb_test_data): Likewise.
13734 (isfinite_test_data): Likewise.
13735 (isgreater_test_data): Likewise.
13736 (isgreaterequal_test_data): Likewise.
13737 (isinf_test_data): Likewise.
13738 (isless_test_data): Likewise.
13739 (islessequal_test_data): Likewise.
13740 (islessgreater_test_data): Likewise.
13741 (isnan_test_data): Likewise.
13742 (isnormal_test_data): Likewise.
13743 (issignaling_test_data): Likewise.
13744 (isunordered_test_data): Likewise.
13745 (ldexp_test_data): Likewise.
13746 (lrint_test_data): Likewise.
13747 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13748 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13749 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13750 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13751 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13752 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13754 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13755 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13756 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13757 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13759 (lrint_downward_test_data): Test for "inexact" exceptions.
13760 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13761 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13762 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13764 (lrint_upward_test_data): Test for "inexact" exceptions.
13765 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13767 (llrint_test_data): Test for "inexact" exceptions.
13768 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13769 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13770 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13771 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13772 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13773 (llrint_downward_test_data): Test for "inexact" exceptions.
13774 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13775 (llrint_upward_test_data): Test for "inexact" exceptions.
13776 (logb_test_data): Likewise.
13777 (logb_downward_test_data): Likewise.
13778 (nextafter_test_data): Likewise.
13779 (nexttoward_test_data): Likewise.
13780 (remainder_test_data): Likewise.
13781 (remquo_test_data): Likewise.
13782 (scalbn_test_data): Likewise.
13783 (scalbln_test_data): Likewise.
13784 (signbit_test_data): Likewise.
13785 (sqrt_test_data): Likewise.
13786 (significand_test_data): Likewise.
13788 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13791 * benchtests/bench-modf.c (struct args): Mark arg0 as
13793 * scripts/bench.pl: Mark members of struct args as volatile.
13795 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13798 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13799 negative infinity on POWER6 or lower.
13800 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13802 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13805 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13806 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13807 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13808 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13809 (_FP_SETQNAN): New macro.
13810 (_FP_SETQNAN_SEMIRAW): Likewise.
13811 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13812 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13813 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13814 (FP_EXTEND): Use _FP_FRAC_SNANP.
13815 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13816 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13818 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13820 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13823 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13825 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13826 with DIVIDE_BY_ZERO_EXCEPTION.
13827 (gamma_test_data): Likewise.
13828 (lgamma_test_data): Likewise.
13829 (log_test_data): Likewise.
13830 (log10_test_data): Likewise.
13831 (log2_test_data): Likewise.
13832 (tgamma_test_data): Likewise.
13834 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13835 (acos_test_tonearest): Likewise.
13836 (acos_test_towardzero): Likewise.
13837 (acos_test_downward): Likewise.
13838 (acos_test_upward): Likewise.
13839 (acosh_test): Likewise.
13840 (asin_test): Likewise.
13841 (asin_test_tonearest): Likewise.
13842 (asin_test_towardzero): Likewise.
13843 (asin_test_downward): Likewise.
13844 (asin_test_upward): Likewise.
13845 (asinh_test): Likewise.
13846 (atan_test): Likewise.
13847 (atanh_test): Likewise.
13848 (atan2_test): Likewise.
13849 (cabs_test): Likewise.
13850 (cacos_test): Likewise.
13851 (cacosh_test): Likewise.
13852 (casin_test): Likewise.
13853 (casinh_test): Likewise.
13854 (catan_test): Likewise.
13855 (catanh_test): Likewise.
13856 (cbrt_test): Likewise.
13857 (ccos_test): Likewise.
13858 (ccosh_test): Likewise.
13859 (cexp_test): Likewise.
13860 (clog_test): Likewise.
13861 (clog10_test): Likewise.
13862 (cos_test): Likewise.
13863 (cos_test_tonearest): Likewise.
13864 (cos_test_towardzero): Likewise.
13865 (cos_test_downward): Likewise.
13866 (cos_test_upward): Likewise.
13867 (cosh_test): Likewise.
13868 (cosh_test_tonearest): Likewise.
13869 (cosh_test_towardzero): Likewise.
13870 (cosh_test_downward): Likewise.
13871 (cosh_test_upward): Likewise.
13872 (cpow_test): Likewise.
13873 (csin_test): Likewise.
13874 (csinh_test): Likewise.
13875 (csqrt_test): Likewise.
13876 (ctan_test): Likewise.
13877 (ctan_test_tonearest): Likewise.
13878 (ctan_test_towardzero): Likewise.
13879 (ctan_test_downward): Likewise.
13880 (ctan_test_upward): Likewise.
13881 (ctanh_test): Likewise.
13882 (ctanh_test_tonearest): Likewise.
13883 (ctanh_test_towardzero): Likewise.
13884 (ctanh_test_downward): Likewise.
13885 (ctanh_test_upward): Likewise.
13886 (erf_test): Likewise.
13887 (erfc_test): Likewise.
13888 (exp_test): Likewise.
13889 (exp_test_tonearest): Likewise.
13890 (exp_test_towardzero): Likewise.
13891 (exp_test_downward): Likewise.
13892 (exp_test_upward): Likewise.
13893 (exp10_test): Likewise.
13894 (exp2_test): Likewise.
13895 (expm1_test): Likewise.
13896 (fmod_test): Likewise.
13897 (gamma_test): Likewise.
13898 (hypot_test): Likewise.
13899 (j0_test): Likewise.
13900 (j1_test): Likewise.
13901 (jn_test): Likewise.
13902 (lgamma_test): Likewise.
13903 (log_test): Likewise.
13904 (log10_test): Likewise.
13905 (log1p_test): Likewise.
13906 (log2_test): Likewise.
13907 (logb_test_downward): Likewise.
13908 (pow_test): Likewise.
13909 (pow_test_tonearest): Likewise.
13910 (pow_test_towardzero): Likewise.
13911 (pow_test_downward): Likewise.
13912 (pow_test_upward): Likewise.
13913 (remainder_test): Likewise.
13914 (remquo_test): Likewise.
13915 (sin_test): Likewise.
13916 (sin_test_tonearest): Likewise.
13917 (sin_test_towardzero): Likewise.
13918 (sin_test_downward): Likewise.
13919 (sin_test_upward): Likewise.
13920 (sincos_test): Likewise.
13921 (sinh_test): Likewise.
13922 (sinh_test_tonearest): Likewise.
13923 (sinh_test_towardzero): Likewise.
13924 (sinh_test_downward): Likewise.
13925 (sinh_test_upward): Likewise.
13926 (sqrt_test): Likewise.
13927 (tan_test): Likewise.
13928 (tan_test_tonearest): Likewise.
13929 (tan_test_towardzero): Likewise.
13930 (tan_test_downward): Likewise.
13931 (tan_test_upward): Likewise.
13932 (tanh_test): Likewise.
13933 (tgamma_test): Likewise.
13934 (y0_test): Likewise.
13935 (y1_test): Likewise.
13936 (yn_test): Likewise.
13938 * math/gen-libm-test.pl (adjust_arg): Remove function.
13939 (special_function): Remove argument $in_func. Only handle
13940 generating output for tables of tests, not inside functions.
13941 (parse_args): Likewise.
13942 (generate_testfile): Remove variable $in_func. Update call to
13944 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13945 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13946 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13947 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13948 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13949 (MAX_VALUE_INIT): Rename macro to max_value.
13950 (MIN_VALUE_INIT): Rename macro to min_value.
13951 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13952 (plus_zero): Remove variable.
13953 (minus_zero): Likewise.
13954 (plus_infty): Likewise.
13955 (minus_infty): Likewise.
13956 (qnan_value): Likewise.
13957 (max_value): Likewise.
13958 (min_value): Likewise.
13959 (min_subnorm_value): Likewise.
13961 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13963 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13964 uint64_t or uint32_t usage.
13965 * crypt/sha256-block.c: Likewise.
13966 * crypt/sha256-crypt.c: Likewise.
13967 * crypt/sha256.c: Likewise.
13968 * crypt/sha512-block.c: Likewise.
13969 * crypt/sha512-crypt.c: Likewise.
13970 * crypt/sha512.c: Likewise.
13971 * debug/backtrace-tst.c: Likewise.
13972 * debug/pcprofiledump.c: Likewise.
13973 * elf/cache.c: Likewise.
13974 * elf/dl-cache.c: Likewise.
13975 * elf/dl-misc.c: Likewise.
13976 * elf/dl-profile.c: Likewise.
13977 * elf/dl-support.c: Likewise.
13978 * elf/ldconfig.c: Likewise.
13979 * elf/sprof.c: Likewise.
13980 * iconv/dummy-repertoire.c: Likewise.
13981 * iconv/iconv_charmap.c: Likewise.
13982 * iconv/skeleton.c: Likewise.
13983 * iconvdata/8bit-generic.c: Likewise.
13984 * iconvdata/cp737.h: Likewise.
13985 * iconvdata/cp775.h: Likewise.
13986 * iconvdata/ibm1008.h: Likewise.
13987 * iconvdata/ibm1025.h: Likewise.
13988 * iconvdata/ibm1046.h: Likewise.
13989 * iconvdata/ibm1097.h: Likewise.
13990 * iconvdata/ibm1112.h: Likewise.
13991 * iconvdata/ibm1122.h: Likewise.
13992 * iconvdata/ibm1123.h: Likewise.
13993 * iconvdata/ibm1124.h: Likewise.
13994 * iconvdata/ibm1129.h: Likewise.
13995 * iconvdata/ibm1130.h: Likewise.
13996 * iconvdata/ibm1132.h: Likewise.
13997 * iconvdata/ibm1133.h: Likewise.
13998 * iconvdata/ibm1137.h: Likewise.
13999 * iconvdata/ibm1140.h: Likewise.
14000 * iconvdata/ibm1141.h: Likewise.
14001 * iconvdata/ibm1142.h: Likewise.
14002 * iconvdata/ibm1143.h: Likewise.
14003 * iconvdata/ibm1144.h: Likewise.
14004 * iconvdata/ibm1145.h: Likewise.
14005 * iconvdata/ibm1146.h: Likewise.
14006 * iconvdata/ibm1147.h: Likewise.
14007 * iconvdata/ibm1148.h: Likewise.
14008 * iconvdata/ibm1149.h: Likewise.
14009 * iconvdata/ibm1153.h: Likewise.
14010 * iconvdata/ibm1154.h: Likewise.
14011 * iconvdata/ibm1155.h: Likewise.
14012 * iconvdata/ibm1156.h: Likewise.
14013 * iconvdata/ibm1157.h: Likewise.
14014 * iconvdata/ibm1158.h: Likewise.
14015 * iconvdata/ibm1160.h: Likewise.
14016 * iconvdata/ibm1161.h: Likewise.
14017 * iconvdata/ibm1162.h: Likewise.
14018 * iconvdata/ibm1163.h: Likewise.
14019 * iconvdata/ibm1164.h: Likewise.
14020 * iconvdata/ibm1166.h: Likewise.
14021 * iconvdata/ibm1167.h: Likewise.
14022 * iconvdata/ibm12712.h: Likewise.
14023 * iconvdata/ibm1390.h: Likewise.
14024 * iconvdata/ibm1399.h: Likewise.
14025 * iconvdata/ibm16804.h: Likewise.
14026 * iconvdata/ibm4517.h: Likewise.
14027 * iconvdata/ibm4899.h: Likewise.
14028 * iconvdata/ibm4909.h: Likewise.
14029 * iconvdata/ibm4971.h: Likewise.
14030 * iconvdata/ibm5347.h: Likewise.
14031 * iconvdata/ibm803.h: Likewise.
14032 * iconvdata/ibm856.h: Likewise.
14033 * iconvdata/ibm901.h: Likewise.
14034 * iconvdata/ibm902.h: Likewise.
14035 * iconvdata/ibm9030.h: Likewise.
14036 * iconvdata/ibm9066.h: Likewise.
14037 * iconvdata/ibm921.h: Likewise.
14038 * iconvdata/ibm922.h: Likewise.
14039 * iconvdata/ibm9448.h: Likewise.
14040 * iconvdata/isiri-3342.h: Likewise.
14041 * iconvdata/jis0201.h: Likewise.
14042 * include/link.h: Likewise.
14043 * include/netdb.h: Likewise.
14044 * inet/check_native.c: Likewise.
14045 * inet/check_pf.c: Likewise.
14046 * inet/getipv4sourcefilter.c: Likewise.
14047 * inet/getnameinfo.c: Likewise.
14048 * inet/getsourcefilter.c: Likewise.
14049 * inet/htonl.c: Likewise.
14050 * inet/setipv4sourcefilter.c: Likewise.
14051 * inet/setsourcefilter.c: Likewise.
14052 * inet/test-inet6_opt.c: Likewise.
14053 * inet/tst-network.c: Likewise.
14054 * locale/C-collate.c: Likewise.
14055 * locale/C-ctype.c: Likewise.
14056 * locale/C-time.c: Likewise.
14057 * locale/C-translit.h: Likewise.
14058 * locale/loadarchive.c: Likewise.
14059 * locale/programs/3level.h: Likewise.
14060 * locale/programs/charmap.c: Likewise.
14061 * locale/programs/charmap.h: Likewise.
14062 * locale/programs/ld-address.c: Likewise.
14063 * locale/programs/ld-collate.c: Likewise.
14064 * locale/programs/ld-ctype.c: Likewise.
14065 * locale/programs/ld-identification.c: Likewise.
14066 * locale/programs/ld-measurement.c: Likewise.
14067 * locale/programs/ld-messages.c: Likewise.
14068 * locale/programs/ld-monetary.c: Likewise.
14069 * locale/programs/ld-name.c: Likewise.
14070 * locale/programs/ld-numeric.c: Likewise.
14071 * locale/programs/ld-paper.c: Likewise.
14072 * locale/programs/ld-telephone.c: Likewise.
14073 * locale/programs/ld-time.c: Likewise.
14074 * locale/programs/linereader.c: Likewise.
14075 * locale/programs/locale.c: Likewise.
14076 * locale/programs/locarchive.c: Likewise.
14077 * locale/programs/locfile.h: Likewise.
14078 * locale/programs/repertoire.c: Likewise.
14079 * locale/programs/simple-hash.c: Likewise.
14080 * locale/programs/simple-hash.h: Likewise.
14081 * malloc/memusage.c: Likewise.
14082 * malloc/memusagestat.c: Likewise.
14083 * nis/nis_defaults.c: Likewise.
14084 * nis/nis_hash.c: Likewise.
14085 * nis/nis_print.c: Likewise.
14086 * nis/nis_xdr.c: Likewise.
14087 * nscd/connections.c: Likewise.
14088 * nscd/hstcache.c: Likewise.
14089 * nscd/nscd_gethst_r.c: Likewise.
14090 * nscd/nscd_getserv_r.c: Likewise.
14091 * nscd/nscd_helper.c: Likewise.
14092 * nscd/servicescache.c: Likewise.
14093 * nss/makedb.c: Likewise.
14094 * nss/nss_db/db-XXX.c: Likewise.
14095 * nss/nss_db/db-initgroups.c: Likewise.
14096 * nss/nss_db/db-netgrp.c: Likewise.
14097 * nss/nss_files/files-network.c: Likewise.
14098 * nss/nss_files/files-parse.c: Likewise.
14099 * posix/bug-regex5.c: Likewise.
14100 * posix/fnmatch_loop.c: Likewise.
14101 * posix/regcomp.c: Likewise.
14102 * posix/regexec.c: Likewise.
14103 * posix/tst-rfc3484-2.c: Likewise.
14104 * posix/tst-rfc3484-3.c: Likewise.
14105 * posix/tst-rfc3484.c: Likewise.
14106 * resolv/nss_dns/dns-canon.c: Likewise.
14107 * resolv/nss_dns/dns-network.c: Likewise.
14108 * resolv/res_init.c: Likewise.
14109 * resolv/res_mkquery.c: Likewise.
14110 * resolv/tst-aton.c: Likewise.
14111 * stdlib/cxa_atexit.c: Likewise.
14112 * stdlib/cxa_finalize.c: Likewise.
14113 * stdlib/gen-fpioconst.c: Likewise.
14114 * stdlib/strtol_l.c: Likewise.
14115 * string/tst-endian.c: Likewise.
14116 * sunrpc/auth_des.c: Likewise.
14117 * sunrpc/clnt_udp.c: Likewise.
14118 * sunrpc/rtime.c: Likewise.
14119 * sunrpc/svcauth_des.c: Likewise.
14120 * sunrpc/xdr.c: Likewise.
14121 * sunrpc/xdr_intXX_t.c: Likewise.
14122 * sunrpc/xdr_rec.c: Likewise.
14123 * sysdeps/generic/ldconfig.h: Likewise.
14124 * sysdeps/generic/ldsodefs.h: Likewise.
14125 * sysdeps/generic/memusage.h: Likewise.
14126 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14127 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14128 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14129 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14130 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14131 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14132 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14133 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14134 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14135 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14136 * sysdeps/posix/getaddrinfo.c: Likewise.
14137 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14138 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14139 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14140 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14141 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14142 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14143 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14144 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14145 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14146 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14147 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14148 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14149 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14150 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14151 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14152 * sysdeps/x86_64/dl-tls.h: Likewise.
14153 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14154 * time/alt_digit.c: Likewise.
14155 * time/era.c: Likewise.
14156 * wcsmbs/tst-c16c32-1.c: Likewise.
14158 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14160 * math/libm-test.inc (struct test_sincos_data): New type.
14161 (RUN_TEST_LOOP_sincos): New macro.
14162 (sincos_test_data): New variable.
14163 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14165 2013-05-16 Richard Henderson <rth@redhat.com>
14167 * math/atest-exp2.c (LIMB64): New macro.
14168 (CONSTSZ): New macro.
14169 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14171 (print_mpn_fp): ... to function scope.
14172 (read_mpn_hex): Remove.
14173 (get_log2): Remove.
14174 (exp2_mpn): Use mp_log2.
14175 (main): Use mp_exp1.
14177 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14179 * math/libm-test.inc: Remove comment about not testing "inexact"
14181 (INEXACT_EXCEPTION): New macro.
14182 (NO_INEXACT_EXCEPTION): Likewise.
14183 (INVALID_EXCEPTION_OK): Update value.
14184 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14185 (OVERFLOW_EXCEPTION_OK): Likewise.
14186 (UNDERFLOW_EXCEPTION_OK): Likewise.
14187 (IGNORE_ZERO_INF_SIGN): Likewise.
14188 (ERRNO_UNCHANGED): Likewise.
14189 (ERRNO_EDOM): Likewise.
14190 (ERRNO_ERANGE): Likewise.
14191 (test_exceptions): Handle testing "inexact" exceptions.
14192 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14193 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14194 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14195 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14197 (rint_towardzero_test_data): Likewise.
14198 (rint_downward_test_data): Likewise.
14199 (rint_upward_test_data): Likewise.
14201 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14202 with OVERFLOW_EXCEPTION.
14203 (exp10_test_data): Likewise.
14204 (exp2_test_data): Likewise.
14205 (expm1_test_data): Likewise.
14206 (lgamma_test_data): Likewise.
14207 (pow_test_data): Likewise.
14208 (tgamma_test_data): Likewise.
14209 (yn_test_data): Remove duplicate test of overflow.
14211 * math/libm-test.inc (struct test_cc_c_data): New type.
14212 (RUN_TEST_LOOP_cc_c): New macro.
14213 (cpow_test_data): New variable.
14214 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14216 * math/libm-test.inc (struct test_f_L_data): New type.
14217 (RUN_TEST_LOOP_f_L): New macro.
14218 (llrint_test_data): New variable.
14219 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14220 (llrint_tonearest_test_data): New variable.
14221 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14222 (llrint_towardzero_test_data): New variable.
14223 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14224 (llrint_downward_test_data): New variable.
14225 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14226 (llrint_upward_test_data): New variable.
14227 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14228 (llround_test_data): New variable.
14229 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14231 2013-05-13 Peter Collingbourne <pcc@google.com>
14233 * math/atest-exp2.c (get_log2): Remove const attribute.
14235 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14237 * math/libm-test.inc (struct test_f_l_data): New type.
14238 (RUN_TEST_LOOP_f_l): New macro.
14239 (lrint_test_data): New variable.
14240 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14241 (lrint_tonearest_test_data): New variable.
14242 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14243 (lrint_towardzero_test_data): New variable.
14244 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14245 (lrint_downward_test_data): New variable.
14246 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14247 (lrint_upward_test_data): New variable.
14248 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14249 (lround_test_data): New variable.
14250 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14252 2013-05-15 Peter Collingbourne <pcc@google.com>
14254 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14255 (EXTRACT_WORDS64) Use where appropriate.
14256 (INSERT_WORDS64) Likewise.
14258 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14259 constraints with x constraints.
14260 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14262 * malloc/obstack.c (_obstack_compat): Add initializer.
14264 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14266 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14267 si_trapno and add si_addr_lsb to _sifields.sigfault.
14268 (si_trapno): Remove macro.
14269 (si_addr_lsb): Define new macro.
14270 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14272 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14274 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14275 instead of TEST_f_l.
14276 (llrint_test_tonearest): Likewise.
14277 (llrint_test_towardzero): Likewise.
14278 (llrint_test_downward): Likewise.
14279 (llrint_test_upward): Likewise.
14280 (llround_test): Likewise.
14282 * math/libm-test.inc (struct test_f_i_data): Add comment.
14283 (RUN_TEST_LOOP_f_b): New macro.
14284 (RUN_TEST_LOOP_f_b_tg): Likewise.
14285 (finite_test_data): New variable.
14286 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14287 (isfinite_test_data): New variable.
14288 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14289 (isinf_test_data): New variable.
14290 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14291 (isnan_test_data): New variable.
14292 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14293 (isnormal_test_data): New variable.
14294 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14295 (issignaling_test_data): New variable.
14296 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14297 (signbit_test_data): New variable.
14298 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14300 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14301 with INVALID_EXCEPTION.
14302 (acosh_test_data): Likewise.
14303 (asin_test_data): Likewise.
14304 (atanh_test_data): Likewise.
14305 (fmod_test_data): Likewise.
14306 (log_test_data): Likewise.
14307 (log10_test_data): Likewise.
14308 (log2_test_data): Likewise.
14309 (pow_test_data): Likewise.
14310 (sqrt_test_data): Likewise.
14311 (y0_test_data): Likewise.
14312 (y1_test_data): Likewise.
14313 (yn_test_data): Likewise.
14315 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14318 * math/libm-test.inc (struct test_ff_i_data): New type.
14319 (RUN_TEST_LOOP_ff_i_tg): New macro.
14320 (isgreater_test_data): New variable.
14321 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14322 (isgreaterequal_test_data): New variable.
14323 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14324 (isless_test_data): New variable.
14325 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14326 (islessequal_test_data): New variable.
14327 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14328 (islessgreater_test_data): New variable.
14329 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14330 (isunordered_test_data): New variable.
14331 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14333 2013-05-14 David S. Miller <davem@davemloft.net>
14335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14337 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14339 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14341 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14343 (struct test_f_i_data): Change type of max_ulp to int.
14345 * math/libm-test.inc (test_ffI_f1_data): New type.
14346 (RUN_TEST_LOOP_ffI_f1): New macro.
14347 (remquo_test_data): New variable.
14348 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14350 * setjmp/tst-setjmp-fp.c: New file.
14351 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14352 (link-libm): New variable.
14353 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14355 * math/libm-test.inc (struct test_f_i_data): New type.
14356 (RUN_TEST_LOOP_f_i): New macro.
14357 (RUN_TEST_LOOP_f_i_tg): Likewise.
14358 (fpclassify_test_data): New variable.
14359 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14360 (ilogb_test_data): New variable.
14361 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14363 * math/libm-test.inc (scalbln_test): Correct function name in END
14366 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14367 (RUN_TEST_LOOP_fI_f1): New macro.
14368 (frexp_test_data): New variable.
14369 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14371 * math/libm-test.inc (struct test_fF_f1_data): New type.
14372 (RUN_TEST_LOOP_fF_f1): New macro.
14373 (modf_test_data): New variable.
14374 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14376 * math/libm-test.inc (struct test_f_f1_data): New type.
14377 (RUN_TEST_LOOP_f_f1): New macro.
14378 (gamma_test_data): New variable.
14379 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14380 (lgamma_test_data): New variable.
14381 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14383 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14385 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14386 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14387 (main): Comment "tls" pseudo-hwcap.
14389 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14391 * math/libm-test.inc (struct test_fl_f_data): New type.
14392 (RUN_TEST_LOOP_fl_f): New variable.
14393 (scalbln_test_data): New variable.
14394 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14396 * math/libm-test.inc (struct test_fi_f_data): New type.
14397 (RUN_TEST_LOOP_fi_f): New macro.
14398 (ldexp_test_data): New variable.
14399 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14400 (scalbn_test_data): New variable.
14401 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14403 * math/libm-test.inc (struct test_c_f_data): New type.
14404 (RUN_TEST_LOOP_c_f): New macro.
14405 (cabs_test_data): New variable.
14406 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14407 (carg_test_data): New variable.
14408 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14409 (cimag_test_data): New variable.
14410 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14411 (creal_test_data): New variable.
14412 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14414 * math/libm-test.inc (struct test_if_f_data): New type.
14415 (RUN_TEST_LOOP_if_f): New macro.
14416 (jn_test_data): New variable.
14417 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14418 (yn_test_data): New variable.
14419 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14421 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14423 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14425 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14426 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14428 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14430 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14431 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14432 (bench-deps): Add bench-timing.h.
14433 * benchtests-bench-skeleton.c: Include bench-timing.h.
14434 (main): Use TIMING_* macros instead of clock_gettime.
14435 * benchtests/bench-timing.h: New file.
14438 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14439 Renamed from _LIB_VERSION.
14440 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14442 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14444 * math/libm-test.inc (struct test_fff_f_data): New type.
14445 (RUN_TEST_LOOP_fff_f): New macro.
14446 (fma_test_data): New variable.
14447 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14448 (fma_towardzero_test_data): New variable.
14449 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14450 (fma_downward_test_data): New variable.
14451 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14452 (fma_upward_test_data): New variable.
14453 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14455 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14456 (struct test_c_c_data): New type.
14457 (RUN_TEST_LOOP_c_c): New macro.
14458 (cacos_test_data): New variable.
14459 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14460 (cacosh_test_data): New variable.
14461 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14462 (casin_test_data): New variable.
14463 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14464 (casinh_test_data): New variable.
14465 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14466 (catan_test_data): New variable.
14467 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14468 (catanh_test_data): New variable.
14469 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14470 (ccos_test_data): New variable.
14471 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14472 (ccosh_test_data): New variable.
14473 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14474 (cexp_test_data): New variable.
14475 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14476 (clog_test_data): New variable.
14477 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14478 (clog10_test_data): New variable.
14479 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14480 (conj_test_data): New variable.
14481 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14482 (cproj_test_data): New variable.
14483 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14484 (csin_test_data): New variable.
14485 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14486 (csinh_test_data): New variable.
14487 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14488 (csqrt_test_data): New variable.
14489 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14490 (ctan_test_data): New variable.
14491 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14492 (ctan_tonearest_test_data): New variable.
14493 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14494 (ctan_towardzero_test_data): New variable.
14495 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14496 (ctan_downward_test_data): New variable.
14497 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14498 (ctan_upward_test_data): New variable.
14499 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14500 (ctanh_test_data): New variable.
14501 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14502 (ctanh_tonearest_test_data): New variable.
14503 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14504 (ctanh_towardzero_test_data): New variable.
14505 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14506 (ctanh_downward_test_data): New variable.
14507 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14508 (ctanh_upward_test_data): New variable.
14509 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14510 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14513 * math/libm-test.inc (struct test_ff_f_data): New type.
14514 (struct test_ff_f_data_nexttoward): Likewise.
14515 (RUN_TEST_LOOP_2_f): New macro.
14516 (RUN_TEST_LOOP_ff_f): Likewise.
14517 (atan2_test_data): New variable.
14518 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14519 (copysign_test_data): New variable.
14520 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14521 (fdim_test_data): New variable.
14522 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14523 (fmax_test_data): New variable.
14524 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14525 (fmin_test_data): New variable.
14526 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14527 (fmod_test_data): New variable.
14528 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14529 (hypot_test_data): New variable.
14530 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14531 (nextafter_test_data): New variable.
14532 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14533 (nexttoward_test_data): New variable.
14534 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14535 (pow_test_data): New variable.
14536 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14537 (pow_tonearest_test_data): New variable.
14538 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14539 (pow_towardzero_test_data): New variable.
14540 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14541 (pow_downward_test_data): New variable.
14542 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14543 (pow_upward_test_data): New variable.
14544 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14545 (remainder_test_data): New variable.
14546 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14547 (scalb_test_data): New variable.
14548 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14549 * sysdeps/i386/fpu/libm-test-ulps: Update.
14551 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14553 * math/libm-test.inc (fma_test): Use max_value instead of local
14555 (nextafter_test): Likewise.
14557 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14558 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14559 (acos_downward_test_data): New variable.
14560 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14561 (acos_upward_test_data): New variable.
14562 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14563 (acosh_test_data): New variable.
14564 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14565 (asin_test_data): New variable.
14566 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14567 (asin_tonearest_test_data): New variable.
14568 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14569 (asin_towardzero_test_data): New variable.
14570 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14571 (asin_downward_test_data): New variable.
14572 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14573 (asin_upward_test_data): New variable.
14574 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14575 (asinh_test_data): New variable.
14576 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14577 (atan_test_data): New variable.
14578 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14579 (atanh_test_data): New variable.
14580 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14581 (cbrt_test_data): New variable.
14582 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14583 (ceil_test_data): New variable.
14584 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14585 (cos_test_data): New variable.
14586 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14587 (cos_tonearest_test_data): New variable.
14588 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14589 (cos_towardzero_test_data): New variable.
14590 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14591 (cos_downward_test_data): New variable.
14592 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14593 (cos_upward_test_data): New variable.
14594 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14595 (cosh_test_data): New variable.
14596 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14597 (cosh_tonearest_test_data): New variable.
14598 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14599 (cosh_towardzero_test_data): New variable.
14600 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14601 (cosh_downward_test_data): New variable.
14602 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14603 (cosh_upward_test_data): New variable.
14604 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14605 (erf_test_data): New variable.
14606 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14607 (erfc_test_data): New variable.
14608 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14609 (exp_test_data): New variable.
14610 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14611 (exp_tonearest_test_data): New variable.
14612 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14613 (exp_towardzero_test_data): New variable.
14614 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14615 (exp_downward_test_data): New variable.
14616 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14617 (exp_upward_test_data): New variable.
14618 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14619 (exp10_test_data): New variable.
14620 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14621 (exp2_test_data): New variable.
14622 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14623 (expm1_test_data): New variable.
14624 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14625 (fabs_test_data): New variable.
14626 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14627 (floor_test_data): New variable.
14628 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14629 (j0_test_data): New variable.
14630 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14631 (j1_test_data): New variable.
14632 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14633 (log_test_data): New variable.
14634 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14635 (log10_test_data): New variable.
14636 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14637 (log1p_test_data): New variable.
14638 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14639 (log2_test_data): New variable.
14640 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14641 (logb_test_data): New variable.
14642 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14643 (logb_downward_test_data): New variable.
14644 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14645 (nearbyint_test_data): New variable.
14646 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14647 (rint_test_data): New variable.
14648 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14649 (rint_tonearest_test_data): New variable.
14650 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14651 (rint_towardzero_test_data): New variable.
14652 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14653 (rint_downward_test_data): New variable.
14654 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14655 (rint_upward_test_data): New variable.
14656 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14657 (round_test_data): New variable.
14658 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14659 (sin_test_data): New variable.
14660 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14661 (sin_tonearest_test_data): New variable.
14662 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14663 (sin_towardzero_test_data): New variable.
14664 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14665 (sin_downward_test_data): New variable.
14666 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14667 (sin_upward_test_data): New variable.
14668 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14669 (sinh_test_data): New variable.
14670 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14671 (sinh_tonearest_test_data): New variable.
14672 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14673 (sinh_towardzero_test_data): New variable.
14674 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14675 (sinh_downward_test_data): New variable.
14676 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14677 (sinh_upward_test_data): New variable.
14678 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14679 (sqrt_test_data): New variable.
14680 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14681 (tan_test_data): New variable.
14682 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14683 (tan_tonearest_test_data): New variable.
14684 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14685 (tan_towardzero_test_data): New variable.
14686 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14687 (tan_downward_test_data): New variable.
14688 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14689 (tan_upward_test_data): New variable.
14690 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14691 (tanh_test_data): New variable.
14692 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14693 (tgamma_test_data): New variable.
14694 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14695 (trunc_test_data): New variable.
14696 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14697 (y0_test_data): New variable.
14698 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14699 (y1_test_data): New variable.
14700 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14701 (significand_test_data): New variable.
14702 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14704 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14707 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14709 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14711 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14713 2013-05-10 Andreas Jaeger <aj@suse.de>
14716 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14717 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14719 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14721 * math/gen-libm-test.pl (adjust_arg): New function.
14722 (special_functions): Handle generating output in both functions
14724 (parse_args): Likewise.
14725 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14726 $in_func argument to parse_args.
14727 * math/libm-test.inc (struct test_f_f_data): New type.
14728 (IF_ROUND_INIT_): New macro.
14729 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14730 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14731 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14732 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14733 (ROUND_RESTORE_): Likewise.
14734 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14735 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14736 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14737 (ROUND_RESTORE_FE_UPWARD): Likewise.
14738 (RUN_TEST_LOOP_f_f): New macro.
14739 (acos_test_data): New variable.
14740 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14741 (acos_tonearest_test_data): New variable.
14742 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14744 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14746 * benchtests/bench-skeleton.c (startup): Fix coding style.
14748 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14751 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14752 negative infinity argument.
14753 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14754 negative infinity argument.
14755 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14756 negative infinity argument.
14757 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14760 2013-05-10 Florian Weimer <fweimer@redhat.com>
14762 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14763 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14764 * iconv/iconv_prog.c (main): Likewise.
14765 * locale/programs/charmap-dir.c (charmap_readdir)
14766 (fopen_uncompressed): Likewise.
14767 * locale/programs/locfile.c (siblings_uncached)
14768 (write_locale_data): Use lstat64 instead of lstat.
14769 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14772 2013-05-10 Andreas Jaeger <aj@suse.de>
14775 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14777 Include <locale.h>.
14779 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14781 * elf/dl-close.c (_dl_close_worker): Add comments.
14783 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14786 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14788 (__ieee754_rem_pio2l): Update comments.
14791 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14793 (__ieee754_rem_pio2l): Update comments.
14795 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14796 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14798 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14801 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14802 (M_PI_34_LOG10El): Likewise.
14803 (M_PI2_LOG10El): Likewise.
14804 (M_PI4_LOG10El): Likewise.
14805 (M_PI_LOG10El): Likewise.
14807 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14811 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14813 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14814 (MINUS_ZERO_INIT): Likewise.
14815 (PLUS_INFTY_INIT): Likewise.
14816 (MINUS_INFTY_INIT): Likewise.
14817 (QNAN_VALUE_INIT): Likewise.
14818 (MAX_VALUE_INIT): Likewise.
14819 (MIN_VALUE_INIT): Likewise.
14820 (MIN_SUBNORM_VALUE_INIT): Likewise.
14821 (plus_zero): Initialize with PLUS_ZERO_INIT.
14822 (minus_zero): Initialize with MINUS_ZERO_INIT.
14823 (plus_infty): Initialize with PLUS_INFTY_INIT.
14824 (minus_infty): Initialize with MINUS_INFTY_INIT.
14825 (qnan_value): Initialize with QNAN_VALUE_INIT.
14826 (max_value): Initialize with MAX_VALUE_INIT.
14827 (min_value): Initialize with MIN_VALUE_INIT.
14828 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14830 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14831 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14832 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14833 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14835 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14836 (RUN_TEST_2_f): Likewise.
14837 (RUN_TEST_ff_f): Likewise.
14838 (RUN_TEST_fi_f): Likewise.
14839 (RUN_TEST_fl_f): Likewise.
14840 (RUN_TEST_fff_f): Likewise.
14841 (RUN_TEST_c_f): Likewise.
14842 (RUN_TEST_f_f1): Likewise.
14843 (RUN_TEST_fF_f1): Likewise.
14844 (RUN_TEST_fI_f1): Likewise.
14845 (RUN_TEST_ffI_f1): Likewise.
14846 (RUN_TEST_c_c): Likewise.
14847 (RUN_TEST_cc_c): Likewise.
14848 (RUN_TEST_f_i): Likewise.
14849 (RUN_TEST_f_i_tg): Likewise.
14850 (RUN_TEST_ff_i_tg): Likewise.
14851 (RUN_TEST_f_b): Likewise.
14852 (RUN_TEST_f_b_tg): Likewise.
14853 (RUN_TEST_f_l): Likewise.
14854 (RUN_TEST_f_L): Likewise.
14855 (RUN_TEST_sincos): Likewise.
14856 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14857 whether to show exceptions. Do not include ");\n" in return
14859 (special_functions): Output call to RUN_TEST_sincos instead of
14860 check_float calls. Update calls to new_test.
14861 (parse_args): Output call to single RUN_TEST_* macro instead of
14862 check_* calls and other assignments. Update calls to new_test.
14868 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14869 input to result for tgamma overflow.
14870 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14871 (gamma_coeff): New variable.
14872 (NCOEFF): New macro.
14873 (gamma_positive): New function.
14874 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14875 underflow here. Use gamma_positive instead of exp (lgamma) for
14877 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14878 (gamma_coeff): New variable.
14879 (NCOEFF): New macro.
14880 (gammaf_positive): New function.
14881 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14882 underflow here. Use gamma_positive instead of exp (lgamma) for
14884 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14885 (gamma_coeff): New variable.
14886 (NCOEFF): New macro.
14887 (gammal_positive): New function.
14888 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14889 underflow here. Use gamma_positive instead of exp (lgamma) for
14891 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14892 (gamma_coeff): New variable.
14893 (NCOEFF): New macro.
14894 (gammal_positive): New function.
14895 (__ieee754_gammal_r): Handle positive infinity, overflow and
14896 underflow here. Handle NaN the same as positive infinity. Remove
14897 check x < 0xffffffff for negative integers. Use gamma_positive
14898 instead of exp (lgamma) for other arguments.
14899 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14900 (gamma_coeff): New variable.
14901 (NCOEFF): New macro.
14902 (gammal_positive): New function.
14903 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14904 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14905 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14906 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14907 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14908 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14909 * sysdeps/generic/math_private.h (__gamma_productf): New
14911 (__gamma_product): Likewise.
14912 (__gamma_productl): Likewise.
14913 * math/Makefile (libm-calls): Add gamma_product.
14914 * math/libm-test.inc (tgamma_test): Add more tests.
14915 * sysdeps/i386/fpu/libm-test-ulps: Update.
14916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14918 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14920 * benchtests/bench-skeleton.c (main): Preheat CPU.
14922 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14924 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14926 2013-05-07 Roland McGrath <roland@hack.frob.com>
14928 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14929 and _dl_skip_args_internal.
14931 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14933 * manual/message.texi (Message Translation): Talk about users.
14934 Message to key mapping impacts design.
14936 2013-05-06 Roland McGrath <roland@hack.frob.com>
14938 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14940 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14942 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14943 * sysdeps/wordsize-64/glob64.c: ... here.
14945 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14946 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14949 * debug/getlogin_r_chk.c: Moved to ...
14950 * login/getlogin_r_chk.c: ... here.
14951 * debug/Makefile (routines): Move getlogin_r_chk to ...
14952 * login/Makefile (routines): ... here.
14953 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14954 * login/Versions (libc: GLIBC_2.4): ... here.
14956 * io/poll.c (__poll): Renamed from poll.
14957 Add libc_hidden_def.
14958 (poll): Define as weak alias.
14960 * debug/ptsname_r_chk.c: Moved to ...
14961 * login/ptsname_r_chk.c: ... here.
14962 * debug/Makefile (routines): Move ptsname_r_chk to ...
14963 * login/Makefile (routines): ... here.
14964 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14965 * login/Versions (libc: GLIBC_2.4): ... here.
14967 * posix/getlogin.c: Moved to ...
14968 * login/getlogin.c: ... here.
14969 * posix/getlogin_r.c: Moved to ...
14970 * login/getlogin_r.c: ... here.
14971 * posix/getlogin_r.c: Moved to ...
14972 * login/getlogin_r.c: ... here.
14973 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14974 * login/Makefile (routines): ... here.
14975 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14976 * login/Versions (libc: GLIBC_2.0): ... here.
14978 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14979 (setrlimit): Define as weak alias.
14981 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14982 Call __ names for open, ftruncate, and close.
14983 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14984 (truncate): Define as weak alias.
14986 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14988 * math/gen-libm-test.pl (parse_args): Initialize x before each
14989 test of frexp, modf and remquo.
14991 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14992 test signgam value.
14994 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14998 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15000 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15002 2013-05-06 Roland McGrath <roland@hack.frob.com>
15004 * elf/dl-writev.h: New file.
15005 * elf/dl-misc.c: Include it.
15006 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15007 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15009 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15011 * math/libm-test.inc (noXFails): Remove variable.
15012 (noXPasses): Likewise.
15013 (BUILD_COMPLEX_INT): Remove macro.
15014 (print_screen): Remove xfail argument.
15015 (print_screen_max_error): Likewise.
15016 (update_stats): Likewise.
15017 (print_max_error): Likewise. Update calls to other affected
15019 (print_complex_max_error): Likewise.
15020 (test_single_exception): Update calls to print_screen.
15021 (test_single_errno): Likewise.
15022 (check_float_internal): Remove xfail argument. Update calls to
15023 other affected functions.
15024 (check_float): Likewise.
15025 (check_complex): Likewise.
15026 (check_int): Likewise.
15027 (check_long): Likewise.
15028 (check_bool): Likewise.
15029 (check_longlong): Likewise.
15030 (main): Don't print noXFails and noXPasses.
15031 * math/gen-libm-test.pl (top level): Don't mention expected
15032 failure handling in comment.
15033 (new_test): Don't handle expected failures.
15034 (parse_args): Don't mention expected failure handling in comment.
15035 (generate_testfile): Don't handle expected failures.
15036 (parse_ulps): Likewise.
15037 (print_ulps_file): Likewise.
15038 (get_failure): Remove function.
15039 (output_test): Don't handle expected failures.
15040 * make/README.libm-test: Don't mention expected failure handling.
15042 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15043 (minus_zero): Likewise.
15044 (plus_infty): Likewise.
15045 (minus_infty): Likewise.
15046 (qnan_value): Likewise.
15047 (max_value): Likewise.
15048 (min_value): Likewise.
15049 (min_subnorm_value): Likewise.
15050 (initialize): Do not initialize those variables dynamically.
15052 2013-05-03 Roland McGrath <roland@hack.frob.com>
15054 * io/open.c (__open_2): Moved to ...
15055 * io/open_2.c: ... this new file.
15056 * io/open64.c (__open64_2): Moved to ...
15057 * io/open64_2.c: ... this new file.
15058 * io/openat.c (__openat_2): Moved to ...
15059 * io/openat_2.c: ... this new file.
15060 * io/openat64.c (__openat64_2): Moved to ...
15061 * io/openat64_2.c: ... this new file.
15062 * io/Makefile (routines): Add them.
15063 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15064 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15065 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15066 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15067 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15068 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15069 (__openat64): Add hidden_ver.
15070 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15071 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15073 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15074 Separately conditionalize setting of GLRO(dl_sysinfo) so
15075 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15076 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15078 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15080 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15081 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15083 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15084 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15085 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15086 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15087 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15089 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15091 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15092 test signgam value.
15094 * math/libm-test.inc (hypot_test): Do not use
15095 IGNORE_ZERO_INF_SIGN.
15097 2013-05-03 Andreas Jaeger <aj@suse.de>
15099 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15101 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15102 (PF_MAX): Adjust for VSOCK change.
15104 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15108 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15111 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15112 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15113 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15115 2013-05-02 David S. Miller <davem@davemloft.net>
15117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15119 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15121 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15123 2013-05-01 Roland McGrath <roland@hack.frob.com>
15125 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15127 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15130 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15131 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15132 Use __attribute__ ((__gnu_inline__)).
15133 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15134 Don't use __attribute__ ((__gnu_inline__)).
15136 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15139 * math/s_catan.c (__catan): Handle small real or imaginary part of
15140 input specially to avoid spurious underflow.
15141 * math/s_catanf.c (__catanf): Likewise.
15142 * math/s_catanh.c (__catanh): Likewise.
15143 * math/s_catanhf.c (__catanhf): Likewise.
15144 * math/s_catanhl.c (__catanhl): Likewise.
15145 * math/s_catanl.c (__catanl): Likewise.
15146 * math/libm-test.inc (catan_test): Add more tests.
15147 (catanh_test): Likewise.
15148 * sysdeps/i386/fpu/libm-test-ulps: Update.
15149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15151 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15155 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15158 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15159 accurately for denominator in atan2.
15160 * math/s_catanf.c (__catanf): Likewise.
15161 * math/s_catanh.c (__catanh): Likewise.
15162 * math/s_catanhf.c (__catanhf): Likewise.
15163 * math/s_catanhl.c (__catanhl): Likewise.
15164 * math/s_catanl.c (__catanl): Likewise.
15165 * math/libm-test.inc (catan_test): Add more tests.
15166 (catanh_test): Likewise.
15167 * sysdeps/i386/fpu/libm-test-ulps: Update.
15168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15170 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15172 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15174 * benchtests/Makefile (bench): Remove slow benchmarks.
15175 * benchtests/atan-inputs: Add slow benchmark inputs.
15176 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15177 (BENCH_FUNC): Accept variant offset.
15179 * benchtests/bench-skeleton.c (main): Run benchmark for each
15181 * benchtests/cos-inputs: Add slow benchmark inputs.
15182 * benchtests/exp-inputs: Likewise.
15183 * benchtests/pow-inputs: Likewise.
15184 * benchtests/sin-inputs: Likewise.
15185 * benchtests/slowatan-inputs: Remove.
15186 * benchtests/slowatan.c: Remove.
15187 * benchtests/slowcos-inputs: Remove.
15188 * benchtests/slowcos.c: Remove.
15189 * benchtests/slowexp-inputs: Remove.
15190 * benchtests/slowexp.c: Remove.
15191 * benchtests/slowpow-inputs: Remove.
15192 * benchtests/slowpow.c: Remove.
15193 * benchtests/slowsin-inputs: Remove.
15194 * benchtests/slowsin.c: Remove.
15195 * benchtests/slowtan-inputs: Remove.
15196 * benchtests/slowtan.c: Remove.
15197 * benchtests/tan-inputs: Add slow benchmark inputs.
15198 * scripts/bench.pl: Parse comments and directives.
15200 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15202 ($(objpfx)bench-%.c): Remove *-ITER.
15203 * benchtests/bench-modf.c: Remove definition of ITER.
15204 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15205 (main): Loop for DURATION seconds instead of fixed number of
15207 * scripts/bench.pl: Don't expect iterations in parameters.
15209 2013-04-29 Roland McGrath <roland@hack.frob.com>
15211 * io/fchdir.c (__fchdir): Renamed from fchdir.
15212 (fchdir): Define as weak alias.
15214 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15216 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15217 (ERRNO_EDOM): Likewise.
15218 (ERRNO_ERANGE): Likewise.
15219 (noErrnoTests): New variable.
15220 (init_max_error): Set errno to 0.
15221 (test_single_errno): New function.
15222 (test_errno): Likewise.
15223 (check_float_internal): Call test_errno. Set errno to 0.
15224 (check_complex): Refer to errno tests in comment.
15225 (check_int): Call test_errno. Set errno to 0.
15226 (check_long): Likewise.
15227 (check_bool): Likewise.
15228 (check_longlong): Likewise.
15229 (cos_test): Use ERRNO_* flags for errno tests instead of
15231 (expm1_test): Likewise.
15232 (fmod_test): Likewise.
15233 (ilogb_test): Likewise.
15234 (lgamma_test): Likewise.
15235 (pow_test): Likewise.
15236 (remainder_test): Likewise.
15237 (sin_test): Likewise.
15238 (tan_test): Likewise.
15239 (yn_test): Likewise.
15240 (initialize): Set errno to 0.
15241 (main): Print number of errno tests.
15242 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15244 2013-04-29 Andreas Jaeger <aj@suse.de>
15247 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15251 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15252 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15256 * stdlib/random.c (__initstate): Return NULL if
15260 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15261 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15264 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15268 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15270 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15271 of individual tests.
15272 (casin_test): Likewise.
15273 (casinh_test): Likewise.
15275 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15278 * math/s_catan.c (__catan): Handle arguments with large real or
15279 imaginary part separately without squaring.
15280 * math/s_catanf.c (__catanf): Likewise.
15281 * math/s_catanh.c (__catanh): Likewise.
15282 * math/s_catanhf.c (__catanhf): Likewise.
15283 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15285 (__catanhl): Handle arguments with large real or imaginary part
15286 separately without squaring.
15287 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15289 (__catanl): Handle arguments with large real or imaginary part
15290 separately without squaring.
15291 * math/libm-test.inc (catan_test): Add more tests.
15292 (catanh_test): Likewise.
15293 * sysdeps/i386/fpu/libm-test-ulps: Update.
15294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15296 2013-04-27 Andreas Jaeger <aj@suse.de>
15299 * stdlib/stdlib.h: Update guards for qecvt.
15300 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15303 2013-04-27 Allan McRae <allan@archlinux.org>
15305 * sysdeps/i386/fpu/libm-test-ulps: Update.
15307 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15310 * math/s_catan.c: Include <float.h>.
15311 (__catan): Ensure underflow exception occurs for underflowed
15313 * math/s_catanf.c: Include <float.h>.
15314 (__catanf): Ensure underflow exception occurs for underflowed
15316 * math/s_catanh.c: Include <float.h>.
15317 (__catanh): Ensure underflow exception occurs for underflowed
15319 * math/s_catanhf.c: Include <float.h>.
15320 (__catanhf): Ensure underflow exception occurs for underflowed
15322 * math/s_catanhl.c: Include <float.h>.
15323 (__catanhl): Ensure underflow exception occurs for underflowed
15325 * math/s_catanl.c: Include <float.h>.
15326 (__catanl): Ensure underflow exception occurs for underflowed
15328 * math/libm-test.inc (catan_test): Add more tests.
15329 (catanh_test): Likewise.
15332 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15333 underflowed result.
15334 * math/s_ccoshf.c (__ccoshf): Likewise.
15335 * math/s_ccoshl.c (__ccoshl): Likewise.
15336 * math/s_csin.c (__csin): Likewise.
15337 * math/s_csinf.c (__csinf): Likewise.
15338 * math/s_csinh.c (__csinh): Likewise.
15339 * math/s_csinhf.c (__csinhf): Likewise.
15340 * math/s_csinhl.c (__csinhl): Likewise.
15341 * math/s_csinl.c (__csinl): Likewise.
15342 * math/libm-test.inc (ccos_test): Add more tests.
15343 (ccosh_test): Likewise.
15344 (csin_test): Likewise.
15345 (csinh_test): Likewise.
15347 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15349 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15350 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15351 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15352 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15353 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15354 powerpc/power5+/fpu folders.
15355 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15358 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15362 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15364 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15365 additions to variable.
15366 [$(config-machine) = x86_64] (modules-names): Likewise.
15367 ($(objpfx)tst-audit3): Remove dependency.
15368 ($(objpfx)tst-audit3.out): Likewise.
15369 ($(objpfx)tst-audit4): Likewise.
15370 ($(objpfx)tst-audit4.out): Likewise.
15371 ($(objpfx)tst-audit5): Likewise.
15372 ($(objpfx)tst-audit5.out): Likewise.
15373 ($(objpfx)tst-audit6): Likewise.
15374 ($(objpfx)tst-audit6.out): Likewise.
15375 ($(objpfx)tst-audit7): Likewise.
15376 ($(objpfx)tst-audit7.out): Likewise.
15377 (tst-audit3-ENV): Remove variable.
15378 (tst-audit4-ENV): Likewise.
15379 (tst-audit5-ENV): Likewise.
15380 (tst-audit6-ENV): Likewise.
15381 (tst-audit7-ENV): Likewise.
15382 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15383 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15384 addition to variable.
15385 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15386 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15387 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15388 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15389 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15390 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15391 tst-audit3, tst-audit4 and tst-audit5.
15392 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15393 tst-audit6 and tst-audit7.
15394 [$(subdir) = elf] (modules-names): Add audit modules for those
15396 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15397 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15398 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15399 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15400 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15401 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15402 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15403 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15404 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15405 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15406 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15407 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15408 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15409 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15410 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15411 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15413 [$(subdir) = elf && $(config-cflags-avx) = yes]
15414 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15415 [$(subdir) = elf && $(config-cflags-avx) = yes]
15416 (CFLAGS-tst-auditmod4a.c): Likewise.
15417 [$(subdir) = elf && $(config-cflags-avx) = yes]
15418 (CFLAGS-tst-auditmod4b.c): Likewise.
15419 [$(subdir) = elf && $(config-cflags-avx) = yes]
15420 (CFLAGS-tst-auditmod6b.c): Likewise.
15421 [$(subdir) = elf && $(config-cflags-avx) = yes]
15422 (CFLAGS-tst-auditmod6c.c): Likewise.
15423 [$(subdir) = elf && $(config-cflags-avx) = yes]
15424 (CFLAGS-tst-auditmod7b.c): Likewise.
15425 * elf/tst-audit3.c: Move to ...
15426 * sysdeps/x86_64/tst-audit3.c: ... here.
15427 * elf/tst-audit4.c: Move to ...
15428 * sysdeps/x86_64/tst-audit4.c: ... here.
15429 * elf/tst-audit5.c: Move to ...
15430 * sysdeps/x86_64/tst-audit5.c: ... here.
15431 * elf/tst-audit6.c: Move to ...
15432 * sysdeps/x86_64/tst-audit6.c: ... here.
15433 * elf/tst-audit7.c: Move to ...
15434 * sysdeps/x86_64/tst-audit7.c: ... here.
15435 * elf/tst-auditmod3a.c: Move to ...
15436 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15437 * elf/tst-auditmod3b.c: Move to ...
15438 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15439 * elf/tst-auditmod4a.c: Move to ...
15440 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15441 * elf/tst-auditmod4b.c: Move to ...
15442 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15443 * elf/tst-auditmod5a.c: Move to ...
15444 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15445 * elf/tst-auditmod5b.c: Move to ...
15446 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15447 * elf/tst-auditmod6a.c: Move to ...
15448 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15449 * elf/tst-auditmod6b.c: Move to ...
15450 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15451 * elf/tst-auditmod6c.c: Move to ...
15452 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15453 * elf/tst-auditmod7a.c: Move to ...
15454 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15455 * elf/tst-auditmod7b.c: Move to ...
15456 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15458 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15461 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15462 define unconditionally.
15463 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15464 define unconditionally.
15465 (INT8_C, INT16_C, etc.): Likewise.
15467 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15469 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15470 __ehdr_start with hidden visibility.
15472 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15474 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15476 * math/libm-test.inc (cos_test): Use accurate hex constants.
15477 (sincost_test): Likewise.
15479 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15481 * math/libm-test.inc (catan_test): Add more tests.
15482 (catanh_test): Likewise.
15484 * math/s_catanf.c (__catanf): Use suffixed floating-point
15486 * math/s_catanhf.c (__catanhf): Likewise.
15487 * math/s_catanhl.c (__catanhl): Likewise.
15488 * math/s_catanl.c (__catanl): Likewise.
15491 * math/s_catan.c (__catan): Calculate imaginary part of result
15492 with log1p not log unless computing log of number close to 0.
15493 * math/s_catanf.c (__catanf): Likewise.
15494 * math/s_catanl.c (__catanl): Likewise.
15495 * math/s_catanh.c (__catanh): Calculate real part of result with
15496 log1p not log unless computing log of number close to 0.
15497 * math/s_catanhf.c (__catanhf): Likewise.
15498 * math/s_catanhl.c (__catanhl): Likewise.
15499 * math/libm-test.inc (catan_test): Add more tests.
15500 (catanh_test): Likewise.
15501 * sysdeps/i386/fpu/libm-test-ulps: Update.
15502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15504 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15506 * benchtests/Makefile: Mention files in which fast and slow
15507 paths of math functions are implemented.
15509 2013-04-23 Roland McGrath <roland@hack.frob.com>
15511 * sysdeps/posix/timespec_get.c: New file.
15513 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15515 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15517 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15519 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15520 powerpc/power5/fpu folders.
15521 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15522 * benchtests/Makefile: Add modf testcase.
15523 * benchtests/bench-modf.c: New file: Benchmark test for mo
15525 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15528 * time/Makefile (tests): Add tst-strptime-whitespace.
15529 * time/strptime_l.c (get_number): Use ISSPACE.
15530 (__strptime_internal): Likewise.
15531 * time/tst-strptime-whitespace.c: New test case.
15533 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15535 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15537 (_nss_files_init): Set it here.
15539 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15541 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15542 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15545 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15547 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15549 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15551 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15554 2013-04-21 David S. Miller <davem@davemloft.net>
15556 * po/ru.po: Update Russion translation from translation project.
15558 2013-04-17 Adam Conrad <adconrad@0c3.net>
15560 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15563 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15565 * configure.in: Remove i386 configure warning. Remove i386 case.
15566 * configure: Regenerate.
15567 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15568 Add example to error message.
15569 * sysdeps/i386/configure: Regenerate.
15571 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15573 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15575 * benchtests/cos-inputs: New file.
15576 * benchtests/slowcos-inputs: New file.
15577 * benchtests/slowcos.c: New file.
15578 * benchtests/slowtan-inputs: New file.
15579 * benchtests/slowtan.c: New file.
15580 * benchtests/tan-inputs: New file.
15582 2013-04-16 Roland McGrath <roland@hack.frob.com>
15584 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15587 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15589 * benchtests/Makefile: Include cppflags-iterator.mk to add
15590 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15592 * Makefile.in (bench-clean): New target.
15593 * benchtests/Makefile (bench-clean): Likewise.
15595 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15597 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15599 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15601 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15603 2013-04-15 Andreas Schwab <schwab@suse.de>
15605 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15606 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15607 * nscd/pwdcache.c (cache_addpw): Likewise.
15608 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15611 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15613 * benchtests/Makefile (bench): Write all output to
15614 bench-out.tmp together.
15616 2013-04-15 Andreas Schwab <schwab@suse.de>
15618 * nscd/nscd.c (main): Don't fork again after closing files.
15620 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15622 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15624 * benchtests/Rules (bench-deps): Collect dependencies into a
15625 single variable. Add Makefile to dependencies.
15626 ($(objpfx)bench-%.c): Depend on bench-deps.
15628 2013-04-12 Roland McGrath <roland@hack.frob.com>
15629 Xavier Roche <roche+kml2@exalead.com>
15632 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15633 just that it's a file descriptor.
15634 * manual/llio.texi (Synchronizing AIO Operations): Update description
15635 for EBADF error from aio_fsync.
15637 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15639 * Rules (bench): Move target definition...
15640 * benchtests/Makefile: ... here.
15642 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15644 * math/libm-test.inc (cos_test): Fix PI/2 test.
15645 (sincos_test): Likewise.
15646 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15647 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15649 2013-04-11 Andreas Schwab <schwab@suse.de>
15652 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15653 accept exponent character only when digits were seen.
15654 * stdio-common/Makefile (tests): Add bug26.
15655 * stdio-common/bug26.c: New file.
15658 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15661 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15663 * Makeconfig (rtld-prefix): Define built linker prefix.
15664 * Rules (run-bench): Use it.
15665 * math/Makefile (run-regen-ulps): Likewise.
15667 * Rules (bench): Remove eval.
15669 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15670 Roland McGrath <roland@hack.frob.com>
15671 Ondrej Bilka <neleai@seznam.cz>
15674 * time/getdate.c: Include ctype.h and alloca.h.
15675 (__getdate_r): Trim leading and trailing spaces of input.
15676 * time/tst-getdate.c (tests): Add tests with leading and
15679 2013-04-08 Roland McGrath <roland@hack.frob.com>
15682 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15683 when computing value.
15685 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15687 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15688 Use testrun.sh to run libm tests.
15691 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15693 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15696 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15698 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15700 * Makefile.in (regen-ulps): New target.
15701 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15702 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15703 [ifneq (no,$(PERL)] (regen-ulps): New target.
15704 [ifeq (no,$(PERL)] (regen-ulps): New target.
15705 * math/libm-test.inc (ulps_file_name): Define.
15706 (output_dir): New variable.
15707 (options): Add "output-dir" option.
15708 (parse_opt): Handle 'o' case.
15709 (main): If output_dir is non-NULL use it as a prefix
15711 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15713 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15715 [BZ #10060, #10062]
15716 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15717 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15718 fail configure if __sync_val_compare_and_swap is not inlined.
15719 * sysdeps/i386/configure: Regenerate.
15720 * configure.in: Build for i686 when configured for i386.
15721 * configure: Regenerate.
15722 * README: Remove i386 reference.
15724 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15726 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15727 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15729 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15731 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15732 (lmsnanval): New variables.
15733 (F): Add conversion tests.
15734 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15735 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15737 * stdio-common/tstdiomisc.c (F): Properly collect individual
15740 [BZ #14686, #15336]
15741 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15742 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15743 Instead, use input NaN values or generate a qNaN by arithmetic
15744 operation. Also fix bugs to comply with the standard.
15745 * math/libm-test.inc (remainder_test): Add more tests.
15747 [BZ #15335, #15342]
15748 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15749 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15750 input NaN values or generate a qNaN by arithmetic operation.
15752 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15755 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15758 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15761 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15762 underflowed result.
15763 * math/s_cexpf.c (__cexpf): Likewise.
15764 * math/s_cexpl.c (__cexpl): Likewise.
15765 * math/libm-test.inc (cexp_test): Add more tests.
15767 2013-04-03 Andreas Schwab <schwab@suse.de>
15770 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15771 order arrays from heap if bigger than alloca cutoff.
15773 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15775 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15776 (SNAN_TESTS_double): Refer to GCC PR56831.
15777 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15780 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15782 * Rules (bench): Move bench.out after the run is complete.
15784 * Rules (bench): Echo currently running benchmark.
15786 * benchtests/Makefile (bench): Add atan and slowatan.
15787 * benchtests/atan-inputs: New file.
15788 * benchtests/slowatan-inputs: New file.
15789 * benchtests/slowatan.c: New file.
15791 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15792 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15796 * sysdeps/unix/sysv/linux/kernel-features.h
15797 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15798 __ASSUME_XFS_RESTRICTED_CHOWN.
15799 * sysdeps/unix/sysv/linux/pathconf.c
15800 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15801 Save and restore errno.
15803 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15806 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15807 arguments using __kernel_casinh.
15808 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15809 arguments using __kernel_casinhf.
15810 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15811 arguments using __kernel_casinhl.
15812 * math/libm-test.inc (cacosh_test): Add more tests.
15813 * sysdeps/i386/fpu/libm-test-ulps: Update.
15814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15816 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15818 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15819 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15821 * bench/Makefile (bench): Add sin and slowsin.
15822 * benchtests/sin-inputs: New file.
15823 * benchtests/slowsin-inputs: New file.
15824 * benchtests/slowsin.c: New file.
15826 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15827 (bench): Add slowexp and slowpow.
15828 (exp-ITER): Increase iterations.
15829 (pow-ITER): Likewise.
15830 * benchtests/exp-inputs: Change input.
15831 * benchtests/pow-inputs: Likewise.
15832 * benchtests/slowexp-inputs: New file.
15833 * benchtests/slowexp.c: New file.
15834 * benchtests/slowpow-inputs: New file.
15835 * benchtests/slowpow.c: New file.
15837 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15839 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15841 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15842 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15843 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15844 * benchtests/Makefile: Add rint benchtest.
15845 * benchtests/rint-inputs: Input for rint benchtest.
15847 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15849 * Versions.def (libm): Add GLIBC_2.18.
15850 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15851 hidden libm prototypes.
15852 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15853 * math/Makefile (libm-calls): Add s_issignaling.
15854 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15855 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15856 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15858 * math/math.h [__USE_GNU] (issignaling): New macro.
15859 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15860 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15861 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15862 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15863 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15864 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15865 * manual/arith.texi (issignaling): New section.
15866 * manual/libm-err-tab.pl (@all_functions): Update comment.
15867 * math/gen-libm-test.pl (parse_args): Apply special handling for
15869 * math/libm-test.inc (print_float, issignaling_test): New
15871 (check_float_internal): Add issignaling checks.
15872 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15873 default definition.
15874 * sysdeps/powerpc/math-tests.h: New file.
15875 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15877 * math/test-snan.c (TEST_FUNC): Likewise.
15879 2013-03-30 David S. Miller <davem@davemloft.net>
15881 * po/de.po: Update from translation team.
15883 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15886 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15887 imaginary part less than 1.0 and real part less than 0.5
15889 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15890 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15891 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15892 (cacos_test): Add more tests.
15893 (casin_test): Likewise.
15894 (casinh_test): Likewise.
15895 * sysdeps/i386/fpu/libm-test-ulps: Update.
15896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15898 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15900 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15901 ONE with its value.
15903 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15904 (__pow_mp): Replace ONE and MONE with their values.
15905 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15906 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15907 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15908 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15909 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15910 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15912 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15914 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15915 (__pow_mp): Replace ZERO and MZERO with their values.
15916 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15917 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15918 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15919 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15920 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15921 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15924 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15926 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15928 2013-03-28 Roland McGrath <roland@hack.frob.com>
15930 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15931 Declare with __attribute__ ((weak)).
15932 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15933 Call __call_tls_dtors only if it's not NULL.
15935 2013-03-28 Roland McGrath <roland@hack.frob.com>
15937 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15938 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15939 magic __ehdr_start linker symbol if it's defined.
15940 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15941 them up here if it was already done.
15943 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15944 (_dl_aux_init): Use const in cast when setting it.
15945 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15946 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15947 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15949 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15951 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15952 * csu/libc-tls.c: Nor here.
15953 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15955 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15956 (__libc_message): Never call vsyslog.
15958 2013-03-28 Alan Modra <amodra@gmail.com>
15960 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15962 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15965 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15968 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15972 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15975 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15976 Don't add gid passed as argument.
15978 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15980 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15983 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15984 imaginary part between 1.0 and 1.5 and real part less than 0.5
15986 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15987 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15988 * math/libm-test.inc (cacos_test): Add more tests.
15989 (casin_test): Likewise.
15990 (casinh_test): Likewise.
15991 * sysdeps/i386/fpu/libm-test-ulps: Update.
15992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15994 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15996 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15999 (denorm): Likewise.
16000 (__dbl_mp): Likewise.
16001 (add_magnitudes): Likewise.
16002 (sub_magnitudes): Likewise.
16010 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16012 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16013 (__dubcos): Likewise.
16014 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16015 (__ieee754_acos): Likewise.
16016 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16017 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16018 (__exp1): Likewise.
16019 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16020 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16022 (my_log2): Likewise.
16023 (checkint): Likewise.
16024 * sysdeps/ieee754/dbl-64/e_remainder.c
16025 (__ieee754_remainder): Likewise.
16026 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16027 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16028 (bsloww): Likewise.
16029 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16031 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16032 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16033 MANTISSA_STORE_T to store computations on mantissa. Use
16034 macros for rounding and division.
16035 (denorm): Likewise.
16036 (__dbl_mp): Likewise.
16037 (add_magnitudes): Likewise.
16038 (sub_magnitudes): Likewise.
16041 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16042 powers of two in terms of TWOPOW macro.
16043 (mp_no): Make type of mantissa as MANTISSA_T.
16044 [!RADIXI]: Define RADIXI.
16045 [!TWO52]: Define TWO52.
16046 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16048 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16050 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16051 llroundl symbol when building for PPC32.
16053 2013-03-24 Mark H Weaver <mhw@netris.org>
16055 * manual/arith.texi (Normalization Functions): Fix prototypes for
16056 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16058 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16061 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16062 high value to check if expl overflow.
16063 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16064 to check for underflow and overflow.
16065 * math/libm-test.inc: Add exp test.
16067 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16070 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16073 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16075 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16078 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16080 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16081 wrap blocks consisting of several statements.
16083 * sysdeps/generic/math-tests.h: New file.
16084 * sysdeps/i386/fpu/math-tests.h: Likewise.
16085 * math/test-snan.c: Include it.
16086 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16088 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16091 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16092 (__ieee754_j0l): Do not improve calculations using cos of twice
16093 input for inputs above LDBL_MAX / 2.0L.
16094 (__ieee754_y0l): Likewise.
16095 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16096 (__ieee754_j1l): Do not improve calculations using cos of twice
16097 input for inputs above LDBL_MAX / 2.0L.
16098 (__ieee754_y1l): Likewise.
16099 * math/libm-test.inc (j0_test): Add another test.
16100 (j1_test): Likewise.
16101 (y0_test): Likewise.
16102 (y1_test): Likewise.
16103 * sysdeps/i386/fpu/libm-test-ulps: Update.
16105 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16107 * Rules ($(objpfx)bench-%.c): Include code from a C source
16110 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16113 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16114 imaginary part 1.0 and real part less than 0.5 specially.
16115 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16116 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16117 * math/libm-test.inc (cacos_test): Add more tests.
16118 (casin_test): Likewise.
16119 (casinh_test): Likewise.
16120 * sysdeps/i386/fpu/libm-test-ulps: Update.
16121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16123 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16125 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16126 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16128 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16130 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16131 * config.make.in (config-cflags-sse4): Remove variable.
16132 (config-cflags-avx): Likewise.
16133 (config-cflags-sse2avx): Likewise.
16134 (config-cflags-novzeroupper): Likewise.
16135 (config-asflags-i686): Likewise.
16136 (have-mfma4): Likewise.
16137 (have-as-vis3): Likewise.
16139 * configure.in (MIG): Do not AC_SUBST.
16140 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16141 (libc_cv_cc_sse4): Do not AC_SUBST.
16142 (libc_cv_cc_avx): Likewise.
16143 (libc_cv_cc_sse2avx): Likewise.
16144 (libc_cv_cc_novzeroupper): Likewise.
16145 (libc_cv_cc_fma4): Likewise.
16146 (libc_cv_as_i686): Likewise.
16147 (libc_cv_sparc_as_vis3): Likewise.
16148 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16150 (config-asflags-i686): Likewise.
16151 (config-cflags-avx): Likewise.
16152 (config-cflags-sse2avx): Likewise.
16153 (have-mfma4): Likewise.
16154 (config-cflags-novzeroupper): Likewise.
16155 * sysdeps/mach/configure.in (MIG): Likewise.
16156 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16157 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16159 (config-cflags-avx): Likewise.
16160 (config-cflags-sse2avx): Likewise.
16161 (have-mfma4): Likewise.
16162 (config-cflags-novzeroupper): Likewise.
16163 * configure: Regenerated.
16164 * sysdeps/i386/configure: Likewise.
16165 * sysdeps/mach/configure: Likewise.
16166 * sysdeps/sparc/configure: Likewise.
16167 * sysdeps/x86_64/configure: Likewise.
16169 2013-03-20 Roland McGrath <roland@hack.frob.com>
16172 * locale/programs/localedef.c (options): Put N_ translation marker
16173 on argument names, not just descriptions.
16175 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16177 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16179 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16182 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16184 2013-03-19 Roland McGrath <roland@hack.frob.com>
16186 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16187 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16188 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16189 [!BEFORE_ABORT] (before_abort): New function.
16190 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16191 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16192 (writev_for_fatal): New function.
16193 (WRITEV_FOR_FATAL): New macro; call that.
16194 (backtrace_and_maps): New function.
16195 (BEFORE_ABORT): New macro; call that.
16196 (struct str_list): Type removed.
16197 (__libc_message, __libc_fatal): Functions removed.
16198 Include <sysdeps/posix/libc_fatal.c> instead.
16200 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16202 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16204 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16207 2013-03-19 Andreas Schwab <schwab@suse.de>
16209 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16210 * sysdeps/gnu/configure: Regenerate.
16212 * configure.in: Substitute libc_cv_rtlddir.
16213 * configure: Regenerate.
16214 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16215 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16216 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16217 * elf/Makefile (install-others, CFLAGS-interp.c)
16218 (ldso_install, common-ldd-rewrite): Likewise.
16219 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16220 $(inst_slibdir)/$(rtld-installed-name).
16221 * scripts/rellns-sh: Add -p option.
16222 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16225 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16227 * manual/nptl.texi: Renamed to ...
16228 * manual/threads.texi: ... this.
16229 * manual/Makefile (chapters): Update.
16231 2013-03-18 Roland McGrath <roland@hack.frob.com>
16234 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16235 on argument names, not just descriptions.
16236 * malloc/memusagestat.c (options): Likewise.
16237 * nss/getent.c (options): Likewise.
16239 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16242 * iconv/iconv_prog.c (options): Put N_ translation marker
16243 on argument names, not just descriptions.
16244 * iconv/iconvconfig.c (options): Likewise.
16246 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16248 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16249 implementation which is faster on all x86_64 architectures.
16250 Tested on AMD, Intel Nehalem, SNB, IVB.
16251 * sysdeps/x86_64/strnlen.S: Likewise.
16253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16254 Remove all multiarch strlen and strnlen versions.
16255 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16256 Remove strlen and strnlen related parts.
16258 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16259 Inline strlen part.
16260 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16262 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16263 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16264 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16265 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16266 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16267 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16269 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16271 * manual/memory.texi (Malloc Tunable Parameters):
16272 Sort parameters alphabetically. Add comments for missing entries.
16274 2013-03-17 David S. Miller <davem@davemloft.net>
16276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16278 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16281 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16282 for arguments at most half maximum finite value.
16283 * math/libm-test.inc (j0_test): Add more tests.
16284 (j1_test): Likewise.
16285 (y0_test): Likewise.
16286 (y1_test): Likewise.
16287 * sysdeps/i386/fpu/libm-test-ulps: Update.
16288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16291 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16292 1 / x and functions P and Q for arguments above 0x1p256L.
16293 (__ieee754_y0l): Likewise.
16294 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16295 (__ieee754_y1l): Likewise.
16296 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16297 (j1_test): Likewise.
16298 (y0_test): Likewise.
16299 (y1_test): Likewise.
16301 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16303 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16306 2013-03-15 Roland McGrath <roland@hack.frob.com>
16308 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16309 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16310 zero since it's initialized to EXEC_PAGESIZE.
16312 * sysdeps/unix/sysv/linux/ldsodefs.h
16313 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16314 * sysdeps/generic/ldsodefs.h: ... here.
16316 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16318 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16320 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16322 * math/test-snan.c: Renamed from
16323 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16324 * math/Makefile (tests): Add test-snan.
16325 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16328 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16329 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16331 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16332 __builtin_nan family of functions.
16333 * math/libm-test.inc (initialize): Initialize qnan_value with
16334 __builtin_nan family of functions.
16335 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16337 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16339 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16340 storage class. Initialize qNaN_var and sNaN_var with
16341 __builtin_nan and __builtin_nans families of functions,
16344 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16345 (sqrt_test): Remove duplicate test with qNaN input.
16346 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16347 (round_test, signbit_test, significand_test): Note missing +/-Inf
16348 as well as qNaN tests.
16350 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16351 qNaN_var. Fix a few strings, too.
16352 * math/libm-test.inc (nan_value): Rename to qnan_value.
16353 * math/gen-libm-test.pl (%beautify): Adjust to that.
16354 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16355 * math/test-misc.c (main): Likewise.
16356 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16357 to __qnan_bytes, and __qnan_union, respectively.
16358 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16360 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16361 and lqnanval, respectively.
16362 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16363 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16364 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16365 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16367 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16368 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16371 * math/test-misc.c (main): Fix copy'n'pastos.
16372 * misc/tst-efgcvt.c (special): Likewise.
16374 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16375 Remove declarations.
16377 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16379 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16380 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16381 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16382 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16384 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16386 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16387 macro to return vdso values correctly in IFUNC implementations.
16388 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16389 Optimization by using IFUNC.
16391 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16392 Richard Henderson <rth@redhat.com>
16393 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16395 * Makefile.in (bench): New target.
16396 * NEWS: Mention the benchmark framework.
16397 * Rules (bench): Likewise.
16398 (binaries-bench): Generate binaries for functions to
16400 * benchtests/Makefile: New makefile for benchmark tests.
16401 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16403 * benchtests/exp-inputs: New input file for EXP function.
16404 * benchtests/pow-inputs: New input file for POW function.
16405 * scripts/bench.pl: New script to generate source files for
16406 benchmark programs.
16408 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16410 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16411 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16412 computations on mantissa. Use macros for rounding and
16414 (denorm): Likewise.
16415 (__dbl_mp): Likewise.
16416 (add_magnitudes): Likewise.
16417 (sub_magnitudes): Likewise.
16420 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16421 powers of two in terms of TWOPOW macro.
16422 (mp_no): Make type of mantissa as MANTISSA_T.
16423 [!RADIXI]: Define RADIXI.
16424 [!TWO52]: Define TWO52.
16425 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16427 * manual/nptl.texi (cindex): Modify threads to pthreads.
16429 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16431 * sysdeps/x86_64/preconfigure: Regenerated.
16433 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16436 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16438 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16439 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16441 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16442 * math/libm-test.inc (j0_test): Do not allow one spurious
16443 underflow exception.
16444 (y1_test): Likewise.
16446 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16448 * manual/Makefile (chapters): Add nptl.
16449 * manual/debug.texi (Debugging Support): Add link to Threads
16451 * manual/nptl.texi: New file.
16453 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16455 2013-03-14 Petr Baudis <pasky@ucw.cz>
16457 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16458 for non-NULL pointer before the memory validity test. Pointed
16459 out by Holger Brunck <holger.brunck@keymile.com>.
16461 2013-03-13 Andreas Schwab <schwab@suse.de>
16463 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16466 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16468 * timezone/zic.c: Update from tzcode 2013b.
16470 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16472 * manual/install.texi (Configuring and compiling):
16473 Mention i686 and i586.
16474 * INSTALL: Regenerate.
16476 2013-03-12 Roland McGrath <roland@hack.frob.com>
16478 * sysdeps/init_array/elf-init.c: New file.
16480 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16481 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16483 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16484 __gmon_start__ as global, but as static with a .preinit_array pointer.
16485 * sysdeps/init_array/gmon-start.c: New file. Use that.
16486 * sysdeps/init_array/crti.S: New file, empty except for comments.
16487 * sysdeps/init_array/crtn.S: Likewise.
16489 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16491 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16494 Remove Prefer_SSE_for_memop.
16495 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16496 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16497 HAS_PREFER_SSE_FOR_MEMOP.
16498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16500 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16501 Remove bzero, memset ifunc support.
16502 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16503 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16504 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16505 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16507 2013-03-11 Andreas Schwab <schwab@suse.de>
16510 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16513 (GLIBC_2.16): Remove pthread_atfork.
16515 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16517 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16518 (ptestcases.h): Likewise.
16520 2013-03-08 Roland McGrath <roland@hack.frob.com>
16522 * Makeconfig ($(common-objpfx)config.status): Depend on
16523 sysdeps/*/preconfigure{,.in} too.
16525 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16527 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16528 (__free_hook): Use void * instead of __malloc_ptr_t.
16529 (__malloc_hook): Likewise.
16530 (__realloc_hook): Likewise.
16531 (__memalign_hook): Likewise.
16532 (__after_morecore_hook): Likewise.
16533 * malloc/arena.c (save_malloc_hook): Likewise.
16534 (save_free_hook): Likewise.
16535 * malloc/hooks.c (malloc_hook_ini): Likewise.
16536 (realloc_hook_ini): Likewise.
16537 (memalign_hook_ini): Likewise.
16538 * malloc/malloc.c (malloc_hook_ini): Likewise.
16539 (realloc_hook_ini): Likewise.
16540 (memalign_hook_ini): Likewise.
16541 (__free_hook): Likewise.
16542 (__malloc_hook): Likewise.
16543 (__realloc_hook): Likewise.
16544 (__memalign_hook): Likewise.
16545 (__libc_malloc): Likewise.
16546 (__libc_free): Likewise.
16547 (__libc_realloc): Likewise.
16548 (__libc_memalign): Likewise.
16549 (__libc_valloc): Likewise.
16550 (__libc_pvalloc): Likewise.
16551 (__libc_calloc): Likewise.
16552 (__posix_memalign): Likewise.
16553 * malloc/morecore.c (__sbrk): Likewise.
16554 (__default_morecore): Likewise.
16556 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16558 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16559 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16560 __malloc_ptrdiff_t.
16562 * malloc/malloc.h (__malloc_size_t): Remove macro.
16563 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16565 (old_memalign_hook): Likewise.
16566 (old_realloc_hook): Likewise.
16567 (struct hdr): Likewise.
16569 (mallochook): Likewise.
16570 (memalignhook): Likewise.
16571 (reallochook): Likewise.
16572 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16573 (tr_old_realloc_hook): Likewise.
16574 (tr_old_memalign_hook): Likewise.
16575 (tr_mallochook): Likewise.
16576 (tr_reallochook): Likewise.
16577 (tr_memalignhook): Likewise.
16579 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16581 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16582 default_ldbl_pack and using as default implementation.
16583 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16585 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16586 redundant definition.
16587 (ldbl_insert_mantissa): Likewise.
16588 (ldbl_canonicalize): Likewise.
16589 (ldbl_nearbyint): Likewise.
16590 (ldbl_pack): Rename to ldbl_pack_ppc.
16591 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16592 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16593 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16595 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16598 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16599 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16600 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16601 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16602 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16603 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16604 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16606 2013-03-07 Andreas Jaeger <aj@suse.de>
16608 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16611 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16613 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16614 Include mpa.h and declare __MPEXP.
16615 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16616 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16617 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16618 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16619 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16620 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16621 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16623 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16624 (__slowpow): Use long double EXPL and LOGL functions to
16626 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16627 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16628 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16629 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16630 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16631 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16634 intermediate variable to calculate exponent.
16636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16640 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16641 [!NO__SQR]: Define __sqr.
16642 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16643 and NO__SQR. Remove all code except __mul and __sqr. Include
16644 sysdeps/ieee754/dbl-64/mpa.c.
16645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16648 * posix/Makefile (tests): Add tst-pathconf.
16649 * posix/tst-pathconf.c: New test case.
16650 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16652 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16654 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16656 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16658 2013-03-06 Andreas Jaeger <aj@suse.de>
16660 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16661 definition via __MAP_ANONYMOUS.
16663 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16664 it's not part of Linux headers.
16666 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16667 (MAP_HUGE_MASK): Define.
16669 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16671 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16672 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16674 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16675 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16677 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16678 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16680 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16682 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16683 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16684 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16685 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16686 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16687 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16689 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16692 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16693 Handle f2fs and efivarfs.
16695 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16698 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16699 (EFIVARFS_MAGIC): Add.
16700 (F2FS_LINK_MAX): Add.
16702 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16704 * stdio-common/vfprintf.c: Replace __builtin_expect with
16707 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16710 * sysdeps/generic/bp-sym.h: Remove file.
16711 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16712 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16713 <bp-sym.h> and <bp-asm.h>.
16714 (__longjmp): Don't use BP_SYM.
16715 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16717 (memcpy): Don't use BP_SYM.
16718 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16719 <bp-sym.h> and <bp-asm.h>.
16720 (memcpy): Don't use BP_SYM.
16721 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16723 (memcpy): Don't use BP_SYM.
16724 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16726 (memset): Don't use BP_SYM.
16727 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16728 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16729 (__bzero): Don't use BP_SYM.
16730 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16731 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16732 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16733 <bp-sym.h> and <bp-asm.h>.
16734 (memcmp): Don't use BP_SYM. Remove comment about bounded
16736 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16737 <bp-sym.h> and <bp-asm.h>.
16738 (memcpy): Don't use BP_SYM.
16739 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16740 <bp-sym.h> and <bp-asm.h>.
16741 (memset): Don't use BP_SYM.
16742 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16743 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16744 (__bzero): Don't use BP_SYM.
16745 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16746 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16747 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16748 <bp-sym.h> and <bp-asm.h>.
16749 (strncmp): Don't use BP_SYM. Remove comment about bounded
16751 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16752 <bp-sym.h> and <bp-asm.h>.
16753 (memcpy): Don't use BP_SYM.
16754 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16755 <bp-sym.h> and <bp-asm.h>.
16756 (memset): Don't use BP_SYM.
16757 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16758 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16759 (__bzero): Don't use BP_SYM.
16760 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16761 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16762 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16763 <bp-sym.h> and <bp-asm.h>.
16764 (__memchr): Don't use BP_SYM.
16765 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16766 <bp-sym.h> and <bp-asm.h>.
16767 (memcmp): Don't use BP_SYM. Remove comment about bounded
16769 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16770 <bp-sym.h> and <bp-asm.h>.
16771 (memcpy): Don't use BP_SYM.
16772 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16773 <bp-sym.h> and <bp-asm.h>.
16774 (__mempcpy): Don't use BP_SYM.
16775 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16776 <bp-sym.h> and <bp-asm.h>.
16777 (__memrchr): Don't use BP_SYM.
16778 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16779 <bp-sym.h> and <bp-asm.h>.
16780 (memset): Don't use BP_SYM.
16781 (__bzero): Likewise.
16782 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16783 <bp-sym.h> and <bp-asm.h>.
16784 (__rawmemchr): Don't use BP_SYM.
16785 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16786 <bp-sym.h> and <bp-asm.h>.
16787 (__STRCMP): Don't use BP_SYM.
16788 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16789 <bp-sym.h> and <bp-asm.h>.
16790 (strchr): Don't use BP_SYM.
16791 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16792 <bp-sym.h> and <bp-asm.h>.
16793 (__strchrnul): Don't use BP_SYM.
16794 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16795 <bp-sym.h> and <bp-asm.h>.
16796 (strlen): Don't use BP_SYM.
16797 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16798 <bp-sym.h> and <bp-asm.h>.
16799 (strncmp): Don't use BP_SYM. Remove comment about bounded
16801 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16802 <bp-sym.h> and <bp-asm.h>.
16803 (__strnlen): Don't use BP_SYM.
16804 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16805 <bp-sym.h> and <bp-asm.h>.
16806 (__GI__setjmp): Don't use BP_SYM.
16807 (_setjmp): Likewise.
16808 (__sigsetjmp): Likewise.
16809 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16810 (L(start_addresses)): Don't use BP_SYM.
16811 (_start): Likewise.
16812 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16814 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16815 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16816 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16817 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16818 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16820 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16821 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16822 about bounded pointers.
16823 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16824 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16825 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16827 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16828 about bounded pointers. Remove GKM FIXME comments.
16829 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16830 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16832 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16833 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16834 Remove GKM FIXME comments.
16835 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16836 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16837 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16839 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16840 about bounded pointers. Remove GKM FIXME comment.
16841 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16843 (strncmp): Don't use BP_SYM. Remove comment about bounded
16845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16846 <bp-sym.h> and <bp-asm.h>.
16847 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16849 <bp-sym.h> and <bp-asm.h>.
16850 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16853 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16855 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16858 2013-03-05 David S. Miller <davem@davemloft.net>
16860 * po/es.po: Update from translation team.
16862 2013-03-05 Andreas Jaeger <aj@suse.de>
16864 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16865 <bits/mman-linux.h>.
16866 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16868 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16869 <bits/mman-linux.h> to end of file.
16870 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16872 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16873 <bits/mman-linux.h> to end of file.
16874 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16876 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16877 <bits/mman-linux.h> to end of file.
16879 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16880 (MCL_CURRENT, MCL_FUTURE): Define here.
16882 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16885 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16887 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16889 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16891 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16892 fourth parameter needed for rt_sigprocmask syscall.
16893 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16894 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16895 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16896 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16897 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16898 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16900 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16903 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16904 comment about bounded pointers.
16905 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16906 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16908 2013-03-04 Andreas Jaeger <aj@suse.de>
16910 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16911 common definitions.
16913 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16914 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16915 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16916 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16917 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16918 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16920 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16923 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16924 __ieee754_sqrl instead of __sqrl.
16926 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16928 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16929 * sysdeps/powerpc/fpu_control.h: ... here.
16930 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16931 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16932 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16933 * sysdeps/powerpc/bits/mathinline.h: ... here.
16935 2013-03-01 Roland McGrath <roland@hack.frob.com>
16937 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16938 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16939 to just [NEED_DL_SYSINFO_DSO].
16940 * elf/dl-support.c: Likewise.
16941 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16942 * elf/rtld.c (dl_main): Likewise.
16943 * elf/setup-vdso.h (setup_vdso): Likewise.
16944 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16945 * sysdeps/unix/sysv/linux/dl-sysdep.c
16946 (_dl_discover_osversion): Likewise.
16948 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16950 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16951 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16953 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16955 * NEWS: Mention libm performance improvements and non-x86 PI
16958 * csu/libc-start.c (__pthread_initialize_minimal): Change
16959 function arguments.
16960 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16962 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16965 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16966 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16967 <bp-sym.h> and <bp-asm.h>.
16968 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16969 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16971 (memcpy): Don't use BP_SYM.
16972 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16974 (__mpn_add_n): Don't use BP_SYM.
16975 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16976 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16978 (__mpn_addmul_1): Don't use BP_SYM.
16979 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16980 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16982 (_setjmp): Don't use BP_SYM.
16983 (__novmx_setjmp): Likewise.
16984 (__GI__setjmp): Likewise.
16985 (__vmx_setjmp): Likewise.
16986 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16988 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16989 (__bzero): Don't use BP_SYM.
16990 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16991 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16992 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16993 <bp-sym.h> and <bp-asm.h>.
16994 (memcpy): Don't use BP_SYM.
16995 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16996 <bp-sym.h> and <bp-asm.h>.
16997 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16998 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16999 <bp-sym.h> and <bp-asm.h>.
17000 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17001 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17003 (__mpn_lshift): Don't use BP_SYM.
17004 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17005 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17007 (memset): Don't use BP_SYM.
17008 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17009 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17010 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17012 (__mpn_mul_1): Don't use BP_SYM.
17013 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17014 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17015 <bp-sym.h> and <bp-asm.h>.
17016 (memcmp): Don't use BP_SYM.
17017 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17018 <bp-sym.h> and <bp-asm.h>.
17019 (memcpy): Don't use BP_SYM.
17020 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17021 <bp-sym.h> and <bp-asm.h>.
17022 (memset): Don't use BP_SYM.
17023 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17024 <bp-sym.h> and <bp-asm.h>.
17025 (strncmp): Don't use BP_SYM.
17026 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17027 <bp-sym.h> and <bp-asm.h>.
17028 (memcpy): Don't use BP_SYM.
17029 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17030 <bp-sym.h> and <bp-asm.h>.
17031 (memset): Don't use BP_SYM.
17032 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17033 <bp-sym.h> and <bp-asm.h>.
17034 (__memchr): Don't use BP_SYM.
17035 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17036 <bp-sym.h> and <bp-asm.h>.
17037 (memcmp): Don't use BP_SYM.
17038 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17039 <bp-sym.h> and <bp-asm.h>.
17040 (memcpy): Don't use BP_SYM.
17041 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17042 <bp-sym.h> and <bp-asm.h>.
17043 (__mempcpy): Don't use BP_SYM.
17044 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17045 <bp-sym.h> and <bp-asm.h>.
17046 (__memrchr): Don't use BP_SYM.
17047 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17048 <bp-sym.h> and <bp-asm.h>.
17049 (memset): Don't use BP_SYM.
17050 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17051 <bp-sym.h> and <bp-asm.h>.
17052 (__rawmemchr): Don't use BP_SYM.
17053 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17054 <bp-sym.h> and <bp-asm.h>.
17055 (__STRCMP): Don't use BP_SYM.
17056 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17057 <bp-sym.h> and <bp-asm.h>.
17058 (strchr): Don't use BP_SYM.
17059 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17060 <bp-sym.h> and <bp-asm.h>.
17061 (__strchrnul): Don't use BP_SYM.
17062 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17063 <bp-sym.h> and <bp-asm.h>.
17064 (strlen): Don't use BP_SYM.
17065 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17066 <bp-sym.h> and <bp-asm.h>.
17067 (strncmp): Don't use BP_SYM.
17068 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17069 <bp-sym.h> and <bp-asm.h>.
17070 (__strnlen): Don't use BP_SYM.
17071 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17073 (__mpn_rshift): Don't use BP_SYM.
17074 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17075 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17076 <bp-sym.h> and <bp-asm.h>.
17077 (__sigsetjmp): Don't use BP_SYM.
17078 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17079 (L(start_addresses)): Don't use BP_SYM.
17080 (_start): Likewise.
17081 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17083 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17084 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17085 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17086 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17088 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17089 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17090 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17091 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17093 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17095 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17096 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17098 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17100 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17101 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17102 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17104 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17106 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17108 (strncmp): Don't use BP_SYM,
17109 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17111 (__mpn_sub_n): Don't use BP_SYM.
17112 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17113 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17115 (__mpn_submul_1): Don't use BP_SYM.
17116 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17118 <bp-sym.h> and <bp-asm.h>.
17119 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17121 <bp-sym.h> and <bp-asm.h>.
17122 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17125 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17127 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17128 Use ZK to minimize writes to Z.
17129 (sub_magnitudes): Simplify code a bit.
17130 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17131 Use ZK to minimize writes to Z.
17132 (sub_magnitudes): Simplify code a bit.
17134 2013-02-27 Roland McGrath <roland@hack.frob.com>
17136 * csu/gmon-start.c: Add special exception to license text.
17138 2013-02-27 Richard Henderson <rth@redhat.com>
17140 * scripts/config.guess: Update from config.git.
17141 * scripts/config.sub: Likewise.
17143 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17145 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17147 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17149 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17151 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17153 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17155 2013-02-26 Roland McGrath <roland@hack.frob.com>
17157 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17158 [$(build-shared = yes].
17160 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17162 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17163 (__mul): Reduce iterations for calculating mantissa.
17165 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17167 (__mpranred): Likewise.
17170 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17171 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17173 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17175 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17176 Define __attribute__.
17178 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17180 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17182 * posix/regex_internal.h (__attribute): Remove.
17183 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17184 (re_string_context_at): Likewise.
17185 (bitset_not): Use __attribute__ and mark function as possibly
17187 (bitset_merge): Likewise.
17188 (bitset_mask): Likewise.
17189 (re_string_char_size_at): Likewise.
17190 (re_string_wchar_at): Likewise.
17191 (re_string_elem_size_at): Likewise.
17193 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17195 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17199 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17203 (denorm): Likewise.
17204 (__dbl_mp): Likewise.
17205 (add_magnitudes): Likewise.
17206 (sub_magnitudes): Likewise.
17210 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17213 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17216 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17219 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17220 up changes with default code.
17221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17224 2013-02-24 Allan McRae <allan@archlinux.org>
17226 * manual/socket.texi (The Internet Namespace): Order menu items
17227 to match that in the file.
17229 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17230 node listing of the info page menu.
17232 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17235 * sysdeps/i386/bp-asm.h: Remove file.
17236 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17237 (PARMS): Do not use macros from bp-asm.h.
17241 (__mpn_add_n): Do not use BP_SYM
17242 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17244 (PARMS): Do not use macros from bp-asm.h.
17247 (__mpn_addmul_1): Do not use BP_SYM
17248 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17250 (PARMS): Do not use macros from bp-asm.h.
17251 (SIGMSK): Likewise.
17252 (_setjmp): Likewise. Do not use BP_SYM.
17253 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17255 (PARMS): Do not use macros from bp-asm.h.
17256 (SIGMSK): Likewise.
17257 (setjmp): Likewise. Do not use BP_SYM.
17258 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17260 (PARMS): Do not use macros from bp-asm.h.
17261 (__frexp): Do not use BP_SYM.
17263 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17265 (PARMS): Do not use macros from bp-asm.h.
17266 (__frexpf): Do not use BP_SYM.
17267 (frexpf): Likewise.
17268 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17270 (PARMS): Do not use macros from bp-asm.h.
17271 (__frexpl): Do not use BP_SYM.
17272 (frexpl): Likewise.
17273 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17275 (PARMS): Do not use macros from bp-asm.h.
17276 (__remquo): Do not use BP_SYM.
17277 (remquo): Likewise.
17278 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17280 (PARMS): Do not use macros from bp-asm.h.
17281 (__remquof): Do not use BP_SYM.
17282 (remquof): Likewise.
17283 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17285 (PARMS): Do not use macros from bp-asm.h.
17286 (__remquol): Do not use BP_SYM.
17287 (remquol): Likewise.
17288 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17290 (PARMS): Do not use macros from bp-asm.h.
17293 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17294 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17296 (PARMS): Do not use macros from bp-asm.h.
17297 (strlen): Do not use BP_SYM.
17298 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17300 (PARMS): Do not use macros from bp-asm.h.
17304 (__mpn_add_n): Do not use BP_SYM.
17305 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17307 (PARMS): Do not use macros from bp-asm.h.
17310 (__mpn_addmul_1): Do not use BP_SYM.
17311 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17314 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17316 (PARMS): Do not use macros from bp-asm.h.
17319 (__mpn_lshift): Do not use BP_SYM.
17320 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17322 (PARMS): Do not use macros from bp-asm.h.
17326 (memcpy): Likewise. Do not use BP_SYM.
17327 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17328 libc_hidden_def and weak_alias.
17329 (mempcpy): Do not use BP_SYM in weak_alias.
17330 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17332 (PARMS): Do not use macros from bp-asm.h.
17335 [!BZERO_P] (CHR): Likewise.
17336 (memset): Likewise. Do not use BP_SYM.
17337 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17339 (PARMS): Do not use macros from bp-asm.h.
17342 (__mpn_mul_1): Do not use BP_SYM.
17343 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17345 (PARMS): Do not use macros from bp-asm.h.
17348 (__mpn_rshift): Do not use BP_SYM.
17349 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17351 (PARMS): Do not use macros from bp-asm.h.
17354 (strchr): Likewise. Do not use BP_SYM.
17355 (index): Do not use BP_SYM in weak_alias.
17356 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17358 (PARMS): Do not use macros from bp-asm.h.
17361 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17362 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17364 (PARMS): Do not use macros from bp-asm.h.
17365 (strlen): Do not use BP_SYM.
17366 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17368 (PARMS): Do not use macros from bp-asm.h.
17372 (__mpn_sub_n): Do not use BP_SYM.
17373 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17375 (PARMS): Do not use macros from bp-asm.h.
17378 (__mpn_submul_1): Do not use BP_SYM.
17379 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17381 (PARMS): Do not use macros from bp-asm.h.
17385 (__mpn_add_n): Do not use BP_SYM.
17386 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17389 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17391 (PARMS): Do not use macros from bp-asm.h.
17394 (memcmp): Do not use BP_SYM.
17395 (bcmp): Do not use BP_SYM in weak_alias.
17396 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17398 (PARMS): Do not use macros from bp-asm.h.
17402 (memcpy): Likewise. Do not use BP_SYM.
17403 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17405 (PARMS): Do not use macros from bp-asm.h.
17409 (memmove): Likewise. Do not use BP_SYM.
17410 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17412 (PARMS): Do not use macros from bp-asm.h.
17416 (__mempcpy): Likewise. Do not use BP_SYM.
17417 (mempcpy): Do not use BP_SYM in weak_alias.
17418 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17420 (PARMS): Do not use macros from bp-asm.h.
17423 [!BZERO_P] (CHR): Likewise.
17424 (memset): Likewise. Do not use BP_SYM.
17425 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17427 (PARMS): Do not use macros from bp-asm.h.
17429 (strcmp): Do not use BP_SYM.
17430 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17432 (PARMS): Do not use macros from bp-asm.h.
17435 [USE_AS_STRTOK_R] (SAVE): Likewise.
17436 (FUNCTION): Likewise. Do not use BP_SYM.
17437 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17439 (strtok_r): Likewise.
17440 (__GI___strtok_r): Likewise.
17441 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17442 (PARMS): Do not use macros from bp-asm.h.
17445 (__mpn_lshift): Do not use BP_SYM.
17446 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17447 (PARMS): Do not use macros from bp-asm.h.
17450 (__memchr): Do not use BP_SYM.
17451 (memchr): Do not use BP_SYM in weak_alias.
17452 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17453 (PARMS): Do not use macros from bp-asm.h.
17456 (memcmp): Do not use BP_SYM.
17457 (bcmp): Do not use BP_SYM in weak_alias.
17458 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17459 (PARMS): Do not use macros from bp-asm.h.
17462 (__mpn_mul_1): Do not use BP_SYM.
17463 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17465 (PARMS): Do not use macros from bp-asm.h.
17468 (__rawmemchr): Do not use BP_SYM.
17469 (rawmemchr): Do not use BP_SYM in weak_alias.
17470 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17471 (PARMS): Do not use macros from bp-asm.h.
17474 (__mpn_rshift): Do not use BP_SYM.
17475 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17476 (PARMS): Do not use macros from bp-asm.h.
17477 (SIGMSK): Likewise.
17478 (__sigsetjmp): Likewise. Do not use BP_SYM.
17479 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17480 (_start): Do not use BP_SYM.
17481 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17482 (PARMS): Do not use macros from bp-asm.h.
17485 (__stpcpy): Likewise. Do not use BP_SYM.
17486 (stpcpy): Do not use BP_SYM in weak_alias.
17487 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17489 (PARMS): Do not use macros from bp-asm.h.
17493 (__stpncpy): Likewise. Do not use BP_SYM.
17494 (stpncpy): Do not use BP_SYM in weak_alias.
17495 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17496 (PARMS): Do not use macros from bp-asm.h.
17499 (strchr): Likewise. Do not use BP_SYM.
17500 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17502 (PARMS): Do not use macros from bp-asm.h.
17505 (__strchrnul): Likewise. Do not use BP_SYM.
17506 (strchrnul): Do not use BP_SYM in weak_alias.
17507 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17509 (PARMS): Do not use macros from bp-asm.h.
17511 (strcspn): Do not use BP_SYM.
17512 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17514 (PARMS): Do not use macros from bp-asm.h.
17517 (strpbrk): Likewise. Do not use BP_SYM.
17518 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17520 (PARMS): Do not use macros from bp-asm.h.
17523 (strrchr): Likewise. Do not use BP_SYM.
17524 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17525 (PARMS): Do not use macros from bp-asm.h.
17527 (strspn): Do not use BP_SYM.
17528 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17529 (PARMS): Do not use macros from bp-asm.h.
17533 (FUNCTION): Likewise. Do not use BP_SYM.
17534 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17536 (strtok_r): Likewise.
17537 (__GI___strtok_r): Likewise.
17538 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17539 (PARMS): Do not use macros from bp-asm.h.
17543 (__mpn_sub_n): Do not use BP_SYM.
17544 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17546 (PARMS): Do not use macros from bp-asm.h.
17549 (__mpn_submul_1): Do not use BP_SYM.
17550 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17552 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17554 (PARMS): Do not use macros from bp-asm.h.
17559 (__clone): Do not use BP_SYM.
17560 (clone): Do not use BP_SYM in weak_alias.
17561 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17563 (PARMS): Do not use macros from bp-asm.h.
17565 (__mmap64): Do not use BP_SYM.
17566 (mmap64): Do not use BP_SYM in weak_alias.
17567 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17568 <bp-sym.h> and <bp-asm.h>.
17569 (PARMS): Do not use macros from bp-asm.h.
17570 (__posix_fadvise64_l64): Do not use BP_SYM.
17571 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17572 (PARMS): Do not use macros from bp-asm.h.
17574 (semtimedop): Do not use BP_SYM.
17575 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17578 2013-02-21 Allan McRae <allan@archlinux.org>
17580 * manual/message.texi (Charset conversion in gettext):
17581 Move @end statement to beginning of line.
17583 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17590 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17591 (denorm): Likewise.
17592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17595 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17597 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17598 tail-call to the resolved function if pltexit isn't needed.
17600 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17603 or Y being zero as being unlikely.
17604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17607 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17609 * manual/nss.texi (System Databases and Name Service Switch):
17610 Remove frobnicate @pxref.
17612 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17614 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17615 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17617 2013-02-20 Petr Machata <pmachata@redhat.com>
17619 * elf/elf.h (R_ARM_TARGET1): New macro.
17620 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17621 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17622 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17623 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17624 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17625 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17626 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17627 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17628 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17629 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17630 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17631 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17632 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17633 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17634 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17635 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17636 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17637 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17638 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17639 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17640 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17641 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17642 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17643 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17644 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17645 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17646 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17647 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17648 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17649 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17650 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17651 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17652 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17653 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17654 (R_ARM_THM_GOT_BREL12): Likewise.
17655 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17656 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17657 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17658 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17659 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17660 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17661 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17662 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17663 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17665 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17667 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17668 __attribute_used__ to __attribute__ ((unused)).
17670 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17672 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17674 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17675 comment formatting.
17676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17678 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17681 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17683 (ENTER): Remove both macro definitions.
17685 (CHECK_BOUNDS_LOW): Likewise.
17686 (CHECK_BOUNDS_HIGH): Likewise.
17687 (CHECK_BOUNDS_BOTH): Likewise.
17688 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17689 (RETURN_BOUNDED_POINTER): Likewise.
17690 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17691 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17692 (POP_ERRNO_LOCATION_RETURN): Likewise.
17693 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17694 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17695 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17697 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17698 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17699 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17700 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17701 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17702 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17703 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17704 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17705 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17706 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17707 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17708 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17709 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17710 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17712 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17713 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17715 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17716 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17717 * sysdeps/i386/i586/memset.S (memset): Likewise.
17718 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17719 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17720 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17722 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17723 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17724 Change uses of L(2) to L(out).
17725 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17726 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17727 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17728 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17729 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17731 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17732 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17734 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17735 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17736 (RETURN): Do not use macro LEAVE.
17737 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17738 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17739 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17740 * sysdeps/i386/i686/memset.S (memset): Likewise.
17741 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17742 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17743 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17744 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17746 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17747 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17748 L(1_2) and L(1_3) into L(1).
17749 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17750 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17751 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17752 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17753 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17754 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17755 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17756 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17757 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17759 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17760 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17761 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17762 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17763 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17764 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17765 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17766 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17767 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17768 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17769 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17770 * sysdeps/i386/strspn.S (strspn): Likewise.
17771 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17773 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17774 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17775 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17776 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17777 L(1_3) into L(1_1).
17778 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17779 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17780 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17782 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17784 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17786 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17789 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17791 * math/atest-exp.c (exp_mpn): Remove ROUND.
17792 * math/atest-exp2.c (exp_mpn): Likewise.
17793 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17795 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17796 * stdlib/tst-tls-atexit-lib.c: Likewise.
17797 * stdlib/tst-tls-atexit.c: Likewise.
17799 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17801 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17802 and __attribute_alloc_size__.
17804 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17806 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17807 __attribute_alloc_size__.
17808 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17809 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17811 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17813 * include/programs/xmalloc.h: New file.
17814 * catgets/gencat.c: Include it.
17815 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17816 * elf/pldd.c: Likewise.
17817 * iconv/iconv_charmap.c: Likewise.
17818 * iconv/iconvconfig.c: Likewise.
17819 * iconv/strtab.c: Likewise.
17820 * locale/programs/locale.c: Likewise.
17821 * locale/programs/localedef.h: Likewise.
17822 * locale/programs/simple-hash.c: Likewise.
17823 * nscd/nscd.h: Likewise.
17824 * nss/makedb.c: Likewise.
17825 * sysdeps/generic/ldconfig.h: Likewise.
17827 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17829 * Versions.def: Add GLIBC_2.18.
17830 * include/link.h (struct link_map): New member l_tls_dtor_count.
17831 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17832 (__call_tls_dtors): Likewise.
17833 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17834 __cxa_thread_atexit_impl.
17835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17843 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17851 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17852 (tests): Add test case tst-tls-atexit.
17853 (modules-names): Add shared library for tst-tls-atexit.
17854 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17855 (GLIBC_PRIVATE): Add __call_tls_dtors.
17856 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17858 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17859 * stdlib/tst-tls-atexit.c: New test case.
17860 * stdlib/tst-tls-atexit-lib.c: New test case.
17862 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17864 * elf/Versions (ld): Add _dl_find_dso_for_object.
17865 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17866 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17867 (dl_open_worker): Use _dl_find_dso_for_object.
17868 * elf/dl-sym.c (do_sym): Likewise.
17869 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17871 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17873 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17874 Syntactic changes only.
17875 (_dl_runtime_profile): Do a tail-call to the resolved function.
17877 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17880 * sysdeps/x86_64/bp-asm.h: Remove file.
17881 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17882 <bp-sym.h> and <bp-asm.h>.
17883 (__clone): Do not use BP_SYM.
17884 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17885 <bp-sym.h> and <bp-asm.h>.
17886 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17887 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17889 (_setjmp): Do not use BP_SYM.
17890 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17892 (setjmp): Do not use BP_SYM.
17893 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17895 (mempcpy): Do not use BP_SYM in weak_alias.
17896 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17898 (strchr): Do not use BP_SYM.
17899 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17901 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17902 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17903 (_start): Do not use BP_SYM.
17904 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17906 (strcat): Do not use BP_SYM.
17907 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17909 (STRCMP): Do not use BP_SYM.
17910 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17912 (STRCPY): Do not use BP_SYM.
17913 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17915 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17917 (FUNCTION): Do not use BP_SYM.
17918 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17920 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17922 2013-02-17 Andreas Jaeger <aj@suse.de>
17924 * time/Versions: Sort entries.
17925 * string/Versions: Likewise.
17926 * resolv/Versions: Likewise.
17927 * posix/Versions: Likewise.
17928 * iconv/Versions: Likewise.
17929 * elf/Versions: Likewise.
17930 * wcsmbs/Versions: Likewise.
17932 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17934 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17935 loop termination condition.
17937 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17938 variable to calculate EZ.
17941 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17942 the lower precision input.
17944 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17947 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17948 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17949 (run-via-rtld-prefix): Do not handle %-bp tests.
17950 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17951 (all-object-suffixes): Remove .ob.
17952 (bppfx): Remove variable.
17953 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17954 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17955 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17956 [$(build-bounded) = yes] (libtype.ob): Likewise.
17957 * Makerules (elide-routines.ob): Remove variable.
17958 (do-tests-clean): Do not handle *-bp.out.
17959 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17960 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17961 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17962 (tests): Do not include $(tests-bp.out).
17963 (xtests): Do not include $(xtests-bp.out).
17964 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17965 [$(build-bounded) = yes] ($(addprefix
17966 $(objpfx),$(binaries-bounded))): Remove rule.
17967 ($(objpfx)%-bp.out): Remove rule.
17968 * config.make.in (build-bounded): Remove variable.
17969 * crypt/Makefile [$(build-bounded) = yes]
17970 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17971 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17972 append to variable.
17973 [$(build-bounded) = yes] (install-lib): Likewise.
17974 [$(build-bounded) = yes] (generated): Likewise.
17975 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17977 * intl/Makefile [$(build-bounded) = yes]
17978 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17979 * math/Makefile [$(build-bounded) = yes]
17980 ($(tests:%=$(objpfx)%-bp): Likewise.
17981 * misc/Makefile [$(build-bounded) = yes]
17982 ($(objpfx)tst-tsearch-bp): Likewise.
17983 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17984 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17986 * string/Makefile (o-objects.ob): Remove variable.
17987 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17988 (CFLAGS-.ob): Remove variable.
17989 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17990 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17991 both definitions of variable.
17992 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17993 (ASFLAGS-.ob): Remove variable.
17995 2013-02-14 Joseph Myers <joseph@codesourcery.com>
17998 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17999 Remove __BOUNDED_POINTERS__ from condition.
18000 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18001 * string/bits/string2.h [!__NO_STRING_INLINES &&
18002 !__BOUNDED_POINTERS__]: Likewise.
18003 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18005 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18006 Remove conditional code.
18007 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18008 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18009 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18013 * csu/libc-start.c: Do not include <bp-sym.h>.
18014 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18015 * elf/dl-open.c: Do not include <bp-sym.h>.
18016 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18017 * math/fegetenv.c: Do not include <bp-sym.h>.
18018 (fegetenv): Do not use BP_SYM in versioned symbols.
18019 * nptl/sysdeps/pthread/bits/libc-lockP.h
18020 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18022 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18023 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18024 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18025 (__pthread_mutex_destroy): Likewise.
18026 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18027 (__pthread_mutex_lock): Likewise.
18028 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18029 (__pthread_mutex_trylock): Likewise.
18030 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18031 (__pthread_mutex_unlock): Likewise.
18032 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18033 (__pthread_mutexattr_init): Likewise.
18034 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18035 (__pthread_mutexattr_destroy): Likewise.
18036 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18037 (__pthread_mutexattr_settype): Likewise.
18038 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18039 (__pthread_rwlock_init): Likewise.
18040 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18041 (__pthread_rwlock_destroy): Likewise.
18042 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18043 (__pthread_rwlock_rdlock): Likewise.
18044 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18045 (__pthread_rwlock_tryrdlock): Likewise.
18046 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18047 (__pthread_rwlock_wrlock): Likewise.
18048 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18049 (__pthread_rwlock_trywrlock): Likewise.
18050 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18051 (__pthread_rwlock_unlock): Likewise.
18052 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18053 (__pthread_key_create): Likewise.
18054 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18055 (__pthread_setspecific): Likewise.
18056 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18057 (__pthread_getspecific): Likewise.
18058 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18060 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18061 (_pthread_cleanup_push_defer): Likewise.
18062 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18063 (_pthread_cleanup_pop_restore): Likewise.
18064 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18065 (pthread_setcancelstate): Likewise.
18066 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18068 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18069 (memchr): Do not use BP_SYM in weak_alias.
18070 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18071 (fegetenv): Do not use BP_SYM in versioned symbols.
18072 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18073 (fesetenv): Do not use BP_SYM in versioned symbols.
18074 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18075 (feupdateenv): Do not use BP_SYM in versioned symbols.
18076 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18077 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18078 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18079 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18080 (open64): Do not use BP_SYM in weak_alias.
18081 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18082 (fegetenv): Do not use BP_SYM in versioned symbols.
18083 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18084 (fesetenv): Do not use BP_SYM in versioned symbols.
18085 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18086 (feupdateenv): Do not use BP_SYM in versioned symbols.
18087 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18088 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18089 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18090 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18091 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18092 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18093 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18095 (__libc_start_main): Do not use BP_SYM.
18097 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18099 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18100 redundant return line.
18102 (denorm): Likewise.
18103 (dbl_mp): Likewise.
18104 (sub_magnitudes): Likewise.
18110 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18112 (denorm): Likewise.
18113 (dbl_mp): Likewise.
18114 (sub_magnitudes): Likewise.
18121 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18123 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18124 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18127 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18128 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18129 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18130 of __mul for squares.
18131 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18133 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18135 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18136 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18138 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18141 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18143 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18144 prototype or function definition. Rename ubp_* variables and
18145 parameters. Remove argv definitions conditional on
18146 [__BOUNDED_POINTERS__].
18147 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18148 * elf/dl-runtime.c (_dl_fixup): Likewise.
18149 * include/set-hooks.h (RUN_HOOK): Likewise.
18150 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18152 * string/strcpy.c (strcpy): Do not use __unbounded.
18153 * sysdeps/generic/frame.h (struct layout): Likewise.
18154 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18155 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18156 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18157 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18158 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18159 (__backtrace): Likewise.
18160 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18162 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18163 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18164 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18166 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18167 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18168 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18169 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18170 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18171 Do not use __unbounded.
18172 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18173 Rename __unboundedrlimits parameter to rlimits in prototype.
18174 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18175 Do not use __unbounded.
18176 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18177 not use __ptrvalue.
18178 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18179 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18180 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18181 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18182 __ptrvalue or __unbounded.
18183 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18184 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18186 (__new_msgctl): Do not use __ptrvalue.
18187 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18189 (__libc_msgrcv): Do not use __ptrvalue.
18190 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18191 startup_info): Do not use __unbounded.
18192 (__libc_start_main): Likewise. Rename ubp_* variables and
18193 parameters. Remove argv definitions conditional on
18194 [__BOUNDED_POINTERS__].
18195 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18197 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18199 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18201 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18203 (__new_shmctl): Do not use __ptrvalue.
18204 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18205 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18207 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18208 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18209 (__libc_sigaction): Likewise.
18210 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18211 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18213 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18215 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18217 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18219 * string/mempcpy.c: Implement by calling memcpy.
18221 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18223 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18225 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18228 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18229 values in the mantissa.
18231 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18232 minimize writes to Z.
18233 (sub_magnitudes): Simplify code a bit.
18235 2013-02-12 Roland McGrath <roland@hack.frob.com>
18237 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18238 from the message. The linker prefixes all warnings with that already.
18240 2013-02-12 Andreas Schwab <schwab@suse.de>
18243 * posix/regexec.c (extend_buffers): Add parameter min_len.
18244 (check_matching): Pass minimum needed length.
18245 (clean_state_log_if_needed): Likewise.
18246 (get_subexp): Likewise.
18247 * posix/Makefile (tests): Add bug-regex34.
18248 (bug-regex34-ENV): Define.
18249 * posix/bug-regex34.c: New file.
18252 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18253 elements compare against the byte sequence of it, not its name.
18254 * posix/Makefile (tests): Add bug-regex35.
18255 (bug-regex35-ENV): Define.
18256 * posix/bug-regex35.c: New file.
18258 2013-02-11 Tom de Vries <tom@codesourcery.com>
18260 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18262 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18263 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18264 (CHECK_EOL): Add undef.
18266 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18268 * bits/stdlib-bsearch.h: New file.
18269 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18270 * stdlib/stdlib.h: Likewise.
18272 2013-02-11 Roland McGrath <roland@hack.frob.com>
18274 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18275 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18277 * manual/search.texi (Array Search Function): Add missing const in
18279 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18280 declaration to use rlim_t.
18281 (Basic Scheduling Functions): Remove erroneous const from
18282 sched_getparam prototype. Remove erroneous * from
18283 sched_get_priority_max and sched_get_priority_min prototypes.
18284 (Resource Usage): Fix summary @comment on vtimes to refer to
18285 sys/vtimes.h rather than vtimes.h.
18286 Add missing *s in vtimes prototype.
18287 (Limits on Resources): Fix ulimit prototype to return long int.
18288 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18289 prototypes to use long int rather than double.
18290 (BSD Random): Fix initstate and setstate to use char *, not void *.
18291 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18292 prototype to make second argument 'struct aiocb64 *const[]'.
18293 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18294 (Status of AIO Operations): Remove erroneous const in aio_return and
18295 aio_return64 prototypes.
18296 (Synchronizing I/O): Fix sync prototype to return void.
18297 * manual/startup.texi (Suboptions): Remove an erroneous const in
18298 getsubopt prototype.
18299 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18300 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18301 use size_t rather than int.
18302 (Scanning All Users): Likewise for getpwent_r.
18303 (Setting Groups): Add missing const to setgroups prototype.
18304 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18305 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18306 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18307 'const void *' rather than 'const char *'.
18308 (Host Address Functions): Likewise for inet_ntop.
18309 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18310 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18311 ssize_t for return value.
18312 (Sending Data): Likewise for send, sendto, sendmsg.
18313 (Socket Option Functions): Add a missing const in setsockopt prototype.
18314 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18315 use wchar_t for the argument.
18316 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18317 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18319 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18320 double/float/long double for second argument.
18321 Fix return types of significand, significandf, significandl.
18322 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18323 argument in fchmod prototype.
18324 (File Owner): Use uid_t and gid_t in fchown prototype.
18325 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18326 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18327 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18328 use 'const struct dirent **' as argument types to CMP function pointer
18330 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18331 (File Times): Fix summary magic @comment for struct utimbuf and utime
18332 to refer to utime.h, not time.h.
18333 * manual/string.texi (Argz Functions): Add missing const in
18334 argz_extract and argz_next prototypes.
18335 (Finding Tokens in a String): Likewise for basename.
18336 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18337 (Copying and Concatenation): Fix typo in wmemmove prototype.
18338 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18339 (Signal Stack): Remove erroneous const in sigstack prototype.
18340 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18342 (Simple Calendar Time): Likewise for stime.
18343 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18345 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18346 say sys/sysctl.h instead.
18347 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18348 and vsyslog prototypes.
18350 2013-02-11 Tom de Vries <tom@codesourcery.com>
18352 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18355 2013-02-11 Roland McGrath <roland@hack.frob.com>
18357 * misc/sys/mman.h: Fix typo in mremap comment.
18359 2013-02-08 Roland McGrath <roland@hack.frob.com>
18361 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18362 the '\0' terminator.
18364 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18367 * debug/segfault.c: Don't include <bp-checks.h>.
18368 * sysdeps/generic/bp-checks.h: Remove file.
18369 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18370 (__GETDENTS): Don't use CHECK_N.
18371 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18372 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18373 (__getgroups): Don't use CHECK_N.
18374 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18375 (setgroups): Don't use CHECK_N.
18376 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18377 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18378 (__libc_msgrcv): Don't use CHECK_N.
18379 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18380 (__libc_msgsnd): Don't use CHECK_N.
18381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18383 (__libc_pread): Don't use CHECK_N.
18384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18385 include <bp-checks.h>.
18386 (__libc_pread64): Don't use CHECK_N.
18387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18388 include <bp-checks.h>.
18389 (__libc_pwrite): Don't use CHECK_N.
18390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18391 include <bp-checks.h>.
18392 (__libc_pwrite64): Don't use CHECK_N.
18393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18395 (__libc_pread): Don't use CHECK_N.
18396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18397 include <bp-checks.h>.
18398 (__libc_pread64): Don't use CHECK_N.
18399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18400 include <bp-checks.h>.
18401 (__libc_pwrite): Don't use CHECK_N.
18402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18403 include <bp-checks.h>.
18404 (__libc_pwrite64): Don't use CHECK_N.
18405 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18406 (do_pread): Don't use CHECK_N.
18407 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18408 (do_pread64): Don't use CHECK_N.
18409 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18410 (do_pwrite): Don't use CHECK_N.
18411 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18412 (do_pwrite64): Don't use CHECK_N.
18413 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18414 (__libc_readv): Don't use CHECK_N.
18415 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18416 (semop): Don't use CHECK_N.
18417 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18419 (semtimedop): Don't use CHECK_N.
18420 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18421 (__libc_pread): Don't use CHECK_N.
18422 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18424 (__libc_pread64): Don't use CHECK_N.
18425 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18427 (__libc_pwrite): Don't use CHECK_N.
18428 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18430 (__libc_pwrite64): Don't use CHECK_N.
18431 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18433 (__libc_msgrcv): Don't use CHECK_N.
18434 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18435 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18436 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18437 (__libc_writev): Don't use CHECK_N.
18439 2013-02-08 Roland McGrath <roland@hack.frob.com>
18441 * string/strcpy.c: Removed unused variable.
18443 * Makeconfig (+sysdep-includes): Define with := rather than =.
18444 Use an existing include/ subdir of each sysdeps dir before it.
18446 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18448 * nscd/connection.c (register_traced_file): Comment function.
18449 [HAVE_INOTIFY] (union __inev): Define.
18450 [HAVE_INOTIFY] (inotify_check_files): New function.
18451 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18452 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18454 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18456 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18458 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18459 loaded if not already and that a failure is permanent.
18461 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18464 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18465 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18467 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18470 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18471 (CHECK_1_NULL_OK): Likewise.
18472 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18473 (__fxstat): Do not use CHECK_1.
18474 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18476 (___fxstat64): Do not use CHECK_1.
18477 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18479 (__fxstatat): Do not use CHECK_1.
18480 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18482 (__fxstatat64): Do not use CHECK_1.
18483 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18485 (__fxstat): Do not use CHECK_1.
18486 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18488 (__fxstatat): Do not use CHECK_1.
18489 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18491 (__getresgid): Do not use CHECK_1.
18492 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18494 (__getresuid): Do not use CHECK_1.
18495 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18497 (__lxstat): Do not use CHECK_1.
18498 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18500 (__old_msgctl): Do not use CHECK_1.
18501 (__new_msgctl): Likewise.
18502 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18504 (__new_setrlimit): Do not use CHECK_1.
18505 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18507 (__old_shmctl): Do not use CHECK_1.
18508 (__new_shmctl): Likewise.
18509 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18511 (__xstat): Do not use CHECK_1.
18512 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18513 (__lxstat): Do not use CHECK_1.
18514 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18516 (___lxstat64): Do not use CHECK_1.
18517 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18518 (__old_msgctl): Do not use CHECK_1.
18519 (__new_msgctl): Likewise.
18520 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18522 (__gettimeofday): Do not use CHECK_1.
18523 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18524 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18525 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18527 (__gettimeofday): Do not use CHECK_1.
18528 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18529 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18530 (__new_shmctl): Do not use CHECK_1.
18531 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18533 (do_sigtimedwait): Do not use CHECK_1.
18534 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18536 (do_sigwaitinfo): Do not use CHECK_1.
18537 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18539 (msgctl): Do not use CHECK_1.
18540 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18542 (shmctl): Do not use CHECK_1.
18543 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18544 (ustat): Do not use CHECK_1.
18545 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18547 (__fxstat): Do not use CHECK_1.
18548 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18550 (__fxstatat): Do not use CHECK_1.
18551 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18553 (__lxstat): Do not use CHECK_1.
18554 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18556 (__xstat): Do not use CHECK_1.
18557 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18558 (__xstat): Do not use CHECK_1.
18559 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18560 (___xstat64): Do not use CHECK_1.
18563 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18565 (CHECK_BOUNDS_HIGH): Likewise.
18566 * string/strcpy.c: Do not include <bp-checks.h>.
18567 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18569 2013-02-07 Roland McGrath <roland@hack.frob.com>
18571 * nscd/nscd-client.h (__nscd_drop_map_ref):
18572 Add __attribute__ ((unused)).
18573 * nis/nss-nisplus.h (niserr2nss): Likewise.
18575 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18576 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18578 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18579 Remove inline keyword.
18580 * include/rounding-mode.h (round_away): Likewise.
18581 * libio/wfileops.c (adjust_wide_data): Likewise.
18582 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18583 (__m128i_strloadu_tolower): Likewise.
18584 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18585 (__m128i_strloadu_tolower): Likewise.
18586 * time/mktime.c (ydhms_diff): Likewise.
18587 * locale/elem-hash.h (elem_hash): Likewise.
18588 * locale/setlocale.c (setdata): Likewise.
18589 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18590 (re_string_wchar_at): Likewise.
18591 (bitset_not, bitset_merge, bitset_mask): Likewise.
18592 [!(__GNUC__ > 3)] (inline): Remove macro.
18593 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18594 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18595 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18596 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18597 * string/memcmp.c (memcmp_bytes): Likewise.
18598 * locale/programs/locarchive.c (compute_hashval): Likewise.
18599 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18600 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18601 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18602 * nss/getent.c (print_rpc, print_protocols): Likewise.
18603 (print_passwd, print_group, print_aliases): Likewise.
18604 * nis/nss-nisplus.h (niserr2nss): Likewise.
18605 * nscd/connections.c (restart_p): Likewise.
18606 Change return type to bool.
18608 2013-02-05 Roland McGrath <roland@hack.frob.com>
18610 * Makeconfig (all-Depend-files): Add existing
18611 $(sorted-subdirs:=/Depend) files.
18612 (all-subdirs): Remove nss.
18613 * sysdeps/unix/inet/Subdirs: Add it here instead.
18614 * hesiod/Depend: New file.
18616 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18617 instead of calling alloca.
18619 * io/lseek.c (__lseek): Rename to __libc_lseek.
18620 Define __lseek as an alias.
18622 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18624 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18626 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18627 else clause and remove check for non-standard endianness.
18629 2013-02-04 David S. Miller <davem@davemloft.net>
18631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18633 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18636 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18637 (__ubp_memchr): Remove prototype.
18638 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18639 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18640 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18641 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18642 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18644 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18645 (__ubp_memchr): Likewise.
18646 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18647 (__ubp_memchr): Likewise.
18648 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18649 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18650 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18651 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18653 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18654 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18655 (__getcwd): Do not use CHECK_STRING.
18656 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18658 (__real_chown): Do not use CHECK_STRING.
18659 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18661 (fchownat): Do not use CHECK_STRING.
18662 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18664 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18666 (__lchown): Do not use CHECK_STRING.
18667 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18668 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18669 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18670 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18672 include <bp-checks.h>.
18673 (truncate64): Do not use CHECK_STRING.
18674 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18676 (__real_chown): Do not use CHECK_STRING.
18677 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18679 (__lchown): Do not use CHECK_STRING.
18680 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18682 (__chown): Do not use CHECK_STRING.
18683 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18685 (truncate64): Do not use CHECK_STRING.
18686 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18688 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18689 (__xmknod): Do not use CHECK_STRING.
18690 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18692 (__xmknodat): Do not use CHECK_STRING.
18693 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18694 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18696 2013-02-04 Andreas Schwab <schwab@suse.de>
18699 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18700 * include/netdb.h: Likewise for h_errno.
18701 * elf/tst-stackguard1.c: Include <tls.h>.
18703 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18705 * elf/link.h (struct link_map): Extend the l_addr comment.
18706 * include/link.h (struct link_map): Likewise.
18708 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18711 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18712 (BOUNDED_1): Remove macro.
18713 * debug/backtrace.c: Don't include <bp-checks.h>.
18714 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18715 (__backtrace): Likewise.
18716 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18718 (__backtrace): Don't use BOUNDED_1.
18719 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18721 (__backtrace): Don't use BOUNDED_1.
18722 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18723 (__backtrace): Don't use BOUNDED_1.
18724 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18725 (shmat): Don't use BOUNDED_N.
18727 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18730 * sysdeps/generic/bp-start.h: Remove file.
18731 * csu/libc-start.c: Don't include <bp-start.h>.
18732 (LIBC_START_MAIN): Set up __environ directly instead of using
18733 INIT_ARGV_and_ENVIRON.
18734 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18738 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18740 (CHECK_FCNTL): Likewise.
18741 (CHECK_N_PAGES): Likewise.
18744 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18746 (CHECK_SIGSET_NULL_OK): Likewise.
18747 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18749 (sigpending): Don't use CHECK_SIGSET.
18750 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18752 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18753 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18755 (do_sigsuspend): Don't use CHECK_SIGSET.
18756 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18758 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18759 (do_sigwait): Don't use CHECK_SIGSET.
18760 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18762 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18763 include <bp-checks.h>.
18764 (sigpending): Don't use CHECK_SIGSET.
18765 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18766 include <bp-checks.h>.
18767 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18768 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18770 (sigpending): Don't use CHECK_SIGSET.
18771 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18773 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18776 * sysdeps/generic/bp-semctl.h: Remove file.
18777 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18778 <bp-checks.h> and <bp-semctl.h>.
18779 (__old_semctl): Don't use CHECK_SEMCTL.
18780 (__new_semctl): Likewise.
18781 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18783 (__old_semctl): Don't use CHECK_SEMCTL.
18784 (__new_semctl): Likewise.
18785 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18786 <bp-checks.h> and <bp-semctl.h>.
18787 (__old_semctl): Don't use CHECK_SEMCTL.
18788 (__new_semctl): Likewise.
18789 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18790 <bp-checks.h> and <bp-semctl.h>.
18791 (semctl): Don't use CHECK_SEMCTL.
18794 * Makerules (elide-bp-thunks): Remove variable.
18795 (elide-routines.oS): Don't use $(elide-bp-thunks).
18796 (elide-routines.os): Likewise.
18797 (elide-routines.o): Likewise.
18798 (elide-routines.op): Likewise.
18799 (elide-routines.og): Likewise.
18800 (objects): Don't use $(bp-thunks).
18801 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18803 (common-generated): Do not add s-proto-bp.d.
18804 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18807 Do not generate makefile rules for bounded-pointer thunks.
18808 * sysdeps/generic/bp-thunks.h: Remove file.
18809 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18810 * sysdeps/unix/s-proto-bp.S: Likewise.
18813 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18814 parts of result separately when argument is not close to line from
18815 -i to i and one part of argument is small.
18816 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18817 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18818 * math/libm-test.inc (cacos_test): Add more tests.
18819 (casin_test): Likewise.
18820 (casinh_test): Likewise.
18821 * sysdeps/i386/fpu/libm-test-ulps: Update.
18822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18824 2013-01-31 David S. Miller <davem@davemloft.net>
18826 * po/de.po: Update from translation team.
18828 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18830 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18832 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18834 * configure.in (_AC_PROG_CC_C89): New definition.
18835 * configure: Regenerate.
18837 * configure.in (AC_PROG_CPP): New definition.
18838 * configure: Regenerate.
18840 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18842 * debug/tst-backtrace.h: New file.
18843 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18844 (ret): Remove variable.
18846 (FAIL): Remove macro.
18847 (NO_INLINE): Likewise.
18848 (fn1): Use match function instead of strstr.
18849 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18850 (ret): Remove variable.
18852 (FAIL): Remove macro.
18853 (NO_INLINE): Likewise.
18854 (fn): Use match function instead of strstr.
18855 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18856 (ret): Remove variable.
18858 (FAIL): Remove macro.
18859 (NO_INLINE): Likewise.
18860 (handle_signal): Use match function instead of strstr.
18861 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18862 (ret): Remove variable.
18864 (FAIL): Remove macro.
18865 (NO_INLINE): Likewise.
18866 (handle_signal): Use match function instead of strstr.
18868 2013-01-23 Roland McGrath <roland@hack.frob.com>
18870 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18872 2013-01-23 David S. Miller <davem@davemloft.net>
18874 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18875 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18876 argument of CAS if possible.
18877 * sysdeps/sparc/sparc64/bits/atomic.h
18878 (__arch_compare_and_exchange_val_32_acq): Likewise.
18879 (__arch_compare_and_exchange_val_64_acq): Likewise.
18881 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18883 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18884 * sysdeps/posix/ulimit.c: ... this.
18885 Include <limits.h>.
18886 * sysdeps/unix/bsd/ulimit.c: Remove file.
18888 2013-01-23 Adam Conrad <adconrad@0c3.net>
18890 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18891 (LDFLAGS-tst-array5): Likewise.
18893 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18896 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18897 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18898 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18899 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18901 2013-01-21 David S. Miller <davem@davemloft.net>
18903 * sysdeps/sparc/backtrace.c: New file.
18904 * sysdeps/sparc/sparc32/backtrace.h: New file.
18905 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18906 * sysdeps/sparc/sparc64/backtrace.h: New file.
18907 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18908 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18911 2013-01-21 Andreas Schwab <schwab@suse.de>
18914 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18917 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18919 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18921 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18923 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18924 Mark Mitchell <mark@codesourcery.com>
18925 Tom de Vries <tom@codesourcery.com>
18926 Paul Pluzhnikov <ppluzhnikov@google.com>
18928 * debug/tst-backtrace2.c: New file.
18929 * debug/tst-backtrace3.c: Likewise.
18930 * debug/tst-backtrace4.c: Likewise.
18931 * debug/tst-backtrace5.c: Likewise.
18932 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18933 (CFLAGS-tst-backtrace3.c): Likewise.
18934 (CFLAGS-tst-backtrace4.c): Likewise.
18935 (CFLAGS-tst-backtrace5.c): Likewise.
18936 (LDFLAGS-tst-backtrace2): Likewise.
18937 (LDFLAGS-tst-backtrace3): Likewise.
18938 (LDFLAGS-tst-backtrace4): Likewise.
18939 (LDFLAGS-tst-backtrace5): Likewise.
18940 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18941 tst-backtrace4 and tst-backtrace5.
18943 2013-01-18 Anton Blanchard <anton@samba.org>
18944 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18946 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18947 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18948 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18949 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18951 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18952 "+r" and remove output regs list as redundant. Add explicit inline
18953 asm to specify register of return val to work around compiler codegen
18954 bug. Remove (int) cast on return value. Add return type parameter to
18955 use in macro so that this macro does not truncate return value for
18957 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18958 pass to INTERNAL_VSYSCALL_NCS.
18959 (INLINE_VSYSCALL): Add 'long int' as return type to
18960 INTERNAL_VSYSCALL_NCS macro invocation.
18961 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18962 INTERNAL_VSYSCALL_NCS macro invocation.
18963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18965 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18968 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18969 Fix application of SIMD FP exception mask.
18971 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18972 mp_no from a power of two.
18973 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18974 __mpexp_twomm1. Use __pow_mp.
18976 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18979 2013-01-17 David S. Miller <davem@davemloft.net>
18981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18983 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18986 * include/complex.h: Condition contents on [!_COMPLEX_H].
18987 (__kernel_casinhf): New prototype.
18988 (__kernel_casinh): Likewise.
18989 (__kernel_casinhl): Likewise.
18990 * math/Makefile (libm_calls): Add k_casinh.
18991 * math/k_casinh.c: New file.
18992 * math/k_casinhf.c: Likewise.
18993 * math/k_casinhl.c: Likewise.
18994 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18995 finite nonzero arguments.
18996 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18997 finite nonzero arguments.
18998 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18999 finite nonzero arguments.
19000 * math/s_casinh.c: Do not include <float.h>.
19001 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19002 * math/s_casinhf.c: Do not include <float.h>.
19003 (__casinhf): Move code for finite nonzero arguments to
19005 * math/s_casinhl.c: Do not include <float.h>.
19006 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19008 (__casinhl): Move code for finite nonzero arguments to
19010 * math/libm-test.inc (cacos_test): Add more tests.
19011 * sysdeps/i386/fpu/libm-test-ulps: Update.
19012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19014 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19016 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19017 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19018 [!HAVE_MREMAP]: Remove [defined linux] case.
19019 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19021 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19023 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19025 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19027 * elf/elf.h (R_386_SIZE32): New relocation.
19028 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19030 (elf_machine_rela): Likewise.
19031 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19032 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19034 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19036 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19037 (FP_FAST_FMA): Do not define.
19038 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19039 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19040 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19041 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19042 !_SOFT_FLOAT]: Likewise.
19043 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19044 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19046 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19047 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19048 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19049 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19050 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19051 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19054 2013-01-16 Andreas Schwab <schwab@suse.de>
19057 * include/stdlib.h (__mktemp): Add declaration.
19058 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19059 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19061 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19063 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19065 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19066 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19067 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19069 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19070 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19072 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19074 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19075 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19076 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19078 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19079 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19081 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19083 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19085 2013-01-15 David S. Miller <davem@davemloft.net>
19087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19088 trunc{,f} to libm-sysdep_routes.
19089 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19099 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19100 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19101 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19102 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19103 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19104 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19107 nearbyint{,f} to libm-sysdep_routes.
19108 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19119 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19121 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19122 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19124 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19125 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19126 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19128 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19129 libc_feholdexcept and libc_fesetenv.
19131 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19133 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19135 2013-01-14 David S. Miller <davem@davemloft.net>
19137 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19138 (SPARC_ASM_VIS2_IFUNC): Likewise.
19139 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19141 use of 'siam' instruction.
19142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19148 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19150 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19151 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19160 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19161 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19163 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19175 routines to libm-sysdep_routines.
19176 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19179 fdim/fdimf to libm-sysdep_routines.
19180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19188 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19189 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19190 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19191 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19193 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19195 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19196 to optimize copies.
19198 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19199 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19200 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19203 local variable MPTWO.
19204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19207 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19209 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19212 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19214 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19216 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19218 * manual/pattern.texi (glob_t): Document gl_flags.
19219 (glob64_t): Likewise.
19221 2013-01-11 David S. Miller <davem@davemloft.net>
19223 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19224 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19225 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19226 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19227 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19228 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19229 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19230 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19231 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19232 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19233 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19234 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19235 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19237 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19238 sparc V9 rather than using V8 code.
19239 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19240 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19242 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19244 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19247 2013-01-11 Roland McGrath <roland@hack.frob.com>
19249 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19250 not in the main loop.
19251 * configure: Regenerated.
19253 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19255 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19256 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19258 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19259 [!__GLIBC_HAVE_LONG_LONG] case.
19260 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19261 condition to just #else.
19262 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19263 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19264 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19265 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19267 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19268 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19269 #elif condition to just #else.
19270 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19271 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19272 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19273 #elif condition to just #else.
19275 2013-01-11 Steve Ellcey <sellcey@mips.com>
19277 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19278 (EF_MIPS_ARCH_64): Fix value.
19279 (EF_MIPS_ARCH_32R2): New.
19280 (EF_MIPS_ARCH_64R2): New.
19282 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19284 * Makeconfig (+link-pie-before-libc): New.
19285 (+link-pie-after-libc): Likewise.
19286 (+link-pie-tests): Likewise.
19287 (+link-pie): Rewritten.
19288 (link-before-libc): Remove $(config-LDFLAGS).
19289 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19290 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19291 (config-LDFLAGS): Renamed to ...
19292 (rtld-LDFLAGS): This.
19293 (rtld-tests-LDFLAGS): New macro.
19294 (link-libc-rpath-link): Likewise.
19295 (link-libc-tests-rpath-link): Likewise.
19296 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19297 (link-libc): Prepand $(link-libc-rpath-link).
19298 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19299 (test-program-prefix): New macro.
19300 (test-via-rtld-prefix): Likewise.
19301 (test-program-cmd): Likewise.
19302 (host-test-program-cmd): Likewise.
19303 * Makefile ($(common-objpfx)testrun.sh): Replace
19304 $(run-program-prefix) with $(test-program-prefix).
19305 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19307 ($(common-objpfx)shlib.lds): Likewise.
19308 (build-module-helper): Likewise.
19309 ($(common-objpfx)format.lds): Likewise.
19310 * Rules (binaries-pie-tests): New.
19311 (binaries-pie-notests): Likewise.
19312 (binaries-pie): Rewritten.
19313 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19314 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19315 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19316 (make-test-out): Replace $(host-built-program-cmd) with
19317 $(host-test-program-cmd).
19318 * config.make.in (build-hardcoded-path-in-tests): New variable.
19319 * configure.in (--enable-hardcoded-path-in-tests): New configure
19321 (hardcoded_path_in_tests): New AC_SUBST.
19322 * configure: Regenerated.
19323 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19324 $(built-program-cmd) with $(test-program-cmd).
19325 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19326 (test_program_cmd): This.
19327 * elf/Makefile ($(objpfx)order.out): Run test with
19328 $(test-program-prefix).
19329 ($(objpfx)order2.out): Likewise.
19330 ($(objpfx)tst-initorder.out): Likewise.
19331 ($(objpfx)tst-initorder2.out): Likewise.
19332 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19333 $(test-program-cmd).
19334 ($(objpfx)tst-array1-static.out): Likewise.
19335 ($(objpfx)tst-array2.out): Likewise.
19336 ($(objpfx)tst-array3.out): Likewise.
19337 ($(objpfx)tst-array4.out): Likewise.
19338 ($(objpfx)tst-array5.out): Likewise.
19339 ($(objpfx)tst-array5-static.out): Likewise.
19340 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19341 $(test-program-cmd).
19342 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19343 $(run-program-prefix) with $(test-program-prefix).
19344 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19345 (test_program_prefix): This.
19346 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19347 $(run-program-prefix) with $(test-program-prefix).
19348 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19349 (test_program_prefix): This.
19350 * iconvdata/tst-tables.sh: Likewise.
19351 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19352 $(run-program-prefix) with $(test-program-prefix).
19353 ($(objpfx)tst-translit.out): Likewise.
19354 ($(objpfx)tst-gettext2.out): Likewise.
19355 ($(objpfx)tst-gettext4.out): Likewise.
19356 ($(objpfx)tst-gettext6.out): Likewise.
19357 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19358 (test_program_prefix): This.
19359 * intl/tst-gettext2.sh: Likewise.
19360 * intl/tst-gettext4.sh Likewise.
19361 * intl/tst-gettext6.sh: Likewise.
19362 * intl/tst-translit.sh: Likewise.
19363 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19364 with $(test-program-cmd).
19365 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19366 $(run-program-prefix) with $(test-program-prefix).
19367 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19368 (test_program_prefix): This.
19369 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19370 $(run-program-prefix) with $(test-program-prefix).
19371 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19372 (test_program_prefix): This.
19373 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19374 * posix/Makefile ($(objpfx)globtest.out): Replace
19375 $(run-via-rtld-prefix) and $(test-wrapper) with
19376 $(test-program-prefix) and $(test-via-rtld-prefix).
19377 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19378 $(test-program-prefix).
19379 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19380 $(host-test-program-cmd).
19381 (tst-spawn-ARGS): Likewise.
19382 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19383 $(test-program-prefix).
19384 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19385 (test_via_rtld_prefix): This.
19386 (test_wrapper): Renamed to ...
19387 (test_program_prefix): This.
19388 (run_program_prefix): Replaced by test_program_prefix.
19389 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19390 (test_program_prefix): This.
19391 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19392 with $(host-test-program-cmd).
19393 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19394 $(run-program-prefix) with $(test-program-prefix).
19395 ($(objpfx)tst-printf.out): Likewise.
19396 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19397 $(test-program-cmd).
19398 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19399 (test_program_prefix): This.
19400 * stdio-common/tst-unbputc.sh: Likewise.
19401 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19402 $(run-program-prefix) with $(test-program-prefix).
19403 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19404 (test_program_prefix): This.
19405 * string/Makefile ($(objpfx)tst-svc.out): Replace
19406 $(built-program-cmd) with $(test-program-cmd).
19408 2013-01-11 Andreas Jaeger <aj@suse.de>
19411 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19412 value. Sync with Linux 3.7.
19414 2013-01-10 David S. Miller <davem@davemloft.net>
19416 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19417 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19418 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19420 2013-01-10 Roland McGrath <roland@hack.frob.com>
19422 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19424 * configure: Regenerated.
19426 2013-01-10 David S. Miller <davem@davemloft.net>
19428 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19429 sparc V9 rather than using V8 code.
19430 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19431 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19433 2013-01-10 Roland McGrath <roland@hack.frob.com>
19435 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19436 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19437 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19438 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19439 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19440 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19441 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19442 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19443 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19444 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19445 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19446 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19447 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19448 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19449 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19450 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19451 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19452 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19453 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19454 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19455 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19456 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19457 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19458 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19459 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19460 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19461 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19463 2013-01-10 David S. Miller <davem@davemloft.net>
19465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19467 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19469 * posix/Makefile (tests-static): New variable.
19470 (tests): Add $(tests-static).
19471 (tst-exec-static-ARGS): New variable.
19472 (tst-spawn-static-ARGS): Likewise.
19473 * posix/tst-exec-static.c: New file.
19474 * posix/tst-spawn-static.c: Likewise.
19475 * posix/tst-exec.c: Support run directly.
19476 * posix/tst-spawn.c: Likewise.
19478 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19480 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19482 * math/bits/mathcalls.h (llrint): Likewise.
19483 (llround): Likewise.
19484 * stdlib/stdlib.h (struct drand48_data): Likewise.
19485 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19486 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19487 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19489 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19491 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19492 (elf_greg_t): Likewise.
19493 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19494 (__jmp_buf): Likewise.
19495 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19497 (llrint): Likewise, for all definitions.
19498 (llrintl): Likewise.
19500 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19501 Remove [__GNUC__] condition.
19502 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19503 condition to just [__USE_ISOC99].
19504 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19506 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19509 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19510 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19512 (_POSIX_V6_ILP32_OFF32): Likewise.
19513 (_XBS5_ILP32_OFF32): Likewise.
19514 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19515 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19517 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19519 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19521 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19522 doubles __mpexp_twomm1. Adjust usage.
19523 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19526 2013-01-10 Andreas Schwab <schwab@suse.de>
19529 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19530 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19532 2013-01-09 David S. Miller <davem@davemloft.net>
19535 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19536 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19537 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19538 TCP_FASTOPEN): Define.
19539 (tcp_repair_opt): New structure.
19540 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19542 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19543 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19544 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19545 (tcp_cookie_transactions): New structure.
19547 2013-01-09 Anton Blanchard <anton@samba.org>
19549 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19550 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19551 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19552 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19554 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19556 * include/features.h (__USE_ANSI): Remove.
19558 2013-01-09 Roland McGrath <roland@hack.frob.com>
19560 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19562 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19564 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19566 * sysdeps/s390/fpu/libm-test-ulps: Update.
19568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19570 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19574 (denorm): Likewise.
19575 (__mp_dbl): Likewise.
19576 (__dbl_mp): Likewise.
19577 (add_magnitudes): Likewise.
19578 (sub_magnitudes): Likewise.
19584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19588 (denorm): Likewise.
19589 (__mp_dbl): Likewise.
19590 (__dbl_mp): Likewise.
19591 (add_magnitudes): Likewise.
19592 (sub_magnitudes): Likewise.
19598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19602 (denorm): Likewise.
19603 (__mp_dbl): Likewise.
19604 (__dbl_mp): Likewise.
19605 (add_magnitudes): Likewise.
19606 (sub_magnitudes): Likewise.
19613 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19615 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19616 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19617 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19618 2 && __USE_EXTERN_INLINES]: Likewise.
19620 2013-01-08 Andreas Jaeger <aj@suse.de>
19623 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19625 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19626 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19628 2013-01-07 Anton Blanchard <anton@samba.org>
19630 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19631 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19632 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19633 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19634 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19635 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19636 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19637 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19638 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19639 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19640 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19641 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19642 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19643 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19644 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19645 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19646 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19647 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19648 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19649 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19650 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19651 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19652 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19653 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19654 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19655 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19656 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19657 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19658 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19659 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19660 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19661 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19662 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19663 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19664 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19665 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19666 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19667 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19668 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19669 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19670 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19671 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19672 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19674 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19676 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19677 (__MALLOC_PMT): Likewise.
19678 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19679 [__GNUC__], only on [_LIBC].
19680 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19681 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19682 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19683 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19684 forward declaration.
19685 (realloc_hook_ini): Likewise.
19686 (memalign_hook_ini): Likewise.
19687 (__libc_memalign): Do not use __MALLOC_PMT in variable
19689 (__libc_valloc): Likewise.
19690 (__libc_pvalloc): Likewise.
19691 (__libc_calloc): Likewise.
19692 (__posix_memalign): Likewise.
19695 * math/s_casinh.c: Include <float.h>.
19696 (__casinh): Do not do computation with squaring and square root
19697 for large arguments.
19698 * math/s_casinhf.c: Include <float.h>.
19699 (__casinhf): Do not do computation with squaring and square root
19700 for large arguments.
19701 * math/s_casinhl.c: Include <float.h>.
19702 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19703 (__casinhl): Do not do computation with squaring and square root
19704 for large arguments.
19705 * math/libm-test.inc (casin_test): Add more tests.
19706 (casinh_test): Likewise.
19707 * sysdeps/i386/fpu/libm-test-ulps: Update.
19708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19710 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19712 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19713 (__x86_64_raw_data_cache_size): Likewise.
19714 (__x86_64_data_cache_size_half): Likewise.
19715 (__x86_64_raw_data_cache_size_half): Likewise.
19716 (__x86_64_shared_cache_size): Likewise.
19717 (__x86_64_raw_shared_cache_size): Likewise.
19718 (__x86_64_shared_cache_size_half): Likewise.
19719 (__x86_64_raw_shared_cache_size_half): Likewise.
19720 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19722 (__x86_data_cache_size): This.
19723 (__x86_64_raw_data_cache_size): Renamed to ...
19724 (__x86_raw_data_cache_size): This.
19725 (__x86_64_data_cache_size_half): Renamed to ...
19726 (__x86_data_cache_size_half): This.
19727 (__x86_64_raw_data_cache_size_half): Renamed to ...
19728 (__x86_raw_data_cache_size_half): This.
19729 (__x86_64_shared_cache_size): Renamed to ...
19730 (__x86_shared_cache_size): This.
19731 (__x86_64_raw_shared_cache_size): Renamed to ...
19732 (__x86_raw_shared_cache_size): This.
19733 (__x86_64_shared_cache_size_half): Renamed to ...
19734 (__x86_shared_cache_size_half): This.
19735 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19736 (__x86_raw_shared_cache_size_half): This.
19737 * sysdeps/x86_64/memcpy.S: Updated.
19738 * sysdeps/x86_64/memset.S: Likewise.
19739 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19740 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19741 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19743 2013-01-04 David S. Miller <davem@davemloft.net>
19745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19747 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19749 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19750 1 to avoid redefinition warning.
19751 (__USE_GNU): Don't define.
19752 (init_signaling_nan): Protoize.
19754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19756 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19758 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19760 (__cpymn): Likewise.
19761 (norm): Remove commented code.
19762 (denorm): Likewise.
19763 (__mp_dbl): Likewise.
19765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19766 (__cpymn): Likewise.
19767 (norm): Remove commented code.
19768 (denorm): Likewise.
19769 (__mp_dbl): Likewise.
19772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19773 mp_no value for 1.0 and 2.0.
19774 (norm): Use RADIXI instead of radixi.d.
19775 (denorm): Likewise.
19776 (__mul): Use 0.0 instead of zero.d.
19777 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19778 mp_no value for 1.0 and 2.0.
19779 (norm): Use RADIXI instead of radixi.d.
19780 (denorm): Likewise.
19781 (__mul): Use 0.0 instead of zero.d.
19783 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19786 * math/s_casinh.c (__casinh): Reduce finite argument to first
19787 quadrant then set signs of results at the end.
19788 * math/s_casinhf.c (__casinhf): Likewise.
19789 * math/s_casinhl.c (__casinhl): Likewise.
19790 * math/libm-test.inc (casin_test): Add more tests.
19791 (casinh_test): Likewise.
19792 * sysdeps/i386/fpu/libm-test-ulps: Update.
19793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19795 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19797 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19799 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19801 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19803 (denorm): Likewise.
19804 (__mp_dbl): Likewise.
19807 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19808 and adjust the header comment.
19810 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19811 variable name from declaration.
19813 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19816 Initialize COMMON_CPUID_INDEX_7 element.
19817 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19818 (CPUID_RTM): Likewise.
19819 (HAS_RTM): Likewise.
19820 (COMMON_CPUID_INDEX_7): New enum.
19822 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19825 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19826 size is zero, record memory as freed.
19828 2013-01-03 Andreas Jaeger <aj@suse.de>
19830 * po/ia.po: Add new Interlingua translation.
19832 2012-01-03 Allan McRae <allan@archlinux.org>
19834 * locale/programs/localedef.c: Fix description of '--posix' flag.
19836 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19838 * NEWS: Update dates in second copyright notice.
19839 * README: Update copyright dates in example.
19840 * manual/libc.texinfo: Update copyright dates.
19841 * scripts/test-installation.pl: Update copyright date in --version
19844 * hurd/ctty-input.c: Fix copyright notice formatting.
19845 * hurd/ctty-output.c: Likewise.
19846 * hurd/dtable.c: Likewise.
19847 * hurd/hurd-raise.c: Likewise.
19848 * hurd/hurdprio.c: Likewise.
19849 * hurd/msgportdemux.c: Likewise.
19850 * misc/sys/file.h: Likewise.
19851 * misc/sys/ioctl.h: Likewise.
19852 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19853 * sysdeps/mach/hurd/chdir.c: Likewise.
19854 * sysdeps/mach/hurd/fchdir.c: Likewise.
19855 * sysdeps/mach/hurd/rename.c: Likewise.
19856 * sysdeps/mach/hurd/rmdir.c: Likewise.
19857 * sysdeps/mach/hurd/seekdir.c: Likewise.
19858 * sysdeps/mach/hurd/setsid.c: Likewise.
19859 * sysdeps/posix/wait3.c: Likewise.
19861 * All files with FSF copyright notices: Update copyright dates
19862 using scripts/update-copyrights.
19863 * intl/plural.c: Regenerated.
19864 * locale/programs/charmap-kw.h: Likewise.
19865 * locale/programs/locfile-kw.h: Likewise.
19867 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19869 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19872 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19873 calculation loop and add branch prediction.
19875 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19876 check access beyond bounds of m1np.
19878 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19880 (__inv): Remove local variable MPTWO to use the global
19882 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19883 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19885 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19886 MP3HALFS static const.
19888 2013-01-01 David S. Miller <davem@davemloft.net>
19890 * po/ca.po: Update from translation team.
19892 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19894 * scripts/update-copyrights: New file.
19895 * Makeconfig: Reformat copyright notice.
19896 * ctype/ctype.h: Likewise.
19897 * debug/swprintf_chk.c: Likewise.
19898 * elf/dl-cache.c: Likewise.
19899 * elf/dl-debug.c: Likewise.
19900 * elf/dl-object.c: Likewise.
19901 * grp/initgroups.c: Likewise.
19902 * hurd/Makefile: Likewise.
19903 * hurd/hurd/signal.h: Likewise.
19904 * hurd/hurdfault.c: Likewise.
19905 * hurd/hurdioctl.c: Likewise.
19906 * hurd/hurdlookup.c: Likewise.
19907 * hurd/intr-msg.c: Likewise.
19908 * iconv/gconv_open.c: Likewise.
19909 * libio/swprintf.c: Likewise.
19910 * locale/lc-ctype.c: Likewise.
19911 * locale/nl_langinfo.c: Likewise.
19912 * mach/Machrules: Likewise.
19913 * mach/Makefile: Likewise.
19914 * malloc/obstack.h: Likewise.
19915 * manual/Makefile: Likewise.
19916 * manual/tsort.awk: Likewise.
19917 * misc/bits/stab.def: Likewise.
19918 * nis/nis_print_group_entry.c: Likewise.
19919 * nis/nis_table.c: Likewise.
19920 * nis/nss_compat/compat-pwd.c: Likewise.
19921 * nis/nss_compat/compat-spwd.c: Likewise.
19922 * po/Makefile: Likewise.
19923 * posix/fnmatch.c: Likewise.
19924 * posix/regex.h: Likewise.
19925 * resolv/Makefile: Likewise.
19926 * resolv/nss_dns/dns-network.c: Likewise.
19927 * resolv/res_hconf.c: Likewise.
19928 * scripts/gen-sorted.awk: Likewise.
19929 * soft-fp/soft-fp.h: Likewise.
19930 * stdio-common/printf.h: Likewise.
19931 * stdlib/monetary.h: Likewise.
19932 * stdlib/random.c: Likewise.
19933 * stdlib/random_r.c: Likewise.
19934 * sysdeps/generic/Makefile: Likewise.
19935 * sysdeps/gnu/Makefile: Likewise.
19936 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19937 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19938 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19939 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19940 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19942 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19943 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19944 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19945 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19946 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19947 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19948 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19949 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19950 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19951 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19952 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19953 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19954 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19955 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19956 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19957 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19958 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19959 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19960 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19961 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19962 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19963 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19964 * sysdeps/mach/hurd/errnos.awk: Likewise.
19965 * sysdeps/mach/hurd/fork.c: Likewise.
19966 * sysdeps/mach/hurd/getcwd.c: Likewise.
19967 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19968 * sysdeps/mach/hurd/mmap.c: Likewise.
19969 * sysdeps/mach/hurd/utimes.c: Likewise.
19970 * sysdeps/mach/hurd/xmknod.c: Likewise.
19971 * sysdeps/posix/profil.c: Likewise.
19972 * sysdeps/posix/readdir_r.c: Likewise.
19973 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19974 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19975 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19976 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19978 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19979 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19980 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19981 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19982 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19983 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19984 * sysdeps/pthread/lio_listio.c: Likewise.
19985 * sysdeps/sparc/dl-procinfo.h: Likewise.
19986 * sysdeps/unix/i386/sysdep.S: Likewise.
19987 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19988 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19989 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19990 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19992 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19993 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19994 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19995 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19996 * sysdeps/wordsize-32/divdi3.c: Likewise.
19997 * time/sys/time.h: Likewise.
19998 * wcsmbs/Makefile: Likewise.
20000 2013-01-01 David S. Miller <davem@davemloft.net>
20002 * po/fr.po: Update from translation team.
20004 * catgets/gencat.c: Update copyright year.
20005 * csu/version.c: Likewise.
20006 * debug/catchsegv.sh: Likewise.
20007 * debug/pcprofiledump.c: Likewise.
20008 * debug/xtrace.sh: Likewise.
20009 * elf/ldconfig.c: Likewise.
20010 * elf/ldd.bash.in: Likewise.
20011 * elf/pldd.c: Likewise.
20012 * elf/sotruss.ksh: Likewise.
20013 * elf/sprof.c: Likewise.
20014 * iconv/iconv_prog.c: Likewise.
20015 * iconv/iconvconfig.c: Likewise.
20016 * locale/programs/locale.c: Likewise.
20017 * locale/programs/localedef.c: Likewise.
20018 * login/programs/pt_chown.c: Likewise.
20019 * malloc/memusage.sh: Likewise.
20020 * malloc/memusagestat.c: Likewise.
20021 * malloc/mtrace.pl: Likewise.
20022 * nscd/nscd.c: Likewise.
20023 * nss/getent.c: Likewise.
20024 * nss/makedb.c: Likewise.
20025 * posix/getconf.c: Likewise.
20027 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20029 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20032 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20034 * math/bits/mathcalls.h (modf): Use __nonnull.
20036 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20038 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20039 (split): Use macro CN instead of the bare value.
20040 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20042 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20043 instead of the bare value.
20044 (power1): Likewise.
20046 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20048 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20050 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20052 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20054 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20055 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20056 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20057 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20059 2012-12-28 Andreas Jaeger <aj@suse.de>
20061 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20062 values are from Linux 3.7.
20064 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20065 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20067 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20069 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20072 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20074 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20075 variables with preprocessor constants.
20076 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20077 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20078 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20080 2012-12-27 Bruno Haible <bruno@clisp.org>
20083 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20086 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20088 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20089 and use variable directly.
20090 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20092 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20094 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20095 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20097 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20098 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20099 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20100 include directive. Remove local variable MPONE.
20101 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20102 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20103 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20105 2012-12-25 David S. Miller <davem@davemloft.net>
20107 * version.h (RELEASE): Set to "development".
20108 (VERSION): Set to "2.17.90".
20109 * NEWS: Add 2.18 section.
20111 2012-12-21 David S. Miller <davem@davemloft.net>
20113 * po/hr.po: Update from translation team.
20115 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20117 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20119 2012-12-19 Steve Ellcey <sellcey@mips.com>
20121 * NEWS: Mention new memcpy for MIPS.
20123 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20125 * manual/contrib.texi (Contributors): Spelling correction.
20127 2012-12-15 David S. Miller <davem@davemloft.net>
20129 * po/ru.po: Update from translation team.
20131 2012-12-13 David S. Miller <davem@davemloft.net>
20133 * NEWS: Mention IFUNC testsuite enhancements.
20135 * po/pl.po: Update from translation team.
20136 * po/bg.po: Likewise.
20138 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20139 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20141 2012-12-11 David S. Miller <davem@davemloft.net>
20143 * po/sv.po: Update from translation team.
20145 * po/vi.po: Update from translation team.
20147 * po/cs.po: Update from translation team.
20149 * po/de.po: Update from translation team.
20150 * po/eo.po: Likewise.
20151 * po/nl.po: Likewise.
20153 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20156 * manual/argp.texi (Argp Helper Functions): Move node to follow
20157 Argp Parsing State.
20160 * manual/conf.texi (Limits on File System Capacity): Mention if
20161 terminating null is included in the max size.
20163 2012-12-10 Andreas Jaeger <aj@suse.de>
20165 * po/cs.po: Update from translation team.
20167 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20169 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20170 void pointer and cast to uintptr_t.
20171 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20173 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20174 * sysdeps/s390/s390-64/memset.S: Likewise.
20176 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20179 * menual/message.texi (Message Translation): Fix typos.
20180 (Helper programs for gettext): Likewise.
20182 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20185 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20188 2012-12-07 David S. Miller <davem@davemloft.net>
20190 * po/libc.pot: Update.
20192 2012-12-07 Richard Henderson <rth@redhat.com>
20195 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20196 normal/normal case to before the switch.
20197 (_FP_DIV): Likewise.
20199 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20200 Mike Frysinger <vapier@gentoo.org>
20202 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20203 check for __NR_fadvise64_64.
20205 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20207 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20208 0, not just to plain "0" as a statement.
20209 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20212 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20214 * NEWS: Use sourceware.org in Bugzilla URL.
20216 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20219 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20221 * stdio-common/tst-put-error.c (do_test): Add newline to the
20222 padded test to ensure flush.
20224 2012-12-05 Jeff Law <law@redhat.com>
20226 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20228 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20230 * README: Don't refer to ports add-on as distributed separately.
20231 Mention AArch64 in list of systems supported in the ports add-on.
20233 * LICENSES: Add more non-FSF copyright and license notices.
20235 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20238 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20240 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20241 10000 as width of padded output.
20243 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20245 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20247 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20248 variable LX with __attribute__ ((unused)).
20249 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20251 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20252 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20253 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20254 with __attribute__ ((unused)).
20256 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20258 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20260 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20262 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20263 (CFLAGS-nldbl-acos.c): New variable.
20264 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20265 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20266 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20267 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20268 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20269 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20270 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20271 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20272 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20273 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20274 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20275 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20276 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20277 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20278 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20279 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20280 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20281 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20282 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20283 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20284 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20285 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20286 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20287 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20288 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20289 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20290 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20291 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20292 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20293 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20294 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20295 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20296 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20297 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20298 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20299 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20300 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20301 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20302 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20303 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20304 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20305 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20306 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20307 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20308 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20309 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20310 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20311 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20312 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20313 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20314 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20315 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20316 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20317 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20318 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20319 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20320 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20321 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20322 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20323 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20324 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20325 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20326 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20327 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20328 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20329 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20330 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20331 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20332 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20333 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20334 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20335 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20336 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20337 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20338 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20339 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20340 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20341 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20342 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20343 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20344 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20345 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20346 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20347 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20348 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20349 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20350 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20351 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20352 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20353 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20354 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20355 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20356 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20357 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20358 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20359 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20360 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20363 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20366 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20367 whole low double instead of just low 47 bits when splitting values
20370 2012-12-03 Allan McRae <allan@archlinux.org>
20372 * manual/stdio.texi (Predefined Printf Handlers): Remove
20373 @hsep and @vsep usage.
20375 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20377 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20378 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20380 2012-12-03 Jeff Law <law@redhat.com>
20382 * time/sys/time.h (settimeofday): Do not mark TV argument
20385 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20387 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20388 when currently writing and seek to current position when not.
20389 * libio/Makefile (tests): Remove bug-fclose1.
20390 * libio/bug-fclose1.c: Delete.
20392 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20394 * manual/arith.texi (feenableexcept): Fix typo.
20395 (fedisableexcept): Likewise.
20397 2012-11-30 Roland McGrath <roland@hack.frob.com>
20399 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20400 second, differently-typed declaration, rather than a cast.
20402 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20404 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20405 * include/rpc/svc.h: ... here.
20407 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20410 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20411 depending n and resplen2 to catch cases where answer
20414 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20416 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20417 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20419 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20421 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20423 2012-11-29 Roland McGrath <roland@hack.frob.com>
20425 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20427 2012-11-28 Jeff Law <law@redhat.com>
20430 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20431 dataset_temporary. Track alloca usage into alloca_used.
20432 If dataset is large allocate and release it via malloc/free.
20434 2012-06-04 Florian Weimer <fweimer@redhat.com>
20437 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20439 2012-11-28 David S. Miller <davem@davemloft.net>
20441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20443 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20446 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20447 of pi/2 rounded to nearest to 64 bits.
20448 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20449 nearest to 64 bits.
20450 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20453 2012-11-28 Jeff Law <law@redhat.com>
20454 Martin Osvald <mosvald@redhat.com>
20457 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20458 * sunrpc/svc.c: Include time.h.
20459 (__svc_accept_failed): New function.
20460 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20461 any reason other than EINTR, call __svc_accept_failed.
20462 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20463 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20465 2012-11-28 Andreas Schwab <schwab@suse.de>
20467 * scripts/abilist.awk: Also handle indirect functions in .opd
20470 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20473 * sysdeps/x86/fpu/powl_helper.c: New file.
20474 * sysdeps/x86/fpu/Makefile: Likewise.
20475 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20477 (__ieee754_powl): Use __powl_helper for finite arguments except
20478 integer exponents below 8.
20479 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20481 (__ieee754_powl): Use __powl_helper for finite arguments except
20482 integer exponents below 8.
20483 * math/libm-test.inc (pow_test): Add more tests and enable some
20484 previously disabled tests.
20485 * sysdeps/i386/fpu/libm-test-ulps: Update.
20486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20488 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20489 Carlos O'Donell <carlos_odonell@mentor.com>
20491 * nss/makedb.c (is_prime): Assert that input is odd and greater
20492 than 4. Note that fact in a comment too.
20493 (next_prime): Add 4 to input.
20495 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20498 * libio/Makefile (tests): Add test case tst-fwrite-error.
20499 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20500 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20501 * libio/tst-fwrite-error.c: New test case.
20503 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20505 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20506 before casting to void *.
20507 * include/libc-internal.h (__pointer_type): New macro.
20508 (__integer_if_pointer_type_sub): Likewise.
20509 (__integer_if_pointer_type): Likewise.
20510 (cast_to_integer): Likewise.
20511 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20512 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20513 before casting to atomic64_t.
20514 (atomic_exchange_acq): Likewise.
20515 (__arch_exchange_and_add_body): Likewise.
20516 (__arch_add_body): Likewise.
20517 (atomic_add_negative): Likewise.
20518 (atomic_add_zero): Likewise.
20520 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20522 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20523 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20524 (add_fdes): Likewise.
20525 (linear_search_fdes): Likewise.
20526 (binary_search_unencoded_fdes): Likewise.
20528 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20530 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20532 2012-11-24 Adam Conrad <adconrad@0c3.net>
20534 * configure.in: Autodetect C++ header directories.
20535 * configure: Regenerated.
20537 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20539 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20541 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20545 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20547 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20548 LDBL_MANT_DIG == 106]: Disable some tests.
20549 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20551 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20555 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20556 input for small inputs. Return +/- pi/2 for large inputs.
20557 * math/libm-test.inc (atan_test): Add more tests.
20559 * sysdeps/generic/unwind-dw2-fde-glibc.c
20560 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20561 __attribute__ ((unused)).
20564 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20565 x * y if x and y are nonzero and z is zero.
20568 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20569 nonzero exponents with absolute value below 0x1p-117 to +/-
20573 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20574 up arguments below 2**-450, not just those below 2**-500.
20575 * math/libm-test.inc (hypot_test): Add another test.
20578 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20579 Return a+b for ratio over 2**120, not 2**60.
20580 * math/libm-test.inc (hypot_test): Add another test.
20582 * math/libm-test.inc (clog_test): Use
20583 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20584 (clog10_test): Likewise.
20587 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20589 2012-11-22 Andreas Schwab <schwab@suse.de>
20591 * sysdeps/i386/fpu/libm-test-ulps: Update.
20593 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20595 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20596 printf output with newline.
20598 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20601 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20602 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20603 -z nodlopen, -z initfirst and -z execstack support.
20604 * configure: Regenerated.
20606 * elf/elf.h (DF_1_NODIRECT): New macro.
20607 (DF_1_IGNMULDEF): Likewise.
20608 (DF_1_NOKSYMS): Likewise.
20609 (DF_1_NOHDR): Likewise.
20610 (DF_1_EDITED): Likewise.
20611 (DF_1_NORELOC): Likewise.
20612 (DF_1_SYMINTPOSE): Likewise.
20613 (DF_1_GLOBAUDIT): Likewise.
20614 (DF_1_SINGLETON): Likewise.
20615 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20616 DT_1_SUPPORTED_MASK bits.
20617 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20619 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20621 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20623 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20625 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20628 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20629 (sendmmsg): Move declarations...
20630 * socket/sys/socket.h: ... here.
20631 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20632 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20634 * socket/recvmmsg.c: ... this new file.
20635 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20636 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20637 definition of __sendmmsg hidden.
20638 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20639 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20640 Move ENOSYS stub into and include it from...
20641 * socket/sendmmsg.c: ... this new file.
20642 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20643 (sysdep_routines): Move recvmmsg and sendmmsg...
20644 * socket/Makefile (routines): ... here.
20645 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20646 (GLIBC_PRIVATE): Add __sendmmsg.
20647 * include/sys/socket.h (__sendmmsg): Add declarations.
20648 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20651 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20653 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20654 variable I1 with __attribute__ ((unused)).
20655 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20657 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20659 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20660 DUMMY variables with __attribute__ ((unused)).
20662 * bits/byteswap.h: Include <bits/types.h>.
20663 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20665 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20667 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20668 string_t. Do not manually set errno.
20669 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20670 length with __strnlen. Make sure to both set errno and return it on
20673 2012-11-19 David S. Miller <davem@davemloft.net>
20675 With help from Joseph Myers.
20676 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20677 very large arguments properly.
20678 * math/libm-test.inc (atan_test): New tests.
20679 (atan2_test): New tests.
20680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20681 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20683 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20686 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20689 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20690 [POSIX] (EADDRNOTAVAIL): Likewise.
20691 [POSIX] (EAFNOSUPPORT): Likewise.
20692 [POSIX] (EALREADY): Likewise.
20693 [POSIX] (ECONNABORTED): Likewise.
20694 [POSIX] (ECONNREFUSED): Likewise.
20695 [POSIX] (ECONNRESET): Likewise.
20696 [POSIX] (EDESTADDRREQ): Likewise.
20697 [POSIX] (EDQUOT): Likewise.
20698 [POSIX] (EHOSTUNREACH): Likewise.
20699 [POSIX] (EIDRM): Likewise.
20700 [POSIX] (EISCONN): Likewise.
20701 [POSIX] (ELOOP): Likewise.
20702 [POSIX] (EMULTIHOP): Likewise.
20703 [POSIX] (ENETDOWN): Likewise.
20704 [POSIX] (ENETUNREACH): Likewise.
20705 [POSIX] (ENOBUFS): Likewise.
20706 [POSIX] (ENODATA): Likewise.
20707 [POSIX] (ENOLINK): Likewise.
20708 [POSIX] (ENOMSG): Likewise.
20709 [POSIX] (ENOPROTOOPT): Likewise.
20710 [POSIX] (ENOSR): Likewise.
20711 [POSIX] (ENOSTR): Likewise.
20712 [POSIX] (ENOTCONN): Likewise.
20713 [POSIX] (ENOTSOCK): Likewise.
20714 [POSIX] (EOPNOTSUPP): Likewise.
20715 [POSIX] (EOVERFLOW): Likewise.
20716 [POSIX] (EPROTO): Likewise.
20717 [POSIX] (EPROTONOSUPPORT): Likewise.
20718 [POSIX] (EPROTOTYPE): Likewise.
20719 [POSIX] (ESTALE): Likewise.
20720 [POSIX] (ETIME): Likewise.
20721 [POSIX] (ETXTBSY): Likewise.
20722 [POSIX] (EWOULDBLOCK): Likewise.
20723 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20724 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20725 [POSIX] (SEEK_CUR): Likewise.
20726 [POSIX] (SEEK_END): Likewise.
20727 [POSIX || UNIX98] (mode_t): Do not require.
20728 [POSIX] (off_t): Likewise.
20729 [POSIX] (pid_t): Likewise.
20730 [POSIX] (sys/stat.h): Do not allow header.
20731 [POSIX] (unistd.h): Likewise.
20732 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20733 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20734 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20735 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20737 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20738 sigevent): Specify elements.
20739 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20741 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20742 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20744 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20745 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20746 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20747 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20748 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20749 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20750 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20751 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20752 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20753 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20754 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20755 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20756 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20757 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20759 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20761 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20763 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20765 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20766 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20767 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20768 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20769 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20770 Specify lower bound on value.
20771 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20772 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20773 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20774 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20775 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20776 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20777 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20778 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20780 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20782 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20783 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20784 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20785 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20786 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20787 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20788 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20789 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20790 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20791 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20792 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20793 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20794 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20795 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20796 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20797 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20799 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20801 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20802 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20803 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20804 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20805 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20806 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20808 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20809 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20810 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20811 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20812 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20813 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20814 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20816 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20817 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20818 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20819 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20820 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20821 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20822 specify as optional.
20823 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20824 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20825 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20826 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20827 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20828 [XPG3] (NL_LANGMAX): Likewise.
20829 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20830 [POSIX || XPG3] (NL_NMAX): Likewise.
20831 [POSIX || XPG3] (NL_SETMAX): Likewise.
20832 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20833 [XPG3] (NZERO): Likewise.
20834 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20835 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20836 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20837 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20838 (REG_ERANGE): Expect.
20839 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20841 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20842 Use (void) in prototype.
20843 [POSIX] (*_t): Allow.
20844 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20845 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20846 (WRDE_BADVAL): Expect.
20848 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20850 [XPG3 || XPG4] (O_RSYNC): Likewise.
20851 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20853 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20854 [XPG3 || XPG4] (sigqueue): Likewise.
20855 [XPG3 || XPG4] (sigtimedwait): Likewise.
20856 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20857 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20858 [XPG3 || XPG4] (vsnprintf): Likewise.
20859 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20861 [XPG3 || XPG4] (blksize_t): Likewise.
20862 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20864 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20865 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20866 [XPG3 || XPG4] (struct itimerspec): Likewise.
20867 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20868 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20869 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20870 [XPG3 || XPG4] (clockid_t): Likewise.
20871 [XPG3 || XPG4] (timer_t): Likewise.
20872 [XPG3 || XPG4] (clock_getres): Likewise.
20873 [XPG3 || XPG4] (clock_gettime): Likewise.
20874 [XPG3 || XPG4] (clock_settime): Likewise.
20875 [XPG3 || XPG4] (nanosleep): Likewise.
20876 [XPG3 || XPG4] (timer_create): Likewise.
20877 [XPG3 || XPG4] (timer_delete): Likewise.
20878 [XPG3 || XPG4] (timer_gettime): Likewise.
20879 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20880 [XPG3 || XPG4] (timer_settime): Likewise.
20881 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20882 [XPG3 || XPG4] (getlogin_r): Likewise.
20883 [XPG3 || XPG4] (pread): Likewise.
20884 [XPG3 || XPG4] (pthread_atfork): Likewise.
20885 [XPG3 || XPG4] (pwrite): Likewise.
20888 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20891 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20893 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20894 finalizing MALLSTREAM.
20896 * sysdeps/mach/hurd/syncfs.c: New file.
20898 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20901 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20902 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20903 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20904 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20905 (_nss_dns_gethostbyname4_r): Likewise.
20906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20907 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20909 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20912 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20914 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20916 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20917 * elf/cache.c (print_entry): Print ",AArch64" for
20920 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20921 * elf/cache.c (print_entry): Print ",hard-float" for
20924 2012-11-18 David S. Miller <davem@davemloft.net>
20926 With help from Joseph Myers.
20927 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20929 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20931 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20932 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20934 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20935 * math/libm-test.inc (y0_test): New tests.
20936 (y1_test): New tests.
20937 * sysdeps/i386/fpu/libm-test-ulps: Update.
20938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20941 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20943 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20945 * configure: Regenerated.
20947 2012-11-17 David S. Miller <davem@davemloft.net>
20950 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20951 nonzero exponents with absolute value below 0x1p-128 to +/-
20954 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20956 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20958 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20960 * posix/getconf-speclist.c: New file.
20961 * posix/posix-envs.def: Likewise.
20962 * posix/confstr.c (START_ENV_GROUP): New macro.
20963 (END_ENV_GROUP): Likewise.
20964 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20965 (KNOWN_PRESENT_ENV_STRING): Likewise.
20966 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20967 (UNKNOWN_ENVIRONMENT): Likewise.
20968 (confstr): Include posix-envs.def instead of handling
20969 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20970 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20971 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20972 (END_ENV_GROUP): Likewise.
20973 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20974 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20975 (UNKNOWN_ENVIRONMENT): Likewise.
20976 (__sysconf): Include posix-envs.def instead of handling associated
20977 cases directly here.
20978 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20979 preprocessing getconf-speclist.c rather than running getconf or
20980 generating empty file.
20982 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20984 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20986 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20989 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20991 2012-11-16 David S. Miller <davem@davemloft.net>
20993 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20994 smaller than LDBL_EPSILON/2.0L, just return xm1.
20996 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20998 * elf/tst-array1.c (init): Set constructor priority to 1000.
20999 (fini): Set destructor priority to 1000.
21000 * elf/tst-array2dep.c: Likewise.
21002 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21005 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21006 (_IO_new_file_xsputn): Also return EOF if none of the input
21007 data was written when overflow failed.
21008 * libio/iopadn.c (_IO_padn): Likewise.
21009 * libio/iowpadn.c (_IO_wpadn): Likewise.
21010 * stdio-common/tst-put-error.c: Add copyright notice.
21011 (do_test): Add case for printing padded string.
21012 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21013 _IO_padn returned error.
21014 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21015 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21018 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21020 * libio/libioP.h: Add comment note that the references to C++
21021 bits are now obsolete.
21023 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21025 * math/libm-test.inc (check_complex): Use asprintf.
21027 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21029 * debug/pcprofiledump.c (print_version): Update copyright year.
21030 * malloc/memusagestat.c (print_version): Likewise.
21032 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21035 * elf/Makefile (tests): Add tst-audit8.
21036 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21037 ($(objpfx)tst-audit8.out): New target.
21038 (tst-audit8-ENV): New variable.
21039 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21040 audit if l_reloc_result is NULL.
21041 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21042 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21043 * elf/tst-audit8.c: New file.
21045 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21047 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21048 * misc/Makefile (CFLAGS-select.c): Define.
21049 * posix/Makefile (CFLAGS-pause.c): Define.
21051 2012-11-13 David S. Miller <davem@davemloft.net>
21053 * crypt/Makefile: Move test targets after toplevel Rules
21054 inclusion. Grab any necessary sysdep routines when linking.
21055 * crypt/md5.c (md5_process_block): Remove define, we will always
21056 name it __md5_process_block.
21057 (md5_finish_ctx): Update md5_process_block call.
21058 (md5_stream): Likewise.
21059 (md5_process_bytes): Likewise.
21060 (md5_process_block): Rename to __md5_process_block and move to ...
21061 * crypt/md5-block.c: ... here.
21062 * crypt/sha256.c (sha256_process_block): Move to ...
21063 * crypt/sha256-block.c: ... here.
21064 * crypt/sha512.c (sha512_process_block): Move to ...
21065 * crypt/sha512-block.c: ... here.
21066 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21068 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21069 * sysdeps/sparc/sparc64/multiarch/Makefile
21070 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21072 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21073 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21075 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21076 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21077 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21078 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21079 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21080 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21081 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21082 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21083 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21085 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21086 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21088 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21090 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21092 * timezone/tzselect.ksh: Update from tzcode git revision
21093 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21094 * timezone/zdump.c: Likewise.
21095 * timezone/zic.c: Likewise.
21096 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21097 in TZVERSION setting, not $(PKGVERSION).
21098 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21099 REPORT_BUGS_TO settings.
21102 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21105 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21107 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21108 detection to immediately after _FP_ROUND().
21109 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21112 2012-11-11 David S. Miller <davem@davemloft.net>
21114 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21116 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21117 __close rather than their public counterparts.
21119 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21121 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21123 [UNIX98] (sem_timedwait): Do not expect.
21124 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21125 [XPG4 || UNIX98] (sockatmark): Do not expect.
21126 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21127 (clock_getcpuclockid): Do not expect.
21128 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21129 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21131 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21132 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21133 [UNIX98] (vwscanf): Likewise.
21134 [UNIX98] (vswscanf): Likewise.
21136 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21138 * timezone/version.h: Remove file.
21139 * timezone/README: Do not refer to version.h.
21140 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21141 $(objpfx)version.h.
21142 ($(objpfx)zdump.o): Likewise.
21143 ($(objpfx)version.h): New target.
21145 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21147 * timezone/README: Don't mention modification to tzselect.ksh.
21148 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21149 work on unmodified tzselect.ksh. Substitute version numbers in
21152 * Makefile (format-me): Remove.
21153 (INSTALL): Adjust indentation. Use commands directly instead of
21154 using $(format-me).
21156 * aclocal.m4 (ACX_PKGVERSION): New macro.
21157 (ACX_BUGURL): Likewise.
21158 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21159 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21160 (REPORT_BUGS_TO): Likewise.
21161 * configure: Regenerated.
21162 * config.h.in (PKGVERSION): New macro.
21163 (REPORT_BUGS_TO): Likewise.
21164 * config.make.in (PKGVERSION): New variable.
21165 (PKGVERSION_TEXI): Likewise.
21166 (REPORT_BUGS_TO): Likewise.
21167 (REPORT_BUGS_TEXI): Likewise.
21168 * Makefile (format-me): Use -I$(common-objpfx)manual.
21169 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21170 ($(common-objpfx)manual/%): New target.
21171 (manual/%): Remove target.
21172 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21173 (print_version): Use PKGVERSION.
21174 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21175 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21176 and REPORT_BUGS_TO.
21177 ($(objpfx)xtrace): Likewise.
21178 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21179 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21180 (print_version): Use PKGVERSION.
21181 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21182 (do_version): Use PKGVERSION.
21183 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21185 (common-ldd-rewrite): Likewise.
21186 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21187 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21188 (print_version): Use PKGVERSION.
21189 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21190 * elf/pldd.c (argp_program_bug_address): Remove variable.
21191 (more_help): New function.
21192 (argp): Use more_help.
21193 (print_version): Use PKGVERSION.
21194 * elf/sln.c (main): Use PKGVERSION.
21195 (usage): Use REPORT_BUGS_TO.
21196 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21197 (top level): Use PKGVERSION.
21198 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21199 (print_version): Use PKGVERSION.
21200 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21201 (print_version): Use PKGVERSION.
21202 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21203 (print_version): Use PKGVERSION.
21204 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21205 (print_version): Use PKGVERSION.
21206 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21207 (print_version): Use PKGVERSION.
21208 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21209 (print_version): Use PKGVERSION.
21210 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21212 ($(objpfx)memusage): Likewise.
21213 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21214 (do_version): Use PKGVERSION.
21215 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21216 (print_version): Use PKGVERSION.
21217 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21218 ($PKGVERSION): New variable.
21219 ($REPORT_BUGS_TO): Likewise.
21220 (usage): Use $REPORT_BUGS_TO.
21221 (top level): Use $PKGVERSION.
21222 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21223 ($(objpfx)pkgvers.texi): New rule.
21224 ($(objpfx)stamp-pkgvers): Likewise.
21225 * manual/install.texi: Include pkgvers.texi.
21226 (--with-pkgversion): Document new configure option.
21227 (--with-bugurl): Likewise.
21228 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21229 than necessarily for this particular distribution. Use
21230 REPORT_BUGS_TO for where to report bugs.
21231 * INSTALL: Regenerated.
21232 * manual/libc.texinfo: Include pkgvers.texi.
21233 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21234 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21235 (print_version): Use PKGVERSION.
21236 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21237 (print_version): Use PKGVERSION.
21238 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21239 (print_version): Use PKGVERSION.
21240 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21241 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21243 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21244 (print_version): Use PKGVERSION.
21245 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21246 (print_version): Use PKGVERSION.
21247 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21250 * timezone/checktab.awk: Update from tzcode 2012i.
21251 * timezone/ialloc.c: Likewise.
21252 * timezone/private.h: Likewise.
21253 * timezone/scheck.c: Likewise.
21254 * timezone/tzfile.h: Likewise.
21255 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21256 (TZVERSION): Hardcode tzcode version number.
21257 * timezone/zdump.c: Update from tzcode 2012i.
21258 * timezone/zic.c: Likewise.
21259 * timezone/version.h: New file.
21260 * timezone/README: Describe version.h. Update upstream location.
21263 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21264 (mktemp): Enable declaration.
21265 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21266 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21267 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21268 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21270 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21272 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21274 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21276 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21278 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21282 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21283 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21284 for copies of such integer values.
21285 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21286 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21288 2012-11-09 Andreas Jaeger <aj@suse.de>
21290 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21291 definitions and declarations that are provided by
21292 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21294 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21296 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21297 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21298 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21301 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21303 * elf/elf.h: Update comment before AArch64 relocations.
21305 2012-11-07 David S. Miller <davem@davemloft.net>
21307 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21308 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21309 (__start_context): Declare.
21310 (__makecontext_ret): Delete.
21311 (__makecontext): Hook up __start_context instead of
21313 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21314 (sysdep_routines): Add __start_context when in stdlib.
21316 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21318 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21319 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21320 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21322 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21323 (READELF): New variable. Use it instead of hardcoded "readelf".
21325 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21327 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21328 * sysdeps/x86/Makefile: Here.
21329 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21330 * sysdeps/x86/tst-xmmymm.sh: This.
21332 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21334 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21336 [UNIX98] (pthread_barrier_t): Do not expect.
21337 [UNIX98] (pthread_barrierattr_t): Likewise.
21338 [UNIX98] (pthread_spinlock_t): Likewise.
21339 [UNIX98] (pthread_barrier_destroy): Likewise.
21340 [UNIX98] (pthread_barrier_init): Likewise.
21341 [UNIX98] (pthread_barrier_wait): Likewise.
21342 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21343 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21344 [UNIX98] (pthread_barrierattr_init): Likewise.
21345 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21346 [UNIX98] (pthread_getcpuclockid): Likewise.
21347 [UNIX98] (pthread_mutex_timedlock): Likewise.
21348 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21349 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21350 [UNIX98] (pthread_sigmask): Likewise.
21351 [UNIX98] (pthread_spin_destroy): Likewise.
21352 [UNIX98] (pthread_spin_init): Likewise.
21353 [UNIX98] (pthread_spin_lock): Likewise.
21354 [UNIX98] (pthread_spin_trylock): Likewise.
21355 [UNIX98] (pthread_spin_unlock): Likewise.
21356 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21358 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21359 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21360 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21361 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21362 [XPG3 || XPG4] (pthread_key_t): Likewise.
21363 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21364 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21365 [XPG3 || XPG4] (pthread_once_t): Likewise.
21366 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21367 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21368 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21369 [XPG3 || XPG4] (pthread_t): Likewise.
21371 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21373 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21375 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21376 Change function return type to int.
21378 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21379 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21380 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21381 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21382 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21383 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21384 [!POSIX] (posix_madvise): Likewise.
21385 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21387 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21388 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21389 (mode_t): Likewise.
21390 (posix_mem_offset): Likewise.
21391 (posix_typed_mem_get_info): Likewise.
21392 (posix_typed_mem_open): Likewise.
21394 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21395 Change condition to [XOPEN2K8].
21397 * conform/conformtest.pl: Preprocess allow-header data with -x c
21398 instead of from stdin.
21399 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21400 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21401 [C99-based standards] (cerfc): Likewise.
21402 [C99-based standards] (cexp2): Likewise.
21403 [C99-based standards] (cexpm1): Likewise.
21404 [C99-based standards] (clog10): Likewise.
21405 [C99-based standards] (clog1p): Likewise.
21406 [C99-based standards] (clog2): Likewise.
21407 [C99-based standards] (clgamma): Likewise.
21408 [C99-based standards] (ctgamma): Likewise.
21409 [C99-based standards] (cerff): Likewise.
21410 [C99-based standards] (cerfcf): Likewise.
21411 [C99-based standards] (cexp2f): Likewise.
21412 [C99-based standards] (cexpm1f): Likewise.
21413 [C99-based standards] (clog10f): Likewise.
21414 [C99-based standards] (clog1pf): Likewise.
21415 [C99-based standards] (clog2f): Likewise.
21416 [C99-based standards] (clgammaf): Likewise.
21417 [C99-based standards] (ctgammaf): Likewise.
21418 [C99-based standards] (cerfl): Likewise.
21419 [C99-based standards] (cerfcl): Likewise.
21420 [C99-based standards] (cexp2l): Likewise.
21421 [C99-based standards] (cexpm1l): Likewise.
21422 [C99-based standards] (clog10l): Likewise.
21423 [C99-based standards] (clog1pl): Likewise.
21424 [C99-based standards] (clog2l): Likewise.
21425 [C99-based standards] (clgammal): Likewise.
21426 [C99-based standards] (ctgammal): Likewise.
21427 * conform/data/inttypes.h-data [C99-based standards]: Include
21428 stdint.h-data. Remove all expectations for stdint.h contents.
21429 [C99-based standards] (PRI*): Do not allow.
21430 [C99-based standards] (SCN*): Likewise.
21431 [C99-based standards] (*_t): Likewise.
21432 [C99-based-standards] (PRId8): Expect macro.
21433 [C99-based-standards] (PRIi8): Likewise.
21434 [C99-based-standards] (PRIo8): Likewise.
21435 [C99-based-standards] (PRIu8): Likewise.
21436 [C99-based-standards] (PRIx8): Likewise.
21437 [C99-based-standards] (PRIX8): Likewise.
21438 [C99-based-standards] (SCNd8): Likewise.
21439 [C99-based-standards] (SCNi8): Likewise.
21440 [C99-based-standards] (SCNo8): Likewise.
21441 [C99-based-standards] (SCNu8): Likewise.
21442 [C99-based-standards] (SCNx8): Likewise.
21443 [C99-based-standards] (PRIdLEAST8): Likewise.
21444 [C99-based-standards] (PRIiLEAST8): Likewise.
21445 [C99-based-standards] (PRIoLEAST8): Likewise.
21446 [C99-based-standards] (PRIuLEAST8): Likewise.
21447 [C99-based-standards] (PRIxLEAST8): Likewise.
21448 [C99-based-standards] (PRIXLEAST8): Likewise.
21449 [C99-based-standards] (SCNdLEAST8): Likewise.
21450 [C99-based-standards] (SCNiLEAST8): Likewise.
21451 [C99-based-standards] (SCNoLEAST8): Likewise.
21452 [C99-based-standards] (SCNuLEAST8): Likewise.
21453 [C99-based-standards] (SCNxLEAST8): Likewise.
21454 [C99-based-standards] (PRIdFAST8): Likewise.
21455 [C99-based-standards] (PRIiFAST8): Likewise.
21456 [C99-based-standards] (PRIoFAST8): Likewise.
21457 [C99-based-standards] (PRIuFAST8): Likewise.
21458 [C99-based-standards] (PRIxFAST8): Likewise.
21459 [C99-based-standards] (PRIXFAST8): Likewise.
21460 [C99-based-standards] (SCNdFAST8): Likewise.
21461 [C99-based-standards] (SCNiFAST8): Likewise.
21462 [C99-based-standards] (SCNoFAST8): Likewise.
21463 [C99-based-standards] (SCNuFAST8): Likewise.
21464 [C99-based-standards] (SCNxFAST8): Likewise.
21465 [C99-based-standards] (PRId16): Likewise.
21466 [C99-based-standards] (PRIi16): Likewise.
21467 [C99-based-standards] (PRIo16): Likewise.
21468 [C99-based-standards] (PRIu16): Likewise.
21469 [C99-based-standards] (PRIx16): Likewise.
21470 [C99-based-standards] (PRIX16): Likewise.
21471 [C99-based-standards] (SCNd16): Likewise.
21472 [C99-based-standards] (SCNi16): Likewise.
21473 [C99-based-standards] (SCNo16): Likewise.
21474 [C99-based-standards] (SCNu16): Likewise.
21475 [C99-based-standards] (SCNx16): Likewise.
21476 [C99-based-standards] (PRIdLEAST16): Likewise.
21477 [C99-based-standards] (PRIiLEAST16): Likewise.
21478 [C99-based-standards] (PRIoLEAST16): Likewise.
21479 [C99-based-standards] (PRIuLEAST16): Likewise.
21480 [C99-based-standards] (PRIxLEAST16): Likewise.
21481 [C99-based-standards] (PRIXLEAST16): Likewise.
21482 [C99-based-standards] (SCNdLEAST16): Likewise.
21483 [C99-based-standards] (SCNiLEAST16): Likewise.
21484 [C99-based-standards] (SCNoLEAST16): Likewise.
21485 [C99-based-standards] (SCNuLEAST16): Likewise.
21486 [C99-based-standards] (SCNxLEAST16): Likewise.
21487 [C99-based-standards] (PRIdFAST16): Likewise.
21488 [C99-based-standards] (PRIiFAST16): Likewise.
21489 [C99-based-standards] (PRIoFAST16): Likewise.
21490 [C99-based-standards] (PRIuFAST16): Likewise.
21491 [C99-based-standards] (PRIxFAST16): Likewise.
21492 [C99-based-standards] (PRIXFAST16): Likewise.
21493 [C99-based-standards] (SCNdFAST16): Likewise.
21494 [C99-based-standards] (SCNiFAST16): Likewise.
21495 [C99-based-standards] (SCNoFAST16): Likewise.
21496 [C99-based-standards] (SCNuFAST16): Likewise.
21497 [C99-based-standards] (SCNxFAST16): Likewise.
21498 [C99-based-standards] (PRId32): Likewise.
21499 [C99-based-standards] (PRIi32): Likewise.
21500 [C99-based-standards] (PRIo32): Likewise.
21501 [C99-based-standards] (PRIu32): Likewise.
21502 [C99-based-standards] (PRIx32): Likewise.
21503 [C99-based-standards] (PRIX32): Likewise.
21504 [C99-based-standards] (SCNd32): Likewise.
21505 [C99-based-standards] (SCNi32): Likewise.
21506 [C99-based-standards] (SCNo32): Likewise.
21507 [C99-based-standards] (SCNu32): Likewise.
21508 [C99-based-standards] (SCNx32): Likewise.
21509 [C99-based-standards] (PRIdLEAST32): Likewise.
21510 [C99-based-standards] (PRIiLEAST32): Likewise.
21511 [C99-based-standards] (PRIoLEAST32): Likewise.
21512 [C99-based-standards] (PRIuLEAST32): Likewise.
21513 [C99-based-standards] (PRIxLEAST32): Likewise.
21514 [C99-based-standards] (PRIXLEAST32): Likewise.
21515 [C99-based-standards] (SCNdLEAST32): Likewise.
21516 [C99-based-standards] (SCNiLEAST32): Likewise.
21517 [C99-based-standards] (SCNoLEAST32): Likewise.
21518 [C99-based-standards] (SCNuLEAST32): Likewise.
21519 [C99-based-standards] (SCNxLEAST32): Likewise.
21520 [C99-based-standards] (PRIdFAST32): Likewise.
21521 [C99-based-standards] (PRIiFAST32): Likewise.
21522 [C99-based-standards] (PRIoFAST32): Likewise.
21523 [C99-based-standards] (PRIuFAST32): Likewise.
21524 [C99-based-standards] (PRIxFAST32): Likewise.
21525 [C99-based-standards] (PRIXFAST32): Likewise.
21526 [C99-based-standards] (SCNdFAST32): Likewise.
21527 [C99-based-standards] (SCNiFAST32): Likewise.
21528 [C99-based-standards] (SCNoFAST32): Likewise.
21529 [C99-based-standards] (SCNuFAST32): Likewise.
21530 [C99-based-standards] (SCNxFAST32): Likewise.
21531 [C99-based-standards] (PRId64): Likewise.
21532 [C99-based-standards] (PRIi64): Likewise.
21533 [C99-based-standards] (PRIo64): Likewise.
21534 [C99-based-standards] (PRIu64): Likewise.
21535 [C99-based-standards] (PRIx64): Likewise.
21536 [C99-based-standards] (PRIX64): Likewise.
21537 [C99-based-standards] (SCNd64): Likewise.
21538 [C99-based-standards] (SCNi64): Likewise.
21539 [C99-based-standards] (SCNo64): Likewise.
21540 [C99-based-standards] (SCNu64): Likewise.
21541 [C99-based-standards] (SCNx64): Likewise.
21542 [C99-based-standards] (PRIdLEAST64): Likewise.
21543 [C99-based-standards] (PRIiLEAST64): Likewise.
21544 [C99-based-standards] (PRIoLEAST64): Likewise.
21545 [C99-based-standards] (PRIuLEAST64): Likewise.
21546 [C99-based-standards] (PRIxLEAST64): Likewise.
21547 [C99-based-standards] (PRIXLEAST64): Likewise.
21548 [C99-based-standards] (SCNdLEAST64): Likewise.
21549 [C99-based-standards] (SCNiLEAST64): Likewise.
21550 [C99-based-standards] (SCNoLEAST64): Likewise.
21551 [C99-based-standards] (SCNuLEAST64): Likewise.
21552 [C99-based-standards] (SCNxLEAST64): Likewise.
21553 [C99-based-standards] (PRIdFAST64): Likewise.
21554 [C99-based-standards] (PRIiFAST64): Likewise.
21555 [C99-based-standards] (PRIoFAST64): Likewise.
21556 [C99-based-standards] (PRIuFAST64): Likewise.
21557 [C99-based-standards] (PRIxFAST64): Likewise.
21558 [C99-based-standards] (PRIXFAST64): Likewise.
21559 [C99-based-standards] (SCNdFAST64): Likewise.
21560 [C99-based-standards] (SCNiFAST64): Likewise.
21561 [C99-based-standards] (SCNoFAST64): Likewise.
21562 [C99-based-standards] (SCNuFAST64): Likewise.
21563 [C99-based-standards] (SCNxFAST64): Likewise.
21564 [C99-based-standards] (PRIdMAX): Likewise.
21565 [C99-based-standards] (PRIiMAX): Likewise.
21566 [C99-based-standards] (PRIoMAX): Likewise.
21567 [C99-based-standards] (PRIuMAX): Likewise.
21568 [C99-based-standards] (PRIxMAX): Likewise.
21569 [C99-based-standards] (PRIXMAX): Likewise.
21570 [C99-based-standards] (SCNdMAX): Likewise.
21571 [C99-based-standards] (SCNiMAX): Likewise.
21572 [C99-based-standards] (SCNoMAX): Likewise.
21573 [C99-based-standards] (SCNuMAX): Likewise.
21574 [C99-based-standards] (SCNxMAX): Likewise.
21575 [C99-based-standards] (PRIdPTR): Likewise.
21576 [C99-based-standards] (PRIiPTR): Likewise.
21577 [C99-based-standards] (PRIoPTR): Likewise.
21578 [C99-based-standards] (PRIuPTR): Likewise.
21579 [C99-based-standards] (PRIxPTR): Likewise.
21580 [C99-based-standards] (PRIXPTR): Likewise.
21581 [C99-based-standards] (SCNdPTR): Likewise.
21582 [C99-based-standards] (SCNiPTR): Likewise.
21583 [C99-based-standards] (SCNoPTR): Likewise.
21584 [C99-based-standards] (SCNuPTR): Likewise.
21585 [C99-based-standards] (SCNxPTR): Likewise.
21586 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21588 * conform/data/stdint.h-data: Update comments to clarify
21590 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21592 [C99-based standards] (INT8_MAX): Likewise.
21593 [C99-based standards] (INT16_MIN): Likewise.
21594 [C99-based standards] (INT16_MAX): Likewise.
21595 [C99-based standards] (INT32_MIN): Likewise.
21596 [C99-based standards] (INT32_MAX): Likewise.
21597 [C99-based standards] (INT64_MIN): Likewise.
21598 [C99-based standards] (INT64_MAX): Likewise.
21599 [C99-based standards] (UINT8_MAX): Likewise.
21600 [C99-based standards] (UINT16_MAX): Likewise.
21601 [C99-based standards] (UINT32_MAX): Likewise.
21602 [C99-based standards] (UINT64_MAX): Likewise.
21603 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21604 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21605 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21606 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21607 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21608 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21609 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21610 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21611 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21612 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21613 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21614 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21615 [C99-based standards] (INT_FAST8_MIN): Likewise.
21616 [C99-based standards] (INT_FAST8_MAX): Likewise.
21617 [C99-based standards] (INT_FAST16_MIN): Likewise.
21618 [C99-based standards] (INT_FAST16_MAX): Likewise.
21619 [C99-based standards] (INT_FAST32_MIN): Likewise.
21620 [C99-based standards] (INT_FAST32_MAX): Likewise.
21621 [C99-based standards] (INT_FAST64_MIN): Likewise.
21622 [C99-based standards] (INT_FAST64_MAX): Likewise.
21623 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21624 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21625 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21626 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21627 [C99-based standards] (INTPTR_MIN): Likewise.
21628 [C99-based standards] (INTPTR_MAX): Likewise.
21629 [C99-based standards] (UINTPTR_MAX): Likewise.
21630 [C99-based standards] (INTMAX_MIN): Likewise.
21631 [C99-based standards] (INTMAX_MAX): Likewise.
21632 [C99-based standards] (UINTMAX_MAX): Likewise.
21633 [C99-based standards] (PTRDIFF_MIN): Likewise.
21634 [C99-based standards] (PTRDIFF_MAX): Likewise.
21635 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21636 [C99-based standards] (SIZE_MAX): Likewise.
21637 [C99-based standards] (WCHAR_MAX): Likewise.
21638 [C99-based standards] (WINT_MAX): Likewise.
21639 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21640 constraint on value.
21641 [C99-based standards] (WCHAR_MIN): Likewise.
21642 [C99-based standards] (WINT_MIN): Likewise.
21643 [C99-based standards] (*_t): Allow.
21644 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21645 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21646 Include math.h-data and complex.h-data. Remove all expectations
21647 of math.h and complex.h contents.
21648 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21650 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21651 (struct tm): Expect tag.
21652 [C99-based-standards] (wcstof): Expect function.
21653 [C99-based-standards] (wcstold): Likewise.
21654 [C99-based-standards] (wcstoll): Likewise.
21655 [C99-based-standards] (wcstoull): Likewise.
21656 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21657 macro-int-constant. Specify type.
21658 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21659 constraint on value.
21660 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21662 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21664 [ISO C standards]: Do not allow headers.
21665 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21666 wcs[abcdefghijklmnopqrstuvwxyz]*.
21667 [ISO C standards] (*_t): Do not allow.
21668 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21670 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21671 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21673 [ISO C standards]: Do not allow headers.
21674 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21675 is[abcdefghijklmnopqrstuvwxyz]*.
21676 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21677 to[abcdefghijklmnopqrstuvwxyz]*.
21678 [ISO C standards] (*_t): Do not allow.
21679 * conform/data/stdalign.h-data: New file.
21680 * conform/data/stdbool.h-data: Likewise.
21681 * conform/data/stdnoreturn.h-data: Likewise.
21683 2012-11-07 Roland McGrath <roland@hack.frob.com>
21686 * manual/filesys.texi (Directory Entries): Typo fix.
21687 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21689 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21691 * elf/elf.h (EM_AARCH64): New macro.
21692 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21693 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21694 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21695 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21696 (R_AARCH64_TLSDESC): Likewise.
21697 (NT_ARM_TLS): Likewise.
21698 (NT_ARM_HW_BREAK): Likewise.
21699 (NT_ARM_HW_WATCH): Likewise.
21701 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21704 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21705 (__ieee754_powl): Saturate nonzero exponents with absolute value
21706 below 0x1p-79 to +/- 0x1p-79.
21707 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21708 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21709 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21710 nonzero exponents with absolute value below 0x1p-32 to +/-
21712 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21713 (__ieee754_powl): Saturate nonzero exponents with absolute value
21714 below 0x1p-79 to +/- 0x1p-79.
21715 * math/libm-test.inc (pow_test): Add more tests.
21717 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21719 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21720 _dl_s390_cap_flags with kernel. Increase string length.
21721 (_dl_s390_platforms): Add z196 and zEC12.
21723 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21725 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21726 Change XOPEN21K to XOPEN2K.
21728 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21730 * string/memmove.c: Use memcpy when possible.
21732 2012-11-06 Andreas Jaeger <aj@suse.de>
21734 * po/eo.po: Update from translation team.
21736 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21739 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21740 exponent and small x and y exponents, scale x or y up. Increase
21741 by 2 the exponent used in scaling up.
21742 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21743 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21744 * math/libm-test.inc (fma_test): Add more tests.
21745 (fma_test_towardzero): Likewise.
21746 (fma_test_downward): Likewise.
21747 (fma_test_upward): Likewise.
21749 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21752 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21756 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21757 namespace for names of struct fields.
21758 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21760 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21761 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21763 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21766 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21768 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21770 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21774 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21777 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21780 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21781 definitely overflow as x * y not x * y + z.
21782 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21783 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21784 * math/libm-test.inc (fma_test): Add more tests.
21785 (fma_test_towardzero): Likewise.
21786 (fma_test_downward): Likewise.
21787 (fma_test_upward): Likewise.
21789 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21793 * include/stub-tag.h: Remove file.
21794 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21796 * manual/maint.texi (Porting): Don't reference it.
21797 * Makerules ($(objpfx)stubs): Likewise.
21798 * dirent/closedir.c: Don't include <stub-tag.h>.
21799 * dirent/dirfd.c: Likewise.
21800 * dirent/fdopendir.c: Likewise.
21801 * dirent/getdents.c: Likewise.
21802 * dirent/getdents64.c: Likewise.
21803 * dirent/opendir.c: Likewise.
21804 * dirent/readdir.c: Likewise.
21805 * dirent/readdir64.c: Likewise.
21806 * dirent/readdir64_r.c: Likewise.
21807 * dirent/readdir_r.c: Likewise.
21808 * dirent/rewinddir.c: Likewise.
21809 * dirent/seekdir.c: Likewise.
21810 * dirent/telldir.c: Likewise.
21811 * gmon/profil.c: Likewise.
21812 * grp/setgroups.c: Likewise.
21813 * inet/if_index.c: Likewise.
21814 * io/access.c: Likewise.
21815 * io/chdir.c: Likewise.
21816 * io/chmod.c: Likewise.
21817 * io/chown.c: Likewise.
21818 * io/close.c: Likewise.
21819 * io/dup.c: Likewise.
21820 * io/dup2.c: Likewise.
21821 * io/dup3.c: Likewise.
21822 * io/euidaccess.c: Likewise.
21823 * io/faccessat.c: Likewise.
21824 * io/fchdir.c: Likewise.
21825 * io/fchmod.c: Likewise.
21826 * io/fchmodat.c: Likewise.
21827 * io/fchown.c: Likewise.
21828 * io/fchownat.c: Likewise.
21829 * io/fcntl.c: Likewise.
21830 * io/flock.c: Likewise.
21831 * io/fstatfs.c: Likewise.
21832 * io/fstatfs64.c: Likewise.
21833 * io/fstatvfs.c: Likewise.
21834 * io/fstatvfs64.c: Likewise.
21835 * io/futimens.c: Likewise.
21836 * io/fxstat.c: Likewise.
21837 * io/fxstat64.c: Likewise.
21838 * io/fxstatat.c: Likewise.
21839 * io/fxstatat64.c: Likewise.
21840 * io/getcwd.c: Likewise.
21841 * io/isatty.c: Likewise.
21842 * io/lchmod.c: Likewise.
21843 * io/lchown.c: Likewise.
21844 * io/link.c: Likewise.
21845 * io/linkat.c: Likewise.
21846 * io/lseek.c: Likewise.
21847 * io/lseek64.c: Likewise.
21848 * io/lxstat64.c: Likewise.
21849 * io/mkdir.c: Likewise.
21850 * io/mkdirat.c: Likewise.
21851 * io/mkfifo.c: Likewise.
21852 * io/mkfifoat.c: Likewise.
21853 * io/open.c: Likewise.
21854 * io/open64.c: Likewise.
21855 * io/openat.c: Likewise.
21856 * io/openat64.c: Likewise.
21857 * io/pipe.c: Likewise.
21858 * io/pipe2.c: Likewise.
21859 * io/poll.c: Likewise.
21860 * io/posix_fadvise.c: Likewise.
21861 * io/posix_fadvise64.c: Likewise.
21862 * io/posix_fallocate.c: Likewise.
21863 * io/posix_fallocate64.c: Likewise.
21864 * io/read.c: Likewise.
21865 * io/readlink.c: Likewise.
21866 * io/readlinkat.c: Likewise.
21867 * io/rmdir.c: Likewise.
21868 * io/sendfile.c: Likewise.
21869 * io/sendfile64.c: Likewise.
21870 * io/statfs.c: Likewise.
21871 * io/statfs64.c: Likewise.
21872 * io/statvfs.c: Likewise.
21873 * io/statvfs64.c: Likewise.
21874 * io/symlink.c: Likewise.
21875 * io/symlinkat.c: Likewise.
21876 * io/ttyname.c: Likewise.
21877 * io/ttyname_r.c: Likewise.
21878 * io/umask.c: Likewise.
21879 * io/unlink.c: Likewise.
21880 * io/unlinkat.c: Likewise.
21881 * io/utime.c: Likewise.
21882 * io/utimensat.c: Likewise.
21883 * io/write.c: Likewise.
21884 * io/xmknod.c: Likewise.
21885 * io/xmknodat.c: Likewise.
21886 * io/xstat.c: Likewise.
21887 * io/xstat64.c: Likewise.
21888 * login/getpt.c: Likewise.
21889 * login/grantpt.c: Likewise.
21890 * login/unlockpt.c: Likewise.
21891 * math/e_acoshl.c: Likewise.
21892 * math/e_acosl.c: Likewise.
21893 * math/e_asinl.c: Likewise.
21894 * math/e_atan2l.c: Likewise.
21895 * math/e_atanhl.c: Likewise.
21896 * math/e_coshl.c: Likewise.
21897 * math/e_expl.c: Likewise.
21898 * math/e_fmodl.c: Likewise.
21899 * math/e_gammal_r.c: Likewise.
21900 * math/e_hypotl.c: Likewise.
21901 * math/e_j0l.c: Likewise.
21902 * math/e_j1l.c: Likewise.
21903 * math/e_jnl.c: Likewise.
21904 * math/e_lgammal_r.c: Likewise.
21905 * math/e_log10l.c: Likewise.
21906 * math/e_log2l.c: Likewise.
21907 * math/e_logl.c: Likewise.
21908 * math/e_powl.c: Likewise.
21909 * math/e_rem_pio2l.c: Likewise.
21910 * math/e_sinhl.c: Likewise.
21911 * math/e_sqrtl.c: Likewise.
21912 * math/fclrexcpt.c: Likewise.
21913 * math/fedisblxcpt.c: Likewise.
21914 * math/feenablxcpt.c: Likewise.
21915 * math/fegetenv.c: Likewise.
21916 * math/fegetexcept.c: Likewise.
21917 * math/fegetround.c: Likewise.
21918 * math/feholdexcpt.c: Likewise.
21919 * math/fesetenv.c: Likewise.
21920 * math/fesetround.c: Likewise.
21921 * math/feupdateenv.c: Likewise.
21922 * math/fgetexcptflg.c: Likewise.
21923 * math/fraiseexcpt.c: Likewise.
21924 * math/fsetexcptflg.c: Likewise.
21925 * math/ftestexcept.c: Likewise.
21926 * math/k_cosl.c: Likewise.
21927 * math/k_rem_pio2l.c: Likewise.
21928 * math/k_sinl.c: Likewise.
21929 * math/k_tanl.c: Likewise.
21930 * math/s_asinhl.c: Likewise.
21931 * math/s_atanl.c: Likewise.
21932 * math/s_cbrtl.c: Likewise.
21933 * math/s_erfl.c: Likewise.
21934 * math/s_expm1l.c: Likewise.
21935 * math/s_log1pl.c: Likewise.
21936 * math/s_tanhl.c: Likewise.
21937 * misc/acct.c: Likewise.
21938 * misc/brk.c: Likewise.
21939 * misc/chflags.c: Likewise.
21940 * misc/chroot.c: Likewise.
21941 * misc/fchflags.c: Likewise.
21942 * misc/fgetxattr.c: Likewise.
21943 * misc/flistxattr.c: Likewise.
21944 * misc/fremovexattr.c: Likewise.
21945 * misc/fsetxattr.c: Likewise.
21946 * misc/fsync.c: Likewise.
21947 * misc/ftruncate.c: Likewise.
21948 * misc/futimes.c: Likewise.
21949 * misc/futimesat.c: Likewise.
21950 * misc/getdomain.c: Likewise.
21951 * misc/getdtsz.c: Likewise.
21952 * misc/gethostid.c: Likewise.
21953 * misc/gethostname.c: Likewise.
21954 * misc/getloadavg.c: Likewise.
21955 * misc/getpagesize.c: Likewise.
21956 * misc/getsysstats.c: Likewise.
21957 * misc/getxattr.c: Likewise.
21958 * misc/gtty.c: Likewise.
21959 * misc/ioctl.c: Likewise.
21960 * misc/lgetxattr.c: Likewise.
21961 * misc/listxattr.c: Likewise.
21962 * misc/llistxattr.c: Likewise.
21963 * misc/lremovexattr.c: Likewise.
21964 * misc/lsetxattr.c: Likewise.
21965 * misc/lutimes.c: Likewise.
21966 * misc/madvise.c: Likewise.
21967 * misc/mincore.c: Likewise.
21968 * misc/mlock.c: Likewise.
21969 * misc/mlockall.c: Likewise.
21970 * misc/mmap.c: Likewise.
21971 * misc/mprotect.c: Likewise.
21972 * misc/msync.c: Likewise.
21973 * misc/munlock.c: Likewise.
21974 * misc/munlockall.c: Likewise.
21975 * misc/munmap.c: Likewise.
21976 * misc/preadv.c: Likewise.
21977 * misc/preadv64.c: Likewise.
21978 * misc/ptrace.c: Likewise.
21979 * misc/pwritev.c: Likewise.
21980 * misc/pwritev64.c: Likewise.
21981 * misc/readv.c: Likewise.
21982 * misc/reboot.c: Likewise.
21983 * misc/remap_file_pages.c: Likewise.
21984 * misc/removexattr.c: Likewise.
21985 * misc/revoke.c: Likewise.
21986 * misc/select.c: Likewise.
21987 * misc/setdomain.c: Likewise.
21988 * misc/setegid.c: Likewise.
21989 * misc/seteuid.c: Likewise.
21990 * misc/sethostid.c: Likewise.
21991 * misc/sethostname.c: Likewise.
21992 * misc/setregid.c: Likewise.
21993 * misc/setreuid.c: Likewise.
21994 * misc/setxattr.c: Likewise.
21995 * misc/sstk.c: Likewise.
21996 * misc/stty.c: Likewise.
21997 * misc/swapoff.c: Likewise.
21998 * misc/swapon.c: Likewise.
21999 * misc/sync.c: Likewise.
22000 * misc/syncfs.c: Likewise.
22001 * misc/syscall.c: Likewise.
22002 * misc/truncate.c: Likewise.
22003 * misc/ualarm.c: Likewise.
22004 * misc/usleep.c: Likewise.
22005 * misc/ustat.c: Likewise.
22006 * misc/utimes.c: Likewise.
22007 * misc/vhangup.c: Likewise.
22008 * misc/writev.c: Likewise.
22009 * posix/_exit.c: Likewise.
22010 * posix/alarm.c: Likewise.
22011 * posix/execve.c: Likewise.
22012 * posix/fexecve.c: Likewise.
22013 * posix/fork.c: Likewise.
22014 * posix/fpathconf.c: Likewise.
22015 * posix/getaddrinfo.c: Likewise.
22016 * posix/getegid.c: Likewise.
22017 * posix/geteuid.c: Likewise.
22018 * posix/getgid.c: Likewise.
22019 * posix/getgroups.c: Likewise.
22020 * posix/getlogin.c: Likewise.
22021 * posix/getlogin_r.c: Likewise.
22022 * posix/getpgid.c: Likewise.
22023 * posix/getpid.c: Likewise.
22024 * posix/getppid.c: Likewise.
22025 * posix/getresgid.c: Likewise.
22026 * posix/getresuid.c: Likewise.
22027 * posix/getsid.c: Likewise.
22028 * posix/getuid.c: Likewise.
22029 * posix/glob64.c: Likewise.
22030 * posix/nanosleep.c: Likewise.
22031 * posix/pathconf.c: Likewise.
22032 * posix/pause.c: Likewise.
22033 * posix/posix_madvise.c: Likewise.
22034 * posix/pread.c: Likewise.
22035 * posix/pread64.c: Likewise.
22036 * posix/pwrite.c: Likewise.
22037 * posix/pwrite64.c: Likewise.
22038 * posix/sched_getaffinity.c: Likewise.
22039 * posix/sched_getp.c: Likewise.
22040 * posix/sched_gets.c: Likewise.
22041 * posix/sched_primax.c: Likewise.
22042 * posix/sched_primin.c: Likewise.
22043 * posix/sched_rr_gi.c: Likewise.
22044 * posix/sched_setaffinity.c: Likewise.
22045 * posix/sched_setp.c: Likewise.
22046 * posix/sched_sets.c: Likewise.
22047 * posix/sched_yield.c: Likewise.
22048 * posix/setgid.c: Likewise.
22049 * posix/setlogin.c: Likewise.
22050 * posix/setpgid.c: Likewise.
22051 * posix/setresgid.c: Likewise.
22052 * posix/setresuid.c: Likewise.
22053 * posix/setsid.c: Likewise.
22054 * posix/setuid.c: Likewise.
22055 * posix/sleep.c: Likewise.
22056 * posix/spawni.c: Likewise.
22057 * posix/sysconf.c: Likewise.
22058 * posix/times.c: Likewise.
22059 * posix/wait.c: Likewise.
22060 * posix/wait3.c: Likewise.
22061 * posix/wait4.c: Likewise.
22062 * posix/waitpid.c: Likewise.
22063 * resolv/gai_sigqueue.c: Likewise.
22064 * resource/getpriority.c: Likewise.
22065 * resource/getrlimit.c: Likewise.
22066 * resource/getrusage.c: Likewise.
22067 * resource/nice.c: Likewise.
22068 * resource/setpriority.c: Likewise.
22069 * resource/setrlimit.c: Likewise.
22070 * resource/ulimit.c: Likewise.
22071 * rt/aio_cancel.c: Likewise.
22072 * rt/aio_fsync.c: Likewise.
22073 * rt/aio_read.c: Likewise.
22074 * rt/aio_sigqueue.c: Likewise.
22075 * rt/aio_suspend.c: Likewise.
22076 * rt/aio_write.c: Likewise.
22077 * rt/clock_getres.c: Likewise.
22078 * rt/clock_gettime.c: Likewise.
22079 * rt/clock_nanosleep.c: Likewise.
22080 * rt/clock_settime.c: Likewise.
22081 * rt/lio_listio.c: Likewise.
22082 * rt/mq_close.c: Likewise.
22083 * rt/mq_getattr.c: Likewise.
22084 * rt/mq_notify.c: Likewise.
22085 * rt/mq_open.c: Likewise.
22086 * rt/mq_receive.c: Likewise.
22087 * rt/mq_send.c: Likewise.
22088 * rt/mq_setattr.c: Likewise.
22089 * rt/mq_timedreceive.c: Likewise.
22090 * rt/mq_timedsend.c: Likewise.
22091 * rt/mq_unlink.c: Likewise.
22092 * rt/shm_open.c: Likewise.
22093 * rt/shm_unlink.c: Likewise.
22094 * rt/timer_create.c: Likewise.
22095 * rt/timer_delete.c: Likewise.
22096 * rt/timer_getoverr.c: Likewise.
22097 * rt/timer_gettime.c: Likewise.
22098 * rt/timer_settime.c: Likewise.
22099 * setjmp/__longjmp.c: Likewise.
22100 * setjmp/setjmp.c: Likewise.
22101 * signal/kill.c: Likewise.
22102 * signal/killpg.c: Likewise.
22103 * signal/raise.c: Likewise.
22104 * signal/sigaction.c: Likewise.
22105 * signal/sigaltstack.c: Likewise.
22106 * signal/sigblock.c: Likewise.
22107 * signal/sigignore.c: Likewise.
22108 * signal/sigintr.c: Likewise.
22109 * signal/signal.c: Likewise.
22110 * signal/sigpause.c: Likewise.
22111 * signal/sigpending.c: Likewise.
22112 * signal/sigqueue.c: Likewise.
22113 * signal/sigreturn.c: Likewise.
22114 * signal/sigset.c: Likewise.
22115 * signal/sigsetmask.c: Likewise.
22116 * signal/sigstack.c: Likewise.
22117 * signal/sigsuspend.c: Likewise.
22118 * signal/sigtimedwait.c: Likewise.
22119 * signal/sigvec.c: Likewise.
22120 * signal/sigwait.c: Likewise.
22121 * signal/sigwaitinfo.c: Likewise.
22122 * signal/sysv_signal.c: Likewise.
22123 * socket/accept.c: Likewise.
22124 * socket/accept4.c: Likewise.
22125 * socket/bind.c: Likewise.
22126 * socket/connect.c: Likewise.
22127 * socket/getpeername.c: Likewise.
22128 * socket/getsockname.c: Likewise.
22129 * socket/getsockopt.c: Likewise.
22130 * socket/isfdtype.c: Likewise.
22131 * socket/listen.c: Likewise.
22132 * socket/recv.c: Likewise.
22133 * socket/recvfrom.c: Likewise.
22134 * socket/recvmsg.c: Likewise.
22135 * socket/send.c: Likewise.
22136 * socket/sendmsg.c: Likewise.
22137 * socket/sendto.c: Likewise.
22138 * socket/setsockopt.c: Likewise.
22139 * socket/shutdown.c: Likewise.
22140 * socket/sockatmark.c: Likewise.
22141 * socket/socket.c: Likewise.
22142 * socket/socketpair.c: Likewise.
22143 * stdio-common/ctermid.c: Likewise.
22144 * stdio-common/cuserid.c: Likewise.
22145 * stdio-common/remove.c: Likewise.
22146 * stdio-common/rename.c: Likewise.
22147 * stdio-common/renameat.c: Likewise.
22148 * stdio-common/tempname.c: Likewise.
22149 * stdlib/getcontext.c: Likewise.
22150 * stdlib/makecontext.c: Likewise.
22151 * stdlib/setcontext.c: Likewise.
22152 * stdlib/swapcontext.c: Likewise.
22153 * stdlib/system.c: Likewise.
22154 * streams/fattach.c: Likewise.
22155 * streams/fdetach.c: Likewise.
22156 * streams/getmsg.c: Likewise.
22157 * streams/getpmsg.c: Likewise.
22158 * streams/putmsg.c: Likewise.
22159 * streams/putpmsg.c: Likewise.
22160 * sysdeps/unix/bsd/getpt.c: Likewise.
22161 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22162 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22163 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22166 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22167 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22168 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22169 * sysvipc/msgctl.c: Likewise.
22170 * sysvipc/msgget.c: Likewise.
22171 * sysvipc/msgrcv.c: Likewise.
22172 * sysvipc/msgsnd.c: Likewise.
22173 * sysvipc/semctl.c: Likewise.
22174 * sysvipc/semget.c: Likewise.
22175 * sysvipc/semop.c: Likewise.
22176 * sysvipc/semtimedop.c: Likewise.
22177 * sysvipc/shmat.c: Likewise.
22178 * sysvipc/shmctl.c: Likewise.
22179 * sysvipc/shmdt.c: Likewise.
22180 * sysvipc/shmget.c: Likewise.
22181 * termios/tcdrain.c: Likewise.
22182 * termios/tcflow.c: Likewise.
22183 * termios/tcflush.c: Likewise.
22184 * termios/tcgetattr.c: Likewise.
22185 * termios/tcgetpgrp.c: Likewise.
22186 * termios/tcsendbrk.c: Likewise.
22187 * termios/tcsetattr.c: Likewise.
22188 * termios/tcsetpgrp.c: Likewise.
22189 * time/adjtime.c: Likewise.
22190 * time/clock.c: Likewise.
22191 * time/getitimer.c: Likewise.
22192 * time/gettimeofday.c: Likewise.
22193 * time/setitimer.c: Likewise.
22194 * time/settimeofday.c: Likewise.
22195 * time/stime.c: Likewise.
22196 * time/time.c: Likewise.
22198 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22200 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22203 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22205 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22207 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22211 FE_TONEAREST before applying Dekker multiplication and Knuth
22212 addition. Clear inexact exceptions and check for exact zero
22213 results afterwards.
22214 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22215 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22216 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22217 * math/libm-test.inc (fma_test): Add more tests.
22218 (fma_test_towardzero): Likewise.
22219 (fma_test_downward): Likewise.
22220 (fma_test_upward): Likewise.
22221 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22223 (libc_fesetround): New macro.
22224 (libc_fesetroundf): Likewise.
22225 (libc_fesetroundl): Likewise.
22226 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22228 (libc_fesetround_387): Likewise.
22229 (libc_fesetroundf): New macro.
22230 (libc_fesetround): Likewise.
22231 (libc_fesetroundl): Likewise.
22232 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22234 (libc_fesetroundf): New macro.
22235 (libc_fesetround): Likewise.
22236 (libc_fesetroundl): Likewise.
22237 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22238 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22239 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22241 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22242 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22244 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22245 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22247 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22251 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22252 integer constant usable in #if and use that to give value to enum
22254 (FE_DIVBYZERO): Likewise.
22255 (FE_UNDERFLOW): Likewise.
22256 (FE_OVERFLOW): Likewise.
22257 (FE_INVALID): Likewise.
22258 (FE_INVALID_SNAN): Likewise.
22259 (FE_INVALID_ISI): Likewise.
22260 (FE_INVALID_IDI): Likewise.
22261 (FE_INVALID_ZDZ): Likewise.
22262 (FE_INVALID_IMZ): Likewise.
22263 (FE_INVALID_COMPARE): Likewise.
22264 (FE_INVALID_SOFTWARE): Likewise.
22265 (FE_INVALID_SQRT): Likewise.
22266 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22267 (FE_TONEAREST): Likewise.
22268 (FE_TOWARDZERO): Likewise.
22269 (FE_UPWARD): Likewise.
22270 (FE_DOWNWARD): Likewise.
22271 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22272 (FE_DIVBYZERO): Likewise.
22273 (FE_OVERFLOW): Likewise.
22274 (FE_UNDERFLOW): Likewise.
22275 (FE_INEXACT): Likewise.
22276 (FE_TONEAREST): Likewise.
22277 (FE_DOWNWARD): Likewise.
22278 (FE_UPWARD): Likewise.
22279 (FE_TOWARDZERO): Likewise.
22280 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22281 (FE_UNDERFLOW): Likewise.
22282 (FE_OVERFLOW): Likewise.
22283 (FE_DIVBYZERO): Likewise.
22284 (FE_INVALID): Likewise.
22285 (FE_TONEAREST): Likewise.
22286 (FE_TOWARDZERO): Likewise.
22287 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22288 (FE_OVERFLOW): Likewise.
22289 (FE_UNDERFLOW): Likewise.
22290 (FE_DIVBYZERO): Likewise.
22291 (FE_INEXACT): Likewise.
22292 (FE_TONEAREST): Likewise.
22293 (FE_TOWARDZERO): Likewise.
22294 (FE_UPWARD): Likewise.
22295 (FE_DOWNWARD): Likewise.
22296 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22297 (FE_DIVBYZERO): Likewise.
22298 (FE_OVERFLOW): Likewise.
22299 (FE_UNDERFLOW): Likewise.
22300 (FE_INEXACT): Likewise.
22301 (FE_TONEAREST): Likewise.
22302 (FE_DOWNWARD): Likewise.
22303 (FE_UPWARD): Likewise.
22304 (FE_TOWARDZERO): Likewise.
22306 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22308 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22310 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22312 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22313 commands. Quote $PWD.
22314 (blacklist_exports): Don't use remove_newlines. Replace "declare
22316 (remove_newlines): Remove.
22318 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22320 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22321 * stdlib/stdlib.h (atof): Moved to ...
22322 * include/bits/stdlib-float.h: Here. New file.
22323 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22324 * stdlib/bits/stdlib-float.h: New file.
22325 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22327 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22330 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22332 * conform/conformtest.pl (@headers): Add fenv.h.
22333 * conform/data/fenv.h-data: New file.
22334 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22335 include of <math/fenv.h>.
22337 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22338 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22339 && !UNIX98]. Enables tests for XOPEN2K8.
22340 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22341 POSIX2008]: Likewise.
22343 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22344 (struct rusage): Do not expect type or its members.
22347 * math/math.h (FP_NAN): Define macro to integer constant usable in
22348 #if and use that to give value to enum constant.
22349 (FP_INFINITE): Likewise.
22350 (FP_ZERO): Likewise.
22351 (FP_SUBNORMAL): Likewise.
22352 (FP_NORMAL): Likewise.
22354 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22356 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22357 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22360 2012-11-02 Roland McGrath <roland@hack.frob.com>
22362 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22363 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22364 autoconf-time if not.
22365 * configure.in: Remove AC_PREREQ.
22367 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22369 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22370 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22371 of the internal implementation.
22373 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22375 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22376 except include of <misc/sys/syslog.h>.
22378 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22381 function returns with a NULL context exit with zero.
22383 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22385 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22387 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22389 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22390 (run_program_cmd): This.
22391 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22392 (tst_langinfo): New variable. Use it.
22394 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22396 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22397 floating point opcodes.
22399 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22401 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22404 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22406 * sysdeps/mach/hurd/powerpc: Remove directory.
22407 * sysdeps/mach/powerpc: Likewise.
22409 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22411 * scripts/check-local-headers.sh: Ignore c++ headers.
22413 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22415 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22416 __libc_cleanup_region_start argument.
22418 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22423 x * y using scaling, not as x * y + z.
22424 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22425 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22426 * math/libm-test.inc (fma_test): Add more tests.
22427 (fma_test_towardzero): Likewise.
22428 (fma_test_downward): Likewise.
22429 (fma_test_upward): Likewise.
22431 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22433 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22435 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22437 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22440 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22442 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22444 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22451 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22454 Fix the order of the list for glibc 2.17.
22455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22458 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22462 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22465 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22466 for low part of x being zero before using __atanl (y).
22467 * math/libm-test.inc (atan2_test): Add another test.
22469 * manual/install.texi (Configuring and compiling): Document
22470 general use of test-wrapper and test-wrapper-env.
22471 * INSTALL: Regenerated.
22473 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22474 (__fma): Do not extract and scale down low bits on after-rounding
22475 systems when result rounded to normal precision would have normal
22477 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22478 (__fmal): Do not extract and scale down low bits on after-rounding
22479 systems when result rounded to normal precision would have normal
22481 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22482 (__fmal): Do not extract and scale down low bits on after-rounding
22483 systems when result rounded to normal precision would have normal
22485 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22487 (fma_test): Add more tests.
22488 (fma_test_towardzero): Likewise.
22489 (fma_test_downward): Likewise.
22490 (fma_test_upward): Likewise.
22492 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22494 * sysdeps/i386/tininess.h: Renamed to ...
22495 * sysdeps/x86/tininess.h: This.
22496 * sysdeps/x86_64/tininess.h: Removed.
22498 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22500 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22501 input. Use $(build-program-cmd).
22502 ($(objpfx)tst-array1-static.out): Likewise.
22503 ($(objpfx)tst-array2.out): Likewise.
22504 ($(objpfx)tst-array3.out): Likewise.
22505 ($(objpfx)tst-array4.out): Likewise.
22506 ($(objpfx)tst-array5.out): Likewise.
22507 ($(objpfx)tst-array5-static.out): Likewise.
22509 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22511 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22514 * nss/nsswitch.h (nss_interface_function): Provide new
22515 macro for use with NSS functions.
22516 * grp/initgroups.c: Use new macro.
22517 * nss/getXXbyYY.c: Likewise.
22518 * nss/getXXbyYY_r.c: Likewise.
22519 * nss/getXXent.c: Likewise.
22520 * nss/getXXent_r.c: Likewise.
22521 * sysdeps/posix/getaddrinfo.c: Likewise.
22523 2012-10-30 Andreas Jaeger <aj@suse.de>
22525 * po/ru.po: Update Russion translation from translation project.
22527 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22532 result and shift together with sticky bit instead of replicating
22533 round-to-nearest rounding.
22534 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22535 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22536 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22537 missing underflow exceptions.
22538 (fma_test_towardzero): Add more tests.
22539 (fma_test_downward): Likewise.
22540 (fma_test_upward): Likewise.
22543 * sysdeps/generic/tininess.h: New file.
22544 * sysdeps/i386/tininess.h: Likewise.
22545 * sysdeps/sh/tininess.h: Likewise.
22546 * sysdeps/x86_64/tininess.h: Likewise.
22547 * stdlib/tst-strtod-underflow.c: Likewise.
22548 * stdlib/tst-tininess.c: Likewise.
22549 * stdlib/strtod_l.c: Include <tininess.h>.
22550 (round_and_return): Do not set errno for exact underflow cases.
22551 Force an underflow exception when setting errno for underflow.
22552 Determine underflow based on rounding to normal precision if
22553 TININESS_AFTER_ROUNDING.
22554 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22555 ERANGE for exact underflow cases.
22556 * stdlib/Makefile (tests): Add tst-tininess and
22557 tst-strtod-underflow.
22558 ($(objpfx)tst-tininess): Use $(link-libm).
22559 ($(objpfx)tst-strtod-underflow): Likewise.
22561 2012-10-30 Andreas Jaeger <aj@suse.de>
22564 * elf/Makefile (tests): Remove conditional for have-initfini-array
22565 since this is now always required and the variable does not exist
22567 (tests-static): Likewise.
22568 (modules-names): Likewise.
22570 * po/eo.po: Add Esperanto translation from translation project.
22572 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22573 merged with constructor/destructor.
22574 (init_array): Likewise.
22575 * elf/tst-array2dep.c (fini_array): Likewise.
22576 (init_array): Likewise.
22578 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22580 * manual/message.texi: Delete @cartouche tags.
22582 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22584 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22586 * sysdeps/mach/hurd/fsync.c: Likewise.
22588 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22589 [_POSIX_REALTIME_SIGNALS]: Change condition to
22590 [_POSIX_REALTIME_SIGNALS > 0].
22592 2012-10-27 Andreas Jaeger <aj@suse.de>
22594 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22595 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22596 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22597 [__WORDSIZE != 64]: Likewise.
22599 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22601 * iconvdata/tst-table.sh: Remove ${SHELL}.
22602 * iconvdata/tst-tables.sh: Likewise.
22604 2012-10-25 David S. Miller <davem@davemloft.net>
22606 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22607 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22610 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22612 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22613 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22614 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22617 2012-10-25 Roland McGrath <roland@hack.frob.com>
22619 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22620 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22623 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22624 Jim Blandy <jimb@codesourcery.com>
22626 * scripts/cross-test-ssh.sh: New file.
22627 * manual/install.texi (Configuring and compiling): Document use of
22629 * INSTALL: Regenerated.
22631 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22633 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22636 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22638 * Makeconfig (run-program-prefix): Fix comment.
22640 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22641 Jim Blandy <jimb@codesourcery.com>
22643 * Makeconfig (test-wrapper): New variable,
22644 (test-wrapper-env): Likewise.
22645 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22646 (run-built-tests): Define to yes.
22647 (run-program-prefix): Use $(test-wrapper).
22648 (built-program-cmd): Likewise.
22649 * Rules (make-test-out): Use $(test-wrapper-env) and
22650 $(host-built-program-cmd).
22651 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22652 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22654 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22655 $(test-wrapper-env) to tst-rtld-load-self.sh.
22656 ($(objpfx)order2.out): Use $(test-wrapper).
22657 ($(objpfx)tst-initorder.out): Likewise.
22658 ($(objpfx)tst-initorder2.out): Likewise.
22659 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22660 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22661 (test_wrapper_env): New variable. Use it to run ld.so.
22662 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22663 Use it to run ld.so.
22664 (test_wrapper_env): Likewise.
22665 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22666 $(test-wrapper) to run-iconv-test.sh.
22667 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22668 (ICONV): Use $test_wrapper.
22669 * posix/Makefile ($(objpfx)globtest.out): Pass
22670 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22671 globtest.sh, not $(run-program-prefix).
22672 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22673 (test_wrapper): Likewise.
22674 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22675 set together with run_via_rtld_prefix.
22676 (run_program_prefix): Define in terms of test_wrapper and
22677 run_via_rtld_prefix.
22679 2012-10-24 Roland McGrath <roland@hack.frob.com>
22681 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22682 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22686 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22687 Declare __clock_getres, __clock_gettime, __clock_settime,
22688 __clock_nanosleep, and __clock_getcpuclockid.
22689 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22690 Remove librt_hidden_def (clock_gettime).
22691 * sysdeps/unix/clock_gettime.c: Likewise.
22692 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22693 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22694 * rt/clock_getres.c: Define __clock_getres as an alias.
22695 * sysdeps/posix/clock_getres.c: Likewise.
22696 * rt/clock_settime.c: Define __clock_settime as an alias.
22697 * sysdeps/unix/clock_settime.c: Likewise.
22698 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22699 * sysdeps/unix/clock_nanosleep.c: Likewise.
22700 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22701 * rt/clock-compat.c: New file.
22702 * rt/Makefile (librt-routines): Add clock-compat and move
22703 $(clock-routines) to ...
22704 (routines): ... here, new variable.
22705 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22706 Don't add get_clockfreq here.
22707 * rt/Versions (libc: GLIBC_2.17): New version set.
22708 Add clock_* symbols here.
22709 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22710 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22711 (GLIBC_2.17): Add clock_* symbols.
22712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22714 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22723 * NEWS: Mention the move.
22725 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22726 Use __open, __read, __close rather than their public counterparts.
22727 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22728 (__get_clockfreq_via_cpuinfo): Likewise.
22729 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22730 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22732 * config.h.in (HAVE_IFUNC): New #undef.
22733 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22735 * configure: Regenerated.
22737 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22739 * configure.in: Move READELF check to start of file.
22740 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22741 libc_cv_asm_gnu_indirect_function in the process.
22742 * configure: Regenerated.
22744 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22746 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22747 send the output to /dev/null.
22748 (libc_cv_cc_with_libunwind): Likewise.
22749 (libc_cv_as_noexecstack): Likewise.
22750 * configure: Regenerate.
22752 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22754 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22756 * posix/globtest.sh (TMPDIR): Do not set.
22757 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22758 (testout): Likewise.
22760 2012-10-24 Andreas Jaeger <aj@suse.de>
22762 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22763 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22764 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22765 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22766 posix_fadvise64, posix_fallocate64.
22768 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22769 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22770 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22772 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22774 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22776 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22777 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22778 <bits/fcntl-linux.h>.
22779 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22781 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22782 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22783 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22784 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22785 [__WORDSIZE != 64]: Likewise.
22787 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22789 * Makeconfig (run-built-tests): New variable.
22790 * Rules [$(cross-compiling) = yes]: Change condition to
22791 [$(run-built-tests) = no].
22792 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22793 to [$(run-built-tests) = yes].
22794 * elf/Makefile [$(cross-compiling) = no]: Likewise
22795 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22796 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22797 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22798 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22799 * io/Makefile [$(cross-compiling) = no]: Likewise.
22800 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22801 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22802 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22803 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22804 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22805 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22806 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22807 * string/Makefile [$(cross-compiling) = no]: Likewise.
22809 * posix/Makefile ($(objpfx)globtest.out): Pass
22810 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22811 $(rtld-installed-name).
22812 * posix/globtest.sh (elf_objpfx): Remove variable.
22813 (rtld_installed_name): Likewise.
22814 (library_path): Likewise.
22815 (run_program_prefix): New variable. Use for running globtest
22818 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22819 Joseph Myers <joseph@codesourcery.com>
22821 * Makeconfig (host-built-program-cmd): New variable.
22822 * elf/Makefile (tst-stackguard1-ARGS): Use
22823 $(host-built-program-cmd).
22824 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22825 (tst-spawn-ARGS): Likewise.
22826 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22828 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22829 Jim Blandy <jimb@codesourcery.com>
22831 * Makeconfig (run-via-rtld-prefix): New variable.
22832 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22833 (built-program-cmd): Likewise.
22835 2012-10-22 Andreas Jaeger <aj@suse.de>
22837 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22838 __O_RSYNC if it exists, otherwise to O_SYNC.
22840 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22841 Joseph Myers <joseph@codesourcery.com>
22843 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22845 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22847 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22850 2012-10-22 Andreas Jaeger <aj@suse.de>
22852 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22854 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22857 bits/fcntl-linux.h.
22859 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22860 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22862 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22864 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22867 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22868 Joseph Myers <joseph@codesourcery.com>
22870 * config.make.in (NM): New variable.
22872 2012-10-21 Andreas Jaeger <aj@suse.de>
22874 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22875 definitions and declarations that are provided by
22876 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22878 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22881 * elf/Makefile (tests-static): Add tst-leaks1-static.
22882 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22883 ($(objpfx)tst-leaks1-static): New rule.
22884 ($(objpfx)tst-leaks1-static-mem): Likewise.
22885 (tst-leaks1-static-ENV): New macro.
22886 * elf/dl-open.c (dl_open_worker): Check the main application
22887 only if SHARED is defined.
22888 * elf/tst-leaks1-static.c: New file.
22890 2012-10-20 Andreas Jaeger <aj@suse.de>
22892 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22893 generic values for Linux.
22894 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22895 and declarations that are provided by <bits/fcntl-linux.h> and
22896 include <bits/fcntl-linux.h>.
22897 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22898 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22900 2012-10-20 Roland McGrath <roland@hack.frob.com>
22902 * io/fcntl.h: Move include of <bits/types.h> to the top and
22903 include it unconditionally.
22905 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22907 * wcsmbs/Makefile (tests-ifunc): New variable.
22908 (tests): Add $(tests-ifunc).
22909 * wcsmbs/test-wcschr-ifunc.c: New file.
22910 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22911 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22912 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22913 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22914 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22916 * string/Makefile (tests-ifunc): New variable.
22917 (tests): Add $(tests-ifunc).
22918 * string/test-memccpy.c (TEST_NAME): New macro.
22919 * string/test-memchr.c (TEST_NAME): Likewise.
22920 * string/test-memcmp.c (TEST_NAME): Likewise.
22921 * string/test-memcpy.c (TEST_NAME): Likewise.
22922 * string/test-memmem.c (TEST_NAME): Likewise.
22923 * string/test-memmove.c (TEST_NAME): Likewise.
22924 * string/test-memset.c (TEST_NAME): Likewise.
22925 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22926 * string/test-stpcpy.c (TEST_NAME): Likewise.
22927 * string/test-stpncpy.c (TEST_NAME): Likewise.
22928 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22929 * string/test-strcasestr.c (TEST_NAME): Likewise.
22930 * string/test-strcat.c (TEST_NAME): Likewise.
22931 * string/test-strchr.c (TEST_NAME): Likewise.
22932 * string/test-strcmp.c(TEST_NAME): Likewise.
22933 * string/test-strcpy.c (TEST_NAME): Likewise.
22934 * string/test-strcspn.c (TEST_NAME): Likewise.
22935 * string/test-strlen.c (TEST_NAME): Likewise.
22936 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22937 * string/test-strncmp.c (TEST_NAME): Likewise.
22938 * string/test-strncpy.c (TEST_NAME): Likewise.
22939 * string/test-strnlen.c (TEST_NAME): Likewise.
22940 * string/test-strpbrk.c (TEST_NAME): Likewise.
22941 * string/test-strrchr.c (TEST_NAME): Likewise.
22942 * string/test-strspn.c (TEST_NAME): Likewise.
22943 * string/test-strstr.c (TEST_NAME): Likewise.
22944 * string/test-bcopy-ifunc.c: New file.
22945 * string/test-bzero-ifunc.c: Likewise.
22946 * string/test-memccpy-ifunc.c: Likewise.
22947 * string/test-memchr-ifunc.c: Likewise.
22948 * string/test-memcmp-ifunc.c: Likewise.
22949 * string/test-memcpy-ifunc.c: Likewise.
22950 * string/test-memmem-ifunc.c: Likewise.
22951 * string/test-memmove-ifunc.c: Likewise.
22952 * string/test-mempcpy-ifunc.c: Likewise.
22953 * string/test-memset-ifunc.c: Likewise.
22954 * string/test-rawmemchr-ifunc.c: Likewise.
22955 * string/test-stpcpy-ifunc.c: Likewise.
22956 * string/test-stpncpy-ifunc.c: Likewise.
22957 * string/test-strcasecmp-ifunc.c: Likewise.
22958 * string/test-strcasestr-ifunc.c: Likewise.
22959 * string/test-strcat-ifunc.c: Likewise.
22960 * string/test-strchr-ifunc.c: Likewise.
22961 * string/test-strchrnul-ifunc.c: Likewise.
22962 * string/test-strcmp-ifunc.c: Likewise.
22963 * string/test-strcpy-ifunc.c: Likewise.
22964 * string/test-strcspn-ifunc.c: Likewise.
22965 * string/test-strlen-ifunc.c: Likewise.
22966 * string/test-strncasecmp-ifunc.c: Likewise.
22967 * string/test-strncat-ifunc.c: Likewise.
22968 * string/test-strncmp-ifunc.c: Likewise.
22969 * string/test-strncpy-ifunc.c: Likewise.
22970 * string/test-strnlen-ifunc.c: Likewise.
22971 * string/test-strpbrk-ifunc.c: Likewise.
22972 * string/test-strrchr-ifunc.c: Likewise.
22973 * string/test-strspn-ifunc.c: Likewise.
22974 * string/test-strstr-ifunc.c: Likewise.
22976 * debug/Makefile (tests-ifunc): New variable.
22977 (tests): Add $(tests-ifunc).
22978 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22979 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22980 * debug/test-stpcpy_chk-ifunc.c: New file.
22981 * debug/test-strcpy_chk-ifunc.c: Likewise.
22983 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22986 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22987 header is not read in.
22989 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22991 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22992 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22993 directly. Pass built executable to script as
22994 $(built-program-cmd).
22995 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22996 $testprogram without using LD_LIBRARY_PATH and $ldso.
22998 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22999 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23000 $(rtld-installed-name).
23001 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23002 (rtld_installed_name): Likewise.
23003 (library_path): Likewise.
23004 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23005 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23006 $(run-program-prefix) to tst-tables.sh.
23007 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23008 it to run tst-table-from and tst-table-to.
23009 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23010 Pass it to tst-table.sh.
23011 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23012 $(run-program-prefix) to tst-gettext.sh.
23013 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23015 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23017 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23018 to run tst-gettext.
23019 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23020 to run tst-gettext2.
23021 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23022 to run tst-translit.
23023 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23024 $(run-program-prefix) to tst-mtrace.sh.
23025 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23027 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23028 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23029 $(rtld-installed-name).
23030 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23031 (rtld_installed_name): Likewise.
23032 (run_program_prefix): New variable. Use it to run wordexp-test.
23034 * Makeconfig (ARCH): Remove all definitions.
23035 (machine): Likewise.
23036 [ARCH]: Remove conditional code.
23037 [!objdir]: Give error.
23038 [!objdir] (objpfx): Remove.
23039 [!objdir] (common-objpfx): Likewise.
23040 [!objdir] (common-objdir): Likewise.
23041 * configure.in (config_makefile): Remove. Hardcode Makefile in
23042 AC_CONFIG_FILES call.
23043 * configure: Regenerated.
23046 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23048 (testout): Likewise.
23050 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23051 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23052 $(rtld-installed-name).
23053 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23054 (rtld_installed_name): Likwise.
23055 (runit): Remove function.
23056 (run_getconf): New variable, Use it for running getconf binary.
23058 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23061 * string/test-memmem.c (check_result): New function.
23062 (do_one_test): Use it.
23063 (check1): New function.
23064 (test_main): Use it.
23066 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23068 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23070 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23072 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23073 (_G_LSEEK64): Likewise.
23074 (_G_MMAP64): Likewise.
23075 (_G_FSTAT64): Likewise.
23076 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23077 (_G_LSEEK64): Likewise.
23078 (_G_MMAP64): Likewise.
23079 (_G_FSTAT64): Likewise.
23080 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23081 unconditional. Call __mmap64 directly.
23082 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23083 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23084 __lseek64 directly.
23085 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23086 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23088 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23089 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23090 __lseek64 directly.
23091 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23092 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23093 __lseek64 directly.
23094 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23095 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23096 __lseek64 directly.
23097 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23098 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23099 __fxstat64 directly.
23100 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23101 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23103 (freopen64) [!_G_OPEN64]: Remove conditional code.
23104 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23106 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23107 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23109 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23110 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23112 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23113 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23115 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23116 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23118 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23119 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23121 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23122 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23124 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23126 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23129 * manual/memory.texi (Malloc Tunable Parameters): Add note
23130 about free list pointers overwriting some perturb bytes.
23131 Wording suggested by Roland McGrath.
23133 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23135 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23136 (lgamma_test): Likewise.
23137 (tgamma_test): Likewise.
23139 2012-10-16 Florian Weimer <fweimer@redhat.com>
23142 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23143 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23145 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23147 * NEWS: Mention BZ #14716.
23148 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23149 when removing AVAILABLE1_USES_J macro.
23151 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23153 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23154 (__bswap_64): __uint64_t for unsigned 64-bit int.
23156 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23158 * include/string.h (memmem): Declare libc hidden alias.
23159 * string/memmem.c (memmem): Define libc hidden alias.
23160 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23161 __read, __close instead of open, read, close.
23163 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23165 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23166 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23168 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23169 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23170 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23172 (__rawmemchr_sse2): Likewise.
23173 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23174 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23175 (__strchr_sse2): Likewise.
23176 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23177 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23178 (__strcasecmp_sse2): Likewise.
23179 (__strncasecmp_sse2): Likewise.
23180 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23181 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23182 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23183 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23184 (__strrchr_sse2): Likewise.
23185 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23187 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23188 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23189 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23190 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23191 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23192 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23193 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23194 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23195 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23196 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23197 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23198 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23199 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23200 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23201 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23202 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23203 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23204 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23205 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23206 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23207 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23208 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23209 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23210 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23211 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23212 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23213 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23214 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23215 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23216 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23218 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23220 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23221 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23222 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23223 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23225 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23227 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23228 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23229 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23230 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23232 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23233 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23234 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23235 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23236 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23237 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23238 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23239 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23240 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23241 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23242 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23243 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23244 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23245 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23246 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23247 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23248 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23249 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23250 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23251 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23252 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23253 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23254 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23255 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23256 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23257 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23258 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23259 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23260 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23261 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23262 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23263 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23264 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23265 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23266 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23267 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23268 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23269 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23270 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23271 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23272 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23274 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23275 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23276 * include/ifunc-impl-list.h: New file.
23277 * misc/ifunc-impl-list.c: Likewise.
23278 * misc/Makefile (routines): Add ifunc-impl-list.
23279 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23280 * string/test-string.h: Include <ifunc-impl-list.h>.
23281 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23282 impl_array): New variables.
23283 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23285 (test_init): Call __libc_ifunc_impl_list to initialize
23286 func_list if TEST_IFUNC and TEST_NAME are defined.
23288 * string/Makefile (strop-tests): Add bcopy and bzero.
23289 * string/test-bcopy.c: New file.
23290 * string/test-bzero.c: Likewise.
23291 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23293 * string/test-memset.c: Support bzero test if TEST_BZERO is
23295 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23297 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23299 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23302 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23304 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23305 * configure: Regenerated.
23307 * Makeconfig (+link-static-before-libc): Don't include
23308 $(link-static-libc).
23310 * libio/libio.h (_IO_pos_t): Remove.
23312 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23314 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23317 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23319 * crypt/crypt-entry.c: Include fips-private.h.
23320 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23321 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23322 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23323 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23325 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23327 * crypt/crypt-private.h: Include stdbool.h.
23328 (_ufc_setup_salt_r): Return bool.
23329 * crypt/crypt-entry.c: Include errno.h.
23330 (__crypt_r): Return NULL with EINVAL for bad salt.
23331 * crypt/crypt_util.c (bad_for_salt): New.
23332 (_ufc_setup_salt_r): Check that salt is long enough and within
23333 the specified alphabet.
23334 * crypt/badsalttest.c: New file.
23335 * crypt/Makefile (tests): Add it.
23336 ($(objpfx)badsalttest): New.
23338 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23340 * NEWS: Add entry for BZ #14602.
23342 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23344 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23346 * math/libm-test.inc: Update comment listing what functions and
23348 (isgreater_test): New function.
23349 (isgreaterequal_test): Likewise.
23350 (isless_test): Likewise.
23351 (islessequal_test): Likewise.
23352 (islessgreater_test): Likewise.
23353 (isunordered_test): Likewise.
23354 (main): Call the new functions.
23356 2012-10-09 Roland McGrath <roland@hack.frob.com>
23358 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23359 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23360 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23361 * sysdeps/i386/configure: Regenerated.
23362 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23363 * sysdeps/mach/configure: Regenerated.
23364 * sysdeps/mach/hurd/configure: Regenerated.
23365 * sysdeps/powerpc/configure: Regenerated.
23366 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23367 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23368 * sysdeps/s390/s390-32/configure: Regenerated.
23369 * sysdeps/s390/s390-64/configure: Regenerated.
23370 * sysdeps/sh/configure: Regenerated.
23371 * sysdeps/sparc/configure: Regenerated.
23372 * sysdeps/unix/sysv/linux/configure: Regenerated.
23373 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23374 * sysdeps/x86_64/configure: Regenerated.
23376 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23377 defined. Don't check if MAP is NULL.
23379 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23381 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23382 (_G_stat64): Likewise.
23383 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23384 (_G_stat64): Likewise.
23385 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23386 instead of struct _G_stat64.
23387 * libio/fileops.c (mmap_remap_check): Likewise.
23388 (decide_maybe_mmap): Likewise.
23389 (_IO_new_file_seekoff): Likewise.
23390 (_IO_file_stat): Likewise.
23391 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23393 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23394 instead of struct _G_stat64.
23395 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23397 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23400 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23402 (CHECK_EOL): New macro.
23403 (two_way_short_needle): Check beginning of haystack for EOL. Use
23405 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23406 Replace with CHECK_EOL.
23407 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23408 Replace with CHECK_EOL.
23410 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23412 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23414 * math/libm-test.inc: Update comment listing what functions and
23416 (finite_test): New function.
23417 (isinf_test): Likewise.
23418 (isnan_test): Likewise.
23419 (fpclassify_test): Test subnormal input.
23420 (isfinite_test): Likewise.
23421 (isnormal_test): Likewise.
23422 (main): Call the new functions.
23424 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23427 * Makerules (%.dynsym): Force C locale when running
23428 $(OBJDUMP) --dynamic-syms.
23430 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23432 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23435 2012-10-06 David S. Miller <davem@davemloft.net>
23437 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23438 upper 32-bits of the length value in %o2 since we use branch-on-register
23439 tests which consider the entire 64-bit register.
23441 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23443 * string/test-strstr.c (check2): Add a test for page boundary.
23445 2012-10-05 David S. Miller <davem@davemloft.net>
23447 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23448 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23450 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23452 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23453 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23454 and bzero when HWCAP_SPARC_CRYPTO is present.
23456 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23459 * string/test-strstr.c (check2): New function.
23460 (test_main): Call check2.
23462 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23464 * string/bug-strcasestr1.c (do_test): Moved to ...
23465 * string/test-strcasestr.c (check1): Here. New function.
23466 (do_one_test): Break out result checking code into ...
23467 (check_result): This. New function.
23468 (do_one_test): Call check_result.
23469 (test_main): Call check1.
23470 * string/bug-strchr1.c (do_test): Moved to ...
23471 * string/test-strchr.c (check1): Here. New function.
23472 (do_one_test): Break out result checking code into ...
23473 (check_result): This. New function.
23474 (do_one_test): Call check_result.
23475 (test_main): Call check1.
23476 * string/bug-strstr1.c (main): Moved to ...
23477 * string/test-strstr.c (check1): Here. New function.
23478 (do_one_test): Break out result checking code into ...
23479 (check_result): This. New function.
23480 (do_one_test): Call check_result.
23481 (test_main): Call check1.
23482 * string/bug-strcasestr1.c: Removed.
23483 * string/bug-strchr1.c: Likewise.
23484 * string/bug-strstr1.c: Likewise.
23486 * elf/Makefile (dl-routines): Add hwcaps.
23487 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23488 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23489 (_dl_important_hwcaps): Moved to ...
23490 * elf/dl-hwcaps.c: Here. New file.
23491 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23494 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23495 if IS_IN_rtld isn't defined.
23497 * elf/dl-support.c (_dl_sysinfo_map): New.
23498 Include "get-dynamic-info.h" and "setup-vdso.h".
23499 (_dl_non_dynamic_init): Call setup_vdso.
23500 * elf/dynamic-link.h: Don't include <assert.h>.
23501 (elf_get_dynamic_info): Moved to ...
23502 * elf/get-dynamic-info.h: Here. New file.
23503 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23504 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23505 * elf/setup-vdso.h: Here. New file.
23506 * elf/rtld.c: Include "setup-vdso.h".
23507 (dl_main): Call setup_vdso.
23509 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23511 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23512 creal in comment listing functions tested. List finite, isinf,
23513 isnan, isless, islessequal, isgreater, isgreaterequal,
23514 islessgreater, isunordered, lgamma_r and pow10 as functions and
23515 macros not tested. Mention which functions not tested are aliases
23516 for other functions. Fix typo. Note that signs of NaNs are not
23519 * scripts/config.guess: Update from config.git.
23520 * scripts/config.sub: Likewise.
23522 2012-10-04 Roland McGrath <roland@hack.frob.com>
23524 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23525 * misc/madvise.c (madvise): Renamed to __madvise.
23526 Make madvise a weak alias.
23527 * include/sys/mman.h: Declare __madvise.
23528 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23529 * sysdeps/unix/syscalls.list
23530 (madvise): Make __madvise the strong name, and madvise a weak alias.
23531 * sysdeps/unix/sysv/linux/syscalls.list
23532 (madvise, mmap): Remove redundant entries.
23533 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23534 * malloc/malloc.c (mtrim): Likewise.
23535 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23537 2012-10-03 Roland McGrath <roland@hack.frob.com>
23539 * sysdeps/mach/hurd/dl-cache.c: File removed.
23540 * config.h.in (USE_LDCONFIG): New #undef.
23541 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23542 * configure: Regenerated.
23543 * elf/Makefile (dl-routines): Add dl-cache only under
23544 [$(use-ldconfig) = yes].
23545 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23546 cache on [USE_LDCONFIG].
23547 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23549 * elf/rtld.c (dl_main): Likewise.
23551 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23553 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23554 _SC_LEVEL4_CACHE_LINESIZE.
23556 2012-10-03 Roland McGrath <roland@hack.frob.com>
23558 * sysdeps/unix/bsd/confstr.h: File removed.
23560 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23562 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23565 2012-10-02 Roland McGrath <roland@hack.frob.com>
23567 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23568 Make 'mapoff' field ElfW(Off) rather than off_t.
23570 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23572 * nscd/Makefile: Remove nscd-cflags and all its users.
23573 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23574 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23577 * malloc.c (malloc_printerr): Clarify error message.
23579 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23583 Set bit_FMA_Usable if FMA is supported.
23584 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23586 (bit_FMA4_Usable): Updated.
23587 (index_FMA_Usable): New macro.
23588 (CPUID_FMA): Likewise
23589 (HAS_FMA): Defined with bit_FMA_Usable.
23591 2012-10-01 Roland McGrath <roland@hack.frob.com>
23593 * bits/types.h (__swblk_t): Type removed.
23594 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23595 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23596 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23597 (__SWBLK_T_TYPE): Likewise.
23598 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23599 (__SWBLK_T_TYPE): Likewise.
23600 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23601 (__SWBLK_T_TYPE): Likewise.
23602 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23603 (__SWBLK_T_TYPE): Likewise.
23605 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23606 Honza Horak <hhorak@redhat.com>
23608 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23609 (xdr_mapname): Use YPMAXMAP as maxsize.
23610 (xdr_peername): Use YPMAXPEER as maxsize.
23611 (xdr_keydat): Use YPAXRECORD as maxsize.
23612 (xdr_valdat): Use YPMAXRECORD as maxsize.
23614 2012-10-01 Roland McGrath <roland@hack.frob.com>
23616 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23618 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23619 * csu/init-first.c: ... here.
23620 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23621 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23622 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23623 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23624 * sysdeps/i386/init-first.c: File removed.
23625 * sysdeps/sh/init-first.c: File removed.
23627 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23630 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23631 if x * y might underflow to zero and z is zero.
23632 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23633 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23634 * math/libm-test.inc (min_subnorm_value): New variable.
23635 (fma_test): Add more tests.
23636 (fma_test_towardzero): Likewise.
23637 (fma_test_downward): Likewise
23638 (fma_test_upward): Likewise.
23639 (initialize): Set min_subnorm_value.
23641 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23646 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23647 mode for addition resulting in exact zero.
23648 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23649 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23651 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23652 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23653 * math/libm-test.inc (fma_test): Add more tests.
23654 (fma_test_towardzero): New function.
23655 (fma_test_downward): Likewise.
23656 (fma_test_upward): Likewise.
23657 (main): Call the new functions.
23659 2012-09-28 David S. Miller <davem@davemloft.net>
23661 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23663 2012-09-28 Roland McGrath <roland@hack.frob.com>
23665 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23666 instead of SIGALRM.
23668 * sysdeps/gnu/_G_config.h: Moved to ...
23669 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23670 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23671 * sysdeps/generic/_G_config.h: ... here.
23673 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23675 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23677 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23678 Conditionalize target on [libnss_test1.so-version].
23680 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23682 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23683 (elfobjdir): Move out of conditionals.
23685 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23686 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23687 (__nss_lookup_function): Conditionalize label remove_from_tree on
23688 [!DO_STATIC_NSS || SHARED], matching its only use.
23690 2012-09-28 David S. Miller <davem@davemloft.net>
23692 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23693 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23695 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23697 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23698 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23699 when HWCAP_SPARC_CRYPTO is present.
23701 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23703 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23705 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23708 * stdio-common/vfprintf.c (process_string_arg): Revert
23711 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23713 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23715 * stdio-common/tst-sprintf.c: Include <locale.h>
23716 (main): Test sprintf's handling of incomplete multibyte
23719 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23721 * elf/dl-runtime.c (VERSYMIDX): Removed.
23722 * elf/dl-version.c (VERSYMIDX): Likewise.
23723 * elf/do-rel.h (VERSYMIDX): Likewise.
23724 (VALIDX): Likewise.
23725 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23726 * elf/rtld.c (VALIDX): Likewise.
23727 (ADDRIDX): Likewise.
23728 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23729 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23730 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23731 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23732 (VALIDX): Likewise.
23733 (ADDRIDX): Likewise.
23735 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23737 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23739 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23742 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23744 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23745 addresses are in the same scope as 192.0.2/24.
23746 * posix/gai.conf: Document new scope table defaults.
23748 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23751 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23752 for ftell. Compute offsets from write pointers instead.
23753 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23755 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23758 * libio/Makefile (tests): New test case tst-fseek.
23759 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23760 combination works in wide mode.
23761 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23762 state when the external buffer state changes.
23764 2012-09-27 David S. Miller <davem@davemloft.net>
23767 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23768 pass reloc->r_addend in as the 'high' argument to
23769 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23773 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23775 * rt/tst-aio2.c: Include <pthread.h>.
23776 * rt/tst-aio3.c: Likewise.
23778 2012-09-27 Steve Ellcey <sellcey@mips.com>
23780 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23782 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23784 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23785 contents on [SHARED].
23787 2012-09-26 Marek Polacek <polacek@redhat.com>
23791 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23792 for C++ and GCC <4.3 as well as for non GCC compilers.
23794 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23798 2012-09-25 Roland McGrath <roland@hack.frob.com>
23800 * Makefile.in (all, install): Declare with .PHONY.
23801 Reported by Michael Hope <michael.hope@linaro.org>.
23803 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23805 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23806 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23808 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23810 (sydep_routines): Add the new and the internal functions.
23811 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23812 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23814 (GLIBC_2.17): Add the new function.
23815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23816 (GLIBC_2.17): Likewise.
23817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23818 (GLIBC_2.17): Likewise.
23819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23820 (GLIBC_2.17): Likewise.
23821 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23823 2012-09-25 Alan Modra <amodra@gmail.com>
23825 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23826 Add release barrier before setting once_control to say
23827 initialisation is done. Add hints on lwarx. Use macro in
23829 (clear_once_control): Add release barrier.
23831 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23834 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23836 * math/s_clog10.c (__clog10): Likewise.
23837 * math/s_clog10f.c (__clog10f): Likewise.
23838 * math/s_clog10l.c (__clog10l): Likewise.
23839 * math/s_clogf.c (__clogf): Likewise.
23840 * math/s_clogl.c (__clogl): Likewise.
23841 * math/Makefile (libm-calls): Add x2y2m1.
23842 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23843 (__x2y2m1): Likewise.
23844 (__x2y2m1l): Likewise.
23845 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23846 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23847 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23848 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23849 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23850 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23851 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23852 * sysdeps/i386/fpu/libm-test-ulps: Update.
23853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23856 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23857 int as type of variable DEPTH.
23858 (glob): Use size_t instead of int as type of variables NEWCOUNT
23861 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23863 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23864 Add s_sincosf-sse2.
23865 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23866 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23867 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23868 macros for using routine as __sincosf_ia32.
23869 Use macro for function declaration and weak_alias.
23870 * sysdeps/i386/fpu/libm-test-ulps: Update.
23872 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23873 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23875 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23876 subnormal argument.
23877 * math/s_cexpf.c (__cexpf): Likewise.
23878 * math/s_csinf.c (__csinf): Likewise.
23879 * math/s_csinhf.c (__csinhf): Likewise.
23880 * math/s_ctanf.c (__ctanf): Likewise.
23881 * math/s_ctanhf.c (__ctanhf): Likewise.
23882 * math/s_ccosh.c (__ccoshf): Likewise.
23883 * math/s_cexp.c (__cexpl): Likewise.
23884 * math/s_csin.c (__csin): Likewise.
23885 * math/s_csinh.c (__csinh): Likewise.
23886 * math/s_ctan.c (__ctan): Likewise.
23887 * math/s_ctanh.c (ctanh): Likewise.
23888 * math/s_ccoshl.c (__ccoshl): Likewise.
23889 * math/s_cexpl.c (__cexpl): Likewise.
23890 * math/s_csinl.c (__csinl): Likewise.
23891 * math/s_csinhl.c (__csinhl): Likewise.
23892 * math/s_ctanl.c (__ctanl): Likewise.
23893 * math/s_ctanhl.c (__ctanhl): Likewise.
23895 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23897 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23898 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23899 (_IO_off_t): Define to __off_t, not _G_off_t.
23900 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23901 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23902 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23903 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23904 type of __dummy and __dummy2 fields.
23905 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23906 (_G_ssize_t): Likewise.
23907 (_G_off_t): Likewise.
23908 (_G_pid_t): Likewise.
23909 (_G_uid_t): Likewise.
23910 (_G_wchar_t): Likewise.
23911 (_G_wint_t): Likewise.
23912 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23913 (_G_ssize_t): Likewise.
23914 (_G_off_t): Likewise.
23915 (_G_pid_t): Likewise.
23916 (_G_uid_t): Likewise.
23917 (_G_wchar_t): Likewise.
23918 (_G_wint_t): Likewise.
23919 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23920 (_G_ssize_t): Likewise.
23921 (_G_off_t): Likewise.
23922 (_G_pid_t): Likewise.
23923 (_G_uid_t): Likewise.
23924 (_G_wchar_t): Likewise.
23925 (_G_wint_t): Likewise.
23927 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23929 * malloc/arena.c: Include malloc-sysdep.h.
23930 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23931 is sufficient to shrink the heap or an unmap is needed.
23932 * sysdeps/generic/malloc-sysdep.h: New file. Define
23933 new function check_may_shrink_heap.
23934 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23935 new function check_may_shrink_heap.
23937 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23939 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23942 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23944 * catgets/test-gencat.sh: Add "set -e".
23945 * elf/tst-pathopt.sh: Likewise.
23946 * grp/tst_fgetgrent.sh: Likewise.
23947 * iconvdata/run-iconv-test.sh: Likewise.
23948 * intl/tst-gettext.sh: Likewise.
23949 * intl/tst-gettext2.sh: Likewise.
23950 * intl/tst-gettext4.sh: Likewise.
23951 * intl/tst-gettext6.sh: Likewise.
23952 * intl/tst-translit.sh: Likewise.
23953 * io/ftwtest-sh: Likewise.
23954 * libio/test-freopen.sh: Likewise.
23955 * malloc/tst-mtrace.sh: Likewise.
23956 * posix/globtest.sh: Likewise.
23957 * posix/tst-getconf.sh: Likewise.
23958 * posix/wordexp-tst.sh: Likewise.
23959 * stdio-common/tst-printf.sh: Likewise.
23960 * stdio-common/tst-unbputc.sh: Likewise.
23961 * stdlib/tst-fmtmsg.sh: Likewise.
23962 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23963 * catgets/Makefile: Do not specify -e option when running
23964 testsuite shell scripts.
23965 * elf/Makefile: Likewise.
23966 * grp/Makefile: Likewise.
23967 * iconvdata/Makefile: Likewise.
23968 * intl/Makefile: Likewise.
23969 * io/Makefile: Likewise.
23970 * libio/Makefile: Likewise.
23971 * malloc/Makefile: Likewise.
23972 * posix/Makefile: Likewise.
23973 * stdio-common/Makefile: Likewise.
23974 * stdlib/Makefile: Likewise.
23975 * sysdeps/x86_64/Makefile: Likewise.
23977 * io/ftwtest-sh: Add copyright header.
23978 * posix/globtest.sh: Likewise.
23979 * posix/tst-getconf.sh: Likewise.
23980 * posix/wordexp-tst.sh: Likewise.
23981 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23983 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23986 * Makeconfig (+link): Defined as $(+link-static) if
23987 $(build-shared) isn't yes.
23988 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23990 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23992 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23995 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23996 new chunk size with MALLOC_ALIGN_MASK.
23998 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24001 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24003 (__printf_fphex): Determine rounding using get_rounding_mode and
24005 * stdio-common/tst-printf-round.c (struct hex_test): New
24007 (hex_tests): New variable.
24008 (test_hex_in_one_mode): New function.
24009 (do_test): Also run tests for hex float output.
24011 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24013 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24014 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24015 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24016 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24017 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24018 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24019 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24020 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24022 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24024 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24025 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24026 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24027 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24029 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24032 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24034 * elf/tst-rtld-load-self.sh: New test.
24035 * elf/Makefile: Run it.
24037 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24039 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24040 (tst-writev-ENV): Remove.
24041 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24043 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24045 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24047 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24049 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24051 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24053 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24054 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24055 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24058 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24061 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24062 * config.make.in (have-cpp-asm-debuginfo): Removed.
24063 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24064 * configure: Regenerated.
24066 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24069 * stdio-common/printf_fp.c: Include <stdbool.h> and
24071 (___printf_fp): Determine rounding using get_rounding_mode and
24073 * stdio-common/tst-printf-round.c: New file.
24074 * stdio-common/Makefile (tests): Add tst-printf-round.
24075 (link-libm): New variable.
24076 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24078 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24081 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24082 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24084 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24087 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24089 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24090 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24091 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24092 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24094 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24097 * include/rounding-mode.h: New file.
24098 * sysdeps/generic/get-rounding-mode.h: Likewise.
24099 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24100 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24101 (MAX_VALUE): New macro.
24102 (MIN_VALUE): Likewise.
24103 (overflow_value): New function.
24104 (underflow_value): Likewise.
24105 (round_and_return): Use overflow_value and underflow_value to
24106 determine return values in overflow and underflow cases. Use
24107 round_away to determine rounding depending on rounding mode.
24108 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24109 determine return values in overflow and underflow cases.
24110 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24111 (struct test_results): New structure.
24112 (struct test): Use struct test_results to store expected results
24113 for all rounding modes.
24114 (TEST): Include expected results for all rounding modes.
24115 (test_in_one_mode): New function.
24116 (do_test): Use test_in_one_mode to compute and check results.
24117 Check results for all rounding modes.
24118 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24121 2012-12-09 Allan McRae <allan@archlinux.org>
24123 * sysdeps/i386/fpu/libm-test-ulps: Update
24125 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24127 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24128 (_G_int32_t): Likewise.
24129 (_G_uint16_t): Likewise.
24130 (_G_uint32_t): Likewise.
24131 (_G_HAVE_BOOL): Likewise.
24132 (_G_HAVE_ATEXIT): Likewise.
24133 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24134 (_G_HAVE_IO_FILE_OPEN): Likewise.
24135 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24136 (_G_int32_t): Likewise.
24137 (_G_uint16_t): Likewise.
24138 (_G_uint32_t): Likewise.
24139 (_G_HAVE_BOOL): Likewise.
24140 (_G_HAVE_ATEXIT): Likewise.
24141 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24142 (_G_HAVE_IO_FILE_OPEN): Likewise.
24143 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24144 (_G_int32_t): Likewise.
24145 (_G_uint16_t): Likewise.
24146 (_G_uint32_t): Likewise.
24147 (_G_HAVE_BOOL): Likewise.
24148 (_G_HAVE_ATEXIT): Likewise.
24149 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24150 (_G_HAVE_IO_FILE_OPEN): Likewise.
24152 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24154 * csu/libc-tls.c: Update copyright years.
24156 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24158 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24159 [!_G_USING_THUNKS]: Remove conditional code.
24160 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24161 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24163 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24164 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24165 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24166 (_G_VTABLE_LABEL_PREFIX): Likewise.
24167 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24168 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24169 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24170 (_G_VTABLE_LABEL_PREFIX): Likewise.
24171 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24172 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24173 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24174 (_G_VTABLE_LABEL_PREFIX): Likewise.
24175 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24177 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24179 * libio/Makefile: Include ../Makeconfig before tests.
24180 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24181 only if $(build-shared) is yes.
24183 * iconv/gconv_db.c: Update copyright years.
24185 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24187 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24188 unwind info if defined PIC. Fix special cases description.
24189 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24191 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24193 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24195 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24197 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24199 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24202 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24203 (LDLIBS-tst-chk4): This.
24204 (LDFLAGS-tst-chk5): Renamed to ...
24205 (LDLIBS-tst-chk5): This.
24206 (LDFLAGS-tst-chk6): Renamed to ...
24207 (LDLIBS-tst-chk6): This.
24208 (LDFLAGS-tst-lfschk4): Renamed to ...
24209 (LDLIBS-tst-lfschk4): This.
24210 (LDFLAGS-tst-lfschk5): Renamed to ...
24211 (LDLIBS-tst-lfschk5): This.
24212 (LDFLAGS-tst-lfschk6): Renamed to ...
24213 (LDLIBS-tst-lfschk6): This.
24215 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24216 on $(common-objpfx)soversions.mk.
24218 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24221 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24224 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24226 * malloc/arena.c (arena_get_retry): New function that gets
24227 another arena for the caller to try its request on.
24228 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24229 current arena cannot fulfill the request.
24230 (__libc_memalign): Likewise.
24231 (__libc_memalign): Likewise.
24232 (__libc_pvalloc): Likewise.
24233 (__libc_calloc): Likewise.
24235 2012-09-05 John Tobey <john.tobey@gmail.com>
24238 * manual/arith.texi (Operations on Complex): Fix description
24239 of carg branch cut.
24241 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24244 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24248 * manual/memory.texi (Memory): Make order of menu items match
24251 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24253 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24254 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24255 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24257 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24259 * csu/libc-tls.c (static_dtv): Renamed to ...
24260 (_dl_static_dtv): This. Make it global.
24261 (_dl_initial_dtv): Removed.
24262 (__libc_setup_tls): Updated.
24263 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24264 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24267 2012-09-06 Petr Machata <pmachata@redhat.com>
24269 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24270 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24271 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24272 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24274 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24277 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24278 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24281 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24284 * Makeconfig (link-static-before-libc): Replace $(+prector)
24286 (link-static-after-libc): Replace $(+postctor) with
24288 (link-bounded): Replace $(+prector)/$(+postctor) with
24289 $(+prectorT)/$(+postctorT).
24290 (+prectorT): New macro.
24291 (+postctorT): Likewise.
24293 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24295 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24296 (round_str): Handle values above the maximum for IBM long double
24298 * stdlib/tst-strtod-round.c (tests): Regenerated.
24300 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24302 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24304 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24305 zarch_nohighgprs around the zarch optimized routines.
24306 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24307 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24308 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24311 2012-09-05 David S. Miller <davem@davemloft.net>
24313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24315 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24316 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24317 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24318 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24321 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24323 * malloc/arena.c: Fold copyright years.
24324 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24326 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24328 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24330 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24332 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24334 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24336 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24337 change internal state upon failure.
24339 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24341 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24342 * malloc/memusage.c (mmap): Likewise.
24343 (mmap64, mremap): Likewise. Adjust name in comment.
24345 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24347 * libio/fileops.c: Fix typos in comments.
24348 * libio/oldfileops.c: Likewise.
24349 * libio/wfileops.c: Likewise.
24351 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24354 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24355 (tst-malloc-usable-ENV): Set environment for test case.
24356 * malloc/hooks.c (malloc_check_get_size): New function to get
24358 * malloc/malloc.c (musable): Use malloc_check_get_size.
24359 * malloc/tst-malloc-usable.c: New test case.
24361 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24363 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24365 2012-09-05 Allan McRae <allan@archlinux.org>
24368 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24369 determine header location.
24370 * configure: Regenerated.
24372 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24374 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24376 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24377 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24379 (test): Regenerate.
24381 2012-09-04 David S. Miller <davem@davemloft.net>
24383 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24384 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24385 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24387 2012-09-04 Florian Weimer <fweimer@redhat.com>
24389 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24392 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24394 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24397 * libio/iogetdelim.c: Include <limits.h>.
24398 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24399 + len + 1 would overflow.
24401 2012-09-03 Andreas Jaeger <aj@suse.de>
24403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24404 * sysdeps/i386/fpu/libm-test-ulps: Update.
24406 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24408 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24409 Add s_sinf-sse2, s_conf-sse2.
24411 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24412 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24413 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24414 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24416 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24417 for using routine as __sinf_ia32.
24418 Use macro for function declaration and weak_alias.
24419 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24420 for using routine as __cosf_ia32.
24421 Use macro for function declaration and weak_alias.
24423 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24424 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24426 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24427 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24430 * math/libm-test.inc (cos_test): Add more test cases.
24431 (sin_test): Likewise.
24432 (sincos_test): Likewise.
24434 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24436 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24437 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24439 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24441 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24444 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24445 first element of the GOT.
24446 (elf_machine_load_address): Return the difference between
24447 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24449 2012-09-01 Allan McRae <allan@archlinux.org>
24452 * configure.in (AWK): Require gawk version 3.0 or later.
24453 * configure: Regenerated.
24455 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24457 * sysdeps/unix/sysv/linux/kernel-features.h
24458 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24459 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24460 [__NR_clock_getres]: Make code unconditional.
24461 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24462 (clock_getcpuclockid): Remove code left unreachable by removal of
24464 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24465 code unconditional.
24466 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24467 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24468 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24469 Make code unconditional.
24470 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24471 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24472 * sysdeps/unix/sysv/linux/clock_settime.c
24473 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24475 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24476 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24478 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24481 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24482 scripts/test-installation.pl.
24484 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24485 and $ld_so_version if it is set.
24487 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24490 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24491 failure if reading from procfs failed.
24492 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24494 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24496 * sysdeps/unix/sysv/linux/kernel-features.h
24497 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24498 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24499 Remove conditional code.
24500 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24501 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24502 Remove conditional code.
24503 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24504 * sysdeps/unix/sysv/linux/i386/fxstat.c
24505 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24506 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24507 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24508 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24509 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24510 * sysdeps/unix/sysv/linux/i386/lxstat.c
24511 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24512 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24513 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24514 Remove conditional code.
24515 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24516 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24517 Remove conditional code.
24518 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24519 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24520 <kernel-features.h>.
24521 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24523 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24524 Remove conditional code.
24525 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24526 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24527 Remove conditional.
24529 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24532 * NEWS: Add fixed bug number.
24534 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24537 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24538 underflowing exponent in case of negative sign.
24539 * stdlib/tst-strtod-round-data: Add more tests.
24540 * stdlib/tst-strtod-round.c (tests): Regenerated.
24543 * stdlib/strtod_l.c (NDIG): Remove.
24544 (HEXNDIG): Likewise.
24545 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24546 smallest representable value.
24547 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24548 lie within an exact representation of 1/2 ulp of the result.
24549 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24551 (TENS_P9_IDX): Define unconditionally.
24552 (TENS_P9_SIZE): Likewise.
24553 (TENS_P10_IDX): Likewise.
24554 (TENS_P10_SIZE): Likewise.
24555 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24556 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24557 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24558 entries for 10^2^13 and 10^2^14.
24559 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24560 (TENS_P13_IDX): Define.
24561 (TENS_P13_SIZE): Likewise.
24562 (TENS_P14_IDX): Likewise.
24563 (TENS_P14_SIZE): Likewise.
24564 (_fpioconst_pow10): Change array size to
24565 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24567 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24568 1024]: Add entries for 10^2^13 and 10^2^14.
24569 [LAST_POW10 > _LAST_POW10]: Remove #error.
24570 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24571 (_fpioconst_pow10): Change array size to
24572 FPIOCONST_POW10_ARRAY_SIZE.
24573 * stdlib/gen-fpioconst.c: New file.
24574 * stdlib/gen-tst-strtod-round.c: Likewise.
24575 * stdlib/tst-strtod-round-data: Likewise.
24576 * stdlib/tst-strtod-round.c: Likewise.
24577 * stdlib/Makefile (tests): Add tst-strtod-round.
24580 * stdlib/strtod_l.c: Include <stdint.h>.
24581 (NDEBUG): Do not define.
24582 (round_and_return): Change EXPONENT parameter to type intmax_t.
24583 Rearrange calculations to avoid internal overflow possibilities.
24584 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24585 Rearrange calculations to avoid internal overflow possibilities.
24586 Assert that number fits inside MPNSIZE limbs.
24587 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24588 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24589 calculations and add assertions to avoid internal overflow
24590 possibilities. Add casts to avoid signed/unsigned operations.
24591 * stdlib/tst-strtod-overflow.c: New file.
24592 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24594 2012-08-25 Marek Polacek <polacek@redhat.com>
24596 * time/time.h: Fix some typos in comments.
24598 2012-08-23 Roland McGrath <roland@hack.frob.com>
24600 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24601 * posix/tst-rfc3484-2.c: Likewise.
24602 * posix/tst-rfc3484-3.c: Likewise.
24604 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24606 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24607 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24609 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24611 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24612 #include of fxstatat64.c.
24614 2012-08-22 Roland McGrath <roland@hack.frob.com>
24616 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24617 * shadow/getspent_r.c: Likewise.
24618 * shadow/getspnam.c: Likewise.
24619 * shadow/getspnam_r.c: Likewise.
24620 * gshadow/getsgent.c: Likewise.
24621 * gshadow/getsgent_r.c: Likewise.
24622 * gshadow/getsgnam.c: Likewise.
24623 * gshadow/getsgnam_r.c: Likewise.
24624 * inet/getnetbyad.c: Likewise.
24625 * inet/getnetbyad_r.c: Likewise.
24626 * inet/getnetbynm.c: Likewise.
24627 * inet/getnetbynm_r.c: Likewise.
24628 * inet/getnetent.c: Likewise.
24629 * inet/getnetent_r.c: Likewise.
24630 * inet/getproto.c: Likewise.
24631 * inet/getproto_r.c: Likewise.
24632 * inet/getprtent.c: Likewise.
24633 * inet/getprtent_r.c: Likewise.
24634 * inet/getprtname.c: Likewise.
24635 * inet/getprtname_r.c: Likewise.
24636 * inet/getrpcbyname.c: Likewise.
24637 * inet/getrpcbyname_r.c: Likewise.
24638 * inet/getrpcbynumber.c: Likewise.
24639 * inet/getrpcbynumber_r.c: Likewise.
24640 * inet/getrpcent.c: Likewise.
24641 * inet/getrpcent_r.c: Likewise.
24642 * inet/getaliasent.c: Likewise.
24643 * inet/getaliasent_r.c: Likewise.
24644 * inet/getaliasname.c: Likewise.
24645 * inet/getaliasname_r.c: Likewise.
24646 * nscd/getgrgid_r.c: Likewise.
24647 * nscd/getgrnam_r.c: Likewise.
24648 * nscd/gethstbyad_r.c: Likewise.
24649 * nscd/gethstbynm3_r.c: Likewise.
24650 * nscd/getpwnam_r.c: Likewise.
24651 * nscd/getpwuid_r.c: Likewise.
24652 * nscd/getsrvbynm_r.c: Likewise.
24653 * nscd/getsrvbypt_r.c: Likewise.
24654 * nscd/gai.c: Likewise.
24656 * configure.in (build_nscd): New substituted variable, set
24657 by --disable-build-nscd and defaults to $use_nscd.
24658 * configure: Regenerated.
24659 * config.make.in (build-nscd): New substituted variable.
24660 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24661 Change conditional to require [$(build-nscd) = yes] as well.
24662 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24665 * configure.in (use_nscd): New substituted variable, set by
24666 --disable-nscd. If enabled, define USE_NSCD.
24667 * configure: Regenerated.
24668 * config.h.in: Add USE_NSCD.
24669 * config.make.in (use-nscd): New substituted variable.
24670 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24671 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24672 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24673 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24674 (CFLAGS-getgrnam_r.c): Likewise.
24675 (CFLAGS-initgroups.c): Likewise.
24676 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24677 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24679 * inet/getnetgrent_r.c
24680 (nscd_setnetgrent): New function, broken out of ...
24681 (setnetgrent): ... here. Call it.
24682 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24683 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24684 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24685 * nscd/Makefile (routines, aux): Move definitions after include of
24686 Makeconfig. Conditionalize on [$(use-nscd) != no].
24687 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24688 Conditionalize on [USE_NSCD].
24689 (is_nscd, nscd_init_cb): Likewise.
24690 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24691 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24692 * nss/nss_db/db-init.c: Likewise.
24693 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24695 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24696 (make_request): Use it.
24697 (cache_valid_p): New function.
24698 (__check_pf): Use it.
24699 * NEWS: Add item for --disable-nscd.
24701 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24703 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24704 to support sed >= 4.2.1-20-ga9bf076.
24705 * configure: Regenerated.
24707 2012-08-22 Roland McGrath <roland@hack.frob.com>
24709 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24710 Conditionalize whole body on [IREL].
24712 2012-08-22 Jeff Law <law@redhat.com>
24715 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24716 if the family is PF_UNSPEC.
24718 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24720 * Makerules (lib-version): Rename from V.
24721 (install-lib-nosubdir): Change V to lib-version.
24723 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24726 * powerpc32/power6/wcschr.c: New file.
24727 * powerpc32/power6/wcscpy.c: New file.
24728 * powerpc32/power6/wcsrchr.c: New file.
24729 * powerpc64/power6/wcschr.c: New file.
24730 * powerpc64/power6/wcscpy.c: New file.
24731 * powerpc64/power6/wcsrchr.c: New file.
24733 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24735 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24736 (two_way_short_needle): Use it.
24737 * string/strstr.c (AVAILABLE1_USES_J): Define.
24738 * string/strcasestr.c: Likewise.
24740 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24742 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24745 * NEWS: Add an entry.
24746 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24747 define their defaults.
24748 (two_way_short_needle): Detect end-of-string on-the-fly.
24749 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24750 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24751 * string/bug-strcasestr1.c: New test.
24752 * string/Makefile: Run it.
24754 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24757 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24758 the first character.
24760 2012-08-21 Roland McGrath <roland@hack.frob.com>
24762 * csu/elf-init.c (__libc_csu_irel): Function removed.
24763 * csu/libc-start.c (apply_irel): New function.
24764 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24766 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24768 * sysdeps/unix/sysv/linux/kernel-features.h
24769 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24770 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24771 <kernel-features.h>.
24772 [__NR_fadvise64_64]: Make code unconditional.
24773 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24774 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24775 !__NR_fadvise64_64)]: Likewise.
24776 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24777 !__NR_fadvise64_64))]: Likewise.
24778 [__NR_fadvise64]: Make code unconditional.
24779 [!__NR_fadvise64]: Remove conditional code.
24780 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24781 <kernel-features.h>.
24782 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24784 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24787 not include <kernel-features.h>.
24788 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24790 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24792 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24793 include <kernel-features.h>.
24794 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24796 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24799 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24801 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24802 slight instruction rearrangements per scrollpipe analysis.
24803 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24805 2012-08-20 Roland McGrath <roland@hack.frob.com>
24807 * manual/syslog.texi (syslog; vsyslog, closelog):
24808 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24809 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24811 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24812 DSOCAPS to match condition on defining it.
24814 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24816 * sysdeps/unix/sysv/linux/kernel-features.h
24817 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24819 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24820 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24822 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24823 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24825 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24826 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24828 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24829 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24831 * sysdeps/unix/sysv/linux/kernel-features.h
24832 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24833 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24835 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24836 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24837 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24838 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24839 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24840 Make code unconditional.
24841 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24842 (__mmap64) [!__NR_mmap2]: Likewise.
24843 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24844 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24845 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24846 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24847 [__NR_mmap2]: Make code unconditional.
24848 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24849 (__mmap64) [!__NR_mmap2]: Likewise.
24851 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24853 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24855 2012-08-18 Andreas Jaeger <aj@suse.de>
24857 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24859 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24861 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24862 * include/unistd.h (__have_sock_cloexec): Likewise.
24863 (__have_pipe2): Likewise.
24864 (__have_dup3): Likewise.
24866 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24869 * include/unistd.h (__have_pipe2): Change define into an extern int.
24870 (__have_dup3): Likewise.
24871 * socket/have_sock_cloexec.c: Include fcntl.h.
24872 (__have_pipe2): New variable.
24873 (__have_dup3): Likewise.
24875 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24877 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24879 2012-08-17 Marek Polacek <polacek@redhat.com>
24881 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24882 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24884 2012-08-17 Roland McGrath <roland@hack.frob.com>
24886 * configure.in: Add AC_SUBST for sysheaders.
24887 * configure: Regenerated.
24888 * config.make.in (sysheaders): New substituted variable.
24890 * sysdeps/unix/mkfifo.c: Moved ...
24891 * sysdeps/posix/mkfifo.c: ... here.
24892 * sysdeps/unix/mkfifoat.c: Moved ...
24893 * sysdeps/posix/mkfifoat.c: ... here.
24895 * sysdeps/unix/utime.c: Moved ...
24896 * sysdeps/posix/utime.c: ... here.
24898 * sysdeps/unix/time.c: Moved ...
24899 * sysdeps/posix/time.c: ... here.
24900 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24901 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24903 * sysdeps/unix/nice.c: Moved ...
24904 * sysdeps/posix/nice.c: ... here.
24906 * sysdeps/unix/alarm.c: Moved ...
24907 * sysdeps/posix/alarm.c: ... here.
24909 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24911 2012-08-17 Jeff Law <law@redhat.com>
24913 * intl/Makefile (codeset_mo): New variable.
24914 ($(codeset_mo)): New target.
24915 (tst-codeset.out): Depend on that. Remove explicit rule.
24916 (tst-gettext3.out, tst-gettext5.out): Likewise.
24917 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24918 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24919 * intl/tst-codeset.sh: Remove.
24920 * intl/tst-gettext3.sh: Likewise.
24921 * intl/tst-gettext5.sh: Likewise.
24923 2012-08-17 Roland McGrath <roland@hack.frob.com>
24925 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24926 * sysdeps/unix/syscalls.list: ... here.
24928 * sysdeps/posix/getaddrinfo.c
24929 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24930 (gaiconf_init, gaiconf_reload): Use them.
24931 [!_STATBUF_ST_NSEC]
24932 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24933 Define using time_t rather than struct timespec.
24935 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24936 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24938 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24940 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24941 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24944 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24945 __libc_cleanup_push argument.
24947 * bits/param.h: New file.
24948 * misc/sys/param.h: New file.
24949 * include/sys/param.h: New file.
24950 * misc/Makefile (headers): Add bits/param.h.
24951 * sysdeps/generic/sys/param.h: File removed.
24952 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24953 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24954 * sysdeps/mach/hurd/bits/param.h: New file.
24955 * sysdeps/mach/hurd/sys/param.h: File removed.
24957 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24960 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24962 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24963 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24966 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24967 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24968 rather than -D_IO_MTSAFE_IO conditionally.
24969 * stdio-common/Makefile (CPPFLAGS): Likewise.
24970 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24971 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24972 Use $(libio-mtsafe).
24973 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24974 of -D_IO_MTSAFE_IO.
24975 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24976 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24977 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24978 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24979 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24980 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24981 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24982 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24983 (CFLAGS-fread_u_chk.c): Likewise.
24984 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24985 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24986 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24987 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24988 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24989 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24990 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24991 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24992 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24994 * libio/Makefile: Test [$(libc-reentrant) = yes]
24995 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24998 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24999 * sysdeps/pthread/configure: File removed.
25000 * sysdeps/pthread/Makeconfig: New file.
25001 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25002 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25004 2012-08-16 Gary Benson <gbenson@redhat.com>
25006 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25007 unmapping the first object in a namespace.
25009 2012-08-16 Roland McGrath <roland@hack.frob.com>
25011 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25012 (__internal_setnetgrent): ... this. Add internal_function to
25013 definition. Add libc_hidden_def.
25014 (setnetgrent): Update caller.
25015 (internal_endnetgrent): Renamed to ...
25016 (__internal_endnetgrent): ... this. Add internal_function to
25017 definition. Add libc_hidden_def.
25018 (endnetgrent): Update caller.
25019 (internal_getnetgrent_r): Renamed to ...
25020 (__internal_getnetgrent_r): ... this. Add internal_function to
25021 definition. Add libc_hidden_def.
25022 (__getnetgrent_r): Update caller.
25023 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25025 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25027 * stdlib/longlong.h: Update from GCC.
25029 2012-08-16 Roland McGrath <roland@hack.frob.com>
25031 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25032 on _QL, which is set by umul_ppmm but never used.
25033 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25034 variables, which are set by GMP macros but never used.
25035 * stdio-common/_itowa.c (_itowa): Likewise.
25036 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25037 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25039 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25041 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25042 struct La_sh_regs is not constant.
25043 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25044 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25045 and struct La_sparc64_regs are not constant.
25047 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25049 * sysdeps/unix/sysv/linux/kernel-features.h
25050 (__ASSUME_POSIX_TIMERS): Remove.
25051 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25052 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25053 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25054 Make code unconditional.
25055 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25056 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25057 Make code unconditional.
25058 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25059 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25060 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25061 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25062 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25063 Make code unconditional.
25064 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25065 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25066 (__libc_missing_posix_timers): Remove.
25068 2012-08-15 Roland McGrath <roland@hack.frob.com>
25070 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25071 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25073 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25075 * elf/dl-sym.c: Include <stdlib.h>.
25077 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25078 constants, which avoids warnings in 32-bit builds.
25080 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25081 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25083 * misc/lseek.c: File moved to ...
25084 * io/lseek.c: ... here.
25086 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25088 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25089 shifting LEN more than 31 bits at once.
25091 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25094 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25095 segmentation fault for a case of two empty input strings.
25096 * string/test-strncasecmp.c (check1): Renamed to...
25097 (bz12205): ...this.
25098 (bz14195): Add new testcase for two empty input strings and N > 0.
25099 (test_main): Call new testcase, adapt for renamed function.
25101 2012-08-15 Andreas Jaeger <aj@suse.de>
25104 * crypt/md5test2.c: New test, based on test supplied by Serge
25105 Belyshev <belyshev@depni.sinp.msu.ru>.
25106 * crypt/Makefile (xtests): Add md5test-giant..
25107 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25109 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25112 * crypt/md5.c (md5_process_block): Don't assume the buffer
25113 length is less than 2**32.
25114 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25115 length is less than 2**64.
25117 2012-08-15 Roland McGrath <roland@hack.frob.com>
25119 * string/str-two-way.h: Include <sys/param.h>.
25120 (MAX): Macro removed.
25122 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25123 Move #define and #undef of memmove to just before and after
25124 including <string.h>.
25126 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25127 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25128 and after including <string.h>. Move declarations of
25129 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25130 to before #include "string/memmove.c".
25132 * include/dirent.h: Declare __getdirentries.
25134 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25135 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25137 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25139 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25140 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25141 * sysdeps/i386/configure: Regenerated.
25142 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25143 STABS_CURRENT_FILE, and STABS_FUN.
25144 (END): Remove call to STABS_FUN_END.
25145 (STABS_CURRENT_FILE1): Delete.
25146 (STABS_CURRENT_FILE): Likewise.
25147 (STABS_FUN): Likewise.
25148 (STABS_FUN_END): Likewise.
25149 (STABS_FUN2): Likewise.
25150 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25151 * sysdeps/x86_64/configure: Regenerated.
25153 2012-08-14 Roland McGrath <roland@hack.frob.com>
25155 * elf/dl-open.c: Include <atomic.h>.
25156 * elf/dl-lookup.c: Likewise.
25158 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25160 * sysdeps/unix/sysv/linux/kernel-features.h
25161 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25162 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25164 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25166 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25167 condition on __ASSUME_CLONE_THREAD_FLAGS.
25169 2012-08-14 Andreas Jaeger <aj@suse.de>
25171 * sysdeps/i386/fpu/libm-test-ulps: Update.
25173 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25175 * include/atomic.h (atomic_exchange_and_add): Split into ...
25176 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25179 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25183 2012-08-13 Jeff Law <law@redhat.com>
25185 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25186 null byte in the output string.
25188 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25190 * sysdeps/unix/sysv/linux/kernel-features.h
25191 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25192 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25193 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25194 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25195 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25196 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25197 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25199 2012-08-09 Jeff Law <law@redhat.com>
25202 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25203 When avoid_arena is set, don't retry in the that arena. Pick the
25204 next one, whatever it might be.
25205 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25206 (arena_lock): Pass in new parameter to arena_get2.
25207 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25209 (__libc_malloc): Unify retrying after main arena failure with
25210 __libc_memalign version.
25211 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25213 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25216 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25217 to __redirect_strstr.
25218 (__strstr_sse42): Use typeof __redirect_strstr.
25219 (__strstr_ia32): Likewise.
25220 (__libc_strstr): New prototype.
25221 (strstr): Renamed to ...
25222 (__libc_strstr): This.
25223 (strstr): New strong alias of __libc_strstr.
25224 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25225 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25228 (__libc_time): New prototype.
25229 (time_ifunc): Replace time with __libc_time.
25230 (time): New strong alias and hidden definition of __libc_time.
25231 (__GI_time): Remove strong alias.
25232 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25233 Include <stddef.h>.
25234 (memmove): Redefined to __redirect_memmove.
25235 (__memmove_sse2): Use typeof __redirect_memmove.
25236 (__memmove_ssse3): Likewise.
25237 (__memmove_ssse3_back): Likewise.
25238 (__libc_memmove): New prototype.
25239 (memmove): Renamed to ...
25240 (__libc_memmove): This.
25241 (memmove): New strong alias of __libc_memmove.
25243 2012-08-08 Mark Salter <msalter@redhat.com>
25246 (R_MN10300_TLS_GD): Define.
25247 (R_MN10300_TLS_LD): Likewise.
25248 (R_MN10300_TLS_LDO): Likewise.
25249 (R_MN10300_TLS_GOTIE): Likewise.
25250 (R_MN10300_TLS_IE): Likewise.
25251 (R_MN10300_TLS_LE): Likewise.
25252 (R_MN10300_TLS_DTPMOD): Likewise.
25253 (R_MN10300_TLS_DTPOFF): Likewise.
25254 (R_MN10300_TLS_TPOFF): Likewise.
25255 (R_MN10300_SYM_DIFF): Likewise.
25256 (R_MN10300_ALIGN): Likewise.
25257 (R_MN10300_NUM): Update.
25259 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25261 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25264 2012-08-08 Roland McGrath <roland@hack.frob.com>
25266 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25268 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25269 sysdeps/unix -> sysdeps/posix move.
25270 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25272 2012-08-07 Allan McRae <allan@archlinux.org>
25275 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25276 (SUNOS_CPP): Likewise.
25277 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25279 (open_input): Call CPP using execvp.
25281 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25283 * sysdeps/unix/sysv/linux/kernel-features.h
25284 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25285 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25286 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25287 (__ASSUME_WAITID_SYSCALL): Likewise.
25288 * sysdeps/unix/sysv/linux/dl-execstack.c
25289 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25290 code unconditional.
25291 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25293 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25294 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25295 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25297 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25299 [__ASSUME_WAITID_SYSCALL]: Likewise.
25300 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25302 2012-08-07 Roland McGrath <roland@hack.frob.com>
25304 * sysdeps/unix/closedir.c: Renamed to ...
25305 * sysdeps/posix/closedir.c: ... here.
25306 * sysdeps/unix/dirfd.c: Renamed to ...
25307 * sysdeps/posix/dirfd.c: ... here.
25308 * sysdeps/unix/dirstream.h: Renamed to ...
25309 * sysdeps/posix/dirstream.h: ... here.
25310 * sysdeps/unix/fdopendir.c: Renamed to ...
25311 * sysdeps/posix/fdopendir.c: ... here.
25312 * sysdeps/unix/opendir.c: Renamed to ...
25313 * sysdeps/posix/opendir.c: ... here.
25314 * sysdeps/unix/readdir.c: Renamed to ...
25315 * sysdeps/posix/readdir.c: ... here.
25316 * sysdeps/unix/readdir_r.c: Renamed to ...
25317 * sysdeps/posix/readdir_r.c: ... here.
25318 * sysdeps/unix/rewinddir.c: Renamed to ...
25319 * sysdeps/posix/rewinddir.c: ... here.
25320 * sysdeps/unix/seekdir.c: Renamed to ...
25321 * sysdeps/posix/seekdir.c: ... here.
25322 * sysdeps/unix/telldir.c: Renamed to ...
25323 * sysdeps/posix/telldir.c: ... here.
25324 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25325 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25326 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25327 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25329 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25330 * bits/fcntl.h: ... here.
25332 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25334 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25335 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25336 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25337 (struct flock): Move l_start, l_len to the beginning.
25338 Use __pid_t for l_pid.
25339 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25340 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25341 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25342 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25343 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25344 [__USE_LARGEFILE64] (struct flock64): New type.
25345 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25347 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25348 * bits/dirent.h: ... here.
25350 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25351 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25353 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25355 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25356 Change from 2.6.0 to 2.6.16.
25357 * sysdeps/unix/sysv/linux/configure: Regenerated.
25358 * sysdeps/unix/sysv/linux/kernel-features.h
25359 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25360 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25362 (__ASSUME_UTIMES): Likewise.
25363 (__ASSUME_CLONE_STOPPED): Remove.
25364 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25365 architectures, not kernel version.
25366 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25367 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25368 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25369 (__ASSUME_WAITID_SYSCALL): Likewise.
25370 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25371 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25372 * README: State 2.6.16 as minimum Linux kernel version. Do not
25373 refer to older versions.
25375 2012-08-06 Roland McGrath <roland@hack.frob.com>
25377 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25378 Define alphasort64 as an alias.
25379 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25380 Define versionsort64 as an alias.
25381 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25382 Define scandir64 as an alias.
25383 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25384 Define scandirat64 as an alias.
25385 * dirent/alphasort64.c (alphasort64):
25386 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25387 * dirent/versionsort64.c: Likewise.
25388 * dirent/scandir64.c: Likewise.
25389 * dirent/scandirat64.c: Likewise.
25390 * sysdeps/wordsize-64/alphasort.c: File removed.
25391 * sysdeps/wordsize-64/alphasort64.c: File removed.
25392 * sysdeps/wordsize-64/scandir.c: File removed.
25393 * sysdeps/wordsize-64/scandir64.c: File removed.
25394 * sysdeps/wordsize-64/scandirat.c: File removed.
25395 * sysdeps/wordsize-64/scandirat64.c: File removed.
25396 * sysdeps/wordsize-64/versionsort.c: File removed.
25397 * sysdeps/wordsize-64/versionsort64.c: File removed.
25398 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25399 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25400 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25401 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25402 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25403 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25404 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25405 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25407 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25408 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25409 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25410 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25411 [defined __arch64__ || defined __sparcv9]
25412 (__INO_T_MATCHES_INO64_T): New macro.
25413 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25414 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25415 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25416 * sysdeps/unix/sysv/linux/bits/dirent.h
25417 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25418 (_DIRENT_MATCHES_DIRENT64): New macro.
25420 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25421 Define lockf64 as an alias.
25422 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25423 Define fseeko64 as an alias.
25424 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25425 Define ftello64 as an alias.
25426 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25427 Define _IO_fgetpos64 and fgetpos64 as aliases.
25428 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25429 Define _IO_fsetpos64 and fsetpos64 as aliases.
25430 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25431 Conditionalize body on this.
25432 * libio/fseeko64.c: Likewise.
25433 * libio/ftello64.c: Likewise.
25434 * libio/iofgetpos64.c: Likewise.
25435 * libio/iofsetpos64.c: Likewise.
25436 * sysdeps/wordsize-64/lockf.c: File removed.
25437 * sysdeps/wordsize-64/lockf64.c: File removed.
25438 * sysdeps/wordsize-64/fseeko.c: File removed.
25439 * sysdeps/wordsize-64/fseeko64.c: File removed.
25440 * sysdeps/wordsize-64/ftello.c: File removed.
25441 * sysdeps/wordsize-64/ftello64.c: File removed.
25442 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25443 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25444 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25445 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25446 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25447 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25448 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25449 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25450 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25451 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25452 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25453 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25454 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25455 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25457 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25458 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25459 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25460 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25461 [defined __arch64__ || defined __sparcv9]
25462 (__OFF_T_MATCHES_OFF64_T): New macro.
25463 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25464 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25465 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25466 (__OFF_T_MATCHES_OFF64_T): New macro.
25468 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25470 * stdlib/secure-getenv.c (__secure_getenv): Replace
25471 GLIBC_2_16 with GLIBC_2_17.
25473 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25475 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25476 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25478 2012-08-03 David S. Miller <davem@davemloft.net>
25480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25482 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25484 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25486 (__ASSUME_CORRECT_SI_PID): Likewise.
25487 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25488 (__ASSUME_TMPFS_NAME): Likewise.
25489 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25490 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25491 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25492 (HAVE_AUX_SECURE): Make definition unconditional.
25493 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25494 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25496 2012-08-03 Roland McGrath <roland@hack.frob.com>
25498 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25499 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25500 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25501 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25502 __eloop_threshold instead of SYMLOOP_MAX.
25504 * sysdeps/generic/eloop-threshold.h: New file.
25505 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25507 * elf/chroot_canon.c (chroot_canon): Likewise.
25509 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25512 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25513 Change to 2.6.0 everywhere.
25514 * sysdeps/unix/sysv/linux/configure: Regenerated.
25515 * sysdeps/unix/sysv/linux/kernel-features.h
25516 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25517 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25519 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25520 (__ASSUME_FUTEX_REQUEUE): Remove.
25521 (__ASSUME_STATFS64): Define unconditionally.
25522 (__ASSUME_AT_SECURE): Likewise.
25523 (__ASSUME_CORRECT_SI_PID): Likewise.
25524 (__ASSUME_TGKILL): Define without depending on kernel version for
25526 (__ASSUME_UTIMES): Likewise.
25527 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25529 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25530 (__ASSUME_TMPFS_NAME): Likewise.
25531 * README: Update reference to Linux kernel versions.
25533 2012-08-02 Marek Polacek <polacek@redhat.com>
25536 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25537 libc_cv_asm_type_prefix with %.
25538 * configure: Regenerated.
25539 * include/libc-symbols.h: Remove comment about
25540 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25541 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25542 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25543 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25544 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25545 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25546 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25547 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25548 * elf/tst-unique2mod1.c: Likewise.
25549 * elf/tst-unique1mod2.c: Likewise.
25550 * elf/tst-unique1mod1.c: Likewise.
25551 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25552 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25553 Replace ASM_TYPE_DIRECTIVE with .type.
25554 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25555 * sysdeps/i386/sysdep.h: Likewise.
25556 * sysdeps/x86_64/sysdep.h: Likewise.
25557 * sysdeps/sh/sysdep.h: Likewise.
25558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25559 Do not define ASM_TYPE_DIRECTIVE.
25560 * sysdeps/powerpc/sysdep.h: Likewise.
25561 * sysdeps/powerpc/powerpc32/sysdep.h:
25562 Replace ASM_TYPE_DIRECTIVE with .type.
25563 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25564 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25565 * sysdeps/i386/fpu/e_powf.S: Likewise.
25566 * sysdeps/i386/fpu/e_expl.S: Likewise.
25567 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25568 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25569 * sysdeps/i386/fpu/e_pow.S: Likewise.
25570 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25571 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25572 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25573 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25574 * sysdeps/i386/fpu/e_log2.S: Likewise.
25575 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25576 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25577 * sysdeps/i386/fpu/e_powl.S: Likewise.
25578 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25579 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25580 * sysdeps/i386/fpu/e_logl.S: Likewise.
25581 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25582 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25583 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25584 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25585 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25586 * sysdeps/i386/fpu/e_log.S: Likewise.
25587 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25588 * sysdeps/i386/fpu/e_logf.S: Likewise.
25589 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25590 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25591 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25592 * sysdeps/i386/fpu/e_log10.S: Likewise.
25593 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25594 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25595 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25596 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25597 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25598 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25599 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25600 * sysdeps/i386/i686/strtok.S: Likewise.
25601 * sysdeps/i386/i386-mcount.S: Likewise.
25602 * sysdeps/i386/strtok.S: Likewise.
25603 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25604 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25605 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25606 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25607 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25608 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25609 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25610 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25611 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25612 * sysdeps/x86_64/_mcount.S: Likewise.
25613 * sysdeps/x86_64/strtok.S: Likewise.
25614 * sysdeps/sh/_mcount.S: Likewise.
25616 2012-08-01 Roland McGrath <roland@hack.frob.com>
25618 * libio/iofopen.c: Include <fcntl.h>.
25619 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25620 (_IO_fopen64, fopen64): Define as aliases.
25621 * libio/iofopen64.c: Include <fcntl.h>.
25622 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25623 Conditionalize body on this.
25624 * sysdeps/wordsize-64/iofopen.c: File removed.
25625 * sysdeps/wordsize-64/iofopen64.c: File removed.
25627 2012-08-01 Marek Polacek <polacek@redhat.com>
25629 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25630 Use dlfcn directly instead of a variable.
25631 (binfmt-subdir): Do not define.
25634 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25636 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25637 Remove all definitions.
25638 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25639 <kernel-features.h>.
25640 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25641 (miss_F_GETOWN_EX): Remove all definitions.
25642 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25644 [!__ASSUME_FCNTL64]: Remove conditional code.
25645 [__ASSUME_FCNTL64]: Make code unconditional.
25646 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25647 <kernel-features.h>.
25648 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25649 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25650 (lockf64) [__NR_fcntl64]: Make code unconditional.
25651 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25653 * sysdeps/unix/sysv/linux/kernel-features.h
25654 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25655 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25656 Make code unconditional.
25657 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25658 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25660 [__NR_vfork]: Make code unconditional.
25661 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25662 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25664 [__NR_vfork]: Make code unconditional.
25665 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25666 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25668 2012-08-01 Roland McGrath <roland@hack.frob.com>
25670 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25671 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25673 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25674 Define mkstemp64 as an alias.
25675 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25676 Define mkstemps64 as an alias.
25677 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25678 Define mkostemp64 as an alias.
25679 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25680 Define mkostemps64 as an alias.
25681 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25682 Conditionalize body on this.
25683 * misc/mkostemp64.c: Likewise.
25684 * misc/mkostemps64.c: Likewise.
25685 * misc/mkstemps64.c: Likewise.
25686 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25687 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25688 * sysdeps/wordsize-64/mkostemp.c: File removed.
25689 * sysdeps/wordsize-64/mkstemp.c: File removed.
25690 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25691 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25692 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25693 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25696 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25697 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25698 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25699 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25701 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25702 compat_symbol macros from <shlib-compat.h> rather than the underlying
25703 default_symbol_version and symbol_version macros, so that DEFAULT
25704 lines in shlib-versions are respected.
25705 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25707 2012-08-01 Florian Weimer <fweimer@redhat.com>
25709 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25710 Declare with warn_unused_result.
25711 (setgid, setregid, setegid, setresgid): Likewise.
25712 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25714 * WUR-REPORT: Remove set*id functions.
25716 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25718 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25720 2012-07-31 Roland McGrath <roland@hack.frob.com>
25723 * include/sys/socket.h (__libc_accept, __libc_accept4):
25724 Add attribute_hidden.
25725 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25727 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25729 * inet/getnetgrent_r.c (setup): Likewise.
25731 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25733 2012-07-31 David S. Miller <davem@davemloft.net>
25735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25737 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25740 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25741 value between 1.0 and 2.0 and smaller part has absolute value less
25743 * math/s_clog10.c (__clog10): Likewise.
25744 * math/s_clog10f.c (__clog10f): Likewise.
25745 * math/s_clog10l.c (__clog10l): Likewise.
25746 * math/s_clogf.c (__clogf): Likewise.
25747 * math/s_clogl.c (__clogl): Likewise.
25748 * math/libm-test.inc (clog_test): Add more tests.
25749 (clog10_test): Likewise.
25750 * sysdeps/i386/fpu/libm-test-ulps: Update.
25751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25753 2012-07-31 Florian Weimer <fweimer@redhat.com>
25755 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25756 Exit with zero in case no suitable GID is found, and write a
25757 message to standard error.
25759 2012-07-30 Roland McGrath <roland@hack.frob.com>
25761 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25763 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25764 (MAXPATHLEN): Removed.
25765 (NOGROUP, NODEV): New macros.
25766 (setbit, clrbit, isset, isclr): New macros.
25767 (howmany, roundup, powerof2): New macros.
25768 (DEV_BSIZE): New macro.
25770 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25771 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25773 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25774 definition on [!__NO_LONG_DOUBLE_MATH].
25776 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25777 PTR_MANGLE and PTR_DEMANGLE.
25779 * socket/accept4.c (accept4): Rename to __libc_accept4.
25780 Define accept4 as a weak alias.
25782 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25783 on [_DIRENT_HAVE_D_TYPE].
25784 * io/ftw.c (ftw_dir): Likewise.
25786 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25788 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25790 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25791 Use the BSD numbers rather than the arbitrary ones we had.
25792 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25793 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25794 (SIGXCPU, SIGXFSZ): New macros.
25797 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25798 initializer on [_LIBC_REENTRANT].
25800 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25801 definitions inside [_POSIX_MAPPED_FILES].
25803 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25805 * dirent/opendir.c: Include <fcntl.h>.
25807 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25808 (__libc_getspecific): Likewise.
25809 (__libc_key_create): Likewise.
25811 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25812 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25813 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25814 (tmpfile64): Define as alias.
25815 * sysdeps/wordsize-64/tmpfile.c: File removed.
25816 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25817 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25818 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25820 * stdio-common/vfscanf.c: Include <stdbool.h>.
25821 * nss/makedb.c: Likewise.
25822 * stdio-common/_i18n_number.h: Likewise.
25823 * argp/argp-help.c: Likewise.
25824 * posix/wordexp.c: Likewise.
25825 * sysdeps/posix/spawni.c: Likewise.
25826 * nss/nss_files/files-initgroups.c: Likewise.
25827 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25828 * nss/nss_files/files-initgroups.c: Likewise.
25829 * nss/nss_db/db-netgrp.c: Likewise.
25830 * nss/nss_db/db-initgroups.c: Likewise.
25831 * io/fchmodat.c: Include <sys/stat.h>.
25833 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25834 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25836 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25839 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25840 Add multiple inclusion protection.
25842 2012-07-27 David S. Miller <davem@davemloft.net>
25844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25846 2012-07-27 Gary Benson <gbenson@redhat.com>
25849 * elf/rtld.c: Include <stap-probe.h>.
25850 (dl_main): Added static probes "init_start" and "init_complete".
25851 * elf/dl-load.c: Include <stap-probe.h>.
25852 (lose): Take new parameter "nsid".
25853 Added static probe "map_failed".
25854 (_dl_map_object_from_fd): Pass namespace id to lose.
25855 Added static probe "map_start".
25856 (open_verify): Pass namespace id to lose.
25857 * elf/dl-open.c: Include <stap-probe.h>.
25858 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25859 and "reloc_complete".
25860 * elf/dl-close.c: Include <stap-probe.h>.
25861 (_dl_close_worker): Added static probes "unmap_start" and
25863 * elf/rtld-debugger-interface.txt: New file documenting the above.
25865 2012-07-26 Roland McGrath <roland@hack.frob.com>
25867 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25868 rather than a string variable.
25869 * sunrpc/rpc_main.c (h_output): Likewise.
25870 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25872 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25874 * inet/check_native.c: New file.
25876 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25879 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25880 if larger part has absolute value 1.0.
25881 * math/s_clog10.c (__clog10): Likewise.
25882 * math/s_clog10f.c (__clog10f): Likewise.
25883 * math/s_clog10l.c (__clog10l): Likewise.
25884 * math/s_clogf.c (__clogf): Likewise.
25885 * math/s_clogl.c (__clogl): Likewise.
25886 * math/libm-test.inc (clog_test): Add more tests.
25887 (clog10_test): Likewise.
25888 * sysdeps/i386/fpu/libm-test-ulps: Update.
25889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25891 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25892 (pltexit): Likewise.
25893 (La_regs): Likewise.
25894 (La_retval): Likewise.
25895 (int_retval): Likewise.
25896 Update #error for removed macros to refer only to definitions in
25898 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25900 (pltexit): Likewise.
25901 (La_regs): Likewise.
25902 (La_retval): Likewise.
25903 (int_retval): Likewise.
25904 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25906 (pltexit): Likewise.
25907 (La_regs): Likewise.
25908 (La_retval): Likewise.
25909 (int_retval): Likewise.
25910 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25912 (pltexit): Likewise.
25913 (La_regs): Likewise.
25914 (La_retval): Likewise.
25915 (int_retval): Likewise.
25916 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25918 (pltexit): Likewise.
25919 (La_regs): Likewise.
25920 (La_retval): Likewise.
25921 (int_retval): Likewise.
25922 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25924 (pltexit): Likewise.
25925 (La_regs): Likewise.
25926 (La_retval): Likewise.
25927 (int_retval): Likewise.
25928 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25930 (pltexit): Likewise.
25931 (La_regs): Likewise.
25932 (La_retval): Likewise.
25933 (int_retval): Likewise.
25934 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25935 macro definitions in tst-audit.h.
25936 * sysdeps/i386/tst-audit.h: New file.
25937 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25938 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25939 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25940 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25941 * sysdeps/sh/tst-audit.h: Likewise.
25942 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25943 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25944 * sysdeps/x86_64/tst-audit.h: Likewise.
25946 2012-07-26 Andreas Jaeger <aj@suse.de>
25948 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25951 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25952 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25953 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25955 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25956 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25957 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25959 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25962 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25964 (si_call_addr, si_syscall, si_arch): Define new macro.
25965 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25967 (si_call_addr, si_syscall, si_arch): Define new marcro.
25968 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25970 (si_call_addr, si_syscall, si_arch): Define new macro.
25971 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25973 (si_call_addr, si_syscall, si_arch): Define new macro.
25975 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25978 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25979 Change to 2.4.21 where previously 2.4.1.
25980 * sysdeps/unix/sysv/linux/configure: Regenerated.
25981 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25982 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25983 Linux kernel version.
25984 (__ASSUME_STD_AUXV): Remove.
25985 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25987 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25988 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25989 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25990 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25991 (__ASSUME_NETLINK_SUPPORT): Likewise.
25992 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25993 (__no_netlink_support): Remove conditional definition.
25994 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25996 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25997 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25998 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25999 (if_nameindex_ioctl): Remove.
26000 (if_nameindex_netlink): Do not handle __no_netlink_support.
26001 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26003 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26004 Remove conditional code.
26005 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26007 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26009 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26010 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26011 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26013 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26014 [!__ASSUME_STD_AUXV]: Remove conditional code.
26015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26016 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26017 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26019 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26020 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26022 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26024 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26025 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26027 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26029 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26032 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26035 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26036 code unconditional.
26037 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26039 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26041 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26044 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26046 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26049 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26050 code unconditional.
26051 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26053 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26055 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26058 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26059 code unconditional.
26060 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26062 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26064 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26067 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26069 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26070 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26071 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26072 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26073 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26074 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26075 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26076 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26077 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26078 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26079 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26080 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26081 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26082 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26083 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26084 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26085 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26086 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26087 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26089 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26090 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26091 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26093 2012-07-25 Florian Weimer <fweimer@redhat.com>
26095 * Versions.def: Add GLIBC_2.17.
26096 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26097 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26098 Introduce __libc_secure_getenv.
26099 * stdlib/Versions (2.17): Add secure_getenv
26100 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26101 * stdlib/secure-getenv.c: Rename __secure_getenv to
26102 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26103 symbol __secure_getenv for GLIBC_2.0.
26104 * stdlib/tst-secure-getenv.c: New.
26105 * stdlib/Makefile (tests): Add testcase.
26106 * manual/startup.texi (Environment Access): Document
26108 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26109 __libc_secure_getenv.
26110 * inet/ruserpass.c (ruserpass): Likewise.
26111 * malloc/mtrace.c (mtrace): Likewise.
26112 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26113 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26114 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26115 * sysdeps/posix/tempname.c: Likewise. Evaluate
26116 HAVE_SECURE_GETENV.
26117 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26118 __secure_getenv to __libc_secure_getenv.
26119 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26126 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26132 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26134 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26135 (struct La_i86_retval): Likewise.
26136 (struct La_x86_64_regs): Likewise.
26137 (struct La_x86_64_retval): Likewise.
26138 (struct La_x32_regs): Likewise.
26139 (struct La_x32_retval): Likewise.
26140 (struct La_ppc32_regs): Likewise.
26141 (struct La_ppc32_retval): Likewise.
26142 (struct La_ppc64_regs): Likewise.
26143 (struct La_ppc64_retval): Likewise.
26144 (struct La_sh_regs): Likewise.
26145 (struct La_sh_retval): Likewise.
26146 (struct La_s390_32_regs): Likewise.
26147 (struct La_s390_32_retval): Likewise.
26148 (struct La_s390_64_regs): Likewise.
26149 (struct La_s390_64_retval): Likewise.
26150 (struct La_sparc32_regs): Likewise.
26151 (struct La_sparc32_retval): Likewise.
26152 (struct La_sparc64_regs): Likewise.
26153 (struct La_sparc64_retval): Likewise.
26154 (struct audit_ifaces): Remove architecture-specific pltenter and
26156 * sysdeps/i386/ldsodefs.h: New file.
26157 * sysdeps/powerpc/ldsodefs.h: Likewise.
26158 * sysdeps/s390/ldsodefs.h: Likewise.
26159 * sysdeps/sh/ldsodefs.h: Likewise.
26160 * sysdeps/sparc/ldsodefs.h: Likewise.
26161 * sysdeps/x86_64/ldsodefs.h: Likewise.
26163 2012-07-25 Marek Polacek <polacek@redhat.com>
26166 * math/libm-test.inc (yn_test): Add another test.
26167 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26168 to ERANGE when the result is +-Inf.
26169 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26170 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26171 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26172 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26174 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26176 * conform/data/time.h-data (NULL): Use macro-constant. Require
26178 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26180 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26182 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26184 * configure.in <sysdeps resolving>: Correct printing
26186 * configure: Regenerate.
26188 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26190 * math/w_ilogb.c: Include <limits.h>.
26191 * math/w_ilogbl.c: Likewise.
26193 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26195 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26196 va_copy. Document allowing for unavailable va_copy only as
26197 pre-C99 compatibility.
26198 * manual/string.texi (Copying and Concatenation): Use va_copy
26199 instead of __va_copy in concat example.
26201 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26203 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26204 (__sendto): Use create_address_port. Initialize APORT and deallocate
26207 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26208 with O_NOLINK passed to __file_name_lookup.
26210 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26211 with O_NOLINK passed to __file_name_lookup.
26213 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26214 negative N or less than NGIDS.
26216 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26217 type to string_t. Set ERANGE as errno and return it if NAME is not big
26218 enough. Use memcpy instead of strncpy.
26220 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26222 * elf/Makefile (check-data): Remove.
26223 (localplt.data): New vpath directive.
26224 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26225 instead of $(check-data).
26226 * scripts/data/localplt-generic.data: Move to ...
26227 * sysdeps/generic/localplt.data: ... here.
26228 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26229 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26230 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26233 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26236 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26239 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26242 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26245 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26249 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26251 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26252 PPC32 and PPC64 files.
26253 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26254 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26256 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26258 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26259 __makecontext_ret to ...
26260 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26261 ... here and call exit if uc_link is NULL. New file.
26262 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26263 __makecontext_ret.S.
26264 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26265 __makecontext_ret to ...
26266 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26267 ... here and call exit if uc_link is NULL. New file.
26268 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26269 __makecontext_ret.S.
26271 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26273 * elf/elf.h (R_390_IRELATIVE): New definition.
26274 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26275 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26276 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26277 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26278 (elf_machine_lazy_rel): Likewise.
26279 * sysdeps/s390/dl-irel.h: New file.
26280 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26281 * sysdeps/s390/s390-64/memset.S: New asm code.
26282 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26283 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26284 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26285 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26286 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26287 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26288 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26289 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26290 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26291 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26292 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26293 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26294 * sysdeps/s390/s390-32/memset.S: New asm code.
26295 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26297 2012-07-17 Marek Polacek <polacek@redhat.com>
26300 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26301 * sysdeps/s390/s390-64/configure.in: Likewise.
26302 * sysdeps/sparc/configure.in: Likewise.
26303 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26304 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26305 * sysdeps/i386/configure.in: Likewise.
26306 * sysdeps/x86_64/configure.in: Likewise.
26307 * sysdeps/sh/configure.in: Likewise.
26308 * sysdeps/s390/s390-32/configure: Regenerated.
26309 * sysdeps/s390/s390-64/configure: Likewise.
26310 * sysdeps/x86_64/configure: Likewise.
26311 * sysdeps/sh/configure: Likewise.
26312 * sysdeps/powerpc/powerpc64/configure: Likewise.
26313 * sysdeps/powerpc/powerpc32/configure: Likewise.
26314 * sysdeps/sparc/configure: Likwise.
26315 * sysdeps/i386/configure: Likewise.
26317 * elf/dl-open.c: Comment fixes.
26319 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26321 * Makefile [CXX] (check-data): Remove.
26322 [CXX] (c++-types.data): New vpath directive.
26323 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26324 vpath. Do not allow for C++ type data being missing.
26325 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26326 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26327 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26328 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26329 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26330 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26331 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26334 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26337 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26340 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26343 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26346 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26349 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26352 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26355 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26356 definitions to architecture-specific files.
26357 (TLS_IE): Likewise.
26358 (TLS_LD): Likewise.
26359 (TLS_GD): Likewise.
26360 * sysdeps/i386/tls-macros.h: New file.
26361 * sysdeps/powerpc/tls-macros.h: Likewise.
26362 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26363 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26364 * sysdeps/sh/tls-macros.h: Likewise.
26365 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26366 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26367 * sysdeps/x86_64/tls-macros.h: Likewise.
26369 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26371 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26372 zero value for regular exit case.
26374 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26375 (__start_context): Preserve zero value for regular exit case.
26377 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26378 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26380 * manual/setjmp.texi (setcontext): Clarify normal process
26381 termination when uc_link is the null pointer.
26382 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26385 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26387 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26388 preprocessor. Test for each exception mask separately.
26390 2012-07-16 Andreas Jaeger <aj@suse.de>
26392 * po/ru.po: Update from translation team.
26394 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26396 * conform/data/string.h-data (NULL): Use macro-constant. Require
26398 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26399 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26400 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26401 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26402 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26404 2012-07-13 Andreas Jaeger <aj@suse.de>
26406 * po/fr.po: Update from translation team.
26408 2012-07-12 Marek Polacek <polacek@redhat.com>
26411 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26412 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26415 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26418 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26419 Change to 2.4.1 where previously 2.4.0.
26420 * sysdeps/unix/sysv/linux/configure: Regenerated.
26421 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26422 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26424 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26425 (__ASSUME_AT_CLKTCK): Remove.
26426 (__ASSUME_AT_PAGESIZE): Likewise.
26427 (__ASSUME_AT_XID): Likewise.
26428 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26429 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26430 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26432 (HAVE_AUX_PAGESIZE): Likewise.
26433 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26434 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26435 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26437 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26440 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26441 the temporary buffer used to invoke __gethostbyname2_r,
26442 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26443 host_data / struct gaih_addrtuple.
26444 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26445 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26446 header file nss/nsswitch.h.
26447 * nss/nsswitch.h (global scope): Add definition of implementation
26448 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26449 resolv/nss_dns/dns-host.c).
26451 2012-07-11 Andreas Jaeger <aj@suse.de>
26453 * po/fr.po: Update from translation team.
26455 * po/sv.po: Update from translation team
26456 * po/fr.po: Another update from translation team.
26458 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26460 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26461 for subnormals or multiply small sinh result by itself.
26462 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26465 2012-07-11 David S. Miller <davem@davemloft.net>
26467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26469 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26472 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26473 (INTERNAL_MARK): Shift it here.
26475 2012-07-10 Marek Polacek <polacek@redhat.com>
26478 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26479 libc_cv_asm_global_directive with .globl.
26480 * configure: Regenerated.
26481 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26483 * sysdeps/i386/configure: Regenerated.
26484 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26486 * sysdeps/x86_64/configure: Regenerated.
26487 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26488 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26489 * elf/tst-unique2mod2.c: Likewise.
26490 * elf/tst-unique2mod1.c: Likewise.
26491 * elf/tst-unique1mod2.c: Likewise.
26492 * elf/tst-unique1mod1.c: Likewise.
26493 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26494 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26495 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26496 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26497 * sysdeps/mach/sysdep.h: Likewise.
26498 * sysdeps/i386/sysdep.h: Likewise.
26499 * sysdeps/i386/i386-mcount.S: Likewise.
26500 * sysdeps/x86_64/_mcount.S: Likewise.
26501 * sysdeps/x86_64/sysdep.h: Likewise.
26502 * sysdeps/sh/_mcount.S: Likewise.
26503 * sysdeps/sh/sysdep.h: Likewise.
26504 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26505 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26506 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26507 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26508 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26509 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26510 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26511 * locale/localeinfo.h: Likewise.
26512 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26513 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26515 2012-07-09 Roland McGrath <roland@hack.frob.com>
26518 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26520 * manual/message.texi (The Uniforum approach): Likewise.
26521 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26522 (glibc iconv Implementation): Likewise.
26524 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26527 * math/s_clog.c (__clog): Avoid scaling a value down where that
26528 could result in underflow.
26529 * math/s_clog10.c (__clog10): Likewise.
26530 * math/s_clog10f.c (__clog10f): Likewise.
26531 * math/s_clog10l.c (__clog10l): Likewise.
26532 * math/s_clogf.c (__clogf): Likewise.
26533 * math/s_clogl.c (__clogl): Likewise.
26534 * math/libm-test.inc (clog_test): Add more tests.
26535 (clog10_test): Likewise.
26536 * sysdeps/i386/fpu/libm-test-ulps: Update.
26537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26539 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26542 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26543 by 7 not 8 to examine high bit of fractional part.
26546 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26547 for call to __mcount_internal.
26548 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26549 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26550 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26552 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26555 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26556 approximation for values within 0x1p-13f of an odd multiple of
26558 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26559 exception. Add more tests.
26560 * sysdeps/i386/fpu/libm-test-ulps: Update.
26563 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26564 inputs and return -1 for them. Do not check for +Inf in case not
26565 reachable for +Inf.
26566 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26567 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26568 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26569 and return -1 for them. Do not check for +Inf in case not
26570 reachable for +Inf.
26571 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26573 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26574 and return -1 for them. Do not check for +Inf in case not
26575 reachable for +Inf.
26576 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26577 spurious underflow.
26578 * sysdeps/i386/fpu/libm-test-ulps: Update.
26579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26581 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26583 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26585 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26589 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26590 could result in spurious underflow. Scale down values above
26591 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26592 * math/s_csqrtf.c (__csqrtf): Likewise.
26593 * math/s_csqrtl.c (__csqrtl): Likewise.
26594 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26595 spurious underflow.
26596 * sysdeps/i386/fpu/libm-test-ulps: Update.
26597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26599 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26601 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26603 * catgets/xopen-msg.awk: New file.
26604 * catgets/xopen-msg.sed: Removed.
26606 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26608 * intl/po2test.awk: New file.
26609 * intl/po2test.sed: Removed.
26611 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26614 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26615 or multiply small sinh result by itself.
26616 * math/s_ctanf.c (__ctanf): Likewise.
26617 * math/s_ctanh.c (__ctanh): Likewise.
26618 * math/s_ctanhf.c (__ctanhf): Likewise.
26619 * math/s_ctanhl.c (__ctanhl): Likewise.
26620 * math/s_ctanl.c (__ctanl): Likewise.
26621 * math/libm-test.inc (ctan_test_tonearest): New function.
26622 (ctan_test_towardzero): Likewise.
26623 (ctan_test_downward): Likewise.
26624 (ctan_test_upward): Likewise.
26625 (ctanh_test_tonearest): Likewise.
26626 (ctanh_test_towardzero): Likewise.
26627 (ctanh_test_downward): Likewise.
26628 (ctanh_test_upward): Likewise.
26629 (main): Call these new functions.
26630 * sysdeps/i386/fpu/libm-test-ulps: Update.
26631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26633 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26635 * .gitignore: Delete /ports entry.
26637 2012-07-03 Andreas Jaeger <aj@suse.de>
26639 * po/bg.po: Update from translation team.
26640 * po/cs.po: Likewise.
26641 * po/de.po: Likewise.
26642 * po/hr.po: Likewise.
26643 * po/nl.pl: Likewise.
26644 * po/pl.po: Likewise.
26645 * po/vi.po: Likewise.
26647 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26649 * Makeconfig [!+link] (+link-before-libc): New variable.
26650 [!+link] (+link-after-libc): Likewise.
26651 [!+link] (+link-tests): Likewise.
26652 [!+link] (+link): Define in terms of $(+link-before-libc) and
26653 $(+link-after-libc).
26654 [!+link-static] (+link-static-before-libc): New variable.
26655 [!+link-static] (+link-static-after-libc): Likewise.
26656 [!+link-static] (+link-static-tests): Likewise.
26657 [!+link-static] (+link-static): Define in terms of
26658 $(+link-static-before-libc) and $(+link-static-after-libc).
26659 [build-shared] (link-libc-before-gnulib): New variable.
26660 [build-shared] (link-libc-tests): Likewise.
26661 [build-shared] (link-libc): Define in terms of
26662 $(link-libc-before-gnulib).
26663 [!build-shared] (link-libc-tests): New variable.
26664 (link-libc-static-tests): New variable.
26665 [!gnulib] (gnulib-arch): New variable.
26666 [!gnulib] (gnulib-tests): Likewise.
26667 [!gnulib] (static-gnulib-arch): Likewise.
26668 [!gnulib] (static-gnulib-tests): Likewise.
26669 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26670 Define with "=" instead of ":=".
26671 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26672 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26673 * Rules (binaries-all-notests): New variable.
26674 (binaries-all-tests): Likewise.
26675 (binaries-static-notests): Likewise.
26676 (binaries-static-tests): Likewise.
26677 (binaries-all): Define using $(binaries-all-notests) and
26678 $(binaries-all-tests).
26679 (binaries-static): Define using $(binaries-static-notests) and
26680 $(binaries-static-tests).
26681 (binaries-shared-tests): New variable.
26682 (binaries-shared-notests): Likewise.
26683 (binaries-shared): Remove variable.
26684 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26685 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26686 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26687 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26688 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26689 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26690 * elf/Makefile (sln-modules): New variable.
26691 (extra-objs): Add $(sln-modules:=.o).
26692 (ldconfig-modules): Add static-stubs.
26693 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26694 * elf/static-stubs.c: New file.
26697 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26698 by 7 not 8 to examine high bit of fractional part. Use volatile
26699 variables when splitting into final array of floats if
26700 __FLT_EVAL_METHOD__ != 0.
26701 * math/libm-test.inc (cos_test): Add another test.
26702 (sin_test): Likewise.
26703 * sysdeps/i386/fpu/libm-test-ulps: Update.
26706 * math/libm-test.inc (cosh_test): Add more tests.
26708 * version.h (RELEASE): Set to "development".
26709 (VERSION): Set to "2.16.90".
26711 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26713 * NEWS: Update copyright. Remove last-updated date.
26714 Mention math library bug fixes and timezone data changes.
26715 * README: Mention GNU/Hurd, x32, and HPPA support status.
26717 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26719 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26721 2012-06-27 Andreas Jaeger <aj@suse.de>
26723 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26725 2012-06-25 Andreas Jaeger <aj@suse.de>
26727 * sysdeps/s390/fpu/libm-test-ulps: Update.
26729 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26730 Thomas Schwinge <thomas@codesourcery.com>
26732 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26733 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26734 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26737 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26739 * sysdeps/mach/start.c: Remove file.
26740 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26741 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26742 * sysdeps/sh/init-first.c: Likewise.
26744 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26745 registers for frame unwinding purposes, add CFI directives.
26746 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26747 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26748 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26751 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26752 __fortify_fail returning.
26753 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26755 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26756 sysdeps/sh/____longjmp_chk.S.
26757 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26758 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26759 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26760 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26762 * sysdeps/sh/abort-instr.h: New file.
26763 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26764 process in case exit returns.
26766 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26767 initialize the GOT register before use.
26769 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26770 calculation of ARGC > 4.
26772 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26773 meaningful names to some local labels.
26775 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26776 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26778 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26779 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26780 (__arch_compare_and_exchange_val_16_acq): Likewise.
26781 (__arch_compare_and_exchange_val_32_acq): Likewise.
26782 (atomic_exchange_and_add): Fix gUSA sequence.
26783 (atomic_add): Likewise.
26784 (atomic_add_negative): Likewise.
26785 (atomic_add_zero): Likewise.
26786 (atomic_bit_test_set): Likewise.
26788 2012-06-22 Andreas Schwab <schwab@redhat.com>
26791 * include/link.h (struct link_map): Add l_free_initfini.
26792 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26794 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26795 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26796 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26799 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26801 * configure.in: Use AC_LANG_SOURCE.
26802 * configure: Regenerate.
26804 2012-06-22 Roland McGrath <roland@hack.frob.com>
26806 * configure.in (libc_cv_localstatedir): New substituted variable.
26807 * configure: Regenerated.
26808 * config.make.in (localstatedir): New variable, substituted from
26809 libc_cv_localstatedir.
26810 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26811 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26812 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26813 * sysdeps/gnu/configure: Regenerated.
26815 2012-06-21 Jeff Law <law@redhat.com>
26818 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26819 free. Simplify list management for _LIBC case.
26821 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26824 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26825 Clear sign bit of 64-bit integer value before comparing against
26828 * sysdeps/mach/configure: Regenerated.
26830 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26833 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26835 2012-06-21 Jeff Law <law@redhat.com>
26838 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26839 uint16_t for elements in the "seen" array to avoid char overflows.
26840 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26841 * elf/dl-open.c (dl_open_worker): Likewise.
26843 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26845 * scripts/list-sources.sh: Scan PORTS for translations.
26846 * po/libc.pot: Regenerated.
26848 2012-06-21 Andreas Jaeger <aj@suse.de>
26851 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26853 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26854 * bits/byteswap-16.h (__bswap_16): Likewise.
26855 * bits/byteswap.h (__bswap_constant_16): Likewise.
26857 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26860 * sysdeps/i386/fpu_control.h: Removed.
26861 * sysdeps/x86_64/fpu_control.h: Moved to ...
26862 * sysdeps/x86/fpu_control.h: Here.
26864 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26865 (_FPU_SETCW): Likewise.
26867 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26870 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26871 * sysdeps/x86/fpu/bits/mathinline.h: This.
26872 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26876 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26877 functions if __x86_64__ is defined.
26879 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26881 * string/endian.h: Add !__ASSEMBLER__ condition for including
26882 conversion interfaces.
26884 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26887 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26888 of ABS(x) in calculating zero to negative powers other than odd
26890 * math/libm-test.inc (pow_test): Add more tests.
26892 2012-06-15 Andreas Jaeger <aj@suse.de>
26894 * manual/contrib.texi (Contributors): Update entry of Liubov
26895 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26898 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26900 * string/string.h: Add __wur to GNU version of strerror_r.
26902 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26905 * string/Makefile (tests): Add tst-strtok_r.
26906 * string/tst-strtok_r.c: New file.
26907 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26908 RAX_LP/RDX_LP on SAVE_PTR.
26910 2012-06-14 Roland McGrath <roland@hack.frob.com>
26912 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26914 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26916 * libm_test.inc (csqrt_test): Allow more spurious underflow
26918 (j0_test): Likewise.
26919 (j1_test): Likewise.
26920 (y0_test): Likewise.
26921 (y1_test): Likewise.
26923 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26925 * po/Makefile (libc.pot): Use UTF-8 charset.
26927 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26930 Suppress sign-conversion warning from FD_SET.
26931 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26932 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26933 not unsigned long int.
26934 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26936 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26940 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26941 __extern_always_inline instead of __extern_inline.
26942 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26943 (__signbit): Likewise.
26944 (__signbitl): Support C++ namespace.
26945 (lrintf): New inline function.
26947 (llrintf): Likewise.
26948 (llrint): Likewise.
26958 (floorf): Likewise.
26959 (nearbyint): Likewise.
26960 (nearbyintf): Likewise.
26962 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26964 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26965 non-default versions.
26967 2012-06-11 Roland McGrath <roland@hack.frob.com>
26970 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26972 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26974 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26975 (FE_UPWARD, FE_DOWNWARD): Don't define.
26976 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26977 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26979 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26981 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26982 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26984 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26986 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26987 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26988 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26989 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26991 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26994 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26995 * sysdeps/i386/fpu/Implies: New file.
26996 * sysdeps/x86_64/fpu/Implies: Likewise.
26997 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26998 * sysdeps/x86/fpu/bits/fenv.h: This.
27000 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27003 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27006 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27007 character 0xffff that matches the last element of the
27010 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27012 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27015 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27017 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27018 values higher than 25.6283.
27020 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27022 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27023 subnormal exponent extraction and add some __builtin_expect.
27024 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27025 Fix for subnormal mantissa calculation.
27027 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27029 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27030 cpu2 is -1 and errno is not ENOSYS.
27032 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27035 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27036 * sysdeps/x86/bits/string.h: This.
27037 * sysdeps/x86_64/bits/string.h: Removed.
27039 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27040 if not compiling for x86-64, but compiling for >= i486.
27042 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27043 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27045 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27046 New macro from Linux kernel 3.4.0.
27047 (FP_XSTATE_MAGIC2): Likewise.
27048 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27049 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27050 (struct _fpx_sw_bytes): New struct.
27051 (struct _xsave_hdr): Likewise.
27052 (struct _ymmh_state): Likewise.
27053 (struct _xstate): Likewise.
27055 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27056 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27057 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27058 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27059 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27060 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27062 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27063 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27064 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27065 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27066 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27067 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27069 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27072 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27073 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27074 (sysdep_headers): Include sys/platform/ppc.h.
27075 * sysdeps/powerpc/test-gettimebase.c: Test for
27076 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27077 * manual/Makefile (appendices): Include platform.texi.
27078 * manual/contrib.texi (Contributors): Update @node pointers.
27079 * manual/maint.texi (Maintenance): Likewise.
27080 (Platform): New node.
27081 * manual/platform.texi: New file. Document the new features.
27083 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27084 Jakub Jelinek <jakub@redhat.com>
27087 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27088 where __builtin_expect is unavailable.
27090 2012-06-03 David S. Miller <davem@davemloft.net>
27092 * stdlib/longlong.h: Updated from GCC.
27094 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27097 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27098 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27101 (GLIBC_2.16): Likewise.
27103 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27105 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27107 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27110 (default-abi): New variable.
27111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27112 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27114 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27116 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27118 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27121 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27122 definition. Document in comment.
27124 2012-06-01 David S. Miller <davem@davemloft.net>
27126 * stdlib/longlong.h: Updated from GCC.
27128 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27131 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27132 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27133 sys/debugreg.h sys/io.h here.
27134 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27135 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27137 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27138 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27139 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27140 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27141 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27142 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27144 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27145 Define only if __x86_64__ is defined.
27147 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27150 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27151 Use int64_t for variable i.
27152 * math/libm-test.inc (fmod_test): Add more tests.
27154 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27155 z computation is not scheduled after fetestexcept.
27156 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27157 Use math_force_eval instead of asm to ensure calculation scheduled
27158 before exception test.
27159 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27160 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27162 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27164 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27165 computation is not scheduled after fetestexcept.
27167 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27170 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27171 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27173 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27175 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27176 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27178 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27181 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27183 (__WCHAR_MIN): Support __WORDSIZE == 64.
27184 (__WCHAR_MAX): Likewise.
27186 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27187 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27190 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27191 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27194 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27195 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27197 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27198 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27200 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27201 Defined to 1 if __x86_64__ isn't defined.
27202 (_STAT_VER_LINUX_OLD): New.
27203 (st_atime): Remove duplicate.
27204 (st_mtime): Likewise.
27205 (st_ctime): Likewise.
27207 2012-05-31 David S. Miller <davem@davemloft.net>
27209 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27212 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27214 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27218 * elf/dl-reloc.c: Include <_itoa.h>.
27219 (_dl_reloc_bad_type): Remove use of INTUSE.
27220 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27221 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27222 * stdio-common/psiginfo.c (psiginfo): Likewise.
27223 * stdio-common/psignal.c (psignal): Likewise.
27224 * string/strsignal.c (strsignal): Likewise.
27225 * include/signal.h (_sys_siglist): Declare hidden proto.
27226 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27227 INTVARDEF with libc_hidden_data_def.
27228 * stdio-common/itoa-udigits.c: Likewise.
27229 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27230 (_itoa_lower_digits_internal): Remove declaration.
27231 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27232 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27233 (_sys_sigabbrev_internal): Remove aliases.
27234 (_sys_siglist): Define hidden alias.
27236 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27241 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27244 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27245 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27247 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27248 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27249 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27250 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27251 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27252 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27254 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27255 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27256 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27258 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27266 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27267 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27268 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27270 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27271 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27272 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27273 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27274 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27275 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27277 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27278 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27280 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27281 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27283 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27284 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27285 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27287 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27288 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27290 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27292 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27293 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27294 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27296 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27298 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27300 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27302 * math/math.h (M_El): Use two more decimal places.
27303 (M_LOG2El): Likewise.
27304 (M_LOG10El): Likewise.
27305 (M_LN2l): Likewise.
27306 (M_LN10l): Likewise.
27308 (M_PI_2l): Likewise.
27309 (M_PI_4l): Likewise.
27310 (M_1_PIl): Likewise.
27311 (M_2_PIl): Likewise.
27312 (M_2_SQRTPIl): Likewise.
27313 (M_SQRT2l): Likewise.
27314 (M_SQRT1_2l): Likewise.
27316 2012-05-31 David S. Miller <davem@davemloft.net>
27318 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27319 values between float registers.
27320 * sysdeps/sparc/sparc64/memset.S: Likewise.
27321 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27323 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27325 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27326 -D_FORTIFY_SOURCE=1.
27327 (CPPFLAGS-tst-longjmp_chk.c): Define.
27328 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27329 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27330 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27331 CFLAGS-tst-wchar-h.c.
27333 2012-05-31 Marek Polacek <polacek@redhat.com>
27336 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27337 __endmntent_internal): Remove declaration.
27338 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27339 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27340 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27342 2012-05-30 David S. Miller <davem@davemloft.net>
27344 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27345 (___Q_simulate_exceptions): Use real FP ops rather than writing
27347 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27350 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27353 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27354 * sysdeps/x86/bits/xtitypes.h: This.
27356 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27357 * sysdeps/x86/bits/wordsize.h: This.
27359 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27360 * sysdeps/x86/bits/huge_vall.h: This.
27362 * sysdeps/i386/bits/select.h: Removed.
27363 * sysdeps/x86_64/bits/select.h: Renamed to ...
27364 * sysdeps/x86/bits/select.h: This.
27366 * sysdeps/i386/bits/setjmp.h: Removed.
27367 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27368 * sysdeps/x86/bits/setjmp.h: This.
27370 * sysdeps/i386/bits/mathdef.h: Removed.
27371 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27372 * sysdeps/x86/bits/mathdef.h: This.
27374 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27377 * include/sys/socket.h (__connect_internal)
27378 (__libc_sa_len_internal): Remove declaration.
27379 (__connect, __libc_sa_len): Declare hidden_proto.
27380 (SA_LEN): Remove use of INTUSE.
27381 * socket/connect.c: Add libc_hidden_def.
27382 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27383 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27384 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27386 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27387 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27388 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27389 of adding _internal alias.
27391 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27394 * sysdeps/i386/bits/link.h: Removed.
27395 * sysdeps/i386/bits/linkmap.h: Likewise.
27396 * sysdeps/x86_64/bits/link.h: Renamed to ...
27397 * sysdeps/x86/bits/link.h: This.
27398 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27399 * sysdeps/x86/bits/linkmap.h: This.
27401 * sysdeps/i386/bits/endian.h: Removed.
27402 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27403 * sysdeps/x86/bits/endian.h: This.
27405 * sysdeps/i386/bits/byteswap.h: Removed.
27406 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27407 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27408 * sysdeps/x86/bits/byteswap.h: This.
27409 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27410 * sysdeps/x86/bits/byteswap-16.h: This.
27411 * sysdeps/i386/Implies: Add x86.
27412 * sysdeps/x86_64/Implies: Likewise.
27414 2012-05-30 David S. Miller <davem@davemloft.net>
27416 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27417 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27418 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27419 (FP_TRAPPING_EXCEPTIONS): Define.
27420 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27421 (FP_TRAPPING_EXCEPTIONS): Define.
27422 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27423 subnormals only when inexact has been signalled or underflow
27424 exceptions are enabled.
27425 (_FP_PACK_CANONICAL): Likewise.
27427 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27430 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27431 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27433 2012-05-30 Richard Henderson <rth@twiddle.net>
27435 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27436 with #ifndef NOT_IN_libc.
27438 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27439 marked to avoid plt entry.
27441 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27444 * Makeconfig (default-abi): New macro.
27445 (abi-includes): Likewise.
27446 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27447 $(abi-$(default-abi)-lib-soname) for soname if defined.
27448 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27450 * Makefile (installed-stubs): Likewise.
27451 * include/stubs-biarch.h: Removed.
27452 * scripts/lib-names.awk: Only handle one library at a time.
27453 * scripts/soversions.awk: Remove WORDSIZE support.
27454 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27456 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27458 (syscall-list-default-condition): Likewise.
27459 (syscall-list-default-condition): Likewise.
27460 (syscall-list-includes): Likewise.
27461 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27462 syscall-list-* with abi-*. Handle undefined abi-variants.
27463 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27464 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27465 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27466 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27467 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27468 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27470 (syscall-list-32-options): Likewise.
27471 (syscall-list-32-condition): Likewise.
27472 (syscall-list-64-options): Likewise.
27473 (syscall-list-64-condition): Likewise.
27474 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27476 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27479 (abi-64-ld-soname): New macro.
27480 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27481 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27484 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27485 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27487 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27489 * sysdeps/unix/sysv/linux/kernel-features.h
27490 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27491 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27492 include <kernel-features.h>.
27493 [!__NR_ftruncate64]: Remove conditional code.
27494 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27495 [__NR_ftruncate64]: Make code unconditional.
27496 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27497 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27498 include <kernel-features.h>.
27499 [!__NR_ftruncate64]: Remove conditional code.
27500 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27501 [__NR_ftruncate64]: Make code unconditional.
27502 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27504 include <kernel-features.h>.
27505 [!__NR_ftruncate64]: Remove conditional code.
27506 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27507 [__NR_ftruncate64]: Make code unconditional.
27508 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27510 include <kernel-features.h>.
27511 [!__NR_ftruncate64]: Remove conditional code.
27512 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27513 [__NR_ftruncate64]: Make code unconditional.
27514 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27516 * configure.in (libc_cv_fpie): Weaken to a compile test using
27517 LIBC_TRY_CC_OPTION.
27518 * configure: Regenerated.
27520 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27535 2012-05-27 David S. Miller <davem@davemloft.net>
27537 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27539 (__Q_simulate_exceptions): Return void. Change to simulate
27540 exceptions by writing into the %fsr.
27541 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27542 (__Qp_handle_exceptions): Likewise.
27544 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27545 __Qp_handle_exceptions.
27546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27547 __Qp_handle_exceptions.
27548 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27549 as unused and give dummy FP_RND_NEAREST initializer.
27550 (FP_INHIBIT_RESULTS): Define.
27551 (___Q_simulate_exceptions): Update declaration.
27552 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27554 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27555 as unused and give dummy FP_RND_NEAREST initializer.
27556 (__Qp_handle_exceptions): Update declaration.
27557 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27560 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27562 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27563 the temporary FPU control word.
27564 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27565 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27566 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27567 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27568 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27569 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27570 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27571 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27572 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27573 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27574 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27576 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27578 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27581 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27583 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27584 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27585 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27586 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27588 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27589 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27592 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27594 * po/h.po: Update from translation team.
27596 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27598 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27600 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27601 handling of denormals.
27602 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27603 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27604 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27605 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27606 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27607 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27608 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27611 2012-05-26 Marek Polacek <polacek@redhat.com>
27614 * math/libm-test.inc (fma_test): Don't always expect underflow
27617 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27620 * elf/tst-execstack.c: Include stackinfo.h.
27621 (do_test): Adjust test case to ensure that pthread_getattr_np
27622 behaviour remains the same after marking stack executable.
27624 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27626 * sysdeps/unix/sysv/linux/kernel-features.h
27627 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27628 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27630 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27631 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27632 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27634 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27635 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27637 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27639 * configure.in: Define the default includes to being none.
27640 * configure: Regenerated.
27642 2012-05-25 Roland McGrath <roland@hack.frob.com>
27644 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27645 * sysdeps/x86_64/setjmp.S: Likewise.
27646 * sysdeps/i386/bsd-setjmp.S: Likewise.
27647 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27648 * sysdeps/i386/setjmp.S: Likewise.
27649 * sysdeps/i386/__longjmp.S: Likewise.
27650 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27651 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27653 * include/stap-probe.h: New file.
27654 * configure.in: Handle --enable-systemtap.
27655 * configure: Regenerated.
27656 * config.h.in (USE_STAP_PROBE): New #undef.
27657 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27658 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27659 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27661 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27664 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27665 to 2.4.0 where earlier.
27666 * sysdeps/unix/sysv/linux/configure: Regenerated.
27667 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27668 <kernel-features.h>.
27669 [__ASSUME_32BITUIDS]: Make code unconditional.
27670 [!__ASSUME_32BITUIDS]: Remove conditional code.
27671 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27672 <kernel-features.h>.
27673 [__ASSUME_32BITUIDS]: Make code unconditional.
27674 [!__ASSUME_32BITUIDS]: Remove conditional code.
27675 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27676 [__ASSUME_32BITUIDS]: Make code unconditional.
27677 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27678 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27679 <kernel-features.h>.
27680 [__ASSUME_32BITUIDS]: Make code unconditional.
27681 [!__ASSUME_32BITUIDS]: Remove conditional code.
27682 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27683 <kernel-features.h>.
27684 [__ASSUME_32BITUIDS]: Make code unconditional.
27685 [!__ASSUME_32BITUIDS]: Remove conditional code.
27686 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27687 <kernel-features.h>.
27688 [__ASSUME_32BITUIDS]: Make code unconditional.
27689 [!__ASSUME_32BITUIDS]: Remove conditional code.
27690 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27691 <kernel-features.h>.
27692 [__ASSUME_32BITUIDS]: Make code unconditional.
27693 [!__ASSUME_32BITUIDS]: Remove conditional code.
27694 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27695 <kernel-features.h>.
27696 [__ASSUME_32BITUIDS]: Make code unconditional.
27697 [!__ASSUME_32BITUIDS]: Remove conditional code.
27698 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27699 <kernel-features.h>.
27700 [__ASSUME_32BITUIDS]: Make code unconditional.
27701 [!__ASSUME_32BITUIDS]: Remove conditional code.
27702 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27703 <kernel-features.h>.
27704 [__ASSUME_32BITUIDS]: Make code unconditional.
27705 [!__ASSUME_32BITUIDS]: Remove conditional code.
27706 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27707 <kernel-features.h>.
27708 [__ASSUME_32BITUIDS]: Make code unconditional.
27709 [!__ASSUME_32BITUIDS]: Remove conditional code.
27710 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27711 <kernel-features.h>.
27712 [__ASSUME_32BITUIDS]: Make code unconditional.
27713 [!__ASSUME_32BITUIDS]: Remove conditional code.
27714 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27715 <kernel-features.h>.
27716 [__ASSUME_32BITUIDS]: Make code unconditional.
27717 [!__ASSUME_32BITUIDS]: Remove conditional code.
27718 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27719 <kernel-features.h>.
27720 [__NR_setresgid] (__setresgid): Do not declare.
27721 [__ASSUME_32BITUIDS]: Make code unconditional.
27722 [!__ASSUME_32BITUIDS]: Remove conditional code.
27723 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27724 <kernel-features.h>.
27725 [__NR_setresuid] (__setresuid): Do not declare.
27726 [__ASSUME_32BITUIDS]: Make code unconditional.
27727 [!__ASSUME_32BITUIDS]: Remove conditional code.
27728 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27729 <kernel-features.h>.
27730 [__ASSUME_32BITUIDS]: Make code unconditional.
27731 [!__ASSUME_32BITUIDS]: Remove conditional code.
27732 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27733 <kernel-features.h>.
27734 [__ASSUME_32BITUIDS]: Make code unconditional.
27735 [!__ASSUME_32BITUIDS]: Remove conditional code.
27736 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27737 <kernel-features.h>.
27738 [__ASSUME_32BITUIDS]: Make code unconditional.
27739 [!__ASSUME_32BITUIDS]: Remove conditional code.
27740 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27741 <kernel-features.h>.
27742 [__ASSUME_32BITUIDS]: Make code unconditional.
27743 [!__ASSUME_32BITUIDS]: Remove conditional code.
27744 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27745 <kernel-features.h>.
27746 [__ASSUME_32BITUIDS]: Make code unconditional.
27747 [!__ASSUME_32BITUIDS]: Remove conditional code.
27748 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27749 <kernel-features.h>.
27750 [__ASSUME_32BITUIDS]: Make code unconditional.
27751 [!__ASSUME_32BITUIDS]: Remove conditional code.
27752 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27753 <kernel-features.h>.
27754 [__ASSUME_32BITUIDS]: Make code unconditional.
27755 [!__ASSUME_32BITUIDS]: Remove conditional code.
27756 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27757 <kernel-features.h>.
27758 [__ASSUME_32BITUIDS]: Make code unconditional.
27759 [!__ASSUME_32BITUIDS]: Remove conditional code.
27760 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27761 <kernel-features.h>.
27762 [__ASSUME_32BITUIDS]: Make code unconditional.
27763 [!__ASSUME_32BITUIDS]: Remove conditional code.
27764 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27765 <kernel-features.h>.
27766 [__ASSUME_32BITUIDS]: Make code unconditional.
27767 [!__ASSUME_32BITUIDS]: Remove conditional code.
27768 * sysdeps/unix/sysv/linux/kernel-features.h
27769 (__ASSUME_SETRESUID_SYSCALL): Remove.
27770 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27771 (__ASSUME_32BITUIDS): Likewise.
27772 (__ASSUME_LDT_WORKS): Likewise.
27773 (__ASSUME_O_DIRECTORY): Likewise.
27774 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27775 architecture but not kernel version.
27776 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27777 (__ASSUME_MMAP2_SYSCALL): Likewise.
27778 (__ASSUME_STAT64_SYSCALL): Likewise.
27779 (__ASSUME_IPC64): Likewise.
27780 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27781 <kernel-features.h>.
27782 [__ASSUME_32BITUIDS]: Make code unconditional.
27783 [!__ASSUME_32BITUIDS]: Remove conditional code.
27784 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27785 <kernel-features.h>.
27786 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27787 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27788 132096]: Remove conditional code.
27789 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27790 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27791 <kernel-features.h>.
27792 [__ASSUME_32BITUIDS]: Make code unconditional.
27793 [!__ASSUME_32BITUIDS]: Remove conditional code.
27794 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27795 <kernel-features.h>.
27796 [__ASSUME_32BITUIDS]: Make code unconditional.
27797 [!__ASSUME_32BITUIDS]: Remove conditional code.
27798 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27799 <kernel-features.h>.
27800 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27802 (__setresgid): Do not declare.
27803 [__ASSUME_32BITUIDS]: Make code unconditional.
27804 [!__ASSUME_32BITUIDS]: Remove conditional code.
27805 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27806 <kernel-features.h>.
27807 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27809 (__setresuid): Do not declare.
27810 [__ASSUME_32BITUIDS]: Make code unconditional.
27811 [!__ASSUME_32BITUIDS]: Remove conditional code.
27812 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27813 <kernel-features.h>.
27814 [__ASSUME_32BITUIDS]: Make code unconditional.
27815 [!__ASSUME_32BITUIDS]: Remove conditional code.
27816 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27817 <kernel-features.h>.
27818 [__ASSUME_32BITUIDS]: Make code unconditional.
27819 [!__ASSUME_32BITUIDS]: Remove conditional code.
27821 2012-05-25 Richard Henderson <rth@twiddle.net>
27823 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27824 dl_hwcap to ifunc resolver.
27825 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27827 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27828 dl_hwcap to ifunc resolver.
27829 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27831 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27834 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27835 for |x| <= 2**-26, not 2**-57.
27836 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27839 2012-05-24 Jeff Law <law@redhat.com>
27841 * stdio-common/Makefile (tests): Add bug25.
27842 * stdio-common/bug25.c: New test.
27844 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27847 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27848 multiple of MALLOC_ALIGNMENT in size.
27849 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27851 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27853 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27855 (FILENAME_MAX): Use macro-int-constant.
27856 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27857 (_IOFBF): Use macro-int-constant.
27858 (_IOLBF): Likewise.
27859 (_IONBF): Likewise.
27860 (SEEK_CUR): Likewise.
27861 (SEEK_END): Likewise.
27862 (SEEK_SET): Likewise.
27863 (TMP_MAX): Likewise.
27864 (EOF): Use macro-int-constant. Require < 0.
27865 (NULL): Use macro-constant. Require == 0.
27866 (stdin): Require type to be FILE *.
27867 (stdout): Likewise.
27868 (stderr): Likewise.
27869 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27870 macro-int-constant.
27871 (EXIT_SUCCESS): Likewise.
27872 (NULL): Use macro-constant. Require == 0.
27873 (RAND_MAX): Use macro-int-constant.
27874 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27875 [C99-based standards] (strtof): Require function.
27876 [C99-based standards] (strtold): Likewise.
27877 [C99-based standards] (strtoll): Likewise.
27878 [C99-based standards] (strtoull): Likewise.
27879 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27880 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27881 [ISO || ISO99 || ISO11] (math.h): Likewise.
27882 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27883 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27884 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27886 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27889 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27890 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27891 * intl/dgettext.c (DCGETTEXT): Likewise.
27892 * intl/gettext.c (DCGETTEXT): Likewise.
27893 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27894 * posix/regex_internal.h (gettext): Likewise.
27895 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27896 Remove declaration.
27897 * include/argz.h (__argz_count_internal)
27898 (__argz_stringify_internal): Remove declaration.
27899 (__argz_count, __argz_stringify): Declare hidden proto.
27900 * intl/dcgettext.c: Remove use of INTDEF.
27901 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27902 * string/argz-stringify.c: Likewise.
27903 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27904 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27905 Declare hidden proto.
27906 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27907 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27908 Declare hidden proto.
27909 * include/stdio.h (__asprintf_internal): Don't declare.
27910 (__asprintf): Don't define as macro. Declare hidden proto.
27911 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27912 (__fsetlocking): Declare hidden proto.
27913 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27914 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27916 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27917 (_IO_setlinebuf): Remove use of INTUSE.
27918 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27919 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27920 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27921 Remove declaration.
27922 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27923 (_IO_do_flush): Remove use of INTUSE.
27924 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27925 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27926 (_IO_adjust_column, _IO_least_wmarker)
27927 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27928 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27929 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27930 (_IO_default_doallocate, _IO_wdefault_doallocate)
27931 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27932 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27933 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27934 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27935 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27936 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27937 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27938 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27939 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27940 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27941 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27942 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27943 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27945 (_IO_flush_all_internal, _IO_adjust_column_internal)
27946 (_IO_default_uflow_internal, _IO_default_finish_internal)
27947 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27948 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27949 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27950 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27951 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27952 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27953 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27954 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27955 (_IO_file_close_internal, _IO_file_close_it_internal)
27956 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27957 (_IO_file_init_internal, _IO_file_attach_internal)
27958 (_IO_file_fopen_internal, _IO_file_read_internal)
27959 (_IO_file_sync_internal, _IO_file_seek_internal)
27960 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27961 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27962 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27963 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27964 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27965 (_IO_list_all_internal, _IO_link_in_internal)
27966 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27967 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27968 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27969 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27970 (_IO_do_write_internal, _IO_padn_internal)
27971 (_IO_getline_info_internal, _IO_getline_internal)
27972 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27973 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27974 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27975 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27976 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27977 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27978 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27979 with libc_hidden_ver, remove use of INTUSE.
27980 * libio/genops.c: Likewise.
27981 * libio/freopen.c: Likewise.
27982 * libio/freopen64.c: Likewise.
27983 * libio/iofclose.c: Likewise.
27984 * libio/iofdopen.c: Likewise.
27985 * libio/iofflush.c: Likewise.
27986 * libio/iofflush_u.c: Likewise.
27987 * libio/iofgets.c: Likewise.
27988 * libio/iofgets_u.c: Likewise.
27989 * libio/iofopen.c: Likewise.
27990 * libio/iofopncook.c: Likewise.
27991 * libio/iofread.c: Likewise.
27992 * libio/iofread_u.c: Likewise.
27993 * libio/ioftell.c: Likewise.
27994 * libio/iofwrite.c: Likewise.
27995 * libio/iogetline.c: Likewise.
27996 * libio/iogets.c: Likewise.
27997 * libio/iogetwline.c: Likewise.
27998 * libio/iopadn.c: Likewise.
27999 * libio/iopopen.c: Likewise.
28000 * libio/ioseekoff.c: Likewise.
28001 * libio/ioseekpos.c: Likewise.
28002 * libio/iosetbuffer.c: Likewise.
28003 * libio/iosetvbuf.c: Likewise.
28004 * libio/ioungetc.c: Likewise.
28005 * libio/ioungetwc.c: Likewise.
28006 * libio/iovdprintf.c: Likewise.
28007 * libio/iovsprintf.c: Likewise.
28008 * libio/iovsscanf.c: Likewise.
28009 * libio/memstream.c: Likewise.
28010 * libio/obprintf.c: Likewise.
28011 * libio/oldfileops.c: Likewise.
28012 * libio/oldiofclose.c: Likewise.
28013 * libio/oldiofdopen.c: Likewise.
28014 * libio/oldiofopen.c: Likewise.
28015 * libio/oldiopopen.c: Likewise.
28016 * libio/oldstdfiles.c: Likewise.
28017 * libio/putc.c: Likewise.
28018 * libio/setbuf.c: Likewise.
28019 * libio/setlinebuf.c: Likewise.
28020 * libio/stdfiles.c: Likewise.
28021 * libio/strops.c: Likewise.
28022 * libio/vasprintf.c: Likewise.
28023 * libio/vscanf.c: Likewise.
28024 * libio/vsnprintf.c: Likewise.
28025 * libio/vswprintf.c: Likewise.
28026 * libio/wfiledoalloc.c: Likewise.
28027 * libio/wfileops.c: Likewise.
28028 * libio/wgenops.c: Likewise.
28029 * libio/wmemstream.c: Likewise.
28030 * libio/wstrops.c: Likewise.
28031 * libio/__fpurge.c: Likewise.
28032 * libio/__fsetlocking.c: Likewise.
28033 * assert/assert.c: Likewise.
28034 * debug/fgets_chk.c: Likewise.
28035 * debug/fgets_u_chk.c: Likewise.
28036 * debug/fread_chk.c: Likewise.
28037 * debug/fread_u_chk.c: Likewise.
28038 * debug/gets_chk.c: Likewise.
28039 * debug/obprintf_chk.c: Likewise.
28040 * debug/vasprintf_chk.c: Likewise.
28041 * debug/vdprintf_chk.c: Likewise.
28042 * debug/vsnprintf_chk.c: Likewise.
28043 * debug/vsprintf_chk.c: Likewise.
28044 * malloc/mtrace.c: Likewise.
28045 * misc/error.c: Likewise.
28046 * misc/syslog.c: Likewise.
28047 * stdio-common/asprintf.c: Likewise.
28048 * stdio-common/fxprintf.c: Likewise.
28049 * stdio-common/getw.c: Likewise.
28050 * stdio-common/isoc99_fscanf.c: Likewise.
28051 * stdio-common/isoc99_scanf.c: Likewise.
28052 * stdio-common/isoc99_vfscanf.c: Likewise.
28053 * stdio-common/isoc99_vscanf.c: Likewise.
28054 * stdio-common/isoc99_vsscanf.c: Likewise.
28055 * stdio-common/printf-prs.c: Likewise.
28056 * stdio-common/printf_fp.c: Likewise.
28057 * stdio-common/printf_fphex.c: Likewise.
28058 * stdio-common/printf_size.c: Likewise.
28059 * stdio-common/putw.c: Likewise.
28060 * stdio-common/scanf.c: Likewise.
28061 * stdio-common/sprintf.c: Likewise.
28062 * stdio-common/tmpfile.c: Likewise.
28063 * stdio-common/vfprintf.c: Likewise.
28064 * stdio-common/vfscanf.c: Likewise.
28065 * stdlib/strfmon_l.c: Likewise.
28066 * sunrpc/openchild.c: Likewise.
28067 * sunrpc/xdr_stdio.c: Likewise.
28068 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28069 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28071 2012-05-24 Roland McGrath <roland@hack.frob.com>
28073 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28075 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28076 in the third column, to generate for the shared library an IFUNC
28077 that uses _dl_vdso_vsym.
28078 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28079 * Makeconfig (object-suffixes-noshared): New variable.
28081 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28082 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28083 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28084 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28087 * include/sys/time.h (__gettimeofday): Remove macro.
28088 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28089 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28091 (__gettimeofday): Add libc_hidden_def.
28092 (gettimeofday): Add libc_hidden_weak.
28093 * sysdeps/mach/gettimeofday.c: Likewise.
28094 * sysdeps/posix/gettimeofday.c: Likewise.
28095 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28096 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28097 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28098 (__gettimeofday_internal): Remove strong_alias.
28099 (__gettimeofday): Add libc_hidden_def.
28100 (gettimeofday): Add libc_hidden_weak.
28101 * sysdeps/unix/syscalls.list (gettimeofday):
28102 Remove __gettimeofday_internal alias.
28104 2012-05-24 Daniel Jacobowitz <drow@false.org>
28105 H.J. Lu <hongjiu.lu@intel.com>
28108 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28109 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28110 (largebin_index_32_big): New.
28111 (largebin_index): Use it for 16-byte alignment.
28112 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28113 correction with front_misalign.
28115 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28143 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28144 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28146 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28150 * math/libm-test.inc (exp_test): Add test from bug 14036.
28151 (pow_test): Add test from bug 10846.
28153 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28155 (special_function): Do not include flags in test name.
28156 (parse_args): Likewise.
28157 * sysdeps/i386/fpu/libm-test-ulps: Update.
28158 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28159 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28160 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28163 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28165 * math/libm-test.inc ("Philosophy"): Update comment about
28167 (UNDERFLOW_EXCEPTION): New macro.
28168 (UNDERFLOW_EXCEPTION_OK): Likewise.
28169 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28170 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28171 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28172 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28173 (INVALID_EXCEPTION_OK): Update value.
28174 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28175 (OVERFLOW_EXCEPTION_OK): Likewise.
28176 (IGNORE_ZERO_INF_SIGN): Likewise.
28177 (test_exceptions): Handle underflow exceptions.
28178 (acos_test): Update for underflow exception expectations.
28179 (cexp_test): Likewise.
28180 (clog_test): Likewise.
28181 (clog10_test): Likewise.
28182 (csqrt_test): Likewise.
28183 (ctan_test): Likewise.
28184 (ctanh_test): Likewise.
28185 (exp_test): Likewise.
28186 (exp10_test): Likewise.
28187 (exp2_test): Likewise.
28188 (expm1_test): Likewise.
28189 (fma_test): Likewise.
28190 (j0_test): Likewise.
28191 (jn_test): Likewise.
28192 (nexttoward_test): Likewise.
28193 (pow_test): Likewise.
28194 (scalbn_test): Likewise.
28195 (scalbln_test): Likewise.
28196 (tan_test): Likewise.
28197 (y1_test): Likewise.
28198 * sysdeps/i386/fpu/libm-test-ulps: Update.
28199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28201 2012-05-23 David S. Miller <davem@davemloft.net>
28203 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28204 (__libc_sigaction): Remove unused local variables.
28206 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28208 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28210 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28212 mktime: avoid signed integer overflow
28213 * time/mktime.c (__mktime_internal): Do not mishandle the case
28214 where diff == INT_MIN.
28216 mktime: simplify computation of average
28217 * time/mktime.c (ranged_convert): Use new time_t_avg function
28218 instead of rolling our own (probably-slower) code.
28220 mktime: do not assume signed right shift propagates sign bit
28221 * time/mktime.c (isdst_differ): New static function.
28222 (__mktime_internal): No need to normalize tm_isdst now.
28223 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28226 mktime: merge another wrapv change from gnulib
28227 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28228 from some compilers.
28230 mktime: remove incorrect attempt at unusual arithmetics
28231 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28232 The code didn't really work on such machines anyway.
28233 (TYPE_MINIMUM): Assume two's complement.
28234 (twos_complement_arithmetic): Verify that long_int and time_t
28235 are two's complement (or unsigned, in the latter case).
28237 mktime: check signed shifts on long_int and time_t, too
28238 * time/mktime.c (SHR): Check that shifts work as desired
28239 on the types long_int and time_t too, as SHR is used on
28242 mktime: do not assume 'long' is wide enough
28243 * time/mktime.c (verify): Move decl up.
28244 (long_int): New type.
28245 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28246 to remove assumption in the code that 'long' is wide enough to
28247 store year values. This assumption is not true on x32 and on
28248 some non-glibc platforms.
28250 mktime: merge wrapv change from gnulib
28251 * time/mktime.c (WRAPV): New macro.
28252 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28253 (guess_time_tm, __mktime_internal): Do not assume that signed
28254 integer overflow wraps around; modern compilers generate code
28255 where this assumption is no longer valid.
28257 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28259 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28260 Replace "jmp L(pseudo_end)" with "ret".
28261 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28264 2012-05-23 Andreas Jaeger <aj@suse.de>
28266 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28267 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28269 2012-05-23 Andreas Jaeger <aj@suse.de>
28270 Maximilian Attems <max@stro.at>
28272 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28275 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28277 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28278 code so that pseudo_end is just ret and the stack pointer is
28279 correct also for static library in error case.
28281 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28283 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28284 move to syscalls.list.
28285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28290 * manual/install.texi (Running make install): Do not mention Linux
28291 kernel version for which pt_chown is not needed.
28292 (Linux): Do not mention problems with nscd with 2.0 kernels.
28293 * INSTALL: Regenerated.
28295 2012-05-23 Andreas Jaeger <aj@suse.de>
28297 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28298 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28300 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28301 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28302 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28303 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28304 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28305 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28306 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28307 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28308 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28309 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28310 * sysdeps/unix/sysv/linux/bits/in.h
28311 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28313 2012-05-22 Roland McGrath <roland@hack.frob.com>
28315 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28316 (PREPARE_VERSION): Just use assert instead, it will be elided
28317 under [NDEBUG] anyway.
28319 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28321 * sysdeps/unix/sysv/linux/Makefile: Include
28322 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28323 (sysdep_routines): Remove sysctl.
28324 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28325 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28326 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28327 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28328 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28330 2012-05-22 Andreas Jaeger <aj@suse.de>
28332 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28333 that pseudo_end is just ret and the stack pointer is correct also
28334 for static library in error case.
28336 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28339 * nss/nsswitch.c (defconfig_entries): New variable.
28340 (__nss_database_lookup): Don't leak defconfig entries.
28341 (nss_parse_service_list): Don't leak on error paths.
28342 (free_database_entries): New function.
28343 (free_defconfig): New function.
28344 (free_mem): Move common code to free_database_entries.
28346 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28348 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28350 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28352 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28353 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28354 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28356 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28357 (INTERNAL_SYSCALL_TYPES): Likewise.
28358 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28359 (LOAD_REGS_TYPES_[1-6]): Likewise.
28360 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28361 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28363 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28365 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28366 copysignl for GLIBC_2_0.
28367 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28368 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28369 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28370 logbl for GLIBC_2_0.
28371 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28372 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28374 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28376 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28377 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28379 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28382 * time/mktime.c: Update copyright years.
28384 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28386 mktime: merge comment-quoting-style change from gnulib
28387 * time/mktime.c: Quote 'like this' in comments.
28388 The GNU coding standards suggest that we no longer quote `like this',
28389 as "`" and "'" are typically rendered asymmetrically nowadays.
28390 The typical gnulib style is to quote 'like this' when quoting
28391 code, and "like this" when quoting English.
28393 * time/mktime.c (compile-command): Add "-I.".
28395 mktime: merge mktime-internal.h change from gnulib
28396 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28398 mktime: merge time_r change from gnulib
28399 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28401 mktime: merge DEBUG change from gnulib
28402 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28403 case system <time.h> has a #define.
28405 mktime: merge <sys/types.h> change from gnulib
28406 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28407 since <time.t> is now guaranteed to define time_t.
28409 mktime: merge HAVE_CONFIG_H change from gnulib
28410 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28412 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28417 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28419 (struct rusage): Use anonymous union to pad each field to
28422 2012-05-21 David S. Miller <davem@davemloft.net>
28424 * Makefules (o-iterator): Remove .s cases.
28425 (compile-command.s): Delete.
28426 (COMPILE.s): Delete.
28427 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28429 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28431 * configure.in (libc_cv_predef_stack_protector): Only consider
28432 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28433 * configure: Regenerated.
28435 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28438 New macro. Use R*LP on int and pointer.
28439 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28440 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28441 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28442 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28444 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28445 [__WORDSIZE_TIME64_COMPAT32] instead of
28446 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28447 (struct utmp): Likewise.
28448 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28449 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28451 (__WORDSIZE_TIME64_COMPAT32): This.
28452 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28453 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28454 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28455 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28456 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28457 (__WORDSIZE_TIME64_COMPAT32): New macro.
28459 2012-05-21 Andreas Jaeger <aj@suse.de>
28461 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28462 only if [SHARED]. Add prototype for __wcschr_ia32.
28464 2012-05-21 Roland McGrath <roland@hack.frob.com>
28466 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28467 of %rbp unmolested in the jmp_buf while mangling the low bits.
28468 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28469 unmolested high bits of %rbp while demangling the low bits.
28470 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28472 2012-05-21 Andreas Jaeger <aj@suse.de>
28474 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28475 * sunrpc/svc_simple.c: Use it for registerrpc.
28476 * sunrpc/xcrypt.c: Use it for passwd2des.
28478 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28480 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28482 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28483 Don't define if [__SYSCALL_WORDSIZE != 32].
28484 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28487 2012-05-21 Bruno Haible <bruno@clisp.org>
28488 Andreas Jaeger <aj@suse.de>
28490 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28491 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28492 inptr and inend for must_buffer_ch.
28493 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28494 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28495 * stdio-common/Makefile (tests): Remove bug15.
28496 (bug15-ENV): Remove macro.
28497 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28500 2012-05-19 Andreas Jaeger <aj@suse.de>
28501 Roland McGrath <roland@hack.frob.com>
28503 * manual/contrib.texi: Completely rewritten. It contains now an
28504 alphabetical list of contributors and their contributions.
28506 2012-05-21 Richard Henderson <rth@twiddle.net>
28508 * misc/getauxval.c (__getauxval): Use unsigned long int.
28509 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28510 (getauxval): Use unsigned long int.
28512 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28514 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28516 2012-05-21 Roland McGrath <roland@hack.frob.com>
28518 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28519 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28520 __alignof__ (long double).
28522 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28526 2012-05-20 Richard Henderson <rth@twiddle.net>
28528 * misc/getauxval.c: New file.
28529 * misc/sys/auxv.h: New file.
28530 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28531 (routines): Add getauxval.
28532 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28533 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28534 * elf/dl-sysdep.c (_dl_auxv): Remove.
28535 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28536 * elf/dl-support.c (_dl_auxv): New variable.
28537 (_dl_aux_init): Initialize it.
28538 * manual/startup.texi (Auxiliary Vector): New node.
28539 * sysdeps/generic/bits/hwcap.h: New file.
28540 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28541 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28542 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28543 * sysdeps/sparc/sysdep.h: ... here. Include it.
28544 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28545 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28551 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28557 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28561 2012-05-19 David S. Miller <davem@davemloft.net>
28563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28565 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28568 * math/s_ccosh.c: Include <float.h>
28569 (__ccosh): Avoid internal overflow calculating sinh and cosh
28570 values before multiplying by sin and cos values.
28571 * math/s_ccoshf.c: Likewise.
28572 * math/s_ccoshl.c: Likewise.
28573 * math/s_csin.c: Likewise.
28574 * math/s_csinf.c: Likewise.
28575 * math/s_csinl.c: Likewise.
28576 * math/s_csinh.c: Likewise.
28577 * math/s_csinhf.c: Likewise.
28578 * math/s_csinhl.c: Likewise.
28579 * math/libm-test.inc (ccos_test): Add more tests.
28580 (ccosh_test): Likewise.
28581 (csin_test): Likewise.
28582 (csinh_test): Likewise.
28583 * sysdeps/i386/fpu/libm-test-ulps: Update.
28584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28586 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28588 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28589 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28591 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28593 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28595 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28596 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28597 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28598 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28599 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28600 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28601 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28602 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28603 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28604 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28605 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28606 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28607 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28608 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28609 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28610 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28611 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28612 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28613 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28614 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28615 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28616 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28617 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28618 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28619 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28620 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28621 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28622 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28623 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28624 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28625 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28627 2012-05-18 Andreas Jaeger <aj@suse.de>
28629 * csu/.gitignore: Delete.
28631 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28633 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28634 (timex): Use __syscall_slong_t.
28636 2012-05-18 Andreas Jaeger <aj@suse.de>
28637 Carlos O'Donell <carlos_odonell@mentor.com>
28639 * manual/install.texi (Configuring and compiling): Update
28640 description about files modified in the source directory.
28641 * INSTALL: Regenerated.
28643 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28645 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28646 value. Use "or" to set return value to -1.
28647 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28648 negate return value.
28650 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28652 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28653 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28654 failure if the compiler has Graphite support disabled.
28655 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28657 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28658 CFLAGS-memmove.c): Likewise.
28659 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28662 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28664 * sysdeps/x86_64/x32/_itoa.h: New file.
28666 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28667 getdents system call only if kernel and user dirents have the
28668 same d_ino and d_off.
28670 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28671 LLONG_MAX != LONG_MAX.
28672 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28673 (_fitoa_word): Likewise.
28675 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28677 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28678 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28679 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28681 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28682 include <bits/wordsize.h>. Check __x86_64__ instead of
28684 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28685 if __x86_64__ is defined. Use anonymous union on fpstate.
28687 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28690 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28692 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28693 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28694 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28695 Refer to _rtld_local_ro instead of _rtld_global_ro.
28696 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28698 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28700 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28702 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28703 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28704 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28706 * sysdeps/powerpc/powerpc32/dl-machine.c
28707 (__elf_machine_runtime_setup) [PROF]: Don't reference
28710 2012-05-18 Andreas Jaeger <aj@suse.de>
28712 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28713 function only available for GCCs before 3.4 since GCC 3.4
28714 introduced a builtin.
28716 (llrintf): Likewise.
28717 (llrint): Likewise.
28724 (nearbyint): Likewise.
28725 (nearbyintf): Likewise.
28729 (floorf): Likewise.
28731 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28733 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28734 on both fields and cast pointer to __syscall_ulong_t.
28736 * bits/types.h (__fsword_t): New type.
28737 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28738 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28739 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28740 (__FSWORD_T_TYPE): Likewise.
28741 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28742 (__FSWORD_T_TYPE): Likewise.
28743 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28744 (__FSWORD_T_TYPE): Likewise.
28745 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28746 (__FSWORD_T_TYPE): Likewise.
28747 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28748 __SWORD_TYPE with __fsword_t.
28749 (statfs64): Likewise.
28751 2012-05-17 David S. Miller <davem@davemloft.net>
28753 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28755 2012-05-17 Andreas Jaeger <aj@suse.de>
28757 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28760 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28762 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28764 2012-05-17 Andreas Jaeger <aj@suse.de>
28766 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28769 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28771 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28773 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28775 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28776 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28778 2012-05-17 Andreas Jaeger <aj@suse.de>
28779 Carlos O'Donell <carlos_odonell@mentor.com>
28782 * sysdeps/x86_64/multiarch/init-arch.h
28783 (bit_YMM_Usable): Rename to...
28784 (bit_AVX_Usable): ... this.
28785 (bit_FMA4_Usable): New macro.
28786 (bit_XMM_state): New macro.
28787 (bit_YMM_state): New macro.
28788 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28789 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28790 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28791 (CPUID_OSXSAVE): New macro.
28792 (CPUID_AVX): New macro.
28793 (CPUID_FMA4): New macro.
28794 (index_YMM_Usable): Rename to...
28795 (index_AVX_Usable): ... this.
28796 (HAS_AVX): Use HAS_ARCH_FEATURE.
28797 (HAS_FMA4): Likewise.
28798 (HAS_YMM_USABLE): Remove.
28799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28800 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28802 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28803 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28804 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28805 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28806 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28808 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28810 * math/libm-test.c: Support platforms without multiple rounding modes.
28811 * math/bug-nextafter.c: Support platforms without FP exceptions.
28812 * math/bug-nexttoward.c: Likewise.
28813 * math/test-fenv.c: Likewise.
28814 * math/test-misc.c: Likewise.
28815 * stdlib/bug-getcontext.c: Likewise.
28817 2012-05-17 Andreas Jaeger <aj@suse.de>
28819 * manual/examples/search.c (critter_cmp): Change signature to
28821 * manual/string.texi (Collation Functions): Likewise.
28823 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28825 * bits/types.h: Fold copyright years.
28826 * bits/typesizes.h: Likewise.
28827 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28828 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28829 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28830 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28831 * time/time.h: Likewise.
28833 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28836 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28837 in instead of returning them. Return void.
28838 (__libc_mallinfo): Accumulate over all arenas.
28839 (__malloc_stats): Adjust for change in int_mallinfo interface.
28841 2012-05-16 Roland McGrath <roland@hack.frob.com>
28844 * configure.in (NM): Add AC_CHECK_TOOL for it.
28845 (libc_extra_cflags): New substituted variable.
28846 Check for -fstack-protector being used implicitly.
28847 * configure: Regenerated.
28848 * config.make.in (config-extra-cflags): New variable,
28849 gets @libc_extra_cflags@.
28850 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28853 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28854 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28855 * configure: Regenerated.
28856 * config.make.in (CPPUNDEFS): New substituted variable.
28857 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28858 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28859 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28861 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28863 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28864 (mq_attr): Use __syscall_slong_t.
28866 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28868 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28869 Check __x86_64__ instead of __WORDSIZE.
28870 (_STAT_VER_LINUX): Likewise.
28871 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28872 __syscall_ulong_t and __syscall_slong_t.
28873 (stat64): Likewise.
28875 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28877 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28879 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28881 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28883 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28885 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28888 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28889 include <bits/wordsize.h>. Check __x86_64__ instead of
28891 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28893 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28895 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28896 include <bits/wordsize.h>. Check __x86_64__ instead of
28898 (user_regs_struct): Use "__extension__ unsigned long long"
28899 instead of "unsigned long" if __x86_64__ is defined.
28900 (user): Likewise. Pad after pointer field if __ILP32__ is
28903 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28905 * configure.in (makeinfo): Require version 4.5 or later. Allow
28907 * configure: Regenerated.
28908 * manual/install.texi (texinfo): Increase version requirement to
28910 * INSTALL: Regenerated.
28912 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28914 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28916 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28918 * sysdeps/x86_64/x32/ffs.c: New file.
28920 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28922 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28923 defined. Use __syscall_ulong_t.
28924 (shminfo): Use __syscall_ulong_t.
28925 (shm_info): Likewise.
28927 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28930 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28932 (msgqnum_t): Use __syscall_ulong_t.
28933 (msglen_t): Likewise.
28934 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28937 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28938 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28940 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28942 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28943 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28945 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28948 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28949 include <bits/wordsize.h>. Check __x86_64__ instead of
28952 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28953 "unsigned long long int" if __x86_64__ is defined.
28954 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28956 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28957 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28958 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28960 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28962 (GET_PC): Cast to uintptr_t first.
28963 (GET_FRAME): Likewise.
28964 (GET_STACK): Likewise.
28966 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28967 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28968 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28969 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28970 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28971 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28972 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28973 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28974 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28975 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28976 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28977 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28978 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28979 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28980 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28981 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28982 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28983 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28984 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28985 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28986 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28987 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28988 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28989 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28990 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28991 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28992 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28993 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28994 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28996 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28998 * Makerules (+depfiles): Also collect depfiles from .oS in
29000 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29001 .oS, $(libnldbl-routines)).
29003 * Makerules (native-compile-mkdep-flags): Define.
29004 * sunrpc/Makefile (extra-objs): Add $(addprefix
29005 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29006 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29007 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29008 calling $(make-target-directory).
29010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29012 * bits/types.h (__snseconds_t): Removed.
29013 * time/time.h (struct timespec): Replace __snseconds_t with
29015 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29016 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29018 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29019 (__SNSECONDS_T_TYPE): Likewise.
29020 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29021 (__SNSECONDS_T_TYPE): Likewise.
29022 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29023 (__SNSECONDS_T_TYPE): Likewise.
29025 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29027 * sysdeps/mach/hurd/bits/typesizes.h
29028 (__SYSCALL_SLONG_TYPE): New macro.
29029 (__SYSCALL_ULONG_TYPE): Likewise.
29031 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29033 * bits/types.h (__syscall_slong_t): New type.
29034 (__syscall_ulong_t): Likewise.
29036 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29037 (__SYSCALL_ULONG_TYPE): Likewise.
29038 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29039 (__SYSCALL_SLONG_TYPE): Likewise.
29040 (__SYSCALL_ULONG_TYPE): Likewise.
29041 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29042 (__SYSCALL_SLONG_TYPE): Likewise.
29043 (__SYSCALL_ULONG_TYPE): Likewise.
29044 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29045 (__SYSCALL_SLONG_TYPE): Likewise.
29046 (__SYSCALL_ULONG_TYPE): Likewise.
29048 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29050 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29051 Add sigaltstack-offsets.sym.
29052 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29053 <sigaltstack-offsets.h>.
29054 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29055 longjmp_msg pointer.
29056 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29057 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29059 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29061 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29063 * elf/stackguard-macros.h: Remove file.
29064 * sysdeps/generic/stackguard-macros.h: New file.
29065 * sysdeps/i386/stackguard-macros.h: Likewise.
29066 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29067 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29068 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29069 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29070 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29071 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29072 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29073 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29074 <elf/stackguard-macros.h>.
29077 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29078 __aligned__ in attribute.
29079 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29080 (gregset_t): Likewise.
29082 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29084 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29085 * sysdeps/x86_64/64/Implies-after: Here. New file.
29086 * sysdeps/x86_64/x32/Implies-after: New file.
29088 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29090 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29091 and access return value for _dl_profile_fixup. Use R10_LP to
29094 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29096 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29098 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29100 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29101 * sysdeps/x86_64/x32/sysdep.h: New file.
29103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29105 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29106 * sysdeps/x86_64/setjmp.S: Likewise.
29108 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29110 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29111 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29112 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29113 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29114 remove unused global constant.
29116 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29118 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29119 include of <not-cancel.h>.
29121 2012-05-15 Roland McGrath <roland@hack.frob.com>
29123 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29125 2012-05-15 Jeff Law <law@redhat.com>
29126 Andreas Jaeger <aj@suse.de>
29129 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29131 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29132 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29133 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29134 code changing __hst_map_handle.map.
29136 2012-05-15 Roland McGrath <roland@hack.frob.com>
29138 * configure.in (sysnames): Look for Implies-before and Implies-after
29140 * configure: Regenerated.
29142 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29144 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29145 8-byte data alignment with LP_SIZE alignment.
29147 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29149 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29152 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29154 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29156 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29158 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29159 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29160 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29162 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29164 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29166 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29167 (stackinfo_sub_sp): Likewise.
29169 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29171 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29174 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29176 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29179 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29181 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29184 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29186 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29188 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29190 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29191 into R11_LP and load __x86_64_shared_cache_size_half into
29194 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29196 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29199 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29201 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29203 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29205 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29207 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29208 powerpc32/power7/fpu/s_logb.c via #include.
29209 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29210 powerpc32/power7/fpu/s_logbf.c via #include.
29211 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29212 powerpc32/power7/fpu/s_logbl.c via #include.
29214 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29216 * README.libm: Remove file.
29218 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29220 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29221 count for x32. Use R*_LP and omit operand-size suffix.
29223 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29225 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29226 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29227 * sysdeps/x86_64/x32/shlib-versions: New file.
29229 2012-05-14 Roland McGrath <roland@hack.frob.com>
29231 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29232 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29233 Use _dl_fatal_printf instead.
29235 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29237 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29238 set if not set by the user. Do not allow for being unset.
29239 * sysdeps/unix/sysv/linux/configure: Regenerated.
29241 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29243 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29244 the `q' suffix from lea and replace .quad with ASM_ADDR.
29246 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29249 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29251 (PTR_DEMANGLE): Likewise.
29253 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29255 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29257 (ASM_ADDR): Likewise.
29258 (RAX_LP): Likewise.
29259 (RBP_LP): Likewise.
29260 (RBX_LP): Likewise.
29261 (RCX_LP): Likewise.
29262 (RDI_LP): Likewise.
29263 (RSI_LP): Likewise.
29264 (RSP_LP): Likewise.
29267 (R10_LP): Likewise.
29268 (R10_LP): Likewise.
29269 (R11_LP): Likewise.
29270 (R12_LP): Likewise.
29271 (R13_LP): Likewise.
29272 (R14_LP): Likewise.
29273 (R15_LP): Likewise.
29275 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29277 * sysdeps/x86_64/x32/dl-machine.h: New file.
29279 2012-05-14 Andreas Jaeger <aj@suse.de>
29281 * manual/Makefile (subdir): Remove export of subdir.
29282 (all): Remove target.
29283 (.PHONY): Remove all from list.
29284 (mkinstalldirs): Remove.
29285 (.PHONY): Remove installdirs from list.
29286 ($(inst_infodir)/libc.info): Use make-target-directory.
29287 (installdirs): Remove.
29288 (subdir_%): Remove.
29289 (glibc-targets): Remove.
29292 ($(objpfx)stubs ../po/manual.pot): Remove.
29293 ($(objpfx)stamp%): Remove.
29294 (make-target-directory): Remove.
29295 (subdir_install): Remove.
29296 (routines): Remove.
29303 * manual/.gitignore: Remove, it's not needed anymore.
29304 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29306 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29308 (texis): Renamed to $(objpfx)texis.
29309 (texis-path): New, contains path to generated files.
29310 (chapters.%): Use texis-path for complete path, add extra argument
29312 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29313 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29314 (summary,texi, stamp-summary): Use complete path of
29315 files. Generate files in build dir.
29316 (dir-add.texi): Build in build dir.
29317 (libm-err.texi,stamp-libm-err): Likewise.
29318 (version.texi, stamp-version): Likewise.
29319 (.%c.texi): Likewise.
29320 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29321 (mostlyclean): Remove target.
29322 (realclean): Remove target.
29323 (generated): Add new variable with contents from mostlyclean and
29324 realclean, remove entries duplicated in common-mostlyclean, add
29325 stamp-libm-err and stamp-version.
29326 (generated-dirs): Add libc directory.
29327 ($(inst_infodir)/libc.info): Install files from build dir.
29329 * manual/install.texi (Configuring and compiling): Adjust since
29330 the info files are not part of the tar ball anymore.
29332 2012-05-14 Andreas Jaeger <aj@suse.de>
29334 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29337 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29340 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29341 to 2.2.0 where earlier.
29342 * sysdeps/unix/sysv/linux/configure: Regenerated.
29343 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29344 Remove conditional code.
29345 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29346 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29347 Remove conditional code.
29348 [!__NR_lchown]: Likewise.
29349 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29350 [__NR_lchown]: Likewise.
29351 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29352 comment referencing __ASSUME_LCHOWN_SYSCALL.
29353 * sysdeps/unix/sysv/linux/i386/sigaction.c
29354 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29355 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29356 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29357 Remove conditional code.
29358 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29359 (__protocol_available): Remove #if 0 code.
29360 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29362 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29363 * sysdeps/unix/sysv/linux/kernel-features.h
29364 (__ASSUME_GETCWD_SYSCALL): Don't define.
29365 (__ASSUME_REALTIME_SIGNALS): Likewise.
29366 (__ASSUME_PREAD_SYSCALL): Likewise.
29367 (__ASSUME_PWRITE_SYSCALL): Likewise.
29368 (__ASSUME_POLL_SYSCALL): Likewise.
29369 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29370 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29372 (__ASSUME_SIOCGIFNAME): Don't define.
29373 (__ASSUME_MSG_NOSIGNAL): Likewise.
29374 (__ASSUME_SENDFILE): Define unconditionally.
29375 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29376 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29378 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29379 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29380 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29381 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29382 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29383 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29384 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29386 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29387 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29389 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29390 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29392 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29393 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29395 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29396 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29398 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29399 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29401 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29402 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29404 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29405 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29407 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29408 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29409 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29410 Remove conditional code.
29411 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29412 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29413 Remove conditional code.
29414 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29415 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29416 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29417 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29418 Remove conditional code.
29419 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29420 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29421 Remove conditional code.
29422 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29423 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29424 Remove conditional code.
29425 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29426 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29427 Remove conditional code.
29428 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29429 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29430 Remove conditional code.
29431 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29432 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29433 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29434 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29435 * sysdeps/unix/sysv/linux/sigaction.c
29436 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29437 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29438 * sysdeps/unix/sysv/linux/sigpending.c
29439 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29440 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29441 * sysdeps/unix/sysv/linux/sigprocmask.c
29442 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29443 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29444 * sysdeps/unix/sysv/linux/sigsuspend.c
29445 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29446 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29447 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29448 (__libc_missing_rt_sigs): Remove.
29449 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29450 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29451 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29452 Remove conditional code.
29453 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29454 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29456 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29457 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29458 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29459 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29461 2012-05-14 Andreas Jaeger <aj@suse.de>
29463 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29464 it's not used in glibc.
29465 (__coshm1): Likewise.
29466 (__acosh1p): Likewise.
29469 * manual/string.texi (Copying and Concatenation): Add missing
29470 variable in concat example.
29471 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29473 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29476 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29477 __builtin_clzl with __builtin_clzll.
29479 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29482 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29485 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29487 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29488 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29489 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29490 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29492 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29494 * NEWS: Update ia64 info.
29496 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29498 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29501 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29503 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29504 * sysdeps/unix/syscalls.list (dup3): Likewise.
29505 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29506 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29508 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29510 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29511 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29513 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29515 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29517 (TLS_IE): Use mov/add instead of movq/addq to load thread
29519 (TLS_GD_PREFIX): New.
29522 2012-05-11 David S. Miller <davem@davemloft.net>
29524 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29525 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29526 (_FPU_SETCW): Likewise.
29528 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29530 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29531 is 32-byte aligned.
29533 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29536 * iconvdata/gb18030.c: Update tables.
29537 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29538 characters specially.
29539 (BODY for TO_LOOP): Add encoding of missing ranges.
29541 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29544 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29545 * sysdeps/mach/hurd/dup3.c: Likewise.
29546 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29547 * sysdeps/powerpc/memmove.c:: Likewise.
29549 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29551 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29552 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29554 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29556 * elf/elf.h (R_X86_64_RELATIVE64): New.
29557 (R_X86_64_NUM): Updated.
29558 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29559 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29560 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29561 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29562 tst-quad1pie tst-quad2pie
29563 (modules-names): Add tst-quadmod1 tst-quadmod2.
29564 ($(objpfx)tst-quad1): New dependency.
29565 ($(objpfx)tst-quad2): Likewise.
29566 ($(objpfx)tst-quad1pie): Likewise.
29567 ($(objpfx)tst-quad2pie): Likewise.
29568 * sysdeps/x86_64/tst-quad1.c: New file.
29569 * sysdeps/x86_64/tst-quad1pie.c: New file.
29570 * sysdeps/x86_64/tst-quad2.c: Likewise.
29571 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29572 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29573 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29574 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29575 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29577 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29579 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29580 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29581 * streams/stropts.h (t_scalar_t): Define type.
29583 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29584 (_PATH_PRESERVE): Set to "/var/lib".
29585 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29587 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29590 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29591 if __dir_mkfile succeeded.
29593 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29594 checking for _hurd_dtablesize. Unlock it right after having
29595 finished _hurd_dtable allocation.
29597 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29599 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29600 * sysdeps/mach/hurd/configure: Regenerated.
29601 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29602 special-casing to...
29603 * sysdeps/gnu/configure.in: ... this new file.
29604 * sysdeps/unix/sysv/linux/configure: Regenerated.
29605 * sysdeps/gnu/configure: New generated file.
29607 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29608 for Linux: use nsec instead of usec, as well as:
29609 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29610 members of type struct timespec.
29611 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29613 (struct stat64): Likewise.
29614 (_STATBUF_ST_NSEC): New macro.
29615 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29617 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29618 __strtoul_internal rather than strtoul.
29620 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29622 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29625 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29627 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29628 which preserves existing values.
29629 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29631 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29633 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29634 TIMEOUT values. Return EINVAL for NFDS values either negative or
29635 greater than FD_SETSIZE.
29637 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29639 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29640 allocated, call __vm_protect to finish enabling the existing space, and
29641 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29642 allocate the remainder.
29644 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29646 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29647 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29649 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29651 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29652 sysdeps/mach/hurd/readlink.c.
29654 * posix/tst-sysconf.c (posix_options): Only use
29655 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29656 _POSIX_SYNCHRONIZED_IO when they are defined
29657 * sysdeps/mach/hurd/bits/posix_opt.h:
29658 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29659 (_XOPEN_REALTIME): Undefine macro.
29660 (_XOPEN_REALTIME_THREADS): Undefine macro.
29661 (_XOPEN_SHM): Undefine macro.
29662 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29664 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29666 (_POSIX_ASYNC_IO): Undefine macro.
29667 (_POSIX_PRIORITIZED_IO): Undefine macro.
29668 (_POSIX_SPIN_LOCKS): Define macro to -1.
29670 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29671 SA_NODEFER, SA_RESETHAND.
29672 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29673 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29676 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29678 * elf/Makefile (pldd-modules): Define unconditionally.
29680 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29682 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29684 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29686 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29687 Return ENOENT when name is empty.
29688 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29690 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29692 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29694 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29696 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29698 Fix mlock in all cases except non-readable pages.
29699 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29700 instead of VM_PROT_ALL as parameter to __vm_wire function.
29702 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29703 (__mkdir): When path is `/', just fail with EEXIST.
29704 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29706 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29708 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29709 <sys/uio.h> (for writev).
29710 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29711 and <sys/param.h> (for MIN).
29713 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29715 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29716 REQUESTED_TIME. Properly set the remaining time and return EINTR
29719 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29721 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29722 Depend on against $(link-rpcuserlibs).
29724 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29726 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29727 (__libc_stack_end): Do not use attribute_relro.
29728 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29729 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29730 to libthread-provided value.
29731 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29734 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29737 * bits/libc-lock.h (__libc_once_get): New macro.
29738 * sysdeps/mach/bits/libc-lock.h: Likewise.
29739 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29740 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29741 instead of using implementation details.
29743 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29744 * libio/freopen.c: Likewise.
29745 * libio/freopen64.c: Likewise.
29746 * misc/syslog.c: Likewise.
29747 * nscd/connections.c: Likewise.
29748 * nscd/netgroupcache.c: Likewise.
29749 * sysdeps/posix/getcwd.c: Likewise.
29751 2012-05-10 Roland McGrath <roland@hack.frob.com>
29753 * math/w_ilogbf.c: Add #include <limits.h>.
29755 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29757 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29758 path instead of returning without unlocking.
29760 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29761 immediate-write ioctls.
29762 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29764 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29766 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29767 __builtin_frame_address instead of making assumptions about the
29768 location of the return address relative to DATA. Force early load of
29769 the return address.
29770 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29771 __builtin_frame_address.
29774 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29775 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29776 implement dup3 and do some further code clean-ups.
29777 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29778 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29780 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29782 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29784 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29785 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29786 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29787 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29788 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29791 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29792 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29793 when handler == SIG_ERR, not when handler != SIG_ERR.
29795 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29797 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29798 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29801 accept4 for GNU Hurd.
29802 * include/sys/socket.h (__libc_accept4): New prototype.
29803 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29804 to implement __libc_accept4.
29805 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29807 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29809 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29810 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29811 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29812 signal-defines.sym.
29814 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29816 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29818 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29820 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29821 assertion on O_CLOEXEC flag.
29822 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29823 * hurd/intern-fd.c: Likewise.
29824 * hurd/port2fd.c: Likewise.
29826 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29829 * bits/in.h (IPV6_PKTINFO): Define new macro.
29830 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29832 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29837 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29838 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29839 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29840 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29841 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29842 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29843 * math/libm-test.inc (logb_test) : Additional logb tests.
29845 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29846 Andreas Jaeger <aj@suse.de>
29848 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29849 * configure: Regenerated.
29850 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29851 * config.make.in (link-obsolete-rpc): New substituted variable.
29852 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29853 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29854 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29855 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29856 so that libc.a contains the symbols.
29857 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29858 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29859 * sunrpc/auth_none.c: Likewise.
29860 * sunrpc/auth_unix.c: Likewise.
29861 * sunrpc/authdes_prot.c: Likewise.
29862 * sunrpc/authuxprot.c: Likewise.
29863 * sunrpc/clnt_gen.c: Likewise.
29864 * sunrpc/clnt_perr.c: Likewise.
29865 * sunrpc/clnt_raw.c: Likewise.
29866 * sunrpc/clnt_simp.c: Likewise.
29867 * sunrpc/clnt_tcp.c: Likewise.
29868 * sunrpc/clnt_udp.c: Likewise.
29869 * sunrpc/clnt_unix.c: Likewise.
29870 * sunrpc/des_crypt.c: Likewise.
29871 * sunrpc/des_soft.c: Likewise.
29872 * sunrpc/get_myaddr.c: Likewise.
29873 * sunrpc/key_call.c: Likewise.
29874 * sunrpc/key_prot.c: Likewise.
29875 * sunrpc/netname.c: Likewise.
29876 * sunrpc/pm_getmaps.c: Likewise.
29877 * sunrpc/pm_getport.c: Likewise.
29878 * sunrpc/pmap_clnt.c: Likewise.
29879 * sunrpc/pmap_prot.c: Likewise.
29880 * sunrpc/pmap_prot2.c: Likewise.
29881 * sunrpc/pmap_rmt.c: Likewise.
29882 * sunrpc/publickey.c: Likewise.
29883 * sunrpc/rpc_cmsg.c: Likewise.
29884 * sunrpc/rpc_common.c: Likewise.
29885 * sunrpc/rpc_dtable.c: Likewise.
29886 * sunrpc/rpc_prot.c: Likewise.
29887 * sunrpc/rpc_thread.c: Likewise.
29888 * sunrpc/rtime.c: Likewise.
29889 * sunrpc/svc.c: Likewise.
29890 * sunrpc/svc_auth.c: Likewise.
29891 * sunrpc/svc_raw.c: Likewise.
29892 * sunrpc/svc_run.c: Likewise.
29893 * sunrpc/svc_tcp.c: Likewise.
29894 * sunrpc/svc_udp.c: Likewise.
29895 * sunrpc/svc_unix.c: Likewise.
29896 * sunrpc/svcauth_des.c: Likewise.
29897 * sunrpc/xcrypt.c: Likewise.
29898 * sunrpc/xdr.c: Likewise.
29899 * sunrpc/xdr_array.c: Likewise.
29900 * sunrpc/xdr_float.c: Likewise.
29901 * sunrpc/xdr_intXX_t.c: Likewise.
29902 * sunrpc/xdr_mem.c: Likewise.
29903 * sunrpc/xdr_rec.c: Likewise.
29904 * sunrpc/xdr_ref.c: Likewise.
29905 * sunrpc/xdr_sizeof.c: Likewise.
29906 * sunrpc/xdr_stdio.c: Likewise.
29908 2012-05-10 Roland McGrath <roland@hack.frob.com>
29910 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29911 change. Update copyright years.
29913 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29915 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29917 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29918 Joseph Myers <joseph@codesourcery.com>
29919 Paul Pluzhnikov <ppluzhnikov@google.com>
29922 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29924 [cross-compiling] (extra-libs): Likewise.
29925 [cross-compiling] (extra-libs-others): Likewise.
29926 [cross-compiling] (librpcsvc-routines): Likewise.
29927 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29928 [cross-compiling] (omit-deps): Likewise.
29929 (sunrpc-CPPFLAGS): New variable.
29930 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29931 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29932 (cross-rpcgen-objs): New variable.
29933 (extra-objs): Append $(cross-rpcgen-objs).
29934 ($(cross-rpcgen-objs)): New rule.
29935 ($(objpfx)cross-rpcgen): Likewise.
29936 (rpcgen-cmd): Define to use $(built-program-file). Expand
29938 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29939 ($(objpfx)x%.stmp): Likewise.
29940 * sunrpc/proto.h [IS_IN_build] (_): Define.
29941 [IS_IN_build] (_libc_intl_domainname): Likewise.
29943 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29945 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29946 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29947 and R_X86_64_TPOFF64.
29949 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29951 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29952 sysdeps/unix/sysv/syscalls.list.
29955 * sysdeps/unix/sysv/syscalls.list: Remove file.
29957 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29960 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29961 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29962 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29963 (__LC_IDENTIFICATION): Make these macros useful in #if
29964 expressions, as required by C99.
29966 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29968 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29969 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29972 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29974 * stdlib/longlong.h: Updated from GCC.
29976 2012-05-09 Andreas Jaeger <aj@suse.de>
29978 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29979 default is first entry.
29980 (run_mode): Set type.
29981 (main): Remove informal message about syslog.
29982 (options): Fix typo.
29985 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29988 (llrintf): Likewise.
29989 (llrint): Likewise.
29992 (nearbyint): Likewise.
29993 (nearbyintf): Likewise.
29995 2012-05-09 Andreas Jaeger <aj@suse.de>
29996 Pedro Alves <palves@redhat.com>
29998 * nscd/nscd.c (run_mode): Use enum.
29999 (main): Cleanup coding style issue.
30001 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30002 Andreas Jaeger <aj@suse.de>
30004 * nscd/nscd.c (go_background): Replaced with...
30005 (run_mode): ... this.
30006 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30007 (options): Add -F --foreground.
30008 (main): Implement it.
30009 (parse_opt): Parse it.
30011 2012-05-09 Andreas Jaeger <aj@suse.de>
30014 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30015 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30016 -Wconversion warning.
30017 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30020 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30022 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30024 (LC_ALL): Use macro-int-constant.
30025 (LC_COLLATE): Likewise.
30026 (LC_CTYPE): Likewise.
30027 (LC_MESSAGES): Likewise.
30028 (LC_MONETARY): Likewise.
30029 (LC_NUMERIC): Likewise.
30030 (LC_TIME): Likewise.
30031 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30032 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30033 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30034 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30036 [C99-based standards] (float_t): Expect type.
30037 [C99-based standards] (double_t): Expect type.
30038 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30040 [C99-based standards] (HUGE_VALL): Likewise.
30041 [C99-based standards] (INFINITY): Likewise.
30042 [C99-based standards] (NAN): Likewise.
30043 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30044 [C99-based standards] (FP_NAN): Likewise.
30045 [C99-based standards] (FP_NORMAL): Likewise.
30046 [C99-based standards] (FP_SUBNORMAL): Likewise.
30047 [C99-based standards] (FP_ZERO): Likewise.
30048 [C99-based standards] (FP_FAST_FMA): Use
30049 optional-macro-int-constant. Specify type. Require == 1.
30050 [C99-based standards] (FP_FAST_FMAF): Likewise.
30051 [C99-based standards] (FP_FAST_FMAL): Likewise.
30052 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30053 [C99-based standards] (FP_ILOGBNAN): Likewise.
30054 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30056 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30057 [C99-based standards] (math_errhandling): Specify type.
30058 [ISO99 || ISO11] (signgam): Do not allow.
30059 [non-C99-based standards] (copysignf): Do not allow.
30060 [non-C99-based standards] (exp2f): Likewise.
30061 [non-C99-based standards] (log2f): Likewise.
30062 [non-C99-based standards] (modff): Allow.
30063 [non-C99-based standards] (erff): Do not allow.
30064 [non-C99-based standards] (erfcf): Likewise.
30065 [non-C99-based standards] (gammaf): Likewise.
30066 [non-C99-based standards] (hypotf): Likewise.
30067 [non-C99-based standards] (j0f): Likewise.
30068 [non-C99-based standards] (j1f): Likewise.
30069 [non-C99-based standards] (jnf): Likewise.
30070 [non-C99-based standards] (lgammaf): Likewise.
30071 [non-C99-based standards] (tgammaf): Likewise.
30072 [non-C99-based standards] (y0f): Likewise.
30073 [non-C99-based standards] (y1f): Likewise.
30074 [non-C99-based standards] (ynf): Likewise.
30075 [non-C99-based standards] (isnanf): Likewise.
30076 [non-C99-based standards] (acoshf): Likewise.
30077 [non-C99-based standards] (asinhf): Likewise.
30078 [non-C99-based standards] (atanhf): Likewise.
30079 [non-C99-based standards] (cbrtf): Likewise.
30080 [non-C99-based standards] (expm1f): Likewise.
30081 [non-C99-based standards] (ilogbf): Likewise.
30082 [non-C99-based standards] (log1pf): Likewise.
30083 [non-C99-based standards] (logbf): Likewise.
30084 [non-C99-based standards] (nextafterf): Likewise.
30085 [non-C99-based standards] (remainderf): Likewise.
30086 [non-C99-based standards] (rintf): Likewise.
30087 [non-C99-based standards] (scalbf): Likewise.
30088 [non-C99-based standards] (copysignl): Likewise.
30089 [non-C99-based standards] (exp2l): Likewise.
30090 [non-C99-based standards] (log2l): Likewise.
30091 [non-C99-based standards] (modfl): Allow.
30092 [non-C99-based standards] (erfl): Do not allow.
30093 [non-C99-based standards] (erfcl): Likewise.
30094 [non-C99-based standards] (gammal): Likewise.
30095 [non-C99-based standards] (hypotl): Likewise.
30096 [non-C99-based standards] (j0l): Likewise.
30097 [non-C99-based standards] (j1l): Likewise.
30098 [non-C99-based standards] (jnl): Likewise.
30099 [non-C99-based standards] (lgammal): Likewise.
30100 [non-C99-based standards] (tgammal): Likewise.
30101 [non-C99-based standards] (y0l): Likewise.
30102 [non-C99-based standards] (y1l): Likewise.
30103 [non-C99-based standards] (ynl): Likewise.
30104 [non-C99-based standards] (isnanl): Likewise.
30105 [non-C99-based standards] (acoshl): Likewise.
30106 [non-C99-based standards] (asinhl): Likewise.
30107 [non-C99-based standards] (atanhl): Likewise.
30108 [non-C99-based standards] (cbrtl): Likewise.
30109 [non-C99-based standards] (expm1l): Likewise.
30110 [non-C99-based standards] (ilogbl): Likewise.
30111 [non-C99-based standards] (log1pl): Likewise.
30112 [non-C99-based standards] (logbl): Likewise.
30113 [non-C99-based standards] (nextafterl): Likewise.
30114 [non-C99-based standards] (remainderl): Likewise.
30115 [non-C99-based standards] (rintl): Likewise.
30116 [non-C99-based standards] (scalbl): Likewise.
30117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30118 [non-C99-based standards] (FP_*): Do not allow.
30119 [C99-based standards] (FP_*): Change to
30120 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30121 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30123 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30124 (SIG_ERR): Likewise.
30125 [X/Open-based standards] (SIG_HOLD): Likewise.
30126 (SIG_IGN): Likewise.
30127 (SIGABRT): Use macro-int-constant. Specify type. Require
30129 (SIGFPE): Likewise.
30130 (SIGILL): Likewise.
30131 (SIGINT): Likewise.
30132 (SIGSEGV): Likewise.
30133 (SIGTER): Likewise.
30134 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30135 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30136 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30137 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30138 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30139 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30140 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30141 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30142 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30143 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30144 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30145 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30146 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30147 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30148 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30149 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30150 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30151 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30152 [X/Open-based standards] (SIGTRAP): Likewise.
30153 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30154 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30155 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30156 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30157 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30160 2012-05-08 Ian Wienand <ianw@vmware.com>
30163 * time/tzset.c (__tzset_parse_tz): Update default rules for
30164 daylight time changes in the Energy Policy Act of 2005.
30166 2012-05-09 Andreas Jaeger <aj@suse.de>
30169 * elf/ldconfig.c (parse_conf): Change string to make clear that
30170 ldconfig only issued a warning if ld.so.conf does not exist.
30172 2012-05-08 David S. Miller <davem@davemloft.net>
30174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30175 movxtod instead of popping the value on the stack.
30177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30179 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30181 * config.h.in: Add HAVE_ARM_PCS_VFP.
30183 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30186 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30187 checking but the checks are disabled for any reason.
30189 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30191 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30192 and ELF64_R_TYPE with ELFW(R_TYPE).
30194 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30196 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30197 (ulimit): Likewise.
30199 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30200 (settimeofday): Likewise.
30202 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30204 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30205 a struct th_u2 inside the union, and move tu_block/tu_code into
30206 a new th_u3 union of tu_block/tu_code inside of that. Move
30207 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30208 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30209 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30210 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30211 (th_stuff): Change to th_u1.tu_stuff.
30213 (th_msg): Change to th_u1.th_u2.tu_data.
30215 2012-05-07 David S. Miller <davem@davemloft.net>
30217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30220 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30221 (SETUP_PIC_REG): Use it.
30222 (SETUP_PIC_REG_LEAF): Use it.
30224 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30228 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30230 (EXPL_FINITE): Likewise.
30231 (FLDLOG): Likewise.
30232 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30233 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30235 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30237 (EXPL_FINITE): Likewise.
30238 (FLDLOG): Likewise.
30239 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30240 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30242 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30243 test of -max_value argument for long double.
30244 * sysdeps/i386/fpu/libm-test-ulps: Update.
30245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30247 2012-05-06 David S. Miller <davem@davemloft.net>
30249 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30250 quad soft-float symbols whose references which are compiler
30252 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30254 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30258 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30260 (EXPL_FINITE): Likewise.
30261 (FLDLOG): Likewise.
30264 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30265 Adjust comments for base varying.
30266 (__expl_finite): Change alias to EXPL_FINITE.
30267 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30269 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30270 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30271 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30272 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30273 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30275 (EXPL_FINITE): Likewise.
30276 (FLDLOG): Likewise.
30279 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30280 Adjust comments for base varying.
30281 (__expl_finite): Change alias to EXPL_FINITE.
30282 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30287 * math/libm-test.inc (check_float_internal): Correct ulp
30288 calculation for subnormal expected results.
30290 2012-05-06 Andreas Jaeger <aj@suse.de>
30292 * Makeconfig (+math-flags): New, set to -frounding-math.
30293 (+cflags): Add +math-flags so that all of glibc gets compiled with
30296 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30298 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30300 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30306 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30307 (__ieee754_expl): Allow for and saturate large arguments.
30308 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30309 (u_threshold): Likewise.
30310 (__exp): Call __ieee754_exp before checking for overflow and
30312 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30313 (u_threshold): Likewise.
30314 (__expf): Call __ieee754_expf before checking for overflow and
30316 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30317 (u_threshold): Likewise.
30318 (__expl): Call __ieee754_expl before checking for overflow and
30320 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30321 (__ieee754_expl): Allow for and saturate large arguments.
30322 * math/libm-test.inc (exp_test): Add another test. Do not allow
30323 missing overflow exception on overflow.
30324 (expm1_test): Do not allow missing overflow exception on overflow.
30326 * sysdeps/i386/fpu/e_expl.c: Move to ...
30327 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30328 rather than using inline asm.
30329 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30330 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30331 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30333 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30336 (signal): Likewise.
30340 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30342 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30343 sysdeps/unix/common/syscalls.list.
30344 (fchmod): Likewise.
30345 (fchown): Likewise.
30346 (ftruncate): Likewise.
30347 (getrusage): Likewise.
30348 (gettimeofday): Likewise.
30349 (setpgid): Likewise.
30350 (setregid): Likewise.
30351 (setreuid): Likewise.
30352 (sigaction): Likewise.
30353 (truncate): Likewise.
30354 (vhangup): Likewise.
30355 * sysdeps/unix/common/syscalls.list: Remove file.
30356 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30357 * sysdeps/unix/sysv/linux/Implies: Likewise.
30359 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30361 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30363 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30367 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30370 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30373 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30376 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30379 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30382 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30385 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30389 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30393 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30396 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30400 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30404 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30406 * sysdeps/unix/common/bits/dirent.h: Remove file.
30407 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30409 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30410 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30411 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30412 * sysdeps/unix/bsd/isatty.c: Likewise.
30413 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30414 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30415 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30417 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30420 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30421 long double comparison inaccuracies.
30422 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30425 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30427 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30428 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30430 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30433 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30434 nonzero digits before rounding a hex value.
30435 * stdlib/tst-strtod.c (tests): Add another test.
30437 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30439 * sysdeps/s390/fpu/libm-test-ulps: Update.
30441 2012-05-03 Andreas Jaeger <aj@suse.de>
30443 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30444 does not get optimized out.
30445 (malloc_opt_barrier): New.
30447 2012-05-03 Andreas Jaeger <aj@suse.de>
30448 Roland McGrath <roland@hack.frob.com>
30450 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30451 intermediate file deletion.
30452 (generated): Add .symlist files.
30454 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30457 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30458 Redirect under this condition.
30459 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30460 [__USE_GNU] (__dprintf_chk): Not under this condition.
30461 [__USE_GNU] (__vdprintf_chk): Likewise.
30462 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30463 under this condition.
30464 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30465 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30466 [__USE_XOPEN2K8] (vdprintf): Likewise.
30467 [__USE_GNU] (__dprintf_chk): Not under this condition.
30468 [__USE_GNU] (__vdprintf_chk): Likewise.
30469 [__USE_GNU] (dprintf): Likewise.
30470 [__USE_GNU] (vdprintf): Likewise.
30472 2012-05-03 Roland McGrath <roland@hack.frob.com>
30474 * elf/Makefile (common-generated): Set this instead of generated for
30475 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30476 $(all-built-dso)-derived lists.
30478 2012-05-03 Andreas Jaeger <aj@suse.de>
30480 * sysdeps/i386/fpu/libm-test-ulps: Update.
30483 * FAQ.in: Likewise.
30484 * scripts/gen-FAQ.pl: Likewise.
30485 * manual/install.texi (Installation): Point to online location of
30487 * Makefile (files-for-dist): Remove FAQ.
30490 2012-05-02 Allan McRae <allan@archlinux.org>
30492 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30493 (LDFLAGS-reldepmod5.so): Likewise.
30494 (LDFLAGS-reldep6mod1.so): Likewise.
30495 (LDFLAGS-reldep6mod4.so): Likewise.
30496 (LDFLAGS-reldep8mod3.so): Likewise.
30497 (LDFLAGS-unload4mod1.so): Likewise.
30498 (LDFLAGS-unload4mod2.so): Likewise.
30499 (LDFLAGS-tst-initorder): Likewise.
30500 (LDFLAGS-tst-initordera2.so): Likewise.
30501 (LDFLAGS-tst-initordera3.so): Likewise.
30502 (LDFLAGS-tst-initordera4.so): Likewise.
30503 (LDFLAGS-tst-initorderb2.so): Likewise.
30504 (LDFLAGS-noload): Likewise.
30505 (LDFLAGS-next): Likewise.
30506 (LDFLAGS-order2mod1.so): Likewise.
30507 (LDFLAGS-order2mod2.so): Likewise.
30508 (LDFLAGS-tst-initorder2): Likewise.
30509 (LDFLAGS-tst-initorder2a.so): Likewise.
30510 (LDFLAGS-tst-initorder2b.so): Likewise.
30511 (LDFLAGS-tst-initorder2c.so): Likewise.
30512 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30514 2012-05-02 David S. Miller <davem@davemloft.net>
30516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30518 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30521 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30523 2012-05-02 Andreas Jaeger <aj@suse.de>
30525 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30526 since we manipulate rounding mode.
30527 (CPPFLAGS-test-idouble.c): Likewise.
30528 (CPPFLAGS-test-ifloat.c): Likewise.
30529 (CFLAGS-test-ldouble.c): Likewise.
30530 (CFLAGS-test-double.c): Likewise.
30531 (CFLAGS-test-float.c): Likewise.
30532 (CFLAGS-test-misc.c): Likewise.
30533 (CFLAGS-test-test-fenv.c): Likewise.
30535 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30539 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30540 comparisons to determine direction to adjust input.
30542 2012-05-01 Roland McGrath <roland@hack.frob.com>
30544 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30545 output to the target.
30547 * scripts/localplt.awk: New file.
30548 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30549 (check-localplt-CFLAGS): Variable removed.
30550 ($(all-built-dso:=.jmprel)): New static pattern rule.
30551 (generated): Add those targets.
30552 (localplt-built-dso): New variable.
30553 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30555 * elf/check-localplt.c: File removed.
30557 * scripts/check-execstack.awk: New file.
30558 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30559 (check-execstack-CFLAGS): Variable removed.
30560 ($(objpfx)check-execstack.h): Target removed.
30561 ($(objpfx)execstack-default): New target.
30562 (generated): Add that instead of check-execstack.h.
30563 ($(all-built-dso:=.phdr)): New static pattern rule.
30564 (generated): Add those targets.
30565 * elf/check-execstack.c: File removed.
30567 * scripts/check-textrel.awk: New file.
30568 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30569 (check-textrel-CFLAGS): Variable removed.
30570 (all-built-dso): Use := to define.o
30571 ($(all-built-dso:=.dyn)): New static pattern rule.
30572 (generated): Add those targets.
30573 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30574 * config.make.in (READELF): New substituted variable.
30575 * elf/check-textrel.c: File removed.
30577 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30579 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30581 * conform/data/ctype.h-data [C99-based standards] (isblank):
30583 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30584 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30585 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30586 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30587 Specify type. Require positive value.
30588 (EILSEQ): Likewise.
30589 (ERANGE): Likewise.
30590 [ISO || POSIX] (EILSEQ): Do not expect.
30591 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30592 Specify type. Require positive value.
30593 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30594 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30595 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30596 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30597 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30598 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30599 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30600 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30601 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30602 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30603 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30604 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30605 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30606 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30607 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30608 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30609 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30610 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30611 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30612 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30613 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30614 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30615 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30616 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30617 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30618 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30619 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30620 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30621 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30622 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30623 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30624 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30625 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30626 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30627 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30628 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30629 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30630 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30631 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30632 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30633 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30634 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30635 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30636 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30637 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30638 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30639 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30640 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30641 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30642 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30643 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30644 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30645 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30646 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30647 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30648 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30649 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30650 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30651 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30652 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30653 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30654 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30655 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30656 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30657 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30658 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30659 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30660 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30661 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30662 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30663 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30664 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30665 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30666 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30667 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30668 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30669 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30671 (FLT_ROUNDS): Expect as macro, not constant.
30672 (FLT_MANT_DIG): Use macro-int-constant.
30673 (DBL_MANT_DIG): Likewise.
30674 (LDBL_MANT_DIG): Likewise.
30675 (FLT_DIG): Likewise.
30676 (DBL_DIG): Likewise.
30677 (LDBL_DIG): Likewise.
30678 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30679 (DBL_MIN_EXP): Likewise.
30680 (LDBL_MIN_EXP): Likewise.
30681 (FLT_MAX_EXP): Use macro-int-constant.
30682 (DBL_MAX_EXP): Likewise.
30683 (LDBL_MAX_EXP): Likewise.
30684 (FLT_MAX_10_EXP): Likewise.
30685 (DBL_MAX_10_EXP): Likewise.
30686 (LDBL_MAX_10_EXP): Likewise.
30687 (FLT_MAX): Use macro-constant.
30688 (DBL_MAX): Likewise.
30689 (LDBL_MAX): Likewise.
30690 (FLT_EPSILON): Use macro-constant. Give upper bound.
30691 (DBL_EPSILON): Likewise.
30692 (LDBL_EPSILON): Likewise.
30693 (FLT_MIN): Likewise.
30694 (DBL_MIN): Likewise.
30695 (LDBL_MIN): Likewise.
30696 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30697 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30698 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30699 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30700 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30701 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30702 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30703 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30704 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30705 [ISO11] (FLT_TRUE_MIN): Likewise.
30706 [ISO11] (LDBL_TRUE_MIN): Likewise.
30707 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30708 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30709 (SCHAR_MIN): Use macro-int-constant. Specify type.
30710 (SCHAR_MAX): Likewise.
30711 (UCHAR_MAX): Likewise.
30712 (CHAR_MIN): Likewise.
30713 (CHAR_MAX): Likewise.
30714 (MB_LEN_MAX): Use macro-int-constant.
30715 (SHRT_MIN): Use macro-int-constant. Specify type.
30716 (SHRT_MAX): Likewise.
30717 (USHRT_MAX): Likewise.
30718 (INT_MAX): Likewise.
30719 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30721 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30723 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30725 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30726 bound negative. Suffix upper bound with "L".
30727 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30729 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30731 [C99-based standards] (LLONG_MAX): Likewise.
30732 [C99-based standards] (ULLONG_MAX): Likewise.
30733 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30735 [ISO11] (max_align_t): Require type.
30736 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30738 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30739 from $CFLAGS, without defining away __attribute__ calls.
30740 (checknamespace): Use $CFLAGS_namespace.
30742 * conform/conformtest.pl (@keywords): Only include C99 keywords
30743 for standards based on C99 or C11.
30745 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30747 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30750 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30751 usability of symbols in #if.
30753 * conform/conformtest.pl: If macro or constant types start
30754 "promoted:", expect the symbol to be of the following type
30755 promoted by the integer promotions.
30757 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30758 in one place. Also handle "macro-constant".
30760 * conform/conformtest.pl: Only accept expected macro values with
30761 "==". Parse all "macro" lines in one place.
30762 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30764 * conform/conformtest.pl: Handle braced types on "constant" lines
30765 instead of handling "typed-constant".
30766 * conform/data/signal.h-data: Use "constant" instead of
30769 * conform/conformtest.pl: Handle "optional-" at start of lines in
30770 one place rather than duplicating several cases. Handle each
30771 format of "macro" line with initial "optional-".
30773 * conform/conformtest.pl: Only accept expected constant or
30774 optional-constant values with "==". Parse all "constant" lines in
30775 one place. Parse all "optional-constant" lines in one place.
30776 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30777 * conform/data/fmtmsg.h-data: Likewise.
30778 * conform/data/netinet/in.h-data: Likewise.
30779 * conform/data/tar.h-data: Likewise.
30780 * conform/data/limits.h-data: Use "==" form on "constant" and
30781 "optional-constant" lines.
30783 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30784 Use -std=c99 for XOPEN2K.
30785 (@knownproblems): Remove.
30786 (newtoken): Don't check %isknown.
30788 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30789 Do not expect macro.
30790 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30791 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30792 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30793 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30794 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30795 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30796 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30797 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30798 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30799 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30800 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30801 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30802 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30803 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30804 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30805 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30806 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30807 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30808 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30809 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30810 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30811 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30812 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30813 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30814 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30815 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30816 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30817 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30818 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30819 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30820 [XPG3] (acosh): Likewise.
30821 [XPG3] (asinh): Likewise.
30822 [XPG3] (atanh): Likewise.
30823 [XPG3] (cbrt): Likewise.
30824 [XPG3] (expm1): Likewise.
30825 [XPG3] (ilogb): Likewise.
30826 [XPG3] (log1p): Likewise.
30827 [XPG3] (logb): Likewise.
30828 [XPG3] (nextafter): Likewise.
30829 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30830 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30831 [XPG3] (remainder): Likewise.
30832 [XPG3] (rint): Likewise.
30833 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30834 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30835 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30836 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30837 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30838 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30839 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30840 [UNIX98 || XOPEN2K] (scalb): Expect.
30841 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30842 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30843 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30844 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30845 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30846 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30847 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30848 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30849 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30850 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30851 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30852 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30853 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30854 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30855 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30856 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30857 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30858 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30859 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30860 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30861 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30862 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30863 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30864 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30865 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30866 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30867 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30868 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30869 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30870 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30871 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30878 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30879 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30880 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30881 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30882 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30883 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30884 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30885 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30886 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30887 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30888 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30889 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30890 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30891 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30892 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30893 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30894 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30895 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30896 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30897 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30898 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30899 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30900 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30901 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30902 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30903 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30904 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30905 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30906 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30907 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30908 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30909 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30910 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30911 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30912 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30913 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30914 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30915 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30916 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30917 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30918 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30919 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30920 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30921 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30922 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30923 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30924 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30925 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30926 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30927 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30928 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30929 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30930 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30931 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30932 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30933 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30934 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30935 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30936 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30937 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30938 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30939 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30940 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30941 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30942 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30943 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30944 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30945 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30946 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30947 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30948 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30949 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30950 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30951 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30952 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30953 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30954 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30955 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30956 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30957 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30958 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30959 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30960 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30961 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30962 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30963 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30964 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30965 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30966 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30967 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30968 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30969 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30970 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30971 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30972 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30973 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30974 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30975 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30976 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30977 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30979 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30980 _XOPEN_SOURCE_EXTENDED for XPG4.
30982 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30984 * Makeconfig (localtime): Remove variable.
30985 (inst_localtime-file): Likewise.
30987 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31008 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31012 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31013 comparisons to determine direction to adjust input.
31014 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31015 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31016 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31018 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31020 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31022 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31023 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31025 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31027 * math/libm-test.inc (nexttoward_test): Add more tests.
31029 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31032 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31033 in version GLIBC_2.1, not GLIBC_2.0.
31034 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31037 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31040 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31042 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31043 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31044 * math/libm-test.inc (acos_test): Add more tests.
31045 (asin_test): Likewise.
31046 * sysdeps/i386/fpu/libm-test-ulps: Update.
31047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31050 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31052 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31053 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31054 * math/libm-test.inc (acos_test_tonearest): New function.
31055 (acos_test_towardzero): Likewise.
31056 (acos_test_downward): Likewise.
31057 (acos_test_upward): Likewise.
31058 (asin_test_tonearest): Likewise.
31059 (asin_test_towardzero): Likewise.
31060 (asin_test_downward): Likewise.
31061 (asin_test_upward): Likewise.
31062 (main): Call the new functions.
31063 * sysdeps/i386/fpu/libm-test-ulps: Update.
31064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31068 * math/e_exp10.c: Include <float.h>.
31069 (__ieee754_exp10): Handle underflow here rather than multiplying
31070 large negative argument by M_LN10.
31071 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31073 * math/e_exp10l.c: Include <float.h>.
31074 (__ieee754_exp10l): Handle underflow here rather than multiplying
31075 large negative argument by M_LN10l.
31076 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31077 spurious overflow exception on underflow.
31079 2012-04-29 Marek Polacek <polacek@redhat.com>
31081 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31082 (__fortify_function): New macro.
31083 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31084 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31085 __extern_always_inline.
31086 * libio/bits/stdio2.h: Likewise.
31087 * libio/bits/stdio.h: Likewise.
31088 * string/string.h: Likewise.
31089 * string/bits/string3.h: Likewise.
31090 * include/stdio.h: Likewise.
31091 * stdlib/bits/stdlib.h: Likewise.
31092 * stdlib/stdlib.h: Likewise.
31093 * rt/bits/mqueue2.h: Likewise.
31094 * rt/mqueue.h: Likewise.
31095 * posix/bits/unistd.h: Likewise.
31096 * posix/unistd.h: Likewise.
31097 * io/bits/poll2.h: Likewise.
31098 * io/bits/fcntl2.h: Likewise.
31099 * io/fcntl.h: Likewise.
31100 * io/sys/poll.h: Likewise.
31101 * misc/bits/syslog.h: Likewise.
31102 * misc/bits/syslog-ldbl.h: Likewise.
31103 * misc/sys/syslog.h: Likewise.
31104 * socket/bits/socket2.h: Likewise.
31105 * socket/sys/socket.h: Likewise.
31106 * debug/tst-chk1.c: Likewise.
31107 * wcsmbs/bits/wchar2.h: Likewise.
31108 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31109 * wcsmbs/wchar.h: Likewise.
31111 2012-04-29 Andreas Jaeger <aj@suse.de>
31113 * Makerules (tests): Remove enable-check-abi protection.
31114 (check-abi-warn): Remove.
31115 (check-abi-%): Remove check-abi-warn usage.
31117 * configure.in: Remove check-abi configure option.
31118 * configure: Regenerated.
31119 * config.make.in (enable-check-abi): Remove.
31121 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31124 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31125 double functions to double *_finite functions.
31128 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31129 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31131 * stdio-common/Makefile (tests): Add tst-sprintf3.
31132 * stdio-common/tst-sprintf3.c: New file.
31134 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31135 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31137 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31139 * conform/conformtest.pl: Remove duplicate typed-constant
31142 2012-04-28 David S. Miller <davem@davemloft.net>
31144 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31145 (check-abi-%): Remove AWK script prerequisite and explicit
31147 (check-abi): Rewrite to just diff the symlist with the abilist.
31148 (config-tls, config-abi-config): Delete, no longer used.
31149 (update-abi-%): Remove AWK script and explicit abilist directory.
31150 (update-abi): Rewrite to simply compare and conditionally copy the
31151 symlist and the sysdep abilist file. Remove update-abi-config
31153 * abilist/ld.abilist: Remove.
31154 * abilist/libBrokenLocale.abilist: Remove.
31155 * abilist/libanl.abilist: Remove.
31156 * abilist/libcrypt.abilist: Remove.
31157 * abilist/libdl.abilist: Remove.
31158 * abilist/librt.abilist: Remove.
31159 * abilist/libthread_db.abilist: Remove.
31160 * abilist/libutil.abilist: Remove.
31161 * scripts/extract-abilist.awk: Remove.
31162 * scripts/merge-abilist.awk: Remove.
31163 * sysdeps/generic/libcidn.abilist: New file.
31164 * sysdeps/generic/libnss_compat.abilist: New file.
31165 * sysdeps/generic/libnss_db.abilist: New file.
31166 * sysdeps/generic/libnss_dns.abilist: New file.
31167 * sysdeps/generic/libnss_files.abilist: New file.
31168 * sysdeps/generic/libnss_hesiod.abilist: New file.
31169 * sysdeps/generic/libnss_nis.abilist: New file.
31170 * sysdeps/generic/libnss_nisplus.abilist: New file.
31171 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31172 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31173 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31175 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31176 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31177 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31178 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31179 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31180 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31181 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31182 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31183 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31185 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31186 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31187 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31188 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31190 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31191 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31192 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31193 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31194 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31195 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31197 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31198 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31199 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31201 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31202 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31204 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31206 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31208 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31222 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31304 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31305 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31306 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31308 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31309 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31310 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31311 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31312 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31313 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31314 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31315 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31316 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31317 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31369 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31371 * conform/conformtest.pl: Fix typo in handling typed-constant from
31374 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31376 * README: Cut down references to pre-2.6 Linux kernels and
31377 Linuxthreads. Update lists of configurations in libc and ports
31378 and sort alphabetically. Say "or newer" with Linux kernel version
31381 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31383 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31386 * math/libm-test.inc (logb_test_downward): New test to expose
31387 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31390 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31393 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31395 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31396 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31398 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31400 * sysdeps/unix/i386/brk.S: Remove file.
31401 * sysdeps/unix/i386/dl-brk.S: Likewise.
31402 * sysdeps/unix/i386/pipe.S: Likewise.
31403 * sysdeps/unix/i386/sigreturn.S: Likewise.
31404 * sysdeps/unix/i386/syscall.S: Likewise.
31405 * sysdeps/unix/i386/vfork.S: Likewise.
31406 * sysdeps/unix/i386/wait.S: Likewise.
31408 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31409 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31411 * configure.in (arm*-none*): Do not allow without
31412 --enable-hacker-mode.
31413 (netbsd*): Remove case setting base_os.
31414 (386bsd*): Likewise.
31415 (freebsd*): Likewise.
31418 (sunos*): Likewise.
31419 (ultrix*): Likewise.
31420 (newsos*): Likewise.
31421 (dynix*): Likewise.
31427 (minix*): Likewise.
31428 (irix4*): Likewise.
31429 (irix6*): Likewise.
31430 (solaris[2-9]*): Likewise.
31432 * configure: Regenerated.
31434 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31437 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31438 overflow or cancellation in calculating denominator.
31439 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31440 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31441 down expression to avoid unexpected rounding in newer GCCs.
31442 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31444 2012-04-26 David S. Miller <davem@davemloft.net>
31446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31447 long-double compat symbols.
31448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31462 2012-04-25 David S. Miller <davem@davemloft.net>
31464 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31465 HWCAP_* values only after the memory barriers have been defined.
31466 (atomic_full_barrier): Define.
31467 (atomic_read_barrier): Define.
31468 (atomic_write_barrier): Define.
31470 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31472 * shlib-versions: Add libgcc_s version information.
31473 * sysdeps/generic/libgcc_s.h: Remove.
31474 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31476 * sysdeps/gnu/unwind-resume.c: Likewise.
31477 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31479 2012-04-25 David S. Miller <davem@davemloft.net>
31481 * sysdeps/unix/sparc/brk.S: Delete.
31482 * sysdeps/unix/sparc/dl-brk.S: Delete.
31483 * sysdeps/unix/sparc/pipe.S: Delete.
31484 * sysdeps/unix/sparc/sysdep.S: Delete.
31485 * sysdeps/unix/sparc/sysdep.h: Delete.
31486 * sysdeps/unix/sparc/vfork.S: Delete.
31487 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31488 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31489 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31490 ret_ERRVAL, r0, r1, MOVE): Define.
31491 (JUMPTARGET): Remove.
31492 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31493 sysdeps/unix/sparc/sysdep.h
31494 (ENTRY, END): Remove.
31495 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31497 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31499 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31500 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31503 * timezone/README: Update upstream location and email address for
31505 * timezone/zdump.c: Update from tzcode 2012b.
31506 * timezone/zic.c: Likewise.
31508 * configure.in (libc_cv_as_needed): Remove test.
31509 * configure: Regenerated.
31510 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31511 conditional definition.
31512 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31513 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31514 * config.make.in (have-as-needed): Remove variable.
31516 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31517 Paul Pluzhnikov <ppluzhnikov@google.com>
31519 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31522 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31524 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31525 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31526 * sysdeps/sh/strlen.S: Likewise.
31528 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31530 * sysdeps/unix/fork.S: Remove file.
31531 * sysdeps/unix/i386/fork.S: Likewise.
31532 * sysdeps/unix/sparc/fork.S: Likewise.
31534 * sysdeps/unix/system.c: Remove file.
31535 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31537 * sysdeps/unix/getegid.S: Remove file.
31538 * sysdeps/unix/geteuid.S: Likewise.
31540 2012-04-24 Roland McGrath <roland@hack.frob.com>
31542 * scripts/check-localplt.awk: New file.
31543 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31545 * scripts/data/localplt-generic.data: Add a comment.
31547 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31548 NODE when __dir_mkfile failed.
31549 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31550 Reported by Ludovic Courtès <ludo@gnu.org>.
31552 2012-04-24 Andreas Jaeger <aj@suse.de>
31554 * Makerules (common-clean): Also remove gen-as-const-headers
31557 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31559 * Makerules (native-compile): Do not change working directory for
31560 build. Use $(OUTPUT_OPTION) in command.
31561 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31563 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31566 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31567 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31568 * math/libm-test.inc (floor_test): Add more tests.
31569 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31571 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31573 * sysdeps/unix/getdents.c: Remove file.
31574 * sysdeps/unix/sysv/getdents.c: Likewise.
31575 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31577 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31578 sysdeps/unix/mman/syscalls.list.
31580 (mprotect): Likewise.
31582 (munmap): Likewise.
31583 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31584 * sysdeps/unix/mman/syscalls.list: Remove.
31585 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31587 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31588 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31589 * configure: Regenerated.
31590 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31591 $(libgcc_s_suffix).
31592 * config.make.in (libgcc_s_suffix): Remove variable.
31594 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31596 * sysdeps/unix/sysv/gethostname.c: Move to ...
31597 * sysdeps/posix/gethostname.c: ... here.
31599 * sysdeps/unix/execve.S: Remove file.
31601 * sysdeps/unix/_exit.S: Remove file.
31603 2012-04-23 Andreas Jaeger <aj@suse.de>
31606 * manual/Makefile: Remove make dist support, there's no
31607 need for a stand-alone documentation tar ball.
31608 (TEXI2DVI): Define always, it's not in Makeconfig.
31611 (edition): Removed.
31612 (glibc-doc-$(edition).tar): Removed
31616 (ETAGS): Remove, it's in Makeconfig.
31617 (move-if-change): Remove, it's in Makeconfig.
31619 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31622 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31623 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31624 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31625 (strtod_l, strtof_l, strtold_l): Remove __wur.
31626 It is not necessarily an error to ignore strtol's return value.
31627 One can reliably look at the stored endptr to decide whether
31628 the number had valid syntax.
31630 2012-04-21 Andreas Jaeger <aj@suse.de>
31633 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31635 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31637 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31638 * sysdeps/unix/sysv/Versions: Remove file.
31640 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31645 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31648 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31649 version from __vm86.
31651 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31653 * sysdeps/unix/common/lxstat.c: Remove file.
31654 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31656 * sysdeps/unix/sysv/Makefile: Remove file.
31658 * sysdeps/unix/sysv/direct.h: Remove file.
31660 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31661 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31662 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31663 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31664 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31665 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31666 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31668 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31670 * sysdeps/unix/xmknod.c: Remove file.
31671 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31673 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31675 * sysdeps/unix/sysv/i386/time.S: Remove file.
31677 * sysdeps/unix/fxstat.c: Remove file.
31678 * sysdeps/unix/xstat.c: Likewise.
31679 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31681 * sysdeps/unix/sysv/sigaction.c: Remove file.
31683 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31684 (sysdep_headers): Remove variable.
31685 [termio.h not in sysdep_headers] (generated): Likewise.
31686 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31687 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31688 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31689 * sysdeps/unix/sysv/tcflow.c: Likewise.
31690 * sysdeps/unix/sysv/tcflush.c: Likewise.
31691 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31692 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31693 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31694 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31695 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31697 * sysdeps/unix/siglist.c: Remove file.
31699 * sysdeps/unix/getppid.S: Remove file.
31701 * sysdeps/unix/mkdir.c: Remove file.
31702 * sysdeps/unix/rmdir.c: Likewise.
31704 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31706 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31708 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31709 errlist-compat value.
31711 2012-04-18 David S. Miller <davem@davemloft.net>
31713 * sysdeps/generic/memcopy.h (reg_char): Delete.
31714 * debug/strcat_chk.c: Use char, not reg_char.
31715 * debug/strcpy_chk.c: Likewise.
31716 * debug/strncat_chk.c: Likewise.
31717 * debug/strncpy_chk.c: Likewise.
31718 * string/memchr.c: Likewise.
31719 * string/memrchr.c: Likewise.
31720 * string/rawmemchr.c: Likewise.
31721 * string/strcat.c: Likewise.
31722 * string/strchr.c: Likewise.
31723 * string/strchrnul.c: Likewise.
31724 * string/strcmp.c: Likewise.
31725 * string/strcpy.c: Likewise.
31726 * string/strncat.c: Likewise.
31727 * string/strncmp.c: Likewise.
31728 * string/strncpy.c: Likewise.
31730 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31732 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31733 __builtin_memcopy is called when src and dest ranges are known to not
31736 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31738 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31739 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31740 fwd_align_merge macro call.
31741 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31742 bwd_align_merge macro call.
31743 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31745 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31747 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31748 bwd_align_merge macros.
31749 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31750 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31751 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31753 2012-04-18 David S. Miller <davem@davemloft.net>
31755 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31757 2012-04-18 Andreas Jaeger <aj@suse.de>
31760 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31761 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31762 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31764 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31765 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31766 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31768 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31769 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31770 Adjust for changed ldbl-128 files.
31772 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31773 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31774 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31776 2012-04-17 David S. Miller <davem@davemloft.net>
31778 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31780 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31782 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31783 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31784 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31785 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31786 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31787 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31789 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31792 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31793 * math/libm-test.inc: Add ilogb errno and exception tests.
31794 * math/w_ilogb.c: New file: ilogb wrapper.
31795 * math/w_ilogbf.c: New file: ilogbf wrapper.
31796 * math/w_ilogbl.c: New file: ilogbl wrapper.
31797 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31798 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31799 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31800 exception being thrown with 0.0 as argument.
31801 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31802 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31803 exception being thrown with 0.0 as argument.
31804 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31805 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31806 exception being thrown with 0.0 as argument.
31807 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31808 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31809 exception being thrown with 0.0 as argument.
31810 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31811 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31812 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31813 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31814 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31815 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31816 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31817 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31818 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31820 2012-04-17 Petr Baudis <pasky@ucw.cz>
31822 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31825 2012-04-16 Marek Polacek <polacek@redhat.com>
31827 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31829 2012-04-16 Marek Polacek <polacek@redhat.com>
31831 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31832 operands of fdivp instruction.
31834 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31836 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31837 * elf/tst-auditmod3b.c: Likewise.
31838 * elf/tst-auditmod4b.c: Likewise.
31839 * elf/tst-auditmod5b.c: Likewise.
31840 * elf/tst-auditmod6b.c: Likewise.
31841 * elf/tst-auditmod6c.c: Likewise.
31842 * elf/tst-auditmod7b.c: Likewise.
31843 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31844 * sysdeps/x86_64/preconfigure.in: Likewise.
31845 * sysdeps/x86_64/preconfigure: Regenerated.
31847 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31849 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31852 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31854 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31855 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31857 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31860 * locale/iso-639.def: Fix gl language name. Spotted by
31863 2012-04-12 Roland McGrath <roland@hack.frob.com>
31866 * libio/libio.h (__io_write_fn): Update comment.
31868 2012-04-12 Petr Baudis <pasky@ucw.cz>
31871 * stdio.texi (Hook Functions): The user provided writer function
31872 is not allowed to return -1.
31874 2012-04-11 David S. Miller <davem@davemloft.net>
31876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31878 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31880 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31881 Add a leading slash to rtkaio.
31883 2012-04-11 Jim Meyering <meyering@redhat.com>
31886 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31887 It is not necessarily an error to ignore fwrite's return
31888 value. One can reliably use ferror to test for errors after
31891 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31893 * bits/types.h (__snseconds_t): New type.
31894 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31896 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31897 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31898 (__SNSECONDS_T_TYPE): Likewise.
31899 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31900 (__SNSECONDS_T_TYPE): Likewise.
31901 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31902 (__SNSECONDS_T_TYPE): Likewise.
31904 2012-04-10 Andreas Jaeger <aj@suse.de>
31907 * manual/time.texi (Processor Time): Return type of times is
31908 elapsed real time since an arbitrary point in the past.
31909 (CPU Time): Move CLK_TCK from here...
31910 (Processor Time): ...to here. Correct description.
31911 * manual/conf.texi (Constants for Sysconf): Correct description of
31914 2012-04-10 David S. Miller <davem@davemloft.net>
31917 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31918 where the is a gap between DT_REL(A) and DT_JMPREL.
31920 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31922 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31923 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31924 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31926 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31928 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31929 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31930 (dl_main): Handle --inhibit-cache.
31931 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31933 * elf/dl-load.c (_dl_map_object): Use it.
31934 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31936 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31939 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31940 (__ieee754_powl): Saturate large exponents rather than testing for
31941 overflow of y*log2(x).
31942 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31943 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31947 * math/s_ctan.c: Include <float.h>.
31948 (__ctan): Avoid internal overflow or cancellation in calculating
31950 * math/s_ctanf.c: Likewise.
31951 * math/s_ctanl.c: Likewise.
31952 * math/s_ctanh.c: Likewise.
31953 * math/s_ctanhf.c: Likewise.
31954 * math/s_ctanhl.c: Likewise.
31955 * math/libm-test.inc (ctan_test): Add more tests.
31956 (ctanh_test): Likewise.
31957 * sysdeps/i386/fpu/libm-test-ulps: Update.
31958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31960 2012-04-09 Andreas Jaeger <aj@suse.de>
31963 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31964 is an optional BSD extension.
31967 * manual/stdio.texi (Opening Streams): Document additional fopen
31970 2012-04-09 Roland McGrath <roland@hack.frob.com>
31972 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31973 %eax without telling the compiler.
31975 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31978 * manual/install.texi: Use sourceware.org.
31980 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31983 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31984 (__ieee754_pow): Generate overflow and underflow using huge*huge
31985 and tiny*tiny rather than just returning constant infinity or zero
31986 for large exponents.
31987 * math/libm-test.inc (pow_test): Require overflow exceptions for
31988 applicable cases of large exponents.
31991 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31992 (__ieee754_pow): Use iterative multiplication algorithm only for
31993 integer exponents with absolute value below 1024. Check for odd
31994 integer exponents when using algorithm for real exponents.
31995 * math/libm-test.inc (pow_test): Add more tests.
31996 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31998 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32001 * math/libm-test.inc (exp_test): Do not allow overflow exception
32004 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32007 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32008 instead of __kernel_standard_f.
32010 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32012 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32013 * sysdeps/x86_64/memset_chk.S: Likewise.
32015 2012-04-08 Andreas Jaeger <aj@suse.de>
32018 * manual/startup.texi (Environment Access): Describe return value
32019 for putenv and setenv.
32022 * manual/filesys.texi (Directory Entries): Add description for
32026 * manual/filesys.texi (Directory Entries): Clarify that it's file
32027 system not operating system in the description of DT_UNKNOWN.
32030 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32032 2012-04-08 Stephen Compall <s11@member.fsf.org>
32035 * manual/llio.texi (Opening and Closing Files): Add cross
32036 reference to explain mode argument.
32038 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32040 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32041 * sysdeps/x86_64/memset_chk.S: Likewise.
32043 2012-04-07 David S. Miller <davem@davemloft.net>
32045 * elf/elf.h (R_SPARC_WDISP10): Define.
32046 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32048 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32049 R_SPARC_SIZE64 and R_SPARC_H34.
32051 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32053 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32054 conditions and remove no longer applicable assertion.
32056 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32058 * bits/byteswap.h: Include <features.h>.
32059 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32060 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32062 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32064 * bits/byteswap.h (__bswap_16): Removed.
32065 Include <bits/byteswap-16.h> to get __bswap_16.
32066 * sysdeps/i386/bits/byteswap.h: Likewise.
32067 * sysdeps/s390/bits/byteswap.h: Likewise.
32068 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32069 * bits/byteswap-16.h: New file.
32070 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32071 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32072 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32073 * string/Makefile (headers): Add bits/byteswap-16.h.
32075 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32078 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32080 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32081 * nss/tst-nss-static.c: New.
32083 2012-04-06 Robert Millan <rmh@gnu.org>
32086 * manual/llio.texi (File Position Primitive): lseek
32087 refers to WHENCE when it really means OFFSET.
32089 2012-04-06 Andreas Jaeger <aj@suse.de>
32091 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32092 strncmp declarations.
32094 * abilist/libc.abilist: Add __poll and __ppoll.
32096 2012-04-05 David S. Miller <davem@davemloft.net>
32098 * scripts/check-local-headers.sh: Accept a host triplet in the
32099 path matched by the exclude regexp.
32101 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32103 * sysdeps/powerpc/powerpc32/dl-machine.h
32104 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32105 * sysdeps/s390/s390-32/dl-machine.h
32106 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32107 * sysdeps/sparc/sparc32/dl-machine.h
32108 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32109 * sysdeps/sparc/sparc64/dl-machine.h
32110 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32112 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32114 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32115 undefined symbol errors.
32117 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32120 2012-04-05 Michael Matz <matz@suse.de>
32123 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32125 2012-04-05 Andreas Jaeger <aj@suse.de>
32128 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32131 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32133 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32134 which ROUND is no valid rounding mode.
32136 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32138 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32140 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32142 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32144 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32145 an exception using FPU order intentionally.
32147 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32149 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32150 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32151 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32152 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32154 2012-04-05 Simon Josefsson <simon@josefsson.org>
32157 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32158 EINVAL when BUFLEN is too smal.
32160 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32163 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32164 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32166 2012-04-03 Andreas Jaeger <aj@suse.de>
32169 * manual/setjmp.texi (System V contexts): Fix sentence.
32172 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32173 New macro for this case.
32174 [!__GNUC__] (__bswap_64): New inline function for this case.
32175 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32176 * bits/byteswap.h: Likewise.
32177 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32178 ull, guard with __GLIBC_HAVE_LONG_LONG.
32180 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32181 __GLIBC_HAVE_LONG_LONG.
32183 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32184 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32186 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32189 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32190 inptr and inend, rather than using last_ch.
32192 2012-04-02 David S. Miller <davem@davemloft.net>
32194 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32195 * stdio-common/printf-parse.h (read_int): Change return type to
32196 'int', return -1 on INT_MAX overflow.
32197 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32198 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32199 overflows INT_MAX. Check for overflow of in-format-string precision
32200 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32201 SIZE_MAX not INT_MAX for integer overflow test.
32202 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32203 skip the construct in the format string but do not record anything.
32204 * stdio-common/bug22.c: Adjust to test both width/prevision
32205 INT_MAX overflow as well as total length INT_MAX overflow. Check
32206 explicitly for proper errno values.
32208 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32210 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32212 * string/test-strcmp.c [! WIDE]: Likewise.
32213 * time/tst-mktime2.c: Likewise for INT_MAX.
32214 * string/test-string.h: #include <sys/param.h> for MIN.
32216 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32217 * sysdeps/i386/init-first.c (init): Likewise.
32218 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32219 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32220 * sysdeps/sh/init-first.c (init): Likewise.
32222 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32224 * po/ru.po: Update from translation team.
32225 * po/vi.po: Likewise.
32227 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32229 * resolv/nss_dns/dns-host.c: Merge copyright years.
32231 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32233 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32234 Optimize memcpy with prefetch if
32235 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32236 src, dst pointers have unequal 16 byte alignments.
32238 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32241 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32242 from a CNAME entry and return the minimum ttl for the query.
32243 (gaih_getanswer_slice): Likewise.
32245 2012-03-30 Jeff Law <law@redhat.com>
32247 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32249 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32250 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32252 * resolv/nss_dns/dns-host.c: Update copyright year.
32254 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32256 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32257 requests to save a system call. Fix check that all bytes are sent.
32259 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32260 comments for sendmmsg.
32262 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32265 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32266 with only 1 character between 0x0041 and 0x01b0.
32267 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32268 * wcsmbs/tst-mbsnrtowcs.c: New file.
32270 2012-03-29 David S. Miller <davem@davemloft.net>
32272 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32273 small copies by hand.
32275 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32278 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32279 _nss_compat_initgroups_dyn): Fall back to malloc/free
32280 for large group memberships.
32282 2012-03-28 David S. Miller <davem@davemloft.net>
32284 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32285 that branches into memcpy.
32286 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32287 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32288 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32289 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32290 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32292 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32293 implementation too.
32294 * sysdeps/sparc/mempcpy.S: New file.
32296 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32297 the IFUNC routine in the libc case.
32298 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32300 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32301 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32302 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32303 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32304 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32305 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32306 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32307 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32309 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32310 loop to 256 bytes instead of 64 bytes and fix test signedness.
32312 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32313 * sysdeps/sparc/sparc32/Makefile: rather than here...
32314 * sysdeps/sparc/sparc64/Makefile: and here.
32316 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32318 * malloc/mallocbug.c: Avoid warnings about unused variables.
32320 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32323 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32324 in the right place. Discard and retry query if response is
32325 larger than input buffer size.
32327 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32332 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32333 x for large integer exponent.
32334 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32335 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32336 sign of result as needed afterwards.
32337 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32338 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32339 result for underflowing pow the same as for overflow.
32340 (__kernel_standard_l): Handle powl overflow and underflow here
32341 rather than calling __kernel_standard.
32342 * math/libm-test.inc (pow_test): Add more tests.
32357 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32358 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32359 (__kernel_standard_l): New function.
32360 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32362 * math/w_acosl.c (__acosl): Likewise.
32363 * math/w_asinl.c (__asinl): Likewise.
32364 * math/w_atan2l.c (__atan2l): Likewise.
32365 * math/w_atanhl.c (__atanhl): Likewise.
32366 * math/w_coshl.c (__coshl): Likewise.
32367 * math/w_exp10l.c (__exp10l): Likewise.
32368 * math/w_exp2l.c (__exp2l): Likewise.
32369 * math/w_fmodl.c (__fmodl): Likewise.
32370 * math/w_hypotl.c (__hypotl): Likewise.
32371 * math/w_j0l.c (__j0l, __y0l): Likewise.
32372 * math/w_j1l.c (__j1l, __y1l): Likewise.
32373 * math/w_jnl.c (__jnl, __ynl): Likewise.
32374 * math/w_lgammal.c (__lgammal): Likewise.
32375 * math/w_log10l.c (__log10l): Likewise.
32376 * math/w_log2l.c (__log2l): Likewise.
32377 * math/w_logl.c (__logl): Likewise.
32378 * math/w_powl.c (__powl): Likewise.
32379 * math/w_remainderl.c (__remainderl): Likewise.
32380 * math/w_scalbl.c (sysv_scalbl): Likewise.
32381 * math/w_sinhl.c (__sinhl): Likewise.
32382 * math/w_sqrtl.c (__sqrtl): Likewise.
32383 * math/w_tgammal.c (__tgammal): Likewise.
32384 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32385 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32386 * math/libm-test.inc (acos_test): Add more tests.
32387 (acosh_test): Likewise.
32388 (asin_test): Likewise.
32389 (atanh_test): Likewise.
32390 (exp_test): Likewise.
32391 (exp10_test): Likewise.
32392 (exp2_test): Likewise.
32393 (expm1_test): Likewise.
32394 (lgamma_test): Likewise.
32395 (log_test): Likewise.
32396 (log10_test): Likewise.
32397 (log1p_test): Likewise.
32398 (log2_test): Likewise.
32399 (pow_test): Do not allow some spurious overflow exceptions.
32400 (sqrt_test): Add more tests.
32401 (tgamma_test): Likewise.
32402 (y0_test): Likewise.
32403 (y1_test): Likewise.
32404 (yn_test): Likewise.
32406 2012-03-27 Anton Blanchard <anton@samba.org>
32408 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32410 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32411 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32412 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32414 2012-03-27 David S. Miller <davem@davemloft.net>
32416 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32418 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32419 have-as-vis3 check.
32421 2012-03-27 Andreas Jaeger <aj@suse.de>
32423 * sysdeps/x86_64/elf/configure.in: Moved to ...
32424 * sysdeps/x86_64/configure.in: ... here.
32425 * sysdeps/x86_64/elf/start.S: Moved to ...
32426 * sysdeps/x86_64/start.S: ... here.
32427 * sysdeps/x86_64/elf/configure: Delete.
32429 * sysdeps/x86_64/configure.in: Merge contents from
32430 sysdeps/i386/configure.in (without i686 check).
32432 * sysdeps/i386/elf/Versions: Merge into ...
32433 * sysdeps/i386/Versions: ... this.
32434 * sysdeps/i386/elf/Versions: Delete file.
32435 * sysdeps/i386/elf/start.S: Moved to ...
32436 * sysdeps/i386/start.S: ...here.
32437 * sysdeps/i386/elf/configure.in: Merge into...
32438 * sysdeps/i386/configure.in: ...here.
32439 * sysdeps/i386/elf/configure.in: Delete file.
32440 * sysdeps/i386/elf/configure: Delete file.
32442 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32443 * debug/backtracesyms.c: ... here.
32444 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32445 * debug/backtracesymsfd.c: ... here.
32446 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32447 * sysdeps/generic/ifunc-sel.h: ... here.
32449 * sysdeps/unix/i386/start.c: Delete file.
32450 * sysdeps/unix/sparc/start.c: Delete file.
32451 * sysdeps/unix/start.c: Delete file.
32453 * sysdeps/sh/elf/configure.in: Moved to ...
32454 * sysdeps/sh/configure.in: ... here.
32455 * sysdeps/sh/elf/start.S: Moved to ...
32456 * sysdeps/sh/start.S: ... here.
32457 * sysdeps/sh/elf/configure: Delete file.
32459 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32460 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32461 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32462 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32463 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32464 * sysdeps/powerpc/powerpc64/start.S: here.
32465 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32466 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32467 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32468 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32469 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32471 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32472 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32473 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32474 * sysdeps/powerpc/powerpc32/start.S: ... here.
32475 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32476 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32477 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32479 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32480 * sysdeps/powerpc/ifunc-sel.h: ... here.
32481 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32482 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32484 * sysdeps/sparc/elf/configure.in: Moved to ...
32485 * sysdeps/sparc/configure.in: ... here.
32486 * sysdeps/sparc/elf/configure: Delete file.
32487 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32488 * sysdeps/sparc/sparc32/start.S: ... here.
32489 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32490 * sysdeps/sparc/sparc64/start.S: ... here.
32491 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32492 * sysdeps/sparc/sparc32/Makefile: ... this.
32493 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32494 * sysdeps/sparc/sparc64/Makefile: ... this.
32496 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32497 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32498 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32499 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32500 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32501 * sysdeps/s390/s390-32/setjmp.S: ... here.
32502 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32503 * sysdeps/s390/s390-32/configure.in: ... here.
32504 * sysdeps/s390/s390-32/elf/configure: Delete file.
32505 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32506 * sysdeps/s390/s390-32/start.S: ... here.
32508 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32509 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32510 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32511 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32512 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32513 * sysdeps/s390/s390-64/setjmp.S: ... here.
32514 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32515 * sysdeps/s390/s390-64/configure.in: ... here
32516 * sysdeps/s390/s390-64/elf/configure: Delete file.
32517 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32518 * sysdeps/s390/s390-64/start.S: ... here.
32519 * sysdeps/s390/s390-64/elf/configure: Delete.
32521 * configure.in: Remove support for elf directories in sysdeps.
32523 * configure: Regenerated.
32524 * sysdeps/i386/configure: Regenerated.
32525 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32526 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32527 * sysdeps/s390/s390-32/configure: Regenerated.
32528 * sysdeps/s390/s390-64/configure: Regenerated.
32529 * sysdeps/sh/configure: Regenerated.
32530 * sysdeps/sparc/configure: Regenerated.
32531 * sysdeps/x86_64/configure: Regenerated.
32533 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32537 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32538 denormal result into account.
32540 2012-03-25 Roland McGrath <roland@hack.frob.com>
32542 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32543 Reported by Allan McRae <allan@archlinux.org>.
32545 2012-03-23 Jeff Law <law@redhat.com>
32547 * nss/getnssent.c (__nss_getent): Fix typo.
32549 2012-03-23 David S. Miller <davem@davemloft.net>
32551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32553 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32555 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32556 to pad to uint64_t for each field.
32557 (dl_tls_index): Replace unsigned long with uint64_t.
32559 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32560 Paul Pluzhnikov <ppluzhnikov@google.com>
32563 * grp/Makefile (otherlibs): Don't set it.
32564 * inet/Makefile (otherlibs): Likewise.
32565 * login/Makefile (otherlibs): Likewise.
32566 * nscd/Makefile (otherlibs): Likewise.
32567 * posix/Makefile (otherlibs): Likewise.
32568 * pwd/Makefile (otherlibs): Likewise.
32569 * rt/Makefile (otherlibs): Likewise.
32570 * sunrpc/Makefile (otherlibs): Likewise.
32571 * nss/Makefile (otherlibs): Likewise.
32572 Add libnss_files to routines and static-only-routines.
32573 ($(objpfx)getent): Remove rule.
32574 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32575 static-only-routines.
32577 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32580 * math/s_cexp.c: Include <float.h>.
32581 (__cexp): Handle exp result overflowing not necessarily
32582 overflowing both real and imaginary parts of result.
32583 * math/s_cexpf.c: Likewise.
32584 * math/s_cexpl.c: Likewise.
32585 * math/libm-test.inc (cexp_test): Add more tests.
32586 * sysdeps/i386/fpu/libm-test-ulps: Update.
32587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32589 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32591 * include/link.h (ELFW): New macro.
32592 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32593 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32595 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32597 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32600 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32602 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32604 (struct La_x32_retval): Likewise.
32606 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32608 * sysdeps/x86_64/preconfigure.in: New file.
32609 * sysdeps/x86_64/preconfigure: New generated file.
32611 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32614 * math/e_exp2l.c: Include <float.h>.
32615 (__ieee754_exp2l): Handle overflow and underflow cases
32616 separately. Only pass fractional part of argument to
32618 * math/libm-test.inc (exp2_test): Add more tests.
32620 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32621 negating x to take absolute value.
32622 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32624 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32625 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32627 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32628 computing low part if x was negated.
32629 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32631 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32633 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32634 la_x32_gnu_pltexit.
32635 (pltexit): Cast int_retval to ptrdiff_t.
32636 * elf/tst-auditmod3b.c: Likewise.
32637 * elf/tst-auditmod4b.c: Likewise.
32638 * elf/tst-auditmod5b.c: Likewise.
32639 * elf/tst-auditmod6b.c: Likewise.
32640 * elf/tst-auditmod6c.c: Likewise.
32641 * elf/tst-auditmod7b.c: Likewise.
32643 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32644 and x32_gnu_pltexit.
32646 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32647 __ELF_NATIVE_CLASS.
32648 (La_x32_regs): New macro.
32649 (La_x32_retval): Likewise.
32650 (la_x32_gnu_pltenter): New function prototype.
32651 (la_x32_gnu_pltexit): Likewise.
32653 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32655 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32660 * configure.in (libc_cv_cc_nofma): Check for option to disable
32661 generation of FMA instructions.
32662 * configure: Regenerate.
32663 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32664 * sysdeps/ieee754/dbl-64/Makefile: New file.
32665 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32666 Remove brandred-fma4.
32667 (CFLAGS-brandred-fma4.c): Remove.
32668 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32669 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32671 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32674 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32676 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32677 LLONG_MAX != LONG_MAX.
32678 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32679 (_fitoa_word): Likewise.
32680 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32681 LLONG_MAX != LONG_MAX.
32682 * stdio-common/_itowa.h: Include <_itoa.h>.
32683 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32684 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32685 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32686 only if not defined.
32687 (_ITOA_WORD_TYPE): Likewise.
32688 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32689 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32691 2012-03-21 David S. Miller <davem@davemloft.net>
32693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32695 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32697 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32698 of x86_64 when setting libc_cv_slibdir, libdir and
32700 * sysdeps/unix/sysv/linux/configure: Regenerated.
32702 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32704 * manual/lang.texi (Old Varargs): Remove section.
32705 (How Variadic): Update menu.
32706 (va_start): Do not mention varargs.h.
32708 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32709 Joseph Myers <joseph@codesourcery.com>
32711 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32713 * configure: Regenerated.
32715 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32717 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32718 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32721 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32724 * Makefile (files-for-dist): Remove NOTES.
32725 (NOTES): Remove rule.
32726 * README: Don't refer to NOTES.
32727 * manual/creature.texi: Don't include macros.texi.
32728 * manual/intro.texi (creature.texi): Remove comment referring to
32731 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32732 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32733 * configure: Regenerated.
32734 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32735 LIBC_TRY_CC_OPTION.
32736 (libc_cv_as_i686): Likewise.
32737 (libc_cv_cc_avx): Likewise.
32738 (libc_cv_cc_sse2avx): Likewise.
32739 (libc_cv_cc_fma4): Likewise.
32740 (libc_cv_cc_novzeroupper): Likewise.
32741 * sysdeps/i386/configure: Regenerated.
32744 * sysdeps/i386/fpu/s_cexp.S: Remove.
32745 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32746 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32747 * math/libm-test.inc (cexp_test): Add more tests.
32748 * sysdeps/i386/fpu/libm-test-ulps: Update.
32749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32751 2012-03-21 Allan McRae <allan@archlinux.org>
32753 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32755 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32758 * math/w_exp2.c: Do not include <float.h>.
32759 (o_threshold, u_threshold): Remove.
32760 (__exp2): Calculate result before checking finiteness and calling
32762 * math/w_exp2f.c: Likewise.
32763 * math/w_exp2l.c: Likewise.
32764 * math/libm-test.inc (exp2_test): Require overflow exception for
32768 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32769 range of signed 64-bit integers before using fistpll. Remove
32770 checks for whether integers fit in mantissa bits.
32771 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32772 the range of signed 32-bit integers before using fistpl. Remove
32773 checks for whether integers fit in mantissa bits.
32774 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32775 (__ieee754_powl): Test for y outside the range of signed 64-bit
32776 integers before using fistpll. Reduce 64-bit values to 63-bit
32778 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32779 divide-by-zero is raised for zero to large negative powers.
32780 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32781 (__ieee754_powl): Test for y outside the range of signed 64-bit
32782 integers before using fistpll. Reduce 64-bit values to 63-bit
32784 * math/libm-test.inc (pow_test): Add more tests.
32786 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32788 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32789 <stdio-common/_itoa.h>.
32790 * debug/segfault.c: Likewise.
32791 * elf/dl-cache.c: Likewise.
32792 * elf/dl-minimal.c: Likewise.
32793 * elf/dl-misc.c: Likewise.
32794 * elf/dl-sysdep.c: Likewise.
32795 * elf/dl-version.c: Likewise.
32796 * elf/rtld.c: Likewise.
32797 * hurd/hurdsock.c: Likewise.
32798 * hurd/lookup-retry.c: Likewise.
32799 * malloc/malloc.c: Likewise.
32800 * malloc/mtrace.c: Likewise.
32801 * nscd/nscd_getgr_r.c: Likewise.
32802 * nscd/nscd_getpw_r.c: Likewise.
32803 * nscd/nscd_getserv_r.c: Likewise.
32804 * posix/getopt_init.c: Likewise.
32805 * posix/wordexp.c: Likewise.
32806 * stdio-common/_itoa.c: Likewise.
32807 * stdio-common/printf_fphex.c: Likewise.
32808 * stdio-common/vfprintf.c: Likewise.
32809 * string/_strerror.c: Likewise.
32810 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32811 * sysdeps/i386/i686/hp-timing.h: Likewise.
32812 * sysdeps/mach/_strerror.c: Likewise.
32813 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32814 * sysdeps/mach/hurd/sethostid.c: Likewise.
32815 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32816 * sysdeps/mach/xpg-strerror.c: Likewise.
32817 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32818 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32819 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32820 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32821 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32822 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32823 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32824 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32825 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32826 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32827 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32828 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32829 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32830 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32831 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32832 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32833 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32834 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32835 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32836 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32837 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32839 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32841 * stdio-common/_itoa.h: Moved to ...
32842 * sysdeps/generic/_itoa.h: Here.
32844 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32846 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32847 instead of "_itoa.h" and "_itowa.h".
32848 * stdio-common/vfprintf.: Likewise.
32850 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32852 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32854 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32855 (__signbit): Likwise.
32856 (llrintf): Likwise.
32859 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32861 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32864 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32866 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32867 OVERFLOW_EXCEPTION_OK.
32868 * math/libm-test.inc ("Philosophy"): Update comment about
32870 (OVERFLOW_EXCEPTION): Define.
32871 (OVERFLOW_EXCEPTION_OK): Likewise.
32872 (INVALID_EXCEPTION_OK): Renumber.
32873 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32874 (IGNORE_ZERO_INF_SIGN): Likewise.
32875 (test_exceptions): Handle FE_OVERFLOW.
32876 (exp10_test): Expect overflow exceptions.
32877 (exp2_test): Likewise.
32878 (expm1_test): Likewise.
32879 (nextafter_test): Likewise.
32880 (pow_test): Likewise.
32881 (scalbn_test): Likewise.
32882 (scalbln_test): Likewise.
32884 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32886 * sysdeps/x86_64/bits/atomic.h
32887 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32889 (atomic_exchange_acq): Likewise.
32890 (__arch_exchange_and_add_body): Likewise.
32891 (__arch_add_body): Likewise.
32892 (atomic_add_negative): Likewise.
32893 (atomic_add_zero): Likewise.
32895 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32897 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32898 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32900 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32902 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32903 Check __x86_64__ instead of __WORDSIZE.
32905 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32907 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32909 2012-03-19 David S. Miller <davem@davemloft.net>
32911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32913 * sysdeps/sparc/fpu/fenv_private.h: New file.
32914 * sysdeps/sparc/fpu/math_private.h: Use it.
32915 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32917 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32918 (libc_feholdexcept_setroundl): Remove.
32919 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32921 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32922 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32924 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32926 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32927 int64_t instead of long int.
32928 (INSERT_WORDS64): Likwise.
32930 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32932 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32933 _Unwind_GetCFA return to _Unwind_Ptr first.
32935 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32938 * math/s_clog.c: Include <float.h>.
32939 (__clog): Scale large or subnormal inputs.
32940 * math/s_clogf.c: Likewise.
32941 * math/s_clogl.c: Likewise.
32942 * math/s_clog10.c: Include <float.h>.
32943 (M_LOG10_2): Define.
32944 (__clog10): Scale large or subnormal inputs.
32945 * math/s_clog10f.c: Likewise.
32946 * math/s_clog10l.c: Likewise.
32947 * math/libm-test.inc (clog_test): Add more tests.
32948 (clog10_test): Likewise.
32949 * sysdeps/i386/fpu/libm-test-ulps: Update.
32950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32953 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32955 * math/libm-test.inc (atan2_test): Add another test.
32957 * Makerules (common-objdir-compile): Remove.
32958 * sysdeps/unix/Makefile (config-generated): Do not add
32959 $(unix-generated) to variable.
32960 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32961 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32963 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32965 [generic bits/local_lim.h] (before-compile): Do not append to
32967 [generic bits/local_lim.h] (common-generated): Likewise.
32968 [generic sys/param.h] (before-compile): Do not append to variable.
32969 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32970 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32971 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32972 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32974 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32975 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32976 [generic sys/param.h] ($(addprefix
32977 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32978 [generic sys/param.h] (common-generated): Do not append to
32980 [generic sys/param.h] (sysdep_headers): Likewise.
32981 [generic bits/errno.h] (before-compile): Do not append to
32983 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32985 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32986 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32987 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32988 [generic bits/errno.h] (common-generated): Do not append to
32990 [generic bits/ioctls.h] (before-compile): Do not append to
32992 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32994 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32995 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32996 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32998 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32999 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33000 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33001 [generic bits/ioctls.h] (common-generated): Do not append to
33003 [generic sys/syscall.h] (syscall.h): Remove variable.
33004 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33006 [generic sys/syscall.h] (before-compile): Do not append to
33008 [generic sys/syscall.h] (common-generated): Likewise.
33009 * sysdeps/unix/errnos-tmpl.c: Remove file.
33010 * sysdeps/unix/errnos.awk: Likewise.
33011 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33012 * sysdeps/unix/ioctls.awk: Likewise.
33013 * sysdeps/unix/mk-local_lim.c: Likewise.
33014 * sysdeps/unix/snarf-ioctls: Likewise.
33016 2012-03-19 Richard Henderson <rth@twiddle.net>
33018 * sysdeps/i386/fpu/fenv_private.h: New file.
33019 * sysdeps/i386/fpu/math_private.h: Use it.
33020 (math_opt_barrier, math_force_eval): Remove.
33021 (libc_feholdexcept_setround_53bit): Remove.
33022 (libc_feupdateenv_53bit): Remove.
33023 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33024 (math_opt_barrier, math_force_eval): Remove.
33025 (libc_feholdexcept): Remove.
33026 (libc_feholdexcept_setround): Remove.
33027 (libc_fetestexcept, libc_fesetenv): Remove.
33028 (libc_feupdateenv_test): Remove.
33029 (libc_feupdateenv, libc_feholdsetround): Remove.
33030 (libc_feresetround): Remove.
33032 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33033 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33035 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33036 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33037 (libc_feupdateenv_testl): New.
33038 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33039 (libc_feupdateenv_testf): New.
33040 (libc_feupdateenv): Use libc_feupdateenv_test.
33041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33042 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33044 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33045 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33046 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33047 (libc_feresetround_noex): New.
33048 (libc_feresetround_noexf): New.
33049 (libc_feresetround_noexl): New.
33050 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33051 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33052 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33053 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33055 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33056 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33058 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33059 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33060 SET_RESTORE_ROUND_NOEX.
33061 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33062 SET_RESTORE_ROUND_NOEXF.
33063 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33064 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33065 (libc_feholdsetroundf): New.
33066 (libc_feresetround, libc_feresetroundf): New.
33068 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33069 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33070 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33072 * sysdeps/generic/math_private.h: Include <fenv.h>.
33073 (default_libc_feholdexcept): New.
33074 (default_libc_feholdexcept_setround): New.
33075 (default_libc_fesetenv, default_libc_feupdateenv): New.
33076 (libc_feholdexcept): Only define if undefined.
33077 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33078 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33079 (libc_feholdexcept_setroundl): Likewise.
33080 (libc_feholdexcept_setround_53bit): Likewise.
33081 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33082 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33083 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33084 (libc_feupdateenv_53bit): Likewise.
33085 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33086 (libc_feholdexcept): Convert from macro to inline function.
33087 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33088 (libc_fesetenv, libc_feupdateenv): Likewise.
33090 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33091 not previously defined.
33092 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33093 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33094 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33095 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33096 * sysdeps/ieee754/flt-32/math_private.h: New file.
33097 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33098 math_private.h below SET_FLOAT_WORD.
33099 (__isnan, __isinf_ns, __finite): Remove.
33100 (__isnanf, __isinf_nsf, __finitef): Remove.
33102 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33106 2012-03-17 David S. Miller <davem@davemloft.net>
33109 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33112 2012-03-16 David S. Miller <davem@davemloft.net>
33114 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33118 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33120 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33121 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33122 sysdep_routines when subdir is sysvipc.
33123 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33124 __getshmlba helper.
33126 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33128 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33130 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33133 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33135 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33136 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33137 (__lround): Renamed to ...
33138 (__llround): This. Replace long int with long long int.
33139 Define lround functions as aliases of llround functions.
33140 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33142 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33144 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33145 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33146 adresses to uintptr_t. Replace "long int" and "unsigned long
33147 int" with "greg_t" on va_arg.
33149 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33151 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33152 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33154 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33155 Move e_machine check before EI_CLASS check. Handle x32
33156 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33157 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33158 SKIP_EM_IA_64 and include
33159 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33161 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33162 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33163 (add_system_dir): New macro.
33165 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33166 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33168 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33179 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33181 * math/w_j0f.c (j0f): Likewise.
33183 * math/w_j0l.c (__j0l): Likewise.
33185 * math/w_j1.c (j1): Likewise.
33187 * math/w_j1f.c (j1f): Likewise.
33189 * math/w_j1l.c (__j1l): Likewise.
33191 * math/w_jn.c (jn): Likewise.
33193 * math/w_jnf.c (jnf): Likewise.
33195 * math/w_jnl.c (__jnl): Likewise.
33197 * math/libm-test.inc (j0_test): Add more tests.
33198 (j1_test): Likewise.
33199 (jn_test): Likewise. Add trailing semicolon to existing test.
33200 (y0_test): Likewise.
33201 (y1_test): Likewise.
33202 * sysdeps/i386/fpu/libm-test-ulps: Update.
33203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33207 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33208 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33209 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33210 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33211 (__tanl): Set errno for infinite argument.
33212 * sysdeps/i386/fpu/mptan.c: Remove.
33213 * sysdeps/i386/fpu/s_tan.S: Likewise.
33214 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33215 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33216 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33217 * math/libm-test.inc (tan_test): Add more tests and enable more
33218 tests for double and long double.
33219 * sysdeps/i386/fpu/libm-test-ulps: Update.
33220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33222 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33224 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33225 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33227 2012-03-16 Roland McGrath <roland@hack.frob.com>
33229 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33230 * configure.in: Use it for both main tree and add-ons.
33231 * configure: Regenerated.
33233 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33235 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33237 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33239 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33243 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33244 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33245 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33246 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33247 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33249 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33250 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33251 != 0 for prec == 2.
33252 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33253 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33254 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33255 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33256 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33257 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33258 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33259 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33260 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33261 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33262 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33263 * math/libm-test.inc (cos_test): Add more tests and enable more
33264 tests for long double.
33265 (sin_test): Likewise.
33266 (sincos_test): Likewise.
33267 * sysdeps/i386/fpu/libm-test-ulps: Update.
33268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33270 2012-03-16 David S. Miller <davem@davemloft.net>
33272 * sysdeps/sparc/fpu/math_private.h: New file.
33274 2012-03-15 David S. Miller <davem@davemloft.net>
33276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33286 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33290 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33291 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33293 * sysdeps/sparc/sparc-ifunc.h: New file.
33294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33320 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33321 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33322 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33332 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33333 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33334 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33335 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33336 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33337 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33339 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33341 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33345 2012-03-15 Andreas Jaeger <aj@suse.de>
33348 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33349 ieee754/flt-32 implementation for sin, cos and sincos.
33350 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33351 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33352 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33353 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33354 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33355 ieee754/flt-32 implementation for tan.
33357 * math/libm-test.inc (cos_test): Enable some large input tests for
33359 (sin_test): Likewise.
33360 (sincos_test): Likewise.
33361 (tan_test): Add tests for large input.
33363 * sysdeps/i386/fpu/libm-test-ulps: Update.
33365 2012-03-15 Andreas Jaeger <aj@suse.de>
33368 * math/libm-test.inc (cos_test): Add more test cases.
33369 (sin_test): Likewise.
33370 (sincos_test): Likewise.
33372 2012-03-15 Andreas Jaeger <aj@suse.de>
33375 * math/libm-test.inc (cos_test): Add a test case for large input
33377 (sin_test): Likewise.
33378 (sincos_test): Likewise.
33380 2012-03-15 Andreas Jaeger <aj@suse.de>,
33381 Joseph Myers <joseph@codesourcery.com>
33384 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33385 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33386 * sysdeps/i386/fpu/branred.c: Likewise.
33387 * sysdeps/i386/fpu/dosincos.c: Likewise.
33388 * sysdeps/i386/fpu/mpa.c: Likewise.
33389 * sysdeps/i386/fpu/s_cos.S: Likewise.
33390 * sysdeps/i386/fpu/s_sin.S: Likewise.
33391 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33392 * sysdeps/i386/fpu/sincos32.c: Likewise.
33394 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33396 (libc_feupdateenv_53bit): Define.
33397 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33399 (libc_feupdateenv_53bit): Define.
33401 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33402 53 bit (without extend i386 double precision).
33404 * math/libm-test.inc (sincos_test): Add tests for large input.
33408 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33410 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33414 2012-03-15 David S. Miller <davem@davemloft.net>
33416 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33417 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33418 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33419 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33443 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33444 fmin/fmax sysdep routines.
33445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33447 2012-03-14 David S. Miller <davem@davemloft.net>
33449 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33450 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33451 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33453 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33454 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33455 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33456 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33457 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33458 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33459 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33462 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33463 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33464 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33467 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33469 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33470 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33471 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33472 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33473 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33474 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33475 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33476 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33477 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33521 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33526 * sysdeps/sparc/configure.in: New file.
33527 * sysdeps/sparc/configure: Generate.
33528 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33529 * configure: Regenerate.
33530 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33531 * config.make.in (have-as-vis3): New.
33532 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33533 available use -Av9d instead of -Av9a.
33534 * sysdeps/sparc/sparc64/Makefile: Likewise.
33535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33544 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33545 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33546 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33547 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33548 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33550 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33551 fzeros/fnegs to load 0x80000000 into a float register instead of
33553 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33555 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33557 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33559 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33560 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33561 ($(inst_includedir)/bits/syscall.h): Remove rule.
33562 ($(objpfx)bits/syscall.d): Include instead of
33563 $(objpfx)syscall-list.d.
33564 (generated): Change syscall-list.h and syscall-list.d to
33565 bits/syscall.h and bits/syscall.d.
33567 2012-03-14 Roland McGrath <roland@hack.frob.com>
33570 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33572 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33575 * math/s_csqrt.c: Include <float.h>.
33576 (__csqrt): Scale large or subnormal inputs.
33577 * math/s_csqrtf.c: Likewise.
33578 * math/s_csqrtl.c: Likewise.
33579 * math/libm-test.inc (csqrt_test): Add more tests.
33580 * sysdeps/i386/fpu/libm-test-ulps: Update.
33581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33584 * math/libm-test.inc (hypot_test): Add more tests.
33586 2012-03-13 David S. Miller <davem@davemloft.net>
33589 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33590 double-precision for the calculation instead of scaling.
33592 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33594 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33595 manipulate bits before adding and subtracting TWO52[sx].
33596 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33597 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33599 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33601 2012-03-13 David S. Miller <davem@davemloft.net>
33603 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33604 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33606 rtld-global-offsets.h
33607 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33609 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33612 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33614 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33615 'err' in the ifdef scope in which it is actually used.
33617 * nss/nss_db/db-init.c: Include string.h
33619 2012-03-12 David S. Miller <davem@davemloft.net>
33621 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33622 masking out of the most significant byte of random value used.
33623 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33624 Fix coding style in previous change.
33626 * sysdeps/unix/sysv/linux/kernel-features.h
33627 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33628 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33630 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33633 2012-03-11 David S. Miller <davem@davemloft.net>
33635 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33636 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33637 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33638 for 'resultvar' otherwise things get truncated on 64-bit.
33640 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33641 Fix masking out of the most significant byte of random value used.
33643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33645 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33649 2012-03-09 David S. Miller <davem@davemloft.net>
33651 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33652 variables with appropriate CPP guards.
33653 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33654 frame pointer, not the stack pointer. Correct layout comments. Fix test
33655 on resulting framesize and the management of the outregs buffer for pltexit.
33656 Preserve floating point return values across _dl_call_pltexit call.
33657 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33658 framesize and the management of the outregs buffer for pltexit.
33659 Preserve floating point return values across _dl_call_pltexit
33661 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33662 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33663 (print_exit): Fix format string for return register value.
33665 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33667 * sunrpc/Makefile (others): Add rpcgen.
33668 ($(objpfx)rpcgen): Remove special build rule and dependency on
33670 * sunrpc/rpcgen.c: New file.
33672 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33675 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33676 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33677 * sysdeps/i386/crti.S: Likewise.
33678 * sysdeps/i386/crtn.S: Likewise.
33679 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33680 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33681 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33682 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33683 * sysdeps/sh/crti.S: Likewise.
33684 * sysdeps/sh/crtn.S: Likewise.
33685 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33688 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33690 * locale/programs/locfile-kw.gperf: Likewise.
33691 * locale/programs/charmap-kw.h: Regenerated.
33692 * locale/programs/locfile-kw.h: Likewise.
33695 * intl/plural.y: Replace FSF snail mail address with URL.
33696 * intl/plural.c: Regenerated.
33698 2012-03-09 Richard Henderson <rth@twiddle.net>
33700 * include/math_private.h: Remove file.
33701 * math/math_private.h: Move file ...
33702 * sysdeps/generic/math_private.h: ... here.
33704 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33705 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33706 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33708 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33709 and <math_private.h>.
33710 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33711 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33712 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33713 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33714 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33715 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33716 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33717 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33718 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33719 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33720 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33721 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33722 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33723 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33724 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33725 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33726 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33727 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33728 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33729 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33730 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33731 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33732 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33733 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33734 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33735 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33736 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33737 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33738 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33739 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33740 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33741 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33742 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33743 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33744 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33745 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33746 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33747 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33748 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33749 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33750 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33751 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33752 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33753 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33754 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33755 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33756 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33757 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33758 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33759 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33760 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33761 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33762 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33763 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33764 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33765 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33766 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33767 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33768 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33769 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33770 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33771 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33772 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33773 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33774 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33775 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33776 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33777 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33778 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33779 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33780 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33781 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33782 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33783 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33784 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33785 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33786 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33787 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33788 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33789 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33790 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33791 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33792 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33793 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33794 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33795 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33796 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33797 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33798 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33799 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33800 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33801 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33802 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33803 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33804 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33805 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33806 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33807 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33808 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33809 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33810 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33811 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33812 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33813 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33814 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33815 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33816 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33817 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33818 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33819 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33820 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33821 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33822 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33823 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33824 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33825 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33826 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33827 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33828 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33829 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33830 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33831 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33832 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33833 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33834 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33835 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33836 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33837 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33838 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33839 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33840 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33841 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33842 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33843 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33844 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33845 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33846 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33847 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33848 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33849 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33850 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33851 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33852 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33853 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33854 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33855 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33856 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33857 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33858 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33859 * sysdeps/ieee754/k_standard.c: Likewise.
33860 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33861 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33862 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33863 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33864 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33865 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33866 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33867 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33868 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33869 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33870 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33871 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33872 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33873 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33874 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33875 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33876 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33877 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33878 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33879 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33880 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33881 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33882 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33883 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33884 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33885 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33886 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33887 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33888 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33889 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33890 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33891 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33892 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33893 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33894 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33895 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33896 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33897 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33898 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33899 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33900 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33901 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33902 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33903 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33904 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33905 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33906 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33907 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33908 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33909 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33910 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33911 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33912 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33913 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33914 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33915 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33916 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33917 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33918 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33919 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33920 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33921 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33922 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33923 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33924 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33925 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33926 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33927 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33928 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33929 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33930 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33931 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33932 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33933 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33934 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33935 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33936 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33937 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33938 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33939 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33940 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33941 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33942 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33943 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33944 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33945 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33946 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33947 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33948 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33949 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33950 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33951 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33952 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33953 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33954 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33955 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33956 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33957 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33958 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33959 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33960 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33961 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33962 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33963 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33964 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33965 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33966 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33967 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33968 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33969 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33970 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33971 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33972 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33973 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33974 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33975 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33976 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33977 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33978 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33979 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33980 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33981 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33982 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33983 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33984 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33985 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33986 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33987 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33988 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33989 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33990 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33991 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33992 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33993 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33994 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33995 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33996 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33997 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33998 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33999 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34000 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34001 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34002 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34003 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34004 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34005 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34006 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34007 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34008 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34009 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34010 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34011 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34012 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34013 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34014 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34015 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34016 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34017 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34018 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34019 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34020 * sysdeps/ieee754/s_lib_version.c: Likewise.
34021 * sysdeps/ieee754/s_matherr.c: Likewise.
34022 * sysdeps/ieee754/s_signgam.c: Likewise.
34023 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34024 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34025 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34026 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34027 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34028 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34029 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34030 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34031 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34032 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34033 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34034 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34035 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34036 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34037 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34038 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34039 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34040 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34041 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34042 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34043 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34045 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34047 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34048 * sunrpc/rpc_main.c: Likewise.
34049 * sunrpc/rpc_svcout.c: Likewise.
34051 2012-03-09 David S. Miller <davem@davemloft.net>
34053 * include/math_private.h: New file.
34055 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34057 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34058 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34059 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34060 from <bits/socket_type.h>.
34061 (enum __socket_type): Don't define here.
34062 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34064 bits/socket_type.h.
34067 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34068 checking __USE_GNU.
34070 * Makerules ($(inst_includedir)/%.h): New rule.
34071 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34072 (install-others): Remove variable setting.
34073 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34075 2012-03-08 Richard Henderson <rth@twiddle.net>
34077 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34078 from macro to inline function; merge with the
34079 !__LIBC_INTERNAL_MATH_INLINES version.
34080 (__ieee754_sqrtf): Likewise.
34082 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34083 to inline function.
34084 (__rintf, __floor, __floorf): Likewise.
34086 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34087 macro to inline function.
34088 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34090 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34091 not <math/math_private.h>.
34093 2012-03-08 David S. Miller <davem@davemloft.net>
34095 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34097 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34099 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34101 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34103 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34104 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34106 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34108 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34109 be defined individually, they must be defined as a block. Define
34110 S for printing a string instead of hidint the different by using a
34111 macro for adding the 'l'.
34112 * stdio-common/tst-fphex-wide.c: Adjust.
34114 2012-03-07 Marek Polacek <polacek@redhat.com>
34116 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34118 2012-03-08 Marek Polacek <polacek@redhat.com>
34121 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34122 * stdio-common/tst-fphex.c: Define a few macros to make the
34123 test reusable. Use them.
34124 * stdio-common/tst-fphex-wide.c: New file.
34126 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34129 * manual/macros.texi (gnusystems): New macro.
34130 (nongnusystems): Likewise.
34131 (gnulinuxhurdsystems): Likewise.
34132 (gnuhurdsystems): Likewise..
34133 (gnulinuxsystems): Likewise.
34134 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34135 variants of the GNU system, not "GNU system".
34136 * manual/conf.texi: Likewise.
34137 * manual/errno.texi: Likewise. Update example of errno macro
34139 * manual/filesys.texi: Likewise.
34140 (getumask): Document as specific to GNU/Hurd.
34141 * manual/install.texi: Likewise. Reword some references to
34143 * manual/intro.texi: Likewise.
34144 * manual/io.texi: Likewise.
34145 (File Name Portability): Detail which constraints are inapplicable
34146 to all GNU systems and which are only inapplicable to GNU/Hurd.
34147 * manual/job.texi: Likewise.
34148 * manual/llio.texi: Likewise.
34149 (O_NOCTTY): Document as present on GNU/Linux.
34150 * manual/maint.texi: Likewise.
34151 * manual/memory.texi: Likewise.
34152 * manual/pattern.texi: Likewise.
34153 * manual/pipe.texi: Likewise.
34154 * manual/process.texi: Likewise.
34155 * manual/resource.texi: Likewise.
34156 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34158 * manual/setjmp.texi: Likewise.
34159 * manual/signal.texi: Likewise.
34160 * manual/startup.texi: Likewise.
34161 * manual/stdio.texi: Likewise.
34162 * manual/terminal.texi: Likewise.
34163 (ONLCR): Document as POSIX.
34164 (OXTABS): Document availability on GNU/Linux as XTABS.
34165 (ONOEOT): Document availability separately from other bits.
34166 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34167 * manual/time.texi: Likewise.
34168 * manual/users.texi: Likewise.
34169 * INSTALL: Regenerated.
34170 * sysdeps/gnu/errlist.c: Regenerated.
34172 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34173 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34174 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34176 * configure: Regenerated.
34178 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34180 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34181 default includes instead of AC_HEADER_CHECK.
34182 * sysdeps/i386/configure: Regenerated.
34185 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34186 * math/s_cacoshf.c (__cacoshf): Likewise.
34187 * math/s_cacoshl.c (__cacoshl): Likewise.
34188 * math/s_casinh.c (__casinh): Set signs of result from argument.
34189 * math/s_casinhf.c (__casinhf): Likewise.
34190 * math/s_casinhl.c (__casinhl): Likewise.
34191 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34192 (casinh_test): Add more tests.
34193 * sysdeps/i386/fpu/libm-test-ulps: Update.
34194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34196 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34198 * po/zh_TW.po: Update from translation team.
34200 * login/Makefile (distribute): Remove variable.
34201 * catgets/Makefile: Likewise.
34202 * mach/Makefile: Likewise.
34203 * malloc/Makefile: Likewise.
34204 * misc/Makefile: Likewise.
34205 * iconv/Makefile: Likewise.
34206 * nscd/Makefile: Likewise.
34207 * hurd/Makefile: Likewise.
34208 * manual/Makefile: Likewise.
34209 * locale/Makefile: Likewise.
34210 * intl/Makefile: Likewise.
34211 * conform/Makefile: Likewise.
34212 * nss/Makefile: Likewise.
34213 * time/Makefile: Likewise.
34214 * soft-fp/Makefile: Likewise.
34215 * dirent/Makefile: Likewise.
34216 * gmon/Makefile: Likewise.
34217 * po/Makefile: Likewise.
34218 * rt/Makefile: Likewise.
34219 * socket/Makefile: Likewise.
34220 * math/Makefile: Likewise.
34221 * signal/Makefile: Likewise.
34222 * debug/Makefile: Likewise.
34223 * elf/Makefile: Likewise.
34224 * timezone/Makefile: Likewise.
34225 * stdlib/Makefile: Likewise.
34226 * iconvdata/Makefile: Likewise.
34227 * sunrpc/Makefile: Likewise.
34228 * io/Makefile: Likewise.
34229 * argp/Makefile: Likewise.
34230 * inet/Makefile: Likewise.
34231 * hesiod/Makefile: Likewise.
34232 * grp/Makefile: Likewise.
34233 * csu/Makefile: Likewise.
34234 * wctype/Makefile: Likewise.
34235 * crypt/Makefile: Likewise.
34236 * libio/Makefile: Likewise.
34237 * string/Makefile: Likewise.
34238 * nis/Makefile: Likewise.
34239 * resolv/Makefile: Likewise.
34240 * stdio-common/Makefile: Likewise.
34241 * wcsmbs/Makefile: Likewise.
34242 * dlfcn/Makefile: Likewise.
34243 * posix/Makefile: Likewise.
34246 * timezone/Makefile: Don't install timezone files, just the programs
34249 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34251 * nss/databases.def: Add missing gshadow entry.
34253 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34255 2012-03-06 Marek Polacek <polacek@redhat.com>
34258 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34259 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34260 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34261 * stdio-common/tst-long-dbl-fphex.c: New file.
34263 2012-03-06 David S. Miller <davem@davemloft.net>
34265 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34266 (set_obp_int): New function.
34267 (get_obp_int): New function.
34268 (__get_clockfreq_via_dev_openprom): Likewise.
34269 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34270 Avoid unused variable warnings on 'val' and use builtin_expect.
34271 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34273 (INLINE_CLONE_SYSCALL): Likewise.
34275 2012-03-05 David S. Miller <davem@davemloft.net>
34277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34279 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34283 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34284 only for |x| >= 40.
34285 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34287 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34289 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34290 Replace gettimeofday with __vdso_gettimeofday.
34292 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34293 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34294 __vdso_clock_gettime and __vdso_getcpu.
34296 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34297 time with __vdso_time.
34299 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34301 * manual/lang.texi (size_t): Note types to which size_t may be
34302 equivalent with the GNU C Library, but do not describe when
34303 differences between them are significant.
34305 2012-03-05 Andreas Jaeger <aj@suse.de>
34307 * sysdeps/i386/fpu/libm-test-ulps: Update.
34309 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34312 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34313 (__ieee754_pow): Save and restore rounding mode and use
34314 round-to-nearest for main computations.
34315 * math/libm-test.inc (pow_test_tonearest): New function.
34316 (pow_test_towardzero): Likewise.
34317 (pow_test_downward): Likewise.
34318 (pow_test_upward): Likewise.
34319 (main): Call the new functions.
34320 * sysdeps/i386/fpu/libm-test-ulps: Update.
34321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34324 * math/libm-test.inc (cosh_test_tonearest): New function.
34325 (cosh_test_towardzero): Likewise.
34326 (cosh_test_downward): Likewise.
34327 (cosh_test_upward): Likewise.
34328 (sinh_test_tonearest): Likewise.
34329 (sinh_test_towardzero): Likewise.
34330 (sinh_test_downward): Likewise.
34331 (sinh_test_upward): Likewise.
34332 (main): Call the new functions.
34333 * sysdeps/i386/fpu/libm-test-ulps: Update.
34334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34336 2012-03-05 Tom de Vries <tom@codesourcery.com>
34338 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34339 default stack guard is set in last bytes.
34340 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34342 2012-03-05 Kees Cook <keescook@chromium.org>
34344 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34347 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34348 possibly allocate from heap instead of stack.
34349 * stdio-common/bug-vfprintf-nargs.c: New file.
34350 * stdio-common/Makefile (tests): Add nargs overflow test.
34352 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34356 2012-03-03 Marek Polacek <polacek@redhat.com>
34358 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34359 * math/math_private.h: Likewise.
34360 * stdlib/tst-strtod.c: Likewise.
34361 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34362 * sysdeps/x86_64/bits/atomic.h: Likewise.
34364 2012-03-02 David S. Miller <davem@davemloft.net>
34366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34370 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34371 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34372 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34373 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34375 2012-03-02 Roland McGrath <roland@hack.frob.com>
34378 * manual/examples/README: New file, says the example source files
34379 can be used under GPL>=2.
34380 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34381 line containing just "*/".
34382 * manual/examples/add.c: Add copyright header (GPL>=2).
34383 * manual/examples/argp-ex1.c: Likewise.
34384 * manual/examples/argp-ex2.c: Likewise.
34385 * manual/examples/argp-ex3.c: Likewise.
34386 * manual/examples/argp-ex4.c: Likewise.
34387 * manual/examples/atexit.c: Likewise.
34388 * manual/examples/db.c: Likewise.
34389 * manual/examples/dir.c: Likewise.
34390 * manual/examples/dir2.c: Likewise.
34391 * manual/examples/execinfo.c: Likewise.
34392 * manual/examples/filecli.c: Likewise.
34393 * manual/examples/filesrv.c: Likewise.
34394 * manual/examples/fmtmsgexpl.c: Likewise.
34395 * manual/examples/genpass.c: Likewise.
34396 * manual/examples/inetcli.c: Likewise.
34397 * manual/examples/inetsrv.c: Likewise.
34398 * manual/examples/isockad.c: Likewise.
34399 * manual/examples/longopt.c: Likewise.
34400 * manual/examples/memopen.c: Likewise.
34401 * manual/examples/memstrm.c: Likewise.
34402 * manual/examples/mkfsock.c: Likewise.
34403 * manual/examples/mkisock.c: Likewise.
34404 * manual/examples/mygetpass.c: Likewise.
34405 * manual/examples/pipe.c: Likewise.
34406 * manual/examples/popen.c: Likewise.
34407 * manual/examples/rprintf.c: Likewise.
34408 * manual/examples/search.c: Likewise.
34409 * manual/examples/select.c: Likewise.
34410 * manual/examples/setjmp.c: Likewise.
34411 * manual/examples/sigh1.c: Likewise.
34412 * manual/examples/sigusr.c: Likewise.
34413 * manual/examples/stpcpy.c: Likewise.
34414 * manual/examples/strdupa.c: Likewise.
34415 * manual/examples/strftim.c: Likewise.
34416 * manual/examples/strncat.c: Likewise.
34417 * manual/examples/subopt.c: Likewise.
34418 * manual/examples/swapcontext.c: Likewise.
34419 * manual/examples/termios.c: Likewise.
34420 * manual/examples/testopt.c: Likewise.
34421 * manual/examples/testpass.c: Likewise.
34422 * manual/examples/timeval_subtract.c: Likewise.
34425 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34427 * manual/timeval_subtract.c.texi: ... here, new file.
34429 2012-03-02 David S. Miller <davem@davemloft.net>
34431 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34433 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34436 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34437 (__sin): Save and restore rounding mode and use round-to-nearest
34438 for all computations.
34439 (__cos): Save and restore rounding mode and use round-to-nearest
34440 for all computations.
34441 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34443 (tan): Save and restore rounding mode and use round-to-nearest for
34445 * math/libm-test.inc (cos_test_tonearest): New function.
34446 (cos_test_towardzero): Likewise.
34447 (cos_test_downward): Likewise.
34448 (cos_test_upward): Likewise.
34449 (sin_test_tonearest): Likewise.
34450 (sin_test_towardzero): Likewise.
34451 (sin_test_downward): Likewise.
34452 (sin_test_upward): Likewise.
34453 (tan_test_tonearest): Likewise.
34454 (tan_test_towardzero): Likewise.
34455 (tan_test_downward): Likewise.
34456 (tan_test_upward): Likewise.
34457 (main): Call the new functions.
34458 * sysdeps/i386/fpu/libm-test-ulps: Update.
34459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34462 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34463 small n, then large n, before computing and testing k+n.
34464 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34465 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34467 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34469 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34470 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34471 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34472 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34473 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34474 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34475 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34476 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34477 * math/libm-test.inc (scalbn_test): Add more tests.
34478 (scalbln_test): Likewise.
34480 * manual/filesys.texi (mode_t): Describe constraints on size and
34481 signedness, not exact equivalence to a particular type.
34483 (ino64_t): Likewise.
34485 (nlink_t): Likewise.
34486 (blkcnt_t): Likewise.
34487 (blkcnt64_t): Likewise.
34488 * manual/llio.texi (off_t): Likewise.
34491 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34492 (__ieee754_exp): Save and restore rounding mode and use
34493 round-to-nearest for all computations.
34494 * math/libm-test.inc (exp_test_tonearest): New function.
34495 (exp_test_towardzero): Likewise.
34496 (exp_test_downward): Likewise.
34497 (exp_test_upward): Likewise.
34498 (main): Call the new functions.
34499 * sysdeps/i386/fpu/libm-test-ulps: Update.
34500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34502 2012-03-01 Chris Demetriou <cgd@google.com>
34504 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34505 have predictable order.
34507 2012-03-01 David S. Miller <davem@davemloft.net>
34509 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34511 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34512 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34513 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34514 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34516 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34517 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34518 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34520 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34521 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34522 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34523 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34524 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34528 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34529 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34530 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34532 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34533 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34534 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34535 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34536 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34537 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34538 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34539 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34540 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34541 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34542 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34543 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34544 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34545 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34546 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34547 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34548 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34549 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34550 * sysdeps/sparc/elf/configure: Regenerated.
34552 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34554 * configure.in (AS, LD): Require binutils 2.20 or later.
34555 * configure: Regenerated.
34556 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34557 as required minimum version.
34558 * INSTALL: Regenerated.
34562 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34563 before squaring exponent.
34564 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34565 bottom long double and 27 bits of top long double before squaring
34567 * math/libm-test.inc (erfc_test): Add more tests.
34568 * sysdeps/i386/fpu/libm-test-ulps: Update.
34569 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34572 2012-03-01 Kai Tietz <ktietz@redhat.com>
34574 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34575 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34576 containing bit-fields.
34577 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34578 * soft-fp/single.h (_FP_UNION_S): Likewise.
34579 * soft-fp/double.h (_FP_UNION_D): Likewise.
34581 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34584 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34585 not include ../strcmp.S.
34586 [USE_AS_STRNCASECMP_L]: Likewise.
34587 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34588 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34589 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34590 (__strncasecmp_l_ia32): Define as alias to
34591 __strncasecmp_l_nonascii.
34594 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34595 * sysdeps/i386/fpu/libm-test-ulps: Update.
34596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34598 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34601 2012-02-29 Jeff Law <law@redhat.com>
34603 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34604 out of bounds read.
34606 2012-02-29 Marek Polacek <polacek@redhat.com>
34609 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34610 * elf/Makefile: Add rules to run tst-unused-dep.out.
34612 2012-02-28 David S. Miller <davem@davemloft.net>
34614 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34615 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34616 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34617 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34618 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34619 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34621 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34623 * math/libm-test.inc (llround_test): Move one test from
34624 lround_test. Use TEST_f_L in moved test.
34625 (lround_test): Move misplaced test to llround_test. Add testcase
34628 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34630 * sysdeps/x86_64/fpu/e_expf.S: New file.
34631 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34633 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34636 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34637 of remain_len that may cause incomplete multi-byte character and
34639 * posix/bug-regex33.c: New file.
34640 * posix/Makefile (tests): Add bug-regex33.
34642 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34644 * manual/macros.texi: New file.
34645 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34646 * manual/libc.texinfo: Include macros.texi.
34647 * manual/creatute.texi: Likewise.
34648 * manual/install.texi: Likewise.
34649 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34650 @glibcadj{} in references to the GNU C Library.
34651 * manual/charset.texi: Likewise.
34652 * manual/conf.texi: Likewise.
34653 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34654 when not using those macros.
34655 * manual/creature.texi: Likewise.
34656 * manual/crypt.texi: Likewise.
34657 * manual/errno.texi: Likewise.
34658 * manual/filesys.texi: Likewise.
34659 * manual/header.texi: Likewise.
34660 * manual/install.texi: Likewise.
34661 * manual/intro.texi: Likewise.
34662 * manual/io.texi: Likewise.
34663 * manual/job.texi: Likewise.
34664 * manual/lang.texi: Likewise.
34665 * manual/libc.texiinfo: Likewise.
34666 * manual/llio.texi: Likewise.
34667 * manual/locale.texi: Likewise.
34668 * manual/maint.texi: Likewise.
34669 * manual/math.texi: Likewise.
34670 * manual/memory.texi: Likewise.
34671 * manual/message.texi: Likewise.
34672 * manual/nss.texi: Likewise.
34673 * manual/pattern.texi: Likewise.
34674 * manual/process.texi: Likewise.
34675 * manual/resource.texi: Likewise.
34676 * manual/search.texi: Likewise.
34677 * manual/setjmp.texi: Likewise.
34678 * manual/signal.texi: Likewise.
34679 * manual/socket.texi: Likewise.
34680 * manual/startup.texi: Likewise.
34681 * manual/stdio.texi: Likewise.
34682 * manual/string.texi: Likewise.
34683 * manual/sysinfo.texi: Likewise.
34684 * manual/syslog.texi: Likewise.
34685 * manual/terminal.texi: Likewise.
34686 * manual/time.texi: Likewise.
34687 * manual/users.texi: Likewise.
34688 * INSTALL: Regenerated.
34689 * NOTES: Regenerated.
34690 * sysdeps/gnu/errlist.c: Regenerated.
34692 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34694 * include/dirent.h: Include <dirstream.h> before
34697 2012-02-28 David S. Miller <davem@davemloft.net>
34699 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34700 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34701 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34702 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34704 2012-02-27 David S. Miller <davem@davemloft.net>
34706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34708 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34709 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34712 frame pointer instead of stack pointer relative arg slot.
34713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34714 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34715 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34717 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34720 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34722 2012-02-27 David S. Miller <davem@davemloft.net>
34724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34728 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34729 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34730 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34731 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34733 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34735 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34736 later. Allow versions 5-9.
34737 * configure: Regenerated.
34738 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34739 required minimum version and 4.6 as recommended version. Do not
34740 mention bugs in GCC 2.7 and 2.8.
34741 * INSTALL: Regenerated.
34743 2012-02-27 David S. Miller <davem@davemloft.net>
34745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34749 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34750 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34751 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34752 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34754 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34755 manipulate bits before adding and subtracting TWO112[sx].
34756 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34758 2012-02-27 Roland McGrath <roland@hack.frob.com>
34761 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34762 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34763 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34764 being in POSIX, because they are in 1003.1-2008.
34766 * rt/tst-aio.c: Include <fcntl.h>.
34767 * rt/tst-aio7.c: Likewise.
34768 * rt/tst-aio64.c: Likewise.
34770 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34772 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34774 * manual/install.texi (--with-headers): Describe headers as
34775 interface headers, not private headers.
34776 (Specific advice for GNU/Linux systems): Describe use of headers
34777 from "make headers_install", not private headers from older
34779 * INSTALL: Regenerated.
34780 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34782 * sysdeps/unix/sysv/linux/configure: Regenerated.
34784 * manual/llio.texi (fclean): Remove documentation.
34786 * manual/Makefile (libc-texi-generated): New variable. Include
34788 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34789 $(libc-texi-generated), not duplicated list of files.
34790 (version.texi, stamp-version): New rules.
34791 (realclean): Remove $(libc-texi-generated), not individual files
34792 from that list. Do not remove dir-add.texinfo.
34793 * manual/libc.texinfo: Comment out uses of edition numbers and
34794 references to printed manual. Remove last-updated dates.
34795 (EDITION): Comment out.
34797 (VERSION, UPDATED): Remove.
34798 (version.texi): Include.
34800 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34802 * sysdeps/posix/spawni.c: Include <signal.h>.
34803 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34804 * sysdeps/pthread/aio_fsync.c: Likewise.
34806 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34808 * conform/Makefile (tests): Run only when not cross-compiling and
34809 when fast-check is not defined.
34811 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34812 * conform/data/limits.h-data: Fixes for POSIX2008.
34813 * conform/run-conformtest.sh: Run all tests.
34814 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34816 * include/bits/dlfcn.h: Likewise.
34817 * include/langinfo.h: Likewise.
34818 * include/monetary.h: Likewise.
34819 * include/sys/poll.h: Likewise.
34821 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34823 * posix/spawn.h: Define __need_sigset_t.
34824 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34825 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34826 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34827 to get sigevent_t only.
34828 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34829 only for __USE_GNU.
34830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34831 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34832 process_vm_writev only for __USE_GNU.
34833 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34835 * conform/Makefile: For now ignore errors from run-conformtest.
34836 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34837 POSIX to avoid namespace pollution. Don't prepend headers.
34838 * conform/data/aio.h-data: Fixes for POSIX testing.
34839 * conform/data/fcntl.h-data: Likewise.
34840 * conform/data/glob.h-data: Likewise.
34841 * conform/data/grp.h-data: Likewise.
34842 * conform/data/pthread.h-data: Likewise.
34843 * conform/data/pwd.h-data: Likewise.
34844 * conform/data/signal.h-data: Likewise.
34845 * conform/data/spawn.h-data: Likewise.
34846 * conform/data/stdio.h-data: Likewise.
34847 * conform/data/stdlib.h-data: Likewise.
34848 * conform/data/stropts.h-data: Likewise.
34849 * conform/data/sys/mman.h-data: Likewise.
34850 * conform/data/sys/stat.h-data: Likewise.
34851 * conform/data/sys/types.h-data: Likewise.
34852 * conform/data/sys/wait.h-data: Likewise.
34853 * conform/data/time.h-data: Likewise.
34854 * conform/data/unistd.h-data: Likewise.
34855 * conform/data/utime.h-data: Likewise.
34857 * io/sys/stat.h: fchmod was always in POSIX.
34858 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34859 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34860 * rt/aio.h: Define __need_timespec before including <time.h>.
34861 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34862 struct. Add forward declaration of pthread_attr_t and use it in
34864 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34865 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34866 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34867 always remove CLK_TCK definition.
34869 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34871 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34873 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34875 * conform/run-conformtest.sh: New file.
34876 * conform/Makefile: Run run-conformtest for tests.
34877 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34880 * conform/data/uchar.h-data: New file.
34881 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34882 * conform/data/arpa/inet.h-data: Likewise.
34883 * conform/data/assert.h-data: Likewise.
34884 * conform/data/complex.h-data: Likewise.
34885 * conform/data/cpio.h-data: Likewise.
34886 * conform/data/ctype.h-data: Likewise.
34887 * conform/data/dirent.h-data: Likewise.
34888 * conform/data/dlfcn.h-data: Likewise.
34889 * conform/data/errno.h-data: Likewise.
34890 * conform/data/fcntl.h-data: Likewise.
34891 * conform/data/float.h-data: Likewise.
34892 * conform/data/fmtmsg.h-data: Likewise.
34893 * conform/data/fnmatch.h-data: Likewise.
34894 * conform/data/ftw.h-data: Likewise.
34895 * conform/data/glob.h-data: Likewise.
34896 * conform/data/grp.h-data: Likewise.
34897 * conform/data/iconv.h-data: Likewise.
34898 * conform/data/inttypes.h-data: Likewise.
34899 * conform/data/langinfo.h-data: Likewise.
34900 * conform/data/libgen.h-data: Likewise.
34901 * conform/data/limits.h-data: Likewise.
34902 * conform/data/locale.h-data: Likewise.
34903 * conform/data/math.h-data: Likewise.
34904 * conform/data/monetary.h-data: Likewise.
34905 * conform/data/mqueue.h-data: Likewise.
34906 * conform/data/ndbm.h-data: Likewise.
34907 * conform/data/net/if.h-data: Likewise.
34908 * conform/data/netdb.h-data: Likewise.
34909 * conform/data/netinet/in.h-data: Likewise.
34910 * conform/data/nl_types.h-data: Likewise.
34911 * conform/data/poll.h-data: Likewise.
34912 * conform/data/pthread.h-data: Likewise.
34913 * conform/data/pwd.h-data: Likewise.
34914 * conform/data/regex.h-data: Likewise.
34915 * conform/data/sched.h-data: Likewise.
34916 * conform/data/search.h-data: Likewise.
34917 * conform/data/semaphore.h-data: Likewise.
34918 * conform/data/setjmp.h-data: Likewise.
34919 * conform/data/signal.h-data: Likewise.
34920 * conform/data/spawn.h-data: Likewise.
34921 * conform/data/stdarg.h-data: Likewise.
34922 * conform/data/stdio.h-data: Likewise.
34923 * conform/data/stdlib.h-data: Likewise.
34924 * conform/data/string.h-data: Likewise.
34925 * conform/data/strings.h-data: Likewise.
34926 * conform/data/stropts.h-data: Likewise.
34927 * conform/data/sys/ipc.h-data: Likewise.
34928 * conform/data/sys/mman.h-data: Likewise.
34929 * conform/data/sys/msg.h-data: Likewise.
34930 * conform/data/sys/resource.h-data: Likewise.
34931 * conform/data/sys/select.h-data: Likewise.
34932 * conform/data/sys/sem.h-data: Likewise.
34933 * conform/data/sys/shm.h-data: Likewise.
34934 * conform/data/sys/socket.h-data: Likewise.
34935 * conform/data/sys/stat.h-data: Likewise.
34936 * conform/data/sys/statvfs.h-data: Likewise.
34937 * conform/data/sys/time.h-data: Likewise.
34938 * conform/data/sys/timeb.h-data: Likewise.
34939 * conform/data/sys/times.h-data: Likewise.
34940 * conform/data/sys/types.h-data: Likewise.
34941 * conform/data/sys/uio.h-data: Likewise.
34942 * conform/data/sys/un.h-data: Likewise.
34943 * conform/data/sys/utsname.h-data: Likewise.
34944 * conform/data/sys/wait.h-data: Likewise.
34945 * conform/data/syslog.h-data: Likewise.
34946 * conform/data/tar.h-data: Likewise.
34947 * conform/data/termios.h-data: Likewise.
34948 * conform/data/utime.h-data: Likewise.
34949 * conform/data/utmpx.h-data: Likewise.
34950 * conform/data/varargs.h-data: Likewise.
34951 * conform/data/wchar.h-data: Likewise.
34952 * conform/data/wctype.h-data: Likewise.
34953 * conform/data/wordexp.h-data: Likewise.
34955 * include/stropts.h: New file.
34956 * include/uchar.h: New file.
34957 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34958 * include/assert.h: Likewise.
34959 * include/ctype.h: Likewise.
34960 * include/dirent.h: Likewise.
34961 * include/dlfcn.h: Likewise.
34962 * include/fcntl.h: Likewise.
34963 * include/fnmatch.h: Likewise.
34964 * include/glob.h: Likewise.
34965 * include/grp.h: Likewise.
34966 * include/libio.h: Likewise.
34967 * include/locale.h: Likewise.
34968 * include/math.h: Likewise.
34969 * include/net/if.h: Likewise.
34970 * include/netdb.h: Likewise.
34971 * include/netinet/in.h: Likewise.
34972 * include/pthread.h: Likewise.
34973 * include/pwd.h: Likewise.
34974 * include/regex.h: Likewise.
34975 * include/sched.h: Likewise.
34976 * include/search.h: Likewise.
34977 * include/setjmp.h: Likewise.
34978 * include/signal.h: Likewise.
34979 * include/stdio.h: Likewise.
34980 * include/stdlib.h: Likewise.
34981 * include/string.h: Likewise.
34982 * include/sys/cdefs.h: Likewise.
34983 * include/sys/mman.h: Likewise.
34984 * include/sys/msg.h: Likewise.
34985 * include/sys/resource.h: Likewise.
34986 * include/sys/select.h: Likewise.
34987 * include/sys/socket.h: Likewise.
34988 * include/sys/stat.h: Likewise.
34989 * include/sys/statvfs.h: Likewise.
34990 * include/sys/time.h: Likewise.
34991 * include/sys/times.h: Likewise.
34992 * include/sys/uio.h: Likewise.
34993 * include/sys/utsname.h: Likewise.
34994 * include/sys/wait.h: Likewise.
34995 * include/termios.h: Likewise.
34996 * include/time.h: Likewise.
34997 * include/ulimit.h: Likewise.
34998 * include/unistd.h: Likewise.
34999 * include/utime.h: Likewise.
35000 * include/wchar.h: Likewise.
35001 * include/wctype.h: Likewise.
35002 * include/wordexp.h: Likewise.
35004 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35006 * time/time.h: TIME_UTC must be a macro.
35007 Make timespec_get available for ISO C11 only as well.
35009 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35011 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35012 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35014 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35016 * configure.in: Use -o not -a in test for unsupported multi-arch.
35018 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35020 * manual/texinfo.tex: Update to version 2012-01-19.16.
35022 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35024 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35026 2012-02-24 Roland McGrath <roland@hack.frob.com>
35029 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35030 * manual/fdl-1.3.texi: New file.
35031 * manual/fdl-1.1.texi: File removed.
35034 * manual/libc.texinfo (FDL_VERSION): New @set.
35035 Use it for mention of FDL in cover text.
35036 (Documentation License): Use it in @include file name.
35038 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35039 Roland McGrath <roland@hack.frob.com>
35042 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
35043 not LONG_LONG_MAX and LONG_LONG_MIN.
35044 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35045 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35047 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35049 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35053 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35054 manipulate bits before adding and subtracting TWO23[sx].
35055 * math/libm-test.inc (nearbyint_test): Add more tests.
35057 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35060 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35061 bits before adding and subtracting TWO23[sx].
35062 * math/libm-test.inc (rint_test): Add more tests.
35063 (rint_test_tonearest): Likewise.
35064 (rint_test_towardzero): Likewise.
35065 (rint_test_downward): Likewise.
35066 (rint_test_upward: Likewise.
35068 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35071 * include/stdc-predef.h: New file. Extracted from features.h.
35072 * include/features.h: Include stdc-predef.h.
35073 * Makefile (headers): Add stdc-predef.h.
35074 * CONFORMANCE (Compiler limitations): Update.
35076 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35078 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35080 2012-02-21 David S. Miller <davem@davemloft.net>
35082 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35083 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35085 2012-02-20 David S. Miller <davem@davemloft.net>
35087 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35088 using a normal save/restore sequence, rather than allocating a
35089 dummy stack frame just to store a frame pointer and restore.
35090 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35092 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35094 * manual/install.texi: Fix stray word in line-wrapped comment.
35096 2012-02-20 David S. Miller <davem@davemloft.net>
35098 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35099 both binutils and gcc support GOTDATA.
35101 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35102 "rd %pc" in the PIC register setup sequences.
35104 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35105 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35106 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35107 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35108 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35109 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35110 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35111 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35112 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35113 (SYSCALL_ERROR_HANDLER): Likewise.
35114 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35115 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35116 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35117 (SYSCALL_ERROR_HANDLER): Likewise.
35119 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35120 (HAVE_GCC_GOTDATA): New.
35121 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35122 relocation support in both binutils and gcc.
35123 * sysdeps/sparc/elf/configure: Regenerate.
35125 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35126 * sysdeps/sparc/sparc32/elf/configure: Delete.
35127 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35128 * sysdeps/sparc/sparc64/elf/configure: Delete.
35129 * sysdeps/sparc/elf/configure.in: New file.
35130 * sysdeps/sparc/elf/configure: Generate.
35132 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35133 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35134 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35135 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35136 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35138 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35140 * manual/install.texi: Do not mention specific glibc version
35142 * manual/libc.texinfo (VERSION, UPDATED): Update.
35143 (@copying): Use @copyright{} and range of years.
35145 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35148 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35149 [crti.S not in sysdirs] (generated): Do not append.
35150 [crti.S not in sysdirs] (omit-deps): Likewise.
35151 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35152 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35153 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35154 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35155 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35157 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35158 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35159 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35160 * csu/defs.awk: Remove file.
35161 * sysdeps/generic/initfini.c: Likewise.
35162 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35164 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35167 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35169 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35170 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35171 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35172 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35173 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35174 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35176 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35177 (__EPOLL_PACKED): Define to empty if not defined by
35179 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35183 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35185 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35186 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35187 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35188 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35190 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35194 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35196 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35198 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35199 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35200 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35203 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35205 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35206 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35208 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35210 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35211 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35213 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35215 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35218 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35220 * math/w_acos.c: Use non-signaling floating-point comparisons.
35221 * math/w_acosf.c: Likewise.
35222 * math/w_acosh.c: Likewise.
35223 * math/w_acoshf.c: Likewise.
35224 * math/w_acoshl.c: Likewise.
35225 * math/w_acosl.c: Likewise.
35226 * math/w_asin.c: Likewise.
35227 * math/w_asinf.c: Likewise.
35228 * math/w_asinl.c: Likewise.
35229 * math/w_atanh.c: Likewise.
35230 * math/w_atanhf.c: Likewise.
35231 * math/w_atanhl.c: Likewise.
35232 * math/w_exp2.c: Likewise.
35233 * math/w_exp2f.c: Likewise.
35234 * math/w_exp2l.c: Likewise.
35235 * math/w_j0.c: Likewise.
35236 * math/w_j0f.c: Likewise.
35237 * math/w_j0l.c: Likewise.
35238 * math/w_j1.c: Likewise.
35239 * math/w_j1f.c: Likewise.
35240 * math/w_j1l.c: Likewise.
35241 * math/w_jn.c: Likewise.
35242 * math/w_jnf.c: Likewise.
35243 * math/w_log.c: Likewise.
35244 * math/w_log10.c: Likewise.
35245 * math/w_log10f.c: Likewise.
35246 * math/w_log10l.c: Likewise.
35247 * math/w_log2.c: Likewise.
35248 * math/w_log2f.c: Likewise.
35249 * math/w_log2l.c: Likewise.
35250 * math/w_logf.c: Likewise.
35251 * math/w_logl.c: Likewise.
35252 * math/w_sqrt.c: Likewise.
35253 * math/w_sqrtf.c: Likewise.
35254 * math/w_sqrtl.c: Likewise.
35255 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35256 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35257 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35258 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35259 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35261 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35264 * manual/string.texi (strnlen): Use correct parameter name in
35265 equivalent expression.
35267 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35270 * manual/users.texi (seteuid): Consistently use neweuid for
35273 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35276 * manual/nss.texi (Services in the NSS configuration): Correct
35277 list of services in example configuration file.
35279 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35282 * manual/arith.texi: Remove statements about negative zero
35283 behaving identically to zero.
35285 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35288 * manual/install.texi: Do not document upgrading from libc5.
35290 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35293 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35295 2012-02-18 David S. Miller <davem@davemloft.net>
35297 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35298 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35299 %o7 across the call.
35300 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35302 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35303 SETUP_PIC_REG_LEAF.
35304 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35305 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35306 * sysdeps/sparc/crtn.S: Likewise.
35308 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35310 * aout/Makefile: Remove.
35312 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35315 * manual/examples/argp-ex1.c (main): Format definition in GNU
35317 * manual/examples/argp-ex2.c (main): Likewise.
35318 * manual/examples/argp-ex3.c (main): Likewise.
35319 * manual/examples/argp-ex4.c (main): Likewise.
35320 * manual/examples/longopt.c (main): Use new-style prototype
35322 * manual/examples/strncat.c (main): Specify return type and use
35323 (void) for arguments.
35324 * manual/examples/subopt.c (main): Use char **argv argument.
35326 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35329 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35332 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35335 * manual/string.texi (strchr): Change when strchrnul is
35338 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35341 * manual/locale.texi (setlocale): Document LOCPATH.
35343 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35346 * manual/process.texi (execle): Move @dots{} before last argument.
35348 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35351 * manual/charset.texi (Generic Charset Conversion): Fix typo
35352 (LC_TYPE -> LC_CTYPE).
35354 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35357 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35358 (scalbnf): Likewise.
35359 (scalbnl): Likewise.
35360 (scalbln): Likewise.
35361 (scalblnf): Likewise.
35362 (scalblnl): Likewise.
35363 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35364 (vwarnx): Likewise.
35367 * manual/filesys.texi (telldir): Use braces around return type.
35368 * manual/llio.texi (mmap): Add space after comma.
35369 (mmap64): Likewise.
35370 * manual/math.texi (jn): Use @var{} on parameter names.
35376 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35378 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35380 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35381 (sched_get_priority_max): Likewise.
35382 * manual/signal.texi (sigvec): Add space after comma.
35383 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35385 (if_indextoname): Likewise.
35386 (if_freenameindex): Likewise.
35387 (sendto): Use ',' instead of '.' in prototype.
35388 * manual/startup.texi (syscall): Use @dots{} instead of literal
35390 * manual/stdio.texi (__fpending): Separate initial words of
35391 paragraph from @deftypefun line.
35392 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35394 (vsyslog): Use @var{} on parameter names.
35395 * manual/terminal.texi (stty): Use @var{} on parameter names.
35396 * manual/users.texi (getutmp): Use @var{} on parameter names.
35397 (getutmpx): Likewise.
35399 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35402 * manual/stdio.texi (fopen): Fix typos in description of
35405 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35408 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35409 get clock_id definition.
35411 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35414 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35415 (madvise): Cast every argument to void on its own.
35417 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35420 * manual/startup.texi (Exit Status): Fix typo.
35422 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35425 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35426 * manual/examples/argp-ex2.c: Likewise.
35427 * manual/examples/argp-ex3.c: Likewise.
35429 2012-02-16 Richard Henderson <rth@redhat.com>
35431 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35432 * sysdeps/s390/s390-32/initfini.c: Remove.
35433 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35434 * sysdeps/s390/s390-64/initfini.c: Remove.
35436 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35438 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35439 compiler output for sysdeps/generic/initfini.c.
35440 * sysdeps/sh/elf/initfini.c: Remove file.
35442 2012-02-16 David S. Miller <davem@davemloft.net>
35445 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35447 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35448 * sysdeps/sparc/crti.S: New file.
35449 * sysdeps/sparc/crtn.S: New file.
35450 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35451 * sysdeps/sparc/sparc64/Makefile: Likewise.
35453 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35456 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35458 2012-02-15 Roland McGrath <roland@hack.frob.com>
35461 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35463 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35464 (write, read, close): Likewise.
35465 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35467 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35469 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35470 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35471 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35472 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35474 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35478 2012-02-14 Marek Polacek <polacek@redhat.com>
35480 * sysdeps/x86_64/crti.S: New file.
35481 * sysdeps/x86_64/crtn.S: New file.
35482 * sysdeps/x86_64/elf/initfini.c: Remove file.
35484 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35486 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35487 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35488 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35489 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35491 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35495 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35497 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35498 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35499 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35500 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35502 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35506 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35508 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35509 __feraiseexcept instead of feraiseexcept.
35511 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35512 nanosleep invocations.
35513 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35514 strings, and add error checking for a nanosleep invocations.
35516 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35518 Replace FSF snail mail address with URLs, as per GNU coding standards.
35519 Most of the snail mail addresses were wrong anyway, and omitting
35520 them makes the source code easier to maintain. Almost all of the
35521 changes are to license notices and to locale LC_IDENTIFICATION
35522 addresses, except for this one:
35523 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35524 not its snail mail address.
35526 2012-02-09 Richard Henderson <rth@twiddle.net>
35528 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35529 of kernel-features.h.
35531 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35533 2012-02-08 Marek Polacek <polacek@redhat.com>
35535 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35536 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35537 * sysdeps/gnu/_G_config.h: Likewise.
35538 * sysdeps/generic/_G_config.h: Likewise.
35540 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35542 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35546 * sysdeps/powerpc/powerpc32/crti.S: New file.
35547 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35548 * sysdeps/powerpc/powerpc64/crti.S: New file.
35549 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35551 * Makeconfig (have-initfini): Don't set.
35552 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35553 * configure.in (nopic_initfini): Don't substitute.
35554 * config.h.in (HAVE_INITFINI): Don't #undef.
35555 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35556 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35558 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35560 Support crti.S and crtn.S provided directly by architectures.
35561 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35562 [crti.S in sysdirs] (omit-deps): Likewise.
35563 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35564 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35565 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35566 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35567 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35568 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35569 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35570 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35571 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35572 compiler output for sysdeps/generic/initfini.c.
35573 * sysdeps/i386/elf/Makefile: Remove file.
35574 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35576 2012-02-07 Marek Polacek <polacek@redhat.com>
35578 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35579 * sysdeps/gnu/_G_config.h: Likewise.
35580 * sysdeps/mach/hurd/_G_config.h: Likewise.
35582 2012-02-07 Marek Polacek <polacek@redhat.com>
35584 * math/Makefile (tests): Add tst-CMPLX2.
35585 * math/tst-CMPLX2.c: New file.
35587 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35589 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35591 * math/libm-test.inc (jn_test): Add missing L suffix.
35593 2012-02-06 Marek Polacek <polacek@redhat.com>
35595 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35596 * sysdeps/i386/fpu/e_powf.S: Likewise.
35597 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35598 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35599 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35600 * sysdeps/i386/fpu/e_pow.S: Likewise.
35601 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35602 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35603 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35604 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35605 * sysdeps/i386/fpu/e_log2.S: Likewise.
35606 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35607 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35608 * sysdeps/i386/fpu/e_powl.S: Likewise.
35609 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35610 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35611 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35612 * sysdeps/i386/fpu/e_logl.S: Likewise.
35613 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35614 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35615 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35616 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35617 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35618 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35619 * sysdeps/i386/fpu/e_log.S: Likewise.
35620 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35621 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35622 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35623 * sysdeps/i386/fpu/e_logf.S: Likewise.
35624 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35625 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35626 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35627 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35628 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35629 * sysdeps/i386/fpu/e_log10.S: Likewise.
35630 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35631 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35632 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35633 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35634 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35635 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35636 * sysdeps/i386/asm-syntax.h: Likewise.
35637 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35638 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35639 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35640 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35641 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35642 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35643 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35644 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35645 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35646 * sysdeps/powerpc/sysdep.h: Likewise.
35647 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35648 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35650 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35653 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35655 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35657 * sysdeps/i386/sysdep.h: Include <features.h>.
35658 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35661 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35663 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35665 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35668 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35670 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35671 (SETUP_PIC_REG): Use GET_PC_THUNK.
35672 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35675 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35677 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35678 for non-PIC compilation.
35679 (SETUP_PIC_REG): Add .p2align directive.
35680 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35681 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35682 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35683 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35684 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35685 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35686 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35687 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35688 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35689 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35690 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35691 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35692 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35693 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35694 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35695 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35696 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35697 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35698 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35699 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35700 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35701 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35702 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35703 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35704 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35705 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35706 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35707 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35708 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35709 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35710 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35711 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35712 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35713 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35714 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35715 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35716 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35717 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35718 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35719 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35720 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35722 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35724 * math/tst-CMPLX.c: Include <stdio.h>.
35726 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35728 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35730 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35731 * sysdeps/sparc/bits/mathdef.h: Likewise.
35733 2012-01-31 Marek Polacek <polacek@redhat.com>
35735 * libio/libio.h: Don't define _PARAMS.
35736 * locale/programs/config.h: Don't define PARAMS.
35737 * stdlib/strtol_l.c: Likewise.
35738 (__strtol_l): Remove PARAMS from the prototype.
35740 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35742 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35743 names. Just use the correct names. Remove unnecessary wrapper
35745 * malloc/arena.c: Likewise.
35746 * malloc/hooks.c: Likewise.
35748 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35749 ARENA_TEST says not to. Simplify test for creation of a new arena.
35750 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35752 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35754 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35756 (update_get_addr): New function.
35757 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35758 GET_ADDR_MODULE parameter.
35760 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35762 * crypt/cert.c: Remove __STDC__ conditionals.
35763 * crypt/crypt-entry.c: Likewise.
35764 * crypt/crypt_util.c: Likewise.
35765 * libio/filedoalloc.c: Likewise.
35766 * libio/fileops.c: Likewise.
35767 * libio/genops.c: Likewise.
35768 * libio/iofclose.c: Likewise.
35769 * libio/iofdopen.c: Likewise.
35770 * libio/iofopen.c: Likewise.
35771 * libio/iofopen64.c: Likewise.
35772 * libio/iogetdelim.c: Likewise.
35773 * libio/iopopen.c: Likewise.
35774 * libio/obprintf.c: Likewise.
35775 * libio/oldfileops.c: Likewise.
35776 * libio/oldiofclose.c: Likewise.
35777 * libio/oldiofdopen.c: Likewise.
35778 * libio/oldiofopen.c: Likewise.
35779 * libio/oldiopopen.c: Likewise.
35780 * libio/wfiledoalloc.c: Likewise.
35781 * libio/wgenops.c: Likewise.
35782 * locale/programs/xmalloc.c: Likewise.
35783 * misc/syslog.c: Likewise.
35784 * stdio-common/xbug.c: Likewise.
35785 * string/memchr.c: Likewise.
35786 * string/memcmp.c: Likewise.
35787 * string/memrchr.c: Likewise.
35788 * string/rawmemchr.c: Likewise.
35789 * sysdeps/posix/getcwd.c: Likewise.
35790 * time/strftime_l.c: Likewise.
35792 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35794 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35795 * config.make.in (config-cflags-sse2avx): Define.
35796 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35799 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35801 * scripts/config.guess: Update from upstream config git repository.
35802 * scripts/config.sub: Likewise.
35804 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35806 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35808 (R_TILEPRO_*, R_TILEGX_*): New macros.
35810 * scripts/firstversions.awk: Fix bug in version range handling.
35812 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35814 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35816 * include/sys/epoll.h: New file.
35817 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35820 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35822 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35823 Avoid unnecessary __WORDSIZE == 64 test.
35824 (fmaxf): Use VEX format if possible.
35829 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35830 * math/math_private.h: Remove libc_fegetround* and
35832 * sysdeps/i386/configure.in: Check for -msse2avx.
35833 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35834 also if SSE2AVX is defined.
35835 Remove libc_fegetround* and libc_fesetround*.
35836 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35837 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35838 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35840 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35841 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35842 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35843 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35844 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35846 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35848 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35850 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35852 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35854 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35857 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35859 * Makeconfig (libm): Define.
35860 * elf/Makefile: Add rules to build and run tst-relsort1.
35861 * elf/tst-relsort1.c: New file.
35862 * elf/tst-relsort1mod1.c: New file.
35863 * elf/tst-relsort1mod2.c: New file.
35865 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35867 * math/s_ldexp.c: Remove __STDC__ conditionals.
35868 * math/s_ldexpf.c: Likewise.
35869 * math/s_ldexpl.c: Likewise.
35870 * math/s_nextafter.c: Likewise.
35871 * math/s_nexttowardf.c: Likewise.
35872 * math/s_significand.c: Likewise.
35873 * math/s_significandf.c: Likewise.
35874 * math/s_significandl.c: Likewise.
35875 * math/w_jnl.c: Likewise.
35876 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35877 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35878 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35879 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35880 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35881 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35882 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35883 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35884 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35885 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35886 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35887 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35888 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35889 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35890 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35891 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35892 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35893 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35894 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35895 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35896 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35897 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35898 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35899 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35900 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35901 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35902 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35903 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35904 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35905 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35906 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35907 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35908 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35909 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35910 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35911 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35912 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35913 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35914 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35915 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35916 * sysdeps/ieee754/k_standard.c: Likewise.
35917 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35918 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35919 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35920 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35921 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35922 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35923 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35924 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35925 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35926 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35927 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35928 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35929 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35930 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35931 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35932 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35933 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35934 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35935 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35936 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35937 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35938 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35939 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35940 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35941 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35942 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35943 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35944 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35945 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35946 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35947 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35948 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35949 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35950 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35951 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35952 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35953 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35954 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35955 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35956 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35957 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35958 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35959 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35960 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35961 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35962 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35963 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35964 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35965 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35966 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35967 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35968 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35969 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35970 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35971 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35972 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35973 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35974 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35975 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35976 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35977 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35978 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35979 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35980 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35981 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35982 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35983 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35984 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35985 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35986 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35987 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35988 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35989 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35990 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35991 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35992 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35993 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35994 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35995 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35996 * sysdeps/ieee754/s_matherr.c: Likewise.
35997 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35998 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35999 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36000 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36002 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36004 * crypt/md5.h: Remove __STDC__ conditionals.
36005 * libio/libioP.h: Likewise.
36006 * locale/programs/config.h: Likewise.
36007 * sysdeps/generic/sysdep.h: Likewise.
36008 * sysdeps/i386/asm-syntax.h: Likewise.
36009 * sysdeps/s390/asm-syntax.h: Likewise.
36010 * sysdeps/unix/sysdep.h: Likewise.
36011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36014 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36016 * libio/libio.h: Remove __STDC__ conditionals.
36017 * malloc/obstack.h: Likewise.
36018 * math/complex.h: Likewise.
36019 * math/math.h: Likewise.
36020 * sysdeps/generic/_G_config.h: Likewise.
36021 * sysdeps/gnu/_G_config.h: Likewise.
36022 * sysdeps/mach/hurd/_G_config.h: Likewise.
36023 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36024 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36025 * sysdeps/sparc/bits/mathdef.h: Likewise.
36027 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36030 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36031 Clean up HAS_* macros.
36032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36033 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36035 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36037 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36038 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36039 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36040 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36041 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36043 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36045 * elf/tst-unique3.cc (gets): Remove declaration.
36046 * elf/tst-unique3lib.cc (gets): Likewise.
36047 * elf/tst-unique3lib2.cc (gets): Likewise.
36048 * elf/tst-unique4.cc (gets): Likewise.
36050 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36052 * include/stdio.h: Add C++ protection. Add gets declarations and
36054 * debug/tst-chk1.c: Don't declare gets here.
36055 * stdio-common/tst-gets.c: Likewise.
36057 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36059 * posix/glob: Remove directory.
36061 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36063 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36065 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36067 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36068 of the non-standard EPFNOSUPPORT.
36070 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36072 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36073 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36074 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36076 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36078 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36080 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36082 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36084 * nscd/grpcache.c (cache_addgr): Likewise.
36085 * nscd/hstcache.c (cache_addhst): Likewise.
36086 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36087 * nscd/pwdcache.c (cache_addpw): Likewise.
36088 * nscd/servicescache.c (cache_addserv): Likewise.
36090 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36092 * malloc/malloc.c: Various cleanups.
36093 * malloc/hooks.c: Likewise.
36095 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36096 * stdlib/bug-fmtmsg1.c: New file.
36098 * stdlib/fmtmsg.c (init): Add missing unlock.
36099 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36101 2012-01-12 Marek Polacek <polacek@redhat.com>
36103 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36106 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36108 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36109 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36110 macro to ensure uniqueness of label name.
36111 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36112 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36114 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36116 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36118 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36119 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36120 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36121 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36123 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36125 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36127 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36128 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36129 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36131 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36133 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36134 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36135 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36136 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36138 * math/bits/math-finite.h: Add ldexp support.
36140 2012-01-10 Marek Polacek <polacek@redhat.com>
36142 * locale/programs/localedef.h (show_archive_content): Add noreturn
36145 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36147 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36149 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36151 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36153 * io/Makefile (headers): Add bits/poll2.h.
36155 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36158 typo #include statement.
36160 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36162 * include/sys/cdefs.h: Define __attribute_alloc_size.
36163 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36164 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36165 * elf/pldd.c: Likewise.
36166 * iconv/iconv_charmap.c: Likewise.
36167 * iconv/iconvconfig.c: Likewise.
36168 * iconv/strtab.c: Likewise.
36169 * locale/programs/locale.c: Likewise.
36170 * locale/programs/localedef.h: Likewise.
36171 * locale/programs/simple-hash.c: Likewise.
36172 * nscd/nscd.h: Likewise.
36173 * nss/makedb.c: Likewise.
36174 * sysdeps/generic/ldconfig.h: Likewise.
36175 * locale/programs/localedef.c: Remove xmalloc prototype.
36176 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36178 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36180 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36183 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36185 * math/Makefile (tests): Add tst-CMPLX.
36186 * math/tst-CMPLX.c: New file.
36188 * math/complex.h (CMPLXL): Fix typo.
36190 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36191 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36193 * debug/tst-chk1.c: Add poll and ppoll tests.
36194 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36195 * include/sys/poll.h: Add hidden proto for ppoll.
36196 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36197 * sysdeps/mach/hurd/ppoll.c: Likewise.
36198 * io/ppoll.c: Likewise.
36199 * debug/poll_chk.c: New file.
36200 * debug/ppoll_chk.c: New file.
36201 * include/bits/poll2.h: New file.
36202 * io/bits/poll2.h: New file.
36205 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36207 * configure.in: static is always set to yes. Remove.
36208 * config.make.in: Don't set build-static.
36209 * Makeconfig: Remove use of build-static.
36210 * dlfcn/Makefile: Likewise.
36211 * elf/Makefile: Likewise.
36212 * math/Makefile: Likewise.
36213 * misc/Makefile: Likewise.
36214 * nptl/Makefile: Likewise.
36215 * sysdeps/mach/hurd/Makefile: Likewise.
36217 * configure.in: PWD_P is not used anymore.
36218 * config.make.in: Remove PWD_P entry.
36220 * configure.in: Remove last remnants of RANLIB.
36221 No need to check for signed size_t anymore.
36222 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36224 Remove __builtin_expect test because we require at least gcc 3.4.
36225 * aclocal.m4: Likewise.
36227 * wcsmbs/mbrtoc16.c: Implement using towc function.
36228 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36229 * wcsmbs/wcsmbsload.c: Likewise.
36230 * iconv/gconv_simple.c: Likewise.
36231 * iconv/gconv_int.h: Likewise.
36232 * iconv/gconv_builtin.h: Likewise.
36233 * iconv/iconv_prog.c: Remove CHAR16 handling.
36235 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36237 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36239 * configure.in: Remove --with-elf and --enable-bounded options.
36240 Dont set base_machine for ia64. More non-ELF conditions removed.
36241 Remove testing and setting of leading underscore information.
36242 * config.make.in (build-bounded): Set to no.
36243 * config.h.in: Remove NO_UNDERSCORES entry.
36244 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36246 * csu/start.c: Remove !NO_UNDERSCORE code.
36247 * locale/localeinfo.h: Likewise.
36248 * sysdeps/generic/machine-gmon.h: Likewise.
36249 * sysdeps/generic/sysdep.h: Likewise.
36250 * sysdeps/i386/sysdep.h: Likewise.
36251 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36252 * sysdeps/mach/sysdep.h: Likewise.
36253 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36254 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36255 * sysdeps/sh/sysdep.h: Likewise.
36256 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36257 * sysdeps/unix/i386/sysdep.S: Likewise.
36258 * sysdeps/unix/sparc/start.c: Likewise.
36259 * sysdeps/unix/sparc/sysdep.S: Likewise.
36260 * sysdeps/unix/sparc/sysdep.h: Likewise.
36261 * sysdeps/unix/start.c: Likewise.
36262 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36263 * sysdeps/x86_64/sysdep.h: Likewise.
36265 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36268 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36270 * argp/argp-fmtstream.h: Use const instead __const.
36271 * argp/argp.h: Likewise.
36272 * assert/assert.h: Likewise.
36273 * bits/fenv.h: Likewise.
36274 * bits/sched.h: Likewise.
36275 * bits/sigset.h: Likewise.
36276 * bits/sigthread.h: Likewise.
36277 * catgets/nl_types.h: Likewise.
36278 * conform/data/pthread.h-data: Likewise.
36279 * crypt/crypt-private.h: Likewise.
36280 * crypt/crypt.h: Likewise.
36281 * crypt/crypt_util.c: Likewise.
36282 * ctype/ctype.h: Likewise.
36283 * debug/execinfo.h: Likewise.
36284 * debug/mbsnrtowcs_chk.c: Likewise.
36285 * debug/mbsrtowcs_chk.c: Likewise.
36286 * debug/wcsnrtombs_chk.c: Likewise.
36287 * debug/wcsrtombs_chk.c: Likewise.
36288 * debug/wcstombs_chk.c: Likewise.
36289 * dirent/dirent.h: Likewise.
36290 * dlfcn/dlfcn.h: Likewise.
36291 * elf/neededtest4.c: Likewise.
36292 * grp/grp.h: Likewise.
36293 * gshadow/gshadow.h: Likewise.
36294 * iconv/gconv.h: Likewise.
36295 * iconv/gconv_int.h: Likewise.
36296 * iconv/gconv_simple.c: Likewise.
36297 * iconv/iconv.h: Likewise.
36298 * iconv/loop.c: Likewise.
36299 * iconv/skeleton.c: Likewise.
36300 * include/aio.h: Likewise.
36301 * include/aliases.h: Likewise.
36302 * include/argz.h: Likewise.
36303 * include/arpa/inet.h: Likewise.
36304 * include/assert.h: Likewise.
36305 * include/dirent.h: Likewise.
36306 * include/dlfcn.h: Likewise.
36307 * include/execinfo.h: Likewise.
36308 * include/fcntl.h: Likewise.
36309 * include/fenv.h: Likewise.
36310 * include/glob.h: Likewise.
36311 * include/grp.h: Likewise.
36312 * include/libintl.h: Likewise.
36313 * include/mntent.h: Likewise.
36314 * include/netdb.h: Likewise.
36315 * include/pwd.h: Likewise.
36316 * include/rpc/netdb.h: Likewise.
36317 * include/sched.h: Likewise.
36318 * include/search.h: Likewise.
36319 * include/shadow.h: Likewise.
36320 * include/signal.h: Likewise.
36321 * include/stdio.h: Likewise.
36322 * include/stdlib.h: Likewise.
36323 * include/string.h: Likewise.
36324 * include/sys/socket.h: Likewise.
36325 * include/sys/stat.h: Likewise.
36326 * include/sys/statfs.h: Likewise.
36327 * include/sys/statvfs.h: Likewise.
36328 * include/sys/syslog.h: Likewise.
36329 * include/sys/time.h: Likewise.
36330 * include/sys/uio.h: Likewise.
36331 * include/time.h: Likewise.
36332 * include/unistd.h: Likewise.
36333 * include/utmp.h: Likewise.
36334 * include/wchar.h: Likewise.
36335 * include/wctype.h: Likewise.
36336 * inet/aliases.h: Likewise.
36337 * inet/arpa/inet.h: Likewise.
36338 * inet/netinet/ether.h: Likewise.
36339 * inet/netinet/in.h: Likewise.
36340 * intl/libintl.h: Likewise.
36341 * io/bits/fcntl2.h: Likewise.
36342 * io/fcntl.h: Likewise.
36343 * io/ftw.h: Likewise.
36344 * io/sys/poll.h: Likewise.
36345 * io/sys/stat.h: Likewise.
36346 * io/sys/statfs.h: Likewise.
36347 * io/sys/statvfs.h: Likewise.
36348 * io/utime.h: Likewise.
36349 * libio/bits/stdio.h: Likewise.
36350 * libio/bits/stdio2.h: Likewise.
36351 * libio/libio.h: Likewise.
36352 * libio/libioP.h: Likewise.
36353 * libio/stdio.h: Likewise.
36354 * locale/lc-ctype.c: Likewise.
36355 * locale/locale.h: Likewise.
36356 * login/utmp.h: Likewise.
36357 * malloc/arena.c: Likewise.
36358 * malloc/malloc.c: Likewise.
36359 * malloc/malloc.h: Likewise.
36360 * malloc/mcheck.c: Likewise.
36361 * malloc/mtrace.c: Likewise.
36362 * math/bits/mathcalls.h: Likewise.
36363 * math/fenv.h: Likewise.
36364 * math/math_private.h: Likewise.
36365 * misc/bits/error.h: Likewise.
36366 * misc/bits/syslog.h: Likewise.
36367 * misc/err.h: Likewise.
36368 * misc/error.h: Likewise.
36369 * misc/fstab.h: Likewise.
36370 * misc/mntent.h: Likewise.
36371 * misc/regexp.h: Likewise.
36372 * misc/search.h: Likewise.
36373 * misc/sgtty.h: Likewise.
36374 * misc/sys/mman.h: Likewise.
36375 * misc/sys/syslog.h: Likewise.
36376 * misc/sys/uio.h: Likewise.
36377 * misc/sys/xattr.h: Likewise.
36378 * misc/ttyent.h: Likewise.
36379 * nis/rpcsvc/ypclnt.h: Likewise.
36380 * nss/nss.h: Likewise.
36381 * posix/bits/unistd.h: Likewise.
36382 * posix/fnmatch.h: Likewise.
36383 * posix/glob.h: Likewise.
36384 * posix/sched.h: Likewise.
36385 * posix/spawn.h: Likewise.
36386 * posix/sys/wait.h: Likewise.
36387 * posix/unistd.h: Likewise.
36388 * posix/wordexp.h: Likewise.
36389 * pwd/pwd.h: Likewise.
36390 * resolv/netdb.h: Likewise.
36391 * resource/sys/resource.h: Likewise.
36392 * rt/aio.h: Likewise.
36393 * rt/bits/mqueue2.h: Likewise.
36394 * rt/mqueue.h: Likewise.
36395 * shadow/shadow.h: Likewise.
36396 * signal/signal.h: Likewise.
36397 * socket/send.c: Likewise.
36398 * socket/sendto.c: Likewise.
36399 * socket/sys/socket.h: Likewise.
36400 * stdio-common/printf.h: Likewise.
36401 * stdlib/bits/stdlib.h: Likewise.
36402 * stdlib/fmtmsg.h: Likewise.
36403 * stdlib/monetary.h: Likewise.
36404 * stdlib/stdlib.h: Likewise.
36405 * stdlib/ucontext.h: Likewise.
36406 * streams/stropts.h: Likewise.
36407 * string/argz.h: Likewise.
36408 * string/bits/string2.h: Likewise.
36409 * string/string.h: Likewise.
36410 * string/strings.h: Likewise.
36411 * sunrpc/rpc/auth.h: Likewise.
36412 * sunrpc/rpc/auth_des.h: Likewise.
36413 * sunrpc/rpc/clnt.h: Likewise.
36414 * sunrpc/rpc/netdb.h: Likewise.
36415 * sunrpc/rpc/pmap_clnt.h: Likewise.
36416 * sunrpc/rpc/xdr.h: Likewise.
36417 * sysdeps/generic/inttypes.h: Likewise.
36418 * sysdeps/generic/net/if.h: Likewise.
36419 * sysdeps/generic/sys/swap.h: Likewise.
36420 * sysdeps/gnu/net/if.h: Likewise.
36421 * sysdeps/gnu/utmpx.h: Likewise.
36422 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36423 * sysdeps/i386/i486/bits/string.h: Likewise.
36424 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36425 * sysdeps/s390/bits/string.h: Likewise.
36426 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36427 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36428 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36429 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36430 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36431 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36432 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36433 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36434 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36435 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36436 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36437 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36438 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36439 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36440 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36441 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36442 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36443 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36444 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36445 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36446 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36447 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36448 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36449 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36450 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36451 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36452 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36453 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36454 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36455 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36456 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36457 * sysvipc/sys/ipc.h: Likewise.
36458 * sysvipc/sys/msg.h: Likewise.
36459 * sysvipc/sys/sem.h: Likewise.
36460 * sysvipc/sys/shm.h: Likewise.
36461 * termios/termios.h: Likewise.
36462 * time/sys/time.h: Likewise.
36463 * time/time.h: Likewise.
36464 * wcsmbs/bits/wchar2.h: Likewise.
36465 * wcsmbs/uchar.h: Likewise.
36466 * wcsmbs/wchar.h: Likewise.
36467 * wctype/wctype.h: Likewise.
36470 * Makeconfig: Remove all but ELF support including AIX support.
36471 * Makerules: Likewise.
36472 * config.h.in: Likewise.
36473 * config.make.in: Likewise.
36474 * configure: Likewise.
36475 * configure.in: Likewise.
36476 * csu/Makefile: Likewise.
36477 * csu/version.c: Likewise.
36478 * debug/Makefile: Likewise.
36479 * dlfcn/Makefile: Likewise.
36480 * elf/Makefile: Likewise.
36481 * extra-lib.mk: Likewise.
36482 * iconv/Makefile: Likewise.
36483 * include/libc-symbols.h: Likewise.
36484 * include/shlib-compat.h: Likewise.
36485 * resolv/Makefile: Likewise.
36486 * resolv/res_libc.c: Likewise.
36487 * rt/Makefile: Likewise.
36488 * sysdeps/i386/asm-syntax.h: Likewise.
36489 * sysdeps/i386/sysdep.h: Likewise.
36490 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36491 * sysdeps/mach/sysdep.h: Likewise.
36492 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36493 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36494 * sysdeps/s390/asm-syntax.h: Likewise.
36495 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36496 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36497 * sysdeps/sh/sysdep.h: Likewise.
36498 * sysdeps/unix/sparc/sysdep.h: Likewise.
36499 * sysdeps/wordsize-32/divdi3.c: Likewise.
36500 * sysdeps/x86_64/sysdep.h: Likewise.
36502 * argp/Versions: Remove _argp_unlock_xxx.
36505 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36506 * abilist/libBrokenLocale.abilist: Likewise.
36507 * abilist/libanl.abilist: Likewise.
36508 * abilist/libc.abilist: Likewise.
36509 * abilist/libcrypt.abilist: Likewise.
36510 * abilist/libdl.abilist: Likewise.
36511 * abilist/libm.abilist: Likewise.
36512 * abilist/libnsl.abilist: Likewise.
36513 * abilist/libpthread.abilist: Likewise.
36514 * abilist/libresolv.abilist: Likewise.
36515 * abilist/librt.abilist: Likewise.
36516 * abilist/libthread_db.abilist: Likewise.
36517 * abilist/libutil.abilist: Likewise.
36518 * abilist/libnss_db.abilist: New file.
36520 * scripts/abilist.awk: Add support for indirect functions.
36522 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36524 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36526 * shlib-versions: Remove entries for ports architectures.
36528 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36530 * elf/stackguard-macros.h: Remove support for IA-64.
36531 * elf/tst-auditmod1.c: Likewise.
36532 * sysdeps/generic/ldsodefs.h: Likewise.
36534 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36535 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36539 * configure.in: Remove --enable-omitfp support.
36541 * config.make.in: Likewise.
36542 * Makeconfig: Likewise.
36543 * manual/install.texi: Likewise.
36545 In case anyone cares, the IA-64 architecture could move to ports.
36546 * sysdeps/ia64/*: Removed.
36547 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36548 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36551 * configure.in: Remove entries for unsupported architectures.
36554 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36555 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36557 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36558 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36559 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36560 fall back to using wcrtomb.
36561 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36562 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36564 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36565 * wcsmbs/tst-c16c32-1.c: New file.
36567 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36570 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36572 * elf/tst-unique3.cc: Add explicit declaration of gets.
36573 * elf/tst-unique3lib.cc: Likewise.
36574 * elf/tst-unique3lib2.cc: Likewise.
36575 * elf/tst-unique4.cc: Likewise.
36577 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36579 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36582 * assert/assert.h (static_assert): Don't define for C++.
36583 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36584 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36586 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36588 * iconv/loop.c (single loop): Fix assertion in storing of
36591 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36593 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36595 * posix/getconf.c: Update copyright year.
36596 * nss/getent.c: Likewise.
36597 * nss/makedb.c: Likewise.
36598 * iconv/iconvconfig.c: Likewise.
36599 * iconv/iconv_prog.c: Likewise.
36600 * elf/ldconfig.c: Likewise.
36601 * elf/pldd.c: Likewise.
36602 * elf/sotruss.ksh: Likewise.
36603 * catgets/gencat.c: Likewise.
36604 * csu/version.c: Likewise.
36605 * elf/ldd.bash.in: Likewise.
36606 * elf/sprof.c (print_version): Likewise.
36607 * locale/programs/locale.c: Likewise.
36608 * locale/programs/localedef.c: Likewise.
36609 * login/programs/pt_chown.c: Likewise.
36610 * nscd/nscd.c (print_version): Likewise.
36611 * debug/xtrace.sh: Likewise.
36612 * malloc/memusage.sh: Likewise.
36613 * malloc/mtrace.pl: Likewise.
36614 * debug/catchsegv.sh: Likewise.
36616 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36618 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36621 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36624 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36625 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36627 * iconv/gconv_int.h: Likewise.
36628 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36629 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36630 from libc for GLIBC_2.16.
36631 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36632 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36633 * wcsmbs/uchar.h: Really define mbstate_t.
36634 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36635 * wcsmbs/c16rtomb.c: New file.
36636 * wcsmbs/mbrtoc16.c: New file.
36637 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36638 for C/POSIX locale.
36639 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36640 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36642 * wcsmbs/wchar.h: Add missing __restrict.
36644 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36647 * time/Makefile (routines): Add timespec_get.
36648 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36649 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36650 timespec for ISO C11.
36651 * time/timespec_get.c: New file.
36652 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36653 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36656 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36657 * stdlib/stdlib.h: Declare aligned_alloc.
36658 * Versions.def: Add GLIBC_2.16 for libc.
36659 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36662 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36665 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36669 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36672 * assert/assert.h (static_assert): Define.
36674 * version.h: Update for 2.16 development version.
36677 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36680 * version.h (RELEASE): Bump for 2.15 release.
36681 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36683 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36684 Patch by Marek Polacek <mpolacek@redhat.com>.
36686 * bits/byteswap.h: Protect long long constants with __extension__.
36687 * sysdeps/i386/bits/byteswap.h: Likewise.
36688 * sysdeps/ia64/bits/byteswap.h: Likewise.
36689 * sysdeps/s390/bits/byteswap.h: Likewise.
36690 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36692 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36695 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36696 destination buffer.
36697 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36699 2011-12-23 Marek Polacek <polacek@redhat.com>
36701 * elf/dl-addr.c (determine_info): Add inline keyword.
36702 * elf/tst-auditmod4b.c (check_avx): Likewise.
36703 * elf/tst-auditmod6b.c (check_avx): Likewise.
36704 * elf/tst-auditmod6c.c (check_avx): Likewise.
36705 * elf/tst-auditmod7b.c (check_avx): Likewise.
36707 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36709 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36712 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36715 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36716 processing for last bytes.
36718 2011-08-06 Bruno Haible <bruno@clisp.org>
36721 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36722 U+0385, not to U+1FEE.
36725 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36726 entry for U+00A5 U+0301.
36728 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36731 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36732 buffer for the output is too small.
36734 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36738 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36739 SSE flags if possible.
36741 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36744 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36745 processing for last bytes.
36747 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36749 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36750 (syscall-list-default-options, syscall-list-default-condition)
36751 (syscall-list-includes): Define.
36752 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36753 list of ABIs and options and #if conditions for each ABI. Do not
36754 handle common syscalls between ABIs specially.
36755 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36757 (syscall-list-variants, syscall-list-32bit-options)
36758 (syscall-list-32bit-condition, syscall-list-64bit-options)
36759 (syscall-list-64bit-condition): Define.
36760 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36761 (syscall-list-variants, syscall-list-32bit-options)
36762 (syscall-list-32bit-condition, syscall-list-64bit-options)
36763 (syscall-list-64bit-condition): Define.
36764 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36766 (syscall-list-variants, syscall-list-32bit-options)
36767 (syscall-list-32bit-condition, syscall-list-64bit-options)
36768 (syscall-list-64bit-condition): Define.
36769 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36771 (syscall-list-variants, syscall-list-32bit-options)
36772 (syscall-list-32bit-condition, syscall-list-64bit-options)
36773 (syscall-list-64bit-condition): Define.
36775 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36777 * locale/iso-639.def: Add brx entry.
36780 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36781 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36783 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36784 __feraiseexcept_renamed.
36786 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36789 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36790 EPOLLET with unsigned values.
36791 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36792 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36794 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36795 to large cancellation.
36796 * math/s_cacoshf.c: Likewise.
36797 * math/s_cacoshl.c: Likewise.
36799 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36803 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36804 * math/s_cacoshf.c: Likewise.
36805 * math/s_cacoshl.c: Likewise.
36807 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36810 * iconv/gconv.h: Define __GCONV_SWAP.
36811 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36812 * iconvdata/utf-16.c: Likewise.
36813 * iconvdata/utf-32.c: Likewise.
36815 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36818 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36819 numerator after shifting it by one limb.
36821 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36823 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36824 under [__USE_EXTERN_INLINES].
36826 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36829 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36831 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36833 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36834 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36836 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36837 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36838 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36839 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36840 for strncasecmp/strncasecmp_l compilation.
36841 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36842 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36844 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36847 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36850 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36853 * time/tzfile.c (__tzfile_read): Check values from file header.
36855 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36857 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36858 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36859 * powerpc/powerpc32/dl-start.S: Likewise.
36860 * powerpc/powerpc32/elf/start.S: Likewise.
36861 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36862 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36863 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36864 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36865 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36866 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36867 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36868 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36869 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36870 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36871 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36872 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36873 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36874 * powerpc/powerpc32/memset.S: Likewise.
36875 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36876 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36877 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36878 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36879 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36880 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36881 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36882 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36883 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36884 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36885 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36886 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36887 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36889 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36891 * math/libm-test.inc: Added more nearbyint tests.
36892 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36893 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36894 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36895 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36897 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36899 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36902 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36904 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36905 Add wcscpy-ssse3 wcscpy-c.
36906 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36907 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36908 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36909 * sysdeps/x86_64/wcschr.S: New file.
36910 * sysdeps/x86_64/wcsrchr.S: New file.
36911 * string/test-strcmp.c: Remove checking of wcscmp function for
36913 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36914 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36915 wcsrchr-sse2 wcsrchr-c.
36916 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36917 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36918 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36919 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36920 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36921 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36922 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36923 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36924 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36925 * wcsmbc/wcschr.c (WCSCHR): New macro.
36927 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36929 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36930 * wcsmbs/test-wcsrchr.c: New file.
36931 * string/test-strrchr.c: Add wcsrchr support.
36933 * wcsmbs/test-wcscpy.c: New file.
36934 * string/test-strcpy.c: Add wcscpy support.
36937 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36939 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36942 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36945 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36947 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36949 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36950 Minor optimizations.
36952 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36953 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36954 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36956 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36958 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36959 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36960 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36961 for gcc to avoid warnings.
36962 * inet/Makefile (tests): Add tst-checks.
36963 * inet/tst-checks.c: New file.
36965 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36968 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36971 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36972 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36974 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36976 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36978 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36981 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36983 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36985 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36986 conditional on GCC version.
36987 (__arch_compare_and_exchange_val_8_acq)
36988 (__arch_compare_and_exchange_val_16_acq)
36989 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36990 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36991 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36993 2011-12-02 Joseph Myers <joseph@codesourcery.com>
36995 * sysdeps/sh/backtrace.c: New file.
36997 2011-12-02 Andreas Schwab <schwab@redhat.com>
36999 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37002 2011-12-01 Andreas Schwab <schwab@redhat.com>
37004 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37005 falling back to utime.
37007 2011-11-30 Andreas Schwab <schwab@redhat.com>
37009 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37010 expectations for float.
37012 2011-11-29 Andreas Schwab <schwab@redhat.com>
37014 * locale/weight.h (findidx): Add parameter len.
37015 * locale/weightwc.h (findidx): Likewise.
37016 * posix/fnmatch_loop.c (FCT): Adjust caller.
37017 * posix/regcomp.c (build_equiv_class): Likewise.
37018 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37019 * posix/regexec.c (check_node_accept_bytes): Likewise.
37020 * string/strcoll_l.c (STRCOLL): Likewise.
37021 * string/strxfrm_l.c (STRXFRM): Likewise.
37023 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37025 * Makefile.in: Remove CVSOPT handling.
37026 * configure.in: Remove use of AC_REVISION.
37027 * iconvdata/Makefile (distribute): No need to filter out CVS.
37028 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37031 2011-11-16 Andreas Schwab <schwab@redhat.com>
37033 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37034 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37035 [USE_AS_STRNCASECMP_L]: Likewise.
37036 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37037 NO_TLS_DIRECT_SEG_REFS.
37038 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37039 Fix argument offsets for non-PIC.
37040 [USE_AS_STRNCASECMP_L]: Likewise.
37041 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37042 NO_TLS_DIRECT_SEG_REFS.
37044 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37046 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37048 * locale/loadlocale.c (_nl_load_locale): Likewise.
37050 2011-11-15 Andreas Schwab <schwab@redhat.com>
37052 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37053 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37054 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37055 (SYSCALL_GETTIME): Set errno on error.
37057 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37058 count references to noai6ai_cached.
37060 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37062 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37064 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37065 FD_CLOEXEC for /proc/self/maps.
37067 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37068 FD_CLOEXEC for /proc/meminfo.
37070 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37073 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37074 FD_CLOEXEC for given file.
37076 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37078 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37079 FD_CLOEXEC for /etc/hosts.
37080 (_gethtent): Likewise.
37082 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37084 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37085 cancellation and set FD_CLOEXEC for /etc/netgroup.
37087 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37088 reading /etc/publickey.
37090 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37091 allow cancellation when reading /etc/group.
37093 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37095 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37097 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37098 when using data file.
37100 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37102 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37103 (write_nis_obj): Use "c" and "e" in fopen.
37105 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37107 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37109 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37111 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37113 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37116 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37118 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37120 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37122 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37123 file parsing and set FD_CLOEXEC.
37125 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37127 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37129 2011-11-14 Andreas Schwab <schwab@redhat.com>
37131 * malloc/arena.c (arena_get2): Don't call reused_arena when
37132 _int_new_arena failed.
37134 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37136 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37137 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37138 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37139 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37140 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37141 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37142 to compile strcasecmp and strncasecmp.
37143 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37144 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37148 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37150 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37151 locale-defines.sym to gen-as-const-headers.
37152 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37153 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37154 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37155 to compile strcasecmp and strncasecmp.
37156 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37157 strcasecmp_l and strncasecmp_l.
37158 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37159 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37160 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37161 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37162 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37163 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37164 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37165 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37166 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37167 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37168 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37170 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37172 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37173 result of SYSDEP_GETTIME_CPU to retval.
37174 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37175 parameter list to macro. Remove trailing semicolon. Adjust users.
37177 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37180 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37182 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37184 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37185 from unused variable.
37187 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37189 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37192 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37195 * sunrpc/rpc_prot.c (rejected): Fix case value.
37197 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37198 unsigned long long int to avoid warnings in shift.
37200 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37202 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37205 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37206 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37207 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37209 * nis/nis_table.c (nis_list): Use variable of correct type for
37210 result of __follow_path call.
37212 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37214 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37215 of math functions ceil, trunc, floor, round, and sqrt, when
37216 avaliable on the platform.
37217 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37219 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37220 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37221 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37223 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37225 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37226 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37228 2011-11-11 Roland McGrath <roland@hack.frob.com>
37230 * include/unistd.h: Fix __readlink return type.
37231 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37233 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37235 * stdlib/ucontext.h: Undo last change for makecontext.
37237 2011-11-11 Andreas Schwab <schwab@redhat.com>
37239 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37241 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37242 * setjmp/setjmp.h: Mark functions as non-leaf.
37243 * setjmp/bits/setjmp2.h: Likewise.
37244 * stdlib/ucontext.h: Likewise.
37246 2011-11-10 Andreas Schwab <schwab@redhat.com>
37248 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37249 (reused_arena): Don't check arena limit.
37250 (arena_get2): Atomically check arena limit.
37252 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37254 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37255 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37257 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37260 2011-11-07 Andreas Schwab <schwab@redhat.com>
37262 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37263 handler when locking.
37265 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37266 Fix size of allocated buffer.
37268 2011-11-04 Andreas Schwab <schwab@redhat.com>
37271 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37272 declarations for long double functions.
37273 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37275 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37277 2011-11-03 Andreas Schwab <schwab@redhat.com>
37279 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37282 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37285 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37287 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37289 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37291 * include/alloca.h (stackinfo_alloca_round): Define.
37292 (extend_alloca): Use it.
37293 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37294 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37297 * scripts/check-local-headers.sh: Ignore libaudit.h.
37299 * nscd/Makefile (extra-objs): Make recursively expanded.
37301 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37303 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37304 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37306 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37307 * posix/tst-rfc3484-2.c: Likewise.
37308 * posix/tst-rfc3484-3.c: Likewise.
37310 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37312 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37314 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37315 process_vm_writev from libc using GLIBC_2.15 version.
37317 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37319 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37321 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37324 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37327 * nss/getent.c (initgroups_keys): Show error message in case no group
37330 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37331 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37332 __bump_nl_timestamp.
37333 * nscd/connections (nscd_init): When host database is served open
37334 netlink socket and request notification about configuration changes.
37335 (main_loop_poll): Track netlink file descriptor and bump timestamp
37336 in case data becomes available.
37337 (main_loop_epoll): Likewise.
37338 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37339 (database_pers_head): Add extra_data fileds.
37340 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37341 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37342 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37344 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37345 in6ai data, call __free_in6ai.
37346 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37347 Add -DHAVE_NETLINK.
37348 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37349 interface information. Reuse previous data if netlink timestamp
37351 (__bump_nl_timestamp): New function.
37352 (__free_in6ai): New function.
37354 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37356 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37357 close_not_cancel_no_status here.
37358 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37360 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37363 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37366 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37367 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37368 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37370 2011-07-03 Andreas Jaeger <aj@suse.de>
37373 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37374 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37375 * math/libm-test.inc (sin_test): Add test case.
37377 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37380 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37381 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37383 * elf/chroot_canon.c (chroot_canon): Cleanups.
37385 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37388 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37389 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37391 * string/test-strchr.c: Make usable for strchrnul testing.
37392 * string/test-strchrnul.c: New file.
37393 * string/Makefile (strop-tests): Add strchrnul.
37395 * po/it.po: Update from translation team.
37396 * po/es.po: Likewise.
37398 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37400 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37401 the three constants needed as parameters. Drop the others.
37402 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37403 __m128i_strloadu_tolower.
37404 Create and initialize variable zero and use it in all the places
37405 where _mm_setzero_si128 was used.
37407 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37408 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37409 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37410 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37412 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37413 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37414 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37415 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37416 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37417 __mpranred, __mptan.
37418 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37419 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37420 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37421 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37422 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37423 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37424 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37425 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37426 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37428 2011-10-28 Andreas Schwab <schwab@redhat.com>
37430 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37431 redefine if SHARED.
37432 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37434 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37435 wide char related routines to wcsmbs subdir.
37437 2011-10-27 Andreas Schwab <schwab@redhat.com>
37440 * misc/sys/cdefs.h (__THROWNL): Define.
37441 * posix/unistd.h: Use __THREADNL instead of __THREAD
37442 for memory synchronization functions.
37444 2011-10-26 Roland McGrath <roland@hack.frob.com>
37447 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37449 * manual/stdio.texi (Obstack Streams): Node removed.
37451 2011-10-26 Andreas Schwab <schwab@redhat.com>
37453 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37454 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37455 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37457 * math/math_private.h (math_force_eval): Allow non-addressable
37459 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37461 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37463 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37464 file is not needed.
37466 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37467 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37468 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37469 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37470 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37471 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37472 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37473 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37475 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37476 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37477 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37478 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37479 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37480 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37481 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37482 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37483 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37484 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37485 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37486 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37487 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37488 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37489 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37490 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37491 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37492 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37493 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37495 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37496 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37498 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37499 place. Use VEX encoding when compiling for AVX.
37501 2011-10-25 Andreas Schwab <schwab@redhat.com>
37503 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37504 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37506 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37508 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37510 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37511 useless if() expression.
37512 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37513 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37514 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37515 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37516 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37517 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37518 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37519 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37520 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37521 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37522 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37523 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37524 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37525 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37526 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37527 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37528 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37529 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37530 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37532 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37534 2011-10-25 Andreas Schwab <schwab@redhat.com>
37536 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37538 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37540 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37542 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37543 .text section. Avoid duplicate constants.
37544 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37545 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37546 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37548 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37549 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37550 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37551 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37552 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37553 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37554 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37555 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37556 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37557 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37558 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37559 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37560 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37561 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37562 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37563 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37564 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37565 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37566 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37567 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37568 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37569 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37570 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37571 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37572 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37573 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37574 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37575 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37576 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37577 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37578 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37579 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37580 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37581 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37582 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37583 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37584 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37585 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37586 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37587 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37588 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37590 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37592 * sysdeps/x86_64/dla.h: Move to ...
37593 * sysdeps/x86_64/fpu/dla.h: ...here.
37594 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37595 situations. Use __builtin_fma only for gcc 4.6 and up.
37597 * config.make.in: Add have-mfma4 entry.
37598 * configure.in: Substitute libc_cv_cc_fma4.
37599 * math/Makefile (dbl-only-routines): Add sincostab.
37600 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37601 Use __sincostab not sincos.
37602 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37604 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37605 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37607 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37609 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37610 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37611 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37612 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37614 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37615 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37617 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37618 define aliases when function name is a macro.
37619 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37620 sysdeps/ieee754/dbl-64/sincos.tbl.
37621 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37622 fma4-enabled routines.
37623 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37624 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37625 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37626 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37627 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37628 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37629 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37630 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37631 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37632 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37633 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37634 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37635 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37636 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37637 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37638 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37639 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37640 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37641 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37642 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37643 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37644 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37645 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37646 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37647 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37648 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37649 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37650 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37651 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37652 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37654 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37657 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37658 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37659 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37660 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37661 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37662 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37665 2011-10-24 Andreas Schwab <schwab@redhat.com>
37667 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37669 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37671 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37673 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37675 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37677 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37678 Remove unused variable magic_bits.
37679 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37681 * string/strnlen.c: Define and use STRNLEN macro.
37682 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37683 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37684 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37685 * wcsmbs/wcslen.c: Define and use WCSLEN.
37686 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37687 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37688 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37689 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37690 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37691 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37692 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37694 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37697 strnlen-sse2-no-bsf.
37698 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37699 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37700 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37701 Add strnlen support.
37702 (USE_AS_STRNLEN): New macro.
37703 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37704 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37705 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37706 * sysdeps/x86_64/wcslen.S: New file.
37708 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37710 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37711 XMM-moves are used for copying on small sizes.
37713 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37715 * wcsmbs/Makefile (strop-tests): Add wcschr.
37716 * wcsmbs/test-wcschr.c: New file.
37717 * string/test-strchr.c: Update.
37718 Add wcschr support.
37721 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37723 * wcsmbs/Makefile (strop-tests): Add wcslen.
37724 * wcsmbs/test-wcslen.c: New file.
37725 * string/test-strlen.c: Update.
37726 Add wcslen support.
37729 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37731 * po/it.po: Update from translation team.
37733 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37735 * sysdeps/x86_64/wcscmp.S: Update.
37736 Fix wrong comparison semantics.
37737 wcscmp shall use signed comparison not unsigned.
37738 Don't use substraction to avoid overflow bug.
37739 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37740 * wcsmbc/wcscmp.c: Likewise.
37741 * string/test-strcmp.c: Likewise.
37742 Add new tests to check cases with negative values.
37744 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37746 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37747 * sysdeps/x86_64/dla.h: ...here. New file.
37748 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37749 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37750 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37752 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37753 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37754 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37755 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37756 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37758 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37760 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37761 __ynl_finite aliases.
37763 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37767 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37769 [DLA_FMA] (EMULV): Use DLA_FMA.
37770 [DLA_FMA] (MUL12): Use EMULV.
37771 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37772 that are not needed.
37773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37774 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37777 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37778 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37779 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37781 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37783 * math/s_nan.c: Undef __nan.
37784 * math/s_nanf.c: Undef __nanf.
37785 * math/s_nanl.c: Undef __nanl.
37786 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37789 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37791 * math/s_catan.c: Add branch predictions.
37792 * math/s_catanf.c: Likewise.
37793 * math/s_catanh.c: Likewise.
37794 * math/s_catanhf.c: Likewise.
37795 * math/s_catanhl.c: Likewise.
37796 * math/s_catanl.c: Likewise.
37797 * math/s_cexp.c: Likewise.
37798 * math/s_cexpf.c: Likewise.
37799 * math/s_cexpl.c: Likewise.
37800 * math/s_clog.c: Likewise.
37801 * math/s_clog10.c: Likewise.
37802 * math/s_clog10f.c: Likewise.
37803 * math/s_clog10l.c: Likewise.
37804 * math/s_clogf.c: Likewise.
37805 * math/s_clogl.c: Likewise.
37806 * math/s_csqrt.c: Likewise.
37807 * math/s_csqrtf.c: Likewise.
37808 * math/s_csqrtl.c: Likewise.
37809 * math/s_ctanf.c: Likewise.
37810 * math/s_ctanh.c: Likewise.
37811 * math/s_ctanhf.c: Likewise.
37812 * math/s_ctanhl.c: Likewise.
37813 * math/s_ctanl.c: Likewise.
37815 * math/math_private.h: Define __nan, __nanf, __nanl.
37816 * math/s_cacosh.c: Include <math_private.h>.
37817 * math/s_cacoshl.c: Likewise.
37818 * math/s_casinh.c: Likewise.
37819 * math/s_casinhf.c: Likewise.
37820 * math/s_casinhl.c: Likewise.
37821 * math/s_ccos.c: Rely entire on ccosh.
37822 * math/s_ccosf.c: Rely entire on ccoshf.
37823 * math/s_ccosl.c: Rely entirely on ccoshl.
37824 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37825 Remove tests for FE_INVALID.
37826 * math/s_ccoshf.c: Likewise.
37827 * math/s_ccoshl.c: Likewise.
37828 * math/s_csin.c: Likewise.
37829 * math/s_csinf.c: Likewise.
37830 * math/s_csinh.c Likewise.
37831 * math/s_csinhf.c: Likewise.
37832 * math/s_csinhl.c: Likewise.
37833 * math/s_csinl.c: Likewise.
37834 * math/s_ctan.c: Likewise.
37835 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37836 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37837 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37839 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37842 compilation problems.
37844 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37847 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37849 * sysdeps/i386/configure.in: Test for -mfma4 option.
37850 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37851 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37852 COMMON_CPUID_INDEX_80000001.
37853 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37854 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37855 use it if FMA3 is not supported.
37856 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37858 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37859 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37861 2011-10-20 Andreas Schwab <schwab@redhat.com>
37864 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37865 it would create a cycle with a link time dependency.
37867 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37869 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37871 * string/Makefile (strop-tests): Add rawmemchr.
37872 * string/test-rawmemchr.c: New file.
37874 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37875 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37876 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37877 when compiling str{,n}casecmp and when AVX is available. Hook up
37878 new optimized code in initializers.
37880 2011-10-19 Andreas Schwab <schwab@redhat.com>
37882 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37883 __feraiseexcept instead of feraiseexcept.
37885 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37887 * math/math_private.h: Define defaults for libc_fetestexcept and
37889 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37890 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37891 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37892 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37893 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37894 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37895 libc_fetestexcept and libc_feupdateenv.
37897 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37898 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37899 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37900 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37901 libc_feholdexcept_setround.
37903 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37904 Add s_nearbyint-c and s_nearbyintf-c.
37905 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37906 nearbyintf inlines.
37907 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37908 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37909 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37910 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37912 * math/math_private.h: Define defaults for libc_fegetround,
37913 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37914 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37915 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37916 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37917 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37918 standard functions.
37919 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37920 Remove comments and hacks for old compiler versions.
37921 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37922 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37923 libc_feholdexceptl.
37925 2011-10-18 Andreas Schwab <schwab@redhat.com>
37927 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37928 (__feraiseexcept_renamed): Add __NTH.
37929 (feraiseexcept): Add __NTH. Rename local variables to fix
37930 namespace violations.
37932 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37934 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37936 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37938 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37939 recently added interfaces.
37940 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37942 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37943 about macro parameter expansion.
37945 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37946 __NO_MATH_INLINES is defined. Cleanups.
37948 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37949 and __floorf is target has SSE4.1.
37950 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37951 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37952 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37953 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37955 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37957 (floorf): Likewise.
37959 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37961 2011-10-17 Andreas Schwab <schwab@redhat.com>
37963 * misc/sys/cdefs.h: Fix last change.
37965 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37968 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37970 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37972 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37973 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37974 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37975 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37976 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37977 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37978 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37979 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37980 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37981 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37982 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37983 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37984 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37985 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37986 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37987 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37988 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37989 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37990 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37991 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37992 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37993 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37995 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37996 ceil, ceilf, floor, floorf.
37998 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37999 Perform IRELATIVE relocations last.
38001 * elf/do-rel.h: Add another parameter nrelative, replacing the
38002 local variable with the same name. Change name of the function
38003 to end in Rel or Rela (uppercase).
38004 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38005 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38006 elf_dynamic_do_##reloc function.
38008 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38010 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38011 is sufficient, at least on modern CPUs.
38013 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38015 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38016 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38018 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38020 * math/bits/math-finite.h: Add entries for exp.
38021 * math/e_expl.c: Add __*_finite alias.
38022 * sysdeps/i386/fpu/e_exp.S: Likewise.
38023 * sysdeps/i386/fpu/e_expf.S: Likewise.
38024 * sysdeps/i386/fpu/e_expl.c: Likewise.
38025 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38026 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38027 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38028 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38029 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38030 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38031 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38033 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38034 is sufficient, at least on modern CPUs.
38036 * ctype/ctype-info.c (__ctype_init): Define.
38037 * include/ctype.h (__ctype_init): Declare.
38038 (__ctype_b_loc): The variable is always initialized.
38039 (__ctype_toupper_loc): Likewise.
38040 (__ctype_tolower_loc): Likewise.
38041 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38042 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38044 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38046 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38048 * configure.in: Also look in $cxxmachine/include for C++ system
38051 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38053 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38054 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38055 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38056 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38057 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38058 (USE_AS_WMEMCMP): New macro.
38060 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38061 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38062 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38063 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38065 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38066 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38067 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38068 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38069 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38070 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38071 (USE_AS_WMEMCMP): New macro.
38072 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38073 * sysdeps/string/test-memcmp.c: Update.
38074 Fix simple_wmemcmp.
38076 * wcsmbs/wmemcmp.c: Update.
38077 (WMEMCMP): New macro.
38080 2011-10-12 Andreas Jaeger <aj@suse.de>
38083 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38085 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38087 * libio/iofwide.c (do_length): Avoid warning.
38089 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38091 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38093 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38095 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38096 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38097 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38098 * sysdeps/i386/i686/fpu/e_log.S: New file.
38099 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38100 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38102 * ctype/ctype.h: Add support for inlined isXXX functions when
38103 compiling C++ code.
38105 2011-10-14 Andreas Schwab <schwab@redhat.com>
38107 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38109 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38111 2011-10-13 Roland McGrath <roland@hack.frob.com>
38114 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38116 2011-10-13 Andreas Schwab <schwab@redhat.com>
38118 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38119 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38122 * sysdeps/x86_64/memrchr.S: Check for zero size.
38124 * string/stratcliff.c: Add memrchr tests.
38126 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38128 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38129 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38130 rawmemchr-sse2 rawmemchr-sse2-bsf.
38131 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38132 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38133 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38134 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38135 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38136 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38137 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38138 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38139 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38140 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38141 * string/memrchr.c (MEMRCHR): New macro.
38143 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38145 Add integration with gcc's -ffinite-math-only and optimize wrapper
38147 * Versions.def: Define GLIBC_2.15 version for libm.
38148 * math/Makefile (headers): Add bits/math-finite.h.
38149 * math/bits/math-finite.h: New file.
38150 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38151 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38152 * math/e_acoshl.c: Add __*_finite alias.
38153 * math/e_acosl.c: Likewise.
38154 * math/e_asinl.c: Likewise.
38155 * math/e_atan2l.c: Likewise.
38156 * math/e_atanhl.c: Likewise.
38157 * math/e_coshl.c: Likewise.
38158 * math/e_exp10.c: Likewise.
38159 * math/e_exp10f.c: Likewise.
38160 * math/e_exp10l.c: Likewise.
38161 * math/e_exp2l.c: Likewise.
38162 * math/e_fmodl.c: Likewise.
38163 * math/e_gammal_r.c: Likewise.
38164 * math/e_hypotl.c: Likewise.
38165 * math/e_j0l.c: Likewise.
38166 * math/e_j1l.c: Likewise.
38167 * math/e_jnl.c: Likewise.
38168 * math/e_lgammal_r.c: Likewise.
38169 * math/e_log10l.c: Likewise.
38170 * math/e_log2l.c: Likewise.
38171 * math/e_logl.c: Likewise.
38172 * math/e_powl.c: Likewise.
38173 * math/e_sinhl.c: Likewise.
38174 * math/e_sqrtl.c: Likewise.
38175 * math/e_scalb.c: Completely rewritten and optimized.
38176 * math/e_scalbf.c: Likewise.
38177 * math/e_scalbl.c: Likewise.
38178 * math/w_acos.c: Likewise.
38179 * math/w_acosf.c: Likewise.
38180 * math/w_acosl.c: Likewise.
38181 * math/w_acosh.c: Likewise.
38182 * math/w_acoshf.c: Likewise.
38183 * math/w_acoshl.c: Likewise.
38184 * math/w_asin.c: Likewise.
38185 * math/w_asinf.c: Likewise.
38186 * math/w_asinl.c: Likewise.
38187 * math/w_atan2.c: Likewise.
38188 * math/w_atan2f.c: Likewise.
38189 * math/w_atan2l.c: Likewise.
38190 * math/w_atanh.c: Likewise.
38191 * math/w_atanhf.c: Likewise.
38192 * math/w_atanhl.c: Likewise.
38193 * math/w_exp10.c: Likewise.
38194 * math/w_exp10f.c: Likewise.
38195 * math/w_exp10l.c: Likewise.
38196 * math/w_fmod.c: Likewise.
38197 * math/w_fmodf.c: Likewise.
38198 * math/w_fmodl.c: Likewise.
38199 * math/w_j0.c: Likewise.
38200 * math/w_j0f.c: Likewise.
38201 * math/w_j0l.c: Likewise.
38202 * math/w_j1.c: Likewise.
38203 * math/w_j1f.c: Likewise.
38204 * math/w_j1l.c: Likewise.
38205 * math/w_jn.c: Likewise.
38206 * math/w_jnf.c: Likewise.
38207 * math/w_log.c: Likewise.
38208 * math/w_logf.c: Likewise.
38209 * math/w_logl.c: Likewise.
38210 * math/w_log10.c: Likewise.
38211 * math/w_log10f.c: Likewise.
38212 * math/w_log10l.c: Likewise.
38213 * math/w_log2.c: Likewise.
38214 * math/w_log2f.c: Likewise.
38215 * math/w_log2l.c: Likewise.
38216 * math/w_pow.c: Likewise.
38217 * math/w_powf.c: Likewise.
38218 * math/w_powl.c: Likewise.
38219 * math/w_remainder.c: Likewise.
38220 * math/w_remainderf.c: Likewise.
38221 * math/w_remainderl.c: Likewise.
38222 * math/w_scalb.c: Likewise.
38223 * math/w_scalbf.c: Likewise.
38224 * math/w_scalbl.c: Likewise.
38225 * math/w_sqrt.c: Likewise.
38226 * math/w_sqrtf.c: Likewise.
38227 * math/w_sqrtl.c: Likewise.
38228 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38229 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38231 * math/math_private.h: Declare __kernel_standard_f.
38232 * math/w_cosh.c: Remove cruft and optimize a bit.
38233 * math/w_coshf.c: Likewise.
38234 * math/w_coshl.c: Likewise.
38235 * math/w_exp2.c: Likewise.
38236 * math/w_exp2f.c: Likewise.
38237 * math/w_exp2l.c: Likewise.
38238 * math/w_hypot.c: Likewise.
38239 * math/w_hypotf.c: Likewise.
38240 * math/w_hypotl.c: Likewise.
38241 * math/w_lgamma.c: Likewise.
38242 * math/w_lgamma_r.c: Likewise.
38243 * math/w_lgammaf.c: Likewise.
38244 * math/w_lgammaf_r.c: Likewise.
38245 * math/w_lgammal.c: Likewise.
38246 * math/w_lgammal_r.c: Likewise.
38247 * math/w_sinh.c: Likewise.
38248 * math/w_sinhf.c: Likewise.
38249 * math/w_sinhl.c: Likewise.
38250 * math/w_tgamma.c: Likewise.
38251 * math/w_tgammaf.c: Likewise.
38252 * math/w_tgammal.c: Likewise.
38253 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38254 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38255 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38256 Minor optimizations. Pretty printing. Remove cruft.
38257 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38258 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38259 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38260 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38261 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38262 * sysdeps/i386/fpu/e_asin.S: Likewise.
38263 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38264 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38265 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38266 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38267 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38268 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38269 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38270 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38271 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38272 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38273 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38274 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38275 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38276 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38277 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38278 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38279 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38280 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38281 * sysdeps/i386/fpu/e_log.S: Likewise.
38282 * sysdeps/i386/fpu/e_log10.S: Likewise.
38283 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38284 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38285 * sysdeps/i386/fpu/e_log2.S: Likewise.
38286 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38287 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38288 * sysdeps/i386/fpu/e_logf.S: Likewise.
38289 * sysdeps/i386/fpu/e_logl.S: Likewise.
38290 * sysdeps/i386/fpu/e_pow.S: Likewise.
38291 * sysdeps/i386/fpu/e_powf.S: Likewise.
38292 * sysdeps/i386/fpu/e_powl.S: Likewise.
38293 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38294 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38295 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38296 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38297 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38298 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38299 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38300 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38301 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38302 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38303 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38304 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38305 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38306 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38307 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38308 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38309 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38310 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38311 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38312 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38313 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38315 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38316 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38317 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38318 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38319 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38320 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38321 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38322 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38323 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38324 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38325 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38326 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38327 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38328 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38329 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38330 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38331 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38332 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38333 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38334 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38335 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38336 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38337 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38338 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38339 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38340 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38341 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38342 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38343 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38344 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38345 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38346 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38347 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38348 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38349 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38350 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38351 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38352 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38353 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38354 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38355 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38356 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38357 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38358 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38359 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38360 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38361 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38362 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38363 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38364 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38365 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38366 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38367 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38368 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38369 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38370 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38371 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38372 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38373 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38374 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38375 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38376 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38377 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38378 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38379 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38380 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38381 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38382 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38383 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38384 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38385 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38386 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38387 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38388 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38389 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38390 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38391 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38392 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38393 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38394 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38395 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38396 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38397 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38398 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38399 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38400 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38401 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38402 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38403 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38404 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38405 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38406 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38407 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38408 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38409 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38410 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38411 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38412 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38413 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38414 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38415 (__isnanf): Likewise.
38416 (__isinf_ns): Likewise.
38417 (__isinf_nsf): Likewise.
38418 (__finite): Likewise.
38419 (__finitef): Likewise.
38420 (__ieee754_sqrt): Define as macro.
38421 (__ieee754_sqrtf): Define as macro.
38422 (__ieee754_sqrtl): Define as macro.
38423 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38425 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38426 __FINITE_MATH_ONLY__ consistent.
38427 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38429 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38431 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38434 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38436 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38438 * po/ja.po: Update from translation team.
38440 2011-10-08 Roland McGrath <roland@hack.frob.com>
38442 * locale/programs/locarchive.c (prepare_address_space): New function.
38443 (create_archive, enlarge_archive, open_archive): Use it.
38445 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38446 inside [SHARED], where it is used.
38448 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38450 * nss/getent.c (netgroup_keys): Remove unused variable.
38451 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38453 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38455 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38456 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38457 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38458 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38459 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38460 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38461 * math/Makefile (libm-calls): Add s_isinf_ns.
38462 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38463 * math/multc3.c: Likewise.
38464 * math/s_casin.c: Likewise.
38465 * math/s_casinf.c: Likewise.
38466 * math/s_casinl.c: Likewise.
38467 * math/s_ccos.c: Likewise.
38468 * math/s_ccosf.c: Likewise.
38469 * math/s_ccosl.c: Likewise.
38470 * math/s_ctan.c: Likewise.
38471 * math/s_ctanf.c: Likewise.
38472 * math/s_ctanh.c: Likewise.
38473 * math/s_ctanhf.c: Likewise.
38474 * math/s_ctanhl.c: Likewise.
38475 * math/s_ctanl.c: Likewise.
38476 * math/w_fmod.c: Likewise.
38477 * math/w_fmodf.c: Likewise.
38478 * math/w_fmodl.c: Likewise.
38479 * math/w_remainder.c: Likewise.
38480 * math/w_remainderf.c: Likewise.
38481 * math/w_remainderl.c: Likewise.
38482 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38483 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38484 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38485 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38486 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38487 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38488 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38489 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38491 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38493 * stdio-common/printf_fphex.c: Likewise.
38494 * stdio-common/printf_size.c: Likewise.
38496 * math/e_exp10.c: Include math_private.h using <...> not "...".
38497 * math/e_exp10f.c: Likewise.
38498 * math/e_exp10l.c: Likewise.
38499 * math/e_exp2l.c: Likewise.
38500 * math/e_j0l.c: Likewise.
38501 * math/e_j1l.c: Likewise.
38502 * math/e_jnl.c: Likewise.
38503 * math/e_lgammal_r.c: Likewise.
38504 * math/e_rem_pio2l.c: Likewise.
38505 * math/e_scalb.c: Likewise.
38506 * math/e_scalbf.c: Likewise.
38507 * math/e_scalbl.c: Likewise.
38508 * math/k_cosl.c: Likewise.
38509 * math/k_sinl.c: Likewise.
38510 * math/k_tanl.c: Likewise.
38511 * math/s_cacoshf.c: Likewise.
38512 * math/s_catan.c: Likewise.
38513 * math/s_catanf.c: Likewise.
38514 * math/s_catanh.c: Likewise.
38515 * math/s_catanhf.c: Likewise.
38516 * math/s_catanhl.c: Likewise.
38517 * math/s_catanl.c: Likewise.
38518 * math/s_ccosh.c: Likewise.
38519 * math/s_ccoshf.c: Likewise.
38520 * math/s_ccoshl.c: Likewise.
38521 * math/s_cexp.c: Likewise.
38522 * math/s_cexpf.c: Likewise.
38523 * math/s_cexpl.c: Likewise.
38524 * math/s_clog.c: Likewise.
38525 * math/s_clog10.c: Likewise.
38526 * math/s_clog10f.c: Likewise.
38527 * math/s_clog10l.c: Likewise.
38528 * math/s_clogf.c: Likewise.
38529 * math/s_clogl.c: Likewise.
38530 * math/s_csin.c: Likewise.
38531 * math/s_csinf.c: Likewise.
38532 * math/s_csinh.c: Likewise.
38533 * math/s_csinhf.c: Likewise.
38534 * math/s_csinhl.c: Likewise.
38535 * math/s_csinl.c: Likewise.
38536 * math/s_csqrt.c: Likewise.
38537 * math/s_csqrtf.c: Likewise.
38538 * math/s_csqrtl.c: Likewise.
38539 * math/s_ctan.c: Likewise.
38540 * math/s_ctanf.c: Likewise.
38541 * math/s_ctanh.c: Likewise.
38542 * math/s_ctanhf.c: Likewise.
38543 * math/s_ctanhl.c: Likewise.
38544 * math/s_ctanl.c: Likewise.
38545 * math/s_ldexp.c: Likewise.
38546 * math/s_ldexpf.c: Likewise.
38547 * math/s_ldexpl.c: Likewise.
38548 * math/s_significand.c: Likewise.
38549 * math/s_significandf.c: Likewise.
38550 * math/s_significandl.c: Likewise.
38551 * math/w_acos.c: Likewise.
38552 * math/w_acosf.c: Likewise.
38553 * math/w_acosh.c: Likewise.
38554 * math/w_acoshf.c: Likewise.
38555 * math/w_acoshl.c: Likewise.
38556 * math/w_acosl.c: Likewise.
38557 * math/w_asin.c: Likewise.
38558 * math/w_asinf.c: Likewise.
38559 * math/w_asinl.c: Likewise.
38560 * math/w_atan2.c: Likewise.
38561 * math/w_atan2f.c: Likewise.
38562 * math/w_atan2l.c: Likewise.
38563 * math/w_atanh.c: Likewise.
38564 * math/w_atanhf.c: Likewise.
38565 * math/w_atanhl.c: Likewise.
38566 * math/w_cosh.c: Likewise.
38567 * math/w_coshf.c: Likewise.
38568 * math/w_coshl.c: Likewise.
38569 * math/w_dremf.c: Likewise.
38570 * math/w_exp10.c: Likewise.
38571 * math/w_exp10f.c: Likewise.
38572 * math/w_exp10l.c: Likewise.
38573 * math/w_exp2.c: Likewise.
38574 * math/w_exp2f.c: Likewise.
38575 * math/w_fmod.c: Likewise.
38576 * math/w_fmodf.c: Likewise.
38577 * math/w_fmodl.c: Likewise.
38578 * math/w_hypot.c: Likewise.
38579 * math/w_hypotf.c: Likewise.
38580 * math/w_hypotl.c: Likewise.
38581 * math/w_j0.c: Likewise.
38582 * math/w_j0f.c: Likewise.
38583 * math/w_j0l.c: Likewise.
38584 * math/w_j1.c: Likewise.
38585 * math/w_j1f.c: Likewise.
38586 * math/w_j1l.c: Likewise.
38587 * math/w_jn.c: Likewise.
38588 * math/w_jnf.c: Likewise.
38589 * math/w_jnl.c: Likewise.
38590 * math/w_lgamma.c: Likewise.
38591 * math/w_lgamma_r.c: Likewise.
38592 * math/w_lgammaf.c: Likewise.
38593 * math/w_lgammaf_r.c: Likewise.
38594 * math/w_lgammal.c: Likewise.
38595 * math/w_lgammal_r.c: Likewise.
38596 * math/w_log.c: Likewise.
38597 * math/w_log10.c: Likewise.
38598 * math/w_log10f.c: Likewise.
38599 * math/w_log10l.c: Likewise.
38600 * math/w_log2.c: Likewise.
38601 * math/w_log2f.c: Likewise.
38602 * math/w_log2l.c: Likewise.
38603 * math/w_logf.c: Likewise.
38604 * math/w_logl.c: Likewise.
38605 * math/w_pow.c: Likewise.
38606 * math/w_powf.c: Likewise.
38607 * math/w_powl.c: Likewise.
38608 * math/w_remainder.c: Likewise.
38609 * math/w_remainderf.c: Likewise.
38610 * math/w_remainderl.c: Likewise.
38611 * math/w_scalb.c: Likewise.
38612 * math/w_scalbf.c: Likewise.
38613 * math/w_scalbl.c: Likewise.
38614 * math/w_sinh.c: Likewise.
38615 * math/w_sinhf.c: Likewise.
38616 * math/w_sinhl.c: Likewise.
38617 * math/w_sqrt.c: Likewise.
38618 * math/w_sqrtf.c: Likewise.
38619 * math/w_sqrtl.c: Likewise.
38620 * math/w_tgamma.c: Likewise.
38621 * math/w_tgammaf.c: Likewise.
38622 * math/w_tgammal.c: Likewise.
38624 * po/ja.po: Update from translation team.
38626 2011-09-29 Andreas Jaeger <aj@suse.de>
38629 * sunrpc/netname.c (netname2host): Fix logic.
38633 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38635 * math/w_remainder.c (__remainder): Likewise.
38636 * math/w_remainderf.c (__remainderf): Likewise.
38637 * math/libm-test.inc (remainder_test): Add test cases.
38639 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38641 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38644 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38646 * string/test-memcmp.c: Avoid unncessary #defines.
38647 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38649 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38651 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38652 Use new sse2 version for core i3 - i7 as it's faster
38653 than sse42 version.
38654 (bit_Prefer_PMINUB_for_stringop): New.
38655 * sysdeps/x86_64/rawmemchr.S: Update.
38656 Replace with faster SSE2 version.
38657 * sysdeps/x86_64/memrchr.S: New file.
38658 * sysdeps/x86_64/memchr.S: Update.
38659 Replace with faster SSE2 version.
38661 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38663 * elf/dl-load.c (lose): Add cast to avoid warning.
38665 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38667 * po/ca.po: Update from translation team.
38669 * inet/getnetgrent_r.c: Hook up nscd.
38670 * nscd/Makefile (routines): Add nscd_netgroup.
38671 (nscd-modules): Add netgroupcache.
38672 (CFLAGS-netgroupcache.c): Define.
38673 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38674 (cache_search): Add const to second parameter.
38675 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38677 (dbs): Add netgrdb entry.
38678 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38679 (verify_persistent_db): Handle netgrdb.
38680 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38681 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38683 (netgroup_response_header): Define.
38684 (innetgroup_response_header): Define.
38685 (datahead): Add netgroup_response_header and innetgroup_response_header
38687 * nscd/nscd.conf: Add entries for netgroup cache.
38688 * nscd/nscd.h (dbtype): Add netgrdb.
38689 (_PATH_NSCD_NETGROUP_DB): Define.
38690 (netgroup_iov_disabled): Declare.
38691 (xmalloc, xcalloc, xrealloc): Move declarations here.
38692 (cache_search): Adjust prototype.
38693 Add netgroup-related prototypes.
38694 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38695 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38696 (__nscd_innetgr): Declare.
38697 * nscd/selinux.c (perms): Use access_vector_t as element type and
38698 add netgroup-related initializers.
38699 * nscd/netgroupcache.c: New file.
38700 * nscd/nscd_netgroup.c: New file.
38701 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38702 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38703 For four parameters use innetgr.
38704 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38705 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38706 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38707 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38709 * nscd/connections.c (register_traced_file): Don't register file
38710 for disabled databases.
38712 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38714 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38716 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38717 from tree and freeing node.
38719 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38721 * nss/nsswitch.c (__nss_database_lookup): Handle
38722 nss_parse_service_list out of memory case.
38724 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38726 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38727 out of memory case.
38729 2011-10-04 Andreas Schwab <schwab@redhat.com>
38731 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38732 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38734 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38735 elf_machine_rela, elf_machine_lazy_rel.
38736 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38737 (ELF_DYNAMIC_DO_REL): Likewise.
38738 (ELF_DYNAMIC_DO_RELA): Likewise.
38739 (ELF_DYNAMIC_RELOCATE): Likewise.
38740 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38741 to ELF_DYNAMIC_DO_REL.
38742 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38743 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38744 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38746 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38747 skip_ifunc, don't call ifunc function if non-zero.
38748 (elf_machine_rela): Likewise.
38749 (elf_machine_lazy_rel): Likewise.
38750 (elf_machine_lazy_rela): Likewise.
38751 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38752 (elf_machine_lazy_rel): Likewise.
38753 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38755 (elf_machine_lazy_rel): Likewise.
38756 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38758 (elf_machine_lazy_rel): Likewise.
38759 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38760 (elf_machine_lazy_rel): Likewise.
38761 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38762 (elf_machine_lazy_rel): Likewise.
38763 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38764 (elf_machine_lazy_rel): Likewise.
38765 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38766 (elf_machine_lazy_rel): Likewise.
38767 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38768 (elf_machine_lazy_rel): Likewise.
38769 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38770 (elf_machine_lazy_rel): Likewise.
38772 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38774 * nss/nss_files/files-init.c (_nss_files_init): Use static
38775 initialization for all the *_traced_file variables.
38777 2011-09-28 Andreas Schwab <schwab@redhat.com>
38779 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38781 2011-09-27 Roland McGrath <roland@hack.frob.com>
38784 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38786 2011-09-27 Andreas Schwab <schwab@redhat.com>
38788 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38789 Reread the line before reparsing it.
38791 2011-09-26 Andreas Schwab <schwab@redhat.com>
38793 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38795 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38796 Maxim Kuvyrkov <maxim@codesourcery.com>
38797 Joseph Myers <joseph@codesourcery.com>
38799 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38800 if needed for __stack_chk_guard.
38802 2011-09-19 Roland McGrath <roland@hack.frob.com>
38804 * sysdeps/posix/spawni.c (script_execute): Always define it.
38805 It will be optimized away if unused.
38806 (maybe_script_execute): New function.
38807 (__spawni): Call it.
38809 * Makerules: Don't include tls.make.
38810 (config-tls): Always set to thread.
38811 * tls.make.c: File removed.
38813 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38815 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38816 * config.make.in (CPPFLAGS-config): New substituted variable.
38818 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38820 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38823 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38824 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38826 2011-09-15 Roland McGrath <roland@hack.frob.com>
38828 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38829 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38830 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38831 (CALL_FAIL): Likewise.
38832 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38833 (CALL_FAIL): Macro removed.
38834 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38836 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38838 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38839 for __FINITE_MATH_ONLY__ == 1.
38841 2011-09-15 Andreas Schwab <schwab@redhat.com>
38843 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38844 __ieee754_sqrt instead of sqrt.
38845 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38846 __ieee754_sqrtf instead of sqrtf.
38847 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38848 __floorf instead of floorf.
38849 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38850 __floorf, __truncf instead of floorf, truncf.
38852 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38854 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38856 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38857 __extern_always_inline.
38858 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38861 2011-09-14 Andreas Schwab <schwab@redhat.com>
38863 * elf/rtld.c (dl_main): Also relocate in dependency order when
38864 doing symbol dependency testing.
38866 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38868 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38869 Always define `refsym'.
38871 2011-09-13 Andreas Schwab <schwab@redhat.com>
38873 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38874 (__FD_ELT): Renamed from __FDELT.
38875 * misc/bits/select2.h (__FD_ELT): Likewise.
38876 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38877 __FD_MASK instead of __FDELT, __FDMASK.
38878 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38880 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38883 * elf/Makefile (gen-ldd): Fix pattern.
38885 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38886 (init_tls): Likewise.
38888 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38890 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38892 2011-09-12 Andreas Schwab <schwab@redhat.com>
38894 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38895 `struct cmsghdr *' instead of `void *'.
38896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38899 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38901 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38903 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38904 ldd_rewrite_script.
38906 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38908 * configure.in: Remove --with-tls option.
38909 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38910 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38911 out in case it is missing.
38912 * sysdeps/ia64/elf/configure.in: Likewise.
38913 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38914 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38915 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38916 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38917 * sysdeps/sh/elf/configure.in: Likewise.
38918 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38919 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38920 * sysdeps/x86_64/elf/configure.in: Likewise.
38921 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38922 * sysdeps/mach/hurd/tls.h: Likewise.
38925 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38928 * configure.in: Fix use of AC_INIT.
38930 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38932 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38934 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38936 * malloc/hooks.c: Likewise.
38939 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38940 variables statically.
38941 (narenas): Initialize.
38942 (list_lock): Initialize.
38943 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38944 initializtion of main_arena and list_lock. Small cleanups.
38945 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38946 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38947 Add initializers to main_arena and mp_.
38948 (malloc_state): Remove pagesize member. Change all users to use
38951 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38952 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38953 is always initialized.
38955 * malloc/malloc.c: Removed unused configurations and dead code.
38956 * malloc/arena.c: Likewise.
38957 * malloc/hooks.c: Likewise.
38958 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38960 * include/tls.h: Removed. USE___THREAD must always be defined.
38961 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38962 * elf/dl-libc.c: Likewise.
38963 * elf/dl-tsd.c: Likewise.
38964 * include/errno.h: Likewise.
38965 * include/netdb.h: Likewise.
38966 * include/resolv.h: Likewise.
38967 * inet/herrno-loc.c: Likewise.
38968 * inet/herrno.c: Likewise.
38969 * malloc/arena.c: Likewise.
38970 * malloc/hooks.c: Likewise.
38971 * malloc/malloc.c: Likewise.
38972 * resolv/res-state.c: Likewise.
38973 * resolv/res_libc.c: Likewise.
38974 * sysdeps/i386/dl-machine.h: Likewise.
38975 * sysdeps/ia64/dl-machine.h: Likewise.
38976 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38977 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38978 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38979 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38980 * sysdeps/sh/dl-machine.h: Likewise.
38981 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38982 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38983 * sysdeps/unix/i386/sysdep.S: Likewise.
38984 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38985 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38986 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38987 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38988 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38989 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38990 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38991 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38992 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38993 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38994 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38995 * sysdeps/x86_64/dl-machine.h: Likewise.
38996 * tls.make.c: Likewise.
38998 * configure.in: Remove --with-__thread option. Make tests for
38999 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39000 tls_model attribute fail if no support is available. Remove
39002 * Makeconfig: Adjust for dropped configure option. All features are
39004 * Makerules: Likewise.
39005 * Versions.def: Likewise.
39006 * argp/argp-fmtstream.c: Likewise.
39007 * argp/argp-fmtstream.h: Likewise.
39008 * argp/argp-help.c: Likewise.
39009 * assert/assert.c: Likewise.
39010 * config.h.in: Likewise.
39011 * config.make.in: Likewise.
39012 * configure: Likewise.
39013 * configure.in: Likewise.
39014 * csu/Versions: Likewise.
39015 * csu/init.c: Likewise.
39016 * elf/tst-audit2.c: Likewise.
39017 * elf/tst-tls10.c: Likewise.
39018 * elf/tst-tls10.h: Likewise.
39019 * elf/tst-tls11.c: Likewise.
39020 * elf/tst-tls12.c: Likewise.
39021 * elf/tst-tls14.c: Likewise.
39022 * elf/tst-tlsmod11.c: Likewise.
39023 * elf/tst-tlsmod12.c: Likewise.
39024 * elf/tst-tlsmod13.c: Likewise.
39025 * elf/tst-tlsmod13a.c: Likewise.
39026 * elf/tst-tlsmod14a.c: Likewise.
39027 * elf/tst-tlsmod15b.c: Likewise.
39028 * elf/tst-tlsmod16a.c: Likewise.
39029 * elf/tst-tlsmod16b.c: Likewise.
39030 * elf/tst-tlsmod7.c: Likewise.
39031 * elf/tst-tlsmod8.c: Likewise.
39032 * elf/tst-tlsmod9.c: Likewise.
39033 * gmon/gmon.c: Likewise.
39034 * grp/fgetgrent_r.c: Likewise.
39035 * grp/putgrent.c: Likewise.
39036 * hurd/fopenport.c: Likewise.
39037 * include/libc-symbols.h: Likewise.
39038 * include/tls.h: Likewise.
39039 * intl/gettextP.h: Likewise.
39040 * intl/loadinfo.h: Likewise.
39041 * locale/global-locale.c: Likewise.
39042 * locale/localeinfo.h: Likewise.
39043 * mach/devstream.c: Likewise.
39044 * malloc/arena.c: Likewise.
39045 * malloc/set-freeres.c: Likewise.
39046 * misc/err.c: Likewise.
39047 * misc/getttyent.c: Likewise.
39048 * misc/mntent_r.c: Likewise.
39049 * posix/getopt.c: Likewise.
39050 * posix/wordexp.c: Likewise.
39051 * pwd/fgetpwent_r.c: Likewise.
39052 * resolv/Versions: Likewise.
39053 * resolv/res_hconf.c: Likewise.
39054 * shadow/fgetspent_r.c: Likewise.
39055 * shadow/putspent.c: Likewise.
39056 * stdio-common/printf_fphex.c: Likewise.
39057 * stdio-common/tmpfile.c: Likewise.
39058 * stdlib/abort.c: Likewise.
39059 * stdlib/fmtmsg.c: Likewise.
39060 * sunrpc/auth_unix.c: Likewise.
39061 * sunrpc/clnt_perr.c: Likewise.
39062 * sunrpc/clnt_tcp.c: Likewise.
39063 * sunrpc/clnt_udp.c: Likewise.
39064 * sunrpc/clnt_unix.c: Likewise.
39065 * sunrpc/openchild.c: Likewise.
39066 * sunrpc/svc_simple.c: Likewise.
39067 * sunrpc/svc_tcp.c: Likewise.
39068 * sunrpc/svc_udp.c: Likewise.
39069 * sunrpc/svc_unix.c: Likewise.
39070 * sunrpc/xdr.c: Likewise.
39071 * sunrpc/xdr_array.c: Likewise.
39072 * sunrpc/xdr_rec.c: Likewise.
39073 * sunrpc/xdr_ref.c: Likewise.
39074 * sunrpc/xdr_stdio.c: Likewise.
39076 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39078 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39080 2011-07-03 Andreas Jaeger <aj@suse.de>
39082 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39083 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39084 regenerate with gen-libm-tests.pl.
39086 2010-05-12 Petr Baudis <pasky@suse.cz>
39089 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39090 around j0() zero points by switching to j1().
39091 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39092 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39093 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39094 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39096 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39098 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39100 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39103 Patch in part by Pavel Roskin <proski@gnu.org>.
39106 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39108 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39109 Free memory block if necessary.
39112 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39113 be NULL. Don't lock in this case.
39115 2011-09-09 Roland McGrath <roland@hack.frob.com>
39117 * elf/elf.h (ELFOSABI_GNU): New macro.
39118 (ELFOSABI_LINUX): Define to that.
39120 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39122 * string/strncat.c (strncat): Undef the symbol in case it has been
39123 defined in bits/string.h.
39125 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39127 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39129 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39132 2011-08-17 Andreas Jaeger <aj@suse.de>
39134 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39136 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39137 Ian Lance Taylor <iant@google.com>
39139 * math/libm-test.inc (lround_test): New testcase.
39140 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39142 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39144 * Makefile: Remove support for automatic cvs check-ins.
39145 * Makerules: Likewise.
39146 * config.make.in: Likewise.
39147 * configure.in: Likewise.
39148 * intl/Makefile: Likewise.
39149 * locale/Makefile: Likewise.
39150 * po/Makefile: Likewise.
39151 * posix/Makefile: Likewise.
39152 * sysdeps/gnu/Makefile: Likewise.
39153 * sysdeps/mach/hurd/Makefile: Likewise.
39154 * sysdeps/sparc/sparc32/Makefile: Likewise.
39157 * posix/Makefile (bug-regex32-ENV): Define.
39158 Patch by John Stanley <jpsinthemix@verizon.net>.
39160 * misc/Makefile (headers): Add bits/select2.h.
39161 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39162 * misc/bits/select2.h: New file.
39163 * include/bits/select2.h: New file.
39164 * debug/Makefile (routines): Add fdelt_chk.
39165 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39166 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39168 * debug/fdelt_chk.c: New file.
39170 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39171 * wcsmbs/test-wmemcmp.c: Likewise.
39172 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39173 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39175 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39177 * string/Makefile (strop-tests): Add memcmp.
39178 * string/test-wmemcmp.c: New file.
39179 * string/test-memcmp.c: Add wmemcmp support.
39181 2011-09-08 Roland McGrath <roland@hack.frob.com>
39184 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39187 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39188 garbage value in a __mach_port_mod_refs call in the cases of the
39189 task-self and thread-self ports.
39191 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39193 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39195 2011-09-08 Andreas Schwab <schwab@redhat.com>
39197 * elf/dl-load.c (lose): Check for non-null L.
39199 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39201 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39203 * elf/dl-libc.c (dlerror_run): Pass back error code from
39207 * elf/dl-load.c (lose): Free l_origin if it is valid.
39209 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39211 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39212 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39213 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39214 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39215 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39216 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39218 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39220 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39221 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39222 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39223 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39224 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39225 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39226 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39227 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39228 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39229 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39231 2011-08-15 Alan Modra <amodra@gmail.com>
39234 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39235 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39236 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39237 ppc_mcount to static-only-routines.
39238 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39240 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39241 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39243 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39245 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39246 for finite and infinity parameters.
39248 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39250 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39251 and add nop instructions for throughput optimization.
39252 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39254 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39256 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39257 aligned copy for power7 with vector-scalar instructions.
39258 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39260 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39262 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39265 2011-09-07 Andreas Schwab <schwab@redhat.com>
39268 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39271 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39273 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39274 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39275 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39276 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39279 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39281 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39282 Forgot to demangle the pointer.
39284 * sysdeps/i386/sysdep.h: Define atom_text_section.
39285 * sysdeps/x86_64/sysdep.h: Likewise.
39286 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39287 section with atom_text_section.
39288 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39289 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39290 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39291 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39292 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39294 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39295 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39296 already be defined. Change to take two parameters and don't assign
39297 result to variable. Adjust all users.
39298 Define INTERNAL_GETTIME if not already defined.
39299 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39301 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39302 HAVE_CLOCK_GETTIME_VSYSCALL.
39303 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39305 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39306 gettimeofday vsyscall, just use time.
39308 2011-09-06 Andreas Schwab <schwab@redhat.com>
39310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39313 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39315 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39317 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39319 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39320 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39321 syscall if possible.
39323 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39325 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39326 e_ident. Don't pass to find_mapsXX.
39327 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39329 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39332 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39333 * sysdeps/x86_64/multiarch/strchr.S: Update.
39334 Check bit_slow_BSF bit.
39335 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39336 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39337 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39339 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39342 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39344 (tryshell): Define.
39345 (__spawni): Change last parameter to be flag. Test
39346 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39347 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39348 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39349 * posix/spawni.c: Likewise.
39350 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39351 * posix/spawnp.c: Likewise. Change normal version to use
39352 SPAWN_XFLAGS_USE_PATH.
39353 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39354 SPAWN_XFLAGS_TRY_SHELL.
39357 * posix/glob.h: Remove gcc 1.x support.
39360 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39362 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39364 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39365 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39367 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39368 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39369 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39370 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39371 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39372 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39374 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39376 * sysdeps/x86_64/wcscmp.S: New file.
39378 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39379 wcscmp-c wcscmp-sse2
39380 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39381 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39382 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39383 * wcsmbs/wcscmp.c: Allow renaming.
39385 2011-09-05 David S. Miller <davem@davemloft.net>
39387 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39388 stack slot, rather than the struct return pointer slot.
39389 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39390 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39392 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39394 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39396 * po/ja.po: Update from translation team.
39399 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39400 kernel in 64-bit binaries.
39402 2011-09-01 David S. Miller <davem@davemloft.net>
39404 * elf/elf.h (HWCAP_SPARC_*): Move to..
39405 * sysdeps/sparc/sysdep.h: this new file and add new values.
39406 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39407 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39408 _DL_HWCAP_COUNT to 24.
39409 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39411 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39412 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39413 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39414 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39415 instead of magic constants.
39416 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39418 2011-08-31 David S. Miller <davem@davemloft.net>
39420 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39421 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39422 Reimplement to do errno handling inline.
39423 (SYSCALL_ERROR_HANDLER): New macro.
39424 (__SYSCALL_STRING): Do not do errno handling in asm.
39425 (__CLONE_SYSCALL_STRING): Delete.
39426 (__INTERNAL_SYSCALL_STRING): Delete.
39427 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39428 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39429 (PSEUDO): Reimplement to do errno handling inline.
39430 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39431 (SYSCALL_ERROR_HANDLER): New macro.
39432 (__SYSCALL_STRING): Do not do errno handling in asm.
39433 (__CLONE_SYSCALL_STRING): Delete.
39434 (__INTERNAL_SYSCALL_STRING): Delete.
39435 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39436 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39438 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39439 (inline_syscall*): Add 'err' argument.
39440 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39441 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39442 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39443 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39445 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39446 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39448 2011-08-30 Andreas Schwab <schwab@redhat.com>
39450 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39452 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39454 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39457 2011-08-24 David S. Miller <davem@davemloft.net>
39459 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39461 2011-08-24 Andreas Schwab <schwab@redhat.com>
39463 * elf/Makefile: Add rules to build and run unload8 test.
39464 * elf/unload8.c: New file.
39465 * elf/unload8mod1.c: New file.
39466 * elf/unload8mod1x.c: New file.
39467 * elf/unload8mod2.c: New file.
39468 * elf/unload8mod3.c: New file.
39470 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39473 2011-08-23 David S. Miller <davem@davemloft.net>
39475 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39476 subtract stack bias.
39477 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39478 %sp not %fp in calculations.
39479 (_JMPBUF_UNWINDS_ADJ): Likewise.
39481 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39482 (aio_suspend): Call it to force an exception region around the
39483 AIO_MISC_WAIT() invocation.
39485 2011-08-23 Andreas Schwab <schwab@redhat.com>
39487 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39490 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39492 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39494 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39495 and <dl-machine.h>.
39496 (Elf64_FuncDesc): Remove.
39498 2011-08-22 David S. Miller <davem@davemloft.net>
39500 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39501 sigaltstack check, add missing cfi directives.
39502 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39503 missing cfi directives, and sigaltstack handling.
39505 2011-08-16 Andreas Schwab <schwab@redhat.com>
39508 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39509 object is seen twice.
39510 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39512 * elf/Makefile (distribute): Add tst-initorder2.c.
39513 (tests): Add tst-initorder2.
39514 (modules-names): Add tst-initorder2a tst-initorder2b
39515 tst-initorder2c tst-initorder2d. Add rules to build them.
39516 ($(objpfx)tst-initorder2.out): New rule.
39517 * elf/tst-initorder2.c: New file.
39518 * elf/tst-initorder2.exp: New file.
39520 2011-08-22 Andreas Schwab <schwab@redhat.com>
39522 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39524 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39525 dependencies back to end of function.
39527 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39528 $(elfobjdir)/ld.so.
39530 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39532 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39533 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39534 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39535 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39536 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39537 of __vdso_gettimeofday.
39538 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39539 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39541 (_libc_vdso_platform_setup): Remove initialization of
39542 __vdso_gettimeofday and __vdso_time.
39544 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39546 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39547 and fgetc_unlocked.
39548 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39551 * elf/dl-open.c (add_to_global): Report additions to the global scope
39552 for LD_DEBUG=scopes.
39553 (dl_open_worker): Also print scope of newly loaded dependencies.
39554 (_dl_show_scope): Indicate if there is no scope.
39557 * stdio-common/Makefile (tests): Add bug24.
39558 * stdio-common/bug24.c: New file.
39560 2011-08-19 Andreas Jaeger <aj@suse.de>
39563 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39564 non-existant file when using close-on-exec mode.
39566 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39568 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39569 the very first instruction.
39571 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39572 the CFI state in the end.
39573 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39574 inclusion of dl-trampoline.h.
39575 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39577 2011-08-19 Andreas Schwab <schwab@redhat.com>
39579 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39580 expectations for long double.
39582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39583 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39585 2011-08-14 David S. Miller <davem@davemloft.net>
39587 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39588 artificual limit depends upon the system page size.
39590 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39592 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39593 * resolv/Makefile: Define CFLAGS-libresolv.
39595 2011-08-17 Andreas Schwab <schwab@redhat.com>
39597 * nss/makedb.c (compute_tables): Make variables used in nested
39600 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39602 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39603 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39604 if buffer was too small.
39606 * elf/pldd.c (main): Attach to all threads in the process.
39607 Rewrite /proc handling to use *at functions.
39609 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39611 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39612 specifies first scope to show.
39613 (dl_open_worker): Update callers. Move printing scope of new
39614 object to before the relocation.
39615 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39616 * sysdeps/generic/ldsodefs.h: Update declaration.
39618 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39619 string for the scope number.
39621 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39623 * nscd/servicescache.c (cache_addserv): Make sure written is always
39626 2011-08-14 Roland McGrath <roland@hack.frob.com>
39628 * sysdeps/i386/i486/bits/atomic.h
39629 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39630 statement expression, so as to suppress "set but not used" warning.
39631 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39633 * string/strncat.c (STRNCAT): Use prototype definition.
39635 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39636 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39638 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39639 (localedef-modules): Add localedef.
39640 (locale-modules): Add locale.
39642 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39643 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39644 to avoid a warning.
39646 2011-08-14 David S. Miller <davem@davemloft.net>
39648 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39649 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39651 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39653 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39654 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39655 * elf/rtld.c (dl_main): Set l_name of vDSO.
39656 Call _dl_show_scope when DL_DEBUG_SCOPES.
39657 (process_dl_debug): Recognize scopes flag and also set it for all.
39658 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39659 Declare _dl_show_scope.
39661 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39662 (do_dlopen): Pass caller_dlopen to dl_open.
39663 (__libc_dlopen_mode): Initialize caller_dlopen.
39665 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39666 of libc. Make tolower call locale-independent. Optimize a bit by
39667 using isdigit instead of isalnum.
39668 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39670 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39672 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39673 was a dependency or dynamically loaded.
39675 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39677 * intl/l10nflist.c: Allow architecture-specific pop function.
39678 * sysdeps/x86_64/l10nflist.c: New file.
39680 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39683 2011-08-10 Andreas Schwab <schwab@redhat.com>
39685 * include/dirent.h: Add libc_hidden_proto for scandirat and
39686 scandirat64. Don't declare __scandirat64.
39687 * dirent/scandirat.c: Add libc_hidden_def.
39688 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39689 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39691 2011-08-10 David S. Miller <davem@davemloft.net>
39693 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39695 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39696 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39697 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39699 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39701 * Versions.def [libc]: Add GLIBC_2.15.
39702 * dirent/Makefile (routines): Add scandirat and scandirat64.
39703 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39705 * dirent/dirent.h: Declare scandirat and scandirat64.
39706 * dirent/scandirat.c: New file.
39707 * dirent/scandirat64.c: New file.
39708 * sysdeps/wordsize-64/scandirat.c: New file.
39709 * sysdeps/wordsize-64/scandirat64.c: New file.
39710 * dirent/opendir.c: Define opendirat.
39711 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39713 * dirent/scandir64.c: Adjust for scandir.c change.
39714 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39715 __scandirat64, and __scandir_cancel_handler.
39716 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39717 additional parameter and use openat instead of open (outside of ld.so).
39718 Add new __opendir as wrapper around __opendirat.
39719 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39720 here without requiring old scandirat implementation.
39722 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39724 * dirent/scandir.c (cancel_handler): Renamed to
39725 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39726 defined. Adjust users.
39727 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39728 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39730 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39732 * string/test-string.h (IMPL): Use __STRING to expand name and then
39735 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39738 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39740 * string/Makefile: Update.
39741 (strop-tests): Append strncat.
39742 * string/test-wcscmp.c: New file.
39743 New comprehensive test for wcscmp.
39744 * string/test-strcmp.c: Update.
39745 (WIDE): New define.
39747 2011-07-22 Andreas Schwab <schwab@redhat.com>
39749 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39752 2011-07-26 Andreas Schwab <schwab@redhat.com>
39754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39755 encoding to ACE if AI_IDN.
39757 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39759 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39760 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39762 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39764 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39765 Fix overflow bug in strncat.
39766 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39768 * string/test-strncat.c: Update.
39769 Add new tests for checking overflow bugs.
39771 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39773 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39774 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39775 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39776 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39777 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39778 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39779 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39780 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39781 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39783 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39784 (USE_AS_STRCAT): Define.
39785 Add strcat and strncat support.
39786 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39788 2011-07-25 Andreas Schwab <schwab@redhat.com>
39790 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39791 __n bigger than INT_MAX+1.
39792 (__strncmp_g): Likewise.
39794 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39796 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39797 * libio/stido.h: Likewise.
39799 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39801 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39804 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39805 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39806 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39807 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39808 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39811 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39814 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39816 (_dl_x86_64_save_sse): Likewise.
39818 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39820 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39822 (_dl_x86_64_save_sse): Likewise.
39824 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39826 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39828 2011-07-21 Andreas Schwab <schwab@redhat.com>
39830 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39832 (_dl_x86_64_save_sse): Use correct AVX check.
39834 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39836 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39837 bug in strncpy/strncat.
39838 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39840 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39842 * string/tester.c (test_strcat): Add tests for different alignments
39843 of source and destination.
39844 (test_strncat): Likewise.
39846 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39849 * posix/glob.c (glob): Check passed in values before using them in
39850 expressions to avoid some overflows.
39851 (glob_in_dir): Likewise.
39854 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39855 check for AVX enablement so that we don't crash with old kernels and
39857 * elf/tst-audit4.c: Add same checks here.
39858 * elf/tst-audit6.c: Likewise.
39860 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39862 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39864 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39866 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39868 * po/cs.po: Update from translation team.
39869 * po/bg.po: Likewise.
39871 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39873 * misc/sys/cdefs.h: Add support for const attribute.
39874 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39875 to gnu_dev_{major,minor,makedev} functions.
39877 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39879 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39881 2011-07-20 Andreas Schwab <schwab@redhat.com>
39883 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39886 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39888 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39889 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39890 register in order to avoid conflicts with the soft frame pointer
39891 being held in r11 when necessary.
39892 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39893 (INTERNAL_VSYSCALL_NCS): Likewise.
39895 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39897 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39898 * elf/dl-fini.c (_dl_fini): Adjust caller.
39899 * elf/dl-close.c (_dl_close_worker): Likewise.
39900 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39902 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39904 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39905 "aux_cache->nlibs < 0".
39907 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39908 in the reload-count case.
39910 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39913 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39914 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39915 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39916 * sysdeps/x86_64/multiarch/strcat.S: New file.
39917 * sysdeps/x86_64/multiarch/strncat.S: New file.
39918 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39919 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39920 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39921 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39922 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39923 (USE_AS_STRCAT): Define.
39924 Add strcat and strncat support.
39925 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39926 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39927 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39928 * string/strncat.c: Update.
39929 (USE_AS_STRNCAT): Define.
39930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39931 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39933 * sysdeps/x86_64/multiarch/init-arch.h
39934 (bit_Prefer_PMINUB_for_stringop): New.
39935 (index_Prefer_PMINUB_for_stringop): Likewise.
39936 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39937 bit_Prefer_PMINUB_for_stringop.
39939 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39941 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39943 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39944 of casting of buffer.
39945 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39946 buffer32 and buffer64.
39947 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39948 writes instead of casting of buffer.
39949 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39951 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39954 2011-07-19 Andreas Schwab <schwab@redhat.com>
39956 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39958 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39960 * nscd/nscd.c (termination_handler): Don't do anything for a database
39961 if it has not yet been initialized.
39963 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39965 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39967 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39969 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39971 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39973 * po/nl.po: Update from translation team.
39974 * po/sv.po: Likewise.
39976 2011-07-16 Roland McGrath <roland@hack.frob.com>
39978 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39979 now disallowed by GCC.
39981 * configure.in (use-default-link): Default to yes if a test -shared
39982 link meets our qualifications.
39983 * configure: Regenerated.
39985 * config.make.in (output-format): New variable.
39986 * configure.in: Check for ld --print-output-format support.
39987 * configure: Regenerated.
39988 * Makerules ($(common-objpfx)format.lds)
39989 [$(output-format) != unknown]: Just use $(output-format),
39990 instead of the linker-script munging.
39992 2011-07-14 Roland McGrath <roland@hack.frob.com>
39994 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39995 of $(common-objpfx)shlib.lds.
39996 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39998 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39999 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40001 * configure.in (-z relro check): Adjust test code to add a large
40002 writable data section after it.
40003 * configure: Regenerated.
40005 2011-07-11 Roland McGrath <roland@hack.frob.com>
40007 * configure.in (-z relro check): Fix test code to make the variable
40009 * configure: Regenerated.
40011 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40013 * nscd/nscd.h (struct traced_file): Define.
40014 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40015 elements. Add traced_files.
40016 (inotify_fd): Declare.
40017 (register_traced_file): Declare.
40018 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40019 (inotify_fd): Export.
40020 (resolv_conf_descr): Remove.
40021 (nscd_init): Move inotify descriptor creation to main.
40022 Don't register files for notification here.
40023 (register_traced_file): New function.
40024 (invalidate_cache): Don't use reset_res to determine whether to call
40025 res_init, go through the list of registered files.
40026 (main_loop_poll): The inotify descriptors are now stored in the
40027 structures for the traced files.
40028 (main_loop_epoll): Likewise
40029 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40030 to __nss_disable_nscd.
40031 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40032 for a database anymore. Check the records for all the registered
40034 * nss/Makefile (libnss_files-routines): Add files-init.
40035 (libnss_db-routines): Add db-init.
40036 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40037 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40038 * nss/nss_db/db-init.c: New file.
40039 * nss/nss_files/files-init.c: New file.
40040 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40041 __nss_lookup_function.
40042 (__nss_lookup_function): Call nss_load_library.
40043 (nss_load_all_libraries): New function.
40044 (__nss_disable_nscd): Take parameter with callback function for files
40045 to register. Set is_nscd. Load all the DSOs for the NSS modules
40046 used for the cached services.
40047 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40048 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40049 options for features to all the files in nscd.
40051 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40053 2011-07-10 Roland McGrath <roland@hack.frob.com>
40055 * csu/elf-init.c (__libc_csu_init): Comment typo.
40057 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40059 * po/pl.po: Update from translation team.
40060 * po/ja.po: Likewise.
40061 * po/ru.po: Likewise.
40062 * po/ko.po: Likewise.
40063 * po/fr.po: Likewise.
40065 2011-07-09 Roland McGrath <roland@hack.frob.com>
40067 * configure.in (.ctors/.dtors header and trailer check):
40068 Use an empirical test on a built program.
40069 * configure: Regenerated.
40071 * configure.in (-z relro check): Use an empirical test on a built DSO.
40072 Detect, but do not require, on ia64.
40073 * configure: Regenerated.
40075 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40076 Update tests that use readelf to use $READELF instead.
40077 * configure: Regenerated.
40079 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40081 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40082 if the result is not used.
40084 2011-07-05 Andreas Jaeger <aj@suse.de>
40087 * stdlib/tst-strtod.c: Add testcase.
40089 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40091 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40092 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40093 The latter has a higher limit. Take additional parameter to pass to
40095 (__pathconf): Pass file to __statfs_link_max.
40096 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40098 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40102 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40103 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40105 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40106 (__statfs_filesize_max): Likewise.
40107 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40109 2011-07-05 Andreas Jaeger <aj@suse.de>
40111 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40113 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40115 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40117 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40120 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40122 * Makefile (strop-tests): Add strncat.
40123 * string/test-strncat.c: New file.
40125 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40127 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40129 2011-06-21 Andreas Jaeger <aj@suse.de>
40131 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40132 Copy rule from iconvdata/Makefile.
40134 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40137 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40138 but no long options are defined, just return 'W'.
40140 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40143 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40145 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40147 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40149 (innetgr): Likewise.
40151 2011-07-05 Roland McGrath <roland@hack.frob.com>
40153 * config.make.in (install_root): Default to $(DESTDIR).
40155 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40157 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40159 2011-07-02 Roland McGrath <roland@hack.frob.com>
40161 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40163 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40164 containing directory rather than embedding absolute directory names.
40166 * scripts/check-local-headers.sh: Rewritten using awk.
40167 Match by word, not by line. Print error messages for matches.
40168 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40170 * Makerules [shlib-lds-flags empty]:
40171 ($(common-objpfx)libc_pic.opts): New target.
40172 ($(common-objpfx)libc_pic.os.clean): New target.
40173 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40175 * config.make.in (OBJCOPY): New variable.
40176 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40177 * configure: Regenerated.
40179 * config.make.in (use-default-link): New variable.
40180 * configure.in (use_default_link): Grok --with-default-link to set it.
40181 * configure: Regenerated.
40182 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40183 (shlib-lds, shlib-lds-flags): Define to empty.
40185 * Makerules (shlib-lds): New variable.
40186 (shlib-lds-flags): New variable.
40187 (build-shlib, build-moduile, build-module-asneeded): Use it.
40188 ($(common-objpfx)libc.so): Use $(shlib-lds).
40189 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40190 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40192 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40193 DT_FLAGS/DT_FLAGS_1 with zero flags.
40195 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40196 linker script munging.
40198 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40200 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40202 * crypt/sha512.c (sha512_process_block): Perform total addition using
40203 128-bit if possible.
40204 (__sha512_finish_ctx): Likewise.
40205 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40207 * crypt/sha256.c (SWAP64): Define.
40208 (sha256_process_block): Perform total addition using 64-bit if
40210 (__sha256_finish_ctx): Likewise.
40212 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40214 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40215 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40216 * nscd/hstcache.c (cache_addhst): Likewise.
40217 * nscd/grpcache.c (cache_addgr): Likewise.
40218 * nscd/aicache.c (addhstaiX): Likewise
40219 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40221 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40223 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40224 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40225 * nscd/hstcache.c (cache_addhst): Likewise.
40226 * nscd/grpcache.c (cache_addgr): Likewise.
40227 * nscd/aicache.c (addhstaiX): Likewise
40229 2011-07-01 Andreas Schwab <schwab@redhat.com>
40231 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40232 domain only when needed.
40234 2011-06-30 Andreas Schwab <schwab@redhat.com>
40236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40237 is always restored.
40239 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40241 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40242 are re-adding the entry.
40243 * nscd/servicescache.c (cache_addserv): Likewise.
40245 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40247 * sysdeps/generic/dl-irel.h: fix protection against multiple
40249 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40251 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40254 * malloc/memusage.sh: Fix quoting in message.
40255 * debug/xtrace.sh: Likewise.
40257 * configure.in: Remove support for --experimental-malloc option, make
40259 * config.make.in: Likewise.
40260 * malloc/Makefile: Likewise.
40262 2011-06-27 Andreas Schwab <schwab@redhat.com>
40264 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40265 two-byte characters.
40267 2011-06-27 Roland McGrath <roland@hack.frob.com>
40269 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40270 AC_CACHE_CHECK invocation.
40271 * configure: Regenerated.
40273 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40275 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40278 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40279 bit from old_res_options.
40281 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40283 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40284 value type for setfct.
40286 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40288 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40289 __gettimeofday instead of gettimeofday.
40291 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40293 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40295 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40297 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40299 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40302 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40305 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40306 strcpy-sse2-unaligned strncpy-sse2-unaligned
40307 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40308 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40309 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40310 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40311 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40312 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40313 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40314 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40315 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40316 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40317 (STRCPY): Support SSE2 and SSSE3 versions.
40319 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40322 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40323 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40324 kernels which artificially limit size of requests.
40326 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40328 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40329 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40330 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40331 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40332 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40333 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40334 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40335 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40336 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40337 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40338 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40339 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40340 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40341 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40342 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40344 Enable unaligned load optimization for Intel Core i3, i5 and i7
40346 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40348 (index_Fast_Unaligned_Load): Define.
40349 (HAS_FAST_UNALIGNED_LOAD): Define.
40351 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40353 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40355 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40358 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40359 until it is clear that the information is realy needed.
40360 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40362 2011-06-22 Andreas Schwab <schwab@redhat.com>
40364 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40366 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40368 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40369 /sys/devices/system/cpu/online if it is usable.
40371 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40372 reading the information from the /proc filesystem to once a second.
40374 2011-06-21 Andreas Jaeger <aj@suse.de>
40376 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40377 NULL after inclusion of kernel headers.
40379 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40381 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40382 calls to internal_setent.
40385 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40386 addresses using gethostbyname4_r ignore IPv4 addresses.
40388 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40389 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40391 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40393 2011-06-20 David S. Miller <davem@davemloft.net>
40395 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40397 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40399 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40400 (elf_irel): Use it.
40401 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40402 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40403 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40404 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40405 * sysdeps/x86_64/dl-irel.h: Likewise.
40407 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40408 * elf/dl-sym.c: Likewise.
40410 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40412 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40413 need to dereference resplen2.
40415 2011-06-14 Andreas Schwab <schwab@redhat.com>
40417 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40419 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40421 * Makeconfig: Define vardbdir and inst_vardbdir.
40422 * nss/Makefile: Add rules to install db-Makefile.
40424 * nss/nss_db/db-XXX.c: Cleanup.
40426 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40427 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40429 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40430 * nss/makedb.c: Implement -g option to specify that value strings
40431 are generated and should not be added to table iterated over for
40433 * nss/nss_db/db-initgroups.c: New file.
40435 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40438 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40439 (internal_getgrouplist): Adjust to name change.
40440 Update use_initgroups_entry if this is not the first call.
40441 * nss/databases.def: Add initgroups entry.
40443 * nss/makedb.c (compute_tables): Check result of multiple hash table
40444 sizes to minimize maximum chain length.
40446 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40448 * Versions.def: Add entry for libnss_db.
40449 * shlib-versions: Likewise.
40450 * nss/Makefile: Add rules to build libnss_db.
40451 * nss/Versions: Add libnss_db information. Organize libnss_files
40453 * nss/db-Makefile: Add gshadow support. Change rules for the new
40454 makedb progra. Some minor improvements to generate smaller files.
40455 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40457 * nss/makedb.c: ...here.
40458 Improve database format to be smaller and require less memory at
40460 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40462 * nss/nss_db/db-netgrp.c: Likewise.
40463 * nss/nss_db/db-open.c: Likewise.
40464 * nss/nss_files/flies-XXX.x: Adjust comments.
40465 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40466 * nss/nss_files/files-grp.c: Likewise.
40467 * nss/nss_files/files-hosts.c: Likewise.
40468 * nss/nss_files/files-network.c: Likewise.
40469 * nss/nss_files/files-proto.c: Likewise.
40470 * nss/nss_files/files-pwd.c: Likewise.
40471 * nss/nss_files/files-rpc.c: Likewise.
40472 * nss/nss_files/files-service.c: Likewise.
40473 * nss/nss_files/files-sgrp.c: Likewise.
40474 * nss/nss_files/files-spwd.c: Likewise.
40475 * nss/nss_db/db-alias.c: Removed.
40476 * nss/nss_db/dummy-db.h: Removed.
40478 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40480 * nss/makedb.c: Rewritten to not use database library.
40481 * nss/Makefile: Update to build new makedb program.
40483 2011-06-14 Andreas Jaeger <aj@suse.de>
40485 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40486 memset declaration.
40488 2011-06-10 Andreas Schwab <schwab@redhat.com>
40490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40493 2011-06-10 Roland McGrath <roland@hack.frob.com>
40495 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40496 * elf/Makefile ($(objpfx)ld.so): Likewise.
40498 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40499 Don't list ld.so twice in dependencies.
40501 * posix/bug-regex31.c: Include <stdlib.h>.
40503 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40505 * nis/nss_compat/compat-spwd.c
40506 (getspent_next_nss_netgr): Remove unused variable.
40507 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40509 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40510 nonmembers" output to use the right array.
40512 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40514 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40516 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40517 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40518 * catgets/gencat.c (read_input_file): Likewise.
40519 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40521 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40522 variable definition inside #if's controlling its use.
40524 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40526 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40528 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40530 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40533 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40535 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40536 * configure: Regenerated.
40538 * Makerules: Revert last change.
40539 * elf/Makefile: Likewise.
40541 2011-06-09 Roland McGrath <roland@hack.frob.com>
40543 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40544 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40545 (reloc-link): Likewise.
40547 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40549 * elf/Makefile: Add rules to build pldd.
40550 * elf/pldd.c: New file.
40551 * elf/pldd-xx.c: New file.
40553 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40555 * version.h: Update for 2.15 development version.
40557 2011-06-07 David S. Miller <davem@davemloft.net>
40559 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40561 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40562 elf_machine_lazy_rel): Likewise.
40563 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40564 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40565 elf_machine_lazy_rel): Likewise.
40566 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40567 dl_hwcap via passed in argument.
40568 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40571 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40573 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40575 2011-06-06 Roland McGrath <roland@hack.frob.com>
40578 * manual/fdl-1.1.texi: New file, verbatim from:
40579 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40580 * manual/lgpl-2.1.texi: New file, verbatim from:
40581 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40582 * manual/Makefile (licenses): New variable, list those new file names.
40584 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40586 * manual/fdl.texi: File removed.
40587 * manual/lesser.texi: File removed.
40588 * manual/libc.texinfo (Copying, Documentation License):
40589 Use new @include file names, put @appendix directive before @include.
40591 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40594 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40595 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40596 (mq_open): Add __NTH.
40598 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40601 Assume Intel Core i3/i5/i7 processor if AVX is available.
40603 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40605 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40608 2011-05-31 Andreas Schwab <schwab@redhat.com>
40610 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40611 memory. Use alloca_account. Fix memory leak when retrying.
40613 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40615 * version.h (RELEASE): Bump for 2.14 release.
40616 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40618 * config.make.in (RANLIB): Remove entry.
40620 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40622 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40623 (libc.pot): Work around missing support for .ksh extension in xgettext.
40626 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40627 if both request failed.
40628 (send_dg): In case of server errors clear resplen or *resplen2.
40631 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40632 when there are multiple maps.
40633 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40634 (_dl_fini): Remove test here.
40636 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40638 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40641 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40642 bit from old_res_options.
40643 (gaih_inet): Likewise.
40646 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40649 * resolv/res_init.c (res_setoptions): Make the code more compact.
40652 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40656 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40658 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40661 * malloc/malloc.h: Declare malloc hook variables as volatile.
40663 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40667 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40668 raise in the comment.
40669 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40670 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40671 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40673 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40676 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40677 grow the buffers more if it already has to be sufficient.
40678 (build_wcs_upper_buffer): Likewise.
40679 * posix/regexec.c (check_matching): Likewise.
40680 (clean_state_log_if_needed): Likewise.
40681 (extend_buffers): Don't enlarge buffers beyond size of the input
40683 Patches mostly by Emil Wojak <emil@wojak.eu>.
40684 * posix/bug-regex32.c: New file.
40685 * posix/Makefile (tests): Add bug-regex32.
40687 * locale/findlocale.c (_nl_find_locale): Return right away if
40688 _nl_explode_name failed.
40689 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40691 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40693 * debug/xtrace.sh: Unify messages.
40694 * malloc/memusage.sh: Likewise.
40697 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40698 time symbol from vDSO. Substitute with vsyscall if not available.
40699 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40702 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40703 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40704 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40705 Add sendmmsg and internal_sendmmsg.
40706 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40707 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40708 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40710 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40711 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40712 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40714 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40717 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40718 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40720 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40724 * iconvdata/Makefile (tests): Add bug-iconv9.
40725 * iconvdata/bug-iconv9.c: New file.
40727 2011-05-27 Andreas Schwab <schwab@redhat.com>
40730 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40732 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40734 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40735 (struct user_regs_struct): Change intcs field back to cs.
40737 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40739 * po/ja.po: Update from translation team.
40741 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40744 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40745 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40747 2011-05-20 Andreas Schwab <schwab@redhat.com>
40749 * stdlib/longlong.h: Update from GCC.
40751 2011-05-23 Andreas Schwab <schwab@redhat.com>
40753 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40755 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40756 Add parameter name.
40757 (__sysconf): Pass it down.
40759 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40762 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40764 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40765 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40766 add in in __libc_use_alloca calls. Adjust callers.
40767 (glob): Use malloc in some situations.
40769 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40770 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40773 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40775 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40776 and CLOCK_BOOTTIME_ALARM.
40779 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40782 * string/_strerror.c (__strerror_r): Print negative errors as signed
40786 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40787 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40788 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40790 * configure.in: Fix typo in redirection and correct removal of test
40791 files in two cases.
40794 * locale/setlocale.c (new_composite_name): Fix test to check for
40795 identical name of all categories.
40798 * libio/filedoalloc.c (local_isatty): New function.
40799 (_IO_file_doallocate): Use local_isatty.
40800 * stdio-common/perror.c (perror): In case a new stream is used
40801 forward the stream error.
40802 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40805 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40810 * include/alloca.h (extend_alloca_account): Define.
40813 * posix/regex.h: Fix comments with documentation of user-accessible
40814 fields after compilation and describe correct free'ing of pattern
40815 after re_compile_pattern.
40816 Patch by Reuben Thomas <rrt@sc3d.org>.
40818 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40820 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40821 and -mno-altivec to prevent the compiler from using Altivec and/or
40822 VSX instructions when the corresponding registers are not available.
40824 2011-05-19 Andreas Schwab <schwab@redhat.com>
40826 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40828 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40830 * libio/freopen.c (freopen): Use __dup2, not dup2.
40831 * libio/freopen64.c (freopen64): Likewise.
40833 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40836 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40837 * math/Makefile (tests): Add test-powl.
40838 (CFLAGS-test-powl.c): Define.
40839 * math/test-powl.c: New file.
40841 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40843 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40845 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40848 * iconvdata/gb18030.c: Update to GB18020-2005.
40850 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40852 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40853 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40854 Patch by Aharon Robbins <arnold@skeeve.com>.
40857 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40861 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40862 through underflows.
40865 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40866 point to strings before performing equality test for error_one_per_line
40870 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40873 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40874 (struct user_fpregs_struct): Avoid __uint*_t types.
40877 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40878 symbol info. Use it instead of calling _dl_addr locally.
40879 (lock_and_info): New function.
40880 (tr_freehook): Call lock_and_info and pass symbol info as additional
40881 parameter to tr_where.
40882 (tr_mallochook): Likewise.
40883 (tr_reallochook): Likewise.
40884 (tr_memalignhook): Likewise.
40886 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40887 used and couldn't be at all thread-safe.
40889 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40891 * libio/freopen.c (freopen): Don't close old file descriptor
40892 before the new one is opened. Instead dup the new file descriptor
40893 to the old one after the new stream is created.
40894 * libio/freopen64.c (freopen64): Likewise.
40895 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40896 * libio/fileops.c (_IO_new_file_close_it): Handle new
40897 _IO_FLAGS2_NOCLOSE flag.
40898 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40899 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40900 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40901 _IO_FLAGS2_NOCLOSE flag.
40902 * include/unistd.h: Add hidden_proto for dup3.
40903 Define __have_dup3.
40904 * io/dup3.c: Define hidden symbol.
40905 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40908 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40909 when an incomplete long option is used.
40910 * posix/tst-getopt_long1.c: New file.
40911 * posix/Makefile (tests): Add tst-getopt_long1.
40914 * scripts/config.guess: Update from autoconf-2.68.
40915 * scripts/config.sub: Likewise.
40918 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40920 (has_cpuclock): ...this. New function.
40921 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40922 macro here based on has_cpuclock code.
40925 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40926 First byte (not low byte) is now always NUL.
40927 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40929 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40930 Use non-cancelable interfaces.
40933 * locale/iso-639.def: Add entry for Sorani.
40936 * include/stdlib.h: Move include protection to the right place.
40937 Define abort_msg_s. Declare __abort_msg with it.
40938 * stdlib/abort.c (__abort_msg): Adjust type.
40939 * assert/assert.c (__assert_fail_base): New function. Majority
40940 of code from __assert_fail. Allocate memory for __abort_msg with
40942 (__assert_fail): Now call __assert_fail_base.
40943 * assert/assert-perr.c: Remove bulk of implementation. Use
40944 __assert_fail_base.
40945 * include/assert.hL Declare __assert_fail_base.
40946 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40948 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40950 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40954 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40955 until all modules are registered in the DTV.
40956 * elf/Makefile: Add rules to build and run tst-tls19.
40957 * elf/tst-tls19.c: New file.
40958 * elf/tst-tls19mod1.c: New file.
40959 * elf/tst-tls19mod2.c: New file.
40960 * elf/tst-tls19mod3.c: New file.
40961 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40964 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40968 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40969 two-byte sequence errors.
40970 * iconvdata/Makefile (tests): Add bug-iconv8.
40971 * iconvdata/bug-iconv8.c: New file.
40974 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40977 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40980 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40981 (dummy_getcfa): New function.
40982 (init): Get _Unwind_GetCFA address, use dummy if not found.
40983 (backtrace_helper): In recursion check, also check whether CFA changes.
40984 (__backtrace): Completely initialize arg.
40986 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40987 storing incomplete byte sequence in state object. Avoid testing for
40988 guaranteed too small input if we know there is enough data available.
40990 2011-05-11 Andreas Schwab <schwab@redhat.com>
40992 * Makeconfig (+link-pie): Indent.
40993 * Rules (binaries-pie): Define if $(have-fpie) and
40995 (binaries-shared): Also filter out $(binaries-pie).
40996 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40997 * nscd/Makefile (others-pie): Add nscd.
40998 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40999 ($(objpfx)nscd): Remove command override.
41000 * login/Makefile (others-pie): Add pt_chown.
41001 ($(objpfx)pt_chown): Remove command override.
41002 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41003 remove command overrides.
41005 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41007 * libio/tst_putwc.c: Fix error messages.
41010 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41011 currently writing and seek to current position when not.
41012 * libio/Makefile (tests): Add bug-fclose1.
41013 * libio/bug-fclose1.c: New file.
41015 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41018 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41019 don't set DF_1_NODELETE here.
41020 (do_lookup_x): When entering new entry test for copy relocation
41021 and if necessary set DF_1_NODELETE flag.
41022 * elf/tst-unique4.cc: New file.
41023 * elf/tst-unique4.h: New file.
41024 * elf/tst-unique4lib.cc: New file.
41025 * elf/Makefile: Add rules to build and run tst-unique4.
41026 Patch by Piotr Bury <pbury@goahead.com>.
41028 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41031 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41034 * misc/mntent_r.c (addmntent): Flush the stream after the output
41037 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41038 (is_trusted_path_normalize): Skip initial colon. Append slash
41039 to empty buffer. Duplicate is_trusted_path code but allow
41040 constructed patch to be prefix.
41041 (is_dst): Allow $ORIGIN followed by /.
41042 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41043 Correct testing of result of is_trusted_path_normalize
41044 (decompose_rpath): Fix warning.
41046 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41049 * grp/initgroups.c (internal_getgrouplist): When we found the service
41050 list through the initgroups entry in nsswitch.conf do not always
41051 continue on a successful lookup. Don't always use the
41052 __nss_group_database value if it is set.
41053 * nss/nsswitch.conf (initgroups): Change action for successful db
41054 lookup to continue for compatibility.
41056 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41059 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41061 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41063 * iconvdata/tst-tables.sh: Likewise.
41064 * iconvdata/cp770.c: New file.
41065 * iconvdata/cp771.c: New file.
41066 * iconvdata/cp772.c: New file.
41067 * iconvdata/cp773.c: New file.
41068 * iconvdata/cp774.c: New file.
41069 * iconvdata/testdata/CP770: New file.
41070 * iconvdata/testdata/CP770..UTF8: New file.
41071 * iconvdata/testdata/CP771: New file.
41072 * iconvdata/testdata/CP771..UTF8: New file.
41073 * iconvdata/testdata/CP772: New file.
41074 * iconvdata/testdata/CP772..UTF8: New file.
41075 * iconvdata/testdata/CP773: New file.
41076 * iconvdata/testdata/CP773..UTF8: New file.
41077 * iconvdata/testdata/CP774: New file.
41078 * iconvdata/testdata/CP774..UTF8: New file.
41080 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41082 * iconvdata/gen-8bit-gap.sh: Likewise.
41083 * iconvdata/gen-8bit.sh: Likewise.
41085 * locale/iso-639.def: Add ary entry.
41088 * locale/C-translit.h.in: Add U20A1 transliteration.
41091 * locale/iso-639.def: Add wae entry.
41092 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41095 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41099 * locale/C-translit.h.in: Add entry for U20B9.
41100 Patch by pravin.d.s@gmail.com.
41102 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41105 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41106 ENAMETOOLONG use generic getcwd.
41107 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41108 in rtld. Use *stat64.
41109 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41110 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41111 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41112 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41113 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41114 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41115 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41116 __fstatat64 macros.
41117 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41118 * dirent/rewinddir.c: Add libc_hidden_def.
41119 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41120 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41122 * include/dirent.h (__alloc_dir): Add flags parameter.
41123 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41124 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41126 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41127 from fdopendir if O_CLOEXEC is already set.
41129 2011-03-15 Alan Modra <amodra@gmail.com>
41131 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41132 l_tls_firstbyte_offset non-zero. Save padding offset in
41133 l_tls_firstbyte_offset for later use.
41134 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41135 freeing static tls block.
41137 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41139 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41140 where #ifdef was intended. The intent is to prevent ARG_MAX from
41141 being defined by the kernel headers.
41143 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41146 * resolv/resolv.h: Define RES_NOTLDQUERY.
41147 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41148 no-tld-query and set RES_NOTLDQUERY.
41149 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41150 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41151 modern BIND to search name as TLD unless forbidden.
41153 2011-05-07 Petr Baudis <pasky@suse.cz>
41154 Ulrich Drepper <drepper@gmail.com>
41157 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41158 (is_trusted_path): ...to here.
41159 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41160 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41161 using is_trusted_path_normalize() in setuid scripts.
41163 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41165 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41166 __BEGIN/__END_DECLS.
41168 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41170 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41171 NSS_STATUS_NOTFOUND if no record was found.
41173 2011-05-05 Andreas Schwab <schwab@redhat.com>
41175 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41176 (headers-not-in-tirpc): Remove rpc/netdb.h
41177 * resolv/netdb.h: Revert last change.
41179 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41181 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41182 circular dependency between libgcc.a and libc.a.
41184 2011-05-05 Andreas Schwab <schwab@redhat.com>
41186 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41187 * nis/Makefile: Don't install rpcsvc/*.
41188 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41189 instead of <rpc/types.h>.
41190 (MAXHOSTNAMELEN): Define.
41192 2011-05-03 Andreas Schwab <schwab@redhat.com>
41194 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41196 2011-04-28 Maciej Babinski <mbabinski@google.com>
41199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41200 gethostbyname4_r when IPv6 results are possible.
41202 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41205 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41206 _PC_PIPE_BUF handling.
41208 2011-04-30 Bruno Haible <bruno@clisp.org>
41211 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41212 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41214 * inet/getnameinfo.c (getnameinfo): Likewise.
41216 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41218 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41219 to groups setting in database lookup.
41220 * nss/nsswitch.conf: Add initgroups entry.
41222 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41225 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41227 Patch by Eric Blake <eblake@redhat.com>.
41229 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41231 * sunrpc/Makefile (need-export-routines): Add svc_run.
41232 (routines): Remove svc_run.
41233 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41234 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41235 * sunrpc/svc_run.c (svc_run): Likewise.
41236 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41238 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41240 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41241 problem in reallocation in last patch.
41243 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41245 * sunrpc/Makefile: Move inclusion of Rules.
41247 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41249 * nss/nss_files/files-initgroups.c: New file.
41250 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41251 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41252 _nss_files_initgroups_dyn.
41254 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41256 * elf/elf.h (R_ARM_IRELATIVE): Define.
41258 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41260 * po/ru.po: Update from translation team.
41262 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41264 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41267 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41270 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41271 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41272 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41273 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41274 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41276 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41278 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41280 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41281 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41282 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41284 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41287 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41289 * stdlib/bug-getcontext.c: New file.
41290 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41292 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41294 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41295 instructions into .machine "z9-109".
41296 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41297 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41299 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41301 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41302 between environment variables and auxiliary vector.
41304 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41306 * Makefile: Add rules to build linkobj/libc.so.
41307 * include/libc-symbols.h: Define libc_hidden_nolink.
41308 * include/rpc/auth.h: Mark functions which are to be hidden.
41309 * include/rpc/auth_des.h: Likewise.
41310 * include/rpc/auth_unix.h: Likewise.
41311 * include/rpc/clnt.h: Likewise.
41312 * include/rpc/des_crypt.h: Likewise.
41313 * include/rpc/key_prot.h: Likewise.
41314 * include/rpc/pmap_clnt.h: Likewise.
41315 * include/rpc/pmap_prot.h: Likewise.
41316 * include/rpc/pmap_rmt.h: Likewise.
41317 * include/rpc/rpc_msg.h: Likewise.
41318 * include/rpc/svc.h: Likewise.
41319 * include/rpc/svc_auth.h: Likewise.
41320 * include/rpc/xdr.h: Likewise.
41321 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41322 * nss/Makefile: Likewise.
41323 * sunrpc/Makefile: Don't install headers. Build library with normal
41324 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41325 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41326 for the compat linking library. Remove use of INTDEF/INTUSE.
41327 * sunrpc/auth_none.c: Likewise.
41328 * sunrpc/auth_unix.c: Likewise.
41329 * sunrpc/authdes_prot.c: Likewise.
41330 * sunrpc/authuxprot.c: Likewise.
41331 * sunrpc/clnt_gen.c: Likewise.
41332 * sunrpc/clnt_perr.c: Likewise.
41333 * sunrpc/clnt_raw.c: Likewise.
41334 * sunrpc/clnt_simp.c: Likewise.
41335 * sunrpc/clnt_tcp.c: Likewise.
41336 * sunrpc/clnt_udp.c: Likewise.
41337 * sunrpc/clnt_unix.c: Likewise.
41338 * sunrpc/des_crypt.c: Likewise.
41339 * sunrpc/des_soft.c: Likewise.
41340 * sunrpc/get_myaddr.c: Likewise.
41341 * sunrpc/key_call.c: Likewise.
41342 * sunrpc/key_prot.c: Likewise.
41343 * sunrpc/netname.c: Likewise.
41344 * sunrpc/pm_getmaps.c: Likewise.
41345 * sunrpc/pm_getport.c: Likewise.
41346 * sunrpc/pmap_clnt.c: Likewise.
41347 * sunrpc/pmap_prot.c: Likewise.
41348 * sunrpc/pmap_prot2.c: Likewise.
41349 * sunrpc/pmap_rmt.c: Likewise.
41350 * sunrpc/publickey.c: Likewise.
41351 * sunrpc/rpc_cmsg.c: Likewise.
41352 * sunrpc/rpc_common.c: Likewise.
41353 * sunrpc/rpc_dtable.c: Likewise.
41354 * sunrpc/rpc_prot.c: Likewise.
41355 * sunrpc/rpc_thread.c: Likewise.
41356 * sunrpc/rtime.c: Likewise.
41357 * sunrpc/svc.c: Likewise.
41358 * sunrpc/svc_auth.c: Likewise.
41359 * sunrpc/svc_authux.c: Likewise.
41360 * sunrpc/svc_raw.c: Likewise.
41361 * sunrpc/svc_run.c: Likewise.
41362 * sunrpc/svc_simple.c: Likewise.
41363 * sunrpc/svc_tcp.c: Likewise.
41364 * sunrpc/svc_udp.c: Likewise.
41365 * sunrpc/svc_unix.c: Likewise.
41366 * sunrpc/svcauth_des.c: Likewise.
41367 * sunrpc/xcrypt.c: Likewise.
41368 * sunrpc/xdr.c: Likewise.
41369 * sunrpc/xdr_array.c: Likewise.
41370 * sunrpc/xdr_float.c: Likewise.
41371 * sunrpc/xdr_intXX_t.c: Likewise.
41372 * sunrpc/xdr_mem.c: Likewise.
41373 * sunrpc/xdr_rec.c: Likewise.
41374 * sunrpc/xdr_ref.c: Likewise.
41375 * sunrpc/xdr_sizeof.c: Likewise.
41376 * sunrpc/xdr_stdio.c: Likewise.
41378 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41381 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41382 * sysdeps/ia64/dl-tls.h: Likewise.
41383 * sysdeps/powerpc/dl-tls.h: Likewise.
41384 * sysdeps/s390/dl-tls.h: Likewise.
41385 * sysdeps/sh/dl-tls.h: Likewise.
41386 * sysdeps/sparc/dl-tls.h: Likewise.
41387 * sysdeps/x86_64/dl-tls.h: Likewise.
41388 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41390 2011-03-14 Andreas Schwab <schwab@redhat.com>
41392 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41393 rpath element also skip the following colon.
41394 (expand_dynamic_string_token): Add is_path parameter and pass
41395 down to DL_DST_REQUIRED and _dl_dst_substitute.
41396 (decompose_rpath): Call expand_dynamic_string_token with
41397 non-zero is_path. Ignore empty rpaths.
41398 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41401 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41406 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41409 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41410 Patch by Filipe David Manana <fdmanana@apache.org>.
41412 2011-04-07 Andreas Schwab <schwab@redhat.com>
41414 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41415 Maintain aligned stack.
41416 (CHECK_RSP): Remove unused macro.
41418 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41420 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41421 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41423 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41425 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41427 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41429 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41432 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41433 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41434 * sysdeps/x86_64/memmove.c: New file.
41435 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41436 (memcpy): Renamed to ...
41437 (__new_memcpy): This.
41438 (memcpy): Provide GLIBC_2_14 memcpy.
41439 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41440 (memcpy): Provide GLIBC_2_2_5 memcpy.
41442 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41445 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41447 2011-03-30 Andreas Schwab <schwab@redhat.com>
41449 * misc/syncfs.c: New file.
41450 * misc/Makefile (routines): Add syncfs.
41451 * posix/unistd.h: Declare syncfs.
41452 * sysdeps/unix/syscalls.list: Add syncfs.
41454 2011-04-01 Andreas Schwab <schwab@redhat.com>
41456 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41458 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41459 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41460 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41461 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41462 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41463 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41464 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41466 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41468 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41469 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41470 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41471 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41472 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41473 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41474 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41476 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41477 sync_file_range.c with -fexceptions.
41478 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41479 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41480 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41481 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41482 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41483 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41484 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41485 sync_file_range as cancellation point
41486 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41487 now a wrapper around __call_sync_file_range with cancellation handling.
41488 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41489 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41490 function name to __call_sync_file_range.
41491 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41492 Add call_sync_file_range.
41494 2011-04-01 Andreas Schwab <schwab@redhat.com>
41496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41499 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41501 * iconv/iconv.h: Fix typo in comment.
41502 * io/fcntl.h: Likewise.
41503 * libio/stdio.h: Likewise.
41504 * posix/spawn.h: Likewise.
41505 * posix/unistd.h: Likewise.
41506 * stdlib/stdlib.h: Likewise.
41507 * time/time.h: Likewise.
41508 * wcsmbs/wchar.h: Likewise.
41510 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41511 open_by_handle): Add.
41512 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41513 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41514 Augment a few comments.
41515 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41516 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41517 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41518 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41519 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41520 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41523 * io/fcntl.h (AT_EMPTY_PATH): Define.
41525 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41527 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41528 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41529 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41531 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41532 * Versions.def: Add GLIBC_2.14.
41533 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41536 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41538 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41540 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41542 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41545 * string/test-strncmp.c (do_page_test): New function.
41546 (check2): Likewise.
41547 (test_main): Call check2.
41548 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41550 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41553 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41554 Handle cache information in CPU leaf 4.
41555 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41557 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41560 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41561 character representation.
41562 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41564 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41566 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41567 END(__isnan) to END(__isnanf) to match function entry point/label
41568 EALIGN(__isnanf,...).
41570 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41572 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41574 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41577 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41578 copy from the symbol referenced in the relocation to initialize the
41580 Patch by Piotr Bury <pbury@goahead.com>.
41581 * elf/Makefile: Add rules to build and tst-unique3.
41582 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41583 * elf/tst-unique3.cc: New file.
41584 * elf/tst-unique3.h: New file.
41585 * elf/tst-unique3lib.cc: New file.
41586 * elf/tst-unique3lib2.cc: New file.
41588 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41590 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41592 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41593 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41596 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41598 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41599 to-be-loaded object along a path to loader is ld.so.
41601 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41602 Ulrich Drepper <drepper@gmail.com>
41604 * sysdeps/x86_64/memset.S: After aligning destination, code
41605 branches to different locations depending on the value of
41606 misalignment, when multiarch is enabled. Fix this.
41608 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41610 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41611 Set _x86_64_preferred_memory_instruction for AMD processsors.
41612 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41613 Set bit_Prefer_SSE_for_memop for AMD processors.
41615 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41617 * libio/fmemopen.c (fmemopen): Optimize a bit.
41619 2011-03-03 Andreas Schwab <schwab@redhat.com>
41621 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41623 2011-03-03 Roland McGrath <roland@redhat.com>
41625 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41627 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41629 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41630 __bzero_ultra1 instead of __memset_ultra1.
41632 2011-02-23 Andreas Schwab <schwab@redhat.com>
41633 Ulrich Drepper <drepper@gmail.com>
41636 * include/link.h (struct link_map): Add l_orig_initfini.
41637 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41638 returning unsuccessfully.
41639 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41640 close of a file loaded at startup, restore the original l_initfini
41642 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41643 list, store the pointer.
41644 * elf/Makefile ($(objpfx)noload-mem): New rule.
41645 (noload-ENV): Define.
41646 (tests): Add $(objpfx)noload-mem.
41647 * elf/noload.c: Include <memcheck.h>.
41648 (main): Call mtrace. Close all opened handles.
41650 2011-02-17 Andreas Schwab <schwab@redhat.com>
41653 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41654 dependencies are missing.
41656 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41658 Fix __if_freereq crash: Unlike the generic version which uses free,
41660 * sysdeps/mach/hurd/ifreq.h: New file.
41662 2011-01-27 Petr Baudis <pasky@suse.cz>
41663 Ulrich Drepper <drepper@gmail.com>
41666 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41667 to extend_alloca().
41668 * stdio-common/bug23.c: New file.
41669 * stdio-common/Makefile (tests): Add bug23.
41671 2010-09-28 Andreas Schwab <schwab@redhat.com>
41672 Ulrich Drepper <drepper@gmail.com>
41675 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41676 before performing relro protection. At old place add assertion
41677 to make sure nothing changed.
41679 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41680 Glauber de Oliveira Costa <glommer@gmail.com>
41682 * elf/elf.h: Add new ARM TLS relocs.
41684 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41687 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41689 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41691 * sysdeps/wordsize-64/tst-writev.c: New file.
41693 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41695 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41696 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41697 insns in _dl_start to prevent a TOC reference before relocs are
41700 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41703 * Makeconfig: Remove RANLIB definition.
41704 * Makerules: Don't use RANLIB.
41705 * aclocal.m4: Remove ranlib test.
41706 * configure.in: No need to check for ranlib.
41707 * elf/rtld-Rules: Don't use RANLIB.
41709 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41711 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41713 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41714 inclusion protection macro.
41716 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41717 SIGRTMIN and SIGRTMAX and print information in that case only when
41718 SIGRTMIN is defined.
41720 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41722 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41723 arginfo fn returning -1.
41725 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41726 and thousands string is zero terminated.
41728 2011-02-03 Andreas Schwab <schwab@redhat.com>
41730 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41731 sysdeps/unix/sysv/linux/bits/socket.h.
41733 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41735 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41736 (__CPU_COUNT): Remove old macros.
41737 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41738 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41739 (__CPU_ALLOC, __CPU_FREE): Add macros.
41740 (__sched_cpualloc, __sched_cpufree): Add declarations.
41742 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41744 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41745 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41746 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41747 (readdhstai): Return value of addhstaiX call.
41748 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41749 (addgrbyX): Return value returned by cache_addgr.
41750 (readdgrbyname): Return value returned by addgrbyX.
41751 (readdgrbygid): Likewise.
41752 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41753 (addpwbyX): Return value returned by cache_addpw.
41754 (readdpwbyname): Return value returned by addhstbyX.
41755 (readdpwbyuid): Likewise.
41756 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41757 (addservbyX): Return value returned by cache_addserv.
41758 (readdservbyname): Return value returned by addservbyX:
41759 (readdservbyport): Likewise.
41760 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41761 (addhstbyX): Return value returned by cache_addhst.
41762 (readdhstbyname): Return value returned by addhstbyX.
41763 (readdhstbyaddr): Likewise.
41764 (readdhstbynamev6): Likewise.
41765 (readdhstbyaddrv6): Likewise.
41766 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41767 (readdinitgroups): Return value returned by addinitgroupsX.
41768 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41769 (prune_cache): Keep track of timeout value of re-added entries.
41770 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41771 * nscd/nscd.h: Adjust prototypes of readd* functions.
41773 2011-02-04 Roland McGrath <roland@redhat.com>
41775 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41776 (nis_stats): Likewise.
41777 * nis/nis_modify.c (nis_modify): Likewise.
41778 * nis/nis_remove.c (nis_remove): Likewise.
41779 * nis/nis_add.c (nis_add): Likewise.
41781 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41783 * posix/fnmatch_loop.c: Add some consts.
41785 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41787 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41790 * config.make.in (config-cflags-novzeroupper): Define.
41791 * configure.in: Substitute libc_cv_cc_novzeroupper.
41792 * elf/Makefile (AVX-CFLAGS): Define.
41793 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41794 (CFLAGS-tst-auditmod4a.c): Likewise.
41795 (CFLAGS-tst-auditmod4b.c): Likewise.
41796 (CFLAGS-tst-auditmod6b.c): Likewise.
41797 (CFLAGS-tst-auditmod6c.c): Likewise.
41798 (CFLAGS-tst-auditmod7b.c): Likewise.
41799 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41801 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41803 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41804 function to the callback.
41805 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41807 2011-02-02 Andreas Schwab <schwab@redhat.com>
41809 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41812 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41815 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41817 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41819 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41822 * elf/Makefile: Add rules to build and run new test.
41823 * elf/tst-initorder.c: New file.
41824 * elf/tst-initorder.exp: New file.
41825 * elf/tst-initordera1.c: New file.
41826 * elf/tst-initordera2.c: New file.
41827 * elf/tst-initordera3.c: New file.
41828 * elf/tst-initordera4.c: New file.
41829 * elf/tst-initorderb1.c: New file.
41830 * elf/tst-initorderb2.c: New file.
41831 * elf/tst-order-a1.c: New file.
41832 * elf/tst-order-a2.c: New file.
41833 * elf/tst-order-a3.c: New file.
41834 * elf/tst-order-a4.c: New file.
41835 * elf/tst-order-b1.c: New file.
41836 * elf/tst-order-b2.c: New file.
41837 * elf/tst-order-main.c: New file.
41838 New test case by George Gensure <werkt0@gmail.com>.
41840 2010-10-01 Andreas Schwab <schwab@redhat.com>
41842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41843 decoding ACE if AI_CANONIDN.
41845 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41847 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41849 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41851 * version.h (RELEASE): Bump for 2.13 release.
41852 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41854 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41856 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41858 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41859 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41860 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41861 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41862 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41863 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41865 * posix/getconf.c: Update copyright year.
41866 * catgets/gencat.c: Likewise.
41867 * csu/version.c: Likewise.
41868 * debug/catchsegv.sh: Likewise.
41869 * debug/xtrace.sh: Likewise.
41870 * elf/ldconfig.c: Likewise.
41871 * elf/ldd.bash.in: Likewise.
41872 * elf/sprof.c (print_version): Likewise.
41873 * iconv/iconv_prog.c: Likewise.
41874 * iconv/iconvconfig.c: Likewise.
41875 * locale/programs/locale.c: Likewise.
41876 * locale/programs/localedef.c: Likewise.
41877 * malloc/memusage.sh: Likewise.
41878 * malloc/mtrace.pl: Likewise.
41879 * nscd/nscd.c (print_version): Likewise.
41880 * nss/getent.c: Likewise.
41882 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41883 PF_CAIF, and PF_ALG.
41884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41886 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41888 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41889 (modules-names): Use them.
41890 (ifunc-test-modules, ifunc-pie-tests): Define.
41891 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41892 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41893 (test-extras): Likewise.
41894 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41895 $(compile-command.c).
41896 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41897 (all-built-dso): Define.
41898 (check-textrel.out, check-execstack.out): Depend on it.
41900 * configure.in: Don't override --enable-multi-arch.
41902 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41905 * nscd/hstcache.c (tryagain): Define.
41906 (cache_addhst): Return tryagain not notfound for temporary errors.
41907 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41910 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41913 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41914 to make the syscall.
41915 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41918 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41919 and fall back to matching as normal character if the string ends before
41920 the matching ']' is found. This is what POSIX requires.
41921 * posix/testfnm.c: Adjust test result.
41922 * posix/globtest.sh: Adjust test result. Add new test.
41923 * posix/tst-fnmatch.input: Likewise.
41924 * posix/tst-fnmatch2.c: Add new test.
41926 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41928 * elf/Makefile (check-execstack): Revert last change. Depend on
41930 (check-execstack.h): New target.
41931 (generated): Add check-execstack.h.
41932 * elf/check-execstack.c: Include "check-execstack.h".
41933 (main): Revert last change.
41934 (handle_file): Return zero if GNU_STACK is absent and
41935 DEFAULT_STACK_PERMS doesn't include PF_X.
41937 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41939 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41940 in child fails because the descriptor is already closed.
41941 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41942 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41943 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41946 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41950 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41951 temporary buffer used to handle multi lookups locally.
41952 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41954 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41956 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41959 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41961 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41962 alignment for SSE2.
41964 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41967 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41968 characters. When rounding increased number of integer digits recompute
41970 * stdio-common/tst-grouping.c: New file.
41971 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41973 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41975 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41976 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41978 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41980 * bits/select.h: Likewise.
41982 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41984 * po/ja.po: Update from translation team.
41986 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41989 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41990 implementation just like for lxstat, fxstatat, et al.
41992 2010-12-27 Jim Meyering <meyering@redhat.com>
41995 * posix/regexec.c (build_trtable): Return failure indication upon
41996 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41998 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42001 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42002 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42003 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42004 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42007 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42010 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42011 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42013 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42015 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42016 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42017 script has SORT_BY_INIT_PRIORITY.
42018 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42019 NO_CTORS_DTORS_SECTIONS is defined.
42020 * elf/soinit.c: Likewise.
42021 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42022 NO_CTORS_DTORS_SECTIONS is defined.
42023 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42024 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42025 * sysdeps/sh/init-first.c: Likewise.
42026 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42028 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42030 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42031 always use the slow path.
42033 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42035 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42036 similar rule which adds the sysdep directories to the header search in
42037 order to pick up the correct platform stackinfo.h.
42038 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42039 perform test if it is, otherwise return successfully without testing.
42040 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42041 DEFAULT_STACK_PERMS define in stackinfo.h.
42042 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42043 defined in stackinfo.h.
42044 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42045 DEFAULT_STACK_PERMS defined in stackinfo.h.
42046 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42047 * sysdeps/ia64/stackinfo.h: Likewise.
42048 * sysdeps/s390/stackinfo.h: Likewise.
42049 * sysdeps/sh/stackinfo.h: Likewise.
42050 * sysdeps/sparc/stackinfo.h: Likewise.
42051 * sysdeps/x86_64/stackinfo.h: Likewise.
42052 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42053 PF_X for powerpc64. Retain PF_X for powerpc32.
42055 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42057 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42059 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42060 GETDENTS_64BIT_ALIGNED.
42062 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42064 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42066 2010-12-10 Andreas Schwab <schwab@redhat.com>
42068 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42071 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42072 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42074 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42075 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42077 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42080 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42083 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42085 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42087 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42089 * po/it.po: Update from translation team.
42091 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42093 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42096 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42098 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42100 2010-11-24 Andreas Schwab <schwab@redhat.com>
42102 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42104 (gaih_getanswer_slice): Likewise.
42106 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42108 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42110 2010-05-31 Petr Baudis <pasky@suse.cz>
42113 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42114 silently even in the chroot mode.
42116 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42118 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42119 last patch a bit. Pretty printing
42121 2010-05-31 Petr Baudis <pasky@suse.cz>
42124 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42125 initialization of skip_initgroups_dyn.
42127 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42129 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42130 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42132 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42134 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42136 2010-11-11 Andreas Schwab <schwab@redhat.com>
42138 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42139 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42140 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42141 ($(objpfx)tst-fnmatch-mem): New rule.
42142 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42143 * posix/tst-fnmatch.c (main): Call mtrace.
42145 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42148 Support Intel processor model 6 and model 0x2c.
42150 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42152 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42155 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42158 * string/test-strncasecmp.c (check_result): New function.
42159 (do_one_test): Use it.
42160 (check1): New function.
42161 (test_main): Use it.
42162 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42163 Support strcasecmp and strncasecmp.
42165 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42168 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42169 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42171 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42173 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42175 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42177 * sysdeps/x86_64/multiarch/bzero.S: New file.
42178 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42179 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42180 * sysdeps/x86_64/multiarch/memset.S: New file.
42181 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42183 Set bit_Prefer_SSE_for_memop for Intel processors.
42184 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42186 (index_Prefer_SSE_for_memop): Define.
42187 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42189 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42191 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42192 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42194 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42197 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42198 (__x86_64_raw_data_cache_size_half): Likewise.
42199 (__x86_64_raw_shared_cache_size): Likewise.
42200 (__x86_64_raw_shared_cache_size_half): Likewise.
42202 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42203 (__x86_64_raw_data_cache_size_half): Likewise.
42204 (__x86_64_raw_shared_cache_size): Likewise.
42205 (__x86_64_raw_shared_cache_size_half): Likewise.
42206 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42207 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42208 and __x86_64_raw_shared_cache_size_half. Round
42209 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42210 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42211 to multiple of 256 bytes.
42213 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42216 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42217 of inacessible symlinks. Verify result of symlink before returning it.
42218 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42219 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42221 2010-10-28 Erich Ritz <erichritz@gmail.com>
42223 * math/math.h (isinf): Fix typo in comment.
42225 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42227 * po/da.po: Update from translation team.
42229 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42231 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42232 is added to the list.
42234 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42235 Ulrich Drepper <drepper@gmail.com>
42237 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42238 the global list here. Move code to...
42239 (_dl_add_to_namespace_list): ...here. New function.
42240 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42241 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42242 * elf/dl-load.c (lose): Don't remove the element from the list.
42243 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42244 (_dl_map_object): Likewise.
42246 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42249 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42250 into all bytes of SSE register.
42251 Patch by Richard Li <richardpku@gmail.com>.
42253 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42256 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42259 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42261 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42262 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42263 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42264 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42269 2010-10-22 Andreas Schwab <schwab@redhat.com>
42271 * include/dlfcn.h (__RTLD_SECURE): Define.
42272 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42273 mode & __RTLD_SECURE instead.
42274 (open_path): Rename preloaded parameter to secure.
42275 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42276 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42277 * elf/dl-deps.c (openaux): Likewise.
42278 * elf/rtld.c (struct map_args): Remove is_preloaded.
42279 (map_doit): Don't use it.
42280 (dl_main): Likewise.
42281 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42282 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42284 2010-09-09 Andreas Schwab <schwab@redhat.com>
42286 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42287 (sysd-rules-targets): Remove duplicates.
42288 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42289 rtld-%.$o dependency.
42291 2010-10-18 Andreas Schwab <schwab@redhat.com>
42293 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42294 _dl_map_object do it.
42296 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42298 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42299 fast fma builtins, define the macros in the C99 standard.
42300 (FP_FAST_FMAF): Likewise.
42301 (FP_FAST_FMAL): Likewise.
42302 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42304 * bits/mathdef.h: Update copyright year.
42305 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42307 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42309 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42310 builtins, define the macros in the C99 standard.
42311 (FP_FAST_FMAF): Likewise.
42312 (FP_FAST_FMAL): Likewise.
42313 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42315 (FP_FAST_FMAF): Likewise.
42317 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42320 * math/libm-test.inc (fma_test): Some new testcases.
42321 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42322 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42323 y and infinite z. Do multiplication by C already in long double.
42324 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42326 y and infinite z. Do bitwise or of inexact bit into u.d.
42327 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42328 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42329 * sysdeps/i386/fpu/s_fma.S: Removed.
42330 * sysdeps/i386/fpu/s_fmal.S: Removed.
42332 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42335 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42336 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42337 computation is not scheduled after fetestexcept. Fix value
42338 of minimum denormal long double.
42340 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42343 * math/libm-test.inc (fma_test): Add some more tests.
42344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42347 2010-10-15 Andreas Schwab <schwab@redhat.com>
42349 * scripts/data/localplt-s390-linux-gnu.data: New file.
42350 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42352 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42355 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42356 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42358 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42360 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42361 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42362 if one of x and y is very large and the other is subnormal.
42363 * sysdeps/s390/fpu/s_fmaf.c: New file.
42364 * sysdeps/s390/fpu/s_fma.c: New file.
42365 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42366 * sysdeps/powerpc/fpu/s_fma.S: New file.
42367 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42368 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42369 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42371 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42374 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42376 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42377 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42378 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42379 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42380 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42381 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42382 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42384 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42387 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42388 * posix/bug-regex31.input: Add test case.
42390 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42392 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42393 * posix/bug-regex31.input: New file.
42396 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42397 (parse_sub_exp): Fix last change, use postorder.
42399 * posix/bug-regex31.c: New file.
42400 * posix/Makefile: Add rules to build and run bug-regex31.
42402 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42405 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42408 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42409 to have entries in sys_siglist.
42412 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42415 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42418 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42419 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42420 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42421 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42422 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42423 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42424 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42425 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42426 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42427 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42428 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42429 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42430 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42431 * math/ftestexcept.c (fetestexcept): Likewise.
42432 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42433 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42434 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42435 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42436 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42437 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42438 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42440 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42443 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42446 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42448 * string/bug-strstr1.c: New file.
42449 * string/Makefile: Add rules to build and run bug-strstr1.
42451 2010-10-05 Eric Blake <eblake@redhat.com>
42454 * string/str-two-way.h (two_way_long_needle): Always clear memory
42455 when skipping input due to the shift table.
42457 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42460 * malloc/mcheck.c: Handle large requests.
42463 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42464 for strncmp and strncasecmp.
42465 * string/stratcliff.c: Add tests for strcmp and strncmp.
42466 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42468 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42470 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42473 2010-09-30 Andreas Jaeger <aj@suse.de>
42475 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42476 (CGROUP_SUPER_MAGIC): Define.
42477 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42478 Handle btrfs and cgroup file systems.
42479 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42482 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42484 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42485 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42487 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42490 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42491 trying to locate the ELF header.
42493 2010-09-27 Andreas Schwab <schwab@redhat.com>
42496 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42497 Mask out sign-bit copies when constructing f_fsid.
42499 2010-09-24 Petr Baudis <pasky@suse.cz>
42501 * debug/stack_chk_fail_local.c: Add missing licence exception.
42502 * debug/warning-nop.c: Likewise.
42504 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42506 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42507 implementing getdents64 using getdents syscall, set d_type if
42508 __ASSUME_GETDENTS32_D_TYPE.
42510 2010-09-16 Andreas Schwab <schwab@redhat.com>
42512 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42513 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42515 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42518 * posix/unistd.h: Undo change of feature selection for ftruncate from
42521 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42523 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42526 2010-09-20 Andreas Schwab <schwab@redhat.com>
42528 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42530 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42532 2010-09-14 Andreas Schwab <schwab@redhat.com>
42534 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42535 variables after CHECK_SP call.
42536 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42538 2010-09-13 Andreas Schwab <schwab@redhat.com>
42539 Ulrich Drepper <drepper@redhat.com>
42541 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42542 re-relocationg ld.so.
42543 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42544 _dl_init_paths call.
42545 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42548 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42550 * resolv/res_init.c (__res_vinit): Count the default server we added.
42552 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42553 Ulrich Drepper <drepper@redhat.com>
42556 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42557 (____longjmp_chk): Use %ebx for saving value across system call.
42560 2010-09-06 Andreas Schwab <schwab@redhat.com>
42562 * manual/Makefile: Don't mix pattern rules with normal rules.
42564 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42566 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42568 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42569 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42570 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42571 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42572 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42575 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42578 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42579 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42581 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42583 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42584 * sysdeps/x86_64/addmul_1.S: Likewise.
42585 * sysdeps/x86_64/lshift.S: Likewise.
42586 * sysdeps/x86_64/mul_1.S: Likewise.
42587 * sysdeps/x86_64/rshift.S: Likewise.
42588 * sysdeps/x86_64/sub_n.S: Likewise.
42589 * sysdeps/x86_64/submul_1.S: Likewise.
42591 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42593 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42594 Define __sched_param instead of SCHED_* and sched_param when
42595 <bits/sched.h> is included with __need_schedparam defined.
42596 * bits/sched.h [__need_schedparam]
42597 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42598 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42599 (__defined_schedparam): Define to 1.
42600 (__sched_param): New structure, identical to sched_param.
42601 (__need_schedparam): Undefine.
42603 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42605 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42606 (epoll_create1): Declare.
42608 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42610 2010-08-31 Andreas Schwab <schwab@redhat.com>
42613 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42614 shifting retval into place.
42616 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42618 * nis/rpcsvc/nis.h: Update copyright notice.
42619 * nis/rpcsvc/nis.x: Likewise.
42620 * nis/rpcsvc/nis_callback.h: Likewise.
42621 * nis/rpcsvc/nis_callback.x: Likewise.
42622 * nis/rpcsvc/nis_object.x: Likewise.
42623 * nis/rpcsvc/nis_tags.h: Likewise.
42624 * nis/rpcsvc/yp.h: Likewise.
42625 * nis/rpcsvc/yp.x: Likewise.
42626 * nis/rpcsvc/ypupd.h: Likewise.
42627 * nis/yp_xdr.c: Likewise.
42628 * nis/ypupdate_xdr.c: Likewise.
42630 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42631 mainly the body of pmap_getport. Add parameters to specify timeouts.
42632 (pmap_getport): Use __libc_rpc_getport.
42633 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42634 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42635 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42637 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42642 2010-08-27 Roland McGrath <roland@redhat.com>
42644 * sysdeps/i386/i686/multiarch/Makefile
42645 (CFLAGS-varshift.c): New variable.
42647 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42649 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42650 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42652 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42654 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42656 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42658 * sysdeps/x86_64/strlen.S: Unroll the loop.
42659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42660 strlen-sse2 strlen-sse2-bsf.
42661 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42662 __strlen_no_bsf if bit_Slow_BSF is set.
42663 (__strlen_sse42): Removed.
42664 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42665 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42667 2010-08-25 Roland McGrath <roland@redhat.com>
42669 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42670 * sysdeps/x86_64/multiarch/varshift.c: New file.
42671 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42672 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42673 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42674 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42676 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42678 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42679 strlen-sse2 strlen-sse2-bsf.
42680 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42681 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42682 (__strlen_sse2): Removed.
42683 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42684 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42686 bit_Slow_BSF for Atom.
42687 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42688 (index_Slow_BSF): Define.
42689 (HAS_SLOW_BSF): Define.
42691 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42694 * resolv/res_init.c (__res_vinit): When no server address at all
42695 is given default to loopback.
42697 2010-08-24 Roland McGrath <roland@redhat.com>
42699 * configure.in: Remove config-name.h generation.
42700 * configure: Regenerated.
42701 * config-name.in: File removed.
42702 * scripts/config-uname.sh: New file.
42703 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42704 ($(objdir)config-name.h): New target.
42706 * sunrpc/rpc_parse.h: Avoid nested comment.
42708 2010-08-24 Richard Henderson <rth@redhat.com>
42709 Ulrich Drepper <drepper@redhat.com>
42710 H.J. Lu <hongjiu.lu@intel.com>
42712 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42713 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42714 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42715 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42716 _mm_alignr_epi8 with _mm_loadu_si128.
42717 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42718 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42719 (__m128i_shift_right): Removed.
42720 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42721 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42722 * sysdeps/x86_64/multiarch/varshift.h: New file.
42723 * sysdeps/x86_64/multiarch/varshift.S: New file.
42725 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42727 * configure.in: Move assembler checks to before sysdep dir checking.
42729 2010-08-20 Petr Baudis <pasky@suse.cz>
42731 * LICENSES: Sync the sunrpc license.
42733 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42735 * sunrpc/auth_des.c: Update copyright notice once again.
42736 * sunrpc/auth_none.c: Likewise.
42737 * sunrpc/auth_unix.c: Likewise.
42738 * sunrpc/authdes_prot.c: Likewise.
42739 * sunrpc/authuxprot.c: Likewise.
42740 * sunrpc/bindrsvprt.c: Likewise.
42741 * sunrpc/clnt_gen.c: Likewise.
42742 * sunrpc/clnt_perr.c: Likewise.
42743 * sunrpc/clnt_raw.c: Likewise.
42744 * sunrpc/clnt_simp.c: Likewise.
42745 * sunrpc/clnt_tcp.c: Likewise.
42746 * sunrpc/clnt_udp.c: Likewise.
42747 * sunrpc/clnt_unix.c: Likewise.
42748 * sunrpc/des_crypt.c: Likewise.
42749 * sunrpc/des_soft.c: Likewise.
42750 * sunrpc/get_myaddr.c: Likewise.
42751 * sunrpc/getrpcport.c: Likewise.
42752 * sunrpc/key_call.c: Likewise.
42753 * sunrpc/key_prot.c: Likewise.
42754 * sunrpc/openchild.c: Likewise.
42755 * sunrpc/pm_getmaps.c: Likewise.
42756 * sunrpc/pm_getport.c: Likewise.
42757 * sunrpc/pmap_clnt.c: Likewise.
42758 * sunrpc/pmap_prot.c: Likewise.
42759 * sunrpc/pmap_prot2.c: Likewise.
42760 * sunrpc/pmap_rmt.c: Likewise.
42761 * sunrpc/rpc/auth.h: Likewise.
42762 * sunrpc/rpc/auth_unix.h: Likewise.
42763 * sunrpc/rpc/clnt.h: Likewise.
42764 * sunrpc/rpc/des_crypt.h: Likewise.
42765 * sunrpc/rpc/key_prot.h: Likewise.
42766 * sunrpc/rpc/netdb.h: Likewise.
42767 * sunrpc/rpc/pmap_clnt.h: Likewise.
42768 * sunrpc/rpc/pmap_prot.h: Likewise.
42769 * sunrpc/rpc/pmap_rmt.h: Likewise.
42770 * sunrpc/rpc/rpc.h: Likewise.
42771 * sunrpc/rpc/rpc_des.h: Likewise.
42772 * sunrpc/rpc/rpc_msg.h: Likewise.
42773 * sunrpc/rpc/svc.h: Likewise.
42774 * sunrpc/rpc/svc_auth.h: Likewise.
42775 * sunrpc/rpc/types.h: Likewise.
42776 * sunrpc/rpc/xdr.h: Likewise.
42777 * sunrpc/rpc_clntout.c: Likewise.
42778 * sunrpc/rpc_cmsg.c: Likewise.
42779 * sunrpc/rpc_common.c: Likewise.
42780 * sunrpc/rpc_cout.c: Likewise.
42781 * sunrpc/rpc_dtable.c: Likewise.
42782 * sunrpc/rpc_hout.c: Likewise.
42783 * sunrpc/rpc_main.c: Likewise.
42784 * sunrpc/rpc_parse.c: Likewise.
42785 * sunrpc/rpc_parse.h: Likewise.
42786 * sunrpc/rpc_prot.c: Likewise.
42787 * sunrpc/rpc_sample.c: Likewise.
42788 * sunrpc/rpc_scan.c: Likewise.
42789 * sunrpc/rpc_scan.h: Likewise.
42790 * sunrpc/rpc_svcout.c: Likewise.
42791 * sunrpc/rpc_tblout.c: Likewise.
42792 * sunrpc/rpc_util.c: Likewise.
42793 * sunrpc/rpc_util.h: Likewise.
42794 * sunrpc/rpcinfo.c: Likewise.
42795 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42796 * sunrpc/rpcsvc/key_prot.x: Likewise.
42797 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42798 * sunrpc/rpcsvc/mount.x: Likewise.
42799 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42800 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42801 * sunrpc/rpcsvc/rex.x: Likewise.
42802 * sunrpc/rpcsvc/rstat.x: Likewise.
42803 * sunrpc/rpcsvc/rusers.x: Likewise.
42804 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42805 * sunrpc/rpcsvc/spray.x: Likewise.
42806 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42807 * sunrpc/rtime.c: Likewise.
42808 * sunrpc/svc.c: Likewise.
42809 * sunrpc/svc_auth.c: Likewise.
42810 * sunrpc/svc_authux.c: Likewise.
42811 * sunrpc/svc_raw.c: Likewise.
42812 * sunrpc/svc_run.c: Likewise.
42813 * sunrpc/svc_simple.c: Likewise.
42814 * sunrpc/svc_tcp.c: Likewise.
42815 * sunrpc/svc_udp.c: Likewise.
42816 * sunrpc/svc_unix.c: Likewise.
42817 * sunrpc/svcauth_des.c: Likewise.
42818 * sunrpc/xcrypt.c: Likewise.
42819 * sunrpc/xdr.c: Likewise.
42820 * sunrpc/xdr_array.c: Likewise.
42821 * sunrpc/xdr_float.c: Likewise.
42822 * sunrpc/xdr_mem.c: Likewise.
42823 * sunrpc/xdr_rec.c: Likewise.
42824 * sunrpc/xdr_ref.c: Likewise.
42825 * sunrpc/xdr_sizeof.c: Likewise.
42826 * sunrpc/xdr_stdio.c: Likewise.
42828 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42831 2010-08-19 Andreas Schwab <schwab@redhat.com>
42833 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42835 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42837 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42838 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42839 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42840 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42841 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42842 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42843 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42844 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42845 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42846 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42847 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42848 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42849 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42850 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42852 2010-07-26 Anton Blanchard <anton@samba.org>
42854 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42855 * malloc/arena.c (heap_trim): Likewise.
42857 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42859 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42861 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42862 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42864 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42866 * sysdeps/i386/elf/Makefile: New file.
42868 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42870 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42871 from fanotify_init.
42872 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42873 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42875 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42877 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42879 * sysdeps/multiarch/strcmp.S: Likewise.
42881 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42883 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42884 strncase_l-nonascii.
42885 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42886 Add strncase_l-ssse3.
42887 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42888 * sysdeps/x86_64/strcmp.S: Likewise.
42889 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42890 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42891 * sysdeps/x86_64/strncase.S: New file.
42892 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42893 * sysdeps/x86_64/strncase_l.S: New file.
42894 * string/Makefile (strop-tests): Add strncasecmp.
42895 * string/test-strncasecmp.c: New file.
42897 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42900 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42901 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42903 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42905 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42907 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42909 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42910 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42911 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42913 2010-05-01 Alan Modra <amodra@gmail.com>
42915 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42916 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42917 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42918 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42919 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42920 tidying. Don't tail-call __sigjmp_save for static lib.
42921 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42923 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42924 (CALL_MCOUNT): Add eh info, and nop after bl.
42925 (TAIL_CALL_SYSCALL_ERROR): New macro.
42926 (PSEUDO_RET): Use it.
42927 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42928 Correct save location of integer regs and cr.
42929 (_dl_profile_resolve): Correct cr save location. Delete nops
42930 after bl when SHARED. Reduce cfi size a little by better
42931 placement of cfi directives.
42932 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42933 make a stack frame. Instead use parm save area as a temp.
42934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42935 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42937 Don't make a stack frame for parent, use parm save area.
42938 Increase child stack frame to 112 bytes. Don't save unused reg,
42939 and adjust reg usage. Set up cfi on error recovery and
42940 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42942 (__makecontext): Add dummy nop after jump to exit.
42943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42944 Use correct parm save area and cr save, reduce stack frame.
42945 Correct cfi for possible PSEUDO_RET frame setup.
42946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42947 Branch to local label emitted by PSEUDO_RET rather than
42950 2010-08-12 Andreas Schwab <schwab@redhat.com>
42953 * locale/programs/locale.c (print_assignment): New function.
42954 (show_locale_vars): Use it.
42956 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42958 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42960 (struct statfs64): Likewise.
42961 (_STATFS_F_FLAGS): Define.
42962 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42963 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42964 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42965 (ST_VALID): Define locally.
42966 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42967 __statvfs_getflags, use the provided value.
42968 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42969 __ASSUME_STATFS_F_FLAGS.
42971 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42973 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42974 Add sys/fanotify.h.
42975 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42976 fanotify_mask for GLIBC_2.13.
42977 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42978 fanotify_init and fanotify_mark.
42979 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42980 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42982 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42984 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42985 prlimit64 for GLIBC_2.13.
42986 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42988 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42991 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42992 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42993 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42994 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42996 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42999 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43000 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43002 * nss/Makefile: Add rules to build and run tst-nss-test1.
43003 * shlib-versions: Add entry for libnss_test1.
43004 * nss/nss_test1.c: New file.
43005 * nss/tst-nss-test1.c: New file.
43007 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43008 (__nss_configure_lookup): Set appropriate entry in
43009 __nss_configure_lookup to true.
43010 * nss/nsswitch.h: Define enum with indeces of databases in
43011 databases and __nss_database_custom arrays. Declare
43012 __nss_database_custom.
43013 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43014 to avoid using nscd when custom rules are installed.
43015 * nss/getXXbyYY_r.c: Likewise.
43016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43018 * nss/nss_files/files-parse.c: Whitespace fixes.
43020 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43023 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43024 * posix/fnmatch_loop.c: Likewise.
43026 2010-07-17 Andi Kleen <ak@linux.intel.com>
43028 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43029 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43030 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43031 * Versions.def [GLIBC_2.13]: Add.
43033 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43035 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43036 Also fail if tpwd after pwuid call is NULL.
43038 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43040 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43041 when converting to ms.
43043 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43045 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43046 EOPNOTSUPP errors with ENOTTY.
43047 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43048 EOPNOTSUPP errors with ENOTTY.
43050 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43052 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43053 Add strcasecmp_l-ssse3.
43054 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43056 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43057 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43058 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43060 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43062 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43064 * string/Makefile (strop-tests): Add strcasecmp.
43065 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43066 strcasecmp_l-nonascii.
43067 (gen-as-const-headers): Add locale-defines.sym.
43068 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43069 * sysdeps/x86_64/strcasecmp.S: New file.
43070 * sysdeps/x86_64/strcasecmp_l.S: New file.
43071 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43072 * sysdeps/x86_64/locale-defines.sym: New file.
43073 * string/test-strcasecmp.c: New file.
43075 * string/test-strcasestr.c: Test both ends of the range of characters.
43076 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43078 2010-07-29 Roland McGrath <roland@redhat.com>
43081 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43083 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43085 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43088 2010-07-27 Andreas Schwab <schwab@redhat.com>
43090 * manual/memory.texi (Malloc Tunable Parameters): Document
43093 2010-07-26 Roland McGrath <roland@redhat.com>
43096 * configure.in (-fgnu89-inline check): Set and substitute
43097 gnu89_inline, not libc_cv_gnu89_inline.
43098 * configure: Regenerated.
43099 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43101 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43103 * string/test-strnlen.c: New file.
43104 * string/Makefile (strop-tests): Add strnlen.
43105 * string/tester.c (test_strnlen): Add a few more test cases.
43106 * string/tst-strlen.c: Better error reporting.
43108 * sysdeps/x86_64/strnlen.S: New file.
43110 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43112 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43113 lower-latency instructions.
43115 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43117 * string/test-strcasestr.c: New file.
43118 * string/test-strstr.c: New file.
43119 * string/Makefile (strop-tests): Add strstr and strcasestr.
43120 * string/str-two-way.h: Don't undefine MAX.
43121 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43123 2010-07-21 Andreas Schwab <schwab@redhat.com>
43125 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43126 strcasestr-nonascii.
43127 (CFLAGS-strcasestr-nonascii.c): Define.
43128 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43129 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43130 Remove unused attribute.
43132 2010-07-20 Roland McGrath <roland@redhat.com>
43134 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43135 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43136 ld.so.cache was broken. With it, there is no way to disable dsocaps
43137 like LD_HWCAP_MASK can disable hwcaps.
43139 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43141 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43143 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43145 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43146 call in strcasestr.
43147 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43148 __strcasestr_sse42_nonascii.
43149 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43150 strcasestr-nonascii.c.
43151 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43153 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43155 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43156 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43157 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43158 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43160 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43162 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43165 2010-07-06 Andreas Schwab <schwab@redhat.com>
43168 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43171 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43173 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43174 _PC_PIPE_BUF using F_GETPIPE_SZ.
43176 2010-07-05 Roland McGrath <roland@redhat.com>
43178 * manual/arith.texi (Rounding Functions): Fix rint description
43179 implicit in round description.
43181 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43183 * elf/Makefile: Fix linking for a few tests to make recent linker
43186 2010-06-30 Andreas Schwab <schwab@redhat.com>
43188 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43189 $(common-objpfx)libc_nonshared.a.
43191 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43193 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43194 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43195 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43196 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43197 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43198 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43199 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43200 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43215 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43216 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43217 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43218 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43219 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43220 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43221 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43222 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43223 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43224 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43225 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43226 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43242 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43244 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43245 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43246 * string/memmove.c (memmove): Renamed to ...
43247 (MEMMOVE): ...this. Default to memmove.
43248 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43249 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43252 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43253 mempcpy-ssse3-back memmove-ssse3-back.
43254 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43255 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43256 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43257 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43258 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43259 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43260 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43261 * sysdeps/x86_64/multiarch/memmove.c: New file.
43262 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43263 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43264 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43265 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43266 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43267 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43269 (index_Fast_Copy_Backward): Define.
43270 (HAS_ARCH_FEATURE): Define.
43271 (HAS_FAST_REP_STRING): Define.
43272 (HAS_FAST_COPY_BACKWARD): Define.
43274 2010-06-21 Andreas Schwab <schwab@redhat.com>
43276 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43277 Restore proper fallback handling.
43279 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43282 * posix/group_member.c (__group_member): Correct checking loop.
43284 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43285 OOM in getpwuid_r correctly. Return error number when the caller
43286 should return, otherwise -1.
43287 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43288 call returning > 0 value.
43289 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43291 2010-06-07 Andreas Schwab <schwab@redhat.com>
43293 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43294 libc_nonshared.a from targets in modules-names.
43296 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43298 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43301 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43303 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43304 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43305 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43306 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43308 2010-06-02 Andreas Schwab <schwab@redhat.com>
43310 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43312 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43314 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43316 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43317 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43319 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43320 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43321 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43323 2010-06-14 Roland McGrath <roland@redhat.com>
43325 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43327 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43329 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43330 __REDIRECT followed by __THROW.
43331 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43332 * posix/getopt.h (getopt): Likewise.
43334 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43336 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43337 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43338 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43340 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43341 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43343 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43345 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43347 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43351 Properly check family and model.
43353 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43355 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43357 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43359 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43361 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43363 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43366 2010-05-19 Andreas Schwab <schwab@redhat.com>
43368 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43371 2010-05-21 Andreas Schwab <schwab@redhat.com>
43373 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43374 and internal_recvmmsg.
43375 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43376 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43377 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43378 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43380 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43381 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43382 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43384 2010-05-20 Andreas Schwab <schwab@redhat.com>
43386 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43388 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43390 POWER7 optimizations.
43391 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43392 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43394 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43396 * version.h: Update for 2.13 development version.
43398 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43400 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43401 exceptions. Return 0.
43403 2010-05-07 Roland McGrath <roland@redhat.com>
43405 * elf/ldconfig.c (main): Add a const.
43407 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43409 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43410 (args_options): Add no-idn option.
43411 (ahosts_keys_int): Add idn_flags to ai_flags.
43412 (parse_option): Handle 'i' option to clear idn_flags.
43414 * malloc/malloc.c (_int_free): Possible race in the most recently
43415 added check. Only act on the data if no current modification
43418 See ChangeLog.17 for earlier changes.