1 2014-04-17 Carlos O'Donell <carlos@redhat.com>
3 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12 * sysdeps/powerpc/fpu/fenv_private.h
13 (libc_feholdexcept_setroundl_ctx): Define to
14 libc_feholdexcept_setround_ppc_ctx.
15 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
16 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22 * sysdeps/aarch64/math-tests.h: New file.
24 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
26 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
28 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29 Check and set bit_AVX2_Usable.
30 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
33 (index_AVX2_Usable): Likewise.
34 (CPUID_AVX2): Likewise.
37 2014-04-17 Will Newton <will.newton@linaro.org>
39 * manual/setjmp.texi (System V contexts): Add note that
40 calling setcontext on a context created by a call to a
41 signal handler is undefined. Update text to note that
42 setcontext from a signal handler is possible but not
46 * stdlib/tst-setcontext.c: Include signal.h.
47 (main): Check that the signal stack before and
48 after swapcontext is the same.
50 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
51 Re-implement to restore registers in user code and avoid
52 rt_sigreturn system call.
54 2014-04-17 Wilco <wdijkstr@arm.com>
56 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
57 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
58 * math/test-fenv.c: Skip exception trap tests on targets which only
59 support non-stop mode.
61 2014-04-17 Ian Bolton <ian.bolton@arm.com>
62 Wilco Dijkstra <wilco.dijkstra@arm.com>
64 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
65 (libc_feholdsetround_aarch64_ctx)
66 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
67 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
68 (libc_feresetround_ctx, libc_feresetroundf_ctx)
69 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
70 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
71 (libc_feresetround_noexl_ctx): Define.
73 2014-04-16 Richard Henderson <rth@redhat.com>
75 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
77 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
80 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
81 const from the non-libc, non-ldso copy.
83 * sysdeps/alpha/libm-test-ulps: Regenerate.
85 2014-04-16 Ian Bolton <ian.bolton@arm.com>
86 Wilco Dijkstra <wilco.dijkstra@arm.com>
88 * sysdeps/aarch64/fpu/math_private.h: New file.
90 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
92 * sysdeps/aarch64/libm-test-ulps: Regenerate.
94 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
96 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
97 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
98 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
99 Intel MPX bound registers before _dl_profile_fixup.
100 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
101 registers after _dl_profile_fixup. Save and restore bound
102 registers bnd0/bnd1 when calling _dl_call_pltexit.
103 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
104 (LR_BND_OFFSET): Likewise.
105 (LRV_BND0_OFFSET): Likewise.
106 (LRV_BND1_OFFSET): Likewise.
108 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
110 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
112 * sysdeps/mach/hurd/i386/tls.h: ... here.
113 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
114 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
117 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
119 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
121 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
123 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
125 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
128 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
129 * sysdeps/s390/configure: Regenerate.
131 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
134 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
135 Set round-to-nearest internally to reduce error accumulation.
137 2014-04-16 Alan Modra <amodra@gmail.com>
141 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
142 * math/libm-test.inc (frexp_test_data): Add tests.
143 * NEWS: Update fixed bug list.
145 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
147 * benchtests/Makefile: Depend on libraries in build directory.
148 (bench-math): Separate out math tests.
149 (bench-pthread): Separate out pthread tests.
150 (bench): Include math and pthread tests.
152 2014-04-14 Carlos O'Donell <carlos@redhat.com>
155 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
156 _dl_debug_initialize.
158 2014-04-14 Carlos O'Donell <carlos@redhat.com>
160 * configure.ac: Remove SELinux header check.
161 * configure: Regenerate.
162 * nscd/selinux.c (perms): Array of const char* to permission names.
163 (nscd_request_avc_has_perm): Call security_deny_unknown to find
164 default policy. Call string_to_security_class and string_to_av_perm to
165 translate strings. Enforce default policy and call avs_has_perm with
166 results of translated strings.
168 2014-04-13 David S. Miller <davem@davemloft.net>
170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
172 2014-04-12 Allan McRae <allan@archlinux.org>
175 * manual/string.texi (Collation Functions): Fix qsort argument
177 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
179 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
181 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
182 Make the test a no-op if there are no exceptions defined.
184 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
186 * elf/Makefile (tests): make tst-dlopen-aout conditional on
187 enable-hardcoded-path-in-tests
189 2014-04-11 Will Newton <will.newton@linaro.org>
191 * benchtests/Makefile (extra-objs): Add json-lib.o.
192 (bench-func): Tidy up JSON output.
193 * benchtests/bench-skeleton.c: Include json-lib.h.
194 (main): Use JSON library functions to do output of
196 * benchtests/bench-timing-type.c (main): Output the
197 timing type simply, leaving formatting to the user.
198 * benchtests/json-lib.c: New file.
199 * benchtests/json-lib.h: Likewise.
201 2014-04-11 Torvald Riegel <triegel@redhat.com>
204 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
205 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
206 memory barriers. Add comments.
207 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
208 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
209 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
210 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
211 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
212 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
214 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
216 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
217 * sysdeps/s390/s390-64/configure.ac: ... this ...
218 * sysdeps/s390/configure.ac: ... to here.
219 * sysdeps/s390/s390-32/configure: Delete file.
220 * sysdeps/s390/s390-64/configure: Delete file.
221 * sysdeps/s390/configure: Regenerate.
223 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
225 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
227 2014-04-11 Will Newton <will.newton@linaro.org>
229 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
230 to zero if it is not defined elsewhere. (mtrim): Test
231 the value of MALLOC_DEBUG with #if rather than #ifdef.
233 2014-04-10 Torvald Riegel <triegel@redhat.com>
235 * benchtests/pthread_once-inputs: New file.
236 * benchtests/pthread_once-source.c: New file.
237 * benchtests/README: Update documentation.
239 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
240 H.J. Lu <hongjiu.lu@intel.com>
242 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
243 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
244 * sysdeps/x86_64/configure: Regenerated.
245 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
247 (REGISTER_SAVE_RAX): Likewise.
248 (REGISTER_SAVE_RCX): Likewise.
249 (REGISTER_SAVE_RDX): Likewise.
250 (REGISTER_SAVE_RSI): Likewise.
251 (REGISTER_SAVE_RDI): Likewise.
252 (REGISTER_SAVE_R8): Likewise.
253 (REGISTER_SAVE_R9): Likewise.
254 (REGISTER_SAVE_BND0): Likewise.
255 (REGISTER_SAVE_BND1): Likewise.
256 (REGISTER_SAVE_BND2): Likewise.
257 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
258 bound registers when calling _dl_fixup.
260 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
262 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
263 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
265 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
266 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
267 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
268 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
269 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
270 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
271 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
273 2014-04-09 Peter Brett <peter@peter-b.co.uk>
276 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
277 pathconf(_PC_NAME_MAX).
279 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
281 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
283 (__PTHREAD_SPINS): Move definition to ...
284 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
285 (__PTHREAD_SPINS): ... here.
286 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
287 (__PTHREAD_SPIN): Likewise.
288 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
289 (__PTHREAD_SPIN): Likewise.
290 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
291 (__PTHREAD_SPIN): Likewise.
292 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
293 (__PTHREAD_SPIN): Likewise.
294 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
295 (__PTHREAD_SPIN): Likewise.
296 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
297 (__PTHREAD_SPIN): Likewise.
298 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
299 (__PTHREAD_SPIN): Likewise.
300 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
301 (__PTHREAD_SPIN): Likewise.
302 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
303 (__PTHREAD_SPIN): Likewise.
304 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
305 (__PTHREAD_SPIN): Likewise.
306 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
307 (__PTHREAD_SPIN): Likewise.
308 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
309 (__PTHREAD_SPIN): Likewise.
311 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
313 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
314 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
315 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
316 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
318 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
319 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
320 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
321 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
323 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
324 strlen symbol for non multi-arch builds.
325 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
326 missing hidden_def and weak_alias.
328 2014-04-08 Carlos O'Donell <carlos@redhat.com>
330 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
332 2014-04-07 Will Newton <will.newton@linaro.org>
334 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
335 and contents. [!_LIBC] Remove #ifndef and contents.
336 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
337 * string/memccpy.c (__memccpy): Use ANSI prototype.
338 * string/memfrob.c (memfrob): Likewise.
339 * string/strcoll.c (STRCOLL): Likewise.
340 * string/strlen.c (strlen): Likewise.
341 * string/strtok.c (STRTOK): Likewise.
342 * string/strcat.c: Remove unused #include of memcopy.h.
343 (strcat): Use ANSI prototype.
344 * string/strchr.c: Remove unused #include of memcopy.h.
345 (strchr): Use ANSI prototype.
346 * string/strcmp.c: Remove unused #include of memcopy.h.
347 (strcmp): Use ANSI prototype.
348 * string/strcpy.c: Remove unused #include of memcopy.h.
349 (strcpy): Use ANSI prototype.
351 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
353 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
354 * config.make.in (config-extra-cppflags): Set it from
356 * configure.ac (libc_extra_cflags): Make it accumulate over
358 (libc_extra_cppflags): New flag.
359 * configure. Regenerate.
360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
361 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
362 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
365 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
368 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
369 result for FE_DOWNWARD rounding mode.
370 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
374 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
376 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
377 in function argument name.
379 2014-04-03 David Svoboda <svoboda@cert.org>
382 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
385 2014-04-03 Roland McGrath <roland@hack.frob.com>
387 * elf/dl-unmap-segments.h: New file.
388 * sysdeps/generic/ldsodefs.h
389 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
390 * elf/dl-close.c: Include <dl-unmap-segments.h>.
391 * elf/dl-fptr.c: Likewise.
392 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
393 * sysdeps/aarch64/tlsdesc.c: Likewise.
394 * sysdeps/arm/tlsdesc.c: Likewise.
395 * sysdeps/i386/tlsdesc.c: Likewise.
396 * sysdeps/tile/dl-runtime.c: Likewise.
397 * sysdeps/x86_64/tlsdesc.c: Likewise.
398 * elf/dl-load.h: New file.
399 * elf/dl-load.c: Include it.
400 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
401 Macros moved to dl-load.h.
402 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
403 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
404 Use _dl_unmap_segments in place of __munmap.
405 Break out segment-mapping loop into ...
406 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
408 2014-04-03 Will Newton <will.newton@linaro.org>
410 * elf/dl-lookup.c (do_lookup_x): Remove comment
411 referring to nested function and move variable
412 declarations down to before first use.
414 2014-04-02 Joseph Myers <joseph@codesourcery.com>
418 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
420 * math/s_catanf.c (__catanf): Likewise.
421 * math/s_catanh.c (__catanh): Likewise.
422 * math/s_catanhf.c (__catanhf): Likewise.
423 * math/s_catanhl.c (__catanhl): Likewise.
424 * math/s_catanl.c (__catanl): Likewise.
425 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
426 by positive zero when computing -Inf result.
427 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
428 (catanh_test): Likewise.
429 * sysdeps/i386/fpu/libm-test-ulps: Update.
430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
433 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
434 instead of using underflowing value in computing result.
435 * math/s_clog10.c (__clog10): Likewise.
436 * math/s_clog10f.c (__clog10f): Likewise.
437 * math/s_clog10l.c (__clog10l): Likewise.
438 * math/s_clogf.c (__clogf): Likewise.
439 * math/s_clogl.c (__clogl): Likewise.
440 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
441 (clog10_test): Likewise.
442 * sysdeps/i386/fpu/libm-test-ulps: Update.
443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
445 2014-04-02 Alan Modra <amodra@gmail.com>
448 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
449 output when value is near a power of two. Use int64_t for lx and
450 remove casts. Use decimal rather than hex exponent constants.
451 Don't use long double multiplication when double will suffice.
452 * math/libm-test.inc (nextafter_test_data): Add tests.
453 * NEWS: Add 16739 and 16786 to bug list.
455 2014-04-02 Alan Modra <amodra@gmail.com>
457 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
459 2014-04-02 Alan Modra <amodra@gmail.com>
461 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
463 2014-04-01 Will Newton <will.newton@linaro.org>
465 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
466 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
468 2014-04-01 Florian Weimer <fweimer@redhat.com>
471 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
472 * nptl/tst-setuid2.c: New file.
473 * nptl/Makefile (xtests): Add tst-setuid2.
475 2014-04-01 Alan Modra <amodra@gmail.com>
478 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
480 2014-03-31 Joseph Myers <joseph@codesourcery.com>
484 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
485 set errno as appropriate.
486 * math/w_scalbf.c (__scalbf): Likewise.
487 * math/w_scalbl.c (__scalbl): Likewise.
488 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
489 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
490 * math/libm-test.inc (scalb_test_data): Add errno expectations.
494 * math/w_atan2.c: Include <errno.h>.
495 (__atan2): Set errno for result underflowing to zero.
496 * math/w_atan2f.c: Include <errno.h>.
497 (__atan2f): Set errno for result underflowing to zero.
498 * math/w_atan2l.c: Include <errno.h>.
499 (__atan2l): Set errno for result underflowing to zero.
500 * math/auto-libm-test-in: Don't allow missing errno for some atan2
502 * math/auto-libm-test-out: Regenerated.
504 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
506 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
507 Encode instruction correctly in little endian.
508 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
510 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
512 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
514 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
517 2014-03-31 Joseph Myers <joseph@codesourcery.com>
520 * sysdeps/unix/sysv/linux/kernel-features.h
521 [__sparc__ && !__arch64__ && !__sparc_v9__]
522 (__ASSUME_SET_ROBUST_LIST): Do not define.
523 [__sparc__ && !__arch64__ && !__sparc_v9__]
524 (__ASSUME_FUTEX_LOCK_PI): Likewise.
525 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
527 * sysdeps/unix/sysv/linux/arm/kernel-features.h
528 (__ASSUME_FUTEX_LOCK_PI): Undefine.
529 (__ASSUME_REQUEUE_PI): Likewise.
530 (__ASSUME_SET_ROBUST_LIST): Likewise.
531 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
532 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
534 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
535 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
537 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
539 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
541 * sysdeps/unix/sysv/linux/mips/kernel-features.h
542 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
544 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
545 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
549 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
550 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
551 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
553 2014-03-31 Will Newton <will.newton@linaro.org>
555 * benchtests/Makefile (bench): Add ffs and ffsll to list
557 * benchtests/ffs-inputs: New file.
558 * benchtests/ffsll-inputs: Likewise.
560 2014-03-29 Joseph Myers <joseph@codesourcery.com>
563 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
564 too large before casting to int.
565 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
566 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
567 * math/libm-test.inc (scalb_test_data): Add more tests.
569 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
571 * benchtests/Makefile (DETAILED_OPT): New make option.
572 (bench-func): Run benchmark program with -d if DETAILED_OPT is
574 * benchtests/bench-skeleton.c: Include stdbool.h.
575 (main): Store and print timings per input.
576 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
577 member to each argument value.
578 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
579 (_print_arg_data): Initialize per-input timing to 0.
581 * benchtests/Makefile (timing-type): New binary.
582 (bench-clean): Also remove bench-timing-type.
583 (bench): New target for timing-type.
584 (bench-func): Print output in JSON format.
585 * benchtests/bench-skeleton.c (main): Print output in JSON
587 * benchtests/bench-timing-type.c: New file.
588 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
589 (TIMING_PRINT_STATS): Remove.
590 * benchtests/scripts/bench.py (_print_arg_data): Store variant
593 * benchtests/bench-modf.c: Remove.
594 * benchtests/modf-inputs: New inputs file.
596 2014-03-28 Joseph Myers <joseph@codesourcery.com>
599 * math/s_clog10.c (M_PI_LOG10E): New macro.
600 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
601 imaginary parts are 0.
602 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
603 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
604 imaginary parts are 0.
605 * math/s_clog10l.c (M_PI_LOG10El): New macro.
606 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
607 imaginary parts are 0.
608 * math/libm-test.inc (clog10_test_data): Update expected results
609 for when real and imaginary parts are 0.
611 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
613 * elf/dl-load.c: Finish conversion of __builtin_expect into
616 2014-03-27 Joseph Myers <joseph@codesourcery.com>
619 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
620 1+x for argument with exponent below -67.
621 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
623 * math/auto-libm-test-in: Add more tests of exp.
624 * math/auto-libm-test-out: Regenerated.
626 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
629 * inet/getnetgrent_r.c (get_nonempty_val): New function.
630 (nscd_getnetgrent): Use it.
633 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
636 2014-03-27 Andi Kleen <ak@linux.intel.com>
638 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
639 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
640 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
641 Remove out of line section. Use cfi intrinsics.
642 (LLL_STUB_UNWIND_INFO*): Remove.
643 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
644 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
645 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
646 Remove out of line section. Use cfi intrinsics.
647 (LLL_STUB_UNWIND_INFO*): Remove.
649 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
652 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
655 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
657 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
659 2014-03-26 Joseph Myers <joseph@codesourcery.com>
662 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
664 * math/test-fenv-preserve.c: New file.
665 * math/Makefile (tests): Add test-fenv-preserve.
667 2014-03-26 Will Newton <will.newton@linaro.org>
669 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
671 2014-03-25 Roland McGrath <roland@hack.frob.com>
673 * scripts/versionlist.awk: Partition the version sets and emit all
674 GLIBC_* (sorted) before all others (sorted).
676 2014-03-25 Joseph Myers <joseph@codesourcery.com>
678 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
681 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
683 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
686 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
688 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
691 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
695 2014-03-25 Andreas Schwab <schwab@suse.de>
697 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
698 label to be used after in6ailist is initialized.
700 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
702 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
703 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
705 2014-03-25 Joseph Myers <joseph@codesourcery.com>
709 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
711 (fp_formats): Update initializers.
712 (init_fp_formats): Initialize new field.
713 (output_for_one_input_case): Allow underflow for results up to
715 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
716 * math/auto-libm-test-in: Don't mark some underflows from asin and
718 * math/auto-libm-test-out: Regenerated.
719 * sysdeps/i386/fpu/libm-test-ulps: Update.
720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
722 2014-03-25 Andreas Schwab <schwab@suse.de>
724 * libio/Makefile (tst-ftell-partial-wide-ENV)
725 (tst-ftell-active-handler-ENV): Define.
727 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
729 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
731 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
733 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
735 2014-03-24 Joseph Myers <joseph@codesourcery.com>
737 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
738 * sysdeps/x86_64/fpu/multiarch/e_exp.c
739 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
741 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
744 * elf/dl-load.c (open_verify): Add mode parameter.
745 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
746 (open_path): Change from boolean 'secure' to complete flag 'mode'
747 (_dl_map_object): Adjust.
748 * elf/Makefile (tests): Add tst-dlopen-aout.
749 * elf/tst-dlopen-aout.c: New test.
751 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
754 * sysdeps/unix/sysv/linux/s390/bits/stat.h
755 (struct stat): Rename member pad0 to __glibc_reserved0.
757 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
760 * sysdeps/s390/s390-32/bits/wordsize.h
761 (__WORDSIZE32_SIZE_ULONG): New define.
762 * sysdeps/s390/s390-64/bits/wordsize.h
763 (__WORDSIZE32_SIZE_ULONG): Likewise.
764 * sysdeps/generic/stdint.h (SIZE_MAX):
765 Define as UL if __WORDSIZE32_SIZE_ULONG.
767 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
770 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
771 (__glibc_reserved0): New variable.
772 (sa_flags): Change type to int.
774 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
776 * posix/Makefile (before-compile): Use += before-compile instead
779 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
781 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
782 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
784 2014-03-20 Andreas Schwab <schwab@suse.de>
787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
788 non-matching result from nscd.
790 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
792 * scripts/bench.py: Moved to ...
793 * benchtests/scripts/bench.py: ... here.
794 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
796 2014-03-24 Andreas Schwab <schwab@suse.de>
799 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
800 alloca_account and account alloca use for struct in6ailist.
802 2014-03-24 Joseph Myers <joseph@codesourcery.com>
805 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
806 rounding mode to recompute results that overflow to infinity or
808 * math/auto-libm-test-in: Don't mark tests as expected to fail for
810 * math/auto-libm-test-out: Regenerated.
811 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
812 (ccosh_test): Likewise.
813 (csin_test_data): Use plus_oflow.
814 (csin_test): Use ALL_RM_TEST.
815 (csinh_test_data): Use plus_oflow.
816 (csinh_test): Use ALL_RM_TEST.
817 * sysdeps/i386/fpu/libm-test-ulps: Update.
818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
820 2014-03-21 Joseph Myers <joseph@codesourcery.com>
822 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
823 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
824 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
827 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
829 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
830 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
831 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
832 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
834 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
835 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
837 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
838 * sysdeps/i386/fpu/libm-test-ulps: Update.
839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
841 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
843 * scripts/bench.pl: Remove file.
844 * scripts/bench.py: New benchmark script.
845 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
846 * benchtests/README: Mention python dependency.
847 * scripts/pylintrc: New file.
848 * scripts/pylint: New file.
850 * bits/mathdef.h: Use #ifdef instead of #if.
851 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
852 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
853 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
854 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
855 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
856 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
858 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
859 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
861 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
863 and strpbrk-ppc64 objects.
864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
865 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
866 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
867 multiarch strpbrk for POWER7.
868 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
869 multiarch strpbrk for PPC64.
870 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
872 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
875 2014-03-20 Joseph Myers <joseph@codesourcery.com>
877 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
878 (atan_test): Likewise.
879 (atanh_test_data): Use NO_TEST_INLINE for two tests.
880 (atanh_test): Use ALL_RM_TEST.
881 (atan2_test_data): Likewise.
882 (cabs_test): Likewise.
883 (cacosh_test): Likewise.
884 (carg_test): Likewise.
885 (casin_test): Likewise.
886 (casinh_test): Likewise.
887 (cbrt_test): Likewise.
888 (csqrt_test): Likewise.
889 (erf_test): Likewise.
890 (erfc_test): Likewise.
891 (pow10_test): Likewise.
892 (exp2_test): Likewise.
893 (hypot_test): Likewise.
896 (lgamma_test): Likewise.
897 (gamma_test): Likewise.
898 (sincos_test): Likewise.
899 (tanh_test): Likewise.
902 * sysdeps/i386/fpu/libm-test-ulps: Update.
903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
905 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
907 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
908 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
909 and strcspn-ppc64 objects.
910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
911 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
912 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
913 multiarch strcspn for POWER7.
914 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
915 multiarch strcspn for PPC64.
916 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
918 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
921 2014-03-20 Joseph Myers <joseph@codesourcery.com>
923 * math/gen-libm-test.pl (generate_testfile): Expect only function
924 name as argument to AUTO_TESTS_* and pass results for all rounding
926 (parse_auto_input): Separate inputs of automatic tests from
927 outputs before storing in %auto_tests.
928 * math/libm-test.inc (acos_test_data): Update call to
930 (acos_test): Use ALL_RM_TEST.
931 (acos_tonearest_test_data): Remove.
932 (acos_test_tonearest): Likewise.
933 (acos_towardzero_test_data): Likewise.
934 (acos_test_towardzero): Likewise.
935 (acos_downward_test_data): Likewise.
936 (acos_test_downward): Likewise.
937 (acos_upward_test_data): Likewise.
938 (acos_test_upward): Likewise.
939 (acosh_test_data): Update call to AUTO_TESTS_f_f.
940 (asin_test_data): Likewise.
941 (asin_test): Use ALL_RM_TEST.
942 (asin_tonearest_test_data): Remove.
943 (asin_test_tonearest): Likewise.
944 (asin_towardzero_test_data): Likewise.
945 (asin_test_towardzero): Likewise.
946 (asin_downward_test_data): Likewise.
947 (asin_test_downward): Likewise.
948 (asin_upward_test_data): Likewise.
949 (asin_test_upward): Likewise.
950 (asinh_test_data): Update call to AUTO_TESTS_f_f.
951 (atan_test_data): Likewise.
952 (atanh_test_data): Likewise.
953 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
954 (cabs_test_data): Update call to AUTO_TESTS_c_f.
955 (carg_test_data): Likewise.
956 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
957 (ccos_test_data): Update call to AUTO_TESTS_c_c.
958 (ccosh_test_data): Likewise.
959 (cexp_test_data): Likewise.
960 (clog_test_data): Likewise.
961 (clog10_test_data): Likewise.
962 (cos_test_data): Update call to AUTO_TESTS_f_f.
963 (cos_test): Use ALL_RM_TEST.
964 (cos_tonearest_test_data): Remove.
965 (cos_test_tonearest): Likewise.
966 (cos_towardzero_test_data): Likewise.
967 (cos_test_towardzero): Likewise.
968 (cos_downward_test_data): Likewise.
969 (cos_test_downward): Likewise.
970 (cos_upward_test_data): Likewise.
971 (cos_test_upward): Likewise.
972 (cosh_test_data): Update call to AUTO_TESTS_f_f.
973 (cosh_test): Use ALL_RM_TEST.
974 (cosh_tonearest_test_data): Remove.
975 (cosh_test_tonearest): Likewise.
976 (cosh_towardzero_test_data): Likewise.
977 (cosh_test_towardzero): Likewise.
978 (cosh_downward_test_data): Likewise.
979 (cosh_test_downward): Likewise.
980 (cosh_upward_test_data): Likewise.
981 (cosh_test_upward): Likewise.
982 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
983 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
984 (ctan_test_data): Likewise.
985 (ctan_test): Use ALL_RM_TEST.
986 (ctan_tonearest_test_data): Remove.
987 (ctan_test_tonearest): Likewise.
988 (ctan_towardzero_test_data): Likewise.
989 (ctan_test_towardzero): Likewise.
990 (ctan_downward_test_data): Likewise.
991 (ctan_test_downward): Likewise.
992 (ctan_upward_test_data): Likewise.
993 (ctan_test_upward): Likewise.
994 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
995 (ctanh_test): Use ALL_RM_TEST.
996 (ctanh_tonearest_test_data): Remove.
997 (ctanh_test_tonearest): Likewise.
998 (ctanh_towardzero_test_data): Likewise.
999 (ctanh_test_towardzero): Likewise.
1000 (ctanh_downward_test_data): Likewise.
1001 (ctanh_test_downward): Likewise.
1002 (ctanh_upward_test_data): Likewise.
1003 (ctanh_test_upward): Likewise.
1004 (erf_test_data): Update call to AUTO_TESTS_f_f.
1005 (erfc_test_data): Likewise.
1006 (exp_test_data): Likewise.
1007 (exp_test): Use ALL_RM_TEST.
1008 (exp_tonearest_test_data): Remove.
1009 (exp_test_tonearest): Likewise.
1010 (exp_towardzero_test_data): Likewise.
1011 (exp_test_towardzero): Likewise.
1012 (exp_downward_test_data): Likewise.
1013 (exp_test_downward): Likewise.
1014 (exp_upward_test_data): Likewise.
1015 (exp_test_upward): Likewise.
1016 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1017 (exp10_test): Use ALL_RM_TEST.
1018 (exp10_tonearest_test_data): Remove.
1019 (exp10_test_tonearest): Likewise.
1020 (exp10_towardzero_test_data): Likewise.
1021 (exp10_test_towardzero): Likewise.
1022 (exp10_downward_test_data): Likewise.
1023 (exp10_test_downward): Likewise.
1024 (exp10_upward_test_data): Likewise.
1025 (exp10_test_upward): Likewise.
1026 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1027 (expm1_test_data): Likewise.
1028 (expm1_test): Use ALL_RM_TEST.
1029 (expm1_tonearest_test_data): Remove.
1030 (expm1_test_tonearest): Likewise.
1031 (expm1_towardzero_test_data): Likewise.
1032 (expm1_test_towardzero): Likewise.
1033 (expm1_downward_test_data): Likewise.
1034 (expm1_test_downward): Likewise.
1035 (expm1_upward_test_data): Likewise.
1036 (expm1_test_upward): Likewise.
1037 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1038 (fma_test): Use ALL_RM_TEST.
1039 (fma_towardzero_test_data): Remove.
1040 (fma_test_towardzero): Likewise.
1041 (fma_downward_test_data): Likewise.
1042 (fma_test_downward): Likewise.
1043 (fma_upward_test_data): Likewise.
1044 (fma_test_upward): Likewise.
1045 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1046 (j0_test_data): Update call to AUTO_TESTS_f_f.
1047 (j1_test_data): Likewise.
1048 (jn_test_data): Update call to AUTO_TESTS_if_f.
1049 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1050 (log_test_data): Update call to AUTO_TESTS_f_f.
1051 (log10_test_data): Likewise.
1052 (log1p_test_data): Likewise.
1053 (log2_test_data): Likewise.
1054 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1055 (pow_tonearest_test_data): Likewise.
1056 (sin_test_data): Update call to AUTO_TESTS_f_f.
1057 (sin_test): Use ALL_RM_TEST.
1058 (sin_tonearest_test_data): Remove.
1059 (sin_test_tonearest): Likewise.
1060 (sin_towardzero_test_data): Likewise.
1061 (sin_test_towardzero): Likewise.
1062 (sin_downward_test_data): Likewise.
1063 (sin_test_downward): Likewise.
1064 (sin_upward_test_data): Likewise.
1065 (sin_test_upward): Likewise.
1066 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1067 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1068 (sinh_test): Use ALL_RM_TEST.
1069 (sinh_tonearest_test_data): Remove.
1070 (sinh_test_tonearest): Likewise.
1071 (sinh_towardzero_test_data): Likewise.
1072 (sinh_test_towardzero): Likewise.
1073 (sinh_downward_test_data): Likewise.
1074 (sinh_test_downward): Likewise.
1075 (sinh_upward_test_data): Likewise.
1076 (sinh_test_upward): Likewise.
1077 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1078 (sqrt_test): Use ALL_RM_TEST.
1079 (sqrt_tonearest_test_data): Remove.
1080 (sqrt_test_tonearest): Likewise.
1081 (sqrt_towardzero_test_data): Likewise.
1082 (sqrt_test_towardzero): Likewise.
1083 (sqrt_downward_test_data): Likewise.
1084 (sqrt_test_downward): Likewise.
1085 (sqrt_upward_test_data): Likewise.
1086 (sqrt_test_upward): Likewise.
1087 (tan_test_data): Update call to AUTO_TESTS_f_f.
1088 (tan_test): Use ALL_RM_TEST.
1089 (tan_tonearest_test_data): Remove.
1090 (tan_test_tonearest): Likewise.
1091 (tan_towardzero_test_data): Likewise.
1092 (tan_test_towardzero): Likewise.
1093 (tan_downward_test_data): Likewise.
1094 (tan_test_downward): Likewise.
1095 (tan_upward_test_data): Likewise.
1096 (tan_test_upward): Likewise.
1097 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1098 (tgamma_test_data): Likewise.
1099 (y0_test_data): Likewise.
1100 (y1_test_data): Likewise.
1101 (yn_test_data): Update call to AUTO_TESTS_if_f.
1102 (main): Do not call removed functions.
1104 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1106 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1107 (ldexp_test_data): Remove.
1108 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1110 (scalb_test): Use ALL_RM_TEST.
1112 2014-03-19 Andreas Schwab <schwab@suse.de>
1114 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1116 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1119 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1120 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1121 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1122 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1123 (__ASSUME_PREADV): Undefine.
1124 (__ASSUME_PWRITEV): Likewise.
1126 2014-03-18 Roland McGrath <roland@hack.frob.com>
1128 * bits/mman-linux.h: Add comment about non-Linux use.
1129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1130 bits/mman-linux.h resting place.
1132 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1133 * bits/mman-linux.h: ... here.
1135 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1137 * conform/conformtest.pl: Add standard definition when calling C
1138 preprocessor on data files.
1139 (checknamespace): Remove unused variable.
1141 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1143 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1144 minus_oflow, plus_uflow and minus_uflow in expected results.
1145 * math/libm-test.inc (scalbn_test_data): Add more tests of
1146 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1148 (scalbn_test): Use ALL_RM_TEST.
1149 (scalbln_test_data): Add more tests of negative arguments. Use
1150 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1151 (scalbln_test): Use ALL_RM_TEST.
1153 2014-03-18 Roland McGrath <roland@hack.frob.com>
1155 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1157 2014-03-18 Will Newton <will.newton@linaro.org>
1159 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1162 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1164 * Makerules [!subdir] (check-abi): Exit with error status if a
1167 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1169 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1170 for rint. Include results for all rounding modes.
1171 (nearbyint_test): Use ALL_RM_TEST.
1172 (rint_test_data): Include all tests used for nearbyint.
1174 2014-03-17 Will Newton <will.newton@linaro.org>
1176 * nptl/sysdeps/pthread/pthread.h: Revert previous
1179 * sysdeps/generic/ldsodefs.h: Revert previous
1182 * libio/genops.c: Revert previous change.
1183 * libio/libioP.h: Likewise.
1184 * stdio-common/vfprintf.c: Likewise.
1186 * sysdeps/generic/math_private.h: Revert previous
1189 * sysdeps/generic/math_private.h: Check whether
1190 HAVE_RM_CTX is defined with #ifdef rather
1193 * argp/argp-fmtstream.h: Check whether
1194 __STRICT_ANSI__ is defined with #ifdef rather
1196 * argp/argp.h: Likewise.
1198 * libio/genops.c: Check whether
1199 _IO_JUMPS_OFFSET is defined with #ifdef rather
1201 * libio/libioP.h: Likewise.
1202 * stdio-common/vfprintf.c: Likewise.
1204 * sysdeps/generic/ldsodefs.h: Check whether
1205 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1208 * nptl/sysdeps/pthread/pthread.h: Check
1209 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1212 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1214 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1216 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1220 * libio/fileops.c (_IO_file_open): Seek to end of file but
1221 don't cache the offset.
1222 (get_file_offset): Remove function.
1223 (do_ftell): Use cached offset when available.
1224 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1225 don't cache the offset.
1226 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1228 (do_one_test): Call it.
1229 (do_ftell_test): Fix up expected old offset for a+ mode.
1230 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1233 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1234 up test status with function return status.
1235 (do_write_test): Likewise.
1236 (do_append_test): Likewise.
1238 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1239 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1242 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1244 * math/gen-libm-test.pl (parse_args): Handle results specified for
1245 each rounding mode separately.
1246 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1247 tests and results from lrint_tonearest_test_data,
1248 lrint_towardzero_test_data, lrint_downward_test_data and
1249 lrint_upward_test_data.
1250 (lrint_test): Use ALL_RM_TEST.
1251 (lrint_tonearest_test_data): Remove.
1252 (lrint_test_tonearest): Likewise.
1253 (lrint_towardzero_test_data): Likewise.
1254 (lrint_test_towardzero): Likewise.
1255 (lrint_downward_test_data): Likewise.
1256 (lrint_test_downward): Likewise.
1257 (lrint_upward_test_data): Likewise.
1258 (lrint_test_upward): Likewise.
1259 (llrint_test_data): Merge in per-rounding-mode tests and results
1260 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1261 llrint_downward_test_data and llrint_upward_test_data.
1262 (llrint_test): Use ALL_RM_TEST.
1263 (llrint_tonearest_test_data): Remove.
1264 (llrint_test_tonearest): Likewise.
1265 (llrint_towardzero_test_data): Likewise.
1266 (llrint_test_towardzero): Likewise.
1267 (llrint_downward_test_data): Likewise.
1268 (llrint_test_downward): Likewise.
1269 (llrint_upward_test_data): Likewise.
1270 (llrint_test_upward): Likewise.
1271 (rint_test_data): Merge in per-rounding-mode tests and results
1272 from rint_tonearest_test_data, rint_towardzero_test_data,
1273 rint_downward_test_data and rint_upward_test_data. Add
1274 per-rounding-mode results for tests not in those arrays.
1275 (rint_test): Use ALL_RM_TEST.
1276 (rint_tonearest_test_data): Remove.
1277 (rint_test_tonearest): Likewise.
1278 (rint_towardzero_test_data): Likewise.
1279 (rint_test_towardzero): Likewise.
1280 (rint_downward_test_data): Likewise.
1281 (rint_test_downward): Likewise.
1282 (rint_upward_test_data): Likewise.
1283 (rint_test_upward): Likewise.
1284 (main): Don't call removed functions.
1286 2014-03-14 Roland McGrath <roland@hack.frob.com>
1288 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1289 "Compiled on ..." crapola. It is anti-useful.
1291 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1293 * scripts/evaluate-test.sh: Handle fourth argument to determine
1294 whether test run should stop on failure.
1295 * Makeconfig (stop-on-test-failure): New variable.
1296 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1297 $(stop-on-test-failure).
1298 * Makefile (tests): Give a summary of results from testing and
1299 exit with failure status if they include an ERROR or FAIL.
1301 * manual/install.texi (Configuring and compiling): Mention
1302 stop-on-test-failure=y.
1303 * INSTALL: Regenerated.
1305 2014-03-14 Roland McGrath <roland@hack.frob.com>
1307 * scripts/versionlist.awk: New file.
1308 * Makerules [$(build-shared) = yes]
1309 (postclean-generated): Add Versions.def, not Versions.def.v and
1311 ($(common-objpfx)Versions.def.v.i): Target removed.
1312 ($(common-objpfx)Versions.def): New target.
1313 ($(common-objpfx)Versions.all): Depend on that rather that
1314 $(common-objpfx)Versions.def.v.
1315 * Versions.def: File removed.
1317 * Makeconfig (+gccwarn): Add -Wundef.
1318 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1319 a dl-sysdep.h breaking its contract.
1320 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1321 * include/stackinfo.h: New file.
1322 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1323 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1324 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1325 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1326 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1327 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1328 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1329 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1330 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1331 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1332 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1333 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1334 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1335 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1336 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1338 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1341 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1343 * math/libm-test.inc (round_test_data): Add more tests.
1345 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1348 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1350 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1352 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1355 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1357 * math/libm-test.inc (ceil_test_data): Add more tests.
1359 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1361 * math/libm-test.inc (trunc_test_data): Add more tests related to
1364 2014-03-14 Roland McGrath <roland@hack.frob.com>
1366 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1367 with #if rather than #ifdef.
1368 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1370 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1372 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1373 first. Disable AVX-512 GCC support if assembler doesn't support
1375 * sysdeps/x86_64/configure: Regenerated.
1377 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1379 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1380 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1381 (__old_pthread_attr_setstack): Likewise.
1382 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1383 [!_STACK_GROWS_DOWN]: Likewise.
1385 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1387 * config.make.in (have-bash2): Delete.
1388 * configure.ac (libc_cv_have_bash2): Delete.
1389 * configure: Regenerate.
1390 * elf/Makefile (common-ldd-rewrite): Rename to ...
1391 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1392 (sh-ldd-rewrite): Delete.
1393 (bash-ldd-rewrite): Delete.
1394 (have-bash2): Delete checks.
1395 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1397 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1399 * config.make.in (have-ksh): Delete.
1401 * configure.ac (libc_cv_have_ksh): Delete.
1402 * configure: Regenerate.
1404 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1406 * elf/Makefile: Delete $(have-ksh) check.
1407 ($(objpfx)sotruss): Change KSH to BASH.
1408 * elf/sotruss.ksh: Rename to ...
1409 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1410 function style to match POSIX. Drop ksh vim mode setting.
1412 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1414 * manual/time.texi (Specifying the Time Zone with TZ): Change
1415 Tuesday to Thursday.
1417 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1419 * debug/tst-longjmp_chk2.c: Update header comment.
1420 (stackoverflow_handler): Add comment. Call assert on pass value.
1422 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1424 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1425 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1426 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1427 (La_x86_64_vector): Add zmm.
1428 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1429 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1430 ($(objpfx)tst-audit10): New target.
1431 ($(objpfx)tst-audit10.out): Likewise.
1432 (tst-audit10-ENV): New.
1433 (AVX512-CFLAGS): Likewise.
1434 (CFLAGS-tst-audit10.c): Likewise.
1435 (CFLAGS-tst-auditmod10a.c): Likewise.
1436 (CFLAGS-tst-auditmod10b.c): Likewise.
1437 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1438 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1439 * sysdeps/x86_64/configure: Regenerated.
1440 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1441 AVX-512 zmm register support.
1442 (_dl_x86_64_save_sse): Likewise.
1443 (_dl_x86_64_restore_sse): Likewise.
1444 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1445 size vector registers.
1446 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1447 (ZMM_SIZE): Likewise.
1448 * sysdeps/x86_64/tst-audit10.c: New file.
1449 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1450 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1452 2014-03-13 Roland McGrath <roland@hack.frob.com>
1454 * configure.ac (HAVE_EHDR_START): New check.
1455 * configure: Regenerated.
1456 * config.h.in (HAVE_EHDR_START): New #undef.
1457 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1458 assuming the lowest-addressed segment maps the start of the file.
1460 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1462 * INSTALL: Regenerated.
1464 2014-03-13 Will Newton <will.newton@linaro.org>
1466 * manual/setjmp.texi (System V contexts): Improve
1467 clarity and grammar of documentation.
1469 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1472 * elf/Makefile (tests): Add tst-pie2.
1473 (tests-pie): Add tst-pie2.
1474 * elf/tst-pie2.c: New file.
1475 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1477 * elf/rtld.c (map_doit): Load executable as lt_executable.
1478 (dl_main): Likewise.
1480 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1483 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1484 (__ASSUME_PSELECT): Undefine.
1486 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1489 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1490 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1492 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1493 selector for static builds.
1495 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1498 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1501 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1503 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1504 selector for static builds.
1506 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1508 * sysdeps/mips/math_private.h [__mips_hard_float]
1509 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1510 libc_feresetround_mips_ctx.
1511 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1512 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1513 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1516 * math/s_nextafter.c (__nextafter): Do not return value from
1517 overflowing computation.
1518 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1519 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1520 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1522 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1524 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1525 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1527 2014-03-11 Roland McGrath <roland@hack.frob.com>
1529 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1530 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1531 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1532 the new mov targetting sp.
1534 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1537 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1538 Define it for static builds as well.
1539 (NO_BZERO_IMPL): Likewise.
1541 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1543 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1544 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1545 multiarch strspn for PPC64.
1546 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1547 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1549 (__libc_ifunc_impl_list): Likewise.
1550 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1551 multiarch optimizations
1552 * string/strspn.c (strspn): Using macro to redefine symbol name.
1554 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1555 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1557 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1558 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1559 multiarch strncat for PPC64.
1560 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1561 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1563 (__libc_ifunc_impl_list): Likewise.
1564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1565 multiarch optimizations
1567 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1570 * nscd/nscd.service: Make service type forking.
1572 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1574 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1575 sign in non default rounding modes.
1576 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1578 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1580 * math/libm-test.inc (ALL_RM_TEST): New macro.
1581 (ceil_test): Use ALL_RM_TEST.
1582 (cimag_test): Likewise.
1583 (conj_test): Likewise.
1584 (copysign_test): Likewise.
1585 (cproj_test): Likewise.
1586 (creal_test): Likewise.
1587 (fabs_test): Likewise.
1588 (floor_test): Likewise.
1589 (fmax_test): Likewise.
1590 (fmin_test): Likewise.
1591 (fmod_test): Likewise.
1592 (fpclassify_test): Likewise.
1593 (frexp_test): Likewise.
1594 (ilogb_test): Likewise.
1595 (isfinite_test): Likewise.
1596 (finite_test): Likewise.
1597 (isgreater_test): Likewise.
1598 (isgreaterequal_test): Likewise.
1599 (isinf_test): Likewise.
1600 (isless_test): Likewise.
1601 (islessequal_test): Likewise.
1602 (islessgreater_test): Likewise.
1603 (isnan_test): Likewise.
1604 (isnormal_test): Likewise.
1605 (issignaling_test): Likewise.
1606 (isunordered_test): Likewise.
1607 (logb_test): Likewise.
1608 (logb_downward_test_data): Remove.
1609 (logb_test_downward): Likewise.
1610 (lround_test): Use ALL_RM_TEST.
1611 (llround_test): Likewise.
1612 (modf_test): Likewise.
1613 (nexttoward_test): Likewise.
1614 (remainder_test): Likewise.
1615 (drem_test): Likewise.
1616 (remainder_tonearest_test_data): Likewise.
1617 (remainder_test_tonearest): Likewise.
1618 (drem_test_tonearest): Likewise.
1619 (remainder_towardzero_test_data): Likewise.
1620 (remainder_test_towardzero): Likewise.
1621 (drem_test_towardzero): Likewise.
1622 (remainder_downward_test_data): Likewise.
1623 (remainder_test_downward): Likewise.
1624 (drem_test_downward): Likewise.
1625 (remainder_upward_test_data): Likewise.
1626 (remainder_test_upward): Likewise.
1627 (drem_test_upward): Likewise.
1628 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1629 (round_test): Use ALL_RM_TEST.
1630 (signbit_test): Likewise.
1631 (trunc_test): Likewise.
1632 (significand_test): Likewise.
1633 (main): Don't call removed functions.
1635 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1638 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1640 (ILL_ILLOPN): Likewise.
1641 (ILL_ILLADR): Likewise.
1642 (ILL_ILLTRP): Likewise.
1643 (ILL_PRVOPC): Likewise.
1644 (ILL_PRVREG): Likewise.
1645 (ILL_COPROC): Likewise.
1646 (ILL_BADSTK): Likewise.
1647 (FPE_INTDIV): Likewise.
1648 (FPE_INTOVF): Likewise.
1649 (FPE_FLTDIV): Likewise.
1650 (FPE_FLTOVF): Likewise.
1651 (FPE_FLTUND): Likewise.
1652 (FPE_FLTRES): Likewise.
1653 (FPE_FLTINV): Likewise.
1654 (FPE_FLTSUB): Likewise.
1655 (SEGV_MAPERR): Likewise.
1656 (SEGV_ACCERR): Likewise.
1657 (BUS_ADRALN): Likewise.
1658 (BUS_ADRERR): Likewise.
1659 (BUS_OBJERR): Likewise.
1660 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1661 (TRAP_TRACE): Likewise.
1662 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1664 (CLD_KILLED): Likewise.
1665 (CLD_DUMPED): Likewise.
1666 (CLD_TRAPPED): Likewise.
1667 (CLD_STOPPED): Likewise.
1668 (CLD_CONTINUED): Likewise.
1669 (POLL_IN): Likewise.
1670 (POLL_OUT): Likewise.
1671 (POLL_MSG): Likewise.
1672 (POLL_ERR): Likewise.
1673 (POLL_PRI): Likewise.
1674 (POLL_HUP): Likewise.
1675 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1677 (ILL_ILLOPN): Likewise.
1678 (ILL_ILLADR): Likewise.
1679 (ILL_ILLTRP): Likewise.
1680 (ILL_PRVOPC): Likewise.
1681 (ILL_PRVREG): Likewise.
1682 (ILL_COPROC): Likewise.
1683 (ILL_BADSTK): Likewise.
1684 (FPE_INTDIV): Likewise.
1685 (FPE_INTOVF): Likewise.
1686 (FPE_FLTDIV): Likewise.
1687 (FPE_FLTOVF): Likewise.
1688 (FPE_FLTUND): Likewise.
1689 (FPE_FLTRES): Likewise.
1690 (FPE_FLTINV): Likewise.
1691 (FPE_FLTSUB): Likewise.
1692 (SEGV_MAPERR): Likewise.
1693 (SEGV_ACCERR): Likewise.
1694 (BUS_ADRALN): Likewise.
1695 (BUS_ADRERR): Likewise.
1696 (BUS_OBJERR): Likewise.
1697 (BUS_MCEERR_AR): Likewise.
1698 (BUS_MCEERR_AO): Likewise.
1699 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1700 (TRAP_TRACE): Likewise.
1701 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1703 (CLD_KILLED): Likewise.
1704 (CLD_DUMPED): Likewise.
1705 (CLD_TRAPPED): Likewise.
1706 (CLD_STOPPED): Likewise.
1707 (CLD_CONTINUED): Likewise.
1708 (POLL_IN): Likewise.
1709 (POLL_OUT): Likewise.
1710 (POLL_MSG): Likewise.
1711 (POLL_ERR): Likewise.
1712 (POLL_PRI): Likewise.
1713 (POLL_HUP): Likewise.
1714 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1715 (ILL_ILLOPN): Likewise.
1716 (ILL_ILLADR): Likewise.
1717 (ILL_ILLTRP): Likewise.
1718 (ILL_PRVOPC): Likewise.
1719 (ILL_PRVREG): Likewise.
1720 (ILL_COPROC): Likewise.
1721 (ILL_BADSTK): Likewise.
1722 (FPE_INTDIV): Likewise.
1723 (FPE_INTOVF): Likewise.
1724 (FPE_FLTDIV): Likewise.
1725 (FPE_FLTOVF): Likewise.
1726 (FPE_FLTUND): Likewise.
1727 (FPE_FLTRES): Likewise.
1728 (FPE_FLTINV): Likewise.
1729 (FPE_FLTSUB): Likewise.
1730 (SEGV_MAPERR): Likewise.
1731 (SEGV_ACCERR): Likewise.
1732 (BUS_ADRALN): Likewise.
1733 (BUS_ADRERR): Likewise.
1734 (BUS_OBJERR): Likewise.
1735 (BUS_MCEERR_AR): Likewise.
1736 (BUS_MCEERR_AO): Likewise.
1737 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1738 (TRAP_TRACE): Likewise.
1739 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1741 (CLD_KILLED): Likewise.
1742 (CLD_DUMPED): Likewise.
1743 (CLD_TRAPPED): Likewise.
1744 (CLD_STOPPED): Likewise.
1745 (CLD_CONTINUED): Likewise.
1746 (POLL_IN): Likewise.
1747 (POLL_OUT): Likewise.
1748 (POLL_MSG): Likewise.
1749 (POLL_ERR): Likewise.
1750 (POLL_PRI): Likewise.
1751 (POLL_HUP): Likewise.
1752 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1754 (ILL_ILLOPN): Likewise.
1755 (ILL_ILLADR): Likewise.
1756 (ILL_ILLTRP): Likewise.
1757 (ILL_PRVOPC): Likewise.
1758 (ILL_PRVREG): Likewise.
1759 (ILL_COPROC): Likewise.
1760 (ILL_BADSTK): Likewise.
1761 (ILL_BADIADDR): Likewise.
1762 (ILL_BREAK): Likewise.
1763 (FPE_INTDIV): Likewise.
1764 (FPE_INTOVF): Likewise.
1765 (FPE_FLTDIV): Likewise.
1766 (FPE_FLTOVF): Likewise.
1767 (FPE_FLTUND): Likewise.
1768 (FPE_FLTRES): Likewise.
1769 (FPE_FLTINV): Likewise.
1770 (FPE_FLTSUB): Likewise.
1771 (FPE_DECOVF): Likewise.
1772 (FPE_DECDIV): Likewise.
1773 (FPE_DECERR): Likewise.
1774 (FPE_INVASC): Likewise.
1775 (FPE_INVDEC): Likewise.
1776 (SEGV_MAPERR): Likewise.
1777 (SEGV_ACCERR): Likewise.
1778 (SEGV_PSTKOVF): Likewise.
1779 (BUS_ADRALN): Likewise.
1780 (BUS_ADRERR): Likewise.
1781 (BUS_OBJERR): Likewise.
1782 (BUS_MCEERR_AR): Likewise.
1783 (BUS_MCEERR_AO): Likewise.
1784 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1785 (TRAP_TRACE): Likewise.
1786 (TRAP_BRANCH): Likewise.
1787 (TRAP_HWBKPT): Likewise.
1788 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1790 (CLD_KILLED): Likewise.
1791 (CLD_DUMPED): Likewise.
1792 (CLD_TRAPPED): Likewise.
1793 (CLD_STOPPED): Likewise.
1794 (CLD_CONTINUED): Likewise.
1795 (POLL_IN): Likewise.
1796 (POLL_OUT): Likewise.
1797 (POLL_MSG): Likewise.
1798 (POLL_ERR): Likewise.
1799 (POLL_PRI): Likewise.
1800 (POLL_HUP): Likewise.
1801 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1802 (ILL_ILLOPN): Likewise.
1803 (ILL_ILLADR): Likewise.
1804 (ILL_ILLTRP): Likewise.
1805 (ILL_PRVOPC): Likewise.
1806 (ILL_PRVREG): Likewise.
1807 (ILL_COPROC): Likewise.
1808 (ILL_BADSTK): Likewise.
1809 (FPE_INTDIV): Likewise.
1810 (FPE_INTOVF): Likewise.
1811 (FPE_FLTDIV): Likewise.
1812 (FPE_FLTOVF): Likewise.
1813 (FPE_FLTUND): Likewise.
1814 (FPE_FLTRES): Likewise.
1815 (FPE_FLTINV): Likewise.
1816 (FPE_FLTSUB): Likewise.
1817 (SEGV_MAPERR): Likewise.
1818 (SEGV_ACCERR): Likewise.
1819 (BUS_ADRALN): Likewise.
1820 (BUS_ADRERR): Likewise.
1821 (BUS_OBJERR): Likewise.
1822 (BUS_MCEERR_AR): Likewise.
1823 (BUS_MCEERR_AO): Likewise.
1824 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1825 (TRAP_TRACE): Likewise.
1826 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1828 (CLD_KILLED): Likewise.
1829 (CLD_DUMPED): Likewise.
1830 (CLD_TRAPPED): Likewise.
1831 (CLD_STOPPED): Likewise.
1832 (CLD_CONTINUED): Likewise.
1833 (POLL_IN): Likewise.
1834 (POLL_OUT): Likewise.
1835 (POLL_MSG): Likewise.
1836 (POLL_ERR): Likewise.
1837 (POLL_PRI): Likewise.
1838 (POLL_HUP): Likewise.
1839 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1840 (ILL_ILLOPN): Likewise.
1841 (ILL_ILLADR): Likewise.
1842 (ILL_ILLTRP): Likewise.
1843 (ILL_PRVOPC): Likewise.
1844 (ILL_PRVREG): Likewise.
1845 (ILL_COPROC): Likewise.
1846 (ILL_BADSTK): Likewise.
1847 (FPE_INTDIV): Likewise.
1848 (FPE_INTOVF): Likewise.
1849 (FPE_FLTDIV): Likewise.
1850 (FPE_FLTOVF): Likewise.
1851 (FPE_FLTUND): Likewise.
1852 (FPE_FLTRES): Likewise.
1853 (FPE_FLTINV): Likewise.
1854 (FPE_FLTSUB): Likewise.
1855 (SEGV_MAPERR): Likewise.
1856 (SEGV_ACCERR): Likewise.
1857 (BUS_ADRALN): Likewise.
1858 (BUS_ADRERR): Likewise.
1859 (BUS_OBJERR): Likewise.
1860 (BUS_MCEERR_AR): Likewise.
1861 (BUS_MCEERR_AO): Likewise.
1862 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1863 (TRAP_TRACE): Likewise.
1864 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1866 (CLD_KILLED): Likewise.
1867 (CLD_DUMPED): Likewise.
1868 (CLD_TRAPPED): Likewise.
1869 (CLD_STOPPED): Likewise.
1870 (CLD_CONTINUED): Likewise.
1871 (POLL_IN): Likewise.
1872 (POLL_OUT): Likewise.
1873 (POLL_MSG): Likewise.
1874 (POLL_ERR): Likewise.
1875 (POLL_PRI): Likewise.
1876 (POLL_HUP): Likewise.
1877 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1878 (ILL_ILLOPN): Likewise.
1879 (ILL_ILLADR): Likewise.
1880 (ILL_ILLTRP): Likewise.
1881 (ILL_PRVOPC): Likewise.
1882 (ILL_PRVREG): Likewise.
1883 (ILL_COPROC): Likewise.
1884 (ILL_BADSTK): Likewise.
1885 (FPE_INTDIV): Likewise.
1886 (FPE_INTOVF): Likewise.
1887 (FPE_FLTDIV): Likewise.
1888 (FPE_FLTOVF): Likewise.
1889 (FPE_FLTUND): Likewise.
1890 (FPE_FLTRES): Likewise.
1891 (FPE_FLTINV): Likewise.
1892 (FPE_FLTSUB): Likewise.
1893 (SEGV_MAPERR): Likewise.
1894 (SEGV_ACCERR): Likewise.
1895 (BUS_ADRALN): Likewise.
1896 (BUS_ADRERR): Likewise.
1897 (BUS_OBJERR): Likewise.
1898 (BUS_MCEERR_AR): Likewise.
1899 (BUS_MCEERR_AO): Likewise.
1900 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1901 (TRAP_TRACE): Likewise.
1902 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1904 (CLD_KILLED): Likewise.
1905 (CLD_DUMPED): Likewise.
1906 (CLD_TRAPPED): Likewise.
1907 (CLD_STOPPED): Likewise.
1908 (CLD_CONTINUED): Likewise.
1909 (POLL_IN): Likewise.
1910 (POLL_OUT): Likewise.
1911 (POLL_MSG): Likewise.
1912 (POLL_ERR): Likewise.
1913 (POLL_PRI): Likewise.
1914 (POLL_HUP): Likewise.
1915 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1916 (ILL_ILLOPN): Likewise.
1917 (ILL_ILLADR): Likewise.
1918 (ILL_ILLTRP): Likewise.
1919 (ILL_PRVOPC): Likewise.
1920 (ILL_PRVREG): Likewise.
1921 (ILL_COPROC): Likewise.
1922 (ILL_BADSTK): Likewise.
1923 (ILL_DBLFLT): Likewise.
1924 (ILL_HARDWALL): Likewise.
1925 (FPE_INTDIV): Likewise.
1926 (FPE_INTOVF): Likewise.
1927 (FPE_FLTDIV): Likewise.
1928 (FPE_FLTOVF): Likewise.
1929 (FPE_FLTUND): Likewise.
1930 (FPE_FLTRES): Likewise.
1931 (FPE_FLTINV): Likewise.
1932 (FPE_FLTSUB): Likewise.
1933 (SEGV_MAPERR): Likewise.
1934 (SEGV_ACCERR): Likewise.
1935 (BUS_ADRALN): Likewise.
1936 (BUS_ADRERR): Likewise.
1937 (BUS_OBJERR): Likewise.
1938 (BUS_MCEERR_AR): Likewise.
1939 (BUS_MCEERR_AO): Likewise.
1940 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1941 (TRAP_TRACE): Likewise.
1942 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1944 (CLD_KILLED): Likewise.
1945 (CLD_DUMPED): Likewise.
1946 (CLD_TRAPPED): Likewise.
1947 (CLD_STOPPED): Likewise.
1948 (CLD_CONTINUED): Likewise.
1949 (POLL_IN): Likewise.
1950 (POLL_OUT): Likewise.
1951 (POLL_MSG): Likewise.
1952 (POLL_ERR): Likewise.
1953 (POLL_PRI): Likewise.
1954 (POLL_HUP): Likewise.
1955 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1956 (ILL_ILLOPN): Likewise.
1957 (ILL_ILLADR): Likewise.
1958 (ILL_ILLTRP): Likewise.
1959 (ILL_PRVOPC): Likewise.
1960 (ILL_PRVREG): Likewise.
1961 (ILL_COPROC): Likewise.
1962 (ILL_BADSTK): Likewise.
1963 (FPE_INTDIV): Likewise.
1964 (FPE_INTOVF): Likewise.
1965 (FPE_FLTDIV): Likewise.
1966 (FPE_FLTOVF): Likewise.
1967 (FPE_FLTUND): Likewise.
1968 (FPE_FLTRES): Likewise.
1969 (FPE_FLTINV): Likewise.
1970 (FPE_FLTSUB): Likewise.
1971 (SEGV_MAPERR): Likewise.
1972 (SEGV_ACCERR): Likewise.
1973 (BUS_ADRALN): Likewise.
1974 (BUS_ADRERR): Likewise.
1975 (BUS_OBJERR): Likewise.
1976 (BUS_MCEERR_AR): Likewise.
1977 (BUS_MCEERR_AO): Likewise.
1978 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1979 (TRAP_TRACE): Likewise.
1980 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1982 (CLD_KILLED): Likewise.
1983 (CLD_DUMPED): Likewise.
1984 (CLD_TRAPPED): Likewise.
1985 (CLD_STOPPED): Likewise.
1986 (CLD_CONTINUED): Likewise.
1987 (POLL_IN): Likewise.
1988 (POLL_OUT): Likewise.
1989 (POLL_MSG): Likewise.
1990 (POLL_ERR): Likewise.
1991 (POLL_PRI): Likewise.
1992 (POLL_HUP): Likewise.
1993 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1994 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1997 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1998 before #include of <time.h>.
1999 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2000 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2001 (test-xfail-UNIX98/sched.h/conform): Likewise.
2003 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2005 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2006 error absence of trapping exception support.
2007 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2009 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2011 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2012 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2013 * timezone/Makefile (testdata): Move definition above include of
2015 (test-zones): New variable.
2016 (tests-special): Add zone files.
2017 (build-testdata): Use $(evaluate-test).
2019 * elf/Makefile (tests-special): Rename tests to end with .out.
2020 ($(objpfx)noload-mem): Likewise.
2021 ($(objpfx)tst-leaks1-mem): Likewise.
2022 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2023 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2024 $(objpfx)test-iconvconfig.out.
2025 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2026 set -e inside subshell and redirect output to file.
2027 * iconvdata/Makefile (generated): Rename tests to end with .out.
2029 (tests-special): Rename tests to end with .out.
2030 ($(objpfx)mtrace-tst-loading): Likewise.
2031 * intl/Makefile (generated): Likewise.
2032 (tests-special): Likewise.
2033 ($(objpfx)mtrace-tst-gettext): Likewise.
2034 * misc/Makefile (generated): Likewise.
2035 (tests-special): Likewise.
2036 ($(objpfx)tst-error1-mem): Likewise.
2037 * nptl/Makefile (tests-special): Likewise.
2038 ($(objpfx)tst-stack3-mem): Likewise.
2039 (generated): Likewise.
2040 * posix/Makefile (generated): Likewise.
2041 (tests-special): Likewise.
2042 (xtests-special): Likewise.
2043 ($(objpfx)tst-fnmatch-mem): Likewise.
2044 ($(objpfx)bug-regex2-mem): Likewise.
2045 ($(objpfx)bug-regex14-mem): Likewise.
2046 ($(objpfx)bug-regex21-mem): Likewise.
2047 ($(objpfx)bug-regex31-mem): Likewise.
2048 ($(objpfx)tst-vfork3-mem): Likewise.
2049 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2050 ($(objpfx)tst-pcre-mem): Likewise.
2051 ($(objpfx)tst-boost-mem): Likewise.
2052 ($(objpfx)bug-ga2-mem): Likewise.
2053 ($(objpfx)bug-glob2-mem): Likewise.
2054 * resolv/Makefile (generate): Likewise.
2055 (tests-special): Likewise.
2056 (xtests-special): Likewise.
2057 (generated): Likewise.
2058 ($(objpfx)mtrace-tst-leaks): Likewise.
2059 ($(objpfx)mtrace-tst-leaks2): Likewise.
2061 * scripts/merge-test-results.sh: New file.
2062 * Makefile (tests-special-notdir): New variable.
2063 (tests): Run merge-test-results.sh.
2065 * Rules (tests-special-notdir): New variable.
2066 (xtests-special-notdir): Likewise.
2067 (tests): Run merge-test-results.sh
2070 * Makeconfig (test-xfail-name): New variable.
2071 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2072 compute variable name for expected failures.
2073 * conform/Makefile (conformtest-headers-data): New variable.
2074 (conformtest-standards): Likewise.
2075 (conformtest-headers-ISO): Likewise.
2076 (conformtest-headers-ISO99): Likewise.
2077 (conformtest-headers-ISO11): Likewise.
2078 (conformtest-headers-POSIX): Likewise.
2079 (conformtest-headers-XPG3): Likewise.
2080 (conformtest-headers-XPG4): Likewise.
2081 (conformtest-headers-UNIX98): Likewise.
2082 (conformtest-headers-XOPEN2K): Likewise.
2083 (conformtest-headers-POSIX2008): Likewise.
2084 (conformtest-headers-XOPEN2K8): Likewise.
2085 (conformtest-header-list-base): Likewise.
2086 (conformtest-header-list-tests): Likewise.
2087 (conformtest-header-base): Likewise.
2088 (conformtest-header-tests): Likewise.
2089 (tests-special): Add $(conformtest-header-list-tests). If
2090 [$(fast-check) && !$(cross-compiling)], add
2091 $(conformtest-header-tests) instead of
2092 $(objpfx)run-conformtest.out.
2093 (generated): Add $(conformtest-header-list-base). If
2094 [$(fast-check) && !$(cross-compiling)], add
2095 $(conformtest-header-base). Remove previous setting.
2096 ($(conformtest-header-list-tests)): New target.
2097 (test-xfail-run-conformtest): Remove variable.
2098 ($(objpfx)run-conformtest.out): Remove target.
2099 (test-xfail-ISO11/complex.h/conform): New variable.
2100 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2101 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2102 (test-xfail-XPG3/varargs.h/conform): Likewise.
2103 (test-xfail-XPG4/varargs.h/conform): Likewise.
2104 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2105 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2106 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2107 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2108 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2109 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2110 (test-xfail-XPG3/ftw.h/conform): Likewise.
2111 (test-xfail-XPG3/grp.h/conform): Likewise.
2112 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2113 (test-xfail-XPG3/limits.h/conform): Likewise.
2114 (test-xfail-XPG3/pwd.h/conform): Likewise.
2115 (test-xfail-XPG3/search.h/conform): Likewise.
2116 (test-xfail-XPG3/signal.h/conform): Likewise.
2117 (test-xfail-XPG3/stdio.h/conform): Likewise.
2118 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2119 (test-xfail-XPG3/string.h/conform): Likewise.
2120 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2121 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2122 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2123 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2124 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2125 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2126 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2127 (test-xfail-XPG3/termios.h/conform): Likewise.
2128 (test-xfail-XPG3/time.h/conform): Likewise.
2129 (test-xfail-XPG3/unistd.h/conform): Likewise.
2130 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2131 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2132 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2133 (test-xfail-XPG4/netdb.h/conform): Likewise.
2134 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2135 (test-xfail-XPG4/signal.h/conform): Likewise.
2136 (test-xfail-XPG4/stdio.h/conform): Likewise.
2137 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2138 (test-xfail-XPG4/stropts.h/conform): Likewise.
2139 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2140 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2141 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2142 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2143 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2144 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2145 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2146 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2147 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2148 (test-xfail-XPG4/termios.h/conform): Likewise.
2149 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2150 (test-xfail-XPG4/unistd.h/conform): Likewise.
2151 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2152 (test-xfail-POSIX/sched.h/conform): Likewise.
2153 (test-xfail-POSIX/signal.h/conform): Likewise.
2154 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2155 (test-xfail-POSIX/tar.h/conform): Likewise.
2156 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2157 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2158 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2159 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2160 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2161 (test-xfail-UNIX98/sched.h/conform): Likewise.
2162 (test-xfail-UNIX98/signal.h/conform): Likewise.
2163 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2164 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2165 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2166 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2167 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2168 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2169 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2170 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2171 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2172 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2173 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2174 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2175 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2176 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2177 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2178 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2179 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2180 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2181 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2182 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2183 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2184 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2185 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2186 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2187 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2188 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2189 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2190 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2191 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2192 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2193 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2194 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2195 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2196 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2197 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2198 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2199 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2200 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2201 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2202 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2203 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2204 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2205 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2206 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2207 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2208 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2209 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2210 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2211 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2212 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2213 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2214 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2215 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2216 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2217 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2218 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2219 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2220 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2221 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2222 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2223 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2224 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2225 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2226 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2227 (conformtest-cc-flags): Likewise.
2228 ($(conformtest-header-tests): New target.
2229 * conform/check-header-lists.sh: New file.
2230 * conform/run-conformtest.sh: Remove.
2232 * conform/conformtest.pl: Allow ' and \ in values given for
2234 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2236 [POSIX] (sys/types.h): Likewise.
2237 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2239 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2241 * conform/data/signal.h-data (SIGIO): Remove expectation.
2242 [XPG3] (SIGBUS): Do not expect.
2243 [POSIX || XPG3] (SIGPOLL): Likewise.
2244 [POSIX || XPG3] (SIGPROF): Likewise.
2245 [POSIX || XPG3] (SIGSYS): Likewise.
2246 [XPG3] (SIGTRAP): Likewise.
2247 [POSIX || XPG3] (SIGURG): Likewise.
2248 [POSIX || XPG3] (SIGVTALRM): Likewise.
2249 [POSIX || XPG3] (SIGXCPU): Likewise.
2250 [POSIX || XPG3] (SIGXFSZ): Likewise.
2251 [POSIX] (SA_SIGINFO): Expect.
2252 [XPG3] (siginfo_t): Do not expect type or contents.
2253 [POSIX] (si_pid): Do not expect element.
2254 [POSIX] (si_uid): Likewise.
2255 [POSIX] (si_addr): Likewise.
2256 [POSIX] (si_status): Likewise.
2257 [POSIX] (si_band): Likewise.
2258 [XPG4] (si_value): Likewise.
2259 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2260 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2261 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2262 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2263 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2264 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2265 [POSIX || XPG3] (ILL_COPROC): Likewise.
2266 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2267 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2268 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2269 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2270 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2271 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2272 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2273 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2274 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2275 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2276 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2277 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2278 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2279 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2280 [POSIX || XPG3] (CLD_EXITED): Likewise.
2281 [POSIX || XPG3] (CLD_KILLED): Likewise.
2282 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2283 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2284 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2285 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2286 [POSIX || XPG3] (POLL_IN): Likewise.
2287 [POSIX || XPG3] (POLL_OUT): Likewise.
2288 [POSIX || XPG3] (POLL_MSG): Likewise.
2289 [POSIX || XPG3] (POLL_ERR): Likewise.
2290 [POSIX || XPG3] (POLL_PRI): Likewise.
2291 [POSIX || XPG3] (POLL_HUP): Likewise.
2292 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2293 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2294 (SIG*): Do not allow.
2295 [XPG3] (si_*): Likewise.
2296 [XPG3] (SI_*): Likewise.
2297 [XPG3 || XPG4] (sigev_*): Likewise.
2298 [XPG3 || XPG4] (SIGEV_*): Likewise.
2299 [XPG3 || XPG4] (sival_*): Likewise.
2300 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2301 [POSIX || XPG3] (BUS_*): Likewise.
2302 [POSIX || XPG3] (CLD_*): Likewise.
2303 [POSIX || XPG3] (FPE_*): Likewise.
2304 [POSIX || XPG3] (ILL_*): Likewise.
2305 [POSIX || XPG3] (POLL_*): Likewise.
2306 [POSIX || XPG3] (SEGV_*): Likewise.
2307 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2308 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2309 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2310 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2311 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2312 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2313 Specify type and value.
2314 (TVERSLEN): Likewise.
2315 (REGTYPE): Likewise.
2316 (AREGTYPE): Likewise.
2317 (LNKTYPE): Likewise.
2318 (SYMTYPE): Likewise.
2319 (CHRTYPE): Likewise.
2320 (BLKTYPE): Likewise.
2321 (DIRTYPE): Likewise.
2322 (FIFOTYPE): Likewise.
2323 (CONTTYPE): Likewise.
2328 (TUWRITE): Likewise.
2331 (TGWRITE): Likewise.
2334 (TOWRITE): Likewise.
2336 [POSIX] (TSVTX): Expect constant.
2338 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2340 * Makefile (tests): Change dependencies to ....
2341 (tests-special): ... additions to this variable.
2342 (tests): Depend on $(tests-special).
2343 * Makerules (check-abi-list): New variable.
2344 (check-abi): Depend on $(check-abi-list).
2345 [$(subdir) = elf] (tests-special): Add
2346 $(objpfx)check-abi-libc.out.
2347 [$(build-shared) = yes && subdir] (tests-special): Add
2349 [$(build-shared) = yes && subdir] (tests): Do not depend on
2351 * Rules (tests): Depend on $(tests-special).
2352 (xtests): Depend on $(xtests-special).
2353 * catgets/Makefile (tests): Change dependencies to ....
2354 (tests-special): ... additions to this variable.
2355 * conform/Makefile (tests): Change dependencies to ....
2356 (tests-special): ... additions to this variable.
2357 * elf/Makefile (tests): Change dependencies to ....
2358 (tests-special): ... additions to this variable.
2359 * grp/Makefile (tests): Change dependencies to ....
2360 (tests-special): ... additions to this variable.
2361 * iconv/Makefile (xtests): Change dependencies to ....
2362 (xtests-special): ... additions to this variable.
2363 * iconvdata/Makefile (tests): Change dependencies to ....
2364 (tests-special): ... additions to this variable.
2365 * intl/Makefile (tests): Change dependencies to ....
2366 (tests-special): ... additions to this variable. Also add
2367 $(objpfx)tst-gettext.out.
2368 * io/Makefile (tests): Change dependencies to ....
2369 (tests-special): ... additions to this variable.
2370 * libio/Makefile (tests): Change dependencies to ....
2371 (tests-special): ... additions to this variable.
2372 * malloc/Makefile (tests): Change dependencies to ....
2373 (tests-special): ... additions to this variable.
2374 * misc/Makefile (tests): Change dependencies to ....
2375 (tests-special): ... additions to this variable.
2376 * nptl/Makefile (tests): Change dependencies to ....
2377 (tests-special): ... additions to this variable.
2378 * nptl_db/Makefile (tests): Change dependencies to ....
2379 (tests-special): ... additions to this variable.
2380 * posix/Makefile (tests): Change dependencies to ....
2381 (tests-special): ... additions to this variable.
2382 (xtests): Change dependencies to ....
2383 (xtests-special): ... additions to this variable.
2384 * resolv/Makefile (tests): Change dependencies to ....
2385 (tests-special): ... additions to this variable.
2386 (xtests): Change dependencies to ....
2387 (xtests-special): ... additions to this variable.
2388 * stdio-common/Makefile (tests): Change dependencies to ....
2389 (tests-special): ... additions to this variable.
2390 (do-tst-unbputc): Remove target.
2391 (do-tst-printf): Likewise.
2392 * stdlib/Makefile (tests): Change dependencies to ....
2393 (tests-special): ... additions to this variable.
2394 * string/Makefile (tests): Change dependencies to ....
2395 (tests-special): ... additions to this variable.
2396 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2397 (tests-special): ... additions to this variable.
2399 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2401 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2403 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2404 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2406 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2407 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2408 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2409 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2410 * conform/data/libgen.h-data [XPG3]: Likewise.
2411 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2412 * conform/data/ndbm.h-data [XPG3]: Likewise.
2413 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2414 * conform/data/netdb.h-data [XPG3]: Likewise.
2415 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2416 * conform/data/poll.h-data [XPG3]: Likewise.
2417 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2418 * conform/data/strings.h-data [XPG3]: Likewise.
2419 * conform/data/stropts.h-data [XPG3]: Likewise.
2420 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2421 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2422 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2424 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2425 * conform/data/sys/time.h-data [XPG3]: Likewise.
2426 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2427 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2428 * conform/data/sys/un.h-data [XPG3]: Likewise.
2429 * conform/data/syslog.h-data [XPG3]: Likewise.
2430 * conform/data/ucontext.h-data [XPG3]: Likewise.
2431 * conform/data/utmpx.h-data [XPG3]: Likewise.
2432 * conform/data/varargs.h-data [UNIX98]: Enable file.
2434 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2436 * math/libm-test.inc (struct test_f_f_data): Move expected results
2437 into structure for each rounding mode.
2438 (struct test_ff_f_data): Likewise.
2439 (struct test_ff_f_data_nexttoward): Likewise.
2440 (struct test_fi_f_data): Likewise.
2441 (struct test_fl_f_data): Likewise.
2442 (struct test_if_f_data): Likewise.
2443 (struct test_fff_f_data): Likewise.
2444 (struct test_c_f_data): Likewise.
2445 (struct test_f_f1_data): Likewise.
2446 (struct test_fF_f1_data): Likewise.
2447 (struct test_ffI_f1_data): Likewise.
2448 (struct test_c_c_data): Likewise.
2449 (struct test_cc_c_data): Likewise.
2450 (struct test_f_i_data): Likewise.
2451 (struct test_ff_i_data): Likewise.
2452 (struct test_f_l_data): Likewise.
2453 (struct test_f_L_data): Likewise.
2454 (struct test_fFF_11_data): Likewise.
2456 (RM_FE_DOWNWARD): Likewise.
2457 (RM_FE_TONEAREST): Likewise.
2458 (RM_FE_TOWARDZERO): Likewise.
2459 (RM_FE_UPWARD): Likewise.
2460 (RUN_TEST_LOOP_f_f): Update references to expected results.
2461 (RUN_TEST_LOOP_2_f): Likewise.
2462 (RUN_TEST_LOOP_fff_f): Likewise.
2463 (RUN_TEST_LOOP_c_f): Likewise.
2464 (RUN_TEST_LOOP_f_f1): Likewise.
2465 (RUN_TEST_LOOP_fF_f1): Likewise.
2466 (RUN_TEST_LOOP_fI_f1): Likewise.
2467 (RUN_TEST_LOOP_ffI_f1): Likewise.
2468 (RUN_TEST_LOOP_c_c): Likewise.
2469 (RUN_TEST_LOOP_cc_c): Likewise.
2470 (RUN_TEST_LOOP_f_i): Likewise.
2471 (RUN_TEST_LOOP_f_i_tg): Likewise.
2472 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2473 (RUN_TEST_LOOP_f_b): Likewise.
2474 (RUN_TEST_LOOP_f_b_tg): Likewise.
2475 (RUN_TEST_LOOP_f_l): Likewise.
2476 (RUN_TEST_LOOP_f_L): Likewise.
2477 (RUN_TEST_LOOP_fFF_11): Likewise.
2478 * math/gen-libm-test.pl (parse_args): Output four copies of
2479 expected results for each test.
2481 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2482 (__ASSUME_UTIMES): Remove.
2483 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2484 (__ASSUME_UTIMES): Likewise.
2486 * math/gen-auto-libm-tests.c: Update comment on output format.
2487 (output_for_one_input_case): Generate before-rounding and
2488 after-rounding information as conditions on output flags not
2489 floating-point format.
2490 * math/auto-libm-test-out: Regenerated.
2491 * math/gen-libm-test.pl (cond_value): New function.
2492 (or_cond_value): Use cond_value.
2493 (generate_testfile): Handle conditional exceptions.
2495 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2497 * math/libm-test.inc (max_valid_error): New variable.
2498 (init_max_error): Take new argument specifying whether function
2499 results are exactly determined. Set max_valid_error and bound
2500 other variables for errors based on this argument.
2501 (set_max_error): Do not record results above max_valid_error.
2502 (check_float_internal): Only accept errors of up to 0.5ulps if
2503 also at most max_valid_error.
2504 (START): Take new argument EXACT and pass it to init_max_error.
2505 (acos_test): Update call to START.
2506 (acos_test_tonearest): Likewise.
2507 (acos_test_towardzero): Likewise.
2508 (acos_test_downward): Likewise.
2509 (acos_test_upward): Likewise.
2510 (acosh_test): Likewise.
2511 (asin_test): Likewise.
2512 (asin_test_tonearest): Likewise.
2513 (asin_test_towardzero): Likewise.
2514 (asin_test_downward): Likewise.
2515 (asin_test_upward): Likewise.
2516 (asinh_test): Likewise.
2517 (atan_test): Likewise.
2518 (atanh_test): Likewise.
2519 (atan2_test): Likewise.
2520 (cabs_test): Likewise.
2521 (cacos_test): Likewise.
2522 (cacosh_test): Likewise.
2523 (carg_test): Likewise.
2524 (casin_test): Likewise.
2525 (casinh_test): Likewise.
2526 (catan_test): Likewise.
2527 (catanh_test): Likewise.
2528 (cbrt_test): Likewise.
2529 (ccos_test): Likewise.
2530 (ccosh_test): Likewise.
2531 (ceil_test): Likewise.
2532 (cexp_test): Likewise.
2533 (cimag_test): Likewise.
2534 (clog_test): Likewise.
2535 (clog10_test): Likewise.
2536 (conj_test): Likewise.
2537 (copysign_test): Likewise.
2538 (cos_test): Likewise.
2539 (cos_test_tonearest): Likewise.
2540 (cos_test_towardzero): Likewise.
2541 (cos_test_downward): Likewise.
2542 (cos_test_upward): Likewise.
2543 (cosh_test): Likewise.
2544 (cosh_test_tonearest): Likewise.
2545 (cosh_test_towardzero): Likewise.
2546 (cosh_test_downward): Likewise.
2547 (cosh_test_upward): Likewise.
2548 (cpow_test): Likewise.
2549 (cproj_test): Likewise.
2550 (creal_test): Likewise.
2551 (csin_test): Likewise.
2552 (csinh_test): Likewise.
2553 (csqrt_test): Likewise.
2554 (ctan_test): Likewise.
2555 (ctan_test_tonearest): Likewise.
2556 (ctan_test_towardzero): Likewise.
2557 (ctan_test_downward): Likewise.
2558 (ctan_test_upward): Likewise.
2559 (ctanh_test): Likewise.
2560 (ctanh_test_tonearest): Likewise.
2561 (ctanh_test_towardzero): Likewise.
2562 (ctanh_test_downward): Likewise.
2563 (ctanh_test_upward): Likewise.
2564 (erf_test): Likewise.
2565 (erfc_test): Likewise.
2566 (exp_test): Likewise.
2567 (exp_test_tonearest): Likewise.
2568 (exp_test_towardzero): Likewise.
2569 (exp_test_downward): Likewise.
2570 (exp_test_upward): Likewise.
2571 (exp10_test): Likewise.
2572 (exp10_test_tonearest): Likewise.
2573 (exp10_test_towardzero): Likewise.
2574 (exp10_test_downward): Likewise.
2575 (exp10_test_upward): Likewise.
2576 (pow10_test): Likewise.
2577 (exp2_test): Likewise.
2578 (expm1_test): Likewise.
2579 (expm1_test_tonearest): Likewise.
2580 (expm1_test_towardzero): Likewise.
2581 (expm1_test_downward): Likewise.
2582 (expm1_test_upward): Likewise.
2583 (fabs_test): Likewise.
2584 (fdim_test): Likewise.
2585 (floor_test): Likewise.
2586 (fma_test): Likewise.
2587 (fma_test_towardzero): Likewise.
2588 (fma_test_downward): Likewise.
2589 (fma_test_upward): Likewise.
2590 (fmax_test): Likewise.
2591 (fmin_test): Likewise.
2592 (fmod_test): Likewise.
2593 (fpclassify_test): Likewise.
2594 (frexp_test): Likewise.
2595 (hypot_test): Likewise.
2596 (ilogb_test): Likewise.
2597 (isfinite_test): Likewise.
2598 (finite_test): Likewise.
2599 (isgreater_test): Likewise.
2600 (isgreaterequal_test): Likewise.
2601 (isinf_test): Likewise.
2602 (isless_test): Likewise.
2603 (islessequal_test): Likewise.
2604 (islessgreater_test): Likewise.
2605 (isnan_test): Likewise.
2606 (isnormal_test): Likewise.
2607 (issignaling_test): Likewise.
2608 (isunordered_test): Likewise.
2609 (j0_test): Likewise.
2610 (j1_test): Likewise.
2611 (jn_test): Likewise.
2612 (ldexp_test): Likewise.
2613 (lgamma_test): Likewise.
2614 (gamma_test): Likewise.
2615 (lrint_test): Likewise.
2616 (lrint_test_tonearest): Likewise.
2617 (lrint_test_towardzero): Likewise.
2618 (lrint_test_downward): Likewise.
2619 (lrint_test_upward): Likewise.
2620 (llrint_test): Likewise.
2621 (llrint_test_tonearest): Likewise.
2622 (llrint_test_towardzero): Likewise.
2623 (llrint_test_downward): Likewise.
2624 (llrint_test_upward): Likewise.
2625 (log_test): Likewise.
2626 (log10_test): Likewise.
2627 (log1p_test): Likewise.
2628 (log2_test): Likewise.
2629 (logb_test): Likewise.
2630 (logb_test_downward): Likewise.
2631 (lround_test): Likewise.
2632 (llround_test): Likewise.
2633 (modf_test): Likewise.
2634 (nearbyint_test): Likewise.
2635 (nextafter_test): Likewise.
2636 (nexttoward_test): Likewise.
2637 (pow_test): Likewise.
2638 (pow_test_tonearest): Likewise.
2639 (pow_test_towardzero): Likewise.
2640 (pow_test_downward): Likewise.
2641 (pow_test_upward): Likewise.
2642 (remainder_test): Likewise.
2643 (drem_test): Likewise.
2644 (remainder_test_tonearest): Likewise.
2645 (drem_test_tonearest): Likewise.
2646 (remainder_test_towardzero): Likewise.
2647 (drem_test_towardzero): Likewise.
2648 (remainder_test_downward): Likewise.
2649 (drem_test_downward): Likewise.
2650 (remainder_test_upward): Likewise.
2651 (drem_test_upward): Likewise.
2652 (remquo_test): Likewise.
2653 (rint_test): Likewise.
2654 (rint_test_tonearest): Likewise.
2655 (rint_test_towardzero): Likewise.
2656 (rint_test_downward): Likewise.
2657 (rint_test_upward): Likewise.
2658 (round_test): Likewise.
2659 (scalb_test): Likewise.
2660 (scalbn_test): Likewise.
2661 (scalbln_test): Likewise.
2662 (signbit_test): Likewise.
2663 (sin_test): Likewise.
2664 (sin_test_tonearest): Likewise.
2665 (sin_test_towardzero): Likewise.
2666 (sin_test_downward): Likewise.
2667 (sin_test_upward): Likewise.
2668 (sincos_test): Likewise.
2669 (sinh_test): Likewise.
2670 (sinh_test_tonearest): Likewise.
2671 (sinh_test_towardzero): Likewise.
2672 (sinh_test_downward): Likewise.
2673 (sinh_test_upward): Likewise.
2674 (sqrt_test): Likewise.
2675 (sqrt_test_tonearest): Likewise.
2676 (sqrt_test_towardzero): Likewise.
2677 (sqrt_test_downward): Likewise.
2678 (sqrt_test_upward): Likewise.
2679 (tan_test): Likewise.
2680 (tan_test_tonearest): Likewise.
2681 (tan_test_towardzero): Likewise.
2682 (tan_test_downward): Likewise.
2683 (tan_test_upward): Likewise.
2684 (tanh_test): Likewise.
2685 (tgamma_test): Likewise.
2686 (trunc_test): Likewise.
2687 (y0_test): Likewise.
2688 (y1_test): Likewise.
2689 (yn_test): Likewise.
2690 (significand_test): Likewise.
2692 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2693 individual tests in comment.
2694 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2695 (prev_max_error): New variable.
2696 (prev_real_max_error): Likewise.
2697 (prev_imag_max_error): Likewise.
2698 (compare_ulp_data): Don't refer to test names in comment.
2699 (find_test_ulps): Remove function.
2700 (find_function_ulps): Likewise.
2701 (find_complex_function_ulps): Likewise.
2702 (init_max_error): Take function name as argument. Look up ulps
2704 (print_ulps): Remove function.
2705 (print_max_error): Use prev_max_error instead of calling
2707 (print_complex_max_error): Use prev_real_max_error and
2708 prev_imag_max_error instead of calling find_complex_function_ulps.
2709 (check_float_internal): Take max_ulp parameter instead of calling
2710 find_test_ulps. Don't call print_ulps.
2711 (check_float): Update call to check_float_internal.
2712 (check_complex): Update calls to check_float_internal.
2713 (START): Pass argument to init_max_error.
2714 * math/gen-libm-test.pl (%results): Don't include "kind"
2716 (parse_ulps): Don't handle ulps of individual tests.
2717 (print_ulps_file): Likewise.
2718 (output_ulps): Likewise.
2719 * math/README.libm-test: Update.
2720 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2722 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2723 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2724 * sysdeps/arm/libm-test-ulps: Likewise.
2725 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2726 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2727 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2728 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2729 * sysdeps/microblaze/libm-test-ulps: Likewise.
2730 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2731 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2732 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2733 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2734 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2735 * sysdeps/sh/libm-test-ulps: Likewise.
2736 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2737 * sysdeps/tile/libm-test-ulps: Likewise.
2738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2740 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2742 * math/libm-test.inc (print_complex_max_error): Check separately
2743 whether real and imaginary errors are within allowed range and
2744 pass 0 to print_complex_function_ulps instead of value within
2747 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2749 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2751 (get_handles_fopen): Likewise.
2752 (do_write_test): Likewise.
2754 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2756 * libio/fileops.c (do_ftell): Use cached offset when
2758 * libio/iofwide.c (do_ftell_wide): Likewise.
2759 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2761 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2764 * libio/libioP.h (get_file_offset): New function.
2765 * libio/fileops.c (get_file_offset): Likewise.
2766 (do_ftell): Likewise.
2767 (_IO_new_file_seekoff): Split out ftell logic.
2768 * libio/wfileops.c (do_ftell_wide): Likewise.
2769 (_IO_wfile_seekoff): Split out ftell logic.
2770 * libio/tst-ftell-active-handler.c: New test case.
2771 * libio/Makefile (tests): Add it.
2773 2014-03-03 Roland McGrath <roland@hack.frob.com>
2775 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2776 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2778 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2781 * nscd/connections.c (nscd_init): Call do_exit.
2782 (start_threads): Call do_exit and notify_parent.
2783 (begin_drop_privileges): Call do_exit.
2784 (finish_drop_privileges): Likewise.
2785 * nscd/selinux.c (preserve_capabilities): Likewise.
2786 (install_real_capabilities): Likewise.
2787 (nscd_selinux_enabled): Likewise.
2788 (avc_create_thread): Likewise.
2789 (avc_alloc_lock): Likewise.
2790 (nscd_avc_init): Likewise.
2791 * nscd/nscd.c (parent_fd): New static variable.
2792 (main): Create a pipe between parent and child processes.
2793 Skip closing parent_fd.
2794 (monitor_child): New function.
2795 (do_exit): Likewise.
2796 (notify_parent): Likewise.
2797 * nscd/nscd.h (notify_parent): Likewise.
2798 (do_exit): Likewise.
2800 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2802 * malloc/malloc.c (__libc_calloc): Revert last change.
2804 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2808 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2810 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2811 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2814 (__libc_ifunc_impl_list): Likewise.
2815 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2816 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2817 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2818 * string/strrchr.c: Define STRRCHR.
2820 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2822 * benchtest/bench-strtok.c (simple_strtok): Delete.
2823 (strtok_string): Use as benchmark.
2824 * string/strtok (STRTOK): New macro.
2826 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2828 * manual/threads.texi: Add header and standard comments to all
2831 * elf/dl-lookup.c (check_match): New function.
2832 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2833 (do_lookup_x): Remove nested function check_match. Use non-nested
2834 function check_match.
2836 2014-02-28 Roland McGrath <roland@hack.frob.com>
2838 * csu/Makefile (generated, before-compile): Use += rather than =.
2839 * catgets/Makefile (generated, generated-dirs): Likewise.
2840 * debug/Makefile (generated): Likewise.
2841 * dlfcn/Makefile (generated): Likewise.
2842 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2843 * iconvdata/Makefile (before-compile, generated): Likewise.
2844 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2845 * libio/Makefile (generated): Likewise.
2846 * malloc/Makefile (generated): Likewise.
2847 * manual/Makefile (generated, generated-dirs): Likewise.
2848 * misc/Makefile (generated): Likewise.
2849 * posix/Makefile (generated): Likewise.
2850 * resolv/Makefile (generated): Likewise.
2851 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2852 * timezone/Makefile (generated, generated-dirs): Likewise.
2854 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2856 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2858 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2861 POWER8 llround ifunc implementation.
2862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2863 POWER8 implementation.
2864 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2865 POWER8 llround implementation.
2867 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2869 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2872 POWER8 llrint ifunc implementation.
2873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2874 POWER8 implementation.
2875 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2876 POWER8 llrint implementation.
2878 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2880 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2883 POWER8 finite ifunc implementation.
2884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2885 POWER8 implementation.
2886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2888 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2889 POWER8 finite implementation.
2890 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2892 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2894 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2897 POWER8 isinf ifunc implementation.
2898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2899 POWER8 implementation.
2900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2902 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2903 POWER8 isinf implementation.
2904 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2906 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2908 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2909 Add hwcap2 initialization.
2910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2913 POWER8 isnan ifunc implementation.
2914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2915 POWER8 implementation.
2916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2918 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2919 POWER8 isnan implementation.
2920 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2922 2014-02-27 Joey Ye <joey.ye@arm.com>
2924 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2925 (_FP_NANFRAC_Q): Set to zero.
2927 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2930 * math/auto-libm-test-in: New test inputs.
2931 * math/auto-libm-test-out: Regenerate.
2932 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2935 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2937 2014-02-27 Joseph Myers <joseph@codesourcery.com>
2939 * scripts/evaluate-test.sh: Take new argument indicating whether
2940 failure is expected.
2941 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2942 indicating whether failure is expected.
2943 * conform/Makefile (test-xfail-run-conformtest): New variable.
2944 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2946 * posix/Makefile (test-xfail-annexc): New variable.
2947 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2949 2014-02-26 Joseph Myers <joseph@codesourcery.com>
2951 * argp/Makefile: Include Makeconfig immediately after defining
2953 * assert/Makefile: Likewise.
2954 * benchtests/Makefile: Likewise.
2955 * catgets/Makefile: Likewise.
2956 * conform/Makefile: Likewise.
2957 * crypt/Makefile: Likewise.
2958 * csu/Makefile: Likewise.
2959 (all): Remove target.
2960 * ctype/Makefile: Include Makeconfig immediately after defining
2962 * debug/Makefile: Likewise.
2963 * dirent/Makefile: Likewise.
2964 * dlfcn/Makefile: Likewise.
2965 * gmon/Makefile: Likewise.
2966 * gnulib/Makefile: Likewise.
2967 * grp/Makefile: Likewise.
2968 * gshadow/Makefile: Likewise.
2969 * hesiod/Makefile: Likewise.
2970 * hurd/Makefile: Likewise.
2971 (all): Remove target.
2972 * iconvdata/Makefile: Include Makeconfig immediately after
2974 * inet/Makefile: Likewise.
2975 * intl/Makefile: Likewise.
2976 * io/Makefile: Likewise.
2977 * libio/Makefile: Likewise.
2978 (all): Remove target.
2979 * locale/Makefile: Include Makeconfig immediately after defining
2981 * login/Makefile: Likewise.
2982 * mach/Makefile: Likewise.
2983 (all): Remove target.
2984 * malloc/Makefile: Include Makeconfig immediately after defining
2986 (all): Remove target.
2987 * manual/Makefile: Include Makeconfig immediately after defining
2989 * math/Makefile: Likewise.
2990 * misc/Makefile: Likewise.
2991 * nis/Makefile: Likewise.
2992 * nss/Makefile: Likewise.
2993 * po/Makefile: Likewise.
2994 (all): Remove target.
2995 * posix/Makefile: Include Makeconfig immediately after defining
2997 * pwd/Makefile: Likewise.
2998 * resolv/Makefile: Likewise.
2999 * resource/Makefile: Likewise.
3000 * rt/Makefile: Likewise.
3001 * setjmp/Makefile: Likewise.
3002 * shadow/Makefile: Likewise.
3003 * signal/Makefile: Likewise.
3004 * socket/Makefile: Likewise.
3005 * soft-fp/Makefile: Likewise.
3006 * stdio-common/Makefile: Likewise.
3007 * stdlib/Makefile: Likewise.
3008 * streams/Makefile: Likewise.
3009 * string/Makefile: Likewise.
3010 * sunrpc/Makefile: Likewise.
3011 (all): Remove target.
3012 * sysvipc/Makefile: Include Makeconfig immediately after defining
3014 * termios/Makefile: Likewise.
3015 * time/Makefile: Likewise.
3016 * timezone/Makefile: Likewise.
3017 (all): Remove target.
3018 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3020 * wctype/Makefile: Likewise.
3022 2014-02-26 Steve Ellcey <sellcey@mips.com>
3024 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3025 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3026 (libc_feholdexcept_setround_mips): Ditto.
3027 (libc_feholdsetround): New.
3028 (libc_feholdsetroundf): New.
3029 (libc_feholdsetroundl): New.
3030 (libc_feupdateenv_test_mips): New.
3031 (libc_feupdateenv_test): New.
3032 (libc_feupdateenv_testf): New.
3033 (libc_feupdateenv_testl): New.
3034 (libc_feresetround): New.
3035 (libc_feresetroundf): New.
3036 (libc_feresetroundl): New.
3037 (libc_fetestexcept_mips): New.
3038 (libc_fetestexcept): New.
3039 (libc_fetestexceptf): New.
3040 (libc_fetestexceptl): New.
3042 (libc_feholdexcept_setround_mips_ctx): New.
3043 (libc_feholdexcept_setround_ctx): New.
3044 (libc_feholdexcept_setroundf_ctx): New.
3045 (libc_feholdexcept_setroundl_ctx): New.
3046 (libc_fesetenv_mips_ctx): New.
3047 (libc_fesetenv_ctx): New.
3048 (libc_fesetenv_ctxf): New.
3049 (libc_fesetenv_ctxl): New.
3050 (libc_feupdateenv_mips_ctx): New.
3051 (libc_feupdateenv_ctx): New.
3052 (libc_feupdateenvf_ctx): New.
3053 (libc_feupdateenvl_ctx): New.
3054 (libc_feholdsetround_mips_ctx): New.
3055 (libc_feholdsetround_ctx): New.
3056 (libc_feholdsetroundf_ctx): New.
3057 (libc_feholdsetroundl_ctx): New.
3058 (libc_feresetround_mips_ctx): New.
3059 (libc_feresetround_ctx): New.
3060 (libc_feresetroundf_ctx): New.
3061 (libc_feresetroundl_ctx): New.
3063 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3065 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3067 * manual/ipc.texi: New file.
3068 * manual/Makefile (chapters): Add ipc.
3069 * manual/job.texi: Add "Inter-Process Communication" to next.
3070 * manual/process.texi: Add "Inter-Process Communication" to prev.
3072 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3076 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3078 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3080 * manual/arith.texi: Fix spaces after sentences.
3081 * manual/charset.texi: Likewise.
3082 * manual/errno.texi: Likewise.
3083 * manual/install.texi: Likewise.
3084 * manual/llio.texi: Likewise.
3085 * manual/locale.texi: Likewise.
3086 * manual/maint.texi: Likewise.
3087 * manual/math.texi: Likewise.
3088 * manual/memory.texi: Likewise.
3089 * manual/message.texi: Likewise.
3090 * manual/probes.texi: Likewise.
3091 * manual/resource.texi: Likewise.
3092 * manual/signal.texi: Likewise.
3093 * manual/socket.texi: Likewise.
3094 * manual/stdio.texi: Likewise.
3095 * manual/string.texi: Likewise.
3096 * manual/time.texi: Likewise.
3097 * manual/users.texi: Likewise.
3099 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3102 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3103 _DEFAULT_SOURCE is defined.
3105 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3106 Carlos O'Donell <carlos@redhat.com>
3109 * elf/dl-tls.c (_dl_count_modids): New function.
3110 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3111 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3112 audit library and increment generation counter.
3113 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3114 * elf/tst-audit9.c: New file.
3115 * elf/tst-auditmod9a.c: New file.
3116 * elf/tst-auditmod9b.c: New file.
3117 * elf/Makefile: Add rules to build and run tst-audit9.
3119 2014-02-25 Florian Weimer <fweimer@redhat.com>
3122 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3124 2014-02-25 Will Newton <will.newton@linaro.org>
3126 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3127 (__longjmp): Restore sp and lr before restoring callee
3128 saved registers. Add longjmp and longjmp_target
3129 SystemTap probe point.
3130 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3131 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3132 Define to zero to match jmpbuf layout.
3133 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3134 (__sigsetjmp): Save sp and lr before saving callee
3135 saved registers. Add setjmp SystemTap probe point.
3137 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3139 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3141 2014-02-24 Andreas Schwab <schwab@suse.de>
3144 * elf/pldd.c (wait_for_ptrace_stop): New function.
3145 (main): Call it after attaching.
3147 2014-02-22 Roland McGrath <roland@hack.frob.com>
3149 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3150 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3151 Versions files is now verboten.
3152 * hurd/Versions (libc: GLIBC_2.0):
3153 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3154 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3155 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3156 * mach/Versions: Likewise.
3158 * csu/Versions: Remove unused %include.
3159 * resolv/Versions: Likewise.
3161 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3163 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3164 ($(objpfx)check-local-headers.out): Likewise.
3165 ($(objpfx)begin-end-check.out): Likewise.
3166 * Makerules (check-abi-%.out): Likewise.
3167 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3168 ($(objpfx)test2.cat): Likewise.
3169 ($(objpfx)de/libc.cat): Likewise.
3170 ($(objpfx)test-gencat.out): Likewise.
3171 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3172 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3173 ($(objpfx)noload-mem): Likewise.
3174 ($(objpfx)tst-pathopt.out): Likewise.
3175 ($(objpfx)tst-rtld-load-self.out): Likewise.
3176 ($(objpfx)tst-array1-cmp.out): Likewise.
3177 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3178 ($(objpfx)tst-array2-cmp.out): Likewise.
3179 ($(objpfx)tst-array3-cmp.out): Likewise.
3180 ($(objpfx)tst-array4-cmp.out): Likewise.
3181 ($(objpfx)tst-array5-cmp.out): Likewise.
3182 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3183 ($(objpfx)check-textrel.out): Likewise.
3184 ($(objpfx)check-execstack.out): Likewise.
3185 ($(objpfx)check-localplt.out): Likewise.
3186 ($(objpfx)order2-cmp.out): Likewise.
3187 ($(objpfx)tst-leaks1-mem): Likewise.
3188 ($(objpfx)tst-leaks1-static-mem): Likewise.
3189 ($(objpfx)tst-initorder-cmp.out): Likewise.
3190 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3191 ($(objpfx)tst-unused-dep.out): Likewise.
3192 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3193 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3194 * iconv/Makefile (test-iconvconfig): Likewise.
3195 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3196 ($(objpfx)iconv-test.out): Likewise.
3197 ($(objpfx)tst-tables.out): Likewise.
3198 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3199 ($(objpfx)tst-gettext.out): Likewise.
3200 ($(objpfx)tst-translit.out): Likewise.
3201 ($(objpfx)tst-gettext2.out): Likewise.
3202 ($(objpfx)tst-gettext4.out): Likewise.
3203 ($(objpfx)tst-gettext6.out): Likewise.
3204 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3205 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3206 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3207 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3208 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3209 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3210 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3211 ($(objpfx)wordexp-tst.out): Likewise.
3212 ($(objpfx)annexc.out): Likewise.
3213 ($(objpfx)tst-fnmatch-mem): Likewise.
3214 ($(objpfx)bug-regex2-mem): Likewise.
3215 ($(objpfx)bug-regex14-mem): Likewise.
3216 ($(objpfx)bug-regex21-mem): Likewise.
3217 ($(objpfx)bug-regex31-mem): Likewise.
3218 ($(objpfx)tst-vfork3-mem): Likewise.
3219 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3220 ($(objpfx)tst-pcre-mem): Likewise.
3221 ($(objpfx)tst-boost-mem): Likewise.
3222 ($(objpfx)tst-getconf.out): Likewise.
3223 ($(objpfx)bug-ga2-mem): Likewise.
3224 ($(objpfx)bug-glob2-mem): Likewise.
3225 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3226 ($(objpfx)mtrace-tst-leaks2): Likewise.
3227 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3228 ($(objpfx)tst-printf.out): Likewise.
3229 ($(objpfx)tst-setvbuf1.out): Likewise.
3230 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3231 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3232 ($(objpfx)tst-fmtmsg.out): Likewise.
3233 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3234 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3236 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3237 * bits/sigaction.h [__USE_MISC]: Likewise.
3238 * bits/waitstatus.h: Update #endif comments.
3239 * ctype/ctype.h: Likewise.
3240 * dirent/dirent.h: Likewise.
3241 [__USE_MISC]: Remove redundant conditionals.
3242 * grp/grp.h: Update #endif comments.
3243 [__USE_GNU]: Remove redundant conditionals.
3244 [__USE_MISC]: Likewise.
3245 * inet/netinet/in.h [__USE_GNU]: Likewise.
3246 * io/sys/stat.h [__USE_MISC]: Likewise.
3247 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3248 * libio/bits/stdio.h: Update #endif comments.
3249 [__USE_MISC]: Remove redundant conditionals.
3250 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3251 * libio/stdio.h: Update #endif comments.
3252 [__USE_MISC]: Remove redundant conditionals.
3253 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3254 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3255 * math/math.h: Update #else and #endif comments.
3256 [__USE_MISC]: Remove redundant conditionals.
3257 * misc/sys/uio.h: Update #endif comments.
3258 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3259 * posix/glob.h [__USE_MISC]: Likewise.
3260 * posix/sys/types.h: Update #endif comments.
3261 [__USE_MISC]: Remove redundant conditionals.
3262 * posix/sys/wait.h: Update #endif comments.
3263 [__USE_MISC]: Remove redundant conditionals.
3264 * posix/unistd.h: Update #endif comments.
3265 [__USE_MISC]: Remove redundant conditionals.
3266 * pwd/pwd.h [__USE_GNU]: Likewise.
3267 [__USE_MISC]: Likewise.
3268 * resolv/netdb.h [__USE_GNU]: Likewise.
3269 * signal/signal.h: Update #endif comments.
3270 [__USE_MISC]: Remove redundant conditionals.
3271 * stdlib/stdlib.h: Update #else and #endif comments.
3272 [__USE_MISC]: Remove redundant conditionals.
3273 [__USE_GNU]: Likewise.
3274 * string/bits/string2.h [__USE_MISC]: Likewise.
3275 * string/string.h: Update #endif comments.
3276 [__USE_MISC]: Remove redundant conditionals.
3277 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3279 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3280 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3281 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3283 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3285 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3287 [__USE_MISC]: Remove redundant conditionals.
3288 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3289 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3290 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3291 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3292 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3294 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3295 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3297 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3298 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3300 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3302 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3303 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3305 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3307 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3308 * sysdeps/x86/bits/string.h: Update #endif comments.
3309 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3311 * time/sys/time.h: Update #endif comments.
3312 * time/time.h: Likewise.
3313 [__USE_MISC]: Remove redundant conditionals.
3315 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3318 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3320 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3322 * Versions.def (librt): Add GLIBC_2.17.
3324 2014-02-21 Adam Conrad <adconrad@0c3.net>
3326 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3327 synonym for _SYS_AUXV_H to allow direct inclusion.
3328 * sysdeps/sparc/bits/hwcap.h: Likewise.
3329 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3330 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3331 * sysdeps/sparc/sysdep.h: Likewise.
3333 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3335 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3337 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3339 * benchtests/bench-strrchr.c: Print length instead of position.
3341 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3344 * sysdeps/unix/sysv/linux/kernel-features.h
3345 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3346 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3347 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3348 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3350 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3351 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3352 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3353 (__ASSUME_SENDMMSG): Define instead of using previous
3354 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3355 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3356 (__ASSUME_SENDMMSG_SYSCALL): Define.
3357 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3358 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3360 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3361 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3363 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3364 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3366 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3367 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3368 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3369 [__ASSUME_SENDMMSG]: Change conditionals to
3370 [__ASSUME_SENDMMSG_SOCKETCALL].
3371 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3372 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3374 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3375 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3377 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3378 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3379 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3380 [!__ASSUME_SENDMMSG]: Change conditional to
3381 [!__ASSUME_SENDMMSG_SOCKETCALL].
3382 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3383 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3387 * sysdeps/unix/sysv/linux/kernel-features.h
3388 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3389 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3390 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3391 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3392 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3393 [__i386__ || __sparc__]
3394 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3395 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3396 (__ASSUME_RECVMMSG): Define instead of using previous
3397 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3398 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3399 (__ASSUME_RECVMMSG_SYSCALL): Define.
3400 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3401 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3403 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3404 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3406 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3407 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3409 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3410 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3411 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3412 [__ASSUME_RECVMMSG]: Change condition to
3413 [__ASSUME_RECVMMSG_SOCKETCALL].
3414 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3415 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3417 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3418 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3419 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3421 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3422 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3423 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3424 [!__ASSUME_RECVMMSG]: Change condition to
3425 [!__ASSUME_RECVMMSG_SOCKETCALL].
3426 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3427 (__ASSUME_RECVMMSG_SYSCALL): Define.
3430 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3431 __powerpc__ || __s390__ || __sh__ || __sparc__]
3432 (__ASSUME_SOCKETCALL): Define.
3433 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3434 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3435 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3436 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3437 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3438 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3439 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3440 (__ASSUME_ACCEPT4): Define instead of using previous
3441 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3442 __powerpc__ || __sparc__ || __s390__)] condition.
3443 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3444 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3445 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3446 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3447 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3448 [!__ASSUME_ACCEPT4]: Change condition to
3449 [!__ASSUME_ACCEPT4_SOCKETCALL].
3450 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3451 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3452 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3453 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3454 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3455 __ASSUME_ACCEPT4_SYSCALL.
3456 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3457 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3458 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3459 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3460 __ASSUME_ACCEPT4_SYSCALL.
3461 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3462 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3463 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3464 [__ASSUME_ACCEPT4]: Change condition to
3465 [__ASSUME_ACCEPT4_SOCKETCALL].
3466 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3467 (__ASSUME_SOCKETCALL): Define.
3468 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3469 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3470 (__ASSUME_SOCKETCALL): Define.
3471 (__ASSUME_ACCEPT4): Remove.
3472 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3474 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3475 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3477 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3478 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3480 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3482 (HWCAP_ARM_LPAE): Likewise.
3483 (HWCAP_ARM_EVTSTRM): Likewise.
3484 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3485 Add vpfd32, lpae and evtstrm.
3486 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3489 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3491 * math/auto-libm-test-in: Add tests of clog10.
3492 * math/auto-libm-test-out: Regenerated.
3493 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3494 * sysdeps/i386/fpu/libm-test-ulps: Update.
3495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3497 2014-02-18 Andreas Schwab <schwab@suse.de>
3500 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3501 Store non-zero if the second buffer was newly allocated.
3502 (send_dg): Likewise.
3503 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3504 to send_vc and send_dg.
3505 (res_nsend): Pass NULL for ansp2_malloced.
3506 * resolv/res_query.c (__libc_res_nquery): Add parameter
3507 answerp2_malloced and pass it down to __libc_res_nsend.
3508 (res_nquery): Pass additional NULL to __libc_res_nquery.
3509 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3510 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3511 second answer buffer if answerp2_malloced was set.
3512 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3513 (__libc_res_nquerydomain): Add parameter
3514 answerp2_malloced and pass it down to __libc_res_nquery.
3515 (res_nquerydomain): Pass additional NULL to
3516 __libc_res_nquerydomain.
3517 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3518 additional NULL to __libc_res_nsend and __libc_res_nquery.
3519 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3520 additional NULL to __libc_res_nsearch.
3521 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3522 parameter of __libc_res_nsearch to check for separately allocated
3524 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3526 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3527 additional NULL to __libc_res_nquery.
3528 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3530 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3531 * include/resolv.h: Update prototypes of __libc_res_nquery,
3532 __libc_res_nsearch, __libc_res_nsend.
3534 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3536 * math/auto-libm-test-in: Add tests of fma.
3537 * math/auto-libm-test-out: Regenerated.
3538 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3539 (fma_towardzero_test_data): Likewise.
3540 (fma_downward_test_data): Likewise.
3541 (fma_upward_test_data): Likewise.
3542 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3544 (rounding_modes): Add values for new field.
3545 (func_calc_method): Add value mpfr_fff_f.
3546 (func_calc_desc): Add mpfr_fff_f union field.
3547 (test_function): Add field exact_args.
3548 (FUNC): Add macro argument EXACT_ARGS.
3549 (FUNC_mpfr_f_f): Update call to FUNC.
3550 (FUNC_mpfr_f_f): Likewise.
3551 (FUNC_mpfr_ff_f): Likewise.
3552 (FUNC_mpfr_if_f): Likewise.
3553 (FUNC_mpc_c_f): Likewise.
3554 (FUNC_mpc_c_c): Likewise.
3555 (test_functions): Add fma. Update calls to FUNC.
3556 (handle_input_arg): Add argument exact_args.
3557 (add_test): Update call to handle_input_arg.
3558 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3559 (output_for_one_input_case): Update call to calc_generic_results.
3560 Recalculate exact zero results in each rounding mode.
3562 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3563 non-negative before setting low bit.
3564 * math/auto-libm-test-in: Mark one asin test possibly having
3566 * math/auto-libm-test-out: Regenerated.
3567 * sysdeps/i386/fpu/libm-test-ulps: Update.
3568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3570 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3572 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3573 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3574 ports/sysdeps/unix/sysv/linux/microblaze.
3575 * README: Add missing listing for microblaze*-*-linux-gnu.
3577 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3579 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3580 * sysdeps/unix/sysv/linux/ia64: Move directory from
3581 ports/sysdeps/unix/sysv/linux/ia64.
3582 * README: Update listing for ia64-*-linux-gnu.
3584 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3585 Joseph Myers <joseph@codesourcery.com>
3587 * Makeconfig (test-name): New variable.
3588 (evaluate-test): Likewise.
3589 * Makerules (do-test-clean): Remove .test-result files.
3590 (common-mostlyclean): Likewise.
3591 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3592 * scripts/evaluate-test.sh: New file.
3594 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3596 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3597 separate $(objpfx)tst-fopenloc-cmp.out and
3598 $(objpfx)tst-fopenloc-mem.out targets.
3599 (tests): Update dependencies.
3600 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3601 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3602 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3603 (tst-rxspencer-no-utf8-ARGS): New variable.
3604 (tst-rxspencer-no-utf8-ENV): Likewise.
3605 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3606 instead of $(objpfx)tst-rxspencer-mem.
3607 ($(objpfx)tst-rxspencer-mem): Change target to
3608 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3609 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3610 * posix/tst-rxspencer-no-utf8.c: New file.
3612 * elf/Makefile ($(objpfx)order.out): Remove rule.
3613 [$(run-built-tests) = yes] (tests): Depend on
3614 $(objpfx)order-cmp.out.
3615 ($(objpfx)order-cmp.out): New rule.
3616 [$(run-built-tests) = yes] (tests): Depend on
3617 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3618 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3619 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3620 $(objpfx)tst-array5-static-cmp.out.
3621 ($(objpfx)tst-array1.out): Remove rule.
3622 ($(objpfx)tst-array1-cmp.out): New rule.
3623 ($(objpfx)tst-array1-static.out): Remove rule.
3624 ($(objpfx)tst-array1-static-cmp.out): New rule.
3625 ($(objpfx)tst-array2.out): Remove rule.
3626 ($(objpfx)tst-array2-cmp.out): New rule.
3627 ($(objpfx)tst-array3.out): Remove rule.
3628 ($(objpfx)tst-array3-cmp.out): New rule.
3629 ($(objpfx)tst-array4.out): Remove rule.
3630 ($(objpfx)tst-array4-cmp.out): New rule.
3631 ($(objpfx)tst-array5.out): Remove rule.
3632 ($(objpfx)tst-array5-cmp.out): New rule.
3633 ($(objpfx)tst-array5-static.out): Remove rule.
3634 ($(objpfx)tst-array5-static-cmp.out): New rule.
3635 [$(run-built-tests) = yes] (tests): Depend on
3636 $(objpfx)order2-cmp.out.
3637 ($(objpfx)order2.out): Remove rule.
3638 ($(objpfx)order2-cmp.out): New rule.
3639 ($(objpfx)tst-initorder.out): Remove rule.
3640 [$(run-built-tests) = yes] (tests): Depend on
3641 $(objpfx)tst-initorder-cmp.out.
3642 ($(objpfx)tst-initorder-cmp.out): New rule.
3643 ($(objpfx)tst-initorder2.out): Remove rule.
3644 [$(run-built-tests) = yes] (tests): Depend on
3645 $(objpfx)tst-initorder2-cmp.out.
3646 ($(objpfx)tst-initorder2-cmp.out): New rule.
3647 [$(run-built-tests) = yes] (tests): Depend on
3648 $(objpfx)tst-unused-dep-cmp.out.
3649 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3650 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3651 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3652 on $(objpfx)tst-setvbuf1-cmp.out.
3653 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3654 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3655 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3656 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3657 ($(objpfx)tst-svc.out): Remove rule.
3658 ($(objpfx)tst-svc-cmp.out): New rule.
3660 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3662 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3663 * ctype/ctype.h [__USE_MISC]: Likewise.
3664 * dirent/dirent.h [__USE_MISC]: Likewise.
3665 * grp/grp.h [__USE_MISC]: Likewise.
3666 * io/fcntl.h [__USE_MISC]: Likewise.
3667 * io/sys/stat.h [__USE_MISC]: Likewise.
3668 * libio/stdio.h [__USE_MISC]: Likewise.
3669 * posix/unistd.h [__USE_MISC]: Likewise.
3670 * pwd/pwd.h [__USE_MISC]: Likewise.
3671 * stdlib.h [__USE_MISC]: Likewise.
3672 * string/bits/string2.h [__USE_MISC]: Likewise.
3673 * string/string.h [__USE_MISC]: Likewise.
3674 * time/time.h [__USE_MISC]: Likewise.
3676 2014-02-13 Andreas Schwab <schwab@suse.de>
3679 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3680 second answer buffer if it was separately allocated.
3682 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3684 * sysdeps/mips/math-tests.h: Include <features.h>.
3685 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3686 (ROUNDING_TESTS_long_double): Do not define.
3687 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3688 (EXCEPTION_TESTS_long_double): Likewise.
3689 * sysdeps/mips/mips64/libm-test-ulps: Update.
3691 * include/features.h (__USE_BSD): Remove macro definitions.
3692 (__USE_SVID): Likewise.
3693 (_BSD_SOURCE): Likewise.
3694 (_SVID_SOURCE): Likewise.
3695 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3696 from definition of _DEFAULT_SOURCE.
3697 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3699 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3700 * bits/mman.h [__USE_BSD]: Likewise.
3701 * bits/termios.h [__USE_BSD]: Likewise.
3702 * bits/waitstatus.h [__USE_BSD]: Likewise.
3703 * ctype/ctype.h [__USE_SVID]: Likewise.
3704 * dirent/dirent.h [__USE_BSD]: Likewise.
3705 * grp/grp.h [__USE_SVID]: Likewise.
3706 [__USE_BSD]: Likewise.
3707 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3708 * io/fcntl.h [__USE_BSD]: Likewise.
3709 * io/ftw.h [__USE_BSD]: Likewise.
3710 * io/sys/stat.h [__USE_BSD]: Likewise.
3711 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3712 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3713 * libio/stdio.h [__USE_SVID]: Likewise.
3714 [__USE_BSD]: Likewise.
3715 * math/math.h [__USE_SVID]: Likewise.
3716 [__USE_BSD]: Likewise.
3717 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3718 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3719 * misc/search.h [__USE_SVID]: Likewise.
3720 * misc/sys/mman.h [__USE_BSD]: Likewise.
3721 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3722 * misc/sys/uio.h [__USE_BSD]: Likewise.
3723 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3724 * posix/glob.h [__USE_BSD]: Likewise.
3725 * posix/regex.h [__USE_BSD]: Likewise.
3726 * posix/sys/types.h [__USE_BSD]: Likewise.
3727 [__USE_SVID]: Likewise.
3728 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3729 * posix/sys/wait.h [__USE_BSD]: Likewise.
3730 [__USE_SVID]: Likewise.
3731 * posix/unistd.h [__USE_BSD]: Likewise.
3732 [__USE_SVID]: Likewise.
3733 * pwd/pwd.h [__USE_SVID]: Likewise.
3734 * resolv/netdb.h [__USE_BSD]: Likewise.
3735 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3736 * signal/signal.h [__USE_BSD]: Likewise.
3737 [__USE_SVID]: Likewise.
3738 * socket/sys/socket.h [__USE_BSD]: Likewise.
3739 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3740 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3741 [__USE_SVID]: Likewise.
3742 * string/bits/string2.h [__USE_BSD]: Likewise.
3743 [__USE_SVID]: Likewise.
3744 * string/bits/string3.h [__USE_BSD]: Likewise.
3745 * string/endian.h [__USE_BSD]: Likewise.
3746 * string/string.h [__USE_SVID]: Likewise.
3747 [__USE_BSD]: Likewise.
3748 * string/strings.h [__USE_BSD]: Likewise.
3749 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3750 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3751 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3752 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3753 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3754 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3756 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3758 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3759 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3761 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3762 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3764 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3766 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3767 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3768 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3770 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3772 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3773 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3774 * termios/termios.h [__USE_BSD]: Likewise.
3775 * time/sys/time.h [__USE_BSD]: Likewise.
3776 * time/time.h [__USE_BSD]: Likewise.
3777 [__USE_SVID]: Likewise.
3779 * Makefile (subdir_targets): Remove subdir_lint.out.
3781 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3782 (do-tst-printf): Likewise.
3783 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3784 $(objpfx)tst-printf.out.
3786 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3788 * Makerules (check-abi-%): Change target to
3789 $(objpfx)check-abi-%.out.
3790 (check-abi target): Update dependencies.
3791 (check-abi-pattern variable): Redirect output of diff to $@.
3792 (check-abi variable): Likewise.
3793 * elf/Makefile (check-abi): Update dependencies.
3795 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3797 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3798 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3800 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3801 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3802 value has largest subnormal exponent.
3803 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3804 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3805 * sysdeps/aarch64/soft-fp/sfp-machine.h
3806 (_FP_TININESS_AFTER_ROUNDING): New macro.
3807 * sysdeps/alpha/soft-fp/sfp-machine.h
3808 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3809 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3811 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3812 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3813 * sysdeps/mips/soft-fp/sfp-machine.h
3814 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3815 * sysdeps/powerpc/soft-fp/sfp-machine.h
3816 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3817 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3819 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3820 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3821 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3822 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3823 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3826 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3829 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3832 2014-02-12 Richard Henderson <rth@redhat.com>
3834 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3835 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3836 * sysdeps/unix/sysv/linux/alpha: Move directory from
3837 ports/sysdeps/unix/sysv/linux/alpha.
3838 * README: Update listing for alpha-*-linux-gnu.
3840 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3842 * include/features.h: Update comment documenting feature test
3844 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3846 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3847 (_SVID_SOURCE): Likewise.
3848 (_DEFAULT_SOURCE): Update description of default features.
3849 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3851 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3852 (S_ISVTX): Likewise.
3853 * manual/math.texi (Mathematical Constants): Likewise.
3854 * manual/signal.texi (Interrupted Primitives): Likewise.
3855 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3856 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3857 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3858 Don't refer to _SVID_SOURCE in warning text.
3860 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3862 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3864 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3865 * sysdeps/mips/dl-lookup.c: Remove.
3866 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3868 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3871 * math/auto-libm-test-in: Add testcase for expl.
3872 * math/auto-libm-test-out: Regenerate.
3873 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3874 calculation of unsafe.
3875 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3877 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3879 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3880 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3881 ports/sysdeps/unix/sysv/linux/aarch64.
3882 * README: Update listing for aarch64*-*-linux-gnu.
3884 2014-02-11 Will Newton <will.newton@linaro.org>
3886 * manual/probes.texi (Mathematical Function Probes): Use
3887 "triggered" instead of "hit".
3889 2014-02-11 Will Newton <will.newton@linaro.org>
3891 * manual/probes.texi (Internal Probes): Add documentation
3892 of setjmp, longjmp and longjmp_target probes.
3894 2014-02-11 Will Newton <will.newton@linaro.org>
3896 * include/stap-probe.h: Add comment about probe argument
3899 2014-02-11 Will Newton <will.newton@linaro.org>
3901 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3902 definition. (tr_where, tr_freehook, tr_mallochook,
3903 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3905 2014-02-11 David S. Miller <davem@davemloft.net>
3907 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3908 processing int_tests.
3910 2014-02-10 Joseph Myers <joseph@codesourcery.com>
3912 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3913 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3914 * sysdeps/unix/sysv/linux/mips: Move directory from
3915 ports/sysdeps/unix/sysv/linux/mips.
3916 * README: Update listing for mips-*-linux-gnu and
3919 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3921 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3922 * sysdeps/unix/sysv/linux/m68k: Move directory from
3923 ports/sysdeps/unix/sysv/linux/m68k.
3924 * README: Update listing for m68k-*-linux-gnu.
3926 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3928 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3929 * sysdeps/unix/sysv/linux/generic: Move directory from
3930 ports/sysdeps/unix/sysv/linux/generic.
3931 * sysdeps/unix/sysv/linux/tile: Move directory from
3932 ports/sysdeps/unix/sysv/linux/tile.
3933 * README: Update listing for tile*-*-linux-gnu.
3935 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3937 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3938 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3939 * catgets/open_catalog.c (__open_catalog): Likewise.
3940 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3941 * debug/confstr_chk.c: Likewise.
3942 * debug/fread_chk.c (__fread_chk): Likewise.
3943 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3944 * debug/getgroups_chk.c: Likewise.
3945 * debug/mbsnrtowcs_chk.c: Likewise.
3946 * debug/mbsrtowcs_chk.c: Likewise.
3947 * debug/mbstowcs_chk.c: Likewise.
3948 * debug/memcpy_chk.c: Likewise.
3949 * debug/memmove_chk.c: Likewise.
3950 * debug/mempcpy_chk.c: Likewise.
3951 * debug/memset_chk.c: Likewise.
3952 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3953 * debug/strcat_chk.c (__strcat_chk): Likewise.
3954 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3955 * debug/strncat_chk.c (__strncat_chk): Likewise.
3956 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3957 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3958 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3959 * debug/wcpncpy_chk.c: Likewise.
3960 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3961 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3962 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3963 * debug/wcsncpy_chk.c: Likewise.
3964 * debug/wcsnrtombs_chk.c: Likewise.
3965 * debug/wcsrtombs_chk.c: Likewise.
3966 * debug/wcstombs_chk.c: Likewise.
3967 * debug/wmemcpy_chk.c: Likewise.
3968 * debug/wmemmove_chk.c: Likewise.
3969 * debug/wmempcpy_chk.c: Likewise.
3970 * debug/wmemset_chk.c: Likewise.
3971 * dirent/scandirat.c (SCANDIRAT): Likewise.
3972 * dlfcn/dladdr1.c (dladdr1): Likewise.
3973 * dlfcn/dladdr.c (dladdr): Likewise.
3974 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3975 * dlfcn/dlerror.c (__dlerror): Likewise.
3976 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3977 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3978 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3979 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3980 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3981 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3982 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3983 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3985 * elf/dl-conflict.c: Likewise.
3986 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3987 * elf/dl-dst.h: Likewise.
3988 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3989 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3990 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3991 * elf/dl-init.c (call_init, _dl_init): Likewise.
3992 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3993 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3994 _dl_map_object_from_fd, open_verify, open_path,
3995 _dl_map_object): Likewise.
3996 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3998 * elf/dl-minimal.c (__libc_memalign): Likewise.
3999 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4000 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4001 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4002 * elf/dl-sym.c (do_sym): Likewise.
4003 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
4004 _dl_tls_get_addr_soft): Likewise.
4005 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4006 * elf/dl-writev.h (_dl_writev): Likewise.
4007 * elf/ldconfig.c (search_dir): Likewise.
4008 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
4010 * elf/setup-vdso.h (setup_vdso): Likewise.
4011 * grp/compat-initgroups.c (compat_call): Likewise.
4012 * grp/fgetgrent.c (fgetgrent): Likewise.
4013 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4014 * grp/putgrent.c (putgrent): Likewise.
4015 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4017 * hurd/hurdinit.c: Likewise.
4018 * iconvdata/8bit-gap.c (struct): Likewise.
4019 * iconvdata/ansi_x3.110.c : Likewise.
4020 * iconvdata/big5.c : Likewise.
4021 * iconvdata/big5hkscs.c : Likewise.
4022 * iconvdata/cp1255.c: Likewise.
4023 * iconvdata/cp1258.c : Likewise.
4024 * iconvdata/cp932.c : Likewise.
4025 * iconvdata/euc-cn.c: Likewise.
4026 * iconvdata/euc-jisx0213.c : Likewise.
4027 * iconvdata/euc-jp.c: Likewise.
4028 * iconvdata/euc-jp-ms.c : Likewise.
4029 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4030 * iconvdata/gb18030.c : Likewise.
4031 * iconvdata/gbbig5.c (const): Likewise.
4032 * iconvdata/gbgbk.c: Likewise.
4033 * iconvdata/gbk.c : Likewise.
4034 * iconvdata/ibm1364.c : Likewise.
4035 * iconvdata/ibm930.c : Likewise.
4036 * iconvdata/ibm932.c: Likewise.
4037 * iconvdata/ibm933.c : Likewise.
4038 * iconvdata/ibm935.c : Likewise.
4039 * iconvdata/ibm937.c : Likewise.
4040 * iconvdata/ibm939.c : Likewise.
4041 * iconvdata/ibm943.c: Likewise.
4042 * iconvdata/iso_11548-1.c: Likewise.
4043 * iconvdata/iso-2022-cn.c : Likewise.
4044 * iconvdata/iso-2022-cn-ext.c : Likewise.
4045 * iconvdata/iso-2022-jp-3.c: Likewise.
4046 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4047 * iconvdata/iso-2022-kr.c : Likewise.
4048 * iconvdata/iso646.c (gconv_end): Likewise.
4049 * iconvdata/iso_6937-2.c : Likewise.
4050 * iconvdata/iso_6937.c : Likewise.
4051 * iconvdata/iso8859-1.c: Likewise.
4052 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4053 * iconvdata/shift_jisx0213.c : Likewise.
4054 * iconvdata/sjis.c : Likewise.
4055 * iconvdata/t.61.c : Likewise.
4056 * iconvdata/tcvn5712-1.c : Likewise.
4057 * iconvdata/tscii.c: Likewise.
4058 * iconvdata/uhc.c : Likewise.
4059 * iconvdata/unicode.c (gconv_end): Likewise.
4060 * iconvdata/utf-16.c (gconv_end): Likewise.
4061 * iconvdata/utf-32.c (gconv_end): Likewise.
4062 * iconvdata/utf-7.c (base64): Likewise.
4063 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4064 * iconv/gconv_close.c (__gconv_close): Likewise.
4065 * iconv/gconv_open.c (__gconv_open): Likewise.
4066 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
4067 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
4068 internal_ucs4le_loop_single, ucs4le_internal_loop,
4069 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
4070 * iconv/iconv.c (iconv): Likewise.
4071 * iconv/iconv_close.c: Likewise.
4072 * iconv/loop.c (SINGLE): Likewise.
4073 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4074 * include/atomic.h: Likewise.
4075 * inet/inet6_option.c (option_alloc): Likewise.
4076 * intl/bindtextdom.c (set_binding_values): Likewise.
4077 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4078 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4079 * intl/localealias.c (read_alias_file): Likewise.
4080 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4081 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
4082 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4083 * libio/fmemopen.c (fmemopen): Likewise.
4084 * libio/iofgets.c (_IO_fgets): Likewise.
4085 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4086 * libio/iofgetws.c (fgetws): Likewise.
4087 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4088 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4089 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
4090 adjust_wide_data, _IO_wfile_seekoff): Likewise.
4091 * locale/findlocale.c (_nl_find_locale): Likewise.
4092 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4093 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4095 * locale/setlocale.c (setlocale): Likewise.
4096 * login/programs/pt_chown.c (main): Likewise.
4097 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4098 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4099 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
4100 mmap, mmap64, mremap, munmap): Likewise.
4101 * math/e_exp2l.c: Likewise.
4102 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4103 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4104 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4105 * math/s_catan.c (__catan): Likewise.
4106 * math/s_catanf.c (__catanf): Likewise.
4107 * math/s_catanh.c (__catanh): Likewise.
4108 * math/s_catanhf.c (__catanhf): Likewise.
4109 * math/s_catanhl.c (__catanhl): Likewise.
4110 * math/s_catanl.c (__catanl): Likewise.
4111 * math/s_ccosh.c (__ccosh): Likewise.
4112 * math/s_ccoshf.c (__ccoshf): Likewise.
4113 * math/s_ccoshl.c (__ccoshl): Likewise.
4114 * math/s_cexp.c (__cexp): Likewise.
4115 * math/s_cexpf.c (__cexpf): Likewise.
4116 * math/s_cexpl.c (__cexpl): Likewise.
4117 * math/s_clog10.c (__clog10): Likewise.
4118 * math/s_clog10f.c (__clog10f): Likewise.
4119 * math/s_clog10l.c (__clog10l): Likewise.
4120 * math/s_clog.c (__clog): Likewise.
4121 * math/s_clogf.c (__clogf): Likewise.
4122 * math/s_clogl.c (__clogl): Likewise.
4123 * math/s_csin.c (__csin): Likewise.
4124 * math/s_csinf.c (__csinf): Likewise.
4125 * math/s_csinh.c (__csinh): Likewise.
4126 * math/s_csinhf.c (__csinhf): Likewise.
4127 * math/s_csinhl.c (__csinhl): Likewise.
4128 * math/s_csinl.c (__csinl): Likewise.
4129 * math/s_csqrt.c (__csqrt): Likewise.
4130 * math/s_csqrtf.c (__csqrtf): Likewise.
4131 * math/s_csqrtl.c (__csqrtl): Likewise.
4132 * math/s_ctan.c (__ctan): Likewise.
4133 * math/s_ctanf.c (__ctanf): Likewise.
4134 * math/s_ctanh.c (__ctanh): Likewise.
4135 * math/s_ctanhf.c (__ctanhf): Likewise.
4136 * math/s_ctanhl.c (__ctanhl): Likewise.
4137 * math/s_ctanl.c (__ctanl): Likewise.
4138 * math/w_pow.c: Likewise.
4139 * math/w_powf.c: Likewise.
4140 * math/w_powl.c: Likewise.
4141 * math/w_scalb.c (sysv_scalb): Likewise.
4142 * math/w_scalbf.c (sysv_scalbf): Likewise.
4143 * math/w_scalbl.c (sysv_scalbl): Likewise.
4144 * misc/error.c (error_tail): Likewise.
4145 * misc/pselect.c (__pselect): Likewise.
4146 * nis/nis_callback.c (__nis_create_callback): Likewise.
4147 * nis/nis_call.c (__nisfind_server): Likewise.
4148 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4149 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4150 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4151 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4152 * nis/nis_lookup.c (nis_lookup): Likewise.
4153 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4154 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
4155 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4156 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4157 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
4158 internal_getgrgid_r): Likewise.
4159 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
4161 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
4162 internal_getpwuid_r): Likewise.
4163 * nis/nss_compat/compat-spwd.c (getspent_next_file,
4164 internal_getspnam_r): Likewise.
4165 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
4166 _nss_nis_getaliasbyname_r): Likewise.
4167 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4168 _nss_nis_getntohost_r): Likewise.
4169 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4170 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4172 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4173 internal_nis_gethostent_r, internal_gethostbyname2_r,
4174 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4175 _nss_nis_gethostbyname4_r): Likewise.
4176 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4177 initgroups_netid): Likewise.
4178 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4179 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4180 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4181 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4182 _nss_nis_getprotobynumber_r): Likewise.
4183 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4184 _nss_nis_getsecretkey): Likewise.
4185 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4186 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4188 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4189 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4190 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4191 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4192 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4193 _nss_nis_getspnam_r): Likewise.
4194 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4196 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4197 _nss_nisplus_getntohost_r): Likewise.
4198 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4199 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4200 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4201 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4202 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4204 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4205 _nss_nisplus_getnetbyaddr_r): Likewise.
4206 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4207 _nss_nisplus_getprotobynumber_r): Likewise.
4208 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4209 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4210 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4212 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4213 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4214 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4215 _nss_nisplus_getspnam_r): Likewise.
4216 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4217 * nscd/aicache.c (addhstaiX): Likewise.
4218 * nscd/cache.c (cache_search, prune_cache): Likewise.
4219 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4220 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4221 * nscd/grpcache.c (addgrbyX): Likewise.
4222 * nscd/hstcache.c (addhstbyX): Likewise.
4223 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4224 * nscd/mem.c (gc, mempool_alloc): Likewise.
4225 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4227 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4229 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4230 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4231 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4233 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4234 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4235 * nscd/nscd_helper.c (__readvall, open_socket,
4236 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4237 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4238 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4239 * nscd/pwdcache.c (addpwbyX): Likewise.
4240 * nscd/selinux.c (preserve_capabilities): Likewise.
4241 * nscd/servicescache.c (addservbyX): Likewise.
4242 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4243 * posix/fnmatch.c (fnmatch): Likewise.
4244 * posix/getopt.c (_getopt_internal_r): Likewise.
4245 * posix/glob.c (glob, glob_in_dir): Likewise.
4246 * posix/wordexp.c (exec_comm_child): Likewise.
4247 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4248 gaih_getanswer_slice): Likewise.
4249 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4250 * resolv/res_init.c: Likewise.
4251 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4252 * resolv/res_query.c (__libc_res_nquery): Likewise.
4253 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4255 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4256 * stdio-common/perror.c (perror): Likewise.
4257 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4258 * stdio-common/tmpnam.c (tmpnam): Likewise.
4259 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4260 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4261 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4262 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4263 * stdlib/putenv.c (putenv): Likewise.
4264 * stdlib/setenv.c (__add_to_environ): Likewise.
4265 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4266 * stdlib/strtol_l.c (INTERNAL): Likewise.
4267 * string/memmem.c (memmem): Likewise.
4268 * string/strerror.c (strerror): Likewise.
4269 * string/strnlen.c (__strnlen): Likewise.
4270 * string/test-memmem.c (simple_memmem): Likewise.
4271 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4272 * sunrpc/pm_getport.c (__get_socket): Likewise.
4273 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4274 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4275 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4276 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4278 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4279 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4280 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4281 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4282 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4283 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4284 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4285 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4286 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4287 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4288 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4289 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4290 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4291 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4292 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4293 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4294 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4295 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4296 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4298 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4300 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4302 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4303 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4304 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4305 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4306 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4307 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4308 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4309 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4310 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4311 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4312 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4313 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4314 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4315 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4316 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4317 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4318 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4320 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4322 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4324 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4325 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4326 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4328 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4329 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4330 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4331 * sysdeps/posix/sleep.c: Likewise.
4332 * sysdeps/posix/tempname.c: Likewise.
4333 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4334 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4336 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4337 elf_machine_rela): Likewise.
4338 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4339 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4340 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4341 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4343 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4344 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4345 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4346 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4347 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4348 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4349 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4350 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4351 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4352 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4353 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4354 elf_machine_lazy_rel): Likewise.
4355 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4356 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4357 elf_machine_lazy_rel): Likewise.
4358 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4359 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4360 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4361 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4362 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4363 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4364 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4365 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4367 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4368 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4369 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4370 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4371 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4372 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4373 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4374 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4375 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4376 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4377 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4379 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4380 (__posix_fallocate64_l64): Likewise.
4381 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4382 (posix_fallocate): Likewise.
4383 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4384 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4385 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4386 getifaddrs_internal): Likewise.
4387 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4388 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4389 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4390 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4391 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4392 (__posix_fallocate64_l64): Likewise.
4393 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4395 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4396 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4398 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4399 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4400 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4401 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4402 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4403 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4404 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4405 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4407 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4408 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4409 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4410 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4411 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4412 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4413 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4415 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4416 (posix_fallocate): Likewise.
4417 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4418 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4419 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4420 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4421 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4423 * time/asctime.c (asctime_internal): Likewise.
4424 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4425 * time/tzset.c (__tzset_parse_tz): Likewise.
4426 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4427 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4428 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4429 * wcsmbs/wcsmbsload.h: Likewise.
4431 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4434 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4436 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4438 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4439 arena_get2): Remove THREAD_STATS conditionals.
4440 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4441 __malloc_stats, int): Likewise.
4443 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4445 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4446 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4448 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4450 * manual/setjmp.texi: Fix typos/grammar errors.
4452 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4454 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4455 Only return early when n is <= 0. Delete unused return statement.
4457 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4459 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4460 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4461 * debug/tst-longjmp_chk3.c: New file.
4463 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4465 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4466 (test_main): Replace code with set_fortify_handler call.
4467 * debug/test-strcpy_chk.c: Likewise.
4468 * debug/tst-chk1.c: Likewise.
4469 * debug/tst-longjmp_chk.c: Likewise.
4470 * test-skeleton.c: Include fcntl.h & paths.h
4471 (set_fortify_handler): Define.
4473 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4475 * debug/tst-longjmp_chk.c: Add header comment and include
4477 (do_test): Mark static.
4478 (TEST_FUNCTION): Define.
4480 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4482 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4483 (IP_PMTUDISC_INTERFACE): Likewise.
4484 (IP_MULTICAST_IF): Likewise.
4485 (IP_MULTICAST_TTL): Likewise.
4486 (IP_MULTICAST_LOOP): Likewise.
4487 (IP_ADD_MEMBERSHIP): Likewise.
4488 (IP_DROP_MEMBERSHIP): Likewise.
4489 (IP_UNBLOCK_SOURCE): Likewise.
4490 (IP_BLOCK_SOURCE): Likewise.
4491 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4492 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4493 (IP_MSFILTER): Likewise.
4494 (MCAST_JOIN_GROUP): Likewise.
4495 (MCAST_BLOCK_SOURCE): Likewise.
4496 (MCAST_UNBLOCK_SOURCE): Likewise.
4497 (MCAST_LEAVE_GROUP): Likewise.
4498 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4499 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4500 (MCAST_MSFILTER): Likewise.
4501 (IP_MULTICAST_ALL): Likewise.
4502 (IP_UNICAST_IF): Likewise.
4504 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4506 * timezone/Makefile: Delete $(have-ksh) check.
4507 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4508 * timezone/tzselect.ksh: Add +x mode bits.
4510 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4512 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4513 (ANON_INODE_FS_MAGIC): Likewise.
4514 (BDEVFS_MAGIC): Likewise.
4515 (BINFMTFS_MAGIC): Likewise.
4516 (BTRFS_TEST_MAGIC): Likewise.
4517 (CRAMFS_MAGIC_WEND): Likewise.
4518 (DEBUGFS_MAGIC): Likewise.
4519 (ECRYPTFS_SUPER_MAGIC): Likewise.
4520 (EXT3_SUPER_MAGIC): Likewise.
4521 (EXT4_SUPER_MAGIC): Likewise.
4522 (FUTEXFS_SUPER_MAGIC): Likewise.
4523 (HOSTFS_SUPER_MAGIC): Likewise.
4524 (HUGETLBFS_MAGIC): Likewise.
4525 (MINIX3_SUPER_MAGIC): Likewise.
4526 (MTD_INODE_FS_MAGIC): Likewise.
4527 (NILFS_SUPER_MAGIC): Likewise.
4528 (OPENPROM_SUPER_MAGIC): Likewise.
4529 (PIPEFS_MAGIC): Likewise.
4530 (PSTOREFS_MAGIC): Likewise.
4531 (QNX6_SUPER_MAGIC): Likewise.
4532 (RAMFS_MAGIC): Likewise.
4533 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4534 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4535 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4536 (SECURITYFS_MAGIC): Likewise.
4537 (SELINUX_MAGIC): Likewise.
4538 (SMACK_MAGIC): Likewise.
4539 (SOCKFS_MAGIC): Likewise.
4540 (SQUASHFS_MAGIC): Likewise.
4541 (STACK_END_MAGIC): Likewise.
4542 (TMPFS_MAGIC): Likewise.
4543 (USBDEVICE_SUPER_MAGIC): Likewise.
4544 (V9FS_MAGIC): Likewise.
4545 (XENFS_SUPER_MAGIC): Likewise.
4546 (CRAMFS_MAGIC): Fix typo in comment.
4547 (EXT2_SUPER_MAGIC): Update comment.
4548 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4550 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4552 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4553 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4554 * sysdeps/unix/sysv/linux/arm: Move directory from
4555 ports/sysdeps/unix/sysv/linux/arm.
4556 * README: Update listing for arm-*-linux-gnueabi.
4558 * README: Remove mention of am33.
4560 2014-02-07 Roland McGrath <roland@hack.frob.com>
4562 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4563 than the comma operator, to avoid "rhs of comma has no effect"
4565 (__sigfillset, __sigandset, __sigorset): Likewise.
4566 * include/signal.h (__sigemptyset): Likewise.
4567 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4569 2014-02-07 Allan McRae <allan@archlinux.org>
4571 * version.h (RELEASE): Set to "development".
4572 (VERSION): Set to "2.19.90"
4573 * NEWS: Add 2.20 section.
4575 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4578 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4580 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4582 * manual/contrib.texi: Update entry for Carlos O'Donell,
4583 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4585 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4587 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4589 * sysdeps/unix/sysv/linux/kernel-features.h
4590 [__LINUX_KERNEL_VERSION >= 0x020621]
4591 (__ASSUME_PROC_PID_TASK_COMM): Define.
4593 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4596 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4597 conversion when destination buffer does not have enough space.
4598 * libio/tst-ftell-partial-wide.c: New test case.
4599 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4601 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4602 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4603 Leonard and Allan McRae.
4605 2014-02-04 David S. Miller <davem@davemloft.net>
4607 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4610 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4639 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4641 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4642 * shlib-versions: Likewise.
4644 2014-02-04 Roland McGrath <roland@hack.frob.com>
4645 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4647 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4648 (abilist-pattern): New variable, set to %-le.abilist.
4650 * Makerules (abilist-pattern): New variable.
4651 (vpath): Use $(abilist-pattern) in place of %.abilist.
4652 (check-abi-% pattern rule): Likewise.
4653 (check-abi, update-abi): Likewise.
4655 2014-02-04 Eric Wong <normalperson@yhbt.net>
4657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4659 2014-02-04 Eric Wong <normalperson@yhbt.net>
4661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4663 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4665 * manual/startup.texi: Add next, previous, and top entries for
4666 the `Program Arguments' and `Environment Variables' nodes.
4668 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4670 * manual/macros.texi: Add comments before MTASC-safety macros.
4672 * manual/users.texi: Document MTASC-safety properties.
4674 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4675 pthread_getspecific, pthread_setspecific): Format with
4676 @deftypefun, and add @safety note.
4677 * manual/signal.texi: Move comments that analyze the above
4678 functions to their home place.
4680 2014-02-03 Allan McRae <allan@archlinux.org>
4682 * po/sl.po: Update Slovenian translation from translation project.
4684 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4686 * manual/time.texi (timegm): Add missing blank after @c.
4687 Reported by Joseph Myers <joseph@codesourcery.com>.
4689 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4691 * manual/check-safety.sh: New.
4692 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4694 * manual/terminal.texi: Document MTASC-safety properties.
4696 * manual/filesys.texi: Document MTASC-safety properties.
4698 * manual/errno.texi: Document MTASC-safety properties.
4700 * manual/intro.texi: Document safety identifiers and
4703 * manual/string.texi (wcstok): Fix prototype.
4704 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4706 * manual/time.texi: Document MTASC-safety properties.
4708 * manual/string.texi: Document MTASC-safety properties.
4710 * manual/threads.texi: Document MTASC-safety properties.
4712 * manual/stdio.texi: Document MTASC-safety properties.
4714 * manual/syslog.texi: Document MTASC-safety properties.
4716 * manual/sysinfo.texi: Document MTASC-safety properties.
4718 * manual/startup.texi: Document MTASC-safety properties.
4720 * manual/socket.texi: Document MTASC-safety properties.
4722 * manual/signal.texi: Document MTASC-safety properties.
4724 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4726 * manual/setjmp.texi: Document MTASC-safety properties.
4728 * manual/search.texi: Document MTASC-safety properties.
4730 * manual/resource.texi: Document MTASC-safety properties.
4732 * manual/process.texi: Document MTASC-safety properties.
4734 * manual/platform.texi: Document MTASC-safety properties.
4736 * manual/pipe.texi: Document MTASC-safety properties.
4738 * manual/pattern.texi: Document MTASC-safety properties.
4740 * manual/message.texi: Document MTASC-safety properties.
4743 * manual/memory.texi: Document MTASC-safety properties.
4745 * manual/math.texi: Document MTASC-safety properties.
4747 * manual/locale.texi: Document MTASC-safety properties.
4749 * manual/llio.texi: Document MTASC-safety properties.
4751 * manual/libdl.texi: New.
4753 * manual/lang.texi: Document MTASC-safety properties.
4755 * manual/job.texi: Document MTASC-safety properties.
4757 * manual/getopt.texi: Document MTASC-safety properties.
4759 * manual/ctype.texi: Document MTASC-safety properties.
4761 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4764 * csu/libc-tls.c (static_map): Remove variable.
4765 (__libc_setup_tls): Use main executable's link map for TLS data.
4766 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4767 casing for LM_ID_BASE and GL(dl_nns).
4768 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4769 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4770 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4771 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4772 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4774 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4777 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4779 * manual/debug.texi: Document MTASC-safety properties.
4781 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4784 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4785 of __x86_64__ when disabling x87 inline functions.
4787 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4789 * manual/charset.texi: Document MTASC-safety properties.
4791 * manual/crypt.texi: Document MTASC-safety properties.
4793 * manual/conf.texi: Document MTASC-safety properties.
4795 * manual/arith.texi: Document MTASC-safety properties.
4797 * manual/argp.texi: Document MTASC-safety properties.
4799 * manual/macros.texi: Introduce macros to document multi
4800 thread, asynchronous signal and asynchronous cancellation
4802 * manual/intro.texi: Introduce the properties themselves.
4804 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4806 * sysdeps/sh/sh4/Makefile: New file.
4808 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4810 * math/gen-libm-test.pl ($srcdir): New variable.
4811 ($auto_input): Use it.
4813 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4816 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4817 access beyond array bounds when parsing netgroups file.
4819 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4820 the old buffer before realloc.
4822 2014-01-27 Allan McRae <allan@archlinux.org>
4824 * po/fr.po: Update French translation from translation project.
4826 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4828 * sysdeps/sh/libm-test-ulps: Regenerate.
4830 2014-01-24 David S. Miller <davem@davemloft.net>
4832 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4834 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4836 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4837 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4839 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4842 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4843 string pointers after reallocation.
4845 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4847 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4848 __SH4A__ instead of __SH_FPU_ANY__.
4850 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4852 * sysdeps/sh/fpu_control.h: New file.
4853 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4854 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4855 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4856 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4857 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4858 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4859 * sysdeps/sh/sys/ucontext.h: Remove.
4860 * sysdeps/sh/sys: Remove directory.
4862 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4864 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4865 s390/sys/ucontext.h.
4866 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4867 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4869 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4872 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4874 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4877 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4878 Adjust the vDSO correctly for internal calls.
4879 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4881 2014-01-20 Allan McRae <allan@archlinux.org>
4883 * po/ca.po: Update Catalan translation from translation project.
4885 2014-01-16 Mike Frysinger <vapier@gentoo.org>
4887 * sysdeps/s390/sotruss-lib.c: New file.
4889 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4892 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4893 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4894 local calls issues by not having a PLT stub required for IFUNC calls.
4895 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4897 2014-01-16 Joseph Myers <joseph@codesourcery.com>
4899 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4900 * math/test-fpucw-static.c: Likewise.
4902 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4905 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4907 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4909 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4910 implementation for powerpc.
4912 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
4915 * sysdeps/posix/system.c (__libc_system): Do not enable
4916 asynchronous cancellation.
4918 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4921 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4922 handling only for numbers special also in the IEEE case.
4924 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4926 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4928 2014-01-11 Allan McRae <allan@archlinux.org>
4930 * po/bg.po: Update Bulgarian translation from translation project.
4932 * po/de.po: Update German translation from translation project.
4934 2014-01-10 Roland McGrath <roland@hack.frob.com>
4936 * sysdeps/generic/gcc-compat.h: New file.
4938 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4940 * benchtests/asin-inputs: Correct slow inputs.
4941 * benchtests/acos-inputs: Likewise.
4943 2014-01-10 Allan McRae <allan@archlinux.org>
4945 * po:sv.po: Update Swedish translation from translation project.
4947 * po/vi.po: Update Vietnamese translation from translation project.
4949 * po/eo.po: Update Esperanto translation from translation project.
4951 * po/cs.po: Update Czech translation from translation project.
4953 * po/nl.po: Update Dutch translation from translation project.
4955 * po/pl.po: Update Polish translation from translation project.
4957 * po/ru.po: Update Russian translation from translation project.
4959 * po/uk.po: Update Ukrainian translation from translation project.
4961 2014-01-08 Brooks Moses <bmoses@google.com>
4963 * elf/dl-load.c: Fix comment typo.
4965 2014-01-08 Carlos O'Donell <carlos@redhat.com>
4967 * po/header.pot: Rename to...
4968 * po/pot.header: ... this.
4969 * po/Makefile: Use pot.header.
4971 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4972 Maxim Kuvyrkov <maxim@kugelworks.com>
4975 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4976 SRC and DEST against LEN.
4978 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4981 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4983 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4985 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4989 2014-01-08 Joseph Myers <joseph@codesourcery.com>
4992 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4993 for large positive arguments.
4995 2014-01-07 Joseph Myers <joseph@codesourcery.com>
4997 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4999 * math/auto-libm-test-in: Mark various tests with
5000 xfail-rounding:ldbl-128ibm.
5001 * math/auto-libm-test-out: Regenerated.
5004 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5005 Increase overflow threshold.
5007 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5010 * stdio-common/vfprintf.c: Check for integer overflow.
5012 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5014 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5015 the first argument and return value of __tls_get_addr_internal.
5017 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5019 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5020 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5022 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5024 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5025 * sysdeps/s390/rtld-global-offsets.sym: New file.
5026 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5028 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5029 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5030 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5032 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5033 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5039 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5040 halfs of GPRs for high_gprs contexts.
5041 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5042 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5044 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5046 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5048 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5049 for high GPRs (uc_high_gprs) and for future extensions
5051 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5052 for future extensions (__reserved).
5053 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5055 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5056 SC_HIGHGPRS offset definition.
5057 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5058 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5060 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5062 * Versions.def: Add GLIBC_2.19 for libpthread.
5063 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5064 siglongjmp for libpthread with GLIBC_2.19 symver.
5065 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5066 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5067 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5068 * sysdeps/s390/__longjmp.c: New file.
5069 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5070 * sysdeps/s390/longjmp.c: New file.
5071 * sysdeps/s390/setjmp.S: New file.
5072 * sysdeps/s390/sigjmp.S: New file.
5073 * sysdeps/s390/v1-longjmp.c: New file.
5074 * sysdeps/s390/v1-setjmp.h: New file.
5075 * sysdeps/s390/v1-sigjmp.c: New file.
5076 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5077 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5079 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5080 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5081 versioned symbols for ____longjmp_chk.
5082 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5092 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5093 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5094 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5095 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5096 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5097 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5098 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5099 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5100 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5101 * sysdeps/s390/rtld-__longjmp.c: New file.
5102 * sysdeps/s390/rtld-setjmp.S: New file.
5104 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5107 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5108 Return -__logl (x) for small positive arguments without evaluating
5111 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5113 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5115 (__ptrace_peeksiginfo_args): ... this.
5116 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5117 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5118 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5120 2014-01-06 Allan McRae <allan@archlinux.org>
5122 * inet/netinet/in.h: Fix typo in comment.
5124 2014-01-05 Andreas Jaeger <aj@suse.de>
5126 * sysdeps/i386/fpu/libm-test-ulps: Update.
5128 2014-01-05 Allan McRae <allan@archlinux.org>
5130 * po/libc.pot: Regenerated.
5132 * malloc/memusagestat.c: Fix gettext call formatting.
5134 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5136 * nscd/nscd.c: Improve usage() output.
5138 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5140 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5141 * sysdeps/unix/sysv/linux/configure: Regenerated.
5142 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5143 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5145 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5148 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5149 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5151 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5153 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5154 extra tokens at end of #undef directive.
5155 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5156 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5157 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5159 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5161 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5163 * math/auto-libm-test-in: Mark various tests with
5164 xfail-rounding:ldbl-128ibm.
5165 * math/auto-libm-test-out: Regenerated.
5167 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5170 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5171 numbers with subnormal high part when calculating exponent.
5174 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5178 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5180 (__ieee754_acoshl): Use __log1pl not __log1p.
5182 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5184 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5185 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5186 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5187 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5188 Convert to GNU style.
5189 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5190 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5191 memalign_check, __malloc_set_state): Likewise.
5192 * malloc/mallocbug.c (main): Likewise.
5193 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5194 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5195 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5196 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5197 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5198 * malloc/malloc.h: Likewise.
5199 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5200 memalignhook, reallochook, mabort): Likewise.
5201 * malloc/mcheck.h: Likewise.
5202 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5203 mmap64, mremap, munmap, dest): Likewise.
5204 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5205 * malloc/morecore.c (__default_morecore): Likewise.
5206 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5207 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5208 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5209 print_and_abort): Likewise.
5210 * malloc/obstack.h: Likewise.
5211 * malloc/set-freeres.c (__libc_freeres): Likewise.
5212 * malloc/tst-mallocstate.c (main): Likewise.
5213 * malloc/tst-mtrace.c (main): Likewise.
5214 * malloc/tst-realloc.c (do_test): Likewise.
5216 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5219 * nscd/netgroupcache.c (do_notfound): New function.
5220 (addgetnetgrentX): Use it.
5223 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5224 NSS_STATUS_NOTFOUND.
5226 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5228 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5231 2014-01-01 Allan McRae <allan@archlinux.org>
5233 * scripts/update-copyrights: Update configure input file suffix.
5235 * NEWS: Update copyright year.
5236 * catgets/gencat.c: Likewise.
5237 * csu/version.c: Likewise.
5238 * debug/catchsegv.sh: Likewise.
5239 * debug/pcprofiledump.c: Likewise.
5240 * debug/xtrace.sh: Likewise.
5241 * elf/ldconfig.c: Likewise.
5242 * elf/ldd.bash.in: Likewise.
5243 * elf/pldd.c: Likewise.
5244 * elf/sotruss.ksh: Likewise.
5245 * elf/sprof.c: Likewise.
5246 * iconv/iconv_prog.c: Likewise.
5247 * iconv/iconvconfig.c: Likewise.
5248 * locale/programs/locale.c: Likewise.
5249 * locale/programs/localedef.c: Likewise.
5250 * login/programs/pt_chown.c: Likewise.
5251 * malloc/memusage.sh: Likewise.
5252 * malloc/memusagestat.c: Likewise.
5253 * malloc/mtrace.pl: Likewise.
5254 * manual/libc.texinfo: Likewise.
5255 * nscd/nscd.c: Likewise.
5256 * nss/getent.c: Likewise.
5257 * nss/makedb.c: Likewise.
5258 * posix/getconf.c: Likewise.
5259 * scripts/test-installation.pl: Likewise.
5261 * All files with FSF copyright notices: Update copyright dates
5262 using scripts/update-copyrights.
5263 * intl/plural.c: Regenerated.
5264 * locale/programs/charmap-kw.h: Likewise.
5265 * locale/programs/locfile-kw.h: Likewise.
5267 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5269 * sysdeps/unix/sysv/linux/configure: Regenerated.
5270 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5271 the linux/fanotify.h header.
5272 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5273 HAVE_LINUX_FANOTIFY_H is defined.
5275 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5277 * benchtests/cos-inputs: New inputs.
5278 * benchtests/sin-inputs: Likewise.
5280 * benchtests/atan-inputs: New inputs. Fix name of multiple
5281 precision fallback inputs.
5283 * benchtests/atanh-inputs: New inputs.
5284 * benchtests/tanh-inputs: Likewise.
5286 * benchtests/acosh-inputs: New inputs.
5287 * benchtests/asinh-inputs: Likewise.
5289 * benchtests/cosh-inputs: New inputs.
5290 * benchtests/sinh-inputs: Likewise.
5292 * benchtests/acos-inputs: Add more inputs.
5293 * benchtests/asin-inputs: Likewise.
5295 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5298 * manual/arith.texi: Fix spelling.
5299 * manual/charset.texi: Likewise.
5300 * manual/errno.texi: Likewise.
5301 * manual/filesys.texi: Likewise.
5302 * manual/lang.texi: Likewise.
5303 * manual/llio.texi: Likewise.
5304 * manual/locale.texi: Likewise.
5305 * manual/message.texi: Likewise.
5306 * manual/resource.texi: Likewise.
5307 * manual/search.texi: Likewise.
5308 * manual/setjmp.texi: Likewise.
5309 * manual/stdio.texi: Likewise.
5310 * manual/string.texi: Likewise.
5311 * manual/sysinfo.texi: Likewise.
5312 * manual/time.texi: Likewise.
5314 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5316 * po/sl.po: New file.
5318 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5320 * .gitignore: Add core/.gdbinit/.gdb_history.
5322 2013-12-27 Allan McRae <allan@archlinux.org>
5325 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5326 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5328 2013-12-24 Brooks Moses <bmoses@google.com>
5330 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5331 all compilers that claim C++98 compliance, not just GCC.
5332 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5335 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5337 * NEWS: Restore accidentally deleted bug-fix entries.
5339 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5340 Ondřej Bílka <neleai@seznam.cz>
5343 * malloc/malloc.c (_int_free): Perform sanity check only if we
5346 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5349 * manual/stdio.texi (String Input Conversions): Clarify that character
5350 classes are not supported.
5352 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5356 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5359 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5360 Calculate results for small negative arguments directly rather
5361 than using reflection formula with special underflow handling.
5363 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5364 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5365 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5366 (fchflags): Likewise.
5368 (setlogin): Likewise.
5369 (sigaltstack): Likewise.
5372 (sigsetmask): Likewise.
5374 (waitpid): Likewise.
5375 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5376 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5378 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5379 * sysdeps/unix/bsd/Makefile: ... here.
5380 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5381 * sysdeps/unix/bsd/Versions: ... here.
5382 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5383 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5384 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5385 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5386 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5387 * sysdeps/unix/bsd/sigblock.c: ... here.
5388 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5389 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5390 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5391 * sysdeps/unix/bsd/sigvec.c: ... here.
5392 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5393 * sysdeps/unix/bsd/tcdrain.c: ... here.
5394 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5395 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5396 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5397 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5398 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5399 * sysdeps/unix/bsd/wait.c: ... here.
5400 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5401 * sysdeps/unix/bsd/wait3.c: ... here.
5402 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5403 * sysdeps/unix/bsd/waitpid.c: ... here.
5405 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5408 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5409 round-to-nearest for [!USE_AS_EXPM1L].
5410 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5411 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5412 more tests of exp and exp10. Expect some exp10 tests to miss
5413 exceptions or fail in directed rounding modes.
5414 * math/auto-libm-test-out: Regenerated.
5415 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5416 (exp10_test_tonearest): New function.
5417 (exp10_towardzero_test_data): New array.
5418 (exp10_test_towardzero): New function.
5419 (exp10_downward_test_data): New array.
5420 (exp10_test_downward): New function.
5421 (exp10_upward_test_data): New array.
5422 (exp10_test_upward): New function.
5423 (main): Call the new functions.
5424 * sysdeps/i386/fpu/libm-test-ulps: Update.
5425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5427 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5429 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5430 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5431 * math/auto-libm-test-out: Regenerated.
5432 * math/libm-test.inc (acosh_test_data): Add more tests.
5433 (atanh_test_data): Likewise.
5434 (ceil_test_data): Likewise.
5435 (copysign_test_data): Likewise.
5436 * sysdeps/i386/fpu/libm-test-ulps: Update.
5437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5439 * timezone/checktab.awk: Update from tzcode 2013i.
5440 * timezone/private.h: Likewise.
5441 * timezone/scheck.c: Likewise.
5442 * timezone/tzfile.h: Likewise.
5443 * timezone/tzselect.ksh: Likewise.
5444 * timezone/zdump.c: Likewise.
5445 * timezone/zic.c: Likewise.
5447 * math/auto-libm-test-in: Add tests of cpow.
5448 * math/auto-libm-test-out: Regenerated.
5449 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5450 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5452 (func_calc_desc): Add mpc_cc_c union field.
5453 (test_functions): Add cpow.
5454 (special_fill_2pi): New function.
5455 (special_real_inputs): Add 2pi.
5456 (calc_generic_results): Handle mpc_cc_c.
5457 * sysdeps/i386/fpu/libm-test-ulps: Update.
5458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5460 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5461 csqrt, ctan and ctanh.
5462 * math/auto-libm-test-out: Regenerated.
5463 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5464 (TEST_COND_x86): Likewise.
5465 (ccos_test_data): Use AUTO_TESTS_c_c.
5466 (ccosh_test_data): Likewise.
5467 (cexp_test_data): Likewise.
5468 (clog_test_data): Likewise.
5469 (csqrt_test_data): Likewise.
5470 (ctan_test_data): Likewise.
5471 (ctan_tonearest_test_data): Likewise.
5472 (ctan_towardzero_test_data): Likewise.
5473 (ctan_downward_test_data): Likewise.
5474 (ctan_upward_test_data): Likewise.
5475 (ctanh_test_data): Likewise.
5476 (ctanh_tonearest_test_data): Likewise.
5477 (ctanh_towardzero_test_data): Likewise.
5478 (ctanh_downward_test_data): Likewise.
5479 (ctanh_upward_test_data): Likewise.
5480 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5482 (func_calc_desc): Add mpc_c_c union field.
5483 (FUNC_mpc_c_c): New macro.
5484 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5485 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5487 (special_fill_min_subnorm_p120): New function.
5488 (special_real_inputs): Add min_subnorm_p120.
5489 (calc_generic_results): Handle mpc_c_c.
5490 * sysdeps/i386/fpu/libm-test-ulps: Update.
5491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5493 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5495 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5496 do_sin_slow): New functions.
5497 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5498 cslow2, csloww1, csloww2): Use the new functions.
5500 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5501 Use M to change sign of result instead of X. Assume X is
5503 (csloww1): Likewise.
5507 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5512 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5514 (sloww1): Don't adjust sign of DX.
5515 (csloww1): Likewise.
5516 (sloww2): Use X directly and don't adjust sign of DX.
5517 (csloww2): Likewise.
5519 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5521 * math/auto-libm-test-in: Add tests of cabs and carg.
5522 * math/auto-libm-test-out: Regenerated.
5523 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5524 (carg_test_data): Likewise.
5525 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5527 (func_calc_desc): Add mpc_c_f union field.
5528 (test_functions): Add cabs and carg.
5529 (calc_generic_results): Handle mpc_c_f.
5531 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5532 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5533 as a macro and a compat symbol.
5534 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5535 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5536 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5537 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5538 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5539 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5541 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5543 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5545 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5547 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5549 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5551 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5552 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5555 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5559 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5561 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5562 trailing whitespace removed.
5563 * scripts/config.guess: Update to version 2013-11-29.
5564 * scripts/config.sub: Update to version 2013-10-01.
5566 * math/auto-libm-test-in: Add tests of sincos.
5567 * math/auto-libm-test-out: Regenerated.
5568 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5569 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5571 (func_calc_desc): Add mpfr_f_11 union field.
5572 (test_functions): Add sincos.
5573 (calc_generic_results): Handle mpfr_f_11.
5574 * sysdeps/i386/fpu/libm-test-ulps: Update.
5575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5577 2013-12-19 Andreas Schwab <schwab@suse.de>
5579 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5581 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5582 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5583 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5585 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5587 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5588 * sysdeps/i386/fpu/libm-test-ulps: Update.
5589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5592 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5593 round-to-nearest mode when using frndint.
5594 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5595 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5596 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5598 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5600 * math/auto-libm-test-out: Regenerated.
5601 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5602 (TEST_COND_x86): Likewise.
5603 (expm1_tonearest_test_data): New array.
5604 (expm1_test_tonearest): New function.
5605 (expm1_towardzero_test_data): New array.
5606 (expm1_test_towardzero): New function.
5607 (expm1_downward_test_data): New array.
5608 (expm1_test_downward): New function.
5609 (expm1_upward_test_data): New array.
5610 (expm1_test_upward): New function.
5611 (main): Run the new test functions.
5612 * sysdeps/i386/fpu/libm-test-ulps: Update.
5613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5615 * include/features.h: Update comment documenting feature test
5616 macros. Mention _DEFAULT_SOURCE in comment.
5617 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5618 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5619 _BSD_SOURCE and _SVID_SOURCE.
5620 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5621 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5622 !_SVID_SOURCE]: Likewise.
5623 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5624 (__USE_POSIX_IMPLICITLY): Define.
5625 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5626 (_POSIX_SOURCE): Undefine and redefine.
5627 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5628 (_POSIX_C_SOURCE): Likewise.
5629 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5630 (Feature Test Macros): Update documentation of default features.
5632 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5634 * benchtests/Makefile: Add bench-strtok.
5635 * benchtests/bench-strtok.c: New file: strtok benchtest.
5637 2013-12-19 Allan McRae <allan@archlinux.org>
5639 * manual/install.texi: Suppress menu for plain text output.
5640 * INSTALL: Regenerated.
5642 2013-12-18 Brooks Moses <bmoses@google.com>
5645 * misc/getauxval.c: Include errno.h.
5646 (__getauxval): Set errno to ENOENT if the requested type is not
5648 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5649 don't declare with __attribute_const__.
5650 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5651 * manual/startup.texi: Document that getauxval sets errno.
5653 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5655 * math/auto-libm-test-in: Add tests of jn and yn.
5656 * math/auto-libm-test-out: Regenerated.
5657 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5658 (yn_test_data): Likewise.
5659 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5661 (func_calc_desc): Add mpfr_if_f union field.
5662 (FUNC_mpfr_if_f): New macro.
5663 (test_functions): Add jn and yn.
5664 (calc_generic_results): Assert type of second input for
5665 mpfr_ff_f. Handle mpfr_if_f.
5666 (output_for_one_input_case): Disable all checking for arguments
5667 fitting floating-point types in case of an integer argument.
5668 * sysdeps/i386/fpu/libm-test-ulps: Update.
5669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5672 Don't expect fegetround reference in libm.so.
5674 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5676 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5677 $(config-cflags-nofma).
5679 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5681 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5682 * math/auto-libm-test-out: Regenerated.
5685 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5686 to determine exponent and adjust argument to have exponent of -1.
5687 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5689 * math/auto-libm-test-out: Regenerated.
5690 * sysdeps/i386/fpu/libm-test-ulps: Update.
5691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5693 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5695 * manual/probes.texi: Remove cases when per-thread arenas are
5698 2013-12-18 Andreas Schwab <schwab@suse.de>
5700 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5701 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5702 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5703 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5704 * sysdeps/i386/i686/multiarch/Makefile: Update.
5705 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5707 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5709 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5710 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5712 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5715 Support TZ transition times < 00:00:00.
5716 This is needed for version-3 tz-format files; it supports time
5717 stamps past 2037 for America/Godthab (the only entry in the tz
5718 database for which this change is relevant).
5719 * manual/time.texi (TZ Variable): Document transition times
5720 from -167:59:59 through -00:00:01.
5721 * time/tzset.c (tz_rule): Time of day is now signed.
5722 (__tzset_parse_tz): Parse negative time of day.
5724 Document TZ transition times >= 25:00:00.
5725 * manual/time.texi (TZ Variable): Document transition times from
5726 25:00:00 through 167:59:59. These are already supported, and this
5727 support will help with version-3 tz-format files.
5729 * manual/time.texi (TZ Variable): Modernize North America example
5730 to reflect current (i.e., 2007-and-later) daylight saving rules.
5732 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5734 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5736 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5737 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5738 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5739 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5740 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5741 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5742 * sysdeps/unix/bsd/clock.c: Likewise.
5743 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5744 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5745 * sysdeps/unix/bsd/init-posix.c: Likewise.
5746 * sysdeps/unix/bsd/poll.c: Likewise.
5747 * sysdeps/unix/bsd/ptsname.c: Likewise.
5748 * sysdeps/unix/bsd/seekdir.c: Likewise.
5749 * sysdeps/unix/bsd/setegid.c: Likewise.
5750 * sysdeps/unix/bsd/seteuid.c: Likewise.
5751 * sysdeps/unix/bsd/setgid.c: Likewise.
5752 * sysdeps/unix/bsd/setrgid.c: Likewise.
5753 * sysdeps/unix/bsd/setruid.c: Likewise.
5754 * sysdeps/unix/bsd/setsid.c: Likewise.
5755 * sysdeps/unix/bsd/setuid.c: Likewise.
5756 * sysdeps/unix/bsd/sigaction.c: Likewise.
5757 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5758 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5759 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5760 * sysdeps/unix/bsd/telldir.c: Likewise.
5761 * sysdeps/unix/bsd/times.c: Likewise.
5762 * sysdeps/unix/bsd/usleep.c: Likewise.
5764 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5765 ($(objpfx)libbsd-compat.a): Remove rule.
5767 * include/features.h (__FAVOR_BSD): Do not define.
5768 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5769 features conflicting with POSIX.
5770 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5771 (_BSD_SOURCE): Remove description of not being a subset of other
5772 feature test macros.
5773 * manual/job.texi (getpgrp): Do not document BSD version.
5774 (getpgid): Do not document by reference to BSD getpgrp.
5775 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5776 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5777 * signal/signal.h [__FAVOR_BSD]: Likewise.
5778 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5779 instead of making contents conditional on [__FAVOR_BSD].
5780 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5782 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5786 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5789 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5790 values below 2**-450, not 2**-500.
5791 * math/auto-libm-test-in: Don't allow spurious underflow from
5793 * math/auto-libm-test-out: Regenerated.
5797 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5798 values of ha and hb and sort them after adjusting subnormal
5800 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5802 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5803 values of ea and eb and sort them after adjusting subnormal
5805 * math/auto-libm-test-in: Do not expect some hypot tests of
5806 subnormals to fail. Add more hypot tests.
5807 * math/auto-libm-test-out: Regenerated.
5809 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5812 * sysdeps/sh/s_fma.c: New file.
5813 * sysdeps/sh/s_fmaf.c: New file.
5814 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5816 * sysdeps/sh/Implies: Add sh/soft-fp.
5818 2013-12-16 Roland McGrath <roland@hack.frob.com>
5820 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5821 level of indirection to members `objname', `errstring', `malloced'.
5822 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5823 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5824 it as the __longjmp argument (just pass 1 instead).
5825 (_dl_catch_error): Initialize C with argument pointers and address of
5826 volatile local ERRCODE rather than copying values out of C at return.
5828 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5830 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5831 * math/auto-libm-test-out: Regenerated.
5832 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5833 (hypot_test_data): Likewise.
5834 (pow_test_data): Likewise.
5835 (pow_tonearest_test_data): Likewise.
5836 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5838 (func_calc_desc): Add mpfr_ff_f union field.
5839 (FUNC_mpfr_ff_f): New macro.
5840 (test_functions): Add atan2, hypot and pow.
5841 (special_fill_min): New function.
5842 (special_fill_minus_min): Likewise.
5843 (special_fill_min_subnorm): Likewise.
5844 (special_fill_minus_min_subnorm): Likewise.
5845 (special_real_inputs): Add min, -min, min_subnorm and
5847 (calc_generic_results): Handle mpfr_ff_f.
5848 * sysdeps/i386/fpu/libm-test-ulps: Update.
5849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5851 2013-12-16 Will Newton <will.newton@linaro.org>
5853 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5854 (Aligned Memory Blocks): Add documentation for aligned_alloc
5855 and suggest it as an alternative to posix_memalign.
5856 (Hooks for Malloc): Document __memalign_hook is also called
5857 for aligned_alloc. (Summary of Malloc): Add summary for
5858 aligned alloc. Document __memalign_hook is also called
5861 2013-12-16 Will Newton <will.newton@linaro.org>
5863 * manual/memory.texi (Malloc Examples): Clarify default
5864 alignment documentation. Suggest posix_memalign rather
5865 than memalign or valloc.
5866 (Aligned Memory Blocks): Remove suggestion to use memalign
5867 or valloc. Remove obsolete comment about BSD.
5868 Document memalign errno values and mark the function obsolete.
5869 Document posix_memalign returned error codes. Mark valloc
5870 as obsolete. (Hooks for Malloc): __memalign_hook is also
5871 called for posix_memalign and valloc.
5872 (Summary of Malloc): Add posix_memalign to function summary.
5873 __memalign_hook is also called for posix_memalign and valloc.
5875 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5877 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5881 (sloww): Use mynumber union. Expand ternary operator into
5883 (cslow): use mynumber union.
5885 2013-12-16 Allan McRae <allan@archlinux.org>
5887 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5888 * configure: Regenerated.
5890 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5893 * configure.ac: Added --enable-maintainer-mode. Check for
5894 autoconf when enabled.
5895 * configure: Regenerated.
5897 * nscd/nscd.service: New file.
5898 * nscd/nscd.tmpfiles: New file.
5900 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
5903 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5904 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5905 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5906 (strstr): Add __strstr_sse2_unaligned ifunc.
5907 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5908 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5909 (strcasestr): Remove __strcasestr_sse42 ifunc.
5910 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5911 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5914 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5916 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5917 * sysdeps/sh/bits/fenv.h: ... here.
5918 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5920 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5922 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5924 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5926 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5927 hypotf multiarch implementations.
5928 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5929 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5930 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5931 multiarch hypot for PPC64.
5932 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5933 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5934 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5935 multiarch hypotf for PPC64.
5937 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5939 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5940 modff multiarch implementations.
5941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5944 multiarch modf for PPC64.
5945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5948 multiarch modff for PPC64.
5950 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5952 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5953 and logl multiarch implementations.
5954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5957 multiarch logb for PPC64.
5958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5961 multiarch logb for PPC64.
5962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5965 multiarch logb for PPC64.
5967 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5969 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5970 isinff multiarch implementation.
5971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5975 multiarch isinf for PPC64.
5976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5979 multiarch isinff for PPC64.
5981 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5983 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5984 finitef multiarch implementation.
5985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5989 multiarch finite for PPC64.
5990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5993 multiarch finitef for PPC64.
5995 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5997 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5998 lrint multiarch implementation.
5999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6003 multiarch llrint for PPC64.
6004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6005 multiarch lrint for PPC64.
6007 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6009 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6010 copysignf multiarch implementation.
6011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6016 multiarch copysign for PPC64.
6017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6018 multiarch copysignf for PPC64.
6020 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6022 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6023 multiarch implementation.
6024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6032 multiarch llround for PPC64.
6033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6034 multiarch trunc for PPC64.
6035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6036 multiarch truncf for PPC64.
6038 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6040 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6041 multiarch implementation.
6042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6050 multiarch llround for PPC64.
6051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6052 multiarch round for PPC64.
6053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6054 multiarch roundf for PPC64.
6056 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6059 multiarch implementation.
6060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6068 multiarch llround for PPC64.
6069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6070 multiarch floor for PPC64.
6071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6072 multiarch floorf for PPC64.
6074 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6076 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6077 multiarch implementation.
6078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6086 multiarch llround for PPC64.
6087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6088 multiarch ceil for PPC64.
6089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6090 multiarch ceilf for PPC64.
6092 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6095 multiarch implementation.
6096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6103 multiarch llround for PPC64.
6104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6105 multiarch lround for PPC64.
6107 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6109 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6110 multiarch implementation.
6111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6118 multiarch isnan for PPC64.
6119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6120 multiarch isnanf for PPC64.
6122 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6124 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6125 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6126 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6127 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6128 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6131 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6133 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6134 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6135 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6136 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6138 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6140 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6141 multiarch implementations.
6142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6143 (__libc_ifunc_impl_list): Likewise.
6144 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6145 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6146 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6147 multiarch stpcpy for PPC64.
6149 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6152 multiarch implementations.
6153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6154 (__libc_ifunc_impl_list): Likewise.
6155 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6156 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6157 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6158 multiarch strcpy for PPC64.
6160 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6162 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6163 redefine function name.
6164 (_wordcopy_fwd_dest_aligned): Likewise.
6165 (_wordcopy_bwd_aligned): Likewise.
6166 (_wordcopy_bwd_dest_aligned): Likewise.
6167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6168 multiarch implementations.
6169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6170 (__libc_ifunc_impl_list): Likewise.
6171 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6172 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6173 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6174 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6175 multiarch wcscpy for PPC64.
6177 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6179 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6180 multiarch implementations.
6181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6182 (__libc_ifunc_impl_list): Likewise.
6183 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6184 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6185 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6186 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6187 multiarch wcscpy for PPC64.
6189 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6192 multiarch implementations.
6193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6194 (__libc_ifunc_impl_list): Likewise.
6195 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6196 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6197 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6198 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6199 multiarch wcsrchr for PPC64.
6201 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6204 multiarch implementations.
6205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6206 (__libc_ifunc_impl_list): Likewise.
6207 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6208 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6209 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6210 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6211 multiarch wcschr for PPC64.
6213 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6215 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6216 multiarch implementations.
6217 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6218 (__libc_ifunc_impl_list): Likewise.
6219 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6220 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6221 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6222 multiarch strchrnul for PPC64.
6224 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6226 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6228 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6229 (__libc_ifunc_impl_list): Likewise.
6230 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6231 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6232 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6233 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6236 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6238 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6240 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6241 (__libc_ifunc_impl_list): Likewise.
6242 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6243 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6244 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6245 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6248 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6251 multiarch implementations.
6252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6253 (__libc_ifunc_impl_list): Likewise.
6254 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6255 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6256 strncasecmp for PPC64.
6257 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6258 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6259 multiarch strncasecmp_l for PPC64.
6261 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6264 multiarch implementations.
6265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6266 (__libc_ifunc_impl_list): Likewise.
6267 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6268 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6269 multiarch strcasecmp for PPC64.
6270 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6272 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6273 multiarch strcasecmp_l for PPC64.
6275 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6280 (__libc_ifunc_impl_list): Likewise.
6281 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6282 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6283 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6286 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6288 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6290 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6291 (__libc_ifunc_impl_list): Likewise.
6292 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6293 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6294 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6297 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6302 (__libc_ifunc_impl_list): Likewise.
6303 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6304 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6305 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6306 rawmemrchr for PPC64.
6308 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6313 (__libc_ifunc_impl_list): Likewise.
6314 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6315 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6316 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6319 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6324 (__libc_ifunc_impl_list): Likewise.
6325 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6326 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6327 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6330 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6335 (__libc_ifunc_impl_list): Likewise.
6336 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6337 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6338 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6341 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6343 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6344 avoid cretion of __bzero symbol.
6345 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6347 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6349 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6351 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6352 multiarch implementations.
6353 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6354 (__libc_ifunc_impl_list): Likewise.
6355 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6356 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6357 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6358 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6360 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6361 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6362 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6363 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6364 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6366 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6368 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6370 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6371 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6373 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6374 (__libc_ifunc_impl_list): Likewise.
6375 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6376 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6377 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6378 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6381 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6384 multiarch for POWER/PPC64.
6385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6386 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6387 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6388 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6389 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6390 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6391 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6392 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6393 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6396 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6398 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6399 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6400 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6401 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6402 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6403 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6404 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6405 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6406 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6407 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6408 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6409 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6410 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6411 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6412 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6421 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6423 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6425 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6427 * benchtests/Makefile (bench): Add exp2 and log2.
6428 (LDLIBS-bench-exp2): Add -lm.
6429 (LDLIBS-bench-log2): Likewise.
6430 * benchtests/exp2-inputs: New inputs file.
6431 * benchtests/log2-inputs: New inputs file.
6432 * benchtests/log-inputs: Add new inputs.
6433 * benchtests/tan-inputs: Likewise.
6435 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6437 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6439 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6440 csloww1, csloww2): ... from here.
6442 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6443 instead of structures.
6444 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6445 (POLYNOMIAL): Likewise.
6446 (TAYLOR_SLOW): Likewise.
6454 (bsloww1): Likewise.
6455 (bsloww2): Likewise.
6458 (csloww1): Likewise.
6459 (csloww2): Likewise.
6461 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6463 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6464 (__malloc_assert, __libc_realloc, __libc_calloc,
6465 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6467 * malloc/hooks.c (realloc_check): Likewise.
6469 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6471 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6472 * malloc/arena.c: Remove PER_THREAD conditional.
6473 [!PER_THREAD]: Remove code.
6474 (ptmalloc_unlock_all2): Likewise.
6475 (ptmalloc_init): Likewise.
6476 (_int_new_arena): Likewise.
6477 (arena_get2): Likewise.
6478 * malloc/hooks.c (__malloc_get_state): Likewise.
6479 (__malloc_set_state): Likewise.
6480 * malloc/malloc.c: Likewise.
6481 (struct malloc_state): Likewise.
6482 (struct malloc_par): Likewise.
6483 (__libc_realloc): Likewise.
6484 (__libc_mallopt): Likewise.
6486 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6488 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6490 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6492 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6493 macro to a function. Check for zero perturb_byte.
6494 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6496 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6498 * malloc/malloc.c: (force_reg): Remove.
6499 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6500 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6501 force_reg by atomic_forced_read.
6502 * malloc/arena.c (ptmalloc_init): Likewise.
6503 * malloc/hooks.c (top_check): Likewise.
6505 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6509 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6513 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6515 * math/auto-libm-test-in: Add tests of lgamma.
6516 * math/auto-libm-test-out: Regenerated.
6517 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6518 (M_LOG_2_SQRT_PIl): Likewise.
6519 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6520 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6522 (func_calc_desc): Add mpfr_f_f1 union field.
6531 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6532 (test_functions): Add lgamma.
6533 (calc_generic_results): Handle mpfr_f_f1.
6534 * sysdeps/i386/fpu/libm-test-ulps: Update.
6535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6537 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6539 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6540 __mpn_add_n for PowerPC64/POWER7.
6541 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6542 __mpn_sub_n for PowerPC64/POWER7.
6544 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6546 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6547 __mpn_addmul_1 for PowerPC64.
6548 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6549 __mpn_submul_1 for PowerPC64.
6550 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6552 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6555 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6558 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6560 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6562 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6564 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6566 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6567 add multiarch folders.
6568 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6569 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6570 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6571 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6572 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6573 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6574 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6575 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6576 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6577 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6578 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6586 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6589 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6595 multiarch __ieee754_hypot for PowerPC32.
6596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6601 multiarch __ieee754_hypotf for PowerPC32.
6603 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6605 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6606 long_double_symbol only if __logbl is defined.
6607 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6608 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6609 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6610 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6611 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6612 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6613 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6614 path for implementation.
6615 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6616 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6618 logb, and logbl multiarch implementations for PowerPC32.
6619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6624 multiarch logb for PowerPC32.
6625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6630 multiarch logbf for PowerPC32.
6631 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6635 multiarch logbl implementation for PowerPC32.
6637 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6640 and modff multiarch implementations.
6641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6646 multiarch modf for PowerPC32.
6647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6652 multiarch modff for PowerPC32.
6654 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6657 and lrintf multiarch implementations.
6658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6663 multiarch lrint for PowerPC32.
6664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6665 file: multiarch lrintf for PowerPC32.
6667 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6670 and lroundf multiarch implementations.
6671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6678 multiarch lround for PowerPC32.
6679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6680 file: multiarch lroundf for PowerPC32.
6682 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6685 copysign and copysignf multiarch implementations.
6686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6691 file: multiarch copysign for PowerPC32.
6692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6693 file: multiarch copysignf for PowerPC32.
6695 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6698 and truncf multiarch implementations.
6699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6704 multiarch trunc for PowerPC32.
6705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6710 multiarch truncf for PowerPC32.
6712 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6715 and roundf multiarch implementations.
6716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6721 multiarch round for PowerPC32.
6722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6727 multiarch roundf for PowerPC32.
6729 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6732 and floorf multiarch implementations.
6733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6738 multiarch floor for PowerPC32.
6739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6744 multiarch floorf for PowerPC32.
6746 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6749 and ceilf multiarch implementations.
6750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6755 multiarch ceil for PowerPC32.
6756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6761 multiarch ceilf for PowerPC32.
6763 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6765 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6767 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6770 and finitef multiarch implementations.
6771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6776 multiarch finite for PowerPC32.
6777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6780 file: multiarch finitef for PowerPC32.
6782 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6785 and isinff multiarch implementations.
6786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6791 multiarch isinf for PowerPC32.
6792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6795 multiarch isinff for PowerPC32.
6797 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6799 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6800 alias when __isnan is defined.
6801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6802 and isnanf multiarch implementations.
6803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6812 multiarch isnan for PowerPC32.
6813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6818 multiarch isnanf for PowerPC32.
6820 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6823 and sqrtf multiarch implementations.
6824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6829 multiarch sqrt for PowerPC32.
6830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6835 multiarch sqrtf for PowerPC32.
6837 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6840 and llroundf multiarch implementations.
6841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6848 file: multiarch llround for PowerPC32.
6849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6850 file: multiarch llroundf for PowerPC32.
6852 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6855 multiarch PowerPC32 fpu implementations.
6856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6861 multiarch llrint for PowerPC32.
6862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6869 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6873 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6875 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6877 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6879 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6881 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6882 multiarch wordcopy for PPC32.
6883 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6885 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6886 (__libc_ifunc_impl_list): Likewise.
6887 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6888 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6889 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6890 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6891 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6892 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6894 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6896 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6897 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6899 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6901 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6903 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6904 multiarch wcscpy for PPC32.
6905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6908 (__libc_ifunc_impl_list): Likewise.
6909 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6910 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6911 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6912 sysdeps/powerpc/power6/wcscpy.c.
6914 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6916 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6917 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6919 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6921 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6923 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6924 multiarch wcsrchr for PPC32.
6925 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6927 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6928 (__libc_ifunc_impl_list): Likewise.
6929 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6930 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6931 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6932 sysdeps/powerpc/power6/wcsrchr.c.
6934 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6936 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6938 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6940 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6941 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6942 multiarch wcschr for PPc32.
6943 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6945 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6946 (__libc_ifunc_impl_list): Likewise.
6947 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6948 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6949 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6950 sysdeps/powerpc/power6/wcschr.c.
6952 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6954 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6955 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6957 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6958 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6959 file: multiarch strchr for PPC32.
6960 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6962 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6963 (__libc_ifunc_impl_list): Likewise.
6965 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6967 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6969 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6971 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6973 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6974 multiarch strchrnul for PPC32.
6975 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6977 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6978 (__libc_ifunc_impl_list): Likewise.
6980 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6982 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6984 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6985 multiarch strncasecmp for PPC32.
6986 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6988 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6989 multiarch strncasecmp_l for PPC32.
6990 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6991 strncasecmp multiarch objects.
6992 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6993 (__libc_ifunc_impl_list): Likewise.
6995 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6997 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6999 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7000 multiarch strncasecmp for PPC32.
7001 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7003 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7004 multiarch strcasecmp_l for PPC32.
7005 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7007 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7008 (__libc_ifunc_impl_list): Likewise.
7010 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7012 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7014 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7016 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7017 multiarch strncmp for PPC32.
7018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7021 (__libc_ifunc_impl_list): Likewise.
7023 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7025 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7026 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7028 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7029 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7030 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7032 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7033 (__libc_ifunc_impl_list): Likewise.
7035 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7037 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7039 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7041 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7042 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7044 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7045 (__libc_ifunc_impl_list): Likewise.
7047 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7049 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7051 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7053 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7054 multiarch rawmemchr for PPC32.
7055 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7058 (__libc_ifunc_impl_list): Likewise.
7060 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7062 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7064 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7066 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7067 file: memrchr multiarch for PPC32.
7068 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7070 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7071 (__libc_ifunc_impl_list): Likewise.
7073 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7075 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7076 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7078 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7079 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7080 multiarch memchr for PPC32.
7081 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7083 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7084 (__libc_ifunc_impl_list): Likewise.
7086 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7088 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7089 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7091 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7093 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7094 file: multiarch mempcpy for PPC32.
7095 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7097 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7098 (__libc_ifunc_impl_list): Likewise.
7100 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7102 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7103 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7104 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7105 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7106 multiarch bzero for PPC32.
7107 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7109 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7111 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7112 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7113 file: multiarch memset for PPC32.
7114 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7116 memset multiarch objects.
7117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7118 (__libc_ifunc_impl_list): Likewise.
7120 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7122 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7124 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7125 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7127 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7128 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7130 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7131 (__libc_ifunc_impl_list): Likewise.
7133 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7135 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7136 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7137 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7139 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7141 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7143 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7144 multiarch memcpy for PPC32.
7145 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7147 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7148 (__libc_ifunc_impl_list): Likewise.
7150 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7152 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7153 support multiarch for POWER/PPC32.
7154 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7156 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7158 Implies file to make multiarch folder appers before the fpu and
7159 default folder for power4 configuration.
7161 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7163 * scripts/bench.pl: Append volatile keyword to type.
7165 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7167 * sysdeps/sh/sotruss-lib.c: New file.
7168 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7170 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7174 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7177 * math/w_tgamma.c: Include <errno.h>.
7178 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7179 * math/w_tgammaf.c: Include <errno.h>.
7180 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7181 * math/w_tgammal.c: Include <errno.h>.
7182 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7183 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7184 underflow. Add more tgamma tests.
7185 * math/auto-libm-test-out: Regenerated.
7186 * sysdeps/i386/fpu/libm-test-ulps: Update.
7187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7189 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7190 sin, sinh, tan, tanh, tgamma, y0 and y1.
7191 * math/auto-libm-test-out: Regenerated.
7192 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7193 (TEST_COND_x86): Likewise.
7194 (M_E2l): Remove macro.
7196 (M_2_SQRT_PIl): Likewise.
7197 (M_SQRT_PIl): Likewise.
7198 (M_1_DIV_El): Likewise.
7199 (log_test_data): Use AUTO_TESTS_f_f.
7200 (log10_test_data): Likewise.
7201 (log1p_test_data): Likewise.
7202 (log2_test_data): Likewise.
7203 (sin_test_data): Likewise.
7204 (sin_tonearest_test_data): Likewise.
7205 (sin_towardzero_test_data): Likewise.
7206 (sin_downward_test_data): Likewise.
7207 (sin_upward_test_data): Likewise.
7208 (sinh_test_data): Likewise.
7209 (sinh_tonearest_test_data): Likewise.
7210 (sinh_towardzero_test_data): Likewise.
7211 (sinh_downward_test_data): Likewise.
7212 (sinh_upward_test_data): Likewise.
7213 (tan_test_data): Likewise.
7214 (tan_tonearest_test_data): Likewise.
7215 (tan_towardzero_test_data): Likewise.
7216 (tan_downward_test_data): Likewise.
7217 (tan_upward_test_data): Likewise.
7218 (tanh_test_data): Likewise.
7219 (tgamma_test_data): Likewise.
7220 (y0_test_data): Likewise.
7221 (y1_test_data): Likewise.
7222 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7223 (special_real_inputs): Add pi/4.
7224 * sysdeps/i386/fpu/libm-test-ulps: Update.
7225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7227 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7229 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7230 "longjmp_target" static probes.
7231 (__longjmp): Rename to __longjmp_symbol.
7232 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7233 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7234 on which longjmp to generate.
7235 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7236 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7238 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7239 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7240 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7241 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7242 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7243 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7245 __longjmp_symbol based on which __longjmp to generate.
7246 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7248 (setjmp): Rename to setjmp_symbol.
7249 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7250 (_setjmp): Rename to _setjmp_symbol.
7251 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7252 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7253 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7254 which setjmp to generate.
7255 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7256 "longjmp_target" static probes.
7258 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7260 * benchtests/README: Add note about output arguments.
7261 * benchtests/bench-sincos.c: Remove file.
7262 * benchtests/sincos-inputs: New file.
7263 * scripts/bench.pl: Identify output arguments and define
7264 static variables for them.
7266 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7269 * Makefile (INSTALL): Add install-plain.texi as the primary
7271 * manual/install-plain.texi: New file.
7272 * manual/install.texi: Include node directive only for
7273 non-plaintext output.
7275 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7277 * stdlib/longlong.h: Update from GCC.
7281 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7282 * math/w_j0f.c (y0f): Likewise.
7283 * math/w_j0l.c (__y0l): Likewise.
7284 * math/w_j1.c (y1): Likewise.
7285 * math/w_j1f.c (y1f): Likewise.
7286 * math/w_j1l.c (__y1l): Likewise
7287 * math/w_jn.c (yn): Likewise.
7288 * math/w_jnf.c (ynf): Likewise.
7289 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7290 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7291 value for Bessel function domain errors outside _SVID_ mode.
7292 Adjust sign of return value for yn (negative integer, 0).
7293 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7294 by zero in return for negative x and set sign appropriately for
7296 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7297 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7298 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7299 expectations in error cases.
7300 (y1_test_data): Likewise.
7301 (yn_test_data): Likewise.
7302 * sysdeps/i386/fpu/libm-test-ulps: Update.
7303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7305 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7307 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7308 "64" to "64-v1". Add "64-v2".
7309 (abi-64-options): Rename to ...
7310 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7311 (abi-64-condition): Rename to ...
7312 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7313 (abi-64-ld-soname): Rename to ...
7314 (abi-64-v1-ld-soname): ... this.
7315 (abi-64-v2-options): Define.
7316 (abi-64-v2-condition): Likewise.
7317 (abi-64-v2-ld-soname): Likewise.
7318 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7319 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7324 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7325 Alan Modra <amodra@gmail.com>
7327 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7328 New versions for use with the ELFv2 ABI.
7329 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7330 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7332 (struct La_ppc64v2_retval): Likewise.
7333 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7334 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7335 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7336 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7337 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7338 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7339 Do not save or restore CR.
7340 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7341 (_dl_profile_resolve): Do no save or restore CR. Support extended
7342 return values for ELFv2 ABI. Fix location of FPR return registers.
7343 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7344 updated values for _CALL_ELF == 2.
7345 (La_regs, La_retval, int_retval): Likewise.
7347 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7349 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7350 (FRAME_MIN_SIZE_PARM): Likewise.
7351 (FRAME_BACKCHAIN): Likewise.
7352 (FRAME_CR_SAVE): Likewise.
7353 (FRAME_LR_SAVE): Likewise.
7354 (FRAME_TOC_SAVE): Likewise.
7355 (FRAME_PARM_SAVE): Likewise.
7356 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7357 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7358 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7359 (call_mcount_parm_offset): New macro.
7360 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7361 (PROF): Use symbolic stack frame offsets.
7362 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7363 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7364 Redefine in terms of FRAME_MIN_SIZE.
7365 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7366 (_dl_profile_resolve): Likewise. Update comment.
7367 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7368 symbols stack frame offsets.
7369 (__sigsetjmp): Likewise.
7370 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7371 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7372 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7373 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7376 (FRAME_BACKCHAIN): Remove.
7377 (FRAME_CR_SAVE): Likewise.
7378 (FRAME_LR_SAVE): Likewise.
7379 (FRAME_COMPILER_DW): Likewise.
7380 (FRAME_LINKER_DW): Likewise.
7381 (FRAME_TOC_SAVE): Likewise.
7382 (FRAME_PARM_SAVE): Likewise.
7383 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7384 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7385 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7387 (CHECK_SP): Use symbolic stack frame offsets.
7388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7389 zone" instead of caller's parameter save area for temp storage.
7390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7391 Likewise. Also, use symbolic stack frame offsets.
7392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7393 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7394 our own stack frame instead of the caller's.
7395 (__socket): Use symbolic stack frame offsets.
7397 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7398 Alan Modra <amodra@gmail.com>
7400 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7402 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7403 PPC64_LOCAL_ENTRY_OFFSET): Define.
7404 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7406 (elf_machine_fixup_plt): Call it.
7407 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7409 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7410 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7411 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7412 r2 before calling target.
7414 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7415 Alan Modra <amodra@gmail.com>
7417 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7418 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7419 versions of macros to support ELFv2 ABI.
7420 (LOCALENTRY): New macro.
7421 (ENTRY, EALIGN): Use it.
7422 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7423 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7424 fall through into ENTRY entry point.
7425 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7426 Only define if _CALL_ELF != 2.
7428 (elf_machine_matches_host): Verify ABI version matches.
7429 (RTLD_START): Use LOCALENTRY.
7430 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7431 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7432 (PLT_ENTRY_WORDS): New macro.
7433 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7434 (elf_machine_runtime_setup): Support ELFv2 ABI.
7435 (elf_machine_fixup_plt): Likewise.
7436 (elf_machine_plt_conflict): Likewise.
7437 (resolve_ifunc): Likewise.
7438 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7439 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7442 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7444 (makecontext): Support ELFv2 ABI.
7445 * elf/elf.h (EF_PPC64_ABI): Define.
7447 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7449 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7450 New assembler macro.
7451 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7452 [ASSEMBLER] (ENTRY): ... but instead here ...
7453 [ASSEMBLER] (EALIGN): ... and here.
7454 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7455 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7456 [!ASSEMBLER] (ENTRY_2): Use it.
7457 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7458 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7459 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7460 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7461 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7463 Use PPC64_LOAD_FUNCPTR.
7465 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7467 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7469 2013-12-04 Alan Modra <amodra@gmail.com>
7471 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7472 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7473 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7474 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7476 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7477 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7478 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7479 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7480 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7481 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7483 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7486 (__makecontext): Fix incorrect CFI when backtracing out of
7487 context created via makecontext.
7488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7489 (__setcontext): Fix incorrect CFI during switch to new context.
7490 (__novec_setcontext): Likewise.
7492 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7495 * time/strptime_l.c (__strptime_internal): Allow modifiers
7497 * time/tst-strptime.c (day_tests): Add testcase.
7500 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7502 * scripts/bench.pl: Skip over blank lines.
7504 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7507 * manual/time.texi (Calendar Time): Clarify what timezone functions
7510 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7514 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7516 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7518 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7519 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7520 * debug/memset_chk.c (__memset_chk): Likewise.
7521 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7522 * debug/strncpy_chk.c: Likewise.
7524 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7528 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7529 (__ieee754_exp): For possibly underflowing results, check size of
7530 result and force underflow exception if required.
7531 * math/auto-libm-test-in: Add more tests of exp.
7532 * math/auto-libm-test-out: Regenerated.
7533 * sysdeps/i386/fpu/libm-test-ulps: Update.
7534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7537 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7538 * math/w_exp2f.c (__exp2f): Likewise.
7539 * math/w_exp2l.c (__exp2l): Likewise.
7540 * math/auto-libm-test-in: Do not allow missing errno on exp2
7542 * math/auto-libm-test-out: Regenerated.
7544 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7547 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7548 handle filename validation.
7549 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7552 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7555 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7556 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7557 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7559 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7560 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7561 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7562 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7563 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7564 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7565 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7566 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7567 Add more erfc tests.
7568 * math/auto-libm-test-out: Regenerated.
7569 * sysdeps/i386/fpu/libm-test-ulps: Update.
7570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7572 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7573 exp2, expm1, j0 and j1.
7574 * math/auto-libm-test-out: Regenerated.
7575 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7576 (erfc_test_data): Likewise.
7577 (exp_test_data): Likewise.
7578 (exp_tonearest_test_data): Likewise.
7579 (exp_towardzero_test_data): Likewise.
7580 (exp_downward_test_data): Likewise.
7581 (exp_upward_test_data): Likewise.
7582 (exp10_test_data): Likewise.
7583 (exp2_test_data): Likewise.
7584 (expm1_test_data): Likewise.
7585 (j0_test_data): Likewise.
7586 (j1_test_data): Likewise.
7587 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7588 (input_flag_type): Add flag_xfail_rounding.
7589 (input_flags): Add xfail-rounding.
7590 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7591 (output_for_one_input_case): Handle flag_xfail_rounding.
7592 * sysdeps/i386/fpu/libm-test-ulps: Update.
7593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7595 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7598 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7601 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7604 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7605 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7606 (STAP_PROBE0): New macro.
7607 (STAP_PROBE1): Likewise.
7608 (STAP_PROBE2): Likewise.
7609 (STAP_PROBE3): Likewise.
7610 (STAP_PROBE4): Likewise.
7612 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7614 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7616 2013-12-02 Steve Ellcey <sellcey@mips.com>
7618 * benchtests/Makefile (bench): Add sqrt.
7619 (LDLIBS-bench-sqrt): New.
7620 * benchtests/sqrt-input: New.
7622 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7624 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7625 (GAIH_EAI): Likewise.
7626 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7627 (gaih_inet): Likewise.
7628 (getaddrinfo): Don't use GAIH_EAI.
7630 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7631 (struct gaih): Remove definition.
7633 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7635 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7636 Use HERRNOP directly.
7638 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7642 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7644 * math/gen-auto-libm-tests.c (test_functions): Add more
7645 single-argument functions.
7646 (special_fill_pi_2): New function.
7647 (special_fill_minus_pi_2): Likewise.
7648 (special_fill_pi_6): Likewise.
7649 (special_fill_minus_pi_6): Likewise.
7650 (special_fill_pi_3): Likewise.
7651 (special_fill_2pi_3): Likewise.
7652 (special_fill_e): Likewise.
7653 (special_fill_1_e): Likewise.
7654 (special_fill_e_minus_1): Likewise.
7655 (special_real_inputs): Add more special inputs.
7656 (output_for_one_input_case): Do not require ERANGE on underflow to
7657 zero if round-to-nearest result does not underflow to zero, unless
7658 exact results required.
7659 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7660 atan, atanh, cbrt, cos and cosh.
7661 * math/auto-libm-test-out: Regenerated.
7662 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7663 (acos_tonearest_test_data): Likewise.
7664 (acos_towardzero_test_data): Likewise.
7665 (acos_downward_test_data): Likewise.
7666 (acos_upward_test_data): Likewise.
7667 (acosh_test_data): Likewise.
7668 (asin_test_data): Likewise.
7669 (asin_tonearest_test_data): Likewise.
7670 (asin_towardzero_test_data): Likewise.
7671 (asin_upward_test_data): Likewise.
7672 (asinh_test_data): Likewise.
7673 (atan_test_data): Likewise.
7674 (atanh_test_data): Likewise.
7675 (cbrt_test_data): Likewise.
7676 (cos_test_data): Likewise.
7677 (cos_tonearest_test_data): Likewise.
7678 (cos_towardzero_test_data): Likewise.
7679 (cos_downward_test_data): Likewise.
7680 (cos_upward_test_data): Likewise.
7681 (cosh_test_data): Likewise.
7682 (cosh_tonearest_test_data): Likewise.
7683 (cosh_towardzero_test_data): Likewise.
7684 (cosh_downward_test_data): Likewise.
7685 (cosh_upward_test_data): Likewise.
7686 * sysdeps/i386/fpu/libm-test-ulps: Update.
7687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7689 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7692 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7693 * math/w_exp10f.c (__exp10f): Likewise.
7694 * math/w_exp10l.c (__exp10l): Likewise.
7695 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7696 errno settings in existing tests.
7699 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7700 precision control set to double precision.
7701 * sysdeps/i386/fpu/w_sqrt.c: New file.
7702 * math/auto-libm-test-in: Add more tests.
7703 * math/auto-libm-test-out: Update.
7705 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7706 (sqrt_test_tonearest): New function.
7707 (sqrt_towardzero_test_data): New variable.
7708 (sqrt_test_towardzero): New function.
7709 (sqrt_downward_test_data): New variable.
7710 (sqrt_test_downward): New function.
7711 (sqrt_upward_test_data): New variable.
7712 (sqrt_test_upward): New function.
7713 (main): Call the new functions.
7715 * math/gen-auto-libm-tests.c: New file.
7716 * math/auto-libm-test-in: Likewise.
7717 * math/auto-libm-test-out: New generated file.
7718 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7720 (%beautify): Add generated representations of zero.
7721 (top level): Set $auto_input and call parse_auto_input.
7722 (beautify): Remove trailing "f" from hex float constants.
7723 (parse_args): Handle XFAIL_TEST.
7724 (convert_condition): New function.
7725 (or_value): Likewise.
7726 (or_cond_value): Likewise.
7727 (generate_testfile): Handle AUTO_TESTS_* lines.
7728 (parse_auto_input): New function.
7729 * math/libm-test.inc (XFAIL_TEST): New macro.
7730 (ERRNO_UNCHANGED): Update value.
7731 (ERRNO_EDOM): Likewise.
7732 (ERRNO_ERANGE): Likewise.
7733 (IGNORE_RESULT): Likewise.
7734 (TEST_COND_flt_32): New macro.
7735 (TEST_COND_dbl_64): Likewise.
7736 (TEST_COND_ldbl_96_intel): Likewise.
7737 (TEST_COND_ldbl_96_m68k): Likewise.
7738 (TEST_COND_ldbl_128): Likewise.
7739 (TEST_COND_ldbl_128ibm): Likewise.
7740 (TEST_COND_long32): Likewise.
7741 (TEST_COND_long64): Likewise.
7742 (TEST_COND_before_rounding): Likewise.
7743 (TEST_COND_after_rounding): Likewise.
7744 (enable_test): Handle XFAIL_TEST flag.
7745 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7746 with finite results.
7747 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7750 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7751 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7754 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7755 __tls_get_addr_internal instead of __tls_get_offset in order to
7756 avoid GOT pointer dependency. Make rtld export
7757 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7758 __tls_get_addr since we are a __tls_get_offset platform.
7759 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7760 GOT pointer being set up before.
7761 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7763 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7765 * manual/math.texi (Errors in Math Functions): Document accuracy
7769 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7770 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7771 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7772 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7773 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7774 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7775 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7776 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7777 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7778 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7779 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7780 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7781 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7782 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7783 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7784 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7786 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7787 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7788 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7789 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7790 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7792 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7794 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7796 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7797 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7798 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7799 atomic-feupdateenv and flt-rounds.
7800 * sysdeps/powerpc/nofpu/Versions (libc): Add
7801 __atomic_feholdexcept, __atomic_feclearexcept,
7802 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7803 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7804 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7805 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7806 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7811 * manual/arith.texi (FP Exceptions): Document that exceptions may
7812 not be raised when matherr is used.
7813 (Math Error Reporting): Document overflow in directed rounding
7814 modes. Document that errno may not be set when finite values are
7815 returned on overflow. Document intent to set errno on underflow
7816 only for underflow to zero.
7819 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7820 round-to-nearest then adjust result for other rounding modes.
7821 * include/fenv.h (fegetround): Use libm_hidden_proto.
7822 * math/fegetround.c (fegetround): Use libm_hidden_def.
7823 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7824 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7825 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7826 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7828 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7829 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7830 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7831 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7833 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7836 * nss/Versions (libnss_files): Add
7837 _nss_files_gethostbyname3_r.
7838 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7840 (HOST_DB_LOOKUP): Remove macro.
7841 (_nss_files_gethostbyname_r): Implement function without the
7842 HOST_DB_LOOKUP macro.
7843 (_nss_files_gethostbyname2_r): Likewise.
7845 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7847 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7849 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7851 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7852 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7855 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7857 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7858 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7859 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7860 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7861 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7862 __fe_nomask_env_priv and attribute_hidden.
7863 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7864 (libc_feupdateenv_test_ppc): Likewise.
7865 (libc_feresetround_ppc): Likewise.
7866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7867 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7868 compat_symbol macro.
7869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7870 (__fe_nomask_env): Likewise.
7871 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7873 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7875 * string/Makefile: Remove ifunc tests.
7876 * string/test-string.h: Define TEST_IFUNC.
7877 * string/test-bcopy-ifunc.c: Remove.
7878 * string/test-bzero-ifunc.c: Likewise.
7879 * string/test-memccpy-ifunc.c: Likewise.
7880 * string/test-memchr-ifunc.c: Likewise.
7881 * string/test-memcmp-ifunc.c: Likewise.
7882 * string/test-memcpy-ifunc.c: Likewise.
7883 * string/test-memmem-ifunc.c: Likewise.
7884 * string/test-memmove-ifunc.c: Likewise.
7885 * string/test-mempcpy-ifunc.c: Likewise.
7886 * string/test-memrchr-ifunc.c: Likewise.
7887 * string/test-memset-ifunc.c: Likewise.
7888 * string/test-rawmemchr-ifunc.c: Likewise.
7889 * string/test-stpcpy-ifunc.c: Likewise.
7890 * string/test-stpncpy-ifunc.c: Likewise.
7891 * string/test-strcasecmp-ifunc.c: Likewise.
7892 * string/test-strcasestr-ifunc.c: Likewise.
7893 * string/test-strcat-ifunc.c: Likewise.
7894 * string/test-strchr-ifunc.c: Likewise.
7895 * string/test-strchrnul-ifunc.c: Likewise.
7896 * string/test-strcmp-ifunc.c: Likewise.
7897 * string/test-strcpy-ifunc.c: Likewise.
7898 * string/test-strcspn-ifunc.c: Likewise.
7899 * string/test-strlen-ifunc.c: Likewise.
7900 * string/test-strncasecmp-ifunc.c: Likewise.
7901 * string/test-strncat-ifunc.c: Likewise.
7902 * string/test-strncmp-ifunc.c: Likewise.
7903 * string/test-strncpy-ifunc.c: Likewise.
7904 * string/test-strnlen-ifunc.c: Likewise.
7905 * string/test-strpbrk-ifunc.c: Likewise.
7906 * string/test-strrchr-ifunc.c: Likewise.
7907 * string/test-strspn-ifunc.c: Likewise.
7908 * string/test-strstr-ifunc.c: Likewise.
7910 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7912 * benchtests/Makefile: Remove ifunc tests.
7913 * benchtests/bench-string.h: Define TEST_IFUNC.
7914 * benchtests/bench-bcopy-ifunc.c: Remove.
7915 * benchtests/bench-bzero-ifunc.c: Likewise.
7916 * benchtests/bench-memccpy-ifunc.c: Likewise.
7917 * benchtests/bench-memchr-ifunc.c: Likewise.
7918 * benchtests/bench-memcmp-ifunc.c: Likewise.
7919 * benchtests/bench-memcpy-ifunc.c: Likewise.
7920 * benchtests/bench-memmem-ifunc.c: Likewise.
7921 * benchtests/bench-memmove-ifunc.c: Likewise.
7922 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7923 * benchtests/bench-memrchr-ifunc.c: Likewise.
7924 * benchtests/bench-memset-ifunc.c: Likewise.
7925 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7926 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7927 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7928 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7929 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7930 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7931 * benchtests/bench-strcat-ifunc.c: Likewise.
7932 * benchtests/bench-strchr-ifunc.c: Likewise.
7933 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7934 * benchtests/bench-strcmp-ifunc.c: Likewise.
7935 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7936 * benchtests/bench-strcpy-ifunc.c: Likewise.
7937 * benchtests/bench-strcspn-ifunc.c: Likewise.
7938 * benchtests/bench-strlen-ifunc.c: Likewise.
7939 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7940 * benchtests/bench-strncat-ifunc.c: Likewise.
7941 * benchtests/bench-strncmp-ifunc.c: Likewise.
7942 * benchtests/bench-strncpy-ifunc.c: Likewise.
7943 * benchtests/bench-strnlen-ifunc.c: Likewise.
7944 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7945 * benchtests/bench-strrchr-ifunc.c: Likewise.
7946 * benchtests/bench-strsep-ifunc.c: Likewise.
7947 * benchtests/bench-strspn-ifunc.c: Likewise.
7948 * benchtests/bench-strstr-ifunc.c: Likewise.
7950 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7952 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7954 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7956 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7957 * rt/aio.h: Likewise.
7958 * sysdeps/gnu/bits/utmp.h: Likewise.
7959 * sysdeps/gnu/bits/utmpx.h: Likewise.
7960 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7961 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7962 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7963 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7964 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7965 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7966 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7967 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7968 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7969 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7970 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7971 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7972 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7974 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7975 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7976 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7977 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7978 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7979 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7980 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7981 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7982 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7983 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7984 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7985 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7986 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7987 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7988 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7989 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7990 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7991 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7992 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7993 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7994 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7995 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7996 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7997 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7998 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7999 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8000 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8001 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8003 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8006 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8007 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8009 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8011 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8012 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8015 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8017 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8018 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8019 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8020 (__fesetround): Remove define.
8021 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8022 rounding and exceptions handling.
8023 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8024 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8025 (__fe_nomask_env): Likewise.
8026 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8027 __fegetround instead of fegetround.
8028 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8029 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8031 2013-11-21 Roland McGrath <roland@hack.frob.com>
8033 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8036 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8038 2013-11-21 Meador Inge <meadori@codesourcery.com>
8041 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8042 (encrypt_r): Likewise.
8043 * malloc/obstack.h (obstack_free): Likewise.
8044 * posix/unistd.h (encrypt): Likewise.
8046 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8048 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8049 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8050 DL_CALL_DT_FINI() that call the functions directly.
8051 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8052 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8053 * elf/dl-fini.c: Likewise.
8055 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8057 * malloc/hooks.c (memalign_check): Add alignment rounding.
8058 * malloc/malloc.c (_mid_memalign): New function.
8059 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8060 Implement by calling _mid_memalign.
8061 * manual/probes.texi (Memory Allocation Probes): Remove
8062 memory_valloc_retry and memory_pvalloc_retry.
8064 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8066 * locale/programs/locarchive.c (open_archive): Add const
8067 qualifier to ARCHIVEFNAME and copy default fname to
8071 * libio/tst-widetext.input: Rename Oriya to Odia.
8072 * locale/iso-639.def: Likewise.
8074 * manual/probes.texi (Mathematical Function Probes): Add
8075 documentation for sin, cos, asin and acos probes.
8076 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8077 (__sin32): Add slowasin probe.
8078 (__cos32): Add slowacos probe.
8079 (__mpsin): Add slowsin probe.
8080 (__mpcos): Add slowcos probe.
8082 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8085 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8086 thread-local __sim_exceptions_thread and global
8087 __sim_exceptions_global.
8088 (__sim_disabled_exceptions): Change to thread-local
8089 __sim_disabled_exceptions_thread and global
8090 __sim_disabled_exceptions_global.
8091 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8092 and global __sim_round_mode_global.
8093 (__simulate_exceptions): Use thread-local floating-point state and
8094 set global state from it as needed.
8095 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8096 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8097 __sim_round_mode_thread.
8098 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8099 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8100 and global __sim_exceptions_global.
8101 (__sim_disabled_exceptions): Change to thread-local
8102 __sim_disabled_exceptions_thread and global
8103 __sim_disabled_exceptions_global.
8104 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8105 and global __sim_round_mode_global.
8106 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8107 (SIM_SET_GLOBAL): Likewise.
8108 * sysdeps/powerpc/soft-fp/sfp-machine.h
8109 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8110 __sim_round_mode_thread.
8111 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8112 __sim_disabled_exceptions_thread.
8113 (__sim_exceptions): Change to __sim_exceptions_thread.
8114 (__sim_disabled_exceptions): Change to
8115 __sim_disabled_exceptions_thread.
8116 (__sim_round_mode): Change to __sim_round_mode_thread.
8117 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8118 thread-local floating-point state and set global state from it as
8120 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8121 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8122 (__sim_disabled_exceptions): Remove extern declaration.
8123 (feenableexcept): Use thread-local floating-point state and set
8124 global state from it as needed.
8125 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8127 (__sim_disabled_exceptions): Likewise.
8128 (__sim_round_mode): Likewise.
8129 (__fegetenv): Use thread-local floating-point state.
8130 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8131 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8132 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8133 floating-point state and set global state from it as needed.
8134 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8135 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8136 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8138 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8139 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8141 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8142 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8143 Use __sim_round_mode_thread.
8144 * math/test-fenv-tls.c: New file.
8145 * math/Makefile (tests): Add test-fenv-tls.
8146 ($(objpfx)test-fenv-tls): Depend on
8147 $(common-objpfx)nptl/libpthread.so.
8149 2013-11-19 Andreas Schwab <schwab@suse.de>
8151 * locale/programs/locale.c (show_info): Decode wordarray elements.
8152 * locale/categories.def (LC_MONETARY): Add element for
8153 _NL_MONETARY_CRNCYSTR.
8154 * locale/C-monetary.c (conversion_rate): New variable.
8155 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8158 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8160 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8161 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8163 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8165 * elf/Makefile (tst-auxv): New test.
8166 * elf/tst-auxv.c: New
8167 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8169 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8171 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8172 (hidden_proto): Caller changed.
8173 (hidden_tls_proto): New macro.
8174 (libc_hidden_tls_proto): Likewise.
8175 (rtld_hidden_tls_proto): Likewise.
8176 (libm_hidden_tls_proto): Likewise.
8177 (libresolv_hidden_tls_proto): Likewise.
8178 (librt_hidden_tls_proto): Likewise.
8179 (libdl_hidden_tls_proto): Likewise.
8180 (libnss_files_hidden_tls_proto): Likewise.
8181 (libnsl_hidden_tls_proto): Likewise.
8182 (libnss_nisplus_hidden_tls_proto): Likewise.
8183 (libutil_hidden_tls_proto): Likewise.
8185 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8188 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8189 (decompose_rpath): Defer expansion to fillin_rpath.
8190 (_dl_init_paths): Pass linkmap to fillin_rpath.
8192 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8194 * benchtests/Makefile: Add strsep.
8195 * benchtests/bench-strsep.c: New file: strsep benchtest.
8196 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8198 2013-11-18 Andreas Schwab <schwab@suse.de>
8200 * locale/programs/locale.c (show_info) [case byte]: Check for
8201 '\377' instead of '\177'.
8202 * locale/C-monetary.c (not_available): Always use "\377".
8203 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8204 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8205 detect unavailable sign_posn locale elements.
8206 * locale/localeconv.c (__localeconv): For grouping and
8207 mon_grouping handle "\177" and "\377" like no grouping.
8208 (INT_ELEM): New macro. Use it to set all numeric members.
8209 * locale/programs/ld-monetary.c (monetary_read)
8210 <tok_mon_grouping>: Normalize single -1 to the empty string.
8211 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8214 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8217 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8218 when we match (nil).
8219 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8221 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8223 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8224 (NO_TEST_INLINE): Update value.
8225 (ERRNO_UNCHANGED): Likewise.
8226 (ERRNO_EDOM): Likewise.
8227 (ERRNO_ERANGE): Likewise.
8228 (IGNORE_RESULT): Likewise.
8229 (check_float_internal): Check signs of NaN results if
8231 (check_complex): Pass TEST_NAN_SIGN flag through to second
8232 check_float_internal call.
8233 (copysign_test_data): Add tests with quiet NaNs as second
8234 argument. Use TEST_NAN_SIGN.
8235 (fabs_test_data): Add test of negative quiet NaN argument. Use
8237 (signbit_test_data): Add tests of quiet NaN argument.
8238 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8240 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8242 (parse_args): Handle function results specified as IGNORE.
8243 * math/libm-test.inc (IGNORE_RESULT): New macro.
8244 (check_float_internal): Do not check numerical result if flag
8246 (check_complex): Pass through IGNORE_RESULT to second
8247 check_float_internal call.
8248 (check_int): Do not check numerical result if flag IGNORE_RESULT
8250 (check_long): Likewise.
8251 (check_bool): Likewise.
8252 (check_longlong): Likewise.
8253 (lrint_test_data): Add tests of infinite and NaN arguments.
8254 (lrint_tonearest_test_data): Likewise.
8255 (lrint_towardzero_test_data): Likewise.
8256 (lrint_downward_test_data): Likewise.
8257 (lrint_upward_test_data): Likewise.
8258 (llrint_test_data): Likewise.
8259 (llrint_tonearest_test_data): Likewise.
8260 (llrint_towardzero_test_data): Likewise.
8261 (llrint_downward_test_data): Likewise.
8262 (llrint_upward_test_data): Likewise.
8263 (lround_test_data): Likewise.
8264 (llround_test_data): Likewise.
8266 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8267 (ERRNO_UNCHANGED): Update value.
8268 (ERRNO_EDOM): Likewise.
8269 (ERRNO_ERANGE): Likewise.
8270 (NO_TEST_INLINE_FLOAT): New macro.
8271 (NO_TEST_INLINE_DOUBLE): Likewise.
8272 (enable_test): New function.
8273 (RUN_TEST_f_f): Check enable_test before running test.
8274 (RUN_TEST_2_f): Likewise.
8275 (RUN_TEST_fff_f): Likewise.
8276 (RUN_TEST_c_f): Likewise.
8277 (RUN_TEST_f_f1): Likewise.
8278 (RUN_TEST_fF_f1): Likewise.
8279 (RUN_TEST_fI_f1): Likewise.
8280 (RUN_TEST_ffI_f1): Likewise.
8281 (RUN_TEST_c_c): Likewise.
8282 (RUN_TEST_cc_c): Likewise.
8283 (RUN_TEST_f_i): Likewise.
8284 (RUN_TEST_f_i_tg): Likewise.
8285 (RUN_TEST_ff_i_tg): Likewise.
8286 (RUN_TEST_f_b): Likewise.
8287 (RUN_TEST_f_b_tg): Likewise.
8288 (RUN_TEST_f_l): Likewise.
8289 (RUN_TEST_f_L): Likewise.
8290 (RUN_TEST_fFF_11): Likewise.
8291 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8293 (cosh_test_data): Likewise.
8294 (exp_test_data): Likewise.
8295 (expm1_test_data): Likewise.
8296 (hypot_test_data): Likewise.
8297 (pow_test_data): Likewise.
8298 (sinh_test_data): Likewise.
8299 (tanh_test_data): Likewise.
8300 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8303 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8304 tests with quiet NaN input and output.
8305 (acosh_test_data): Likewise.
8306 (asin_test_data): Likewise.
8307 (asinh_test_data): Likewise.
8308 (atan_test_data): Likewise.
8309 (atanh_test_data): Likewise.
8310 (atan2_test_data): Likewise.
8311 (cbrt_test_data): Likewise.
8312 (cos_test_data): Likewise.
8313 (cosh_test_data): Likewise.
8314 (erf_test_data): Likewise.
8315 (erfc_test_data): Likewise.
8316 (exp_test_data): Likewise.
8317 (exp10_test_data): Likewise.
8318 (exp2_test_data): Likewise.
8319 (expm1_test_data): Likewise.
8320 (hypot_test_data): Likewise.
8321 (j0_test_data): Likewise.
8322 (j1_test_data): Likewise.
8323 (jn_test_data): Likewise.
8324 (lgamma_test_data): Likewise.
8325 (log_test_data): Likewise.
8326 (log10_test_data): Likewise.
8327 (log1p_test_data): Likewise.
8328 (log2_test_data): Likewise.
8329 (pow_test_data): Likewise.
8330 (scalb_test_data): Likewise.
8331 (sin_test_data): Likewise.
8332 (sincos_test_data): Likewise.
8333 (sinh_test_data): Likewise.
8334 (tan_test_data): Likewise.
8335 (tanh_test_data): Likewise.
8336 (tgamma_test_data): Likewise.
8337 (y0_test_data): Likewise.
8338 (y1_test_data): Likewise.
8339 (yn_test_data): Likewise.
8342 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8343 argument being NaN and avoid computations with second argument in
8345 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8346 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8347 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8349 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8351 * locale/iso-639.def: Add Chitwani Tharu (the).
8353 2013-11-14 Andreas Schwab <schwab@suse.de>
8355 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8356 word instead of empty string.
8358 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8361 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8363 (__fe_nomask_env): Likewise.
8365 2013-11-13 Steve Ellcey <sellcey@mips.com>
8367 * benchtests/bench-timing.h: Include time.h.
8369 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8372 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8374 * sysdeps/unix/sysv/linux/configure: Regenerated.
8376 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8379 * stdlib/strtod_l.c (round_and_return): Do not consider
8380 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8381 exponent one less than half the least subnormal exponent.
8382 * stdlib/test-strtod-round-data: Add more tests.
8383 * stdlib/tst-strtod-round.c (tests): Regenerated.
8385 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8388 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8389 (__fe_mask_env): Likewise.
8390 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8391 libm_hidden_proto and add function prototype.
8392 (__fe_mask_env): Add function prototype.
8393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8394 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8396 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8398 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8400 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8402 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8403 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8405 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8407 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8408 of htab_find_slot().
8410 2013-11-11 David S. Miller <davem@davemloft.net>
8413 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8414 symbol in the non-vis3 case in static builds.
8415 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8416 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8417 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8418 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8420 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8423 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8426 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8428 * benchtests/Makefile: Add bench-strtod.
8429 * benchtests/bench-strtod.c: New file: strtod benchtest
8431 2013-11-11 Andreas Schwab <schwab@suse.de>
8434 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8435 terminating NUL in key length.
8437 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8439 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8440 Add artificial ODP entry for vDSO symbol for PPC64.
8441 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8442 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8444 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8447 * nss/getent.c (services_keys): Recognize services starting with digit.
8449 2013-11-06 David S. Miller <davem@davemloft.net>
8452 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8453 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8455 2013-11-06 Will Newton <will.newton@linaro.org>
8457 * manual/memory.texi (Malloc Examples): Remove register
8458 keyword from examples.
8460 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8462 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8464 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8467 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8468 depending on [__GCC_IEC_559 > 0].
8469 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8470 depending on [__GCC_IEC_559_COMPLEX > 0].
8472 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8474 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8477 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8479 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8481 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8484 * malloc/malloc (malloc_info): Do not handle first bin as
8487 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8489 * locale/iso-639.def: Add Central Nahuatl (nhn).
8491 2013-11-01 Bruno Haible <bruno@clisp.org>
8494 * manual/math.texi (BSD Random): Specify range upper bound as
8497 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8499 * locale/iso-639.def: Add Meadow Mari (mhr).
8501 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8503 [BZ #14752], [BZ #15763]
8504 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8506 * rt/tst_shm.c: Add test for escaping directory.
8508 2013-10-31 Andreas Schwab <schwab@suse.de>
8511 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8512 followed by 'x' as part of digit sequence.
8513 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8515 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8518 * configure.ac: allow GNU Make 4.0 and greater.
8519 * configure: Regenerated.
8521 2013-10-30 Will Newton <will.newton@linaro.org>
8524 * malloc/hooks.c (memalign_check): Limit alignment to the
8525 maximum representable power of two.
8526 * malloc/malloc.c (__libc_memalign): Likewise.
8527 * malloc/tst-memalign.c (do_test): Add test for very
8528 large alignment values.
8529 * malloc/tst-posix_memalign.c (do_test): Likewise.
8531 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8534 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8535 (munmap_chunk): Likewise.
8536 (mremap_chunk): Likewise.
8538 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8541 * stdlib/div.c (div): Remove obsolete code.
8542 * stdlib/ldiv.c (ldiv): Likewise.
8543 * stdlib/lldiv.c (lldiv): Likewise.
8545 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8548 * nss/nss_files/files-XXX.c (get_contents_ret): New
8550 (get_contents): New function.
8551 (internal_getent): Use it. Expand size of LINEBUFLEN.
8553 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8555 * configure.in: Moved to ...
8556 * configure.ac: ... here. Change reference to configure.in
8558 * sysdeps/arm/preconfigure.ac: ... here.
8559 configure.in to configure.ac.
8560 * sysdeps/gnu/configure.in: Moved to ...
8561 * sysdeps/gnu/configure.ac: ... here.
8562 * sysdeps/i386/configure.in: Moved to ...
8563 * sysdeps/i386/configure.ac: ... here.
8564 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8565 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8566 * sysdeps/mach/configure.in: Moved to ...
8567 * sysdeps/mach/configure.ac: ... here.
8568 * sysdeps/mach/hurd/configure.in: Moved to ...
8569 * sysdeps/mach/hurd/configure.ac: ... here.
8570 * sysdeps/powerpc/configure.in: Moved to ...
8571 * sysdeps/powerpc/configure.ac: ... here.
8572 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8573 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8574 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8575 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8576 * sysdeps/s390/s390-32/configure.in: Moved to ...
8577 * sysdeps/s390/s390-32/configure.ac: ... here.
8578 * sysdeps/s390/s390-64/configure.in: Moved to ...
8579 * sysdeps/s390/s390-64/configure.ac: ... here.
8580 * sysdeps/sh/configure.in: Moved to ...
8581 * sysdeps/sh/configure.ac: ... here.
8582 * sysdeps/sparc/configure.in: Moved to ...
8583 * sysdeps/sparc/configure.ac: ... here.
8584 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8585 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8586 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8587 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8588 * sysdeps/x86_64/configure.in: Moved to ...
8589 * sysdeps/x86_64/configure.ac: ... here.
8590 * sysdeps/x86_64/preconfigure.in: Moved to ...
8591 * sysdeps/x86_64/preconfigure.ac: ... here.
8592 * aclocal.m4: Change reference to configure.in to configure.ac.
8593 * config.h.in: Likewise.
8594 * manual/install.texi: Likewise.
8595 * manual/maint.texi: Likewise.
8596 * Makefile: Likewise.
8597 * malloc/Makefile: Likewise.
8598 * nscd/Makefile: Likewise.
8599 * Makeconfig: Change reference to configure.in and
8600 preconfigure.in to configure.ac and preconfigure.ac
8602 * INSTALL: Regenerated.
8603 * configure: Likewise.
8604 * sysdeps/gnu/configure: Likewise.
8605 * sysdeps/i386/configure: Likewise.
8606 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8607 * sysdeps/mach/configure: Likewise.
8608 * sysdeps/mach/hurd/configure: Likewise.
8609 * sysdeps/powerpc/configure: Likewise.
8610 * sysdeps/powerpc/powerpc32/configure: Likewise.
8611 * sysdeps/powerpc/powerpc64/configure: Likewise.
8612 * sysdeps/s390/s390-32/configure: Likewise.
8613 * sysdeps/s390/s390-64/configure: Likewise.
8614 * sysdeps/sh/configure: Likewise.
8615 * sysdeps/sparc/configure: Likewise.
8616 * sysdeps/unix/sysv/linux/configure: Likewise.
8617 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8618 * sysdeps/x86_64/configure: Likewise.
8619 * sysdeps/x86_64/preconfigure: Likewise.
8621 2013-10-29 Andreas Schwab <schwab@suse.de>
8623 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8625 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8627 * benchtests/pow-inputs: Add new inputs.
8629 * benchtests/exp-inputs: Add new inputs.
8631 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8632 conditional check for return value.
8633 (__cos32): Likewise.
8635 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8637 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8638 to provide a boost for large inputs with word alignment.
8639 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8640 implementation based on optimized PPC64 strcpy.
8641 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8642 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8643 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8644 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8646 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8649 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8651 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8654 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8655 * time/tst-strptime.c (day_tests): Add testcase.
8657 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8660 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8662 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8665 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8666 MAP_FAILED on error.
8668 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8671 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8672 heap for large requests.
8674 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8677 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8678 result if the result has no associated interface.
8679 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8680 interface for all 127.X.Y.Z addresses.
8682 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8684 * locale/iso-639.def: Add Ligurian (lij)
8686 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8689 * sunrpc/rpc_main.c: Document rpcgen -5.
8691 2013-10-19 Michael Stahl <mstahl@redhat.com>
8693 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8695 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8698 * posix/glob.c: Match only directories when trailing slash is present.
8699 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8700 (main): Add testcase.
8702 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8705 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8707 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8709 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8710 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8711 AUTH_DES and cindex for FIPS 140-2.
8712 (DES Encryption): Add cindex FIPS 46-3.
8714 * locale/locarchive.h (struct locarhandle): Add fname.
8715 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8716 if an optional argument was specified to --list-archive,
8718 * locale/programs/locarchive.c (show_archive_content): Take new
8719 argument fname and pass it via ah.fname to open_archive.
8720 * locale/programs/localedef.h: Update decl.
8721 (open_archive): If AH->fname is non-null, open that file
8722 rather than the default file name, and don't ignore ENOENT.
8723 (create_archive): Set AH.fname to NULL.
8724 (delete_locales_from_archive): Likewise.
8725 (add_locales_to_archive): Likewise.
8726 * locale/programs/locfile.c (write_all_categories): Likewise.
8728 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8729 Aldy Hernandez <aldyh@redhat.com>
8731 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8732 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8733 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8734 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8735 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8736 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8737 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8738 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8739 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8740 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8741 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8742 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8743 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8744 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8745 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8747 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8749 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8751 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8753 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8754 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8756 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8757 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8758 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8759 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8761 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8762 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8763 * sysdeps/powerpc/preconfigure: Likewise.
8764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8766 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8767 Replace contents of file by #include of <fenv_libc.h>.
8768 * sysdeps/powerpc/soft-fp/sfp-machine.h
8769 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8771 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8772 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8773 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8774 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8775 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8776 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8777 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8778 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8779 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8780 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8781 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8782 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8784 Allow copysignl PLT reference to be missing.
8786 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8787 Joseph Myers <joseph@codesourcery.com
8790 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8792 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8794 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8796 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8797 * elf/tst-tls1.c: Likewise.
8798 * elf/tst-tls10.h: Likewise.
8799 * elf/tst-tls14.c: Likewise.
8800 * elf/tst-tls2.c: Likewise.
8801 * elf/tst-tls3.c: Likewise.
8802 * elf/tst-tls4.c: Likewise.
8803 * elf/tst-tls5.c: Likewise.
8804 * elf/tst-tls6.c: Likewise.
8805 * elf/tst-tls7.c: Likewise.
8806 * elf/tst-tls8.c: Likewise.
8807 * elf/tst-tls9.c: Likewise.
8808 * elf/tst-tlsmod1.c: Likewise.
8809 * elf/tst-tlsmod13.c: Likewise.
8810 * elf/tst-tlsmod13a.c: Likewise.
8811 * elf/tst-tlsmod14a.c: Likewise.
8812 * elf/tst-tlsmod16a.c: Likewise.
8813 * elf/tst-tlsmod16b.c: Likewise.
8814 * elf/tst-tlsmod2.c: Likewise.
8815 * elf/tst-tlsmod3.c: Likewise.
8816 * elf/tst-tlsmod4.c: Likewise.
8817 * elf/tst-tlsmod5.c: Likewise.
8818 * elf/tst-tlsmod6.c: Likewise.
8820 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8823 * malloc/malloc.c: remove checks for statistics.
8825 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8828 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8829 * inet/tst-network.c: Add testcase.
8831 2013-10-17 Andreas Schwab <schwab@suse.de>
8834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8835 to determine canonical name.
8837 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8839 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8840 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8841 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8843 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8844 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8847 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8849 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8850 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8851 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8853 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8854 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8858 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8859 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8860 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8861 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8863 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8864 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8865 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8869 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8872 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8873 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8874 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8875 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8876 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8877 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8891 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8892 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8893 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8894 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8895 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8898 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8901 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8902 make result into a quiet NaN.
8904 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8906 * soft-fp/adddf3.c: Fix horizontal whitespace.
8907 * soft-fp/addsf3.c: Likewise.
8908 * soft-fp/addtf3.c: Likewise.
8909 * soft-fp/divdf3.c: Likewise.
8910 * soft-fp/divsf3.c: Likewise.
8911 * soft-fp/divtf3.c: Likewise.
8912 * soft-fp/double.h: Likewise.
8913 * soft-fp/eqdf2.c: Likewise.
8914 * soft-fp/eqsf2.c: Likewise.
8915 * soft-fp/eqtf2.c: Likewise.
8916 * soft-fp/extenddftf2.c: Likewise.
8917 * soft-fp/extended.h: Likewise.
8918 * soft-fp/extendsfdf2.c: Likewise.
8919 * soft-fp/extendsftf2.c: Likewise.
8920 * soft-fp/extendxftf2.c: Likewise.
8921 * soft-fp/fixdfdi.c: Likewise.
8922 * soft-fp/fixdfsi.c: Likewise.
8923 * soft-fp/fixdfti.c: Likewise.
8924 * soft-fp/fixsfdi.c: Likewise.
8925 * soft-fp/fixsfsi.c: Likewise.
8926 * soft-fp/fixsfti.c: Likewise.
8927 * soft-fp/fixtfdi.c: Likewise.
8928 * soft-fp/fixtfsi.c: Likewise.
8929 * soft-fp/fixtfti.c: Likewise.
8930 * soft-fp/fixunsdfdi.c: Likewise.
8931 * soft-fp/fixunsdfsi.c: Likewise.
8932 * soft-fp/fixunsdfti.c: Likewise.
8933 * soft-fp/fixunssfdi.c: Likewise.
8934 * soft-fp/fixunssfsi.c: Likewise.
8935 * soft-fp/fixunssfti.c: Likewise.
8936 * soft-fp/fixunstfdi.c: Likewise.
8937 * soft-fp/fixunstfsi.c: Likewise.
8938 * soft-fp/fixunstfti.c: Likewise.
8939 * soft-fp/floatdidf.c: Likewise.
8940 * soft-fp/floatdisf.c: Likewise.
8941 * soft-fp/floatditf.c: Likewise.
8942 * soft-fp/floatsidf.c: Likewise.
8943 * soft-fp/floatsisf.c: Likewise.
8944 * soft-fp/floatsitf.c: Likewise.
8945 * soft-fp/floattidf.c: Likewise.
8946 * soft-fp/floattisf.c: Likewise.
8947 * soft-fp/floattitf.c: Likewise.
8948 * soft-fp/floatundidf.c: Likewise.
8949 * soft-fp/floatundisf.c: Likewise.
8950 * soft-fp/floatunditf.c: Likewise.
8951 * soft-fp/floatunsidf.c: Likewise.
8952 * soft-fp/floatunsisf.c: Likewise.
8953 * soft-fp/floatunsitf.c: Likewise.
8954 * soft-fp/floatuntidf.c: Likewise.
8955 * soft-fp/floatuntisf.c: Likewise.
8956 * soft-fp/floatuntitf.c: Likewise.
8957 * soft-fp/fmadf4.c: Likewise.
8958 * soft-fp/fmasf4.c: Likewise.
8959 * soft-fp/fmatf4.c: Likewise.
8960 * soft-fp/gedf2.c: Likewise.
8961 * soft-fp/gesf2.c: Likewise.
8962 * soft-fp/getf2.c: Likewise.
8963 * soft-fp/ledf2.c: Likewise.
8964 * soft-fp/lesf2.c: Likewise.
8965 * soft-fp/letf2.c: Likewise.
8966 * soft-fp/muldf3.c: Likewise.
8967 * soft-fp/mulsf3.c: Likewise.
8968 * soft-fp/multf3.c: Likewise.
8969 * soft-fp/negdf2.c: Likewise.
8970 * soft-fp/negsf2.c: Likewise.
8971 * soft-fp/negtf2.c: Likewise.
8972 * soft-fp/op-1.h: Likewise.
8973 * soft-fp/op-2.h: Likewise.
8974 * soft-fp/op-4.h: Likewise.
8975 * soft-fp/op-8.h: Likewise.
8976 * soft-fp/op-common.h: Likewise.
8977 * soft-fp/quad.h: Likewise.
8978 * soft-fp/single.h: Likewise.
8979 * soft-fp/soft-fp.h: Likewise.
8980 * soft-fp/sqrtdf2.c: Likewise.
8981 * soft-fp/sqrtsf2.c: Likewise.
8982 * soft-fp/sqrttf2.c: Likewise.
8983 * soft-fp/subdf3.c: Likewise.
8984 * soft-fp/subsf3.c: Likewise.
8985 * soft-fp/subtf3.c: Likewise.
8986 * soft-fp/truncdfsf2.c: Likewise.
8987 * soft-fp/trunctfdf2.c: Likewise.
8988 * soft-fp/trunctfsf2.c: Likewise.
8989 * soft-fp/trunctfxf2.c: Likewise.
8990 * soft-fp/unorddf2.c: Likewise.
8991 * soft-fp/unordsf2.c: Likewise.
8992 * soft-fp/unordtf2.c: Likewise.
8994 2013-10-15 Joseph Myers <joseph@codesourcery.com>
8996 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8997 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8999 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9001 * elf/dl-libc.c: Clear initfini list after freeing.
9003 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9005 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9006 * soft-fp/addsf3.c: Likewise.
9007 * soft-fp/addtf3.c: Likewise.
9008 * soft-fp/divdf3.c: Likewise.
9009 * soft-fp/divsf3.c: Likewise.
9010 * soft-fp/divtf3.c: Likewise.
9011 * soft-fp/double.h: Likewise.
9012 * soft-fp/eqdf2.c: Likewise.
9013 * soft-fp/eqsf2.c: Likewise.
9014 * soft-fp/eqtf2.c: Likewise.
9015 * soft-fp/extenddftf2.c: Likewise.
9016 * soft-fp/extended.h: Likewise.
9017 * soft-fp/extendsfdf2.c: Likewise.
9018 * soft-fp/extendsftf2.c: Likewise.
9019 * soft-fp/extendxftf2.c: Likewise.
9020 * soft-fp/fixdfdi.c: Likewise.
9021 * soft-fp/fixdfsi.c: Likewise.
9022 * soft-fp/fixdfti.c: Likewise.
9023 * soft-fp/fixsfdi.c: Likewise.
9024 * soft-fp/fixsfsi.c: Likewise.
9025 * soft-fp/fixsfti.c: Likewise.
9026 * soft-fp/fixtfdi.c: Likewise.
9027 * soft-fp/fixtfsi.c: Likewise.
9028 * soft-fp/fixtfti.c: Likewise.
9029 * soft-fp/fixunsdfdi.c: Likewise.
9030 * soft-fp/fixunsdfsi.c: Likewise.
9031 * soft-fp/fixunsdfti.c: Likewise.
9032 * soft-fp/fixunssfdi.c: Likewise.
9033 * soft-fp/fixunssfsi.c: Likewise.
9034 * soft-fp/fixunssfti.c: Likewise.
9035 * soft-fp/fixunstfdi.c: Likewise.
9036 * soft-fp/fixunstfsi.c: Likewise.
9037 * soft-fp/fixunstfti.c: Likewise.
9038 * soft-fp/floatdidf.c: Likewise.
9039 * soft-fp/floatdisf.c: Likewise.
9040 * soft-fp/floatditf.c: Likewise.
9041 * soft-fp/floatsidf.c: Likewise.
9042 * soft-fp/floatsisf.c: Likewise.
9043 * soft-fp/floatsitf.c: Likewise.
9044 * soft-fp/floattidf.c: Likewise.
9045 * soft-fp/floattisf.c: Likewise.
9046 * soft-fp/floattitf.c: Likewise.
9047 * soft-fp/floatundidf.c: Likewise.
9048 * soft-fp/floatundisf.c: Likewise.
9049 * soft-fp/floatunsidf.c: Likewise.
9050 * soft-fp/floatunsisf.c: Likewise.
9051 * soft-fp/floatuntidf.c: Likewise.
9052 * soft-fp/floatuntisf.c: Likewise.
9053 * soft-fp/floatuntitf.c: Likewise.
9054 * soft-fp/fmadf4.c: Likewise.
9055 * soft-fp/fmasf4.c: Likewise.
9056 * soft-fp/fmatf4.c: Likewise.
9057 * soft-fp/gedf2.c: Likewise.
9058 * soft-fp/gesf2.c: Likewise.
9059 * soft-fp/getf2.c: Likewise.
9060 * soft-fp/ledf2.c: Likewise.
9061 * soft-fp/lesf2.c: Likewise.
9062 * soft-fp/letf2.c: Likewise.
9063 * soft-fp/muldf3.c: Likewise.
9064 * soft-fp/mulsf3.c: Likewise.
9065 * soft-fp/multf3.c: Likewise.
9066 * soft-fp/negdf2.c: Likewise.
9067 * soft-fp/negsf2.c: Likewise.
9068 * soft-fp/negtf2.c: Likewise.
9069 * soft-fp/op-1.h: Likewise.
9070 * soft-fp/op-2.h: Likewise.
9071 * soft-fp/op-4.h: Likewise.
9072 * soft-fp/op-8.h: Likewise.
9073 * soft-fp/op-common.h: Likewise.
9074 * soft-fp/quad.h: Likewise.
9075 * soft-fp/single.h: Likewise.
9076 * soft-fp/soft-fp.h: Likewise.
9077 * soft-fp/sqrtdf2.c: Likewise.
9078 * soft-fp/sqrtsf2.c: Likewise.
9079 * soft-fp/sqrttf2.c: Likewise.
9080 * soft-fp/subdf3.c: Likewise.
9081 * soft-fp/subsf3.c: Likewise.
9082 * soft-fp/subtf3.c: Likewise.
9083 * soft-fp/truncdfsf2.c: Likewise.
9084 * soft-fp/trunctfdf2.c: Likewise.
9085 * soft-fp/trunctfsf2.c: Likewise.
9086 * soft-fp/trunctfxf2.c: Likewise.
9087 * soft-fp/unorddf2.c: Likewise.
9088 * soft-fp/unordsf2.c: Likewise.
9089 * soft-fp/unordtf2.c: Likewise.
9091 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9094 * misc/error.c (error_tail): Fix possible buffer overflow.
9096 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9099 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9102 2013-10-14 P. J. McDermott <pj@pehjota.net>
9105 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9106 testing pipefail option.
9108 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9110 * soft-fp/double.h: Indent preprocessor directives inside #if.
9111 * soft-fp/extended.h: Likewise.
9112 * soft-fp/op-2.h: Likewise.
9113 * soft-fp/op-4.h: Likewise.
9114 * soft-fp/op-common.h: Likewise.
9115 * soft-fp/quad.h: Likewise.
9116 * soft-fp/single.h: Likewise.
9117 * soft-fp/soft-fp.h: Likewise.
9119 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9121 * iconv/iconv_prog.c: Fix typos.
9122 * stdio-common/psiginfo-data.h: Likewise.
9124 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9127 * locale/setlocale.c: Fix typo.
9129 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9132 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9133 signaling NaN arguments.
9134 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9135 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9138 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9140 * soft-fp/gesf2.c (__gesf2): Likewise.
9141 * soft-fp/getf2.c (__getf2): Likewise.
9142 * soft-fp/ledf2.c (__ledf2): Likewise.
9143 * soft-fp/lesf2.c (__lesf2): Likewise.
9144 * soft-fp/letf2.c (__letf2): Likewise.
9146 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9147 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9148 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9149 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9150 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9151 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9152 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9153 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9154 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9155 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9156 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9157 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9158 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9159 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9160 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9161 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9162 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9163 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9164 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9165 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9166 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9167 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9168 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9169 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9170 * soft-fp/floattidf.c (__floattidf): Likewise.
9171 * soft-fp/floattisf.c (__floattisf): Likewise.
9172 * soft-fp/floattitf.c (__floattitf): Likewise.
9173 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9174 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9175 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9176 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9177 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9178 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9179 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9180 * soft-fp/gesf2.c (__gesf2): Likewise.
9181 * soft-fp/getf2.c (__getf2): Likewise.
9182 * soft-fp/ledf2.c (__ledf2): Likewise.
9183 * soft-fp/lesf2.c (__lesf2): Likewise.
9184 * soft-fp/letf2.c (__letf2): Likewise.
9186 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9187 Undefine and redefine.
9188 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9189 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9190 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9191 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9192 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9193 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9194 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9195 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9196 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9197 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9198 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9199 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9200 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9201 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9202 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9205 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9206 without decrementing exponent if mantissa >= that for the
9208 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9209 denominator, not >. Decrement exponent in < case instead of
9210 incrementing in >= case.
9211 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9212 without decrementing exponent if mantissa >= that for the
9215 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9216 computing saturated result for unsigned overflow.
9218 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9219 Jeff Law <law@redhat.com>
9221 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9222 (atan2Mp): Add systemtap probe marker.
9223 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9224 (__ieee754_log): Add systemtap probe marker.
9225 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9226 (atanMp): Add systemtap probe marker.
9227 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9228 (tanMp): Add systemtap probe marker.
9229 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9230 (__slowexp): Add systemtap probe marker.
9231 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9232 (__slowpow): Add systemtap probe marker.
9233 * manual/probes.texi: Document probes.
9235 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9238 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9240 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9242 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9243 written to buffer but not flushed.
9244 * libio/iofwrite_u.c: Likewise.
9245 * libio/iopadn.c: Return bytes returned even if EOF was
9247 * libio/iowpadn.c: Likewise.
9248 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9249 if _IO_padn does not write the whole buffer.
9250 [!COMPILE_WPRINTF] (PAD): Likewise.
9252 2013-10-10 David S. Miller <davem@davemloft.net>
9254 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9257 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9259 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9260 instead of FSF address.
9261 * soft-fp/fixdfti.c: Likewise.
9262 * soft-fp/fixsfti.c: Likewise.
9263 * soft-fp/fixtfti.c: Likewise.
9264 * soft-fp/fixunsdfti.c: Likewise.
9265 * soft-fp/fixunssfti.c: Likewise.
9266 * soft-fp/fixunstfti.c: Likewise.
9267 * soft-fp/floattidf.c: Likewise.
9268 * soft-fp/floattisf.c: Likewise.
9269 * soft-fp/floattitf.c: Likewise.
9270 * soft-fp/floatuntidf.c: Likewise.
9271 * soft-fp/floatuntisf.c: Likewise.
9272 * soft-fp/floatuntitf.c: Likewise.
9273 * soft-fp/trunctfxf2.c: Likewise.
9275 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9276 * soft-fp/fixdfti.c: Likewise.
9277 * soft-fp/fixsfti.c: Likewise.
9278 * soft-fp/fixtfti.c: Likewise.
9279 * soft-fp/fixunsdfti.c: Likewise.
9280 * soft-fp/fixunssfti.c: Likewise.
9281 * soft-fp/fixunstfti.c: Likewise.
9282 * soft-fp/floattidf.c: Likewise.
9283 * soft-fp/floattisf.c: Likewise.
9284 * soft-fp/floattitf.c: Likewise.
9285 * soft-fp/floatuntidf.c: Likewise.
9286 * soft-fp/floatuntisf.c: Likewise.
9287 * soft-fp/floatuntitf.c: Likewise.
9288 * soft-fp/trunctfxf2.c: Likewise.
9290 2013-10-10 David S. Miller <davem@davemloft.net>
9292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9294 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9296 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9297 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9298 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9299 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9300 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9301 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9302 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9304 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9305 for NaNs before doing comparisons on argument.
9306 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9309 2013-10-10 Will Newton <will.newton@linaro.org>
9311 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9312 passed to _int_memalign does not overflow.
9314 2013-10-10 Torvald Riegel <triegel@redhat.com>
9316 * scripts/bench.pl: Add include-sources directive.
9317 * benchtests/README: Update documentation.
9319 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9321 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9322 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9323 instead of FP_INIT_ROUNDMODE.
9324 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9325 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9328 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9329 copy class of input value.
9330 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9331 not handle exceptions.
9332 * soft-fp/negsf2.c (__negsf2): Likewise.
9333 * soft-fp/negtf2.c (__negtf2): Likewise.
9334 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9336 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9338 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9339 semicolon. From Linux kernel.
9341 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9343 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9345 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9348 * manual/socket.texi: Added statement about buffer
9349 for gethostbyname2_r.
9351 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9353 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9354 Use .p2align directive instead, throughout.
9355 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9356 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9357 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9358 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9359 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9360 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9361 * sysdeps/x86_64/strchr.S: Likewise.
9362 * sysdeps/x86_64/strrchr.S: Likewise.
9364 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9366 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9368 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9370 * sysdeps/generic/math_private.h (__mpsin1): Remove
9372 (__mpcos1): Likewise.
9373 (__mpsin): New argument __range_reduce.
9374 (__mpcos): Likewise.
9375 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9376 (slow): Use __mpsin and __mpcos.
9383 (bsloww1): Likewise.
9384 (bsloww2): Likewise.
9387 (csloww1): Likewise.
9388 (csloww2): Likewise.
9389 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9390 range_reduce. Merge in __mpsin1.
9391 (__mpcos): Likewise.
9393 (__mpcos1): Likewise.
9395 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9397 * locale/loadlocale.c (_nl_intern_locale_data): Use
9399 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9400 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9401 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9402 obstack data is appropriately aligned.
9403 (obstack_int32_grow_fast): Likewise.
9404 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9405 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9406 (add_locale_uint32_array): Likewise.
9408 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9410 * benchtests/Makefile: Remove ARGLIST and RET variables.
9411 ($(objpfx)bench-%.c): Pass only function name to the script.
9412 * benchtests/README: Update documentation.
9413 * benchtests/acos-inputs: Add new directives.
9414 * benchtests/acosh-inputs: Likewise.
9415 * benchtests/asin-inputs: Likewise.
9416 * benchtests/asinh-inputs: Likewise.
9417 * benchtests/atan-inputs: Likewise.
9418 * benchtests/atanh-inputs: Likewise.
9419 * benchtests/cos-inputs: Likewise.
9420 * benchtests/cosh-inputs: Likewise.
9421 * benchtests/exp-inputs: Likewise.
9422 * benchtests/log-inputs: Likewise.
9423 * benchtests/pow-inputs: Likewise.
9424 * benchtests/rint-inputs: Likewise.
9425 * benchtests/sin-inputs: Likewise.
9426 * benchtests/sinh-inputs: Likewise.
9427 * benchtests/tan-inputs: Likewise.
9428 * benchtests/tanh-inputs: Likewise.
9429 * scripts/bench.pl: Add support for new directives.
9431 2013-10-07 Alan Modra <amodra@gmail.com>
9433 * README: Fix careless merge.
9435 2013-10-05 Alan Modra <amodra@gmail.com>
9437 * NEWS: Mention powerpc64le support and bugs fixed.
9438 * README: Both big-endian and little-endian powerpc64 supported.
9440 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9442 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9443 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9444 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9445 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9447 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9449 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9452 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9454 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9455 Move -mhard-float appending from
9456 ports/sysdeps/powerpc/powerpc32/Makefile.
9457 [$(with-fp) = yes] (ASFLAGS): Likewise.
9458 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9459 * sysdeps/powerpc/nofpu: Move directory from
9460 ports/sysdeps/powerpc/nofpu.
9461 * sysdeps/powerpc/soft-fp: Move directory from
9462 ports/sysdeps/powerpc/soft-fp.
9463 * sysdeps/powerpc/powerpc32/405: Move directory from
9464 ports/sysdeps/powerpc/powerpc32/405.
9465 * sysdeps/powerpc/powerpc32/440: Move directory from
9466 ports/sysdeps/powerpc/powerpc32/440.
9467 * sysdeps/powerpc/powerpc32/464: Move directory from
9468 ports/sysdeps/powerpc/powerpc32/464.
9469 * sysdeps/powerpc/powerpc32/476: Move directory from
9470 ports/sysdeps/powerpc/powerpc32/476.
9471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9472 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9474 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9476 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9478 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9480 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9481 * README: Update for powerpc-*-linux-gnu software floating point
9484 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9485 case to powerpc/powerpc32*.
9486 * sysdeps/unix/sysv/linux/configure: Regenerated.
9488 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9489 (_FPU_MASK_OM): Define as 0x04.
9490 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9491 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9493 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9495 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9498 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9501 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9504 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9505 and setcontext_e500.
9507 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9509 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9511 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9513 * manual/threads.texi (Default Thread Attributes): Fix typo.
9515 2013-10-04 Will Newton <will.newton@linaro.org>
9517 * malloc/Makefile: Add tst-memalign.
9518 * malloc/tst-memalign.c: New file.
9520 * malloc/tst-posix_memalign.c: Add comments.
9521 (do_test): Add comments and call free on all potentially
9522 allocated pointers. Add space after cast.
9524 * malloc/tst-pvalloc.c: Add comments.
9525 (do_test): Add comments and call free on all potentially
9526 allocated pointers. Remove duplicate check for NULL pointer.
9527 Add space after cast.
9529 * malloc/tst-valloc.c: Add comments.
9530 (do_test): Add comments and call free on all potentially
9531 allocated pointers. Remove duplicate check for NULL pointer.
9532 Add space after cast.
9534 2013-10-04 Alan Modra <amodra@gmail.com>
9536 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9537 Use stdint types in rather than __attribute__((mode())).
9538 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9540 2013-10-04 Alan Modra <amodra@gmail.com>
9542 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9543 Correct handling of unaligned relocs for little-endian.
9544 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9546 2013-10-04 Alan Modra <amodra@gmail.com>
9548 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9549 * configure: Regenerate.
9550 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9551 * shlib-versions: Likewise.
9553 2013-10-04 Alan Modra <amodra@gmail.com>
9555 * string/tester.c (test_memrchr): Increment reported test cycle.
9557 2013-10-04 Alan Modra <amodra@gmail.com>
9559 * string/test-memcpy.c (do_one_test): When reporting errors, print
9560 string address and don't overrun end of string.
9562 2013-10-04 Alan Modra <amodra@gmail.com>
9564 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9565 insrdi. Make better use of reg selection to speed exit slightly.
9566 Schedule entry path a little better. Remove useless "are we done"
9567 checks on entry to main loop. Handle wrapping around zero address.
9568 Correct main loop count. Handle single left-over word from main
9569 loop inline rather than by using loop_small. Remove extra word
9570 case in loop_small caused by wrong loop count. Add little-endian
9572 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9573 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9575 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9576 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9577 support. Avoid rlwimi.
9578 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9580 2013-10-04 Alan Modra <amodra@gmail.com>
9582 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9584 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9585 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9586 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9587 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9588 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9589 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9591 2013-10-04 Alan Modra <amodra@gmail.com>
9593 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9594 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9595 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9596 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9597 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9598 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9599 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9600 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9601 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9602 use of regs. Use power7 mtocrf. Tidy function tails.
9604 2013-10-04 Alan Modra <amodra@gmail.com>
9606 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9607 Formatting. Consistently use rXXX register defines or rN defines.
9608 Use early exit labels that avoid restoring unused non-volatile regs.
9609 Make cr field use more consistent with rWORDn compares. Rename
9610 regs used as shift registers for unaligned loop, using rN defines
9611 for short lifetime/multiple use regs.
9612 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9613 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9614 addi 1,1,64 to pop stack frame. Simplify return value code.
9615 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9617 2013-10-04 Alan Modra <amodra@gmail.com>
9619 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9620 support. Correct typos, formatting. Optimize tail. Use insrdi
9622 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9623 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9624 little-endian support. Correct typos.
9625 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9627 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9628 in loop and entry code to keep "and." results.
9629 (strchr): Add little-endian support. Comment. Move cntlzd
9631 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9633 2013-10-04 Alan Modra <amodra@gmail.com>
9635 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9636 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9637 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9638 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9640 2013-10-04 Alan Modra <amodra@gmail.com>
9642 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9643 (rTMP): Define as r11.
9644 (strcmp): Add little-endian support. Optimise tail.
9645 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9646 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9647 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9648 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9649 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9650 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9651 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9653 2013-10-04 Alan Modra <amodra@gmail.com>
9655 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9656 little-endian support. Remove unnecessary "are we done" tests.
9657 Handle "s" wrapping around zero and extremely large "size".
9658 Correct main loop count. Handle single left-over word from main
9659 loop inline rather than by using small_loop. Correct comments.
9660 Delete "zero" tail, use "end_max" instead.
9661 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9663 2013-10-04 Alan Modra <amodra@gmail.com>
9665 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9666 support. Don't branch over align.
9667 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9668 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9669 support. Rearrange tmp reg use to suit. Comment.
9670 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9672 2013-10-04 Alan Modra <amodra@gmail.com>
9674 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9676 2013-10-04 Alan Modra <amodra@gmail.com>
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9679 conditional form of branch and link when obtaining pc.
9680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9682 2013-10-04 Alan Modra <amodra@gmail.com>
9684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9689 2013-10-04 Alan Modra <amodra@gmail.com>
9691 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9692 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9693 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9694 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9695 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9696 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9697 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9698 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9699 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9700 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9702 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9703 Alistair Popple <alistair@ozlabs.au.ibm.com>
9704 Alan Modra <amodra@gmail.com>
9707 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9708 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9709 _dl_hwcap access for little-endian.
9710 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9711 destroy vmx regs when saving unaligned.
9712 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9713 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9714 destroy vmx regs when saving unaligned.
9716 2013-10-04 Alan Modra <amodra@gmail.com>
9718 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9719 Don't use a union to pack hi/low value.
9721 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9723 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9725 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9726 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9727 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9728 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9729 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9731 2013-10-04 Alan Modra <amodra@gmail.com>
9733 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9734 constants to usual value for .cst8 section, and remove redundant
9736 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9737 constant for 0x1p52. Load little-endian words of double from
9738 correct stack offsets.
9740 2013-10-04 Alan Modra <amodra@gmail.com>
9742 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9743 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9744 words of double from correct stack offsets.
9745 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9746 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9747 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9748 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9749 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9750 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9751 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9752 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9753 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9754 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9755 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9756 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9757 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9758 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9759 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9760 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9761 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9763 2013-10-04 Alan Modra <amodra@gmail.com>
9765 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9766 64-bit int/double union.
9767 (_FPU_SETCW): Likewise.
9768 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9769 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9771 2013-10-04 Alan Modra <amodra@gmail.com>
9773 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9774 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9776 2013-10-04 Alan Modra <amodra@gmail.com>
9778 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9779 use vector int constants.
9780 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9782 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9784 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9785 array with long long.
9786 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9787 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9788 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9789 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9790 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9791 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9792 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9793 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9794 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9795 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9796 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9797 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9798 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9800 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9802 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9803 (__signbit): Likewise. Correct for little-endian.
9804 (__signbitl): Call __signbit.
9805 (lrint): Correct for little-endian.
9806 (lrintf): Call lrint.
9808 2013-10-04 Alan Modra <amodra@gmail.com>
9810 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9811 union 32-bit int array member with 64-bit int array.
9812 (t515, tm256): Double rather than long double.
9813 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9815 2013-10-04 Alan Modra <amodra@gmail.com>
9817 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9819 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9820 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9821 version of math_ldbl.h.
9823 2013-10-04 Alan Modra <amodra@gmail.com>
9825 [BZ #15734], [BZ #15735]
9826 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9827 all uses of ieee875 long double macros and unions. Simplify test
9828 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9829 ldbl_extract_mantissa value for ix,iy exponents. Properly
9830 normalize after ldbl_extract_mantissa, and don't add hidden bit
9831 already handled. Don't treat low word of ieee854 mantissa like
9832 low word of IBM long double and mask off bit when testing for
9834 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9835 all uses of ieee875 long double macros and unions. Simplify tests
9836 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9837 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9838 two1022, instead use their values. Recognise that tests for large
9839 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9840 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9841 Rewrite all uses of ieee875 long double macros and unions. Simplify
9842 test for 0.0L and nan. Correct negation.
9843 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9844 ieee875 long double macros and unions. Correct output for large
9845 magnitude x. Correct absolute value calculation.
9846 (__erfcl): Likewise.
9847 * math/libm-test.inc: Add tests for errors discovered in IBM long
9848 double versions of fmodl, remainderl, erfl and erfcl.
9850 2013-10-04 Alan Modra <amodra@gmail.com>
9852 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9853 all uses of ieee854 long double macros and unions. Simplify tests
9854 for long doubles that are fully specified by the high double.
9855 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9857 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9858 Remove dead code too.
9859 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9860 (__ieee754_ynl): Likewise.
9861 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9862 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9863 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9864 Remove dead code too.
9865 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9866 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9867 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9868 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9870 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9872 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9873 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9874 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9875 Comment on variable precision.
9876 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9877 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9879 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9880 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9881 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9882 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9883 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9885 2013-10-04 Alan Modra <amodra@gmail.com>
9887 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9888 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9889 all uses of ieee854 long double macros and unions.
9890 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9891 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9892 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9893 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9894 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9895 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9897 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9898 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9899 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9900 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9901 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9902 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9903 Simplify sign and nan test too.
9904 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9905 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9906 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9907 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9909 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9910 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9912 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9913 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9914 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9915 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9916 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9917 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9919 2013-10-04 Alan Modra <amodra@gmail.com>
9921 * stdio-common/printf_size.c (__printf_size): Don't use
9922 union ieee854_long_double in fpnum union.
9923 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9924 signbit macro to retrieve sign from long double.
9925 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9926 retrieve sign from long double.
9927 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9928 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9929 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9930 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9931 * math/test-misc.c (main): Don't use union ieee854_long_double.
9933 2013-10-04 Alan Modra <amodra@gmail.com>
9936 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9937 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9938 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9939 calculation. Remove unnecessary test for denormal exponent.
9940 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9941 Correct handling of denormals. Avoid undefined shift behaviour.
9942 Correct normalisation of low mantissa when low double is denormal.
9943 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9944 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9945 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9946 Correct normalisation of low mantissa. Test for overflow of high
9947 mantissa and normalise.
9948 (ldbl_nearbyint): Use more readable constant for two52.
9949 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9950 (__mpn_construct_long_double): Fix test for overflow of high
9951 mantissa and correct normalisation. Avoid undefined shift.
9953 2013-10-04 Alan Modra <amodra@gmail.com>
9955 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9956 (union ibm_extended_long_double): Define as an array of ieee754_double.
9957 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9958 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9959 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9960 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9961 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9962 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9963 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9964 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9965 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9966 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9967 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9969 2013-10-03 Joseph Myers <joseph@codesourcery.com>
9971 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9972 page size instead of calling getpagesize.
9974 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9975 (LOCFILE_ALIGN_MASK): Likewise.
9976 (LOCFILE_ALIGN_UP): Likewise.
9977 (LOCFILE_ALIGNED_P): Likewise.
9978 * locale/programs/ld-collate.c (collate_output): Use the new
9979 macros instead of __alignof__ (int32_t).
9980 * locale/weight.h (findidx): Likewise.
9982 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
9985 * manual/string.texi: Fix strncat and wcsncat.
9987 2013-10-03 Brooks Moses <bmoses@google.com>
9990 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9991 * Makerules: ...here, and adjust associated comments.
9993 2013-10-02 Will Newton <will.newton@linaro.org>
9995 * malloc/Makefile: Add tst-pvalloc.
9996 * malloc/tst-pvalloc.c: New file.
9998 2013-10-02 Will Newton <will.newton@linaro.org>
10000 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10001 improve test coverage.
10003 2013-10-02 Will Newton <will.newton@linaro.org>
10005 * malloc/Makefile: Add tst-posix_memalign.
10006 * malloc/tst-posix_memalign.c: New file.
10008 2013-10-01 Eric Blake <eblake@redhat.com>
10010 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10011 Use __THROWNL rather than __THROW on static functions.
10013 2013-09-30 Petr Machata <pmachata@redhat.com>
10015 * elf/elf.h (R_AARCH64_ABS16): New macro.
10016 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10017 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10018 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10019 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10020 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10021 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10022 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10023 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10024 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10025 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10026 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10027 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10028 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10029 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10030 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10031 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10032 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10033 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10034 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10035 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10036 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10037 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10038 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10039 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10040 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10041 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10042 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10043 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10044 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10045 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10046 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10047 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10048 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10049 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10050 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10051 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10052 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10053 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10054 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10055 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10056 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10057 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10058 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10059 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10060 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10061 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10062 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10063 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10064 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10065 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10066 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10067 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10068 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10069 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10070 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10071 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10072 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10073 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10074 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10075 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10076 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10077 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10078 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10079 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10080 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10081 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10082 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10083 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10084 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10085 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10086 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10087 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10088 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10089 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10090 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10091 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10092 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10093 (R_AARCH64_TLSDESC_LDR): Likewise.
10094 (R_AARCH64_TLSDESC_ADD): Likewise.
10095 (R_AARCH64_TLSDESC_CALL): Likewise.
10097 2013-09-30 Andreas Schwab <schwab@suse.de>
10100 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10101 the nss database lookup.
10102 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10103 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10105 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10107 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10109 2013-09-28 P. J. McDermott <pj@pehjota.net>
10111 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10112 ${Bash-specific parameter/pattern/string} parameter expansion.
10113 * sysdeps/unix/make-syscalls.sh: Likewise.
10115 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10117 * sysdeps/sh/stackguard-macros.h: New file.
10119 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10122 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10123 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10124 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10125 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10126 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10128 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10130 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10131 Fix thread ID register.
10133 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10135 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10136 [POSIX || UNIX98]: Require rather than permitting all symbols from
10138 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10139 element of struct sched_param.
10140 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10141 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10142 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10143 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10146 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10148 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10149 argument calculation.
10151 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10153 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10155 [POSIX] (pthread_attr_t): Do not require type.
10156 [POSIX] (pthread_cond_t): Likewise.
10157 [POSIX] (pthread_condattr_t): Likewise.
10158 [POSIX] (pthread_key_t): Likewise.
10159 [POSIX] (pthread_mutex_t): Likewise.
10160 [POSIX] (pthread_mutexattr_t): Likewise.
10161 [POSIX] (pthread_once_t): Likewise.
10162 [POSIX] (pthread_t): Likewise.
10163 [POSIX-based standards] (pthread_atfork): Expect function.
10165 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10166 Richard Sandiford <richard@codesourcery.com>
10168 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10169 (swap_endianness_p): New extern variable.
10170 (set_big_endian): New inline function.
10171 (maybe_swap_uint32): Likewise.
10172 (maybe_swap_uint32_array): Likewise.
10173 (maybe_swap_uint32_obstack): Likewise.
10174 * locale/programs/locfile.c: Include <stdbool.h>.
10175 (swap_endianness_p): New variable.
10176 (add_locale_uint32): Call maybe_swap_uint32.
10177 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10178 (write_locale_data): Call maybe_swap_uint32_array.
10179 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10181 (obstack_int32_grow_fast): Likewise.
10182 (output_weightwc): Call maybe_swap_uint32_obstack.
10183 (collate_output): Likewise.
10184 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10185 (OPT_LITTLE_ENDIAN): Likewise.
10186 (options): Add --little-endian and --big-endian options.
10187 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10188 * locale/programs/locarchive.c: Include "locfile.h".
10192 (create_archive): Use the new macros to access fields of
10193 structures directly mapped from or written to locale archives.
10194 (oldlocrecentcmp): Likewise.
10195 (enlarge_archive): Likewise.
10196 (insert_name): Likewise.
10197 (add_alias): Likewise.
10198 (add_locale): Likewise.
10199 (delete_locales_from_archive): Likewise.
10200 (show_archive_content): Likewise.
10201 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10204 2013-09-24 Roland McGrath <roland@hack.frob.com>
10206 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10207 http://www.gnu.org/doc/freemanuals.texi.
10208 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10210 2013-09-24 Will Newton <will.newton@linaro.org>
10212 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10215 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10217 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10220 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10222 * manual/threads.texi (POSIX Threads): Fix a typo.
10224 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10227 * string/tst-strcoll-overflow.c: New test case.
10228 * string/Makefile (xtests): Add tst-strcoll-overflow.
10229 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10230 cache if string sizes may cause integer overflow.
10233 * string/strcoll_l.c (coll_seq): New members rule, idx,
10234 save_idx and back_us.
10235 (get_next_seq_nocache): New function.
10236 (do_compare_nocache): New function.
10237 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10240 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10243 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10244 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10245 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10248 * elf/Makefile (tests): Add tst-ptrguard1.
10249 (tests-static): Add tst-ptrguard1-static.
10250 (tst-ptrguard1-ARGS): Define.
10251 (tst-ptrguard1-static-ARGS): Define.
10252 * elf/tst-ptrguard1.c: New file.
10253 * elf/tst-ptrguard1-static.c: New file.
10254 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10255 * sysdeps/i386/stackguard-macros.h: Likewise.
10256 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10257 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10258 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10259 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10260 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10261 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10263 2013-09-23 Hector Marco <hecmargi@upv.es>
10264 Ismael Ripoll <iripoll@disca.upv.es>
10265 Carlos O'Donell <carlos@redhat.com>
10268 * sysdeps/generic/stackguard-macros.h: Define
10269 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10270 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10271 Define __pointer_chk_guard_local.
10272 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10273 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10275 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10278 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10280 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10282 * include/string.h (__ffs): Declare as hidden.
10283 * string/ffs.c (__ffs): Define as hidden.
10284 * sysdeps/i386/ffs.c (__ffs): Likewise.
10285 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10286 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10287 * sysdeps/s390/ffs.c (__ffs): Likewise.
10288 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10290 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10292 * NEWS: Mention malloc probes.
10294 * malloc/arena.c (new_heap): New memory_heap_new probe.
10295 (grow_heap): New memory_heap_more probe.
10296 (shrink_heap): New memory_heap_less probe.
10297 (heap_trim): New memory_heap_free probe.
10298 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10299 (systrim): New memory_sbrk_less probe.
10300 * manual/probes.texi: Document them.
10302 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10303 * manual/probes.texi: Document it.
10305 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10306 (__libc_realloc): Add memory_realloc_retry probe.
10307 (__libc_memalign): Add memory_memalign_retry probe.
10308 (__libc_valloc): Add memory_valloc_retry probe.
10309 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10310 (__libc_calloc): Add memory_calloc_retry probe.
10311 * manual/probes.texi: Document them.
10313 * malloc/arena.c (get_free_list): Add probe
10314 memory_arena_reuse_free_list.
10315 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10316 and memory_arena_reuse.
10317 (arena_get2) [!PER_THREAD]: Likewise.
10318 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10319 memory_arena_reuse_realloc.
10320 * manual/probes.texi: Document them.
10322 * malloc/malloc.c (__libc_free): Add
10323 memory_mallopt_free_dyn_thresholds probe.
10324 (__libc_mallopt): Add multiple memory_mallopt probes.
10325 * manual/probes.texi: Document them.
10327 * malloc/malloc.c: Include stap-probe.h.
10328 (__libc_mallopt): Add memory_mallopt probe.
10329 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10330 * manual/probes.texi: New.
10331 * manual/Makefile (chapters): Add probes.
10332 * manual/threads.texi: Set next node.
10334 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10336 [BZ #15963, #13985]
10337 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10338 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10339 Add `Chinese' to `nan' entry name.
10341 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10343 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10344 (POLYNOMIAL): Likewise.
10345 (TAYLOR_SINCOS): Likewise.
10346 (TAYLOR_SLOW): Likewise.
10347 (__sin): Use TAYLOR_SINCOS.
10349 (slow): Use TAYLOR_SLOW.
10351 (bsloww): Likewise.
10352 (csloww): Likewise.
10354 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10356 * stdlib/strtod_l.c: Fix buffer overrun.
10358 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10360 * benchtests/Makefile (bench): Add sincos.
10361 * benchtests/bench-sincos.c: New file.
10363 * math/libm-test.inc (cos_test_data): New test inputs.
10364 (sin_test_data): Likewise.
10366 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10372 (sloww1): Likewise.
10373 (sloww2): Likewise.
10374 (bsloww1): Likewise.
10375 (bsloww2): Likewise.
10376 (cslow2): Likewise.
10377 (csloww1): Likewise.
10378 (csloww2): Likewise.
10380 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10385 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10389 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10391 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10392 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10393 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10394 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10395 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10396 * elf/cache.c (print_entry): Handle the new cache flags.
10398 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10399 Aldy Hernandez <aldyh@redhat.com>
10401 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10402 Change condition to [_SOFT_FLOAT].
10403 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10404 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10405 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10406 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10407 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10408 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10409 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10410 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10411 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10412 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10413 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10414 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10415 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10416 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10417 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10418 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10421 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10423 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10424 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10425 (__longjmp): Use LOAD_GP to load saved GPRs.
10426 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10427 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10428 (__sigsetjmp): Use SAVE_GP to save GPRs.
10430 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10431 Do not append -msoft-float.
10432 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10434 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10436 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10438 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10441 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10442 (_FPU_GETCW): Use initial "__" on variable and field names but not
10443 on macro parameter name.
10444 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10445 parentheses around reference to macro parameter.
10447 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10449 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10451 (ctype_startup): Use uint32_t in cast and sizeof for
10454 2013-09-11 Jia Liu <proljc@gmail.com>
10456 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10458 [__FreeBSD__]: Likewise.
10460 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10462 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10463 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10464 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10465 (strchr): Remove __strchr_sse42 ifunc selection.
10466 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10467 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10469 2013-09-11 Will Newton <will.newton@linaro.org>
10471 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10472 parameter to RES. Remove hardcoded 1000 value.
10473 * benchtests/bench-skeleton.c (main): Pass RES parameter
10474 to TIMING_INIT and multiply result by 1000.
10476 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10480 2013-09-11 Andreas Schwab <schwab@suse.de>
10482 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10484 (O_TMPFILE) [__USE_GNU]: Define.
10485 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10488 2013-09-11 Will Newton <will.newton@linaro.org>
10491 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10494 2013-09-11 Will Newton <will.newton@linaro.org>
10497 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10500 2013-09-11 Will Newton <will.newton@linaro.org>
10503 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10506 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10508 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10509 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10510 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10511 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10512 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10514 2013-09-10 Allan McRae <allan@archlinux.org>
10517 * manual/arith.texi (Parsing of Floats): Clarify
10521 * manual/install.texi (Running make install): Mention
10523 * INSTALL: Regenerated.
10525 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10527 * csu/init-first.c (_init): Remove the !SHARED condition around
10528 FPU control word initialization.
10529 * elf/dl-support.c (_dl_fpu_control): New variable.
10530 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10531 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10532 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10533 * math/test-fpucw-static.c: New file.
10534 * math/test-fpucw-ieee.c: New file.
10535 * math/test-fpucw-ieee-static.c: New file.
10536 * math/Makefile (tests): Add `test-fpucw-ieee' and
10538 (tests-static): New variable.
10539 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10541 [($(build-shared),yes)]
10542 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10544 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10547 2013-09-09 Allan McRae <allan@archlinux.org>
10550 * manual/string.texi (Collation Functions): Fix typo in
10552 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10555 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10558 * libio/memstream.c (open_memstream): Fix memory leak.
10559 * libio/wmemstream.c (open_wmemstream): Likewise.
10562 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10564 2013-09-09 Will Newton <will.newton@linaro.org>
10566 * malloc/Makefile: Add tst-realloc to tests.
10567 * malloc/tst-realloc.c: New file.
10569 2013-09-09 Allan McRae <allan@archlinux.org>
10572 * COPYING: Update from GNU website to fix FSF address.
10573 * COPYING.LIB: Likewise.
10575 2013-09-06 David S. Miller <davem@davemloft.net>
10577 * po/zh_TW.po: Update Chinese (traditional) translation from
10578 translation project.
10580 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10581 Joseph Myers <joseph@codesourcery.com>
10583 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10585 (obstack_chunk_alloc): New macro.
10586 (obstack_chunk_free): Likewise.
10587 (record_offset): New function.
10588 (init_locale_data): Likewise.
10589 (align_locale_data): Likewise.
10590 (add_locale_empty): Likewise.
10591 (add_locale_raw_data): Likewise.
10592 (add_locale_raw_obstack): Likewise.
10593 (add_locale_string): Likewise.
10594 (add_locale_wstring): Likewise.
10595 (add_locale_uint32): Likewise.
10596 (add_locale_uint32_array): Likewise.
10597 (add_locale_char): Likewise.
10598 (start_locale_structure): Likewise.
10599 (end_locale_structure): Likewise.
10600 (start_locale_prelude): Likewise.
10601 (end_locale_prelude): Likewise.
10602 (write_locale_data): Take locale_file structure rather than an
10604 * locale/programs/locfile.h: Include "obstack.h".
10605 (struct locale_file): Change to store locale file contents instead
10607 (init_locale_data): New prototype.
10608 (align_locale_data): Likewise.
10609 (add_locale_empty): Likewise.
10610 (add_locale_raw_data): Likewise.
10611 (add_locale_raw_obstack): Likewise.
10612 (add_locale_string): Likewise.
10613 (add_locale_wstring): Likewise.
10614 (add_locale_uint32): Likewise.
10615 (add_locale_uint32_array): Likewise.
10616 (add_locale_char): Likewise.
10617 (start_locale_structure): Likewise.
10618 (end_locale_structure): Likewise.
10619 (start_locale_prelude): Likewise.
10620 (end_locale_prelude): Likewise.
10621 (write_locale_data): Update prototype.
10622 * locale/programs/3level.h (struct TABLE): Remove result field.
10623 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10624 Use new locale_file interface.
10625 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10626 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10627 * locale/programs/ld-address.c (address_output): Use new
10628 locale_file interface.
10629 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10631 (collate_finish): Don't call collseq_table_finalize.
10632 (collate_output): Use new locale_file interface.
10633 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10635 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10636 (TABLE): Move defines earlier in file.
10637 (ELEMENT): Likewise.
10638 (DEFAULT): Likewise.
10639 (wctrans_table_add): Move macro and inline function earlier in
10641 (struct wctype_table): Move type earlier in file.
10642 (add_locale_wctype_table): New static prototype.
10643 (struct locale_ctype_t): Use logical types instead of struct iovec
10644 pointers for members.
10645 (ctype_output): Use new locale_file interface.
10646 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10647 new locale_file interface.
10648 (allocate_arrays): Update for use of new locale_file interface.
10649 * locale/programs/ld-identification.c (identification_output): Use
10650 new locale_file interface.
10651 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10652 * locale/programs/ld-messages.c (messages_output): Likewise.
10653 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10654 * locale/programs/ld-name.c (name_output): Likewise.
10655 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10656 * locale/programs/ld-paper.c (paper_output): Likewise.
10657 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10658 * locale/programs/ld-time.c (time_output): Likewise.
10660 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10662 * benchtests/Makefile: Add memrchr benchmark.
10663 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10664 benchmark as memrchr.
10665 * benchtests/bench-memrchr-ifunc.c: New file.
10666 * benchtests/bench-memrchr.c: New file.
10668 2013-09-06 Will Newton <will.newton@linaro.org>
10670 * benchtests/Makefile (string-bench): Add memcpy.
10672 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10673 Cong Wang <amwang@redhat.com>
10676 * sysdeps/unix/sysv/linux/bits/in.h
10677 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10678 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10679 before __USE_KERNEL_IPV6_DEFS uses.
10680 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10682 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10683 sockaddr_in6, or ipv6_mreq.
10685 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10687 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10688 memory access for final bytes in some large inputs.
10689 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10691 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10693 * string/test-memrchr.c: New file.
10694 * string/test-memrchr-ifunc.c: New file.
10695 * string/Makefile: Add new memrchr testcase.
10697 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10699 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10700 fanotify_init returns EPERM.
10702 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10704 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10706 (top level): Treat second token from macro or constant entries for
10707 allowed headers as allowed.
10708 * include/complex.h: Condition internal declarations on
10710 * include/fenv.h: Condition include of <stdbool.h> and internal
10711 declarations on [!_ISOMAC].
10713 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10716 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10718 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10720 * configure.in (--enable-versioning): Remove configure option.
10721 (libc_cv_asm_symver_directive): Remove configure test.
10722 (libc_cv_ld_version_script_option): Likewise.
10723 (VERSIONING): Remove variable and AC_SUBST.
10724 (DO_VERSIONING): Remove AC_DEFINE.
10725 * configure: Regenerated.
10726 * config.h.in (DO_VERSIONING): Remove macro.
10727 * Makerules [$(versioning) = yes]: Change conditionals to
10728 [$(build-shared) = yes].
10729 * config.make.in (versioning): Remove variable.
10730 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10731 [$(build-shared) = yes].
10732 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10733 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10734 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10735 [$(build-shared) = yes].
10736 * extra-lib.mk [$(versioning) = yes]: Likewise.
10737 * hurd/Makefile [$(versioning) = yes]: Likewise.
10738 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10740 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10742 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10743 [SHARED && !NO_HIDDEN].
10744 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10746 [SHARED && DO_VERSIONING]: Likewise..
10747 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10748 [$(build-shared) = yes].
10749 * manual/install.texi (--disable-versioning): Remove
10751 * INSTALL: Regenerated.
10752 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10754 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10755 [$(build-shared) = yes].
10756 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10757 * sysdeps/i386/i686/multiarch/strstr-c.c
10758 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10759 [SHARED && !NO_HIDDEN].
10760 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10761 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10762 * sysdeps/powerpc/powerpc32/dl-machine.c
10763 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10764 * sysdeps/powerpc/powerpc32/sysdep.h
10765 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10766 to [SHARED && PIC && !NO_HIDDEN].
10767 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10768 conditional to [SHARED].
10770 2013-09-04 Will Newton <will.newton@linaro.org>
10772 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10773 * benchtests/bench-string.h: Include bench-timing.h instead
10774 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10775 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10776 call to HP_TIMING_DIFF_INIT.
10777 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10778 instead of hp-timing.h macros.
10779 * benchtests/bench-memchr.c: Likewise.
10780 * benchtests/bench-memcmp.c: Likewise.
10781 * benchtests/bench-memcpy.c: Likewise.
10782 * benchtests/bench-memmem.c: Likewise.
10783 * benchtests/bench-memmove.c: Likewise.
10784 * benchtests/bench-memset.c: Likewise.
10785 * benchtests/bench-rawmemchr.c: Likewise.
10786 * benchtests/bench-strcasecmp.c: Likewise.
10787 * benchtests/bench-strcasestr.c: Likewise.
10788 * benchtests/bench-strcat.c: Likewise.
10789 * benchtests/bench-strchr.c: Likewise.
10790 * benchtests/bench-strcmp.c: Likewise.
10791 * benchtests/bench-strcpy.c: Likewise.
10792 * benchtests/bench-strcpy_chk.c: Likewise.
10793 * benchtests/bench-strlen.c: Likewise.
10794 * benchtests/bench-strncasecmp.c: Likewise.
10795 * benchtests/bench-strncat.c: Likewise.
10796 * benchtests/bench-strncmp.c: Likewise.
10797 * benchtests/bench-strncpy.c: Likewise.
10798 * benchtests/bench-strnlen.c: Likewise.
10799 * benchtests/bench-strpbrk.c: Likewise.
10800 * benchtests/bench-strrchr.c: Likewise.
10801 * benchtests/bench-strspn.c: Likewise.
10802 * benchtests/bench-strstr.c: Likewise.
10804 2013-09-04 Will Newton <will.newton@linaro.org>
10806 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10808 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10811 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10812 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10813 * math/libm-test.inc (lgamma_test_data): Add more tests.
10814 * sysdeps/i386/fpu/libm-test-ulps: Update.
10815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10817 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10819 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10820 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10823 Add strcmp-sse2-unaligned
10824 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10826 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10828 * Versions.def (libc): Add GLIBC_2.19.
10830 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10832 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10833 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10835 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10838 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10839 intermediate calculations in recurrence.
10840 (__ieee754_ynf): Likewise.
10841 * math/libm-test.inc (jn_test_data): Do not allow spurious
10842 underflow exception. Add more tests.
10843 (yn_test_data): Add more tests.
10844 * sysdeps/i386/fpu/libm-test-ulps: Update.
10845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10847 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10849 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10851 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10853 * csu/init-first.c: Fix then/than typos.
10854 * locale/programs/ld-collate.c: Likewise.
10855 * locale/programs/linereader.h: Likewise.
10856 * manual/charset.texi: Likewise.
10857 * manual/filesys.texi: Likewise.
10858 * manual/stdio.texi: Likewise.
10859 * manual/string.texi: Likewise.
10860 * stdlib/fmtmsg.c: Likewise.
10861 * sysdeps/i386/stpncpy.S: Likewise.
10862 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10863 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10864 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10865 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10867 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10869 * elf/dl-open.c: Fix typos.
10870 * iconvdata/gbbig5.c: Likewise.
10871 * iconvdata/iso-2022-jp.c: Likewise.
10872 * iconv/gconv_int.h: Likewise.
10873 * iconv/loop.c: Likewise.
10874 * nis/rpcsvc/nis.h: Likewise.
10875 * resolv/ns_name.c: Likewise.
10876 * stdio-common/vfscanf.c: Likewise.
10877 * streams/stropts.h: Likewise.
10878 * sunrpc/rpc_thread.c: Likewise.
10879 * sysdeps/i386/strpbrk.S: Likewise.
10880 * sysdeps/ieee754/k_standard.c: Likewise.
10881 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10882 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10883 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10884 * sysdeps/mach/hurd/profil.c: Likewise.
10885 * sysdeps/s390/dl-procinfo.h: Likewise.
10886 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10887 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10888 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10889 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10890 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10892 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10894 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10895 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10897 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10899 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10900 aix specific files.
10901 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10902 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10903 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10904 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10905 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10906 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10907 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10908 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10910 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10911 Roland McGrath <roland@hack.frob.com>
10913 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10914 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10916 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10918 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10919 __executable_start symbol instead of _start.
10921 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10923 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10924 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10926 * sysdeps/gnu/ldsodefs.h: ... this new file.
10928 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10929 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10930 instead of ELFOSABI_LINUX.
10932 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10933 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10934 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10935 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10937 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10938 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10939 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10941 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10942 (ibm_extended_long_double): Add ieee_nan member.
10943 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10944 (do_test): New function.
10946 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10948 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10949 functions, renamed from truncdfsf_test, trunctfsf_test,
10951 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10953 (do_test): Run all these.
10955 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10957 * argp/argp-help.c: Fix typos.
10958 * argp/argp-parse.c: Likewise.
10959 * debug/backtracesyms.c: Likewise.
10960 * elf/elf.h: Likewise.
10961 * malloc/malloc.c: Likewise.
10962 * nis/nis_print.c: Likewise.
10963 * resolv/res_comp.c: Likewise.
10964 * stdlib/stdlib.h: Likewise.
10965 * sunrpc/clnt_tcp.c: Likewise.
10966 * sunrpc/clnt_udp.c: Likewise.
10967 * sunrpc/clnt_unix.c: Likewise.
10968 * sysdeps/unix/bsd/ptsname.c: Likewise.
10969 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10970 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10977 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10979 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10981 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10982 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10984 2013-08-27 Mike Frysinger <vapier@gentoo.org>
10987 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10988 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10989 ($(objpfx)bug-dl-leaf): New rule.
10990 ($(objpfx)bug-dl-leaf.so): Likewise.
10991 ($(objpfx)bug-dl-leaf.out): Likewise.
10992 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10993 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10994 * dlfcn/bug-dl-leaf.c: New test.
10995 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10996 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10997 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10998 (dlclose): Likewise.
10999 (dlmopen): Likewise.
11001 2013-08-27 Roland McGrath <roland@hack.frob.com>
11003 * include/netdb.h [!_ISOMAC]:
11004 Don't include <tls.h>.
11005 (h_errno, __libc_h_errno): Move declaration and macros out of
11008 * include/resolv.h [_RESOLV_H_]:
11009 Don't include <tls.h>.
11010 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11011 * resolv/res_libc.c: Don't include <tls.h>.
11012 (_res): Use __attribute__ ((nocommon)) in place of
11013 __attribute__ ((section (".bss"))).
11015 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11016 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11018 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11020 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11021 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11023 * resolv/res_mkquery.c: Include <sys/time.h>.
11025 * inet/ifreq.c: Moved to ...
11026 * sysdeps/unix/ifreq.c: ... here.
11027 * inet/ifreq.c: New file, true stub version.
11029 * socket/sa_len.c: New file.
11030 * socket/Makefile (aux): Add it.
11031 * sysdeps/unix/sysv/linux/Makefile
11032 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11033 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11034 and #include <socket/sa_len.c>.
11035 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11036 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11038 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11039 * bits/socket.h: ... here.
11041 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11042 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11043 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11045 2013-08-27 Andreas Schwab <schwab@suse.de>
11048 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11049 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11050 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11051 * string/test-strcasecmp.c (test_main): Run tests in several
11053 * string/test-strncasecmp.c (test_main): Likewise.
11055 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11056 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11057 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11058 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11059 (__strncasecmp_ssse3) [PIC]: Likewise.
11061 2013-08-26 Roland McGrath <roland@hack.frob.com>
11063 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11065 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11066 instead of explicitly declaring xdecrypt.
11067 * nis/nss_nis/nis-publickey.c: Likewise.
11069 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11072 * nscd/aicache.c: Include res_hconf.h.
11073 (addhstaiX): Initialize res_hconf.
11075 2013-08-26 Andreas Schwab <schwab@suse.de>
11077 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11078 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11080 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11082 * nscd/aicache.c (addhstaiX): Fix indentation.
11084 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11086 * configure.ac: Quote $build_pt_chown test.
11087 * configure: Regenerated.
11089 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11092 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11093 * math/s_cexpf.c (__cexpf): Likewise.
11094 * math/s_cexpl.c (__cexpl): Likewise.
11095 * math/libm-test.inc (cexp_test_data): Correct expected return
11096 value for NaN + i0. Add another test.
11098 2013-08-22 David S. Miller <davem@davemloft.net>
11100 * po/ca.po: Update Catalan translation from translation project.
11101 * po/uk.po: Add Ukrainian translations from translation project.
11103 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11106 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11107 is infinite, not alongside NaN test.
11108 * math/s_fdimf.c (__fdimf): Likewise.
11109 * math/s_fdiml.c (__fdiml): Likewise.
11110 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11111 errno is unchanged.
11113 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11115 * argp/argp-help.c: Fix typos.
11116 * crypt/speeds.c: Likewise.
11117 * csu/check_fds.c: Likewise.
11118 * elf/dl-load.c: Likewise.
11119 * elf/dl-open.c: Likewise.
11120 * elf/reldep3.c: Likewise.
11121 * elf/reldep.c: Likewise.
11122 * elf/sprof.c: Likewise.
11123 * iconv/iconv_charmap.c: Likewise.
11124 * iconv/skeleton.c: Likewise.
11125 * iconv/strtab.c: Likewise.
11126 * io/lockf64.c: Likewise.
11127 * libio/libioP.h: Likewise.
11128 * resolv/gai_notify.c: Likewise.
11129 * resolv/ns_name.c: Likewise.
11130 * resolv/ns_samedomain.c: Likewise.
11131 * resolv/res_send.c: Likewise.
11132 * stdlib/random.c: Likewise.
11133 * sunrpc/rpc/xdr.h: Likewise.
11134 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11135 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11136 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11137 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11138 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11139 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11140 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11141 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11142 * sysdeps/mach/hurd/check_fds.c: Likewise.
11143 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11144 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11145 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11146 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11147 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11148 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11149 * sysdeps/pthread/aio_notify.c: Likewise.
11150 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11151 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11152 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11153 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11154 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11156 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11158 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11159 version if bit_Slow_SSE4_2 is set.
11160 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11161 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11163 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11166 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11167 trampoline stack frame information.
11168 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11169 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11170 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11171 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11172 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11173 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11174 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11175 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11177 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11178 interrupting a syscall and set with option SA_SIGINFO.
11180 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11183 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11184 argument is infinite.
11185 * math/s_cprojf.c (__cprojf): Likewise.
11186 * math/s_cprojl.c (__cprojl): Likewise.
11187 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11188 * math/libm-test.inc (cproj_test_data): Add more tests.
11190 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11192 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11193 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11194 size. Use __ffs to determine corresponding shift.
11196 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11197 Roland McGrath <roland@hack.frob.com>
11199 * Makefile (INSTALL): Remove trailing blank lines from output of
11202 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11204 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11205 Align 32 bit compat elf_greg to 8 bytes.
11207 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11209 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11211 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11213 * string/strcoll_l.c (coll_seq): New structure.
11214 (get_next_seq_cached): New function.
11215 (get_next_seq): New function.
11216 (do_compare): New function.
11217 (STRCOLL): Use GNU style definition. Simplify implementation
11218 by using get_next_seq, get_next_seq_cached and do_compare.
11220 2013-08-16 Florian Weimer <fweimer@redhat.com>
11224 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11226 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11228 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11229 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11230 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11232 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11233 GETDENTS_64BIT_ALIGNED.
11234 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11235 * manual/filesys.texi (Reading/Closing Directory): Document
11236 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11238 * manual/conf.texi (Limits for Files): Add portability note to
11239 NAME_MAX, PATH_MAX.
11240 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11242 2013-08-13 Andreas Schwab <schwab@suse.de>
11245 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11247 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11248 LDBL_MAX_EXP >= 16384]: Add tests for it.
11250 2013-08-12 David S. Miller <davem@davemloft.net>
11252 * version.h (RELEASE): Set to "development".
11253 (VERSION): Set to "2.18.90".
11254 * NEWS: Add 2.19 section.
11256 2013-08-03 David S. Miller <davem@davemloft.net>
11258 * po/ko.po: Update Korean translation from translation project.
11260 2013-08-01 David S. Miller <davem@davemloft.net>
11262 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11263 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11266 2013-07-30 David S. Miller <davem@davemloft.net>
11268 * po/fr.po: Update French translation from translation project.
11270 2013-07-28 David S. Miller <davem@davemloft.net>
11272 * po/cs.po: Update Czech translation from translation project.
11274 * po/sv.po: Update Swedish translation from translation project.
11276 2013-07-27 David S. Miller <davem@davemloft.net>
11278 * po/eo.po: Update Esperanto translation from translation project.
11280 * po/vi.po: Update Vietnamese translation from translation project.
11282 * po/de.po: Update German translation from translation project.
11284 2013-07-26 David S. Miller <davem@davemloft.net>
11286 * po/bg.po: Update Bulgarian translation from translation project.
11288 * po/nl.po: Update Dutch translation from translation project.
11289 * po/pl.po: Update Polish translation from translation project.
11290 * po/ru.po: Update Russian translation from translation project.
11292 2013-07-24 David S. Miller <davem@davemloft.net>
11294 * po/libc.pot: Update.
11296 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11298 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11299 variable page size.
11300 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11301 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11302 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11304 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11306 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11308 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11309 Andreas Schwab <schwab@suse.de>
11310 Roland McGrath <roland@hack.frob.com>
11311 Joseph Myers <joseph@codesourcery.com>
11312 Carlos O'Donell <carlos@redhat.com>
11315 * config.h.in: Define HAVE_PT_CHOWN.
11316 * config.make.in (build-pt-chown): New variable.
11317 * configure.in (--enable-pt_chown): New configure option.
11318 * configure: Regenerate.
11319 * login/Makefile: Include Makeconfig. Build pt_chown only if
11320 build-pt-chown is enabled.
11321 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11322 pt_chown to fix pty ownership.
11323 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11325 * manual/install.texi (Configuring and compiling): Mention
11326 --enable-pt_chown. Add @findex for grantpt.
11327 * INSTALL: Regenerate.
11329 2013-07-20 David S. Miller <davem@davemloft.net>
11331 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11332 difference between 32-bit and 64-bit.
11334 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11337 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11338 Avoid system header dependency with -ffreestanding.
11339 ($(objpfx)bits/syscall%d): Likewise.
11341 2013-07-13 David S. Miller <davem@davemloft.net>
11343 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11344 underflows from atanl/atan2l due to bug 15319.
11345 (casinh_test_data): Likewise.
11347 2013-07-07 David S. Miller <davem@davemloft.net>
11349 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11351 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11353 * sysdeps/i386/fpu/libm-test-ulps: Update.
11354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11356 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11358 * configure.in (--enable-lock-elision): Fix message text.
11359 * INSTALL: Regenerate.
11360 * configure: Regenerate.
11362 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11366 2013-07-03 Andreas Jaeger <aj@suse.de>
11368 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11370 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11371 (ptrace_peeksiginfo_args): Add.
11372 (__ptrace_peeksiginfo_flags): Add.
11373 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11374 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11375 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11377 2013-07-03 Allan McRae <allan@archlinux.org>
11379 * sysdeps/i386/fpu/libm-test-ulps: Update.
11381 2013-07-02 David S. Miller <davem@davemloft.net>
11383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11385 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11389 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11391 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11394 2013-07-02 Andi Kleen <ak@linux.intel.com>
11396 * config.h.in (ENABLE_LOCK_ELISION): Add.
11397 * configure.in (--enable-lock-elision): Add option.
11398 * manual/install.texi: Document --enable lock elision.
11399 * configure: Regenerate
11400 * INSTALL: Regenerate.
11402 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11404 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11405 SSE4.2 strcasecmp for libc.a.
11406 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11408 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11411 * soft-fp/op-common.h (_FP_FMA): New macro.
11412 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11413 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11414 (_FP_MUL_MEAT_1_imm): ... here.
11415 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11416 (_FP_MUL_MEAT_1_wide): ... here.
11417 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11418 (_FP_MUL_MEAT_1_hard): ... here.
11419 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11420 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11421 (_FP_MUL_MEAT_2_wide): ... here.
11422 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11423 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11424 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11425 (_FP_MUL_MEAT_2_gmp): ... here.
11426 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11427 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11428 (_FP_MUL_MEAT_4_wide): ... here.
11429 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11430 (_FP_MUL_MEAT_4_gmp): ... here.
11431 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11432 (_FP_WFRACBITS_DW_S): Likewise.
11433 (_FP_WFRACXBITS_DW_S): Likewise.
11434 (_FP_HIGHBIT_DW_S): Likewise.
11435 (FP_FMA_S): Likewise.
11436 (_FP_FRAC_HIGH_DW_S): Likewise.
11437 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11438 (_FP_WFRACBITS_DW_D): Likewise.
11439 (_FP_WFRACXBITS_DW_D): Likewise.
11440 (_FP_HIGHBIT_DW_D): Likewise.
11441 (FP_FMA_D): Likewise.
11442 (_FP_FRAC_HIGH_DW_D): Likewise.
11443 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11444 (_FP_WFRACBITS_DW_E): Likewise.
11445 (_FP_WFRACXBITS_DW_E): Likewise.
11446 (_FP_HIGHBIT_DW_E): Likewise.
11447 (FP_FMA_E): Likewise.
11448 (_FP_FRAC_HIGH_DW_E): Likewise.
11449 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11450 (_FP_WFRACBITS_DW_Q): Likewise.
11451 (_FP_WFRACXBITS_DW_Q): Likewise.
11452 (_FP_HIGHBIT_DW_Q): Likewise.
11453 (FP_FMA_Q): Likewise.
11454 (_FP_FRAC_HIGH_DW_Q): Likewise.
11455 * soft-fp/fmasf4.c: New file.
11456 * soft-fp/fmadf4.c: Likewise.
11457 * soft-fp/fmatf4.c: Likewise.
11459 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11462 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11464 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11466 (index_Slow_SSE4_2): Likewise.
11467 (index_Prefer_PMINUB_for_stringop): Likewise.
11468 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11469 bit_Slow_SSE4_2 is set.
11470 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11471 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11473 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11475 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11476 rtld_global._dl_hwcap2.
11477 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11479 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11480 POWER8 feature descriptions defined in _dl_hwcap2.
11481 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11482 string handling for POWER8 feature bits.
11483 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11484 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11485 _dl_powerpc_cap_flags.
11486 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11487 * sysdeps/powerpc/rtld-global-offsets.sym
11488 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11489 _dl_hwcap2 in the rtld_global_ro structure.
11491 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11493 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11494 hardware capabilities in support of AT_HWCAP2.
11495 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11496 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11498 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11499 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11500 explicitly the unknown a_type display mechanism is used.
11501 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11502 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11504 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11505 to macro prototype for AT_HWCAP2 support.
11506 * sysdeps/i386/dl-procinfo.h: Likewise.
11507 * sysdeps/s390/dl-procinfo.h: Likewise.
11508 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11509 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11510 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11511 return -1 for unknown a_type display fallback.
11512 * sysdeps/sparc/dl-procinfo.h: Likewise.
11513 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11514 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11516 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11518 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11519 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11521 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11524 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11525 mprotect making __stack_prot writable.
11527 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11528 Joseph Myers <joseph@codesourcery.com>
11530 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11531 as being properly aligned.
11533 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11535 * dlfcn/modstatic5.c: New file.
11536 * dlfcn/tststatic5.c: New file.
11537 * dlfcn/Makefile (tests): Add tststatic5.
11538 (tests-static): Likewise.
11539 (modules-names): Add modstatic5.
11540 (tststatic5-ENV): New variable.
11541 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11544 * elf/dl-support.c (_dl_main_map): New variable.
11545 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11546 (_dl_nns, _dl_load_adds): Set to 1.
11547 (_dl_initial_searchlist): Refer to _dl_main_map.
11548 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11549 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11550 call to _dl_get_origin.
11551 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11553 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11554 * dlfcn/modstatic3.c: New file.
11555 * dlfcn/tststatic3.c: New file.
11556 * dlfcn/tststatic4.c: New file.
11557 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11558 (tests-static): Likewise.
11559 (modules-names): Add modstatic3.
11560 (tststatic3-ENV, tststatic4-ENV): New variables.
11561 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11562 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11564 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11566 * configure.in (CC): Require GCC version 4.4 or later.
11567 * configure: Regenerated.
11568 * manual/install.texi (Tools for Compilation): Update GCC version
11570 * INSTALL: Regenerated.
11572 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11575 * string/test-memcmp.c (check2): New.
11576 (main): Call check2.
11578 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11580 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11583 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11585 (dl_open_worker) [!SHARED]: ... here.
11587 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11589 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11591 2013-06-25 Richard Henderson <rth@redhat.com>
11593 * locale/programs/locarchive.c: Include <libc-internal.h>
11595 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11597 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11598 trailing whitespace removed.
11600 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11603 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11604 * locale/programs/locarchive.c: Include libc-mmap.h.
11605 (prepare_address_space): Take two new outputs (the mmap base and len).
11606 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11608 (create_archive): Declare new mmap base and len values for
11609 prepare_address_space, and store the result in ah.
11610 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11611 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11612 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11613 Declare new mmap base and len values for
11614 prepare_address_space, and store the result in new_ah.
11615 (open_archive): Declare new mmap base and len values for
11616 prepare_address_space, and store the result in ah.
11617 (close_archive): If ah->mmap_base is not NULL, use that and
11618 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11619 * sysdeps/generic/libc-mmap.h: New file.
11621 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11623 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11624 (ALIGN_UP): Likewise.
11625 (PTR_ALIGN_DOWN): Likewise.
11626 (PTR_ALIGN_UP): Likewise.
11628 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11630 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11631 entry mapped to PPC_PLATFORM_POWER8.
11632 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11634 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11635 (_dl_string_platform): Add case for exporting platform position for
11637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11638 search path to sysdeps/powerpc/powerpc32/power8 directory.
11639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11640 search path to sysdeps/powerpc/powerpc64/power8 directory.
11641 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11642 power7 directories.
11643 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11644 power7 directories.
11646 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11648 * INSTALL: Regenerate.
11650 * nscd/connections.c (nscd_init): Fix comment.
11652 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11654 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11657 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11658 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11660 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11662 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11664 (DL_DST_REQ_STATIC): Remove macro.
11666 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11669 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11670 with a shift of 0 bits.
11672 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11674 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11677 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11680 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11682 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11684 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11685 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11686 accepts -fno-tree-loop-distribute-patterns.
11687 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11688 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11690 * string/memset.c (memset): Likewise.
11691 * string/test-memmove.c (simple_memmove): Disable loop transformation
11693 * string/test-memset.c (simple_memset): Likewise.
11694 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11695 * benchtests/bench-memset.c (simple_memset): Likewise.
11696 * configure: Regenerated.
11698 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11700 * math/test-misc.c (main): Ignore fesetround failure when failures
11701 of subsequent rounding tests would be ignored.
11704 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11705 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11706 * math/fegetenv.c (__fegetenv): Return 0.
11707 * math/fegetexcept.c (fegetexcept): Return 0.
11708 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11710 * math/feholdexcpt.c (feholdexcept): Return 0.
11711 * math/fesetenv.c (__fesetenv): Return 0.
11712 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11713 argument FE_TONEAREST.
11714 * math/feupdateenv.c (__feupdateenv): Return 0.
11715 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11717 2013-06-18 Roland McGrath <roland@hack.frob.com>
11719 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11720 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11721 ($(objpfx)rtld-%.os rules): Use them.
11723 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11725 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11728 2013-06-17 Roland McGrath <roland@hack.frob.com>
11730 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11731 length of target pattern, then descending length of dependency pattern.
11732 * configure.in (AWK): Require gawk 3.1.2 or newer.
11733 * manual/install.texi (Tools for Compilation): Say that we do.
11734 * configure: Regenerated.
11736 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11737 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11738 * scripts/sysd-rules.awk: ... this new script.
11739 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11740 than a glob-style pattern.
11742 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11744 * math/test-misc.c (main): Do not treat incorrectly rounded
11745 conversions as failure unless ROUNDING_TESTS passes.
11747 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11750 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11751 restore exception state around main square root computation, then
11752 check for inexactness explicitly.
11754 * math/libm-test.inc (fma_test_data): Add another test.
11756 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11758 * manual/threads.texi (Non-POSIX Extensions): New document
11759 node. Document pthread_getattr_default_np and
11760 pthread_setattr_default_np.
11762 * Versions.def (libpthread): Add GLIBC_2.18.
11763 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11772 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11783 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11786 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11788 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11789 H.J. Lu <hjl.tools@gmail.com>
11792 * sysdeps/x86_64/rtld-memset.c: Remove file.
11793 * sysdeps/x86_64/rtld-memset.S: New file.
11795 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11797 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11798 (test_in_one_mode): Take arguments for whether the rounding mode
11799 is supported for each floating-point type.
11800 (do_test): Pass new arguments to test_in_one_mode using
11803 2013-06-13 Roland McGrath <roland@hack.frob.com>
11805 * posix/tst-waitid.c (do_test): Distinguish different instances of
11806 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11807 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11808 before entering the kernel for waitpid.
11810 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11812 * NEWS: Fix note on clock function precision. Text by Roland
11815 2013-06-13 Roland McGrath <roland@hack.frob.com>
11817 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11818 it into place only when and if the sanity check passes.
11820 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11822 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11823 output for whether conversion result is exact. Take argument
11824 indicating whether type is IBM long double.
11825 (round_for_all): Change need_exact field to ibm_ld.
11826 * stdlib/tst-strtod-round.c (struct exactness): New type.
11827 (struct test): Change bool ld_ok field to struct exactness exact.
11828 (TEST): Update all definitions for change to field.
11829 (tests): Regenerate array contents.
11830 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11831 field value. Check for IBM long double here.
11832 (do_test): Update calls to test_in_one_mode.
11834 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11837 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11838 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11840 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11843 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11844 generated by the compiler on loop optimizations.
11845 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11846 general definitions.
11848 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11850 * math/bug-nextafter.c: Include <math-tests.h>.
11851 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11853 * math/bug-nexttoward.c: Include <math-tests.h>.
11854 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11856 * math/test-misc.c: Include <math-tests.h>.
11857 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11860 2013-06-12 Andreas Jaeger <aj@suse.de>
11862 * po/ia.po: Update Interlingua translation from translation
11865 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11867 * include/fenv.h: Include stdbool.h.
11868 (struct rm_ctx): New structure.
11869 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11871 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11872 (SET_RESTORE_ROUNDF): Likewise.
11873 (SET_RESTORE_ROUNDL): Likewise.
11874 (SET_RESTORE_ROUND_NOEX): Likewise.
11875 (SET_RESTORE_ROUND_NOEXF): Likewise.
11876 (SET_RESTORE_ROUND_NOEXL): Likewise.
11877 (SET_RESTORE_ROUND_53BIT): Likewise.
11878 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11879 (libc_feresetround_noexf_ctx): Likewise.
11880 (libc_feresetround_noexl_ctx): Likewise.
11881 (libc_feholdsetround_53bit_ctx): Likewise.
11882 (libc_feresetround_53bit_ctx): Likewise.
11883 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11884 (libc_feholdexcept_setround_sse_ctx): New function.
11885 (libc_fesetenv_sse_ctx): Likewise.
11886 (libc_feupdateenv_sse_ctx): Likewise.
11887 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11888 (libc_feholdexcept_setround_387_ctx): Likewise.
11889 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11890 (libc_feholdsetround_387_prec_ctx): Likewise.
11891 (libc_feholdsetround_387_ctx): Likewise.
11892 (libc_feholdsetround_387_53bit_ctx): Likewise.
11893 (libc_feholdsetround_sse_ctx): Likewise.
11894 (libc_feresetround_sse_ctx): Likewise.
11895 (libc_feresetround_387_ctx): Likewise.
11896 (libc_feupdateenv_387_ctx): Likewise.
11897 (libc_feholdexcept_setroundf_ctx): Define macro.
11898 (libc_fesetenvf_ctx): Likewise.
11899 (libc_feupdateenvf_ctx): Likewise.
11900 (libc_feholdsetroundf_ctx): Likewise.
11901 (libc_feresetroundf_ctx): Likewise.
11902 (libc_feholdexcept_setround_ctx): Likewise.
11903 (libc_fesetenv_ctx): Likewise.
11904 (libc_feupdateenv_ctx): Likewise.
11905 (libc_feholdsetround_ctx): Likewise.
11906 (libc_feresetround_ctx): Likewise.
11907 (libc_feholdexcept_setroundl_ctx): Likewise.
11908 (libc_feupdateenvl_ctx): Likewise.
11909 (libc_feholdsetroundl_ctx): Likewise.
11910 (libc_feresetroundl_ctx): Likewise.
11911 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11912 (libc_feresetround_53bit_ctx): Likewise.
11914 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11916 * locale/iso-639.def: Convert to UTF-8.
11918 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11920 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11921 (EXCEPTION_TESTS_double): Likewise.
11922 (EXCEPTION_TESTS_long_double): Likewise.
11923 (EXCEPTION_TESTS): Likewise.
11924 * math/libm-test.inc (test_exceptions): Only test exceptions if
11925 EXCEPTION_TESTS (FLOAT).
11927 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11929 * benchtests/Makefile (string-bench): Add strcpy_chk and
11931 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11932 * benchtests/bench-stpcpy_chk.c: New file.
11933 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11934 * benchtests/bench-strcpy_chk.c: New file.
11935 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11937 (do_test): Likewise.
11939 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11941 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11942 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11943 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11944 with tabs where appropriate.
11945 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11947 [PPC_PLATFORM_PPC440]: Likewise.
11948 [PPC_PLATFORM_PPC464]: Likewise.
11949 [PPC_PLATFORM_PPC476]: Likewise.
11950 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11951 ppc464, and ppc476 platform strings merging from ports/
11954 2013-06-11 Andreas Schwab <schwab@suse.de>
11957 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11958 (from_ucs4_idx): Regenerate.
11959 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11960 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11961 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11962 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11963 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11964 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11965 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11966 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11967 from FROM_LOOP and TO_LOOP specific macros.
11968 (BODY): Handle combining characters.
11969 * iconvdata/BIG5HKSCS.irreversible: Update.
11970 * iconvdata/BIG5HKSCS.precomposed: New file.
11971 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11973 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11975 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11977 * include/sys/time.h: Fix indentation and add copyright header.
11979 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11980 (do_test): Likewise.
11981 * string/test-memchr.c (do_one_test): Likewise.
11982 (do_test): Likewise.
11983 * string/test-memcmp.c (do_one_test): Likewise.
11984 (do_test): Likewise.
11985 * string/test-memcpy.c (do_one_test): Likewise.
11986 (do_test): Likewise.
11987 * string/test-memmem.c (do_one_test): Likewise.
11988 (do_test): Likewise.
11989 (do_random_tests): Likewise.
11990 * string/test-memmove.c (do_one_test): Likewise.
11991 (do_test): Likewise.
11992 * string/test-memset.c (do_one_test): Likewise.
11993 (do_test): Likewise.
11994 * string/test-rawmemchr.c (do_one_test): Likewise.
11995 (do_test): Likewise.
11996 * string/test-strcasecmp.c (do_one_test): Likewise.
11997 (do_test): Likewise.
11998 * string/test-strcasestr.c (do_one_test): Likewise.
11999 (do_test): Likewise.
12000 * string/test-strcat.c (do_one_test): Likewise.
12001 (do_test): Likewise.
12002 * string/test-strchr.c (do_one_test): Likewise.
12003 (do_test): Likewise.
12004 * string/test-strcmp.c (do_one_test): Likewise.
12005 (do_test): Likewise.
12006 * string/test-strcpy.c (do_one_test): Likewise.
12007 (do_test): Likewise.
12008 * string/test-string.h: Likewise.
12009 (test_init): Likewise.
12010 * string/test-strlen.c (do_one_test): Likewise.
12011 (do_test): Likewise.
12012 * string/test-strncasecmp.c (do_one_test): Likewise.
12013 (do_test): Likewise.
12014 * string/test-strncat.c (do_one_test): Likewise.
12015 (do_test): Likewise.
12016 * string/test-strncmp.c (do_one_test): Likewise.
12017 (do_test_limit): Likewise.
12018 (do_test): Likewise.
12019 * string/test-strncpy.c (do_one_test): Likewise.
12020 (do_test): Likewise.
12021 * string/test-strnlen.c (do_one_test): Likewise.
12022 (do_test): Likewise.
12023 * string/test-strpbrk.c (do_one_test): Likewise.
12024 (do_test): Likewise.
12025 * string/test-strrchr.c (do_one_test): Likewise.
12026 (do_test): Likewise.
12027 * string/test-strspn.c (do_one_test): Likewise.
12028 (do_test): Likewise.
12029 * string/test-strstr.c (do_one_test): Likewise.
12030 (do_test): Likewise.
12032 * benchtests/Makefile (string-bench): Add string benchmarks.
12033 * benchtests/bench-bcopy-ifunc.c: New file.
12034 * benchtests/bench-bcopy.c: New file.
12035 * benchtests/bench-bzero-ifunc.c: New file.
12036 * benchtests/bench-bzero.c: New file.
12037 * benchtests/bench-memccpy-ifunc.c: New file.
12038 * benchtests/bench-memccpy.c: New file.
12039 * benchtests/bench-memchr-ifunc.c: New file.
12040 * benchtests/bench-memchr.c: New file.
12041 * benchtests/bench-memcmp-ifunc.c: New file.
12042 * benchtests/bench-memcmp.c: New file.
12043 * benchtests/bench-memmem-ifunc.c: New file.
12044 * benchtests/bench-memmem.c: New file.
12045 * benchtests/bench-memmove-ifunc.c: New file.
12046 * benchtests/bench-memmove.c: New file.
12047 * benchtests/bench-mempcpy-ifunc.c: New file.
12048 * benchtests/bench-mempcpy.c: New file.
12049 * benchtests/bench-memset-ifunc.c: New file.
12050 * benchtests/bench-memset.c: New file.
12051 * benchtests/bench-rawmemchr-ifunc.c: New file.
12052 * benchtests/bench-rawmemchr.c: New file.
12053 * benchtests/bench-stpcpy-ifunc.c: New file.
12054 * benchtests/bench-stpcpy.c: New file.
12055 * benchtests/bench-stpncpy-ifunc.c: New file.
12056 * benchtests/bench-stpncpy.c: New file.
12057 * benchtests/bench-strcasecmp-ifunc.c: New file.
12058 * benchtests/bench-strcasecmp.c: New file.
12059 * benchtests/bench-strcasestr-ifunc.c: New file.
12060 * benchtests/bench-strcasestr.c: New file.
12061 * benchtests/bench-strcat-ifunc.c: New file.
12062 * benchtests/bench-strcat.c: New file.
12063 * benchtests/bench-strchr-ifunc.c: New file.
12064 * benchtests/bench-strchr.c: New file.
12065 * benchtests/bench-strchrnul-ifunc.c: New file.
12066 * benchtests/bench-strchrnul.c: New file.
12067 * benchtests/bench-strcmp-ifunc.c: New file.
12068 * benchtests/bench-strcmp.c: New file.
12069 * benchtests/bench-strcpy-ifunc.c: New file.
12070 * benchtests/bench-strcpy.c: New file.
12071 * benchtests/bench-strcspn-ifunc.c: New file.
12072 * benchtests/bench-strcspn.c: New file.
12073 * benchtests/bench-strlen-ifunc.c: New file.
12074 * benchtests/bench-strlen.c: New file.
12075 * benchtests/bench-strncasecmp-ifunc.c: New file.
12076 * benchtests/bench-strncasecmp.c: New file.
12077 * benchtests/bench-strncat-ifunc.c: New file.
12078 * benchtests/bench-strncat.c: New file.
12079 * benchtests/bench-strncmp-ifunc.c: New file.
12080 * benchtests/bench-strncmp.c: New file.
12081 * benchtests/bench-strncpy-ifunc.c: New file.
12082 * benchtests/bench-strncpy.c: New file.
12083 * benchtests/bench-strnlen-ifunc.c: New file.
12084 * benchtests/bench-strnlen.c: New file.
12085 * benchtests/bench-strpbrk-ifunc.c: New file.
12086 * benchtests/bench-strpbrk.c: New file.
12087 * benchtests/bench-strrchr-ifunc.c: New file.
12088 * benchtests/bench-strrchr.c: New file.
12089 * benchtests/bench-strspn-ifunc.c: New file.
12090 * benchtests/bench-strspn.c: New file.
12091 * benchtests/bench-strstr-ifunc.c: New file.
12092 * benchtests/bench-strstr.c: New file.
12094 * benchtests/Makefile: Disable parallel execution of targets.
12095 (string-bench): Add memcpy.
12096 (benchset): New variable to store a list of benchmark sets.
12097 (bench-func): Renamed from bench.
12098 (bench-set): New target.
12099 (bench): Depend on bench-func and bench-set.
12100 * benchtests/README: Add section on benchmark sets.
12101 * benchtests/bench-memcpy-ifunc.c: New file.
12102 * benchtests/bench-memcpy.c: New file.
12103 * benchtests/bench-string.h: New file.
12105 2013-06-11 Andreas Schwab <schwab@suse.de>
12108 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12109 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12110 values in the triple.
12111 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12112 terminator in the group key.
12114 2013-06-11 Andreas Jaeger <aj@suse.de>
12116 * po/zh_TW.po: Update Chinese (traditional) translation from
12117 translation project.
12119 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12121 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12122 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12123 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12124 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12125 (clock_getcpuclockid): Likewise.
12126 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12127 Add weak_alias and libc_hidden_def.
12128 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12129 * rt/clock_gettime.c (clock_gettime): Rename to
12130 __clock_gettime. Add weak_alias and libc_hidden_def.
12131 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12132 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12133 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12134 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12135 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12137 * rt/clock_settime.c (clock_settime): Rename to
12138 __clock_settime. Add weak_alias and libc_hidden_def.
12139 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12141 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12143 * mach/err_boot.sub: Remove trailing whitespace.
12144 * mach/err_ipc.sub: Likewise.
12145 * mach/err_mach.sub: Likewise.
12147 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12148 (ROUNDING_TESTS_double): Likewise.
12149 (ROUNDING_TESTS_long_double): Likewise.
12150 (ROUNDING_TESTS): Likewise.
12151 * math/libm-test.inc: Include <math-tests.h>.
12152 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12153 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12154 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12155 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12157 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12159 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12162 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12164 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12165 otherwise empty TRANS lines.
12166 * sysdeps/gnu/errlist.c: Regenerated.
12168 * catgets/gencat.c (error_print): Use (void) in function
12170 * crypt/crypt_util.c (__init_des): Likewise.
12171 * crypt/speeds.c (Stop): Likewise.
12173 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12174 * inet/ruserpass.c (token): Likewise.
12175 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12176 * intl/localealias.c (extend_alias_table): Likewise.
12177 * intl/plural-exp.c (init_germanic_plural): Likewise.
12178 * libio/fcloseall.c (__fcloseall): Likewise.
12179 * libio/genops.c (_IO_flush_all): Likewise.
12180 (_IO_flush_all_linebuffered): Likewise.
12181 (_IO_cleanup): Likewise.
12182 (_IO_iter_begin): Likewise.
12183 (_IO_iter_end): Likewise.
12184 (_IO_list_lock): Likewise.
12185 (_IO_list_unlock): Likewise.
12186 (_IO_list_resetlock): Likewise.
12187 * libio/getchar.c (getchar): Likewise.
12188 * libio/getchar_u.c (getchar_unlocked): Likewise.
12189 * libio/getwchar.c (getwchar): Likewise.
12190 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12191 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12192 * login/getpt.c (__getpt): Likewise.
12193 * login/tst-utmp.c (main): Likewise.
12194 * malloc/hooks.c (__malloc_check_init): Likewise.
12195 * malloc/malloc.c (__malloc_stats): Likewise.
12196 * malloc/mtrace.c (tr_break): Likewise.
12197 (mtrace): Likewise.
12198 (muntrace): Likewise.
12199 * misc/fstab.c (endfsent): Likewise.
12200 * misc/getclktck.c (__getclktck): Likewise.
12201 * misc/getdtsz.c (__getdtablesize): Likewise.
12202 * misc/gethostid.c (gethostid): Likewise.
12203 * misc/getpagesize.c (__getpagesize): Likewise.
12204 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12205 (__get_nprocs): Likewise.
12206 (__get_phys_pages): Likewise.
12207 (__get_avphys_pages): Likewise.
12208 * misc/getttyent.c (getttyent): Likewise.
12209 (setttyent): Likewise.
12210 (endttyent): Likewise.
12211 * misc/getusershell.c (getusershell): Likewise.
12212 (endusershell): Likewise.
12213 (setusershell): Likewise.
12214 (initshells): Likewise.
12215 * misc/hsearch.c (__hdestroy): Likewise.
12216 * misc/sync.c (sync): Likewise.
12217 * misc/syslog.c (closelog_internal): Likewise.
12218 (closelog): Likewise.
12219 * misc/ttyslot.c (ttyslot): Likewise.
12220 * misc/vhangup.c (vhangup): Likewise.
12221 * posix/fork.c (__fork): Likewise.
12222 * posix/getegid.c (__getegid): Likewise.
12223 * posix/geteuid.c (__geteuid): Likewise.
12224 * posix/getgid.c (__getgid): Likewise.
12225 * posix/getpid.c (__getpid): Likewise.
12226 * posix/getppid.c (__getppid): Likewise.
12227 * posix/getuid.c (__getuid): Likewise.
12228 * posix/pause.c (pause): Likewise.
12229 * posix/setpgrp.c (setpgrp): Likewise.
12230 * posix/setsid.c (__setsid): Likewise.
12231 * posix/test-vfork.c (noop): Likewise.
12232 * resolv/gethnamaddr.c (_endhtent): Likewise.
12233 (_gethtent): Likewise.
12234 (ht_endhostent): Likewise.
12235 (gethostent): Likewise.
12236 (dns_service): Likewise.
12237 * stdlib/drand48.c (drand48): Likewise.
12238 * stdlib/lrand48.c (lrand48): Likewise.
12239 * stdlib/mrand48.c (mrand48): Likewise.
12240 * stdlib/rand.c (rand): Likewise.
12241 * stdlib/random.c (__random): Likewise.
12242 * stdlib/setenv.c (clearenv): Likewise.
12243 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12244 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12245 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12246 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12247 (__get_nprocs): Likewise.
12248 (__get_phys_pages): Likewise.
12249 (__get_avphys_pages): Likewise.
12250 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12251 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12252 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12253 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12254 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12255 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12256 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12257 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12258 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12259 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12260 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12261 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12262 * sysdeps/posix/clock.c (clock): Likewise.
12263 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12264 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12265 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12266 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12267 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12268 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12269 (__get_nprocs_conf): Likewise.
12270 (__get_phys_pages): Likewise.
12271 (__get_avphys_pages): Likewise.
12272 * time/clock.c (clock): Likewise.
12273 * time/tzset.c (__tzname_max): Likewise.
12275 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12277 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12278 (__bswap_32): Do not use "register".
12279 * crypt/crypt.c (_ufc_doit_r): Likewise.
12280 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12281 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12282 * gmon/gmon.c (__monstartup): Likewise.
12283 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12284 * hurd/hurdmalloc.c (more_memory): Likewise.
12285 (malloc): Likewise.
12287 (realloc): Likewise.
12288 (malloc_fork_prepare): Likewise.
12289 (malloc_fork_parent): Likewise.
12290 (malloc_fork_child): Likewise.
12291 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12292 (_svcauth_des): Likewise.
12293 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12294 * inet/inet_net.c (inet_network): Likewise.
12295 * inet/inet_netof.c (inet_netof): Likewise.
12296 * inet/rcmd.c (__validuser2_sa): Likewise.
12297 * io/fts.c (fts_open): Likewise.
12298 (fts_load): Likewise.
12299 (fts_close): Likewise.
12300 (fts_read): Likewise.
12301 (fts_children): Likewise.
12302 (fts_build): Likewise.
12303 (fts_stat): Likewise.
12304 (fts_sort): Likewise.
12305 (fts_alloc): Likewise.
12306 (fts_lfree): Likewise.
12307 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12308 (_IO_file_xsgetn): Likewise.
12309 (_IO_file_xsgetn_mmap): Likewise.
12310 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12311 (_IO_cookie_write): Likewise.
12312 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12313 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12314 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12315 * malloc/obstack.c (_obstack_begin): Likewise.
12316 (_obstack_begin_1): Likewise.
12317 (_obstack_newchunk): Likewise.
12318 (_obstack_allocated_p): Likewise.
12319 (obstack_free): Likewise.
12320 (_obstack_memory_used): Likewise.
12321 * misc/getttyent.c (getttynam): Likewise.
12322 (getttyent): Likewise.
12325 * misc/getusershell.c (initshells): Likewise.
12326 * misc/syslog.c (__vsyslog_chk): Likewise.
12327 * misc/ttyslot.c (ttyslot): Likewise.
12328 * nis/nis_hash.c (__nis_hash): Likewise.
12329 * posix/fnmatch_loop.c (FCT): Likewise.
12330 * posix/getconf.c (print_all): Likewise.
12332 * posix/getopt.c (exchange): Likewise.
12333 * posix/glob.c (globfree): Likewise.
12334 (prefix_array): Likewise.
12335 (__glob_pattern_type): Likewise.
12336 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12337 (NS_GET32): Likewise.
12338 (NS_PUT16): Likewise.
12339 (NS_PUT32): Likewise.
12340 * resolv/gethnamaddr.c (getanswer): Likewise.
12341 (gethostbyname2): Likewise.
12342 (gethostbyaddr): Likewise.
12343 (_gethtent): Likewise.
12344 (_gethtbyname2): Likewise.
12345 (_gethtbyaddr): Likewise.
12346 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12347 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12348 * resolv/res_init.c (__res_vinit): Likewise.
12349 (net_mask): Likewise.
12350 * resolv/res_mkquery.c (outchar): Likewise.
12352 * stdio-common/printf_fp.c (outchar): Likewise.
12354 * stdio-common/printf_fphex.c (outchar): Likewise.
12356 * stdio-common/printf_size.c (outchar): Likewise.
12358 * stdio-common/test_rdwr.c (main): Likewise.
12359 * stdio-common/tfformat.c (matches): Likewise.
12360 * stdio-common/vfprintf.c (outchar): Likewise.
12361 (printf_unknown): Likewise.
12362 (buffered_vfprintf): Likewise.
12363 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12364 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12365 (ReadFile): Likewise.
12366 * stdlib/qsort.c (SWAP): Likewise.
12367 (_quicksort): Likewise.
12368 * stdlib/setenv.c (__add_to_environ): Likewise.
12369 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12370 * stdlib/strtol_l.c (__strtol_l): Likewise.
12371 * stdlib/tst-strtod.c (main): Likewise.
12372 * stdlib/tst-strtol.c (main): Likewise.
12373 * stdlib/tst-strtoll.c (main): Likewise.
12374 * string/bits/string2.h (__strcmp_cc): Likewise.
12375 (__strcmp_cg): Likewise.
12376 (__strcspn_c1): Likewise.
12377 (__strcspn_c2): Likewise.
12378 (__strcspn_c3): Likewise.
12379 (__strspn_c1): Likewise.
12380 (__strspn_c2): Likewise.
12381 (__strspn_c3): Likewise.
12382 (__strsep_1c): Likewise.
12383 (__strsep_2c): Likewise.
12384 (__strsep_3c): Likewise.
12385 * string/memccpy.c (__memccpy): Likewise.
12386 * string/stpcpy.c (__stpcpy): Likewise.
12387 * string/strcmp.c (strcmp): Likewise.
12388 * string/strrchr.c (strrchr): Likewise.
12389 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12391 * sysdeps/mach/hurd/getcwd.c
12392 (_hurd_canonicalize_directory_name_internal): Likewise.
12393 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12394 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12395 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12396 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12397 Likewise, in both definitions.
12398 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12400 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12401 64] (__bswap_64): Likewise.
12402 * time/test_time.c (main): Likewise.
12403 * time/tzfile.c (__tzfile_read): Likewise.
12404 (__tzfile_compute): Likewise.
12405 * time/tzset.c (__tzset_parse_tz): Likewise.
12406 (tzset_internal): Likewise.
12407 (compute_change): Likewise.
12408 * wcsmbs/wcscat.c (__wcscat): Likewise.
12409 * wcsmbs/wcschr.c (wcschr): Likewise.
12410 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12411 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12412 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12413 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12414 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12415 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12416 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12417 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12418 * wcsmbs/wmemset.c (wmemset): Likewise.
12420 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12422 * scripts/config.guess: Update to version 2013-05-16.
12423 * scripts/config.sub: Update to version 2013-04-24.
12424 * scripts/install-sh: Update to version 2011-11-20.07.
12425 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12426 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12428 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12430 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12431 * elf/sln.c: Likewise.
12432 * hurd/hurd/ioctl.h: Likewise.
12433 * hurd/hurdmalloc.c: Likewise.
12434 * hurd/xattr.c: Likewise.
12435 * include/shlib-compat.h: Likewise.
12436 * inet/ruserpass.c: Likewise.
12437 * libio/iofgets_u.c: Likewise.
12438 * libio/iofgetws_u.c: Likewise.
12439 * locale/programs/ld-identification.c: Likewise.
12440 * locale/programs/ld-time.c: Likewise.
12441 * mach/msg-destroy.c: Likewise.
12442 * nss/nss_files/files-netgrp.c: Likewise.
12443 * resolv/res_data.c: Likewise.
12444 * soft-fp/op-1.h: Likewise.
12445 * soft-fp/op-2.h: Likewise.
12446 * soft-fp/op-4.h: Likewise.
12447 * soft-fp/op-common.h: Likewise.
12448 * stdio-common/printf_fphex.c: Likewise.
12449 * stdlib/strtod_l.c: Likewise.
12450 * sunrpc/rpc/clnt.h: Likewise.
12451 * sysdeps/generic/framestate.c: Likewise.
12452 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12453 * sysdeps/i386/bsd-setjmp.S: Likewise.
12454 * sysdeps/i386/__longjmp.S: Likewise.
12455 * sysdeps/i386/setjmp.S: Likewise.
12456 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12457 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12458 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12459 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12460 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12461 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12462 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12463 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12464 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12465 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12466 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12467 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12468 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12469 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12470 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12471 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12472 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12473 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12474 * sysdeps/ieee754/support.c: Likewise.
12475 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12476 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12477 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12478 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12479 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12480 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12481 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12482 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12483 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12484 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12485 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12486 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12487 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12488 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12489 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12490 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12491 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12494 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12496 * posix/transbug.c: Remove executable mode.
12498 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12500 * crypt/speeds.c: Remove trailing whitespace.
12501 * dlfcn/default.c: Likewise.
12502 * elf/ifuncdep2.c: Likewise.
12503 * elf/ifuncmain1.c: Likewise.
12504 * elf/ifuncmain1vis.c: Likewise.
12505 * elf/testobj.h: Likewise.
12506 * elf/tst-stackguard1.c: Likewise.
12507 * gmon/sys/gmon.h: Likewise.
12508 * hurd/hurdmsg.c: Likewise.
12509 * hurd/new-fd.c: Likewise.
12510 * hurd/ports-get.c: Likewise.
12511 * iconvdata/ibm1008_420.c: Likewise.
12512 * inet/tst-getni1.c: Likewise.
12513 * inet/tst-getni2.c: Likewise.
12514 * libio/ioungetc.c: Likewise.
12515 * libio/wfiledoalloc.c: Likewise.
12516 * manual/libm-err-tab.pl: Likewise.
12517 * math/w_dremf.c: Likewise.
12518 * misc/ftruncate.c: Likewise.
12519 * posix/bug-glob2.c: Likewise.
12520 * posix/tst-pcre.c: Likewise.
12521 * posix/wait4.c: Likewise.
12522 * resolv/README: Likewise.
12523 * resolv/res_debug.h: Likewise.
12524 * resolv/tst-inet_ntop.c: Likewise.
12525 * setjmp/bug269-setjmp.c: Likewise.
12526 * soft-fp/extended.h: Likewise.
12527 * soft-fp/op-1.h: Likewise.
12528 * soft-fp/op-2.h: Likewise.
12529 * soft-fp/op-4.h: Likewise.
12530 * soft-fp/op-8.h: Likewise.
12531 * soft-fp/testit.c: Likewise.
12532 * stdio-common/bug16.c: Likewise.
12533 * stdlib/random.c: Likewise.
12534 * sunrpc/rpcsvc/rquota.x: Likewise.
12535 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12536 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12537 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12538 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12539 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12540 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12541 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12542 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12543 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12544 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12545 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12546 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12547 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12548 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12549 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12550 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12551 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12552 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12553 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12554 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12555 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12556 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12557 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12558 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12559 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12560 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12561 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12562 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12563 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12564 * sysdeps/ieee754/s_lib_version.c: Likewise.
12565 * sysdeps/mach/hurd/check_fds.c: Likewise.
12566 * sysdeps/mach/hurd/getsockname.c: Likewise.
12567 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12568 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12569 * sysdeps/powerpc/bits/link.h: Likewise.
12570 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12571 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12572 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12573 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12574 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12575 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12576 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12577 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12578 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12579 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12580 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12581 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12582 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12583 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12584 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12585 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12586 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12587 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12588 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12589 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12590 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12591 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12592 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12593 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12594 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12595 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12596 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12597 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12598 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12599 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12600 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12601 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12602 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12603 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12604 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12605 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12606 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12607 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12608 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12609 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12610 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12611 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12612 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12613 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12614 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12615 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12616 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12617 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12618 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12619 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12620 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12621 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12622 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12623 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12624 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12625 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12626 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12627 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12628 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12629 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12630 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12631 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12632 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12633 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12634 * sysdeps/powerpc/sysdep.h: Likewise.
12635 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12636 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12637 * sysdeps/sh/dl-trampoline.S: Likewise.
12638 * sysdeps/sh/memset.S: Likewise.
12639 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12640 * sysdeps/sh/strlen.S: Likewise.
12641 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12642 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12643 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12644 * sysdeps/sparc/sparc32/rem.S: Likewise.
12645 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12646 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12647 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12648 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12649 * sysdeps/sparc/sparc32/urem.S: Likewise.
12650 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12651 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12652 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12653 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12654 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12655 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12656 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12657 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12658 * sysdeps/unix/bsd/times.c: Likewise.
12659 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12660 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12664 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12665 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12666 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12667 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12668 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12669 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12670 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12671 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12672 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12673 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12674 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12675 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12676 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12677 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12678 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12679 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12680 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12681 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12682 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12683 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12684 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12685 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12686 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12687 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12688 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12689 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12690 * sysdeps/x86_64/strcspn.S: Likewise.
12692 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12694 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12695 generated file. Regenerate properly from gen-translit.pl.
12696 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12697 locale/C-translit.h.
12699 2013-06-05 Andreas Schwab <schwab@suse.de>
12702 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12703 week as 6 instead of -1.
12704 * time/tst-strptime.c (day_tests): Add test case.
12706 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12708 * sysdeps/generic/math_private.h
12709 (libc_feholdexcept_setround_53bit): Replace with
12710 libc_feholdsetround_53bit.
12711 (libc_feupdateenv_53bit): Replace with
12712 libc_feresetround_53bit.
12713 (SET_RESTORE_ROUND_53BIT): Adjust.
12715 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12717 * string/test-strchrnul.c: Add copyright header.
12719 * posix/tst-getaddrinfo4.c: Increase test timeout.
12721 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12724 * math/libm-test.inc (MAX_EXP): Remove
12726 (ulp): Use MIN_EXP - MANT_DIG.
12727 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12729 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12731 * po/be.po: Revert last change.
12732 * po/zh_CN.po: Likewise.
12733 * po/header.pot: Likewise.
12735 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12737 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12738 link-libc-deps to empty as target-specific variable.
12739 * Makerules (link-libc-args): New variable.
12740 (libc-for-link): Likewise.
12741 (link-libc-deps): Likewise.
12742 (lib%.so): Depend on $(link-libc-deps). Link with
12744 (build-module): Link with $(link-libc-args).
12745 (build-module-asneeded): Likewise.
12746 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12748 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12749 target-specific variable.
12750 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12751 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12752 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12754 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12756 ($(objpfx)libpcprofile.so): Likewise.
12757 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12759 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12760 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12761 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12763 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12764 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12765 * login/Makefile ($(objpfx)libutil.so): Likewise.
12766 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12767 * math/Makefile ($(objpfx)libm.so): Likewise.
12768 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12769 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12770 variable instead of depending directly on libc.
12771 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12772 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12774 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12776 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12777 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12778 ($(objpfx)libanl.so): Likewise.
12779 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12781 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12783 * sysdeps/i386/fpu/Makefile: Remove file.
12784 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12785 ($(objpfx)libm.so): Remove dependency on ld.so.
12787 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12790 * nis/yp_xdr.c (XDRMAXNAME): Define.
12791 (XDRMAXRECORD): Define.
12792 (xdr_domainname): Use XDRMAXNAME.
12793 (xdr_mapname): Likewise.
12794 (xdr_peername): Likewise.
12795 (xdr_keydat): Use XDRMAXRECORD.
12796 (xdr_valdat): Likewise.
12798 2013-05-30 Jeff Law <law@redhat.com>
12801 * manual/errno.texi (ESTALE): Update to account for more than
12802 just NFS file systems.
12803 * sysdeps/gnu/errlist.c: Regenerated.
12805 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12808 * elf/Makefile (tests): Add tst-null-argv.
12809 (modules-names): Add tst-null-argv-lib.
12810 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12811 (tst-null-argv-ENV): Set environment for tst-null-argv.
12812 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12813 (RTLD_PROGNAME): New macro.
12814 * elf/tst-null-argv.c: New test case.
12815 * elf/tst-null-argv-lib.c: Library for test case.
12816 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12817 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12818 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12819 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12820 * elf/dl-init.c (call_init): Likewise.
12821 (_dl_init): Likewise.
12822 * elf/dl-load.c (print_search_path): Likewise.
12823 (_dl_map_object): Likewise.
12824 * elf/dl-lookup.c (do_lookup_x): Likewise.
12825 (add_dependency): Likewise.
12826 (_dl_lookup_symbol_x): Likewise.
12827 (_dl_debug_bindings): Likewise.
12828 * elf/dl-open.c (_dl_show_scope): Likewise.
12829 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12830 * elf/dl-version.c (match_symbol): Likewise.
12831 (_dl_check_map_versions): Likewise.
12832 * elf/rtld.c (dl_main): Likewise.
12833 (print_unresolved): Use RTLD_PROGNAME.
12834 (print_missing_version): Likewise.
12835 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12836 (elf_machine_rela): Likewise.
12837 * sysdeps/powerpc/powerpc32/dl-machine.c
12838 (__process_machine_rela): Likewise.
12839 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12841 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12843 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12845 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12846 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12848 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12850 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12852 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12854 * po/be.po: Add descriptive title.
12855 * po/zh_CN.po: Likewise.
12856 * po/header.pot: Likewise.
12858 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12860 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12862 (enlarge_archive): Likewise.
12864 2013-05-28 Ben North <ben@redfrontdoor.org>
12866 * manual/arith.texi (frexp): It is the magnitude of the return
12867 value which lies in [0.5, 1), not the return value itself.
12869 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12873 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12875 * stdio-common/bug26.c (main): Correct fscanf template.
12877 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12878 declare _dl_skip_args.
12880 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12883 * manual/platform.texi: Add missing @end deftypefun.
12885 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12888 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12889 bit of mantissa of 2^16382.
12890 * math/libm-test.inc (hypot_test_data): Add more tests.
12892 * math/libm-test.inc: Add drem and pow10 to list of tested
12894 (pow10_test): New function.
12895 (drem_test): Likewise.
12896 (drem_test_tonearest): Likewise.
12897 (drem_test_towardzero): Likewise.
12898 (drem_test_downward): Likewise.
12899 (drem_test_upward): Likewise.
12900 (main): Call the new functions.
12902 * math/libm-test.inc (finite_test_data): Remove.
12903 (finite_test): Run tests from isfinite_test_data.
12904 (gamma_test_data): Remove.
12905 (gamma_test): Run tests from lgamma_test_data.
12906 * sysdeps/i386/fpu/libm-test-ulps: Update.
12907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12909 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12911 * manual/platform.texi: Add PowerPC PPR function set documentation.
12912 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12915 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12917 * math/libm-test.inc (MAX_EXP): Define.
12919 (ulp): New function.
12920 (check_float_internal): Use ULPDIFF.
12921 (cpow_test): Disable failing test.
12922 (check_ulp): Test ulp() implemetnation.
12923 (main): Call check_ulp before starting tests.
12925 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12927 * math/gen-libm-test.pl (generate_testfile): Do not handle
12928 START_DATA and END_DATA.
12929 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12931 (acos_tonearest_test_data): Likewise.
12932 (acos_towardzero_test_data): Likewise.
12933 (acos_downward_test_data): Likewise.
12934 (acos_upward_test_data): Likewise.
12935 (acosh_test_data): Likewise.
12936 (asin_test_data): Likewise.
12937 (asin_tonearest_test_data): Likewise.
12938 (asin_towardzero_test_data): Likewise.
12939 (asin_downward_test_data): Likewise.
12940 (asin_upward_test_data): Likewise.
12941 (asinh_test_data): Likewise.
12942 (atan_test_data): Likewise.
12943 (atanh_test_data): Likewise.
12944 (atan2_test_data): Likewise.
12945 (cabs_test_data): Likewise.
12946 (cacos_test_data): Likewise.
12947 (cacosh_test_data): Likewise.
12948 (carg_test_data): Likewise.
12949 (casin_test_data): Likewise.
12950 (casinh_test_data): Likewise.
12951 (catan_test_data): Likewise.
12952 (catanh_test_data): Likewise.
12953 (cbrt_test_data): Likewise.
12954 (ccos_test_data): Likewise.
12955 (ccosh_test_data): Likewise.
12956 (ceil_test_data): Likewise.
12957 (cexp_test_data): Likewise.
12958 (cimag_test_data): Likewise.
12959 (clog_test_data): Likewise.
12960 (clog10_test_data): Likewise.
12961 (conj_test_data): Likewise.
12962 (copysign_test_data): Likewise.
12963 (cos_test_data): Likewise.
12964 (cos_tonearest_test_data): Likewise.
12965 (cos_towardzero_test_data): Likewise.
12966 (cos_downward_test_data): Likewise.
12967 (cos_upward_test_data): Likewise.
12968 (cosh_test_data): Likewise.
12969 (cosh_tonearest_test_data): Likewise.
12970 (cosh_towardzero_test_data): Likewise.
12971 (cosh_downward_test_data): Likewise.
12972 (cosh_upward_test_data): Likewise.
12973 (cpow_test_data): Likewise.
12974 (cproj_test_data): Likewise.
12975 (creal_test_data): Likewise.
12976 (csin_test_data): Likewise.
12977 (csinh_test_data): Likewise.
12978 (csqrt_test_data): Likewise.
12979 (ctan_test_data): Likewise.
12980 (ctan_tonearest_test_data): Likewise.
12981 (ctan_towardzero_test_data): Likewise.
12982 (ctan_downward_test_data): Likewise.
12983 (ctan_upward_test_data): Likewise.
12984 (ctanh_test_data): Likewise.
12985 (ctanh_tonearest_test_data): Likewise.
12986 (ctanh_towardzero_test_data): Likewise.
12987 (ctanh_downward_test_data): Likewise.
12988 (ctanh_upward_test_data): Likewise.
12989 (erf_test_data): Likewise.
12990 (erfc_test_data): Likewise.
12991 (exp_test_data): Likewise.
12992 (exp_tonearest_test_data): Likewise.
12993 (exp_towardzero_test_data): Likewise.
12994 (exp_downward_test_data): Likewise.
12995 (exp_upward_test_data): Likewise.
12996 (exp10_test_data): Likewise.
12997 (exp2_test_data): Likewise.
12998 (expm1_test_data): Likewise.
12999 (fabs_test_data): Likewise.
13000 (fdim_test_data): Likewise.
13001 (finite_test_data): Likewise.
13002 (floor_test_data): Likewise.
13003 (fma_test_data): Likewise.
13004 (fma_towardzero_test_data): Likewise.
13005 (fma_downward_test_data): Likewise.
13006 (fma_upward_test_data): Likewise.
13007 (fmax_test_data): Likewise.
13008 (fmin_test_data): Likewise.
13009 (fmod_test_data): Likewise.
13010 (fpclassify_test_data): Likewise.
13011 (frexp_test_data): Likewise.
13012 (gamma_test_data): Likewise.
13013 (hypot_test_data): Likewise.
13014 (ilogb_test_data): Likewise.
13015 (isfinite_test_data): Likewise.
13016 (isgreater_test_data): Likewise.
13017 (isgreaterequal_test_data): Likewise.
13018 (isinf_test_data): Likewise.
13019 (isless_test_data): Likewise.
13020 (islessequal_test_data): Likewise.
13021 (islessgreater_test_data): Likewise.
13022 (isnan_test_data): Likewise.
13023 (isnormal_test_data): Likewise.
13024 (issignaling_test_data): Likewise.
13025 (isunordered_test_data): Likewise.
13026 (j0_test_data): Likewise.
13027 (j1_test_data): Likewise.
13028 (jn_test_data): Likewise.
13029 (ldexp_test_data): Likewise.
13030 (lgamma_test_data): Likewise.
13031 (lrint_test_data): Likewise.
13032 (lrint_tonearest_test_data): Likewise.
13033 (lrint_towardzero_test_data): Likewise.
13034 (lrint_downward_test_data): Likewise.
13035 (lrint_upward_test_data): Likewise.
13036 (llrint_test_data): Likewise.
13037 (llrint_tonearest_test_data): Likewise.
13038 (llrint_towardzero_test_data): Likewise.
13039 (llrint_downward_test_data): Likewise.
13040 (llrint_upward_test_data): Likewise.
13041 (log_test_data): Likewise.
13042 (log10_test_data): Likewise.
13043 (log1p_test_data): Likewise.
13044 (log2_test_data): Likewise.
13045 (logb_test_data): Likewise.
13046 (logb_downward_test_data): Likewise.
13047 (lround_test_data): Likewise.
13048 (llround_test_data): Likewise.
13049 (modf_test_data): Likewise.
13050 (nearbyint_test_data): Likewise.
13051 (nextafter_test_data): Likewise.
13052 (nexttoward_test_data): Likewise.
13053 (pow_test_data): Likewise.
13054 (pow_tonearest_test_data): Likewise.
13055 (pow_towardzero_test_data): Likewise.
13056 (pow_downward_test_data): Likewise.
13057 (pow_upward_test_data): Likewise.
13058 (remainder_test_data): Likewise.
13059 (remainder_tonearest_test_data): Likewise.
13060 (remainder_towardzero_test_data): Likewise.
13061 (remainder_downward_test_data): Likewise.
13062 (remainder_upward_test_data): Likewise.
13063 (remquo_test_data): Likewise.
13064 (rint_test_data): Likewise.
13065 (rint_tonearest_test_data): Likewise.
13066 (rint_towardzero_test_data): Likewise.
13067 (rint_downward_test_data): Likewise.
13068 (rint_upward_test_data): Likewise.
13069 (round_test_data): Likewise.
13070 (scalb_test_data): Likewise.
13071 (scalbn_test_data): Likewise.
13072 (scalbln_test_data): Likewise.
13073 (signbit_test_data): Likewise.
13074 (sin_test_data): Likewise.
13075 (sin_tonearest_test_data): Likewise.
13076 (sin_towardzero_test_data): Likewise.
13077 (sin_downward_test_data): Likewise.
13078 (sin_upward_test_data): Likewise.
13079 (sincos_test_data): Likewise.
13080 (sinh_test_data): Likewise.
13081 (sinh_tonearest_test_data): Likewise.
13082 (sinh_towardzero_test_data): Likewise.
13083 (sinh_downward_test_data): Likewise.
13084 (sinh_upward_test_data): Likewise.
13085 (sqrt_test_data): Likewise.
13086 (tan_test_data): Likewise.
13087 (tan_tonearest_test_data): Likewise.
13088 (tan_towardzero_test_data): Likewise.
13089 (tan_downward_test_data): Likewise.
13090 (tan_upward_test_data): Likewise.
13091 (tanh_test_data): Likewise.
13092 (tgamma_test_data): Likewise.
13093 (trunc_test_data): Likewise.
13094 (y0_test_data): Likewise.
13095 (y1_test_data): Likewise.
13096 (yn_test_data): Likewise.
13097 (significand_test_data): Likewise.
13099 * math/gen-libm-test.pl (@functions): Remove variable.
13100 (generate_testfile): Don't handle START and END lines.
13101 * math/libm-test.inc (START): New macro.
13103 (END_COMPLEX): Likewise.
13104 (acos_test): Use END macro without arguments.
13105 (acos_test_tonearest): Likewise.
13106 (acos_test_towardzero): Likewise.
13107 (acos_test_downward): Likewise.
13108 (acos_test_upward): Likewise.
13109 (acosh_test): Likewise.
13110 (asin_test): Likewise.
13111 (asin_test_tonearest): Likewise.
13112 (asin_test_towardzero): Likewise.
13113 (asin_test_downward): Likewise.
13114 (asin_test_upward): Likewise.
13115 (asinh_test): Likewise.
13116 (atan_test): Likewise.
13117 (atanh_test): Likewise.
13118 (atan2_test): Likewise.
13119 (cabs_test): Likewise.
13120 (cacos_test): Use END_COMPLEX macro without arguments.
13121 (cacosh_test): Likewise.
13122 (carg_test): Use END macro without arguments.
13123 (casin_test): Use END_COMPLEX macro without arguments.
13124 (casinh_test): Likewise.
13125 (catan_test): Likewise.
13126 (catanh_test): Likewise.
13127 (cbrt_test): Use END macro without arguments.
13128 (ccos_test): Use END_COMPLEX macro without arguments.
13129 (ccosh_test): Likewise.
13130 (ceil_test): Use END macro without arguments.
13131 (cexp_test): Use END_COMPLEX macro without arguments.
13132 (cimag_test): Use END macro without arguments.
13133 (clog_test): Use END_COMPLEX macro without arguments.
13134 (clog10_test): Likewise.
13135 (conj_test): Likewise.
13136 (copysign_test): Use END macro without arguments.
13137 (cos_test): Likewise.
13138 (cos_test_tonearest): Likewise.
13139 (cos_test_towardzero): Likewise.
13140 (cos_test_downward): Likewise.
13141 (cos_test_upward): Likewise.
13142 (cosh_test): Likewise.
13143 (cosh_test_tonearest): Likewise.
13144 (cosh_test_towardzero): Likewise.
13145 (cosh_test_downward): Likewise.
13146 (cosh_test_upward): Likewise.
13147 (cpow_test): Use END_COMPLEX macro without arguments.
13148 (cproj_test): Likewise.
13149 (creal_test): Use END macro without arguments.
13150 (csin_test): Use END_COMPLEX macro without arguments.
13151 (csinh_test): Likewise.
13152 (csqrt_test): Likewise.
13153 (ctan_test): Likewise.
13154 (ctan_test_tonearest): Likewise.
13155 (ctan_test_towardzero): Likewise.
13156 (ctan_test_downward): Likewise.
13157 (ctan_test_upward): Likewise.
13158 (ctanh_test): Likewise.
13159 (ctanh_test_tonearest): Likewise.
13160 (ctanh_test_towardzero): Likewise.
13161 (ctanh_test_downward): Likewise.
13162 (ctanh_test_upward): Likewise.
13163 (erf_test): Use END macro without arguments.
13164 (erfc_test): Likewise.
13165 (exp_test): Likewise.
13166 (exp_test_tonearest): Likewise.
13167 (exp_test_towardzero): Likewise.
13168 (exp_test_downward): Likewise.
13169 (exp_test_upward): Likewise.
13170 (exp10_test): Likewise.
13171 (exp2_test): Likewise.
13172 (expm1_test): Likewise.
13173 (fabs_test): Likewise.
13174 (fdim_test): Likewise.
13175 (finite_test): Likewise.
13176 (floor_test): Likewise.
13177 (fma_test): Likewise.
13178 (fma_test_towardzero): Likewise.
13179 (fma_test_downward): Likewise.
13180 (fma_test_upward): Likewise.
13181 (fmax_test): Likewise.
13182 (fmin_test): Likewise.
13183 (fmod_test): Likewise.
13184 (fpclassify_test): Likewise.
13185 (frexp_test): Likewise.
13186 (gamma_test): Likewise.
13187 (hypot_test): Likewise.
13188 (ilogb_test): Likewise.
13189 (isfinite_test): Likewise.
13190 (isgreater_test): Likewise.
13191 (isgreaterequal_test): Likewise.
13192 (isinf_test): Likewise.
13193 (isless_test): Likewise.
13194 (islessequal_test): Likewise.
13195 (islessgreater_test): Likewise.
13196 (isnan_test): Likewise.
13197 (isnormal_test): Likewise.
13198 (issignaling_test): Likewise.
13199 (isunordered_test): Likewise.
13200 (j0_test): Likewise.
13201 (j1_test): Likewise.
13202 (jn_test): Likewise.
13203 (ldexp_test): Likewise.
13204 (lgamma_test): Likewise.
13205 (lrint_test): Likewise.
13206 (lrint_test_tonearest): Likewise.
13207 (lrint_test_towardzero): Likewise.
13208 (lrint_test_downward): Likewise.
13209 (lrint_test_upward): Likewise.
13210 (llrint_test): Likewise.
13211 (llrint_test_tonearest): Likewise.
13212 (llrint_test_towardzero): Likewise.
13213 (llrint_test_downward): Likewise.
13214 (llrint_test_upward): Likewise.
13215 (log_test): Likewise.
13216 (log10_test): Likewise.
13217 (log1p_test): Likewise.
13218 (log2_test): Likewise.
13219 (logb_test): Likewise.
13220 (logb_test_downward): Likewise.
13221 (lround_test): Likewise.
13222 (llround_test): Likewise.
13223 (modf_test): Likewise.
13224 (nearbyint_test): Likewise.
13225 (nextafter_test): Likewise.
13226 (nexttoward_test): Likewise.
13227 (pow_test): Likewise.
13228 (pow_test_tonearest): Likewise.
13229 (pow_test_towardzero): Likewise.
13230 (pow_test_downward): Likewise.
13231 (pow_test_upward): Likewise.
13232 (remainder_test): Likewise.
13233 (remainder_test_tonearest): Likewise.
13234 (remainder_test_towardzero): Likewise.
13235 (remainder_test_downward): Likewise.
13236 (remainder_test_upward): Likewise.
13237 (remquo_test): Likewise.
13238 (rint_test): Likewise.
13239 (rint_test_tonearest): Likewise.
13240 (rint_test_towardzero): Likewise.
13241 (rint_test_downward): Likewise.
13242 (rint_test_upward): Likewise.
13243 (round_test): Likewise.
13244 (scalb_test): Likewise.
13245 (scalbn_test): Likewise.
13246 (scalbln_test): Likewise.
13247 (signbit_test): Likewise.
13248 (sin_test): Likewise.
13249 (sin_test_tonearest): Likewise.
13250 (sin_test_towardzero): Likewise.
13251 (sin_test_downward): Likewise.
13252 (sin_test_upward): Likewise.
13253 (sincos_test): Likewise.
13254 (sinh_test): Likewise.
13255 (sinh_test_tonearest): Likewise.
13256 (sinh_test_towardzero): Likewise.
13257 (sinh_test_downward): Likewise.
13258 (sinh_test_upward): Likewise.
13259 (sqrt_test): Likewise.
13260 (tan_test): Likewise.
13261 (tan_test_tonearest): Likewise.
13262 (tan_test_towardzero): Likewise.
13263 (tan_test_downward): Likewise.
13264 (tan_test_upward): Likewise.
13265 (tanh_test): Likewise.
13266 (tgamma_test): Likewise.
13267 (trunc_test): Likewise.
13268 (y0_test): Likewise.
13269 (y1_test): Likewise.
13270 (yn_test): Likewise.
13271 (significand_test): Likewise.
13273 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13276 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13278 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13281 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13282 __ppc_mdoio and __ppc_mdoom.
13283 * manual/platform.texi: Document new functions __ppc_yield,
13284 __ppc_mdoio and __ppc_mdoom.
13286 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13288 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13289 (main): Mention "tls" pseudo-hwcap is legacy.
13290 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13292 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13294 * math/gen-libm-test.pl (parse_args): Output only string of
13295 arguments as text for test name, not full call or descriptions of
13296 tests for extra outputs.
13297 (generate_testfile): Do not pass function name to parse_args.
13298 Generate this_func variable from START.
13299 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13301 (struct test_ff_f_data): Likewise.
13302 (test_ff_f_data_nexttoward): Likewise.
13303 (struct test_fi_f_data): Likewise.
13304 (struct test_fl_f_data): Likewise.
13305 (struct test_if_f_data): Likewise.
13306 (struct test_fff_f_data): Likewise.
13307 (struct test_c_f_data): Likewise.
13308 (struct test_f_f1_data): Likewise. Remove field extra_name.
13309 (struct test_fF_f1_data): Likewise.
13310 (struct test_ffI_f1_data): Likewise.
13311 (struct test_c_c_data): Rename test_name field to arg_str.
13312 (struct test_cc_c_data): Likewise.
13313 (struct test_f_i_data): Likewise.
13314 (struct test_ff_i_data): Likewise.
13315 (struct test_f_l_data): Likewise.
13316 (struct test_f_L_data): Likewise.
13317 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13319 (COMMON_TEST_SETUP): New macro.
13320 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13321 (COMMON_TEST_CLEANUP): Likewise.
13322 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13323 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13325 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13326 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13328 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13329 (RUN_TEST_fff_f): Take argument string. Call new setup and
13331 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13332 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13334 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13335 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13337 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13338 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13340 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13341 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13343 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13344 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13346 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13347 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13349 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13350 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13352 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13353 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13355 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13356 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13358 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13359 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13361 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13362 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13364 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13365 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13367 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13368 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13370 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13371 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13373 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13374 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13376 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13378 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13380 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13381 to _sifields.sigfault.
13382 (si_addr_lsb): Define new macro.
13383 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13384 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13385 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13387 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13390 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13392 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13394 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13395 loading the domain.
13397 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13399 * math/gen-libm-test.pl (parse_args): Do not include expected
13400 result in test name.
13401 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13402 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13403 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13404 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13405 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13408 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13410 * benchtests/Makefile: Sort function entries.
13412 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13413 tanh, asinh, acosh, atanh.
13414 * benchtests/acos-inputs: New file.
13415 * benchtests/acosh-inputs: New file.
13416 * benchtests/asin-inputs: New file.
13417 * benchtests/asinh-inputs: New file.
13418 * benchtests/atanh-inputs: New file.
13419 * benchtests/cosh-inputs: New file.
13420 * benchtests/log-inputs: New file.
13421 * benchtests/sinh-inputs: New file.
13422 * benchtests/tanh-inputs: New file.
13424 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13427 * posix/tst-getaddrinfo4.c: New test.
13428 * posix/Makefile (tests): Add it.
13430 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13433 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13434 when no services were used.
13435 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13436 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13438 2013-05-21 Andreas Schwab <schwab@suse.de>
13441 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13442 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13444 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13445 redundant variable declarations and reallocation of buffer when
13446 parsing as IPv6 address. Always set NSS status when called from
13447 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13448 buffer too small. Correct computation of needed size.
13449 * nss/Makefile (tests): Add test-digits-dots.
13450 * nss/test-digits-dots.c: New test.
13452 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13454 * benchtests/Makefile: Remove instructions for adding
13456 * benchtests/README: New file to explain how to execute and
13457 enhance the benchmark tests.
13459 2013-05-21 Andreas Schwab <schwab@suse.de>
13462 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13463 * setjmp/tst-sigsetjmp.c: New test.
13465 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13467 * sysdeps/x86_64/memset.S (memset): New implementation.
13468 (__bzero): Likewise.
13469 (__memset_tail): New function.
13471 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13473 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13474 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13475 __memcpy_sse2_unaligned ifunc selection.
13476 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13477 Add memcpy-sse2-unaligned.S.
13478 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13479 Add: __memcpy_sse2_unaligned.
13481 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13484 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13485 math_force_eval before restoring floating-point envrionment.
13486 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13487 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13489 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13491 (__nearbyintl): Use math_force_eval before restoring
13492 floating-point environment.
13493 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13495 * math/gen-libm-test.pl (special_functions): Remove.
13496 (parse_args): Don't handle TEST_extra. Handle functions with no
13498 * math/libm-test.inc (struct test_sincos_data): Replace with
13499 struct test_fFF_11_data.
13500 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13501 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13502 (sincos_test_data): Change element type to struct
13503 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13504 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13505 RUN_TEST_LOOP_sincos.
13506 * math/README.libm-test: Don't mention special handling of
13507 individual functions.
13508 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13509 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13510 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13511 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13512 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13515 * math/gen-libm-test.pl (get_variable): Remove function.
13516 (parse_args): Don't show pointer parameters to call in test
13517 names. Use "extra output N" in test names for extra outputs
13518 rather than naming variables.
13520 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13523 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13524 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13525 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13527 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13529 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13532 * math/gen-libm-test.pl (@tests): Remove variable.
13533 ($count): Likewise.
13534 (new_test): Remove function.
13535 (show_exceptions): New function.
13536 (special_functions): Use show_exceptions instead of new_test.
13537 (parse_args): Likewise.
13538 (generate_testfile): Pass only function name in generated call to
13539 print_max_error or print_complex_max_error.
13540 (get_ulps): Do not handle complex tests specially.
13541 (output_test): Rename to ...
13542 (get_all_ulps_for_test): ... this. Return a string rather than
13543 printing to a file. Require ulps to be present.
13544 (output_ulps): Generate arrays rather than #defines.
13545 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13546 (struct ulp_data): New type.
13547 (BUILD_COMPLEX_ULP): Remove macro.
13548 (compare_ulp_data): New function.
13549 (find_ulps): Likewise.
13550 (find_test_ulps): Likewise.
13551 (find_function_ulps): Likewise.
13552 (find_complex_function_ulps): Likewise.
13553 (print_max_error): Determine allowed ulps using
13554 find_function_ulps.
13555 (print_complex_max_error): Determine allowed ulps using
13556 find_complex_function_ulps.
13557 (check_float_internal): Determine max ulps using find_test_ulps.
13558 (check_float): Do not take max_ulp parameter. Update call to
13559 check_float_internal.
13560 (check_complex): Likewise.
13561 (check_int): Do not take max_ulp parameter.
13562 (check_long): Likewise.
13563 (check_bool): Likewise.
13564 (check_longlong): Likewise.
13565 (struct test_f_f_data): Remove max_ulp field.
13566 (struct test_ff_f_data): Likewise.
13567 (struct test_ff_f_data_nexttoward): Likewise.
13568 (struct test_fi_f_data): Likewise.
13569 (struct test_fl_f_data): Likewise.
13570 (struct test_if_f_data): Likewise.
13571 (struct test_fff_f_data): Likewise.
13572 (struct test_c_f_data): Likewise.
13573 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13574 (struct test_fF_f1_data): Likewise.
13575 (struct test_ffI_f1_data): Likewise.
13576 (struct test_c_c_data): Remove max_ulp field.
13577 (struct test_cc_c_data): Likewise.
13578 (struct test_f_i_data): Likewise.
13579 (struct test_ff_i_data): Likewise.
13580 (struct test_f_l_data): Likewise.
13581 (struct test_f_L_data): Likewise.
13582 (struct test_sincos_data): Likewise.
13583 (RUN_TEST_f_f): Do not handle ulps.
13584 (RUN_TEST_LOOP_f_f): Likewise.
13585 (RUN_TEST_2_f): Likewise.
13586 (RUN_TEST_LOOP_2_f): Likewise.
13587 (RUN_TEST_fff_f): Likewise.
13588 (RUN_TEST_LOOP_fff_f): Likewise.
13589 (RUN_TEST_c_f): Likewise.
13590 (RUN_TEST_LOOP_c_f): Likewise.
13591 (RUN_TEST_f_f1): Likewise.
13592 (RUN_TEST_LOOP_f_f1): Likewise.
13593 (RUN_TEST_fF_f1): Likewise.
13594 (RUN_TEST_LOOP_fF_f1): Likewise.
13595 (RUN_TEST_fI_f1): Likewise.
13596 (RUN_TEST_LOOP_fI_f1): Likewise.
13597 (RUN_TEST_ffI_f1): Likewise.
13598 (RUN_TEST_LOOP_ffI_f1): Likewise.
13599 (RUN_TEST_c_c): Likewise.
13600 (RUN_TEST_LOOP_c_c): Likewise.
13601 (RUN_TEST_cc_c): Likewise.
13602 (RUN_TEST_LOOP_cc_c): Likewise.
13603 (RUN_TEST_f_i): Likewise.
13604 (RUN_TEST_LOOP_f_i): Likewise.
13605 (RUN_TEST_f_i_tg): Likewise.
13606 (RUN_TEST_LOOP_f_i_tg): Likewise.
13607 (RUN_TEST_ff_i_tg): Likewise.
13608 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13609 (RUN_TEST_f_b): Likewise.
13610 (RUN_TEST_LOOP_f_b): Likewise.
13611 (RUN_TEST_f_b_tg): Likewise.
13612 (RUN_TEST_LOOP_f_b_tg): Likewise.
13613 (RUN_TEST_f_l): Likewise.
13614 (RUN_TEST_LOOP_f_l): Likewise.
13615 (RUN_TEST_f_L): Likewise.
13616 (RUN_TEST_LOOP_f_L): Likewise.
13617 (RUN_TEST_sincos): Likewise.
13618 (RUN_TEST_LOOP_sincos): Likewise.
13620 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13624 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13625 main case of finite arguments, set rounding mode to FE_TONEAREST
13626 and discard exceptions.
13627 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13629 (remainder_tonearest_test_data): New variable.
13630 (remainder_test_tonearest): New function.
13631 (remainder_towardzero_test_data): New variable.
13632 (remainder_test_towardzero): New function.
13633 (remainder_downward_test_data): New variable.
13634 (remainder_test_downward): New function.
13635 (remainder_upward_test_data): New variable.
13636 (remainder_test_upward): New function.
13637 (main): Call the new test functions.
13639 * math/libm-test.inc (struct test_f_f1_data): Remove field
13641 (struct test_fF_f1_data): Likewise.
13642 (struct test_ffI_f1_data): Likewise.
13643 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13644 based on value of EXTRA_EXPECTED.
13645 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13646 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13647 EXTRA_VAR based on value of EXTRA_EXPECTED.
13648 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13649 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13650 EXTRA_VAR based on value of EXTRA_EXPECTED.
13651 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13652 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13653 EXTRA_VAR based on value of EXTRA_EXPECTED.
13654 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13655 * math/gen-libm-test.pl (parse_args): Don't output initializers
13656 for extra output values.
13658 * math/libm-test.inc (check_int): Expect result to be exactly
13659 equal to expected value and do not handle ulps.
13660 (check_long): Likewise.
13661 (check_longlong): Likewise.
13663 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13665 (cimag_test_data): Likewise.
13666 (conj_test_data): Likewise.
13667 (copysign_test_data): Likewise.
13668 (cproj_test_data): Likewise.
13669 (creal_test_data): Likewise.
13670 (fabs_test_data): Likewise.
13671 (fdim_test_data): Likewise.
13672 (finite_test_data): Likewise.
13673 (floor_test_data): Likewise.
13674 (fmax_test_data): Likewise.
13675 (fmin_test_data): Likewise.
13676 (fmod_test_data): Likewise.
13677 (fpclassify_test_data): Likewise.
13678 (frexp_test_data): Likewise.
13679 (ilogb_test_data): Likewise.
13680 (isfinite_test_data): Likewise.
13681 (isgreater_test_data): Likewise.
13682 (isgreaterequal_test_data): Likewise.
13683 (isinf_test_data): Likewise.
13684 (isless_test_data): Likewise.
13685 (islessequal_test_data): Likewise.
13686 (islessgreater_test_data): Likewise.
13687 (isnan_test_data): Likewise.
13688 (isnormal_test_data): Likewise.
13689 (issignaling_test_data): Likewise.
13690 (isunordered_test_data): Likewise.
13691 (ldexp_test_data): Likewise.
13692 (lrint_test_data): Likewise.
13693 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13694 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13695 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13696 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13697 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13698 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13700 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13701 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13702 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13703 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13705 (lrint_downward_test_data): Test for "inexact" exceptions.
13706 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13707 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13708 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13710 (lrint_upward_test_data): Test for "inexact" exceptions.
13711 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13713 (llrint_test_data): Test for "inexact" exceptions.
13714 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13715 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13716 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13717 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13718 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13719 (llrint_downward_test_data): Test for "inexact" exceptions.
13720 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13721 (llrint_upward_test_data): Test for "inexact" exceptions.
13722 (logb_test_data): Likewise.
13723 (logb_downward_test_data): Likewise.
13724 (nextafter_test_data): Likewise.
13725 (nexttoward_test_data): Likewise.
13726 (remainder_test_data): Likewise.
13727 (remquo_test_data): Likewise.
13728 (scalbn_test_data): Likewise.
13729 (scalbln_test_data): Likewise.
13730 (signbit_test_data): Likewise.
13731 (sqrt_test_data): Likewise.
13732 (significand_test_data): Likewise.
13734 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13737 * benchtests/bench-modf.c (struct args): Mark arg0 as
13739 * scripts/bench.pl: Mark members of struct args as volatile.
13741 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13744 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13745 negative infinity on POWER6 or lower.
13746 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13748 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13751 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13752 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13753 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13754 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13755 (_FP_SETQNAN): New macro.
13756 (_FP_SETQNAN_SEMIRAW): Likewise.
13757 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13758 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13759 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13760 (FP_EXTEND): Use _FP_FRAC_SNANP.
13761 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13762 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13764 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13766 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13769 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13771 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13772 with DIVIDE_BY_ZERO_EXCEPTION.
13773 (gamma_test_data): Likewise.
13774 (lgamma_test_data): Likewise.
13775 (log_test_data): Likewise.
13776 (log10_test_data): Likewise.
13777 (log2_test_data): Likewise.
13778 (tgamma_test_data): Likewise.
13780 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13781 (acos_test_tonearest): Likewise.
13782 (acos_test_towardzero): Likewise.
13783 (acos_test_downward): Likewise.
13784 (acos_test_upward): Likewise.
13785 (acosh_test): Likewise.
13786 (asin_test): Likewise.
13787 (asin_test_tonearest): Likewise.
13788 (asin_test_towardzero): Likewise.
13789 (asin_test_downward): Likewise.
13790 (asin_test_upward): Likewise.
13791 (asinh_test): Likewise.
13792 (atan_test): Likewise.
13793 (atanh_test): Likewise.
13794 (atan2_test): Likewise.
13795 (cabs_test): Likewise.
13796 (cacos_test): Likewise.
13797 (cacosh_test): Likewise.
13798 (casin_test): Likewise.
13799 (casinh_test): Likewise.
13800 (catan_test): Likewise.
13801 (catanh_test): Likewise.
13802 (cbrt_test): Likewise.
13803 (ccos_test): Likewise.
13804 (ccosh_test): Likewise.
13805 (cexp_test): Likewise.
13806 (clog_test): Likewise.
13807 (clog10_test): Likewise.
13808 (cos_test): Likewise.
13809 (cos_test_tonearest): Likewise.
13810 (cos_test_towardzero): Likewise.
13811 (cos_test_downward): Likewise.
13812 (cos_test_upward): Likewise.
13813 (cosh_test): Likewise.
13814 (cosh_test_tonearest): Likewise.
13815 (cosh_test_towardzero): Likewise.
13816 (cosh_test_downward): Likewise.
13817 (cosh_test_upward): Likewise.
13818 (cpow_test): Likewise.
13819 (csin_test): Likewise.
13820 (csinh_test): Likewise.
13821 (csqrt_test): Likewise.
13822 (ctan_test): Likewise.
13823 (ctan_test_tonearest): Likewise.
13824 (ctan_test_towardzero): Likewise.
13825 (ctan_test_downward): Likewise.
13826 (ctan_test_upward): Likewise.
13827 (ctanh_test): Likewise.
13828 (ctanh_test_tonearest): Likewise.
13829 (ctanh_test_towardzero): Likewise.
13830 (ctanh_test_downward): Likewise.
13831 (ctanh_test_upward): Likewise.
13832 (erf_test): Likewise.
13833 (erfc_test): Likewise.
13834 (exp_test): Likewise.
13835 (exp_test_tonearest): Likewise.
13836 (exp_test_towardzero): Likewise.
13837 (exp_test_downward): Likewise.
13838 (exp_test_upward): Likewise.
13839 (exp10_test): Likewise.
13840 (exp2_test): Likewise.
13841 (expm1_test): Likewise.
13842 (fmod_test): Likewise.
13843 (gamma_test): Likewise.
13844 (hypot_test): Likewise.
13845 (j0_test): Likewise.
13846 (j1_test): Likewise.
13847 (jn_test): Likewise.
13848 (lgamma_test): Likewise.
13849 (log_test): Likewise.
13850 (log10_test): Likewise.
13851 (log1p_test): Likewise.
13852 (log2_test): Likewise.
13853 (logb_test_downward): Likewise.
13854 (pow_test): Likewise.
13855 (pow_test_tonearest): Likewise.
13856 (pow_test_towardzero): Likewise.
13857 (pow_test_downward): Likewise.
13858 (pow_test_upward): Likewise.
13859 (remainder_test): Likewise.
13860 (remquo_test): Likewise.
13861 (sin_test): Likewise.
13862 (sin_test_tonearest): Likewise.
13863 (sin_test_towardzero): Likewise.
13864 (sin_test_downward): Likewise.
13865 (sin_test_upward): Likewise.
13866 (sincos_test): Likewise.
13867 (sinh_test): Likewise.
13868 (sinh_test_tonearest): Likewise.
13869 (sinh_test_towardzero): Likewise.
13870 (sinh_test_downward): Likewise.
13871 (sinh_test_upward): Likewise.
13872 (sqrt_test): Likewise.
13873 (tan_test): Likewise.
13874 (tan_test_tonearest): Likewise.
13875 (tan_test_towardzero): Likewise.
13876 (tan_test_downward): Likewise.
13877 (tan_test_upward): Likewise.
13878 (tanh_test): Likewise.
13879 (tgamma_test): Likewise.
13880 (y0_test): Likewise.
13881 (y1_test): Likewise.
13882 (yn_test): Likewise.
13884 * math/gen-libm-test.pl (adjust_arg): Remove function.
13885 (special_function): Remove argument $in_func. Only handle
13886 generating output for tables of tests, not inside functions.
13887 (parse_args): Likewise.
13888 (generate_testfile): Remove variable $in_func. Update call to
13890 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13891 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13892 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13893 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13894 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13895 (MAX_VALUE_INIT): Rename macro to max_value.
13896 (MIN_VALUE_INIT): Rename macro to min_value.
13897 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13898 (plus_zero): Remove variable.
13899 (minus_zero): Likewise.
13900 (plus_infty): Likewise.
13901 (minus_infty): Likewise.
13902 (qnan_value): Likewise.
13903 (max_value): Likewise.
13904 (min_value): Likewise.
13905 (min_subnorm_value): Likewise.
13907 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13909 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13910 uint64_t or uint32_t usage.
13911 * crypt/sha256-block.c: Likewise.
13912 * crypt/sha256-crypt.c: Likewise.
13913 * crypt/sha256.c: Likewise.
13914 * crypt/sha512-block.c: Likewise.
13915 * crypt/sha512-crypt.c: Likewise.
13916 * crypt/sha512.c: Likewise.
13917 * debug/backtrace-tst.c: Likewise.
13918 * debug/pcprofiledump.c: Likewise.
13919 * elf/cache.c: Likewise.
13920 * elf/dl-cache.c: Likewise.
13921 * elf/dl-misc.c: Likewise.
13922 * elf/dl-profile.c: Likewise.
13923 * elf/dl-support.c: Likewise.
13924 * elf/ldconfig.c: Likewise.
13925 * elf/sprof.c: Likewise.
13926 * iconv/dummy-repertoire.c: Likewise.
13927 * iconv/iconv_charmap.c: Likewise.
13928 * iconv/skeleton.c: Likewise.
13929 * iconvdata/8bit-generic.c: Likewise.
13930 * iconvdata/cp737.h: Likewise.
13931 * iconvdata/cp775.h: Likewise.
13932 * iconvdata/ibm1008.h: Likewise.
13933 * iconvdata/ibm1025.h: Likewise.
13934 * iconvdata/ibm1046.h: Likewise.
13935 * iconvdata/ibm1097.h: Likewise.
13936 * iconvdata/ibm1112.h: Likewise.
13937 * iconvdata/ibm1122.h: Likewise.
13938 * iconvdata/ibm1123.h: Likewise.
13939 * iconvdata/ibm1124.h: Likewise.
13940 * iconvdata/ibm1129.h: Likewise.
13941 * iconvdata/ibm1130.h: Likewise.
13942 * iconvdata/ibm1132.h: Likewise.
13943 * iconvdata/ibm1133.h: Likewise.
13944 * iconvdata/ibm1137.h: Likewise.
13945 * iconvdata/ibm1140.h: Likewise.
13946 * iconvdata/ibm1141.h: Likewise.
13947 * iconvdata/ibm1142.h: Likewise.
13948 * iconvdata/ibm1143.h: Likewise.
13949 * iconvdata/ibm1144.h: Likewise.
13950 * iconvdata/ibm1145.h: Likewise.
13951 * iconvdata/ibm1146.h: Likewise.
13952 * iconvdata/ibm1147.h: Likewise.
13953 * iconvdata/ibm1148.h: Likewise.
13954 * iconvdata/ibm1149.h: Likewise.
13955 * iconvdata/ibm1153.h: Likewise.
13956 * iconvdata/ibm1154.h: Likewise.
13957 * iconvdata/ibm1155.h: Likewise.
13958 * iconvdata/ibm1156.h: Likewise.
13959 * iconvdata/ibm1157.h: Likewise.
13960 * iconvdata/ibm1158.h: Likewise.
13961 * iconvdata/ibm1160.h: Likewise.
13962 * iconvdata/ibm1161.h: Likewise.
13963 * iconvdata/ibm1162.h: Likewise.
13964 * iconvdata/ibm1163.h: Likewise.
13965 * iconvdata/ibm1164.h: Likewise.
13966 * iconvdata/ibm1166.h: Likewise.
13967 * iconvdata/ibm1167.h: Likewise.
13968 * iconvdata/ibm12712.h: Likewise.
13969 * iconvdata/ibm1390.h: Likewise.
13970 * iconvdata/ibm1399.h: Likewise.
13971 * iconvdata/ibm16804.h: Likewise.
13972 * iconvdata/ibm4517.h: Likewise.
13973 * iconvdata/ibm4899.h: Likewise.
13974 * iconvdata/ibm4909.h: Likewise.
13975 * iconvdata/ibm4971.h: Likewise.
13976 * iconvdata/ibm5347.h: Likewise.
13977 * iconvdata/ibm803.h: Likewise.
13978 * iconvdata/ibm856.h: Likewise.
13979 * iconvdata/ibm901.h: Likewise.
13980 * iconvdata/ibm902.h: Likewise.
13981 * iconvdata/ibm9030.h: Likewise.
13982 * iconvdata/ibm9066.h: Likewise.
13983 * iconvdata/ibm921.h: Likewise.
13984 * iconvdata/ibm922.h: Likewise.
13985 * iconvdata/ibm9448.h: Likewise.
13986 * iconvdata/isiri-3342.h: Likewise.
13987 * iconvdata/jis0201.h: Likewise.
13988 * include/link.h: Likewise.
13989 * include/netdb.h: Likewise.
13990 * inet/check_native.c: Likewise.
13991 * inet/check_pf.c: Likewise.
13992 * inet/getipv4sourcefilter.c: Likewise.
13993 * inet/getnameinfo.c: Likewise.
13994 * inet/getsourcefilter.c: Likewise.
13995 * inet/htonl.c: Likewise.
13996 * inet/setipv4sourcefilter.c: Likewise.
13997 * inet/setsourcefilter.c: Likewise.
13998 * inet/test-inet6_opt.c: Likewise.
13999 * inet/tst-network.c: Likewise.
14000 * locale/C-collate.c: Likewise.
14001 * locale/C-ctype.c: Likewise.
14002 * locale/C-time.c: Likewise.
14003 * locale/C-translit.h: Likewise.
14004 * locale/loadarchive.c: Likewise.
14005 * locale/programs/3level.h: Likewise.
14006 * locale/programs/charmap.c: Likewise.
14007 * locale/programs/charmap.h: Likewise.
14008 * locale/programs/ld-address.c: Likewise.
14009 * locale/programs/ld-collate.c: Likewise.
14010 * locale/programs/ld-ctype.c: Likewise.
14011 * locale/programs/ld-identification.c: Likewise.
14012 * locale/programs/ld-measurement.c: Likewise.
14013 * locale/programs/ld-messages.c: Likewise.
14014 * locale/programs/ld-monetary.c: Likewise.
14015 * locale/programs/ld-name.c: Likewise.
14016 * locale/programs/ld-numeric.c: Likewise.
14017 * locale/programs/ld-paper.c: Likewise.
14018 * locale/programs/ld-telephone.c: Likewise.
14019 * locale/programs/ld-time.c: Likewise.
14020 * locale/programs/linereader.c: Likewise.
14021 * locale/programs/locale.c: Likewise.
14022 * locale/programs/locarchive.c: Likewise.
14023 * locale/programs/locfile.h: Likewise.
14024 * locale/programs/repertoire.c: Likewise.
14025 * locale/programs/simple-hash.c: Likewise.
14026 * locale/programs/simple-hash.h: Likewise.
14027 * malloc/memusage.c: Likewise.
14028 * malloc/memusagestat.c: Likewise.
14029 * nis/nis_defaults.c: Likewise.
14030 * nis/nis_hash.c: Likewise.
14031 * nis/nis_print.c: Likewise.
14032 * nis/nis_xdr.c: Likewise.
14033 * nscd/connections.c: Likewise.
14034 * nscd/hstcache.c: Likewise.
14035 * nscd/nscd_gethst_r.c: Likewise.
14036 * nscd/nscd_getserv_r.c: Likewise.
14037 * nscd/nscd_helper.c: Likewise.
14038 * nscd/servicescache.c: Likewise.
14039 * nss/makedb.c: Likewise.
14040 * nss/nss_db/db-XXX.c: Likewise.
14041 * nss/nss_db/db-initgroups.c: Likewise.
14042 * nss/nss_db/db-netgrp.c: Likewise.
14043 * nss/nss_files/files-network.c: Likewise.
14044 * nss/nss_files/files-parse.c: Likewise.
14045 * posix/bug-regex5.c: Likewise.
14046 * posix/fnmatch_loop.c: Likewise.
14047 * posix/regcomp.c: Likewise.
14048 * posix/regexec.c: Likewise.
14049 * posix/tst-rfc3484-2.c: Likewise.
14050 * posix/tst-rfc3484-3.c: Likewise.
14051 * posix/tst-rfc3484.c: Likewise.
14052 * resolv/nss_dns/dns-canon.c: Likewise.
14053 * resolv/nss_dns/dns-network.c: Likewise.
14054 * resolv/res_init.c: Likewise.
14055 * resolv/res_mkquery.c: Likewise.
14056 * resolv/tst-aton.c: Likewise.
14057 * stdlib/cxa_atexit.c: Likewise.
14058 * stdlib/cxa_finalize.c: Likewise.
14059 * stdlib/gen-fpioconst.c: Likewise.
14060 * stdlib/strtol_l.c: Likewise.
14061 * string/tst-endian.c: Likewise.
14062 * sunrpc/auth_des.c: Likewise.
14063 * sunrpc/clnt_udp.c: Likewise.
14064 * sunrpc/rtime.c: Likewise.
14065 * sunrpc/svcauth_des.c: Likewise.
14066 * sunrpc/xdr.c: Likewise.
14067 * sunrpc/xdr_intXX_t.c: Likewise.
14068 * sunrpc/xdr_rec.c: Likewise.
14069 * sysdeps/generic/ldconfig.h: Likewise.
14070 * sysdeps/generic/ldsodefs.h: Likewise.
14071 * sysdeps/generic/memusage.h: Likewise.
14072 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14073 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14074 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14075 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14076 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14077 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14078 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14079 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14080 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14081 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14082 * sysdeps/posix/getaddrinfo.c: Likewise.
14083 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14084 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14085 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14086 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14087 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14088 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14089 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14090 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14091 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14092 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14093 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14094 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14095 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14096 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14097 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14098 * sysdeps/x86_64/dl-tls.h: Likewise.
14099 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14100 * time/alt_digit.c: Likewise.
14101 * time/era.c: Likewise.
14102 * wcsmbs/tst-c16c32-1.c: Likewise.
14104 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14106 * math/libm-test.inc (struct test_sincos_data): New type.
14107 (RUN_TEST_LOOP_sincos): New macro.
14108 (sincos_test_data): New variable.
14109 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14111 2013-05-16 Richard Henderson <rth@redhat.com>
14113 * math/atest-exp2.c (LIMB64): New macro.
14114 (CONSTSZ): New macro.
14115 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14117 (print_mpn_fp): ... to function scope.
14118 (read_mpn_hex): Remove.
14119 (get_log2): Remove.
14120 (exp2_mpn): Use mp_log2.
14121 (main): Use mp_exp1.
14123 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14125 * math/libm-test.inc: Remove comment about not testing "inexact"
14127 (INEXACT_EXCEPTION): New macro.
14128 (NO_INEXACT_EXCEPTION): Likewise.
14129 (INVALID_EXCEPTION_OK): Update value.
14130 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14131 (OVERFLOW_EXCEPTION_OK): Likewise.
14132 (UNDERFLOW_EXCEPTION_OK): Likewise.
14133 (IGNORE_ZERO_INF_SIGN): Likewise.
14134 (ERRNO_UNCHANGED): Likewise.
14135 (ERRNO_EDOM): Likewise.
14136 (ERRNO_ERANGE): Likewise.
14137 (test_exceptions): Handle testing "inexact" exceptions.
14138 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14139 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14140 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14141 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14143 (rint_towardzero_test_data): Likewise.
14144 (rint_downward_test_data): Likewise.
14145 (rint_upward_test_data): Likewise.
14147 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14148 with OVERFLOW_EXCEPTION.
14149 (exp10_test_data): Likewise.
14150 (exp2_test_data): Likewise.
14151 (expm1_test_data): Likewise.
14152 (lgamma_test_data): Likewise.
14153 (pow_test_data): Likewise.
14154 (tgamma_test_data): Likewise.
14155 (yn_test_data): Remove duplicate test of overflow.
14157 * math/libm-test.inc (struct test_cc_c_data): New type.
14158 (RUN_TEST_LOOP_cc_c): New macro.
14159 (cpow_test_data): New variable.
14160 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14162 * math/libm-test.inc (struct test_f_L_data): New type.
14163 (RUN_TEST_LOOP_f_L): New macro.
14164 (llrint_test_data): New variable.
14165 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14166 (llrint_tonearest_test_data): New variable.
14167 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14168 (llrint_towardzero_test_data): New variable.
14169 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14170 (llrint_downward_test_data): New variable.
14171 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14172 (llrint_upward_test_data): New variable.
14173 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14174 (llround_test_data): New variable.
14175 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14177 2013-05-13 Peter Collingbourne <pcc@google.com>
14179 * math/atest-exp2.c (get_log2): Remove const attribute.
14181 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14183 * math/libm-test.inc (struct test_f_l_data): New type.
14184 (RUN_TEST_LOOP_f_l): New macro.
14185 (lrint_test_data): New variable.
14186 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14187 (lrint_tonearest_test_data): New variable.
14188 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14189 (lrint_towardzero_test_data): New variable.
14190 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14191 (lrint_downward_test_data): New variable.
14192 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14193 (lrint_upward_test_data): New variable.
14194 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14195 (lround_test_data): New variable.
14196 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14198 2013-05-15 Peter Collingbourne <pcc@google.com>
14200 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14201 (EXTRACT_WORDS64) Use where appropriate.
14202 (INSERT_WORDS64) Likewise.
14204 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14205 constraints with x constraints.
14206 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14208 * malloc/obstack.c (_obstack_compat): Add initializer.
14210 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14212 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14213 si_trapno and add si_addr_lsb to _sifields.sigfault.
14214 (si_trapno): Remove macro.
14215 (si_addr_lsb): Define new macro.
14216 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14218 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14220 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14221 instead of TEST_f_l.
14222 (llrint_test_tonearest): Likewise.
14223 (llrint_test_towardzero): Likewise.
14224 (llrint_test_downward): Likewise.
14225 (llrint_test_upward): Likewise.
14226 (llround_test): Likewise.
14228 * math/libm-test.inc (struct test_f_i_data): Add comment.
14229 (RUN_TEST_LOOP_f_b): New macro.
14230 (RUN_TEST_LOOP_f_b_tg): Likewise.
14231 (finite_test_data): New variable.
14232 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14233 (isfinite_test_data): New variable.
14234 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14235 (isinf_test_data): New variable.
14236 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14237 (isnan_test_data): New variable.
14238 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14239 (isnormal_test_data): New variable.
14240 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14241 (issignaling_test_data): New variable.
14242 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14243 (signbit_test_data): New variable.
14244 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14246 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14247 with INVALID_EXCEPTION.
14248 (acosh_test_data): Likewise.
14249 (asin_test_data): Likewise.
14250 (atanh_test_data): Likewise.
14251 (fmod_test_data): Likewise.
14252 (log_test_data): Likewise.
14253 (log10_test_data): Likewise.
14254 (log2_test_data): Likewise.
14255 (pow_test_data): Likewise.
14256 (sqrt_test_data): Likewise.
14257 (y0_test_data): Likewise.
14258 (y1_test_data): Likewise.
14259 (yn_test_data): Likewise.
14261 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14264 * math/libm-test.inc (struct test_ff_i_data): New type.
14265 (RUN_TEST_LOOP_ff_i_tg): New macro.
14266 (isgreater_test_data): New variable.
14267 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14268 (isgreaterequal_test_data): New variable.
14269 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14270 (isless_test_data): New variable.
14271 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14272 (islessequal_test_data): New variable.
14273 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14274 (islessgreater_test_data): New variable.
14275 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14276 (isunordered_test_data): New variable.
14277 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14279 2013-05-14 David S. Miller <davem@davemloft.net>
14281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14283 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14285 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14287 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14289 (struct test_f_i_data): Change type of max_ulp to int.
14291 * math/libm-test.inc (test_ffI_f1_data): New type.
14292 (RUN_TEST_LOOP_ffI_f1): New macro.
14293 (remquo_test_data): New variable.
14294 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14296 * setjmp/tst-setjmp-fp.c: New file.
14297 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14298 (link-libm): New variable.
14299 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14301 * math/libm-test.inc (struct test_f_i_data): New type.
14302 (RUN_TEST_LOOP_f_i): New macro.
14303 (RUN_TEST_LOOP_f_i_tg): Likewise.
14304 (fpclassify_test_data): New variable.
14305 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14306 (ilogb_test_data): New variable.
14307 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14309 * math/libm-test.inc (scalbln_test): Correct function name in END
14312 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14313 (RUN_TEST_LOOP_fI_f1): New macro.
14314 (frexp_test_data): New variable.
14315 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14317 * math/libm-test.inc (struct test_fF_f1_data): New type.
14318 (RUN_TEST_LOOP_fF_f1): New macro.
14319 (modf_test_data): New variable.
14320 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14322 * math/libm-test.inc (struct test_f_f1_data): New type.
14323 (RUN_TEST_LOOP_f_f1): New macro.
14324 (gamma_test_data): New variable.
14325 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14326 (lgamma_test_data): New variable.
14327 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14329 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14331 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14332 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14333 (main): Comment "tls" pseudo-hwcap.
14335 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14337 * math/libm-test.inc (struct test_fl_f_data): New type.
14338 (RUN_TEST_LOOP_fl_f): New variable.
14339 (scalbln_test_data): New variable.
14340 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14342 * math/libm-test.inc (struct test_fi_f_data): New type.
14343 (RUN_TEST_LOOP_fi_f): New macro.
14344 (ldexp_test_data): New variable.
14345 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14346 (scalbn_test_data): New variable.
14347 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14349 * math/libm-test.inc (struct test_c_f_data): New type.
14350 (RUN_TEST_LOOP_c_f): New macro.
14351 (cabs_test_data): New variable.
14352 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14353 (carg_test_data): New variable.
14354 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14355 (cimag_test_data): New variable.
14356 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14357 (creal_test_data): New variable.
14358 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14360 * math/libm-test.inc (struct test_if_f_data): New type.
14361 (RUN_TEST_LOOP_if_f): New macro.
14362 (jn_test_data): New variable.
14363 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14364 (yn_test_data): New variable.
14365 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14367 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14369 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14371 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14372 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14374 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14376 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14377 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14378 (bench-deps): Add bench-timing.h.
14379 * benchtests-bench-skeleton.c: Include bench-timing.h.
14380 (main): Use TIMING_* macros instead of clock_gettime.
14381 * benchtests/bench-timing.h: New file.
14384 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14385 Renamed from _LIB_VERSION.
14386 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14388 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14390 * math/libm-test.inc (struct test_fff_f_data): New type.
14391 (RUN_TEST_LOOP_fff_f): New macro.
14392 (fma_test_data): New variable.
14393 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14394 (fma_towardzero_test_data): New variable.
14395 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14396 (fma_downward_test_data): New variable.
14397 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14398 (fma_upward_test_data): New variable.
14399 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14401 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14402 (struct test_c_c_data): New type.
14403 (RUN_TEST_LOOP_c_c): New macro.
14404 (cacos_test_data): New variable.
14405 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14406 (cacosh_test_data): New variable.
14407 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14408 (casin_test_data): New variable.
14409 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14410 (casinh_test_data): New variable.
14411 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14412 (catan_test_data): New variable.
14413 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14414 (catanh_test_data): New variable.
14415 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14416 (ccos_test_data): New variable.
14417 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14418 (ccosh_test_data): New variable.
14419 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14420 (cexp_test_data): New variable.
14421 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14422 (clog_test_data): New variable.
14423 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14424 (clog10_test_data): New variable.
14425 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14426 (conj_test_data): New variable.
14427 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14428 (cproj_test_data): New variable.
14429 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14430 (csin_test_data): New variable.
14431 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14432 (csinh_test_data): New variable.
14433 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14434 (csqrt_test_data): New variable.
14435 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14436 (ctan_test_data): New variable.
14437 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14438 (ctan_tonearest_test_data): New variable.
14439 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14440 (ctan_towardzero_test_data): New variable.
14441 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14442 (ctan_downward_test_data): New variable.
14443 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14444 (ctan_upward_test_data): New variable.
14445 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14446 (ctanh_test_data): New variable.
14447 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14448 (ctanh_tonearest_test_data): New variable.
14449 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14450 (ctanh_towardzero_test_data): New variable.
14451 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14452 (ctanh_downward_test_data): New variable.
14453 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14454 (ctanh_upward_test_data): New variable.
14455 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14456 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14459 * math/libm-test.inc (struct test_ff_f_data): New type.
14460 (struct test_ff_f_data_nexttoward): Likewise.
14461 (RUN_TEST_LOOP_2_f): New macro.
14462 (RUN_TEST_LOOP_ff_f): Likewise.
14463 (atan2_test_data): New variable.
14464 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14465 (copysign_test_data): New variable.
14466 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14467 (fdim_test_data): New variable.
14468 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14469 (fmax_test_data): New variable.
14470 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14471 (fmin_test_data): New variable.
14472 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14473 (fmod_test_data): New variable.
14474 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14475 (hypot_test_data): New variable.
14476 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14477 (nextafter_test_data): New variable.
14478 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14479 (nexttoward_test_data): New variable.
14480 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14481 (pow_test_data): New variable.
14482 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14483 (pow_tonearest_test_data): New variable.
14484 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14485 (pow_towardzero_test_data): New variable.
14486 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14487 (pow_downward_test_data): New variable.
14488 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14489 (pow_upward_test_data): New variable.
14490 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14491 (remainder_test_data): New variable.
14492 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14493 (scalb_test_data): New variable.
14494 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14495 * sysdeps/i386/fpu/libm-test-ulps: Update.
14497 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14499 * math/libm-test.inc (fma_test): Use max_value instead of local
14501 (nextafter_test): Likewise.
14503 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14504 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14505 (acos_downward_test_data): New variable.
14506 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14507 (acos_upward_test_data): New variable.
14508 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14509 (acosh_test_data): New variable.
14510 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14511 (asin_test_data): New variable.
14512 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14513 (asin_tonearest_test_data): New variable.
14514 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14515 (asin_towardzero_test_data): New variable.
14516 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14517 (asin_downward_test_data): New variable.
14518 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14519 (asin_upward_test_data): New variable.
14520 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14521 (asinh_test_data): New variable.
14522 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14523 (atan_test_data): New variable.
14524 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14525 (atanh_test_data): New variable.
14526 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14527 (cbrt_test_data): New variable.
14528 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14529 (ceil_test_data): New variable.
14530 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14531 (cos_test_data): New variable.
14532 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14533 (cos_tonearest_test_data): New variable.
14534 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14535 (cos_towardzero_test_data): New variable.
14536 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14537 (cos_downward_test_data): New variable.
14538 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14539 (cos_upward_test_data): New variable.
14540 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14541 (cosh_test_data): New variable.
14542 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14543 (cosh_tonearest_test_data): New variable.
14544 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14545 (cosh_towardzero_test_data): New variable.
14546 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14547 (cosh_downward_test_data): New variable.
14548 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14549 (cosh_upward_test_data): New variable.
14550 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14551 (erf_test_data): New variable.
14552 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14553 (erfc_test_data): New variable.
14554 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14555 (exp_test_data): New variable.
14556 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14557 (exp_tonearest_test_data): New variable.
14558 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14559 (exp_towardzero_test_data): New variable.
14560 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14561 (exp_downward_test_data): New variable.
14562 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14563 (exp_upward_test_data): New variable.
14564 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14565 (exp10_test_data): New variable.
14566 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14567 (exp2_test_data): New variable.
14568 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14569 (expm1_test_data): New variable.
14570 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14571 (fabs_test_data): New variable.
14572 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14573 (floor_test_data): New variable.
14574 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14575 (j0_test_data): New variable.
14576 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14577 (j1_test_data): New variable.
14578 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14579 (log_test_data): New variable.
14580 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14581 (log10_test_data): New variable.
14582 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14583 (log1p_test_data): New variable.
14584 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14585 (log2_test_data): New variable.
14586 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14587 (logb_test_data): New variable.
14588 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14589 (logb_downward_test_data): New variable.
14590 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14591 (nearbyint_test_data): New variable.
14592 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14593 (rint_test_data): New variable.
14594 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14595 (rint_tonearest_test_data): New variable.
14596 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14597 (rint_towardzero_test_data): New variable.
14598 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14599 (rint_downward_test_data): New variable.
14600 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14601 (rint_upward_test_data): New variable.
14602 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14603 (round_test_data): New variable.
14604 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14605 (sin_test_data): New variable.
14606 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14607 (sin_tonearest_test_data): New variable.
14608 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14609 (sin_towardzero_test_data): New variable.
14610 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14611 (sin_downward_test_data): New variable.
14612 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14613 (sin_upward_test_data): New variable.
14614 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14615 (sinh_test_data): New variable.
14616 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14617 (sinh_tonearest_test_data): New variable.
14618 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14619 (sinh_towardzero_test_data): New variable.
14620 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14621 (sinh_downward_test_data): New variable.
14622 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14623 (sinh_upward_test_data): New variable.
14624 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14625 (sqrt_test_data): New variable.
14626 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14627 (tan_test_data): New variable.
14628 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14629 (tan_tonearest_test_data): New variable.
14630 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14631 (tan_towardzero_test_data): New variable.
14632 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14633 (tan_downward_test_data): New variable.
14634 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14635 (tan_upward_test_data): New variable.
14636 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14637 (tanh_test_data): New variable.
14638 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14639 (tgamma_test_data): New variable.
14640 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14641 (trunc_test_data): New variable.
14642 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14643 (y0_test_data): New variable.
14644 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14645 (y1_test_data): New variable.
14646 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14647 (significand_test_data): New variable.
14648 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14650 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14653 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14655 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14657 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14659 2013-05-10 Andreas Jaeger <aj@suse.de>
14662 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14663 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14665 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14667 * math/gen-libm-test.pl (adjust_arg): New function.
14668 (special_functions): Handle generating output in both functions
14670 (parse_args): Likewise.
14671 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14672 $in_func argument to parse_args.
14673 * math/libm-test.inc (struct test_f_f_data): New type.
14674 (IF_ROUND_INIT_): New macro.
14675 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14676 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14677 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14678 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14679 (ROUND_RESTORE_): Likewise.
14680 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14681 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14682 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14683 (ROUND_RESTORE_FE_UPWARD): Likewise.
14684 (RUN_TEST_LOOP_f_f): New macro.
14685 (acos_test_data): New variable.
14686 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14687 (acos_tonearest_test_data): New variable.
14688 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14690 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14692 * benchtests/bench-skeleton.c (startup): Fix coding style.
14694 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14697 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14698 negative infinity argument.
14699 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14700 negative infinity argument.
14701 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14702 negative infinity argument.
14703 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14706 2013-05-10 Florian Weimer <fweimer@redhat.com>
14708 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14709 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14710 * iconv/iconv_prog.c (main): Likewise.
14711 * locale/programs/charmap-dir.c (charmap_readdir)
14712 (fopen_uncompressed): Likewise.
14713 * locale/programs/locfile.c (siblings_uncached)
14714 (write_locale_data): Use lstat64 instead of lstat.
14715 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14718 2013-05-10 Andreas Jaeger <aj@suse.de>
14721 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14723 Include <locale.h>.
14725 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14727 * elf/dl-close.c (_dl_close_worker): Add comments.
14729 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14732 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14734 (__ieee754_rem_pio2l): Update comments.
14737 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14739 (__ieee754_rem_pio2l): Update comments.
14741 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14742 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14744 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14747 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14748 (M_PI_34_LOG10El): Likewise.
14749 (M_PI2_LOG10El): Likewise.
14750 (M_PI4_LOG10El): Likewise.
14751 (M_PI_LOG10El): Likewise.
14753 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14757 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14759 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14760 (MINUS_ZERO_INIT): Likewise.
14761 (PLUS_INFTY_INIT): Likewise.
14762 (MINUS_INFTY_INIT): Likewise.
14763 (QNAN_VALUE_INIT): Likewise.
14764 (MAX_VALUE_INIT): Likewise.
14765 (MIN_VALUE_INIT): Likewise.
14766 (MIN_SUBNORM_VALUE_INIT): Likewise.
14767 (plus_zero): Initialize with PLUS_ZERO_INIT.
14768 (minus_zero): Initialize with MINUS_ZERO_INIT.
14769 (plus_infty): Initialize with PLUS_INFTY_INIT.
14770 (minus_infty): Initialize with MINUS_INFTY_INIT.
14771 (qnan_value): Initialize with QNAN_VALUE_INIT.
14772 (max_value): Initialize with MAX_VALUE_INIT.
14773 (min_value): Initialize with MIN_VALUE_INIT.
14774 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14776 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14777 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14778 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14779 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14781 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14782 (RUN_TEST_2_f): Likewise.
14783 (RUN_TEST_ff_f): Likewise.
14784 (RUN_TEST_fi_f): Likewise.
14785 (RUN_TEST_fl_f): Likewise.
14786 (RUN_TEST_fff_f): Likewise.
14787 (RUN_TEST_c_f): Likewise.
14788 (RUN_TEST_f_f1): Likewise.
14789 (RUN_TEST_fF_f1): Likewise.
14790 (RUN_TEST_fI_f1): Likewise.
14791 (RUN_TEST_ffI_f1): Likewise.
14792 (RUN_TEST_c_c): Likewise.
14793 (RUN_TEST_cc_c): Likewise.
14794 (RUN_TEST_f_i): Likewise.
14795 (RUN_TEST_f_i_tg): Likewise.
14796 (RUN_TEST_ff_i_tg): Likewise.
14797 (RUN_TEST_f_b): Likewise.
14798 (RUN_TEST_f_b_tg): Likewise.
14799 (RUN_TEST_f_l): Likewise.
14800 (RUN_TEST_f_L): Likewise.
14801 (RUN_TEST_sincos): Likewise.
14802 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14803 whether to show exceptions. Do not include ");\n" in return
14805 (special_functions): Output call to RUN_TEST_sincos instead of
14806 check_float calls. Update calls to new_test.
14807 (parse_args): Output call to single RUN_TEST_* macro instead of
14808 check_* calls and other assignments. Update calls to new_test.
14814 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14815 input to result for tgamma overflow.
14816 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14817 (gamma_coeff): New variable.
14818 (NCOEFF): New macro.
14819 (gamma_positive): New function.
14820 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14821 underflow here. Use gamma_positive instead of exp (lgamma) for
14823 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14824 (gamma_coeff): New variable.
14825 (NCOEFF): New macro.
14826 (gammaf_positive): New function.
14827 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14828 underflow here. Use gamma_positive instead of exp (lgamma) for
14830 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14831 (gamma_coeff): New variable.
14832 (NCOEFF): New macro.
14833 (gammal_positive): New function.
14834 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14835 underflow here. Use gamma_positive instead of exp (lgamma) for
14837 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14838 (gamma_coeff): New variable.
14839 (NCOEFF): New macro.
14840 (gammal_positive): New function.
14841 (__ieee754_gammal_r): Handle positive infinity, overflow and
14842 underflow here. Handle NaN the same as positive infinity. Remove
14843 check x < 0xffffffff for negative integers. Use gamma_positive
14844 instead of exp (lgamma) for other arguments.
14845 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14846 (gamma_coeff): New variable.
14847 (NCOEFF): New macro.
14848 (gammal_positive): New function.
14849 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14850 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14851 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14852 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14853 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14854 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14855 * sysdeps/generic/math_private.h (__gamma_productf): New
14857 (__gamma_product): Likewise.
14858 (__gamma_productl): Likewise.
14859 * math/Makefile (libm-calls): Add gamma_product.
14860 * math/libm-test.inc (tgamma_test): Add more tests.
14861 * sysdeps/i386/fpu/libm-test-ulps: Update.
14862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14864 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14866 * benchtests/bench-skeleton.c (main): Preheat CPU.
14868 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14870 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14872 2013-05-07 Roland McGrath <roland@hack.frob.com>
14874 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14875 and _dl_skip_args_internal.
14877 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14879 * manual/message.texi (Message Translation): Talk about users.
14880 Message to key mapping impacts design.
14882 2013-05-06 Roland McGrath <roland@hack.frob.com>
14884 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14886 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14888 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14889 * sysdeps/wordsize-64/glob64.c: ... here.
14891 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14892 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14895 * debug/getlogin_r_chk.c: Moved to ...
14896 * login/getlogin_r_chk.c: ... here.
14897 * debug/Makefile (routines): Move getlogin_r_chk to ...
14898 * login/Makefile (routines): ... here.
14899 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14900 * login/Versions (libc: GLIBC_2.4): ... here.
14902 * io/poll.c (__poll): Renamed from poll.
14903 Add libc_hidden_def.
14904 (poll): Define as weak alias.
14906 * debug/ptsname_r_chk.c: Moved to ...
14907 * login/ptsname_r_chk.c: ... here.
14908 * debug/Makefile (routines): Move ptsname_r_chk to ...
14909 * login/Makefile (routines): ... here.
14910 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14911 * login/Versions (libc: GLIBC_2.4): ... here.
14913 * posix/getlogin.c: Moved to ...
14914 * login/getlogin.c: ... here.
14915 * posix/getlogin_r.c: Moved to ...
14916 * login/getlogin_r.c: ... here.
14917 * posix/getlogin_r.c: Moved to ...
14918 * login/getlogin_r.c: ... here.
14919 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14920 * login/Makefile (routines): ... here.
14921 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14922 * login/Versions (libc: GLIBC_2.0): ... here.
14924 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14925 (setrlimit): Define as weak alias.
14927 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14928 Call __ names for open, ftruncate, and close.
14929 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14930 (truncate): Define as weak alias.
14932 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14934 * math/gen-libm-test.pl (parse_args): Initialize x before each
14935 test of frexp, modf and remquo.
14937 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14938 test signgam value.
14940 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14944 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14946 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14948 2013-05-06 Roland McGrath <roland@hack.frob.com>
14950 * elf/dl-writev.h: New file.
14951 * elf/dl-misc.c: Include it.
14952 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14953 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14955 2013-05-04 Joseph Myers <joseph@codesourcery.com>
14957 * math/libm-test.inc (noXFails): Remove variable.
14958 (noXPasses): Likewise.
14959 (BUILD_COMPLEX_INT): Remove macro.
14960 (print_screen): Remove xfail argument.
14961 (print_screen_max_error): Likewise.
14962 (update_stats): Likewise.
14963 (print_max_error): Likewise. Update calls to other affected
14965 (print_complex_max_error): Likewise.
14966 (test_single_exception): Update calls to print_screen.
14967 (test_single_errno): Likewise.
14968 (check_float_internal): Remove xfail argument. Update calls to
14969 other affected functions.
14970 (check_float): Likewise.
14971 (check_complex): Likewise.
14972 (check_int): Likewise.
14973 (check_long): Likewise.
14974 (check_bool): Likewise.
14975 (check_longlong): Likewise.
14976 (main): Don't print noXFails and noXPasses.
14977 * math/gen-libm-test.pl (top level): Don't mention expected
14978 failure handling in comment.
14979 (new_test): Don't handle expected failures.
14980 (parse_args): Don't mention expected failure handling in comment.
14981 (generate_testfile): Don't handle expected failures.
14982 (parse_ulps): Likewise.
14983 (print_ulps_file): Likewise.
14984 (get_failure): Remove function.
14985 (output_test): Don't handle expected failures.
14986 * make/README.libm-test: Don't mention expected failure handling.
14988 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14989 (minus_zero): Likewise.
14990 (plus_infty): Likewise.
14991 (minus_infty): Likewise.
14992 (qnan_value): Likewise.
14993 (max_value): Likewise.
14994 (min_value): Likewise.
14995 (min_subnorm_value): Likewise.
14996 (initialize): Do not initialize those variables dynamically.
14998 2013-05-03 Roland McGrath <roland@hack.frob.com>
15000 * io/open.c (__open_2): Moved to ...
15001 * io/open_2.c: ... this new file.
15002 * io/open64.c (__open64_2): Moved to ...
15003 * io/open64_2.c: ... this new file.
15004 * io/openat.c (__openat_2): Moved to ...
15005 * io/openat_2.c: ... this new file.
15006 * io/openat64.c (__openat64_2): Moved to ...
15007 * io/openat64_2.c: ... this new file.
15008 * io/Makefile (routines): Add them.
15009 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15010 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15011 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15012 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15013 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15014 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15015 (__openat64): Add hidden_ver.
15016 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15017 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15019 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15020 Separately conditionalize setting of GLRO(dl_sysinfo) so
15021 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15022 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15024 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15026 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15027 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15029 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15030 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15031 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15032 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15033 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15035 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15037 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15038 test signgam value.
15040 * math/libm-test.inc (hypot_test): Do not use
15041 IGNORE_ZERO_INF_SIGN.
15043 2013-05-03 Andreas Jaeger <aj@suse.de>
15045 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15047 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15048 (PF_MAX): Adjust for VSOCK change.
15050 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15054 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15057 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15058 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15059 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15061 2013-05-02 David S. Miller <davem@davemloft.net>
15063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15065 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15067 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15069 2013-05-01 Roland McGrath <roland@hack.frob.com>
15071 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15073 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15076 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15077 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15078 Use __attribute__ ((__gnu_inline__)).
15079 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15080 Don't use __attribute__ ((__gnu_inline__)).
15082 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15085 * math/s_catan.c (__catan): Handle small real or imaginary part of
15086 input specially to avoid spurious underflow.
15087 * math/s_catanf.c (__catanf): Likewise.
15088 * math/s_catanh.c (__catanh): Likewise.
15089 * math/s_catanhf.c (__catanhf): Likewise.
15090 * math/s_catanhl.c (__catanhl): Likewise.
15091 * math/s_catanl.c (__catanl): Likewise.
15092 * math/libm-test.inc (catan_test): Add more tests.
15093 (catanh_test): Likewise.
15094 * sysdeps/i386/fpu/libm-test-ulps: Update.
15095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15097 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15101 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15104 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15105 accurately for denominator in atan2.
15106 * math/s_catanf.c (__catanf): Likewise.
15107 * math/s_catanh.c (__catanh): Likewise.
15108 * math/s_catanhf.c (__catanhf): Likewise.
15109 * math/s_catanhl.c (__catanhl): Likewise.
15110 * math/s_catanl.c (__catanl): Likewise.
15111 * math/libm-test.inc (catan_test): Add more tests.
15112 (catanh_test): Likewise.
15113 * sysdeps/i386/fpu/libm-test-ulps: Update.
15114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15116 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15118 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15120 * benchtests/Makefile (bench): Remove slow benchmarks.
15121 * benchtests/atan-inputs: Add slow benchmark inputs.
15122 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15123 (BENCH_FUNC): Accept variant offset.
15125 * benchtests/bench-skeleton.c (main): Run benchmark for each
15127 * benchtests/cos-inputs: Add slow benchmark inputs.
15128 * benchtests/exp-inputs: Likewise.
15129 * benchtests/pow-inputs: Likewise.
15130 * benchtests/sin-inputs: Likewise.
15131 * benchtests/slowatan-inputs: Remove.
15132 * benchtests/slowatan.c: Remove.
15133 * benchtests/slowcos-inputs: Remove.
15134 * benchtests/slowcos.c: Remove.
15135 * benchtests/slowexp-inputs: Remove.
15136 * benchtests/slowexp.c: Remove.
15137 * benchtests/slowpow-inputs: Remove.
15138 * benchtests/slowpow.c: Remove.
15139 * benchtests/slowsin-inputs: Remove.
15140 * benchtests/slowsin.c: Remove.
15141 * benchtests/slowtan-inputs: Remove.
15142 * benchtests/slowtan.c: Remove.
15143 * benchtests/tan-inputs: Add slow benchmark inputs.
15144 * scripts/bench.pl: Parse comments and directives.
15146 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15148 ($(objpfx)bench-%.c): Remove *-ITER.
15149 * benchtests/bench-modf.c: Remove definition of ITER.
15150 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15151 (main): Loop for DURATION seconds instead of fixed number of
15153 * scripts/bench.pl: Don't expect iterations in parameters.
15155 2013-04-29 Roland McGrath <roland@hack.frob.com>
15157 * io/fchdir.c (__fchdir): Renamed from fchdir.
15158 (fchdir): Define as weak alias.
15160 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15162 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15163 (ERRNO_EDOM): Likewise.
15164 (ERRNO_ERANGE): Likewise.
15165 (noErrnoTests): New variable.
15166 (init_max_error): Set errno to 0.
15167 (test_single_errno): New function.
15168 (test_errno): Likewise.
15169 (check_float_internal): Call test_errno. Set errno to 0.
15170 (check_complex): Refer to errno tests in comment.
15171 (check_int): Call test_errno. Set errno to 0.
15172 (check_long): Likewise.
15173 (check_bool): Likewise.
15174 (check_longlong): Likewise.
15175 (cos_test): Use ERRNO_* flags for errno tests instead of
15177 (expm1_test): Likewise.
15178 (fmod_test): Likewise.
15179 (ilogb_test): Likewise.
15180 (lgamma_test): Likewise.
15181 (pow_test): Likewise.
15182 (remainder_test): Likewise.
15183 (sin_test): Likewise.
15184 (tan_test): Likewise.
15185 (yn_test): Likewise.
15186 (initialize): Set errno to 0.
15187 (main): Print number of errno tests.
15188 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15190 2013-04-29 Andreas Jaeger <aj@suse.de>
15193 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15197 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15198 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15202 * stdlib/random.c (__initstate): Return NULL if
15206 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15207 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15210 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15214 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15216 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15217 of individual tests.
15218 (casin_test): Likewise.
15219 (casinh_test): Likewise.
15221 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15224 * math/s_catan.c (__catan): Handle arguments with large real or
15225 imaginary part separately without squaring.
15226 * math/s_catanf.c (__catanf): Likewise.
15227 * math/s_catanh.c (__catanh): Likewise.
15228 * math/s_catanhf.c (__catanhf): Likewise.
15229 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15231 (__catanhl): Handle arguments with large real or imaginary part
15232 separately without squaring.
15233 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15235 (__catanl): Handle arguments with large real or imaginary part
15236 separately without squaring.
15237 * math/libm-test.inc (catan_test): Add more tests.
15238 (catanh_test): Likewise.
15239 * sysdeps/i386/fpu/libm-test-ulps: Update.
15240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15242 2013-04-27 Andreas Jaeger <aj@suse.de>
15245 * stdlib/stdlib.h: Update guards for qecvt.
15246 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15249 2013-04-27 Allan McRae <allan@archlinux.org>
15251 * sysdeps/i386/fpu/libm-test-ulps: Update.
15253 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15256 * math/s_catan.c: Include <float.h>.
15257 (__catan): Ensure underflow exception occurs for underflowed
15259 * math/s_catanf.c: Include <float.h>.
15260 (__catanf): Ensure underflow exception occurs for underflowed
15262 * math/s_catanh.c: Include <float.h>.
15263 (__catanh): Ensure underflow exception occurs for underflowed
15265 * math/s_catanhf.c: Include <float.h>.
15266 (__catanhf): Ensure underflow exception occurs for underflowed
15268 * math/s_catanhl.c: Include <float.h>.
15269 (__catanhl): Ensure underflow exception occurs for underflowed
15271 * math/s_catanl.c: Include <float.h>.
15272 (__catanl): Ensure underflow exception occurs for underflowed
15274 * math/libm-test.inc (catan_test): Add more tests.
15275 (catanh_test): Likewise.
15278 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15279 underflowed result.
15280 * math/s_ccoshf.c (__ccoshf): Likewise.
15281 * math/s_ccoshl.c (__ccoshl): Likewise.
15282 * math/s_csin.c (__csin): Likewise.
15283 * math/s_csinf.c (__csinf): Likewise.
15284 * math/s_csinh.c (__csinh): Likewise.
15285 * math/s_csinhf.c (__csinhf): Likewise.
15286 * math/s_csinhl.c (__csinhl): Likewise.
15287 * math/s_csinl.c (__csinl): Likewise.
15288 * math/libm-test.inc (ccos_test): Add more tests.
15289 (ccosh_test): Likewise.
15290 (csin_test): Likewise.
15291 (csinh_test): Likewise.
15293 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15295 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15296 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15297 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15298 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15299 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15300 powerpc/power5+/fpu folders.
15301 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15304 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15306 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15308 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15310 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15311 additions to variable.
15312 [$(config-machine) = x86_64] (modules-names): Likewise.
15313 ($(objpfx)tst-audit3): Remove dependency.
15314 ($(objpfx)tst-audit3.out): Likewise.
15315 ($(objpfx)tst-audit4): Likewise.
15316 ($(objpfx)tst-audit4.out): Likewise.
15317 ($(objpfx)tst-audit5): Likewise.
15318 ($(objpfx)tst-audit5.out): Likewise.
15319 ($(objpfx)tst-audit6): Likewise.
15320 ($(objpfx)tst-audit6.out): Likewise.
15321 ($(objpfx)tst-audit7): Likewise.
15322 ($(objpfx)tst-audit7.out): Likewise.
15323 (tst-audit3-ENV): Remove variable.
15324 (tst-audit4-ENV): Likewise.
15325 (tst-audit5-ENV): Likewise.
15326 (tst-audit6-ENV): Likewise.
15327 (tst-audit7-ENV): Likewise.
15328 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15329 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15330 addition to variable.
15331 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15332 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15333 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15334 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15335 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15336 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15337 tst-audit3, tst-audit4 and tst-audit5.
15338 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15339 tst-audit6 and tst-audit7.
15340 [$(subdir) = elf] (modules-names): Add audit modules for those
15342 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15343 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15344 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15345 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15346 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15347 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15348 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15349 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15350 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15351 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15352 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15353 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15354 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15355 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15356 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15357 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15359 [$(subdir) = elf && $(config-cflags-avx) = yes]
15360 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15361 [$(subdir) = elf && $(config-cflags-avx) = yes]
15362 (CFLAGS-tst-auditmod4a.c): Likewise.
15363 [$(subdir) = elf && $(config-cflags-avx) = yes]
15364 (CFLAGS-tst-auditmod4b.c): Likewise.
15365 [$(subdir) = elf && $(config-cflags-avx) = yes]
15366 (CFLAGS-tst-auditmod6b.c): Likewise.
15367 [$(subdir) = elf && $(config-cflags-avx) = yes]
15368 (CFLAGS-tst-auditmod6c.c): Likewise.
15369 [$(subdir) = elf && $(config-cflags-avx) = yes]
15370 (CFLAGS-tst-auditmod7b.c): Likewise.
15371 * elf/tst-audit3.c: Move to ...
15372 * sysdeps/x86_64/tst-audit3.c: ... here.
15373 * elf/tst-audit4.c: Move to ...
15374 * sysdeps/x86_64/tst-audit4.c: ... here.
15375 * elf/tst-audit5.c: Move to ...
15376 * sysdeps/x86_64/tst-audit5.c: ... here.
15377 * elf/tst-audit6.c: Move to ...
15378 * sysdeps/x86_64/tst-audit6.c: ... here.
15379 * elf/tst-audit7.c: Move to ...
15380 * sysdeps/x86_64/tst-audit7.c: ... here.
15381 * elf/tst-auditmod3a.c: Move to ...
15382 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15383 * elf/tst-auditmod3b.c: Move to ...
15384 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15385 * elf/tst-auditmod4a.c: Move to ...
15386 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15387 * elf/tst-auditmod4b.c: Move to ...
15388 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15389 * elf/tst-auditmod5a.c: Move to ...
15390 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15391 * elf/tst-auditmod5b.c: Move to ...
15392 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15393 * elf/tst-auditmod6a.c: Move to ...
15394 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15395 * elf/tst-auditmod6b.c: Move to ...
15396 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15397 * elf/tst-auditmod6c.c: Move to ...
15398 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15399 * elf/tst-auditmod7a.c: Move to ...
15400 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15401 * elf/tst-auditmod7b.c: Move to ...
15402 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15404 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15407 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15408 define unconditionally.
15409 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15410 define unconditionally.
15411 (INT8_C, INT16_C, etc.): Likewise.
15413 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15415 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15416 __ehdr_start with hidden visibility.
15418 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15420 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15422 * math/libm-test.inc (cos_test): Use accurate hex constants.
15423 (sincost_test): Likewise.
15425 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15427 * math/libm-test.inc (catan_test): Add more tests.
15428 (catanh_test): Likewise.
15430 * math/s_catanf.c (__catanf): Use suffixed floating-point
15432 * math/s_catanhf.c (__catanhf): Likewise.
15433 * math/s_catanhl.c (__catanhl): Likewise.
15434 * math/s_catanl.c (__catanl): Likewise.
15437 * math/s_catan.c (__catan): Calculate imaginary part of result
15438 with log1p not log unless computing log of number close to 0.
15439 * math/s_catanf.c (__catanf): Likewise.
15440 * math/s_catanl.c (__catanl): Likewise.
15441 * math/s_catanh.c (__catanh): Calculate real part of result with
15442 log1p not log unless computing log of number close to 0.
15443 * math/s_catanhf.c (__catanhf): Likewise.
15444 * math/s_catanhl.c (__catanhl): Likewise.
15445 * math/libm-test.inc (catan_test): Add more tests.
15446 (catanh_test): Likewise.
15447 * sysdeps/i386/fpu/libm-test-ulps: Update.
15448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15450 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15452 * benchtests/Makefile: Mention files in which fast and slow
15453 paths of math functions are implemented.
15455 2013-04-23 Roland McGrath <roland@hack.frob.com>
15457 * sysdeps/posix/timespec_get.c: New file.
15459 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15461 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15463 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15465 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15466 powerpc/power5/fpu folders.
15467 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15468 * benchtests/Makefile: Add modf testcase.
15469 * benchtests/bench-modf.c: New file: Benchmark test for mo
15471 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15474 * time/Makefile (tests): Add tst-strptime-whitespace.
15475 * time/strptime_l.c (get_number): Use ISSPACE.
15476 (__strptime_internal): Likewise.
15477 * time/tst-strptime-whitespace.c: New test case.
15479 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15481 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15483 (_nss_files_init): Set it here.
15485 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15487 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15488 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15491 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15493 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15495 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15497 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15500 2013-04-21 David S. Miller <davem@davemloft.net>
15502 * po/ru.po: Update Russion translation from translation project.
15504 2013-04-17 Adam Conrad <adconrad@0c3.net>
15506 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15509 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15511 * configure.in: Remove i386 configure warning. Remove i386 case.
15512 * configure: Regenerate.
15513 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15514 Add example to error message.
15515 * sysdeps/i386/configure: Regenerate.
15517 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15519 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15521 * benchtests/cos-inputs: New file.
15522 * benchtests/slowcos-inputs: New file.
15523 * benchtests/slowcos.c: New file.
15524 * benchtests/slowtan-inputs: New file.
15525 * benchtests/slowtan.c: New file.
15526 * benchtests/tan-inputs: New file.
15528 2013-04-16 Roland McGrath <roland@hack.frob.com>
15530 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15533 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15535 * benchtests/Makefile: Include cppflags-iterator.mk to add
15536 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15538 * Makefile.in (bench-clean): New target.
15539 * benchtests/Makefile (bench-clean): Likewise.
15541 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15543 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15545 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15547 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15549 2013-04-15 Andreas Schwab <schwab@suse.de>
15551 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15552 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15553 * nscd/pwdcache.c (cache_addpw): Likewise.
15554 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15557 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15559 * benchtests/Makefile (bench): Write all output to
15560 bench-out.tmp together.
15562 2013-04-15 Andreas Schwab <schwab@suse.de>
15564 * nscd/nscd.c (main): Don't fork again after closing files.
15566 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15568 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15570 * benchtests/Rules (bench-deps): Collect dependencies into a
15571 single variable. Add Makefile to dependencies.
15572 ($(objpfx)bench-%.c): Depend on bench-deps.
15574 2013-04-12 Roland McGrath <roland@hack.frob.com>
15575 Xavier Roche <roche+kml2@exalead.com>
15578 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15579 just that it's a file descriptor.
15580 * manual/llio.texi (Synchronizing AIO Operations): Update description
15581 for EBADF error from aio_fsync.
15583 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15585 * Rules (bench): Move target definition...
15586 * benchtests/Makefile: ... here.
15588 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15590 * math/libm-test.inc (cos_test): Fix PI/2 test.
15591 (sincos_test): Likewise.
15592 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15593 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15595 2013-04-11 Andreas Schwab <schwab@suse.de>
15598 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15599 accept exponent character only when digits were seen.
15600 * stdio-common/Makefile (tests): Add bug26.
15601 * stdio-common/bug26.c: New file.
15604 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15607 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15609 * Makeconfig (rtld-prefix): Define built linker prefix.
15610 * Rules (run-bench): Use it.
15611 * math/Makefile (run-regen-ulps): Likewise.
15613 * Rules (bench): Remove eval.
15615 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15616 Roland McGrath <roland@hack.frob.com>
15617 Ondrej Bilka <neleai@seznam.cz>
15620 * time/getdate.c: Include ctype.h and alloca.h.
15621 (__getdate_r): Trim leading and trailing spaces of input.
15622 * time/tst-getdate.c (tests): Add tests with leading and
15625 2013-04-08 Roland McGrath <roland@hack.frob.com>
15628 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15629 when computing value.
15631 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15633 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15634 Use testrun.sh to run libm tests.
15637 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15639 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15642 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15644 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15646 * Makefile.in (regen-ulps): New target.
15647 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15648 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15649 [ifneq (no,$(PERL)] (regen-ulps): New target.
15650 [ifeq (no,$(PERL)] (regen-ulps): New target.
15651 * math/libm-test.inc (ulps_file_name): Define.
15652 (output_dir): New variable.
15653 (options): Add "output-dir" option.
15654 (parse_opt): Handle 'o' case.
15655 (main): If output_dir is non-NULL use it as a prefix
15657 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15659 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15661 [BZ #10060, #10062]
15662 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15663 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15664 fail configure if __sync_val_compare_and_swap is not inlined.
15665 * sysdeps/i386/configure: Regenerate.
15666 * configure.in: Build for i686 when configured for i386.
15667 * configure: Regenerate.
15668 * README: Remove i386 reference.
15670 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15672 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15673 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15675 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15677 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15678 (lmsnanval): New variables.
15679 (F): Add conversion tests.
15680 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15681 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15683 * stdio-common/tstdiomisc.c (F): Properly collect individual
15686 [BZ #14686, #15336]
15687 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15688 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15689 Instead, use input NaN values or generate a qNaN by arithmetic
15690 operation. Also fix bugs to comply with the standard.
15691 * math/libm-test.inc (remainder_test): Add more tests.
15693 [BZ #15335, #15342]
15694 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15695 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15696 input NaN values or generate a qNaN by arithmetic operation.
15698 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15701 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15704 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15707 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15708 underflowed result.
15709 * math/s_cexpf.c (__cexpf): Likewise.
15710 * math/s_cexpl.c (__cexpl): Likewise.
15711 * math/libm-test.inc (cexp_test): Add more tests.
15713 2013-04-03 Andreas Schwab <schwab@suse.de>
15716 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15717 order arrays from heap if bigger than alloca cutoff.
15719 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15721 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15722 (SNAN_TESTS_double): Refer to GCC PR56831.
15723 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15726 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15728 * Rules (bench): Move bench.out after the run is complete.
15730 * Rules (bench): Echo currently running benchmark.
15732 * benchtests/Makefile (bench): Add atan and slowatan.
15733 * benchtests/atan-inputs: New file.
15734 * benchtests/slowatan-inputs: New file.
15735 * benchtests/slowatan.c: New file.
15737 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15738 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15742 * sysdeps/unix/sysv/linux/kernel-features.h
15743 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15744 __ASSUME_XFS_RESTRICTED_CHOWN.
15745 * sysdeps/unix/sysv/linux/pathconf.c
15746 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15747 Save and restore errno.
15749 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15752 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15753 arguments using __kernel_casinh.
15754 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15755 arguments using __kernel_casinhf.
15756 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15757 arguments using __kernel_casinhl.
15758 * math/libm-test.inc (cacosh_test): Add more tests.
15759 * sysdeps/i386/fpu/libm-test-ulps: Update.
15760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15762 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15764 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15765 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15767 * bench/Makefile (bench): Add sin and slowsin.
15768 * benchtests/sin-inputs: New file.
15769 * benchtests/slowsin-inputs: New file.
15770 * benchtests/slowsin.c: New file.
15772 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15773 (bench): Add slowexp and slowpow.
15774 (exp-ITER): Increase iterations.
15775 (pow-ITER): Likewise.
15776 * benchtests/exp-inputs: Change input.
15777 * benchtests/pow-inputs: Likewise.
15778 * benchtests/slowexp-inputs: New file.
15779 * benchtests/slowexp.c: New file.
15780 * benchtests/slowpow-inputs: New file.
15781 * benchtests/slowpow.c: New file.
15783 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15785 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15787 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15788 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15789 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15790 * benchtests/Makefile: Add rint benchtest.
15791 * benchtests/rint-inputs: Input for rint benchtest.
15793 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15795 * Versions.def (libm): Add GLIBC_2.18.
15796 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15797 hidden libm prototypes.
15798 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15799 * math/Makefile (libm-calls): Add s_issignaling.
15800 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15801 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15802 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15804 * math/math.h [__USE_GNU] (issignaling): New macro.
15805 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15806 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15807 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15808 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15809 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15810 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15811 * manual/arith.texi (issignaling): New section.
15812 * manual/libm-err-tab.pl (@all_functions): Update comment.
15813 * math/gen-libm-test.pl (parse_args): Apply special handling for
15815 * math/libm-test.inc (print_float, issignaling_test): New
15817 (check_float_internal): Add issignaling checks.
15818 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15819 default definition.
15820 * sysdeps/powerpc/math-tests.h: New file.
15821 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15823 * math/test-snan.c (TEST_FUNC): Likewise.
15825 2013-03-30 David S. Miller <davem@davemloft.net>
15827 * po/de.po: Update from translation team.
15829 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15832 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15833 imaginary part less than 1.0 and real part less than 0.5
15835 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15836 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15837 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15838 (cacos_test): Add more tests.
15839 (casin_test): Likewise.
15840 (casinh_test): Likewise.
15841 * sysdeps/i386/fpu/libm-test-ulps: Update.
15842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15844 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15846 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15847 ONE with its value.
15849 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15850 (__pow_mp): Replace ONE and MONE with their values.
15851 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15852 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15853 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15854 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15855 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15856 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15858 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15860 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15861 (__pow_mp): Replace ZERO and MZERO with their values.
15862 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15863 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15864 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15865 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15866 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15867 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15870 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15872 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15874 2013-03-28 Roland McGrath <roland@hack.frob.com>
15876 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15877 Declare with __attribute__ ((weak)).
15878 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15879 Call __call_tls_dtors only if it's not NULL.
15881 2013-03-28 Roland McGrath <roland@hack.frob.com>
15883 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15884 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15885 magic __ehdr_start linker symbol if it's defined.
15886 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15887 them up here if it was already done.
15889 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15890 (_dl_aux_init): Use const in cast when setting it.
15891 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15892 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15893 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15895 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15897 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15898 * csu/libc-tls.c: Nor here.
15899 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15901 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15902 (__libc_message): Never call vsyslog.
15904 2013-03-28 Alan Modra <amodra@gmail.com>
15906 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15908 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15911 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15914 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15918 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15921 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15922 Don't add gid passed as argument.
15924 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15926 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15929 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15930 imaginary part between 1.0 and 1.5 and real part less than 0.5
15932 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15933 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15934 * math/libm-test.inc (cacos_test): Add more tests.
15935 (casin_test): Likewise.
15936 (casinh_test): Likewise.
15937 * sysdeps/i386/fpu/libm-test-ulps: Update.
15938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15940 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15942 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15945 (denorm): Likewise.
15946 (__dbl_mp): Likewise.
15947 (add_magnitudes): Likewise.
15948 (sub_magnitudes): Likewise.
15956 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15958 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15959 (__dubcos): Likewise.
15960 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15961 (__ieee754_acos): Likewise.
15962 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15963 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15964 (__exp1): Likewise.
15965 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15966 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15968 (my_log2): Likewise.
15969 (checkint): Likewise.
15970 * sysdeps/ieee754/dbl-64/e_remainder.c
15971 (__ieee754_remainder): Likewise.
15972 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15973 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15974 (bsloww): Likewise.
15975 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15977 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15978 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15979 MANTISSA_STORE_T to store computations on mantissa. Use
15980 macros for rounding and division.
15981 (denorm): Likewise.
15982 (__dbl_mp): Likewise.
15983 (add_magnitudes): Likewise.
15984 (sub_magnitudes): Likewise.
15987 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15988 powers of two in terms of TWOPOW macro.
15989 (mp_no): Make type of mantissa as MANTISSA_T.
15990 [!RADIXI]: Define RADIXI.
15991 [!TWO52]: Define TWO52.
15992 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15994 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15996 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15997 llroundl symbol when building for PPC32.
15999 2013-03-24 Mark H Weaver <mhw@netris.org>
16001 * manual/arith.texi (Normalization Functions): Fix prototypes for
16002 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16004 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16007 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16008 high value to check if expl overflow.
16009 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16010 to check for underflow and overflow.
16011 * math/libm-test.inc: Add exp test.
16013 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16016 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16019 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16021 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16024 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16026 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16027 wrap blocks consisting of several statements.
16029 * sysdeps/generic/math-tests.h: New file.
16030 * sysdeps/i386/fpu/math-tests.h: Likewise.
16031 * math/test-snan.c: Include it.
16032 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16034 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16037 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16038 (__ieee754_j0l): Do not improve calculations using cos of twice
16039 input for inputs above LDBL_MAX / 2.0L.
16040 (__ieee754_y0l): Likewise.
16041 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16042 (__ieee754_j1l): Do not improve calculations using cos of twice
16043 input for inputs above LDBL_MAX / 2.0L.
16044 (__ieee754_y1l): Likewise.
16045 * math/libm-test.inc (j0_test): Add another test.
16046 (j1_test): Likewise.
16047 (y0_test): Likewise.
16048 (y1_test): Likewise.
16049 * sysdeps/i386/fpu/libm-test-ulps: Update.
16051 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16053 * Rules ($(objpfx)bench-%.c): Include code from a C source
16056 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16059 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16060 imaginary part 1.0 and real part less than 0.5 specially.
16061 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16062 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16063 * math/libm-test.inc (cacos_test): Add more tests.
16064 (casin_test): Likewise.
16065 (casinh_test): Likewise.
16066 * sysdeps/i386/fpu/libm-test-ulps: Update.
16067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16069 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16071 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16072 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16074 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16076 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16077 * config.make.in (config-cflags-sse4): Remove variable.
16078 (config-cflags-avx): Likewise.
16079 (config-cflags-sse2avx): Likewise.
16080 (config-cflags-novzeroupper): Likewise.
16081 (config-asflags-i686): Likewise.
16082 (have-mfma4): Likewise.
16083 (have-as-vis3): Likewise.
16085 * configure.in (MIG): Do not AC_SUBST.
16086 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16087 (libc_cv_cc_sse4): Do not AC_SUBST.
16088 (libc_cv_cc_avx): Likewise.
16089 (libc_cv_cc_sse2avx): Likewise.
16090 (libc_cv_cc_novzeroupper): Likewise.
16091 (libc_cv_cc_fma4): Likewise.
16092 (libc_cv_as_i686): Likewise.
16093 (libc_cv_sparc_as_vis3): Likewise.
16094 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16096 (config-asflags-i686): Likewise.
16097 (config-cflags-avx): Likewise.
16098 (config-cflags-sse2avx): Likewise.
16099 (have-mfma4): Likewise.
16100 (config-cflags-novzeroupper): Likewise.
16101 * sysdeps/mach/configure.in (MIG): Likewise.
16102 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16103 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16105 (config-cflags-avx): Likewise.
16106 (config-cflags-sse2avx): Likewise.
16107 (have-mfma4): Likewise.
16108 (config-cflags-novzeroupper): Likewise.
16109 * configure: Regenerated.
16110 * sysdeps/i386/configure: Likewise.
16111 * sysdeps/mach/configure: Likewise.
16112 * sysdeps/sparc/configure: Likewise.
16113 * sysdeps/x86_64/configure: Likewise.
16115 2013-03-20 Roland McGrath <roland@hack.frob.com>
16118 * locale/programs/localedef.c (options): Put N_ translation marker
16119 on argument names, not just descriptions.
16121 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16123 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16125 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16128 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16130 2013-03-19 Roland McGrath <roland@hack.frob.com>
16132 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16133 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16134 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16135 [!BEFORE_ABORT] (before_abort): New function.
16136 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16137 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16138 (writev_for_fatal): New function.
16139 (WRITEV_FOR_FATAL): New macro; call that.
16140 (backtrace_and_maps): New function.
16141 (BEFORE_ABORT): New macro; call that.
16142 (struct str_list): Type removed.
16143 (__libc_message, __libc_fatal): Functions removed.
16144 Include <sysdeps/posix/libc_fatal.c> instead.
16146 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16148 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16150 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16153 2013-03-19 Andreas Schwab <schwab@suse.de>
16155 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16156 * sysdeps/gnu/configure: Regenerate.
16158 * configure.in: Substitute libc_cv_rtlddir.
16159 * configure: Regenerate.
16160 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16161 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16162 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16163 * elf/Makefile (install-others, CFLAGS-interp.c)
16164 (ldso_install, common-ldd-rewrite): Likewise.
16165 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16166 $(inst_slibdir)/$(rtld-installed-name).
16167 * scripts/rellns-sh: Add -p option.
16168 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16171 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16173 * manual/nptl.texi: Renamed to ...
16174 * manual/threads.texi: ... this.
16175 * manual/Makefile (chapters): Update.
16177 2013-03-18 Roland McGrath <roland@hack.frob.com>
16180 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16181 on argument names, not just descriptions.
16182 * malloc/memusagestat.c (options): Likewise.
16183 * nss/getent.c (options): Likewise.
16185 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16188 * iconv/iconv_prog.c (options): Put N_ translation marker
16189 on argument names, not just descriptions.
16190 * iconv/iconvconfig.c (options): Likewise.
16192 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16194 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16195 implementation which is faster on all x86_64 architectures.
16196 Tested on AMD, Intel Nehalem, SNB, IVB.
16197 * sysdeps/x86_64/strnlen.S: Likewise.
16199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16200 Remove all multiarch strlen and strnlen versions.
16201 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16202 Remove strlen and strnlen related parts.
16204 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16205 Inline strlen part.
16206 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16208 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16209 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16210 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16211 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16212 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16213 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16215 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16217 * manual/memory.texi (Malloc Tunable Parameters):
16218 Sort parameters alphabetically. Add comments for missing entries.
16220 2013-03-17 David S. Miller <davem@davemloft.net>
16222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16224 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16227 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16228 for arguments at most half maximum finite value.
16229 * math/libm-test.inc (j0_test): Add more tests.
16230 (j1_test): Likewise.
16231 (y0_test): Likewise.
16232 (y1_test): Likewise.
16233 * sysdeps/i386/fpu/libm-test-ulps: Update.
16234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16237 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16238 1 / x and functions P and Q for arguments above 0x1p256L.
16239 (__ieee754_y0l): Likewise.
16240 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16241 (__ieee754_y1l): Likewise.
16242 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16243 (j1_test): Likewise.
16244 (y0_test): Likewise.
16245 (y1_test): Likewise.
16247 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16249 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16252 2013-03-15 Roland McGrath <roland@hack.frob.com>
16254 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16255 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16256 zero since it's initialized to EXEC_PAGESIZE.
16258 * sysdeps/unix/sysv/linux/ldsodefs.h
16259 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16260 * sysdeps/generic/ldsodefs.h: ... here.
16262 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16264 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16266 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16268 * math/test-snan.c: Renamed from
16269 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16270 * math/Makefile (tests): Add test-snan.
16271 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16274 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16275 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16277 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16278 __builtin_nan family of functions.
16279 * math/libm-test.inc (initialize): Initialize qnan_value with
16280 __builtin_nan family of functions.
16281 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16283 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16285 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16286 storage class. Initialize qNaN_var and sNaN_var with
16287 __builtin_nan and __builtin_nans families of functions,
16290 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16291 (sqrt_test): Remove duplicate test with qNaN input.
16292 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16293 (round_test, signbit_test, significand_test): Note missing +/-Inf
16294 as well as qNaN tests.
16296 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16297 qNaN_var. Fix a few strings, too.
16298 * math/libm-test.inc (nan_value): Rename to qnan_value.
16299 * math/gen-libm-test.pl (%beautify): Adjust to that.
16300 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16301 * math/test-misc.c (main): Likewise.
16302 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16303 to __qnan_bytes, and __qnan_union, respectively.
16304 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16306 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16307 and lqnanval, respectively.
16308 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16309 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16310 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16311 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16313 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16314 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16317 * math/test-misc.c (main): Fix copy'n'pastos.
16318 * misc/tst-efgcvt.c (special): Likewise.
16320 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16321 Remove declarations.
16323 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16325 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16326 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16327 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16328 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16330 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16332 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16333 macro to return vdso values correctly in IFUNC implementations.
16334 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16335 Optimization by using IFUNC.
16337 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16338 Richard Henderson <rth@redhat.com>
16339 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16341 * Makefile.in (bench): New target.
16342 * NEWS: Mention the benchmark framework.
16343 * Rules (bench): Likewise.
16344 (binaries-bench): Generate binaries for functions to
16346 * benchtests/Makefile: New makefile for benchmark tests.
16347 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16349 * benchtests/exp-inputs: New input file for EXP function.
16350 * benchtests/pow-inputs: New input file for POW function.
16351 * scripts/bench.pl: New script to generate source files for
16352 benchmark programs.
16354 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16356 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16357 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16358 computations on mantissa. Use macros for rounding and
16360 (denorm): Likewise.
16361 (__dbl_mp): Likewise.
16362 (add_magnitudes): Likewise.
16363 (sub_magnitudes): Likewise.
16366 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16367 powers of two in terms of TWOPOW macro.
16368 (mp_no): Make type of mantissa as MANTISSA_T.
16369 [!RADIXI]: Define RADIXI.
16370 [!TWO52]: Define TWO52.
16371 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16373 * manual/nptl.texi (cindex): Modify threads to pthreads.
16375 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16377 * sysdeps/x86_64/preconfigure: Regenerated.
16379 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16382 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16384 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16385 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16387 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16388 * math/libm-test.inc (j0_test): Do not allow one spurious
16389 underflow exception.
16390 (y1_test): Likewise.
16392 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16394 * manual/Makefile (chapters): Add nptl.
16395 * manual/debug.texi (Debugging Support): Add link to Threads
16397 * manual/nptl.texi: New file.
16399 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16401 2013-03-14 Petr Baudis <pasky@ucw.cz>
16403 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16404 for non-NULL pointer before the memory validity test. Pointed
16405 out by Holger Brunck <holger.brunck@keymile.com>.
16407 2013-03-13 Andreas Schwab <schwab@suse.de>
16409 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16412 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16414 * timezone/zic.c: Update from tzcode 2013b.
16416 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16418 * manual/install.texi (Configuring and compiling):
16419 Mention i686 and i586.
16420 * INSTALL: Regenerate.
16422 2013-03-12 Roland McGrath <roland@hack.frob.com>
16424 * sysdeps/init_array/elf-init.c: New file.
16426 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16427 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16429 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16430 __gmon_start__ as global, but as static with a .preinit_array pointer.
16431 * sysdeps/init_array/gmon-start.c: New file. Use that.
16432 * sysdeps/init_array/crti.S: New file, empty except for comments.
16433 * sysdeps/init_array/crtn.S: Likewise.
16435 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16437 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16440 Remove Prefer_SSE_for_memop.
16441 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16442 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16443 HAS_PREFER_SSE_FOR_MEMOP.
16444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16446 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16447 Remove bzero, memset ifunc support.
16448 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16449 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16450 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16451 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16453 2013-03-11 Andreas Schwab <schwab@suse.de>
16456 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16459 (GLIBC_2.16): Remove pthread_atfork.
16461 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16463 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16464 (ptestcases.h): Likewise.
16466 2013-03-08 Roland McGrath <roland@hack.frob.com>
16468 * Makeconfig ($(common-objpfx)config.status): Depend on
16469 sysdeps/*/preconfigure{,.in} too.
16471 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16473 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16474 (__free_hook): Use void * instead of __malloc_ptr_t.
16475 (__malloc_hook): Likewise.
16476 (__realloc_hook): Likewise.
16477 (__memalign_hook): Likewise.
16478 (__after_morecore_hook): Likewise.
16479 * malloc/arena.c (save_malloc_hook): Likewise.
16480 (save_free_hook): Likewise.
16481 * malloc/hooks.c (malloc_hook_ini): Likewise.
16482 (realloc_hook_ini): Likewise.
16483 (memalign_hook_ini): Likewise.
16484 * malloc/malloc.c (malloc_hook_ini): Likewise.
16485 (realloc_hook_ini): Likewise.
16486 (memalign_hook_ini): Likewise.
16487 (__free_hook): Likewise.
16488 (__malloc_hook): Likewise.
16489 (__realloc_hook): Likewise.
16490 (__memalign_hook): Likewise.
16491 (__libc_malloc): Likewise.
16492 (__libc_free): Likewise.
16493 (__libc_realloc): Likewise.
16494 (__libc_memalign): Likewise.
16495 (__libc_valloc): Likewise.
16496 (__libc_pvalloc): Likewise.
16497 (__libc_calloc): Likewise.
16498 (__posix_memalign): Likewise.
16499 * malloc/morecore.c (__sbrk): Likewise.
16500 (__default_morecore): Likewise.
16502 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16504 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16505 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16506 __malloc_ptrdiff_t.
16508 * malloc/malloc.h (__malloc_size_t): Remove macro.
16509 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16511 (old_memalign_hook): Likewise.
16512 (old_realloc_hook): Likewise.
16513 (struct hdr): Likewise.
16515 (mallochook): Likewise.
16516 (memalignhook): Likewise.
16517 (reallochook): Likewise.
16518 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16519 (tr_old_realloc_hook): Likewise.
16520 (tr_old_memalign_hook): Likewise.
16521 (tr_mallochook): Likewise.
16522 (tr_reallochook): Likewise.
16523 (tr_memalignhook): Likewise.
16525 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16527 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16528 default_ldbl_pack and using as default implementation.
16529 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16531 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16532 redundant definition.
16533 (ldbl_insert_mantissa): Likewise.
16534 (ldbl_canonicalize): Likewise.
16535 (ldbl_nearbyint): Likewise.
16536 (ldbl_pack): Rename to ldbl_pack_ppc.
16537 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16538 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16539 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16541 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16544 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16545 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16546 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16548 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16549 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16550 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16552 2013-03-07 Andreas Jaeger <aj@suse.de>
16554 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16557 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16559 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16560 Include mpa.h and declare __MPEXP.
16561 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16562 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16563 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16564 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16565 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16566 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16567 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16569 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16570 (__slowpow): Use long double EXPL and LOGL functions to
16572 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16573 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16574 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16575 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16576 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16577 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16580 intermediate variable to calculate exponent.
16582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16586 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16587 [!NO__SQR]: Define __sqr.
16588 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16589 and NO__SQR. Remove all code except __mul and __sqr. Include
16590 sysdeps/ieee754/dbl-64/mpa.c.
16591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16594 * posix/Makefile (tests): Add tst-pathconf.
16595 * posix/tst-pathconf.c: New test case.
16596 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16598 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16600 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16602 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16604 2013-03-06 Andreas Jaeger <aj@suse.de>
16606 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16607 definition via __MAP_ANONYMOUS.
16609 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16610 it's not part of Linux headers.
16612 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16613 (MAP_HUGE_MASK): Define.
16615 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16617 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16618 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16620 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16621 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16623 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16624 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16626 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16628 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16629 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16630 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16631 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16632 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16633 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16635 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16638 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16639 Handle f2fs and efivarfs.
16641 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16644 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16645 (EFIVARFS_MAGIC): Add.
16646 (F2FS_LINK_MAX): Add.
16648 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16650 * stdio-common/vfprintf.c: Replace __builtin_expect with
16653 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16656 * sysdeps/generic/bp-sym.h: Remove file.
16657 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16658 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16659 <bp-sym.h> and <bp-asm.h>.
16660 (__longjmp): Don't use BP_SYM.
16661 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16663 (memcpy): Don't use BP_SYM.
16664 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16665 <bp-sym.h> and <bp-asm.h>.
16666 (memcpy): Don't use BP_SYM.
16667 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16669 (memcpy): Don't use BP_SYM.
16670 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16672 (memset): Don't use BP_SYM.
16673 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16674 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16675 (__bzero): Don't use BP_SYM.
16676 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16677 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16678 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16679 <bp-sym.h> and <bp-asm.h>.
16680 (memcmp): Don't use BP_SYM. Remove comment about bounded
16682 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16683 <bp-sym.h> and <bp-asm.h>.
16684 (memcpy): Don't use BP_SYM.
16685 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16686 <bp-sym.h> and <bp-asm.h>.
16687 (memset): Don't use BP_SYM.
16688 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16689 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16690 (__bzero): Don't use BP_SYM.
16691 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16692 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16693 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16694 <bp-sym.h> and <bp-asm.h>.
16695 (strncmp): Don't use BP_SYM. Remove comment about bounded
16697 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16698 <bp-sym.h> and <bp-asm.h>.
16699 (memcpy): Don't use BP_SYM.
16700 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16701 <bp-sym.h> and <bp-asm.h>.
16702 (memset): Don't use BP_SYM.
16703 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16704 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16705 (__bzero): Don't use BP_SYM.
16706 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16707 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16708 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16709 <bp-sym.h> and <bp-asm.h>.
16710 (__memchr): Don't use BP_SYM.
16711 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16712 <bp-sym.h> and <bp-asm.h>.
16713 (memcmp): Don't use BP_SYM. Remove comment about bounded
16715 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16716 <bp-sym.h> and <bp-asm.h>.
16717 (memcpy): Don't use BP_SYM.
16718 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16719 <bp-sym.h> and <bp-asm.h>.
16720 (__mempcpy): Don't use BP_SYM.
16721 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16722 <bp-sym.h> and <bp-asm.h>.
16723 (__memrchr): Don't use BP_SYM.
16724 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16725 <bp-sym.h> and <bp-asm.h>.
16726 (memset): Don't use BP_SYM.
16727 (__bzero): Likewise.
16728 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16729 <bp-sym.h> and <bp-asm.h>.
16730 (__rawmemchr): Don't use BP_SYM.
16731 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16732 <bp-sym.h> and <bp-asm.h>.
16733 (__STRCMP): Don't use BP_SYM.
16734 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16735 <bp-sym.h> and <bp-asm.h>.
16736 (strchr): Don't use BP_SYM.
16737 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16738 <bp-sym.h> and <bp-asm.h>.
16739 (__strchrnul): Don't use BP_SYM.
16740 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16741 <bp-sym.h> and <bp-asm.h>.
16742 (strlen): Don't use BP_SYM.
16743 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16744 <bp-sym.h> and <bp-asm.h>.
16745 (strncmp): Don't use BP_SYM. Remove comment about bounded
16747 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16748 <bp-sym.h> and <bp-asm.h>.
16749 (__strnlen): Don't use BP_SYM.
16750 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16751 <bp-sym.h> and <bp-asm.h>.
16752 (__GI__setjmp): Don't use BP_SYM.
16753 (_setjmp): Likewise.
16754 (__sigsetjmp): Likewise.
16755 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16756 (L(start_addresses)): Don't use BP_SYM.
16757 (_start): Likewise.
16758 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16760 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16761 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16762 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16763 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16764 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16766 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16767 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16768 about bounded pointers.
16769 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16770 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16771 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16773 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16774 about bounded pointers. Remove GKM FIXME comments.
16775 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16776 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16778 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16779 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16780 Remove GKM FIXME comments.
16781 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16782 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16783 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16785 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16786 about bounded pointers. Remove GKM FIXME comment.
16787 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16789 (strncmp): Don't use BP_SYM. Remove comment about bounded
16791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16792 <bp-sym.h> and <bp-asm.h>.
16793 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16795 <bp-sym.h> and <bp-asm.h>.
16796 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16799 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16801 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16804 2013-03-05 David S. Miller <davem@davemloft.net>
16806 * po/es.po: Update from translation team.
16808 2013-03-05 Andreas Jaeger <aj@suse.de>
16810 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16811 <bits/mman-linux.h>.
16812 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16814 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16815 <bits/mman-linux.h> to end of file.
16816 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16818 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16819 <bits/mman-linux.h> to end of file.
16820 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16822 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16823 <bits/mman-linux.h> to end of file.
16825 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16826 (MCL_CURRENT, MCL_FUTURE): Define here.
16828 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16831 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16833 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16835 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16837 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16838 fourth parameter needed for rt_sigprocmask syscall.
16839 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16840 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16841 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16842 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16843 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16844 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16846 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16849 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16850 comment about bounded pointers.
16851 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16852 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16854 2013-03-04 Andreas Jaeger <aj@suse.de>
16856 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16857 common definitions.
16859 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16860 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16861 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16862 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16863 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16864 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16866 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16869 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16870 __ieee754_sqrl instead of __sqrl.
16872 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16874 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16875 * sysdeps/powerpc/fpu_control.h: ... here.
16876 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16877 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16878 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16879 * sysdeps/powerpc/bits/mathinline.h: ... here.
16881 2013-03-01 Roland McGrath <roland@hack.frob.com>
16883 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16884 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16885 to just [NEED_DL_SYSINFO_DSO].
16886 * elf/dl-support.c: Likewise.
16887 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16888 * elf/rtld.c (dl_main): Likewise.
16889 * elf/setup-vdso.h (setup_vdso): Likewise.
16890 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16891 * sysdeps/unix/sysv/linux/dl-sysdep.c
16892 (_dl_discover_osversion): Likewise.
16894 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16896 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16897 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16899 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16901 * NEWS: Mention libm performance improvements and non-x86 PI
16904 * csu/libc-start.c (__pthread_initialize_minimal): Change
16905 function arguments.
16906 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16908 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16911 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16912 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16913 <bp-sym.h> and <bp-asm.h>.
16914 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16915 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16917 (memcpy): Don't use BP_SYM.
16918 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16920 (__mpn_add_n): Don't use BP_SYM.
16921 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16922 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16924 (__mpn_addmul_1): Don't use BP_SYM.
16925 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16926 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16928 (_setjmp): Don't use BP_SYM.
16929 (__novmx_setjmp): Likewise.
16930 (__GI__setjmp): Likewise.
16931 (__vmx_setjmp): Likewise.
16932 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16934 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16935 (__bzero): Don't use BP_SYM.
16936 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16937 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16938 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16939 <bp-sym.h> and <bp-asm.h>.
16940 (memcpy): Don't use BP_SYM.
16941 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16942 <bp-sym.h> and <bp-asm.h>.
16943 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16944 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16945 <bp-sym.h> and <bp-asm.h>.
16946 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16947 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16949 (__mpn_lshift): Don't use BP_SYM.
16950 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16951 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16953 (memset): Don't use BP_SYM.
16954 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16955 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16956 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16958 (__mpn_mul_1): Don't use BP_SYM.
16959 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16960 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16961 <bp-sym.h> and <bp-asm.h>.
16962 (memcmp): Don't use BP_SYM.
16963 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16964 <bp-sym.h> and <bp-asm.h>.
16965 (memcpy): Don't use BP_SYM.
16966 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16967 <bp-sym.h> and <bp-asm.h>.
16968 (memset): Don't use BP_SYM.
16969 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16970 <bp-sym.h> and <bp-asm.h>.
16971 (strncmp): Don't use BP_SYM.
16972 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16973 <bp-sym.h> and <bp-asm.h>.
16974 (memcpy): Don't use BP_SYM.
16975 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16976 <bp-sym.h> and <bp-asm.h>.
16977 (memset): Don't use BP_SYM.
16978 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16979 <bp-sym.h> and <bp-asm.h>.
16980 (__memchr): Don't use BP_SYM.
16981 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16982 <bp-sym.h> and <bp-asm.h>.
16983 (memcmp): Don't use BP_SYM.
16984 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16985 <bp-sym.h> and <bp-asm.h>.
16986 (memcpy): Don't use BP_SYM.
16987 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16988 <bp-sym.h> and <bp-asm.h>.
16989 (__mempcpy): Don't use BP_SYM.
16990 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16991 <bp-sym.h> and <bp-asm.h>.
16992 (__memrchr): Don't use BP_SYM.
16993 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16994 <bp-sym.h> and <bp-asm.h>.
16995 (memset): Don't use BP_SYM.
16996 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16997 <bp-sym.h> and <bp-asm.h>.
16998 (__rawmemchr): Don't use BP_SYM.
16999 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17000 <bp-sym.h> and <bp-asm.h>.
17001 (__STRCMP): Don't use BP_SYM.
17002 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17003 <bp-sym.h> and <bp-asm.h>.
17004 (strchr): Don't use BP_SYM.
17005 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17006 <bp-sym.h> and <bp-asm.h>.
17007 (__strchrnul): Don't use BP_SYM.
17008 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17009 <bp-sym.h> and <bp-asm.h>.
17010 (strlen): Don't use BP_SYM.
17011 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17012 <bp-sym.h> and <bp-asm.h>.
17013 (strncmp): Don't use BP_SYM.
17014 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17015 <bp-sym.h> and <bp-asm.h>.
17016 (__strnlen): Don't use BP_SYM.
17017 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17019 (__mpn_rshift): Don't use BP_SYM.
17020 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17021 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17022 <bp-sym.h> and <bp-asm.h>.
17023 (__sigsetjmp): Don't use BP_SYM.
17024 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17025 (L(start_addresses)): Don't use BP_SYM.
17026 (_start): Likewise.
17027 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17029 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17030 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17031 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17032 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17034 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17035 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17036 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17037 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17039 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17041 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17042 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17044 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17046 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17047 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17048 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17050 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17052 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17054 (strncmp): Don't use BP_SYM,
17055 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17057 (__mpn_sub_n): Don't use BP_SYM.
17058 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17059 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17061 (__mpn_submul_1): Don't use BP_SYM.
17062 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17064 <bp-sym.h> and <bp-asm.h>.
17065 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17067 <bp-sym.h> and <bp-asm.h>.
17068 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17071 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17074 Use ZK to minimize writes to Z.
17075 (sub_magnitudes): Simplify code a bit.
17076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17077 Use ZK to minimize writes to Z.
17078 (sub_magnitudes): Simplify code a bit.
17080 2013-02-27 Roland McGrath <roland@hack.frob.com>
17082 * csu/gmon-start.c: Add special exception to license text.
17084 2013-02-27 Richard Henderson <rth@redhat.com>
17086 * scripts/config.guess: Update from config.git.
17087 * scripts/config.sub: Likewise.
17089 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17091 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17093 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17095 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17097 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17099 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17101 2013-02-26 Roland McGrath <roland@hack.frob.com>
17103 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17104 [$(build-shared = yes].
17106 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17108 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17109 (__mul): Reduce iterations for calculating mantissa.
17111 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17113 (__mpranred): Likewise.
17116 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17117 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17119 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17121 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17122 Define __attribute__.
17124 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17126 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17128 * posix/regex_internal.h (__attribute): Remove.
17129 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17130 (re_string_context_at): Likewise.
17131 (bitset_not): Use __attribute__ and mark function as possibly
17133 (bitset_merge): Likewise.
17134 (bitset_mask): Likewise.
17135 (re_string_char_size_at): Likewise.
17136 (re_string_wchar_at): Likewise.
17137 (re_string_elem_size_at): Likewise.
17139 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17141 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17145 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17149 (denorm): Likewise.
17150 (__dbl_mp): Likewise.
17151 (add_magnitudes): Likewise.
17152 (sub_magnitudes): Likewise.
17156 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17159 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17162 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17166 up changes with default code.
17167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17170 2013-02-24 Allan McRae <allan@archlinux.org>
17172 * manual/socket.texi (The Internet Namespace): Order menu items
17173 to match that in the file.
17175 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17176 node listing of the info page menu.
17178 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17181 * sysdeps/i386/bp-asm.h: Remove file.
17182 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17183 (PARMS): Do not use macros from bp-asm.h.
17187 (__mpn_add_n): Do not use BP_SYM
17188 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17190 (PARMS): Do not use macros from bp-asm.h.
17193 (__mpn_addmul_1): Do not use BP_SYM
17194 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17196 (PARMS): Do not use macros from bp-asm.h.
17197 (SIGMSK): Likewise.
17198 (_setjmp): Likewise. Do not use BP_SYM.
17199 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17201 (PARMS): Do not use macros from bp-asm.h.
17202 (SIGMSK): Likewise.
17203 (setjmp): Likewise. Do not use BP_SYM.
17204 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17206 (PARMS): Do not use macros from bp-asm.h.
17207 (__frexp): Do not use BP_SYM.
17209 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17211 (PARMS): Do not use macros from bp-asm.h.
17212 (__frexpf): Do not use BP_SYM.
17213 (frexpf): Likewise.
17214 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17216 (PARMS): Do not use macros from bp-asm.h.
17217 (__frexpl): Do not use BP_SYM.
17218 (frexpl): Likewise.
17219 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17221 (PARMS): Do not use macros from bp-asm.h.
17222 (__remquo): Do not use BP_SYM.
17223 (remquo): Likewise.
17224 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17226 (PARMS): Do not use macros from bp-asm.h.
17227 (__remquof): Do not use BP_SYM.
17228 (remquof): Likewise.
17229 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17231 (PARMS): Do not use macros from bp-asm.h.
17232 (__remquol): Do not use BP_SYM.
17233 (remquol): Likewise.
17234 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17236 (PARMS): Do not use macros from bp-asm.h.
17239 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17240 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17242 (PARMS): Do not use macros from bp-asm.h.
17243 (strlen): Do not use BP_SYM.
17244 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17246 (PARMS): Do not use macros from bp-asm.h.
17250 (__mpn_add_n): Do not use BP_SYM.
17251 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17253 (PARMS): Do not use macros from bp-asm.h.
17256 (__mpn_addmul_1): Do not use BP_SYM.
17257 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17260 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17262 (PARMS): Do not use macros from bp-asm.h.
17265 (__mpn_lshift): Do not use BP_SYM.
17266 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17268 (PARMS): Do not use macros from bp-asm.h.
17272 (memcpy): Likewise. Do not use BP_SYM.
17273 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17274 libc_hidden_def and weak_alias.
17275 (mempcpy): Do not use BP_SYM in weak_alias.
17276 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17278 (PARMS): Do not use macros from bp-asm.h.
17281 [!BZERO_P] (CHR): Likewise.
17282 (memset): Likewise. Do not use BP_SYM.
17283 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17285 (PARMS): Do not use macros from bp-asm.h.
17288 (__mpn_mul_1): Do not use BP_SYM.
17289 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17291 (PARMS): Do not use macros from bp-asm.h.
17294 (__mpn_rshift): Do not use BP_SYM.
17295 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17297 (PARMS): Do not use macros from bp-asm.h.
17300 (strchr): Likewise. Do not use BP_SYM.
17301 (index): Do not use BP_SYM in weak_alias.
17302 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17304 (PARMS): Do not use macros from bp-asm.h.
17307 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17308 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17310 (PARMS): Do not use macros from bp-asm.h.
17311 (strlen): Do not use BP_SYM.
17312 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17314 (PARMS): Do not use macros from bp-asm.h.
17318 (__mpn_sub_n): Do not use BP_SYM.
17319 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17321 (PARMS): Do not use macros from bp-asm.h.
17324 (__mpn_submul_1): Do not use BP_SYM.
17325 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17327 (PARMS): Do not use macros from bp-asm.h.
17331 (__mpn_add_n): Do not use BP_SYM.
17332 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17335 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17337 (PARMS): Do not use macros from bp-asm.h.
17340 (memcmp): Do not use BP_SYM.
17341 (bcmp): Do not use BP_SYM in weak_alias.
17342 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17344 (PARMS): Do not use macros from bp-asm.h.
17348 (memcpy): Likewise. Do not use BP_SYM.
17349 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17351 (PARMS): Do not use macros from bp-asm.h.
17355 (memmove): Likewise. Do not use BP_SYM.
17356 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17358 (PARMS): Do not use macros from bp-asm.h.
17362 (__mempcpy): Likewise. Do not use BP_SYM.
17363 (mempcpy): Do not use BP_SYM in weak_alias.
17364 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17366 (PARMS): Do not use macros from bp-asm.h.
17369 [!BZERO_P] (CHR): Likewise.
17370 (memset): Likewise. Do not use BP_SYM.
17371 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17373 (PARMS): Do not use macros from bp-asm.h.
17375 (strcmp): Do not use BP_SYM.
17376 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17378 (PARMS): Do not use macros from bp-asm.h.
17381 [USE_AS_STRTOK_R] (SAVE): Likewise.
17382 (FUNCTION): Likewise. Do not use BP_SYM.
17383 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17385 (strtok_r): Likewise.
17386 (__GI___strtok_r): Likewise.
17387 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17388 (PARMS): Do not use macros from bp-asm.h.
17391 (__mpn_lshift): Do not use BP_SYM.
17392 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17393 (PARMS): Do not use macros from bp-asm.h.
17396 (__memchr): Do not use BP_SYM.
17397 (memchr): Do not use BP_SYM in weak_alias.
17398 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17399 (PARMS): Do not use macros from bp-asm.h.
17402 (memcmp): Do not use BP_SYM.
17403 (bcmp): Do not use BP_SYM in weak_alias.
17404 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17405 (PARMS): Do not use macros from bp-asm.h.
17408 (__mpn_mul_1): Do not use BP_SYM.
17409 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17411 (PARMS): Do not use macros from bp-asm.h.
17414 (__rawmemchr): Do not use BP_SYM.
17415 (rawmemchr): Do not use BP_SYM in weak_alias.
17416 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17417 (PARMS): Do not use macros from bp-asm.h.
17420 (__mpn_rshift): Do not use BP_SYM.
17421 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17422 (PARMS): Do not use macros from bp-asm.h.
17423 (SIGMSK): Likewise.
17424 (__sigsetjmp): Likewise. Do not use BP_SYM.
17425 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17426 (_start): Do not use BP_SYM.
17427 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17428 (PARMS): Do not use macros from bp-asm.h.
17431 (__stpcpy): Likewise. Do not use BP_SYM.
17432 (stpcpy): Do not use BP_SYM in weak_alias.
17433 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17435 (PARMS): Do not use macros from bp-asm.h.
17439 (__stpncpy): Likewise. Do not use BP_SYM.
17440 (stpncpy): Do not use BP_SYM in weak_alias.
17441 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17442 (PARMS): Do not use macros from bp-asm.h.
17445 (strchr): Likewise. Do not use BP_SYM.
17446 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17448 (PARMS): Do not use macros from bp-asm.h.
17451 (__strchrnul): Likewise. Do not use BP_SYM.
17452 (strchrnul): Do not use BP_SYM in weak_alias.
17453 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17455 (PARMS): Do not use macros from bp-asm.h.
17457 (strcspn): Do not use BP_SYM.
17458 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17460 (PARMS): Do not use macros from bp-asm.h.
17463 (strpbrk): Likewise. Do not use BP_SYM.
17464 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17466 (PARMS): Do not use macros from bp-asm.h.
17469 (strrchr): Likewise. Do not use BP_SYM.
17470 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17471 (PARMS): Do not use macros from bp-asm.h.
17473 (strspn): Do not use BP_SYM.
17474 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17475 (PARMS): Do not use macros from bp-asm.h.
17479 (FUNCTION): Likewise. Do not use BP_SYM.
17480 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17482 (strtok_r): Likewise.
17483 (__GI___strtok_r): Likewise.
17484 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17485 (PARMS): Do not use macros from bp-asm.h.
17489 (__mpn_sub_n): Do not use BP_SYM.
17490 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17492 (PARMS): Do not use macros from bp-asm.h.
17495 (__mpn_submul_1): Do not use BP_SYM.
17496 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17498 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17500 (PARMS): Do not use macros from bp-asm.h.
17505 (__clone): Do not use BP_SYM.
17506 (clone): Do not use BP_SYM in weak_alias.
17507 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17509 (PARMS): Do not use macros from bp-asm.h.
17511 (__mmap64): Do not use BP_SYM.
17512 (mmap64): Do not use BP_SYM in weak_alias.
17513 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17514 <bp-sym.h> and <bp-asm.h>.
17515 (PARMS): Do not use macros from bp-asm.h.
17516 (__posix_fadvise64_l64): Do not use BP_SYM.
17517 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17518 (PARMS): Do not use macros from bp-asm.h.
17520 (semtimedop): Do not use BP_SYM.
17521 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17524 2013-02-21 Allan McRae <allan@archlinux.org>
17526 * manual/message.texi (Charset conversion in gettext):
17527 Move @end statement to beginning of line.
17529 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17536 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17537 (denorm): Likewise.
17538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17539 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17541 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17543 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17544 tail-call to the resolved function if pltexit isn't needed.
17546 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17548 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17549 or Y being zero as being unlikely.
17550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17553 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17555 * manual/nss.texi (System Databases and Name Service Switch):
17556 Remove frobnicate @pxref.
17558 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17560 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17561 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17563 2013-02-20 Petr Machata <pmachata@redhat.com>
17565 * elf/elf.h (R_ARM_TARGET1): New macro.
17566 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17567 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17568 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17569 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17570 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17571 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17572 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17573 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17574 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17575 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17576 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17577 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17578 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17579 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17580 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17581 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17582 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17583 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17584 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17585 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17586 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17587 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17588 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17589 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17590 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17591 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17592 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17593 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17594 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17595 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17596 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17597 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17598 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17599 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17600 (R_ARM_THM_GOT_BREL12): Likewise.
17601 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17602 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17603 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17604 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17605 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17606 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17607 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17608 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17609 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17611 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17613 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17614 __attribute_used__ to __attribute__ ((unused)).
17616 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17618 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17620 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17621 comment formatting.
17622 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17624 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17627 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17629 (ENTER): Remove both macro definitions.
17631 (CHECK_BOUNDS_LOW): Likewise.
17632 (CHECK_BOUNDS_HIGH): Likewise.
17633 (CHECK_BOUNDS_BOTH): Likewise.
17634 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17635 (RETURN_BOUNDED_POINTER): Likewise.
17636 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17637 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17638 (POP_ERRNO_LOCATION_RETURN): Likewise.
17639 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17640 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17641 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17643 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17644 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17645 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17646 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17647 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17648 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17649 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17650 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17651 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17652 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17653 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17654 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17655 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17656 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17658 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17659 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17661 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17662 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17663 * sysdeps/i386/i586/memset.S (memset): Likewise.
17664 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17665 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17666 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17668 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17669 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17670 Change uses of L(2) to L(out).
17671 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17672 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17673 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17674 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17675 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17677 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17678 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17680 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17681 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17682 (RETURN): Do not use macro LEAVE.
17683 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17684 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17685 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17686 * sysdeps/i386/i686/memset.S (memset): Likewise.
17687 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17688 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17689 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17690 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17692 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17693 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17694 L(1_2) and L(1_3) into L(1).
17695 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17696 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17697 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17698 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17699 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17700 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17701 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17702 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17703 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17705 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17706 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17707 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17708 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17709 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17710 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17711 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17712 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17713 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17714 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17715 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17716 * sysdeps/i386/strspn.S (strspn): Likewise.
17717 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17719 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17720 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17721 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17722 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17723 L(1_3) into L(1_1).
17724 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17725 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17726 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17728 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17730 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17732 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17735 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17737 * math/atest-exp.c (exp_mpn): Remove ROUND.
17738 * math/atest-exp2.c (exp_mpn): Likewise.
17739 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17741 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17742 * stdlib/tst-tls-atexit-lib.c: Likewise.
17743 * stdlib/tst-tls-atexit.c: Likewise.
17745 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17747 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17748 and __attribute_alloc_size__.
17750 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17752 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17753 __attribute_alloc_size__.
17754 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17755 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17757 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17759 * include/programs/xmalloc.h: New file.
17760 * catgets/gencat.c: Include it.
17761 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17762 * elf/pldd.c: Likewise.
17763 * iconv/iconv_charmap.c: Likewise.
17764 * iconv/iconvconfig.c: Likewise.
17765 * iconv/strtab.c: Likewise.
17766 * locale/programs/locale.c: Likewise.
17767 * locale/programs/localedef.h: Likewise.
17768 * locale/programs/simple-hash.c: Likewise.
17769 * nscd/nscd.h: Likewise.
17770 * nss/makedb.c: Likewise.
17771 * sysdeps/generic/ldconfig.h: Likewise.
17773 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17775 * Versions.def: Add GLIBC_2.18.
17776 * include/link.h (struct link_map): New member l_tls_dtor_count.
17777 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17778 (__call_tls_dtors): Likewise.
17779 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17780 __cxa_thread_atexit_impl.
17781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17789 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17797 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17798 (tests): Add test case tst-tls-atexit.
17799 (modules-names): Add shared library for tst-tls-atexit.
17800 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17801 (GLIBC_PRIVATE): Add __call_tls_dtors.
17802 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17804 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17805 * stdlib/tst-tls-atexit.c: New test case.
17806 * stdlib/tst-tls-atexit-lib.c: New test case.
17808 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17810 * elf/Versions (ld): Add _dl_find_dso_for_object.
17811 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17812 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17813 (dl_open_worker): Use _dl_find_dso_for_object.
17814 * elf/dl-sym.c (do_sym): Likewise.
17815 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17817 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17819 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17820 Syntactic changes only.
17821 (_dl_runtime_profile): Do a tail-call to the resolved function.
17823 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17826 * sysdeps/x86_64/bp-asm.h: Remove file.
17827 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17828 <bp-sym.h> and <bp-asm.h>.
17829 (__clone): Do not use BP_SYM.
17830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17831 <bp-sym.h> and <bp-asm.h>.
17832 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17833 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17835 (_setjmp): Do not use BP_SYM.
17836 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17838 (setjmp): Do not use BP_SYM.
17839 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17841 (mempcpy): Do not use BP_SYM in weak_alias.
17842 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17844 (strchr): Do not use BP_SYM.
17845 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17847 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17848 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17849 (_start): Do not use BP_SYM.
17850 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17852 (strcat): Do not use BP_SYM.
17853 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17855 (STRCMP): Do not use BP_SYM.
17856 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17858 (STRCPY): Do not use BP_SYM.
17859 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17861 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17863 (FUNCTION): Do not use BP_SYM.
17864 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17866 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17868 2013-02-17 Andreas Jaeger <aj@suse.de>
17870 * time/Versions: Sort entries.
17871 * string/Versions: Likewise.
17872 * resolv/Versions: Likewise.
17873 * posix/Versions: Likewise.
17874 * iconv/Versions: Likewise.
17875 * elf/Versions: Likewise.
17876 * wcsmbs/Versions: Likewise.
17878 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17880 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17881 loop termination condition.
17883 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17884 variable to calculate EZ.
17887 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17888 the lower precision input.
17890 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17893 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17894 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17895 (run-via-rtld-prefix): Do not handle %-bp tests.
17896 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17897 (all-object-suffixes): Remove .ob.
17898 (bppfx): Remove variable.
17899 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17900 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17901 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17902 [$(build-bounded) = yes] (libtype.ob): Likewise.
17903 * Makerules (elide-routines.ob): Remove variable.
17904 (do-tests-clean): Do not handle *-bp.out.
17905 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17906 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17907 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17908 (tests): Do not include $(tests-bp.out).
17909 (xtests): Do not include $(xtests-bp.out).
17910 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17911 [$(build-bounded) = yes] ($(addprefix
17912 $(objpfx),$(binaries-bounded))): Remove rule.
17913 ($(objpfx)%-bp.out): Remove rule.
17914 * config.make.in (build-bounded): Remove variable.
17915 * crypt/Makefile [$(build-bounded) = yes]
17916 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17917 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17918 append to variable.
17919 [$(build-bounded) = yes] (install-lib): Likewise.
17920 [$(build-bounded) = yes] (generated): Likewise.
17921 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17923 * intl/Makefile [$(build-bounded) = yes]
17924 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17925 * math/Makefile [$(build-bounded) = yes]
17926 ($(tests:%=$(objpfx)%-bp): Likewise.
17927 * misc/Makefile [$(build-bounded) = yes]
17928 ($(objpfx)tst-tsearch-bp): Likewise.
17929 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17930 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17932 * string/Makefile (o-objects.ob): Remove variable.
17933 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17934 (CFLAGS-.ob): Remove variable.
17935 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17936 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17937 both definitions of variable.
17938 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17939 (ASFLAGS-.ob): Remove variable.
17941 2013-02-14 Joseph Myers <joseph@codesourcery.com>
17944 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17945 Remove __BOUNDED_POINTERS__ from condition.
17946 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17947 * string/bits/string2.h [!__NO_STRING_INLINES &&
17948 !__BOUNDED_POINTERS__]: Likewise.
17949 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17951 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17952 Remove conditional code.
17953 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17954 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17955 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17959 * csu/libc-start.c: Do not include <bp-sym.h>.
17960 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17961 * elf/dl-open.c: Do not include <bp-sym.h>.
17962 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17963 * math/fegetenv.c: Do not include <bp-sym.h>.
17964 (fegetenv): Do not use BP_SYM in versioned symbols.
17965 * nptl/sysdeps/pthread/bits/libc-lockP.h
17966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17969 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17971 (__pthread_mutex_destroy): Likewise.
17972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17973 (__pthread_mutex_lock): Likewise.
17974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17975 (__pthread_mutex_trylock): Likewise.
17976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17977 (__pthread_mutex_unlock): Likewise.
17978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17979 (__pthread_mutexattr_init): Likewise.
17980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17981 (__pthread_mutexattr_destroy): Likewise.
17982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17983 (__pthread_mutexattr_settype): Likewise.
17984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17985 (__pthread_rwlock_init): Likewise.
17986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17987 (__pthread_rwlock_destroy): Likewise.
17988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17989 (__pthread_rwlock_rdlock): Likewise.
17990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17991 (__pthread_rwlock_tryrdlock): Likewise.
17992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17993 (__pthread_rwlock_wrlock): Likewise.
17994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17995 (__pthread_rwlock_trywrlock): Likewise.
17996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17997 (__pthread_rwlock_unlock): Likewise.
17998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17999 (__pthread_key_create): Likewise.
18000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18001 (__pthread_setspecific): Likewise.
18002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18003 (__pthread_getspecific): Likewise.
18004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18007 (_pthread_cleanup_push_defer): Likewise.
18008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18009 (_pthread_cleanup_pop_restore): Likewise.
18010 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18011 (pthread_setcancelstate): Likewise.
18012 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18014 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18015 (memchr): Do not use BP_SYM in weak_alias.
18016 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18017 (fegetenv): Do not use BP_SYM in versioned symbols.
18018 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18019 (fesetenv): Do not use BP_SYM in versioned symbols.
18020 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18021 (feupdateenv): Do not use BP_SYM in versioned symbols.
18022 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18023 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18024 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18025 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18026 (open64): Do not use BP_SYM in weak_alias.
18027 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18028 (fegetenv): Do not use BP_SYM in versioned symbols.
18029 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18030 (fesetenv): Do not use BP_SYM in versioned symbols.
18031 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18032 (feupdateenv): Do not use BP_SYM in versioned symbols.
18033 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18034 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18035 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18036 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18037 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18038 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18039 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18041 (__libc_start_main): Do not use BP_SYM.
18043 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18045 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18046 redundant return line.
18048 (denorm): Likewise.
18049 (dbl_mp): Likewise.
18050 (sub_magnitudes): Likewise.
18056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18058 (denorm): Likewise.
18059 (dbl_mp): Likewise.
18060 (sub_magnitudes): Likewise.
18067 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18069 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18070 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18073 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18074 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18075 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18076 of __mul for squares.
18077 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18079 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18081 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18082 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18084 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18087 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18089 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18090 prototype or function definition. Rename ubp_* variables and
18091 parameters. Remove argv definitions conditional on
18092 [__BOUNDED_POINTERS__].
18093 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18094 * elf/dl-runtime.c (_dl_fixup): Likewise.
18095 * include/set-hooks.h (RUN_HOOK): Likewise.
18096 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18098 * string/strcpy.c (strcpy): Do not use __unbounded.
18099 * sysdeps/generic/frame.h (struct layout): Likewise.
18100 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18101 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18102 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18103 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18104 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18105 (__backtrace): Likewise.
18106 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18108 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18109 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18110 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18112 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18113 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18114 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18115 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18116 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18117 Do not use __unbounded.
18118 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18119 Rename __unboundedrlimits parameter to rlimits in prototype.
18120 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18121 Do not use __unbounded.
18122 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18123 not use __ptrvalue.
18124 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18125 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18126 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18127 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18128 __ptrvalue or __unbounded.
18129 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18130 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18132 (__new_msgctl): Do not use __ptrvalue.
18133 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18135 (__libc_msgrcv): Do not use __ptrvalue.
18136 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18137 startup_info): Do not use __unbounded.
18138 (__libc_start_main): Likewise. Rename ubp_* variables and
18139 parameters. Remove argv definitions conditional on
18140 [__BOUNDED_POINTERS__].
18141 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18143 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18145 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18147 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18149 (__new_shmctl): Do not use __ptrvalue.
18150 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18151 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18153 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18154 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18155 (__libc_sigaction): Likewise.
18156 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18157 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18159 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18161 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18163 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18165 * string/mempcpy.c: Implement by calling memcpy.
18167 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18169 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18171 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18174 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18175 values in the mantissa.
18177 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18178 minimize writes to Z.
18179 (sub_magnitudes): Simplify code a bit.
18181 2013-02-12 Roland McGrath <roland@hack.frob.com>
18183 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18184 from the message. The linker prefixes all warnings with that already.
18186 2013-02-12 Andreas Schwab <schwab@suse.de>
18189 * posix/regexec.c (extend_buffers): Add parameter min_len.
18190 (check_matching): Pass minimum needed length.
18191 (clean_state_log_if_needed): Likewise.
18192 (get_subexp): Likewise.
18193 * posix/Makefile (tests): Add bug-regex34.
18194 (bug-regex34-ENV): Define.
18195 * posix/bug-regex34.c: New file.
18198 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18199 elements compare against the byte sequence of it, not its name.
18200 * posix/Makefile (tests): Add bug-regex35.
18201 (bug-regex35-ENV): Define.
18202 * posix/bug-regex35.c: New file.
18204 2013-02-11 Tom de Vries <tom@codesourcery.com>
18206 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18208 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18209 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18210 (CHECK_EOL): Add undef.
18212 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18214 * bits/stdlib-bsearch.h: New file.
18215 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18216 * stdlib/stdlib.h: Likewise.
18218 2013-02-11 Roland McGrath <roland@hack.frob.com>
18220 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18221 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18223 * manual/search.texi (Array Search Function): Add missing const in
18225 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18226 declaration to use rlim_t.
18227 (Basic Scheduling Functions): Remove erroneous const from
18228 sched_getparam prototype. Remove erroneous * from
18229 sched_get_priority_max and sched_get_priority_min prototypes.
18230 (Resource Usage): Fix summary @comment on vtimes to refer to
18231 sys/vtimes.h rather than vtimes.h.
18232 Add missing *s in vtimes prototype.
18233 (Limits on Resources): Fix ulimit prototype to return long int.
18234 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18235 prototypes to use long int rather than double.
18236 (BSD Random): Fix initstate and setstate to use char *, not void *.
18237 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18238 prototype to make second argument 'struct aiocb64 *const[]'.
18239 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18240 (Status of AIO Operations): Remove erroneous const in aio_return and
18241 aio_return64 prototypes.
18242 (Synchronizing I/O): Fix sync prototype to return void.
18243 * manual/startup.texi (Suboptions): Remove an erroneous const in
18244 getsubopt prototype.
18245 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18246 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18247 use size_t rather than int.
18248 (Scanning All Users): Likewise for getpwent_r.
18249 (Setting Groups): Add missing const to setgroups prototype.
18250 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18251 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18252 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18253 'const void *' rather than 'const char *'.
18254 (Host Address Functions): Likewise for inet_ntop.
18255 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18256 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18257 ssize_t for return value.
18258 (Sending Data): Likewise for send, sendto, sendmsg.
18259 (Socket Option Functions): Add a missing const in setsockopt prototype.
18260 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18261 use wchar_t for the argument.
18262 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18263 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18265 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18266 double/float/long double for second argument.
18267 Fix return types of significand, significandf, significandl.
18268 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18269 argument in fchmod prototype.
18270 (File Owner): Use uid_t and gid_t in fchown prototype.
18271 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18272 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18273 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18274 use 'const struct dirent **' as argument types to CMP function pointer
18276 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18277 (File Times): Fix summary magic @comment for struct utimbuf and utime
18278 to refer to utime.h, not time.h.
18279 * manual/string.texi (Argz Functions): Add missing const in
18280 argz_extract and argz_next prototypes.
18281 (Finding Tokens in a String): Likewise for basename.
18282 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18283 (Copying and Concatenation): Fix typo in wmemmove prototype.
18284 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18285 (Signal Stack): Remove erroneous const in sigstack prototype.
18286 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18288 (Simple Calendar Time): Likewise for stime.
18289 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18291 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18292 say sys/sysctl.h instead.
18293 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18294 and vsyslog prototypes.
18296 2013-02-11 Tom de Vries <tom@codesourcery.com>
18298 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18301 2013-02-11 Roland McGrath <roland@hack.frob.com>
18303 * misc/sys/mman.h: Fix typo in mremap comment.
18305 2013-02-08 Roland McGrath <roland@hack.frob.com>
18307 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18308 the '\0' terminator.
18310 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18313 * debug/segfault.c: Don't include <bp-checks.h>.
18314 * sysdeps/generic/bp-checks.h: Remove file.
18315 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18316 (__GETDENTS): Don't use CHECK_N.
18317 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18318 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18319 (__getgroups): Don't use CHECK_N.
18320 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18321 (setgroups): Don't use CHECK_N.
18322 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18323 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18324 (__libc_msgrcv): Don't use CHECK_N.
18325 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18326 (__libc_msgsnd): Don't use CHECK_N.
18327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18329 (__libc_pread): Don't use CHECK_N.
18330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18331 include <bp-checks.h>.
18332 (__libc_pread64): Don't use CHECK_N.
18333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18334 include <bp-checks.h>.
18335 (__libc_pwrite): Don't use CHECK_N.
18336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18337 include <bp-checks.h>.
18338 (__libc_pwrite64): Don't use CHECK_N.
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18341 (__libc_pread): Don't use CHECK_N.
18342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18343 include <bp-checks.h>.
18344 (__libc_pread64): Don't use CHECK_N.
18345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18346 include <bp-checks.h>.
18347 (__libc_pwrite): Don't use CHECK_N.
18348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18349 include <bp-checks.h>.
18350 (__libc_pwrite64): Don't use CHECK_N.
18351 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18352 (do_pread): Don't use CHECK_N.
18353 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18354 (do_pread64): Don't use CHECK_N.
18355 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18356 (do_pwrite): Don't use CHECK_N.
18357 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18358 (do_pwrite64): Don't use CHECK_N.
18359 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18360 (__libc_readv): Don't use CHECK_N.
18361 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18362 (semop): Don't use CHECK_N.
18363 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18365 (semtimedop): Don't use CHECK_N.
18366 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18367 (__libc_pread): Don't use CHECK_N.
18368 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18370 (__libc_pread64): Don't use CHECK_N.
18371 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18373 (__libc_pwrite): Don't use CHECK_N.
18374 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18376 (__libc_pwrite64): Don't use CHECK_N.
18377 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18379 (__libc_msgrcv): Don't use CHECK_N.
18380 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18381 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18382 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18383 (__libc_writev): Don't use CHECK_N.
18385 2013-02-08 Roland McGrath <roland@hack.frob.com>
18387 * string/strcpy.c: Removed unused variable.
18389 * Makeconfig (+sysdep-includes): Define with := rather than =.
18390 Use an existing include/ subdir of each sysdeps dir before it.
18392 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18394 * nscd/connection.c (register_traced_file): Comment function.
18395 [HAVE_INOTIFY] (union __inev): Define.
18396 [HAVE_INOTIFY] (inotify_check_files): New function.
18397 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18398 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18400 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18402 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18404 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18405 loaded if not already and that a failure is permanent.
18407 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18410 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18411 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18413 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18416 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18417 (CHECK_1_NULL_OK): Likewise.
18418 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18419 (__fxstat): Do not use CHECK_1.
18420 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18422 (___fxstat64): Do not use CHECK_1.
18423 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18425 (__fxstatat): Do not use CHECK_1.
18426 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18428 (__fxstatat64): Do not use CHECK_1.
18429 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18431 (__fxstat): Do not use CHECK_1.
18432 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18434 (__fxstatat): Do not use CHECK_1.
18435 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18437 (__getresgid): Do not use CHECK_1.
18438 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18440 (__getresuid): Do not use CHECK_1.
18441 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18443 (__lxstat): Do not use CHECK_1.
18444 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18446 (__old_msgctl): Do not use CHECK_1.
18447 (__new_msgctl): Likewise.
18448 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18450 (__new_setrlimit): Do not use CHECK_1.
18451 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18453 (__old_shmctl): Do not use CHECK_1.
18454 (__new_shmctl): Likewise.
18455 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18457 (__xstat): Do not use CHECK_1.
18458 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18459 (__lxstat): Do not use CHECK_1.
18460 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18462 (___lxstat64): Do not use CHECK_1.
18463 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18464 (__old_msgctl): Do not use CHECK_1.
18465 (__new_msgctl): Likewise.
18466 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18468 (__gettimeofday): Do not use CHECK_1.
18469 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18470 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18471 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18473 (__gettimeofday): Do not use CHECK_1.
18474 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18475 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18476 (__new_shmctl): Do not use CHECK_1.
18477 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18479 (do_sigtimedwait): Do not use CHECK_1.
18480 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18482 (do_sigwaitinfo): Do not use CHECK_1.
18483 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18485 (msgctl): Do not use CHECK_1.
18486 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18488 (shmctl): Do not use CHECK_1.
18489 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18490 (ustat): Do not use CHECK_1.
18491 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18493 (__fxstat): Do not use CHECK_1.
18494 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18496 (__fxstatat): Do not use CHECK_1.
18497 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18499 (__lxstat): Do not use CHECK_1.
18500 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18502 (__xstat): Do not use CHECK_1.
18503 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18504 (__xstat): Do not use CHECK_1.
18505 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18506 (___xstat64): Do not use CHECK_1.
18509 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18511 (CHECK_BOUNDS_HIGH): Likewise.
18512 * string/strcpy.c: Do not include <bp-checks.h>.
18513 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18515 2013-02-07 Roland McGrath <roland@hack.frob.com>
18517 * nscd/nscd-client.h (__nscd_drop_map_ref):
18518 Add __attribute__ ((unused)).
18519 * nis/nss-nisplus.h (niserr2nss): Likewise.
18521 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18522 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18524 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18525 Remove inline keyword.
18526 * include/rounding-mode.h (round_away): Likewise.
18527 * libio/wfileops.c (adjust_wide_data): Likewise.
18528 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18529 (__m128i_strloadu_tolower): Likewise.
18530 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18531 (__m128i_strloadu_tolower): Likewise.
18532 * time/mktime.c (ydhms_diff): Likewise.
18533 * locale/elem-hash.h (elem_hash): Likewise.
18534 * locale/setlocale.c (setdata): Likewise.
18535 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18536 (re_string_wchar_at): Likewise.
18537 (bitset_not, bitset_merge, bitset_mask): Likewise.
18538 [!(__GNUC__ > 3)] (inline): Remove macro.
18539 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18540 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18541 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18542 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18543 * string/memcmp.c (memcmp_bytes): Likewise.
18544 * locale/programs/locarchive.c (compute_hashval): Likewise.
18545 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18546 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18547 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18548 * nss/getent.c (print_rpc, print_protocols): Likewise.
18549 (print_passwd, print_group, print_aliases): Likewise.
18550 * nis/nss-nisplus.h (niserr2nss): Likewise.
18551 * nscd/connections.c (restart_p): Likewise.
18552 Change return type to bool.
18554 2013-02-05 Roland McGrath <roland@hack.frob.com>
18556 * Makeconfig (all-Depend-files): Add existing
18557 $(sorted-subdirs:=/Depend) files.
18558 (all-subdirs): Remove nss.
18559 * sysdeps/unix/inet/Subdirs: Add it here instead.
18560 * hesiod/Depend: New file.
18562 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18563 instead of calling alloca.
18565 * io/lseek.c (__lseek): Rename to __libc_lseek.
18566 Define __lseek as an alias.
18568 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18570 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18572 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18573 else clause and remove check for non-standard endianness.
18575 2013-02-04 David S. Miller <davem@davemloft.net>
18577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18579 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18582 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18583 (__ubp_memchr): Remove prototype.
18584 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18585 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18586 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18587 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18588 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18590 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18591 (__ubp_memchr): Likewise.
18592 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18593 (__ubp_memchr): Likewise.
18594 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18595 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18596 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18597 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18599 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18600 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18601 (__getcwd): Do not use CHECK_STRING.
18602 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18604 (__real_chown): Do not use CHECK_STRING.
18605 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18607 (fchownat): Do not use CHECK_STRING.
18608 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18610 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18612 (__lchown): Do not use CHECK_STRING.
18613 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18614 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18615 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18616 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18618 include <bp-checks.h>.
18619 (truncate64): Do not use CHECK_STRING.
18620 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18622 (__real_chown): Do not use CHECK_STRING.
18623 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18625 (__lchown): Do not use CHECK_STRING.
18626 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18628 (__chown): Do not use CHECK_STRING.
18629 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18631 (truncate64): Do not use CHECK_STRING.
18632 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18634 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18635 (__xmknod): Do not use CHECK_STRING.
18636 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18638 (__xmknodat): Do not use CHECK_STRING.
18639 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18640 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18642 2013-02-04 Andreas Schwab <schwab@suse.de>
18645 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18646 * include/netdb.h: Likewise for h_errno.
18647 * elf/tst-stackguard1.c: Include <tls.h>.
18649 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18651 * elf/link.h (struct link_map): Extend the l_addr comment.
18652 * include/link.h (struct link_map): Likewise.
18654 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18657 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18658 (BOUNDED_1): Remove macro.
18659 * debug/backtrace.c: Don't include <bp-checks.h>.
18660 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18661 (__backtrace): Likewise.
18662 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18664 (__backtrace): Don't use BOUNDED_1.
18665 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18667 (__backtrace): Don't use BOUNDED_1.
18668 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18669 (__backtrace): Don't use BOUNDED_1.
18670 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18671 (shmat): Don't use BOUNDED_N.
18673 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18676 * sysdeps/generic/bp-start.h: Remove file.
18677 * csu/libc-start.c: Don't include <bp-start.h>.
18678 (LIBC_START_MAIN): Set up __environ directly instead of using
18679 INIT_ARGV_and_ENVIRON.
18680 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18684 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18686 (CHECK_FCNTL): Likewise.
18687 (CHECK_N_PAGES): Likewise.
18690 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18692 (CHECK_SIGSET_NULL_OK): Likewise.
18693 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18695 (sigpending): Don't use CHECK_SIGSET.
18696 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18698 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18699 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18701 (do_sigsuspend): Don't use CHECK_SIGSET.
18702 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18704 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18705 (do_sigwait): Don't use CHECK_SIGSET.
18706 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18708 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18709 include <bp-checks.h>.
18710 (sigpending): Don't use CHECK_SIGSET.
18711 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18712 include <bp-checks.h>.
18713 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18714 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18716 (sigpending): Don't use CHECK_SIGSET.
18717 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18719 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18722 * sysdeps/generic/bp-semctl.h: Remove file.
18723 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18724 <bp-checks.h> and <bp-semctl.h>.
18725 (__old_semctl): Don't use CHECK_SEMCTL.
18726 (__new_semctl): Likewise.
18727 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18729 (__old_semctl): Don't use CHECK_SEMCTL.
18730 (__new_semctl): Likewise.
18731 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18732 <bp-checks.h> and <bp-semctl.h>.
18733 (__old_semctl): Don't use CHECK_SEMCTL.
18734 (__new_semctl): Likewise.
18735 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18736 <bp-checks.h> and <bp-semctl.h>.
18737 (semctl): Don't use CHECK_SEMCTL.
18740 * Makerules (elide-bp-thunks): Remove variable.
18741 (elide-routines.oS): Don't use $(elide-bp-thunks).
18742 (elide-routines.os): Likewise.
18743 (elide-routines.o): Likewise.
18744 (elide-routines.op): Likewise.
18745 (elide-routines.og): Likewise.
18746 (objects): Don't use $(bp-thunks).
18747 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18749 (common-generated): Do not add s-proto-bp.d.
18750 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18753 Do not generate makefile rules for bounded-pointer thunks.
18754 * sysdeps/generic/bp-thunks.h: Remove file.
18755 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18756 * sysdeps/unix/s-proto-bp.S: Likewise.
18759 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18760 parts of result separately when argument is not close to line from
18761 -i to i and one part of argument is small.
18762 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18763 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18764 * math/libm-test.inc (cacos_test): Add more tests.
18765 (casin_test): Likewise.
18766 (casinh_test): Likewise.
18767 * sysdeps/i386/fpu/libm-test-ulps: Update.
18768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18770 2013-01-31 David S. Miller <davem@davemloft.net>
18772 * po/de.po: Update from translation team.
18774 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18776 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18778 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18780 * configure.in (_AC_PROG_CC_C89): New definition.
18781 * configure: Regenerate.
18783 * configure.in (AC_PROG_CPP): New definition.
18784 * configure: Regenerate.
18786 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18788 * debug/tst-backtrace.h: New file.
18789 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18790 (ret): Remove variable.
18792 (FAIL): Remove macro.
18793 (NO_INLINE): Likewise.
18794 (fn1): Use match function instead of strstr.
18795 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18796 (ret): Remove variable.
18798 (FAIL): Remove macro.
18799 (NO_INLINE): Likewise.
18800 (fn): Use match function instead of strstr.
18801 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18802 (ret): Remove variable.
18804 (FAIL): Remove macro.
18805 (NO_INLINE): Likewise.
18806 (handle_signal): Use match function instead of strstr.
18807 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18808 (ret): Remove variable.
18810 (FAIL): Remove macro.
18811 (NO_INLINE): Likewise.
18812 (handle_signal): Use match function instead of strstr.
18814 2013-01-23 Roland McGrath <roland@hack.frob.com>
18816 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18818 2013-01-23 David S. Miller <davem@davemloft.net>
18820 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18821 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18822 argument of CAS if possible.
18823 * sysdeps/sparc/sparc64/bits/atomic.h
18824 (__arch_compare_and_exchange_val_32_acq): Likewise.
18825 (__arch_compare_and_exchange_val_64_acq): Likewise.
18827 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18829 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18830 * sysdeps/posix/ulimit.c: ... this.
18831 Include <limits.h>.
18832 * sysdeps/unix/bsd/ulimit.c: Remove file.
18834 2013-01-23 Adam Conrad <adconrad@0c3.net>
18836 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18837 (LDFLAGS-tst-array5): Likewise.
18839 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18842 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18843 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18844 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18845 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18847 2013-01-21 David S. Miller <davem@davemloft.net>
18849 * sysdeps/sparc/backtrace.c: New file.
18850 * sysdeps/sparc/sparc32/backtrace.h: New file.
18851 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18852 * sysdeps/sparc/sparc64/backtrace.h: New file.
18853 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18854 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18857 2013-01-21 Andreas Schwab <schwab@suse.de>
18860 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18863 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18865 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18867 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18869 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18870 Mark Mitchell <mark@codesourcery.com>
18871 Tom de Vries <tom@codesourcery.com>
18872 Paul Pluzhnikov <ppluzhnikov@google.com>
18874 * debug/tst-backtrace2.c: New file.
18875 * debug/tst-backtrace3.c: Likewise.
18876 * debug/tst-backtrace4.c: Likewise.
18877 * debug/tst-backtrace5.c: Likewise.
18878 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18879 (CFLAGS-tst-backtrace3.c): Likewise.
18880 (CFLAGS-tst-backtrace4.c): Likewise.
18881 (CFLAGS-tst-backtrace5.c): Likewise.
18882 (LDFLAGS-tst-backtrace2): Likewise.
18883 (LDFLAGS-tst-backtrace3): Likewise.
18884 (LDFLAGS-tst-backtrace4): Likewise.
18885 (LDFLAGS-tst-backtrace5): Likewise.
18886 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18887 tst-backtrace4 and tst-backtrace5.
18889 2013-01-18 Anton Blanchard <anton@samba.org>
18890 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18892 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18893 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18894 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18895 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18897 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18898 "+r" and remove output regs list as redundant. Add explicit inline
18899 asm to specify register of return val to work around compiler codegen
18900 bug. Remove (int) cast on return value. Add return type parameter to
18901 use in macro so that this macro does not truncate return value for
18903 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18904 pass to INTERNAL_VSYSCALL_NCS.
18905 (INLINE_VSYSCALL): Add 'long int' as return type to
18906 INTERNAL_VSYSCALL_NCS macro invocation.
18907 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18908 INTERNAL_VSYSCALL_NCS macro invocation.
18909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18911 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18914 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18915 Fix application of SIMD FP exception mask.
18917 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18918 mp_no from a power of two.
18919 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18920 __mpexp_twomm1. Use __pow_mp.
18922 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18925 2013-01-17 David S. Miller <davem@davemloft.net>
18927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18929 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18932 * include/complex.h: Condition contents on [!_COMPLEX_H].
18933 (__kernel_casinhf): New prototype.
18934 (__kernel_casinh): Likewise.
18935 (__kernel_casinhl): Likewise.
18936 * math/Makefile (libm_calls): Add k_casinh.
18937 * math/k_casinh.c: New file.
18938 * math/k_casinhf.c: Likewise.
18939 * math/k_casinhl.c: Likewise.
18940 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18941 finite nonzero arguments.
18942 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18943 finite nonzero arguments.
18944 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18945 finite nonzero arguments.
18946 * math/s_casinh.c: Do not include <float.h>.
18947 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18948 * math/s_casinhf.c: Do not include <float.h>.
18949 (__casinhf): Move code for finite nonzero arguments to
18951 * math/s_casinhl.c: Do not include <float.h>.
18952 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18954 (__casinhl): Move code for finite nonzero arguments to
18956 * math/libm-test.inc (cacos_test): Add more tests.
18957 * sysdeps/i386/fpu/libm-test-ulps: Update.
18958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18960 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18962 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18963 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18964 [!HAVE_MREMAP]: Remove [defined linux] case.
18965 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18967 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18969 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18971 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
18973 * elf/elf.h (R_386_SIZE32): New relocation.
18974 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18976 (elf_machine_rela): Likewise.
18977 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18978 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18980 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18982 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18983 (FP_FAST_FMA): Do not define.
18984 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18985 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18986 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18987 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18988 !_SOFT_FLOAT]: Likewise.
18989 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18990 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18992 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18993 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18994 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18995 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18996 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18997 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19000 2013-01-16 Andreas Schwab <schwab@suse.de>
19003 * include/stdlib.h (__mktemp): Add declaration.
19004 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19005 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19007 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19009 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19011 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19012 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19013 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19015 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19016 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19018 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19020 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19021 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19022 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19024 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19025 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19027 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19029 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19031 2013-01-15 David S. Miller <davem@davemloft.net>
19033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19034 trunc{,f} to libm-sysdep_routes.
19035 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19045 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19046 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19047 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19048 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19049 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19050 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19053 nearbyint{,f} to libm-sysdep_routes.
19054 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19065 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19067 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19068 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19070 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19071 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19072 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19074 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19075 libc_feholdexcept and libc_fesetenv.
19077 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19079 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19081 2013-01-14 David S. Miller <davem@davemloft.net>
19083 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19084 (SPARC_ASM_VIS2_IFUNC): Likewise.
19085 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19087 use of 'siam' instruction.
19088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19094 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19095 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19097 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19106 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19108 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19116 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19117 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19119 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19121 routines to libm-sysdep_routines.
19122 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19125 fdim/fdimf to libm-sysdep_routines.
19126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19134 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19135 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19136 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19137 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19139 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19141 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19142 to optimize copies.
19144 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19145 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19146 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19148 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19149 local variable MPTWO.
19150 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19153 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19155 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19158 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19160 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19162 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19164 * manual/pattern.texi (glob_t): Document gl_flags.
19165 (glob64_t): Likewise.
19167 2013-01-11 David S. Miller <davem@davemloft.net>
19169 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19170 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19171 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19172 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19173 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19174 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19175 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19176 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19177 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19178 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19179 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19180 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19181 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19183 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19184 sparc V9 rather than using V8 code.
19185 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19186 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19188 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19190 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19193 2013-01-11 Roland McGrath <roland@hack.frob.com>
19195 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19196 not in the main loop.
19197 * configure: Regenerated.
19199 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19201 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19202 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19204 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19205 [!__GLIBC_HAVE_LONG_LONG] case.
19206 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19207 condition to just #else.
19208 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19209 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19210 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19211 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19213 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19214 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19215 #elif condition to just #else.
19216 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19217 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19218 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19219 #elif condition to just #else.
19221 2013-01-11 Steve Ellcey <sellcey@mips.com>
19223 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19224 (EF_MIPS_ARCH_64): Fix value.
19225 (EF_MIPS_ARCH_32R2): New.
19226 (EF_MIPS_ARCH_64R2): New.
19228 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19230 * Makeconfig (+link-pie-before-libc): New.
19231 (+link-pie-after-libc): Likewise.
19232 (+link-pie-tests): Likewise.
19233 (+link-pie): Rewritten.
19234 (link-before-libc): Remove $(config-LDFLAGS).
19235 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19236 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19237 (config-LDFLAGS): Renamed to ...
19238 (rtld-LDFLAGS): This.
19239 (rtld-tests-LDFLAGS): New macro.
19240 (link-libc-rpath-link): Likewise.
19241 (link-libc-tests-rpath-link): Likewise.
19242 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19243 (link-libc): Prepand $(link-libc-rpath-link).
19244 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19245 (test-program-prefix): New macro.
19246 (test-via-rtld-prefix): Likewise.
19247 (test-program-cmd): Likewise.
19248 (host-test-program-cmd): Likewise.
19249 * Makefile ($(common-objpfx)testrun.sh): Replace
19250 $(run-program-prefix) with $(test-program-prefix).
19251 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19253 ($(common-objpfx)shlib.lds): Likewise.
19254 (build-module-helper): Likewise.
19255 ($(common-objpfx)format.lds): Likewise.
19256 * Rules (binaries-pie-tests): New.
19257 (binaries-pie-notests): Likewise.
19258 (binaries-pie): Rewritten.
19259 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19260 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19261 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19262 (make-test-out): Replace $(host-built-program-cmd) with
19263 $(host-test-program-cmd).
19264 * config.make.in (build-hardcoded-path-in-tests): New variable.
19265 * configure.in (--enable-hardcoded-path-in-tests): New configure
19267 (hardcoded_path_in_tests): New AC_SUBST.
19268 * configure: Regenerated.
19269 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19270 $(built-program-cmd) with $(test-program-cmd).
19271 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19272 (test_program_cmd): This.
19273 * elf/Makefile ($(objpfx)order.out): Run test with
19274 $(test-program-prefix).
19275 ($(objpfx)order2.out): Likewise.
19276 ($(objpfx)tst-initorder.out): Likewise.
19277 ($(objpfx)tst-initorder2.out): Likewise.
19278 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19279 $(test-program-cmd).
19280 ($(objpfx)tst-array1-static.out): Likewise.
19281 ($(objpfx)tst-array2.out): Likewise.
19282 ($(objpfx)tst-array3.out): Likewise.
19283 ($(objpfx)tst-array4.out): Likewise.
19284 ($(objpfx)tst-array5.out): Likewise.
19285 ($(objpfx)tst-array5-static.out): Likewise.
19286 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19287 $(test-program-cmd).
19288 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19289 $(run-program-prefix) with $(test-program-prefix).
19290 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19291 (test_program_prefix): This.
19292 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19293 $(run-program-prefix) with $(test-program-prefix).
19294 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19295 (test_program_prefix): This.
19296 * iconvdata/tst-tables.sh: Likewise.
19297 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19298 $(run-program-prefix) with $(test-program-prefix).
19299 ($(objpfx)tst-translit.out): Likewise.
19300 ($(objpfx)tst-gettext2.out): Likewise.
19301 ($(objpfx)tst-gettext4.out): Likewise.
19302 ($(objpfx)tst-gettext6.out): Likewise.
19303 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19304 (test_program_prefix): This.
19305 * intl/tst-gettext2.sh: Likewise.
19306 * intl/tst-gettext4.sh Likewise.
19307 * intl/tst-gettext6.sh: Likewise.
19308 * intl/tst-translit.sh: Likewise.
19309 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19310 with $(test-program-cmd).
19311 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19312 $(run-program-prefix) with $(test-program-prefix).
19313 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19314 (test_program_prefix): This.
19315 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19316 $(run-program-prefix) with $(test-program-prefix).
19317 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19318 (test_program_prefix): This.
19319 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19320 * posix/Makefile ($(objpfx)globtest.out): Replace
19321 $(run-via-rtld-prefix) and $(test-wrapper) with
19322 $(test-program-prefix) and $(test-via-rtld-prefix).
19323 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19324 $(test-program-prefix).
19325 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19326 $(host-test-program-cmd).
19327 (tst-spawn-ARGS): Likewise.
19328 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19329 $(test-program-prefix).
19330 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19331 (test_via_rtld_prefix): This.
19332 (test_wrapper): Renamed to ...
19333 (test_program_prefix): This.
19334 (run_program_prefix): Replaced by test_program_prefix.
19335 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19336 (test_program_prefix): This.
19337 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19338 with $(host-test-program-cmd).
19339 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19340 $(run-program-prefix) with $(test-program-prefix).
19341 ($(objpfx)tst-printf.out): Likewise.
19342 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19343 $(test-program-cmd).
19344 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19345 (test_program_prefix): This.
19346 * stdio-common/tst-unbputc.sh: Likewise.
19347 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19348 $(run-program-prefix) with $(test-program-prefix).
19349 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19350 (test_program_prefix): This.
19351 * string/Makefile ($(objpfx)tst-svc.out): Replace
19352 $(built-program-cmd) with $(test-program-cmd).
19354 2013-01-11 Andreas Jaeger <aj@suse.de>
19357 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19358 value. Sync with Linux 3.7.
19360 2013-01-10 David S. Miller <davem@davemloft.net>
19362 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19363 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19364 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19366 2013-01-10 Roland McGrath <roland@hack.frob.com>
19368 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19370 * configure: Regenerated.
19372 2013-01-10 David S. Miller <davem@davemloft.net>
19374 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19375 sparc V9 rather than using V8 code.
19376 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19377 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19379 2013-01-10 Roland McGrath <roland@hack.frob.com>
19381 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19382 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19383 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19384 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19385 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19386 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19387 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19388 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19389 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19390 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19391 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19392 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19393 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19394 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19395 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19396 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19397 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19398 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19399 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19400 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19401 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19402 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19403 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19404 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19405 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19406 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19407 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19409 2013-01-10 David S. Miller <davem@davemloft.net>
19411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19413 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19415 * posix/Makefile (tests-static): New variable.
19416 (tests): Add $(tests-static).
19417 (tst-exec-static-ARGS): New variable.
19418 (tst-spawn-static-ARGS): Likewise.
19419 * posix/tst-exec-static.c: New file.
19420 * posix/tst-spawn-static.c: Likewise.
19421 * posix/tst-exec.c: Support run directly.
19422 * posix/tst-spawn.c: Likewise.
19424 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19426 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19428 * math/bits/mathcalls.h (llrint): Likewise.
19429 (llround): Likewise.
19430 * stdlib/stdlib.h (struct drand48_data): Likewise.
19431 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19432 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19433 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19435 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19437 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19438 (elf_greg_t): Likewise.
19439 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19440 (__jmp_buf): Likewise.
19441 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19443 (llrint): Likewise, for all definitions.
19444 (llrintl): Likewise.
19446 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19447 Remove [__GNUC__] condition.
19448 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19449 condition to just [__USE_ISOC99].
19450 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19452 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19455 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19456 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19458 (_POSIX_V6_ILP32_OFF32): Likewise.
19459 (_XBS5_ILP32_OFF32): Likewise.
19460 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19461 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19463 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19465 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19467 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19468 doubles __mpexp_twomm1. Adjust usage.
19469 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19472 2013-01-10 Andreas Schwab <schwab@suse.de>
19475 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19476 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19478 2013-01-09 David S. Miller <davem@davemloft.net>
19481 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19482 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19483 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19484 TCP_FASTOPEN): Define.
19485 (tcp_repair_opt): New structure.
19486 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19488 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19489 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19490 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19491 (tcp_cookie_transactions): New structure.
19493 2013-01-09 Anton Blanchard <anton@samba.org>
19495 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19496 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19497 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19498 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19500 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19502 * include/features.h (__USE_ANSI): Remove.
19504 2013-01-09 Roland McGrath <roland@hack.frob.com>
19506 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19508 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19510 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19512 * sysdeps/s390/fpu/libm-test-ulps: Update.
19514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19516 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19520 (denorm): Likewise.
19521 (__mp_dbl): Likewise.
19522 (__dbl_mp): Likewise.
19523 (add_magnitudes): Likewise.
19524 (sub_magnitudes): Likewise.
19530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19534 (denorm): Likewise.
19535 (__mp_dbl): Likewise.
19536 (__dbl_mp): Likewise.
19537 (add_magnitudes): Likewise.
19538 (sub_magnitudes): Likewise.
19544 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19548 (denorm): Likewise.
19549 (__mp_dbl): Likewise.
19550 (__dbl_mp): Likewise.
19551 (add_magnitudes): Likewise.
19552 (sub_magnitudes): Likewise.
19559 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19561 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19562 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19563 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19564 2 && __USE_EXTERN_INLINES]: Likewise.
19566 2013-01-08 Andreas Jaeger <aj@suse.de>
19569 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19571 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19572 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19574 2013-01-07 Anton Blanchard <anton@samba.org>
19576 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19577 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19578 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19579 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19580 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19581 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19582 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19583 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19585 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19586 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19587 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19588 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19589 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19590 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19591 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19592 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19593 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19594 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19595 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19596 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19597 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19598 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19599 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19600 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19601 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19602 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19603 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19604 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19605 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19606 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19607 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19608 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19609 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19610 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19611 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19612 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19613 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19614 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19615 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19616 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19617 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19618 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19620 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19622 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19623 (__MALLOC_PMT): Likewise.
19624 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19625 [__GNUC__], only on [_LIBC].
19626 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19627 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19628 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19629 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19630 forward declaration.
19631 (realloc_hook_ini): Likewise.
19632 (memalign_hook_ini): Likewise.
19633 (__libc_memalign): Do not use __MALLOC_PMT in variable
19635 (__libc_valloc): Likewise.
19636 (__libc_pvalloc): Likewise.
19637 (__libc_calloc): Likewise.
19638 (__posix_memalign): Likewise.
19641 * math/s_casinh.c: Include <float.h>.
19642 (__casinh): Do not do computation with squaring and square root
19643 for large arguments.
19644 * math/s_casinhf.c: Include <float.h>.
19645 (__casinhf): Do not do computation with squaring and square root
19646 for large arguments.
19647 * math/s_casinhl.c: Include <float.h>.
19648 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19649 (__casinhl): Do not do computation with squaring and square root
19650 for large arguments.
19651 * math/libm-test.inc (casin_test): Add more tests.
19652 (casinh_test): Likewise.
19653 * sysdeps/i386/fpu/libm-test-ulps: Update.
19654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19656 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19658 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19659 (__x86_64_raw_data_cache_size): Likewise.
19660 (__x86_64_data_cache_size_half): Likewise.
19661 (__x86_64_raw_data_cache_size_half): Likewise.
19662 (__x86_64_shared_cache_size): Likewise.
19663 (__x86_64_raw_shared_cache_size): Likewise.
19664 (__x86_64_shared_cache_size_half): Likewise.
19665 (__x86_64_raw_shared_cache_size_half): Likewise.
19666 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19668 (__x86_data_cache_size): This.
19669 (__x86_64_raw_data_cache_size): Renamed to ...
19670 (__x86_raw_data_cache_size): This.
19671 (__x86_64_data_cache_size_half): Renamed to ...
19672 (__x86_data_cache_size_half): This.
19673 (__x86_64_raw_data_cache_size_half): Renamed to ...
19674 (__x86_raw_data_cache_size_half): This.
19675 (__x86_64_shared_cache_size): Renamed to ...
19676 (__x86_shared_cache_size): This.
19677 (__x86_64_raw_shared_cache_size): Renamed to ...
19678 (__x86_raw_shared_cache_size): This.
19679 (__x86_64_shared_cache_size_half): Renamed to ...
19680 (__x86_shared_cache_size_half): This.
19681 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19682 (__x86_raw_shared_cache_size_half): This.
19683 * sysdeps/x86_64/memcpy.S: Updated.
19684 * sysdeps/x86_64/memset.S: Likewise.
19685 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19686 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19687 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19689 2013-01-04 David S. Miller <davem@davemloft.net>
19691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19693 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19695 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19696 1 to avoid redefinition warning.
19697 (__USE_GNU): Don't define.
19698 (init_signaling_nan): Protoize.
19700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19702 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19704 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19706 (__cpymn): Likewise.
19707 (norm): Remove commented code.
19708 (denorm): Likewise.
19709 (__mp_dbl): Likewise.
19711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19712 (__cpymn): Likewise.
19713 (norm): Remove commented code.
19714 (denorm): Likewise.
19715 (__mp_dbl): Likewise.
19718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19719 mp_no value for 1.0 and 2.0.
19720 (norm): Use RADIXI instead of radixi.d.
19721 (denorm): Likewise.
19722 (__mul): Use 0.0 instead of zero.d.
19723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19724 mp_no value for 1.0 and 2.0.
19725 (norm): Use RADIXI instead of radixi.d.
19726 (denorm): Likewise.
19727 (__mul): Use 0.0 instead of zero.d.
19729 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19732 * math/s_casinh.c (__casinh): Reduce finite argument to first
19733 quadrant then set signs of results at the end.
19734 * math/s_casinhf.c (__casinhf): Likewise.
19735 * math/s_casinhl.c (__casinhl): Likewise.
19736 * math/libm-test.inc (casin_test): Add more tests.
19737 (casinh_test): Likewise.
19738 * sysdeps/i386/fpu/libm-test-ulps: Update.
19739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19741 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19743 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19745 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19747 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19749 (denorm): Likewise.
19750 (__mp_dbl): Likewise.
19753 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19754 and adjust the header comment.
19756 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19757 variable name from declaration.
19759 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19762 Initialize COMMON_CPUID_INDEX_7 element.
19763 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19764 (CPUID_RTM): Likewise.
19765 (HAS_RTM): Likewise.
19766 (COMMON_CPUID_INDEX_7): New enum.
19768 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19771 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19772 size is zero, record memory as freed.
19774 2013-01-03 Andreas Jaeger <aj@suse.de>
19776 * po/ia.po: Add new Interlingua translation.
19778 2012-01-03 Allan McRae <allan@archlinux.org>
19780 * locale/programs/localedef.c: Fix description of '--posix' flag.
19782 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19784 * NEWS: Update dates in second copyright notice.
19785 * README: Update copyright dates in example.
19786 * manual/libc.texinfo: Update copyright dates.
19787 * scripts/test-installation.pl: Update copyright date in --version
19790 * hurd/ctty-input.c: Fix copyright notice formatting.
19791 * hurd/ctty-output.c: Likewise.
19792 * hurd/dtable.c: Likewise.
19793 * hurd/hurd-raise.c: Likewise.
19794 * hurd/hurdprio.c: Likewise.
19795 * hurd/msgportdemux.c: Likewise.
19796 * misc/sys/file.h: Likewise.
19797 * misc/sys/ioctl.h: Likewise.
19798 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19799 * sysdeps/mach/hurd/chdir.c: Likewise.
19800 * sysdeps/mach/hurd/fchdir.c: Likewise.
19801 * sysdeps/mach/hurd/rename.c: Likewise.
19802 * sysdeps/mach/hurd/rmdir.c: Likewise.
19803 * sysdeps/mach/hurd/seekdir.c: Likewise.
19804 * sysdeps/mach/hurd/setsid.c: Likewise.
19805 * sysdeps/posix/wait3.c: Likewise.
19807 * All files with FSF copyright notices: Update copyright dates
19808 using scripts/update-copyrights.
19809 * intl/plural.c: Regenerated.
19810 * locale/programs/charmap-kw.h: Likewise.
19811 * locale/programs/locfile-kw.h: Likewise.
19813 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19815 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19818 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19819 calculation loop and add branch prediction.
19821 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19822 check access beyond bounds of m1np.
19824 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19826 (__inv): Remove local variable MPTWO to use the global
19828 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19829 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19831 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19832 MP3HALFS static const.
19834 2013-01-01 David S. Miller <davem@davemloft.net>
19836 * po/ca.po: Update from translation team.
19838 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19840 * scripts/update-copyrights: New file.
19841 * Makeconfig: Reformat copyright notice.
19842 * ctype/ctype.h: Likewise.
19843 * debug/swprintf_chk.c: Likewise.
19844 * elf/dl-cache.c: Likewise.
19845 * elf/dl-debug.c: Likewise.
19846 * elf/dl-object.c: Likewise.
19847 * grp/initgroups.c: Likewise.
19848 * hurd/Makefile: Likewise.
19849 * hurd/hurd/signal.h: Likewise.
19850 * hurd/hurdfault.c: Likewise.
19851 * hurd/hurdioctl.c: Likewise.
19852 * hurd/hurdlookup.c: Likewise.
19853 * hurd/intr-msg.c: Likewise.
19854 * iconv/gconv_open.c: Likewise.
19855 * libio/swprintf.c: Likewise.
19856 * locale/lc-ctype.c: Likewise.
19857 * locale/nl_langinfo.c: Likewise.
19858 * mach/Machrules: Likewise.
19859 * mach/Makefile: Likewise.
19860 * malloc/obstack.h: Likewise.
19861 * manual/Makefile: Likewise.
19862 * manual/tsort.awk: Likewise.
19863 * misc/bits/stab.def: Likewise.
19864 * nis/nis_print_group_entry.c: Likewise.
19865 * nis/nis_table.c: Likewise.
19866 * nis/nss_compat/compat-pwd.c: Likewise.
19867 * nis/nss_compat/compat-spwd.c: Likewise.
19868 * po/Makefile: Likewise.
19869 * posix/fnmatch.c: Likewise.
19870 * posix/regex.h: Likewise.
19871 * resolv/Makefile: Likewise.
19872 * resolv/nss_dns/dns-network.c: Likewise.
19873 * resolv/res_hconf.c: Likewise.
19874 * scripts/gen-sorted.awk: Likewise.
19875 * soft-fp/soft-fp.h: Likewise.
19876 * stdio-common/printf.h: Likewise.
19877 * stdlib/monetary.h: Likewise.
19878 * stdlib/random.c: Likewise.
19879 * stdlib/random_r.c: Likewise.
19880 * sysdeps/generic/Makefile: Likewise.
19881 * sysdeps/gnu/Makefile: Likewise.
19882 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19883 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19884 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19885 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19886 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19887 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19888 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19889 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19890 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19891 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19892 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19893 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19894 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19895 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19896 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19897 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19898 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19899 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19900 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19901 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19902 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19903 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19904 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19905 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19906 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19907 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19908 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19909 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19910 * sysdeps/mach/hurd/errnos.awk: Likewise.
19911 * sysdeps/mach/hurd/fork.c: Likewise.
19912 * sysdeps/mach/hurd/getcwd.c: Likewise.
19913 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19914 * sysdeps/mach/hurd/mmap.c: Likewise.
19915 * sysdeps/mach/hurd/utimes.c: Likewise.
19916 * sysdeps/mach/hurd/xmknod.c: Likewise.
19917 * sysdeps/posix/profil.c: Likewise.
19918 * sysdeps/posix/readdir_r.c: Likewise.
19919 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19920 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19921 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19922 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19923 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19924 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19925 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19926 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19928 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19929 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19930 * sysdeps/pthread/lio_listio.c: Likewise.
19931 * sysdeps/sparc/dl-procinfo.h: Likewise.
19932 * sysdeps/unix/i386/sysdep.S: Likewise.
19933 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19934 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19935 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19936 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19938 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19939 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19940 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19941 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19942 * sysdeps/wordsize-32/divdi3.c: Likewise.
19943 * time/sys/time.h: Likewise.
19944 * wcsmbs/Makefile: Likewise.
19946 2013-01-01 David S. Miller <davem@davemloft.net>
19948 * po/fr.po: Update from translation team.
19950 * catgets/gencat.c: Update copyright year.
19951 * csu/version.c: Likewise.
19952 * debug/catchsegv.sh: Likewise.
19953 * debug/pcprofiledump.c: Likewise.
19954 * debug/xtrace.sh: Likewise.
19955 * elf/ldconfig.c: Likewise.
19956 * elf/ldd.bash.in: Likewise.
19957 * elf/pldd.c: Likewise.
19958 * elf/sotruss.ksh: Likewise.
19959 * elf/sprof.c: Likewise.
19960 * iconv/iconv_prog.c: Likewise.
19961 * iconv/iconvconfig.c: Likewise.
19962 * locale/programs/locale.c: Likewise.
19963 * locale/programs/localedef.c: Likewise.
19964 * login/programs/pt_chown.c: Likewise.
19965 * malloc/memusage.sh: Likewise.
19966 * malloc/memusagestat.c: Likewise.
19967 * malloc/mtrace.pl: Likewise.
19968 * nscd/nscd.c: Likewise.
19969 * nss/getent.c: Likewise.
19970 * nss/makedb.c: Likewise.
19971 * posix/getconf.c: Likewise.
19973 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19975 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19978 2012-12-30 Mike Frysinger <vapier@gentoo.org>
19980 * math/bits/mathcalls.h (modf): Use __nonnull.
19982 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19984 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19985 (split): Use macro CN instead of the bare value.
19986 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19988 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19989 instead of the bare value.
19990 (power1): Likewise.
19992 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19994 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19996 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19998 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20000 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20001 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20002 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20003 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20005 2012-12-28 Andreas Jaeger <aj@suse.de>
20007 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20008 values are from Linux 3.7.
20010 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20011 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20013 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20015 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20018 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20020 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20021 variables with preprocessor constants.
20022 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20023 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20024 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20026 2012-12-27 Bruno Haible <bruno@clisp.org>
20029 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20032 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20034 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20035 and use variable directly.
20036 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20038 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20040 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20041 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20043 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20044 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20045 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20046 include directive. Remove local variable MPONE.
20047 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20048 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20049 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20051 2012-12-25 David S. Miller <davem@davemloft.net>
20053 * version.h (RELEASE): Set to "development".
20054 (VERSION): Set to "2.17.90".
20055 * NEWS: Add 2.18 section.
20057 2012-12-21 David S. Miller <davem@davemloft.net>
20059 * po/hr.po: Update from translation team.
20061 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20063 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20065 2012-12-19 Steve Ellcey <sellcey@mips.com>
20067 * NEWS: Mention new memcpy for MIPS.
20069 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20071 * manual/contrib.texi (Contributors): Spelling correction.
20073 2012-12-15 David S. Miller <davem@davemloft.net>
20075 * po/ru.po: Update from translation team.
20077 2012-12-13 David S. Miller <davem@davemloft.net>
20079 * NEWS: Mention IFUNC testsuite enhancements.
20081 * po/pl.po: Update from translation team.
20082 * po/bg.po: Likewise.
20084 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20085 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20087 2012-12-11 David S. Miller <davem@davemloft.net>
20089 * po/sv.po: Update from translation team.
20091 * po/vi.po: Update from translation team.
20093 * po/cs.po: Update from translation team.
20095 * po/de.po: Update from translation team.
20096 * po/eo.po: Likewise.
20097 * po/nl.po: Likewise.
20099 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20102 * manual/argp.texi (Argp Helper Functions): Move node to follow
20103 Argp Parsing State.
20106 * manual/conf.texi (Limits on File System Capacity): Mention if
20107 terminating null is included in the max size.
20109 2012-12-10 Andreas Jaeger <aj@suse.de>
20111 * po/cs.po: Update from translation team.
20113 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20115 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20116 void pointer and cast to uintptr_t.
20117 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20119 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20120 * sysdeps/s390/s390-64/memset.S: Likewise.
20122 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20125 * menual/message.texi (Message Translation): Fix typos.
20126 (Helper programs for gettext): Likewise.
20128 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20131 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20134 2012-12-07 David S. Miller <davem@davemloft.net>
20136 * po/libc.pot: Update.
20138 2012-12-07 Richard Henderson <rth@redhat.com>
20141 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20142 normal/normal case to before the switch.
20143 (_FP_DIV): Likewise.
20145 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20146 Mike Frysinger <vapier@gentoo.org>
20148 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20149 check for __NR_fadvise64_64.
20151 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20153 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20154 0, not just to plain "0" as a statement.
20155 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20158 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20160 * NEWS: Use sourceware.org in Bugzilla URL.
20162 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20165 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20167 * stdio-common/tst-put-error.c (do_test): Add newline to the
20168 padded test to ensure flush.
20170 2012-12-05 Jeff Law <law@redhat.com>
20172 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20174 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20176 * README: Don't refer to ports add-on as distributed separately.
20177 Mention AArch64 in list of systems supported in the ports add-on.
20179 * LICENSES: Add more non-FSF copyright and license notices.
20181 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20184 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20186 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20187 10000 as width of padded output.
20189 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20191 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20193 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20194 variable LX with __attribute__ ((unused)).
20195 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20197 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20198 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20199 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20200 with __attribute__ ((unused)).
20202 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20204 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20206 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20208 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20209 (CFLAGS-nldbl-acos.c): New variable.
20210 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20211 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20212 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20213 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20214 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20215 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20216 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20217 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20218 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20219 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20220 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20221 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20222 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20223 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20224 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20225 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20226 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20227 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20228 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20229 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20230 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20231 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20232 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20233 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20234 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20235 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20236 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20237 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20238 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20239 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20240 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20241 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20242 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20243 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20244 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20245 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20246 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20247 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20248 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20249 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20250 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20251 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20252 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20253 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20254 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20255 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20256 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20257 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20258 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20259 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20260 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20261 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20262 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20263 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20264 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20265 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20266 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20267 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20268 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20269 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20270 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20271 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20272 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20273 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20274 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20275 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20276 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20277 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20278 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20279 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20280 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20281 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20282 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20283 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20284 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20285 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20286 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20287 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20288 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20289 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20290 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20291 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20292 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20293 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20294 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20295 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20296 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20297 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20298 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20299 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20300 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20301 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20302 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20303 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20304 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20305 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20306 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20309 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20312 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20313 whole low double instead of just low 47 bits when splitting values
20316 2012-12-03 Allan McRae <allan@archlinux.org>
20318 * manual/stdio.texi (Predefined Printf Handlers): Remove
20319 @hsep and @vsep usage.
20321 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20323 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20324 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20326 2012-12-03 Jeff Law <law@redhat.com>
20328 * time/sys/time.h (settimeofday): Do not mark TV argument
20331 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20333 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20334 when currently writing and seek to current position when not.
20335 * libio/Makefile (tests): Remove bug-fclose1.
20336 * libio/bug-fclose1.c: Delete.
20338 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20340 * manual/arith.texi (feenableexcept): Fix typo.
20341 (fedisableexcept): Likewise.
20343 2012-11-30 Roland McGrath <roland@hack.frob.com>
20345 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20346 second, differently-typed declaration, rather than a cast.
20348 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20350 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20351 * include/rpc/svc.h: ... here.
20353 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20356 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20357 depending n and resplen2 to catch cases where answer
20360 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20362 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20363 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20365 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20367 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20369 2012-11-29 Roland McGrath <roland@hack.frob.com>
20371 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20373 2012-11-28 Jeff Law <law@redhat.com>
20376 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20377 dataset_temporary. Track alloca usage into alloca_used.
20378 If dataset is large allocate and release it via malloc/free.
20380 2012-06-04 Florian Weimer <fweimer@redhat.com>
20383 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20385 2012-11-28 David S. Miller <davem@davemloft.net>
20387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20389 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20392 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20393 of pi/2 rounded to nearest to 64 bits.
20394 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20395 nearest to 64 bits.
20396 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20399 2012-11-28 Jeff Law <law@redhat.com>
20400 Martin Osvald <mosvald@redhat.com>
20403 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20404 * sunrpc/svc.c: Include time.h.
20405 (__svc_accept_failed): New function.
20406 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20407 any reason other than EINTR, call __svc_accept_failed.
20408 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20409 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20411 2012-11-28 Andreas Schwab <schwab@suse.de>
20413 * scripts/abilist.awk: Also handle indirect functions in .opd
20416 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20419 * sysdeps/x86/fpu/powl_helper.c: New file.
20420 * sysdeps/x86/fpu/Makefile: Likewise.
20421 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20423 (__ieee754_powl): Use __powl_helper for finite arguments except
20424 integer exponents below 8.
20425 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20427 (__ieee754_powl): Use __powl_helper for finite arguments except
20428 integer exponents below 8.
20429 * math/libm-test.inc (pow_test): Add more tests and enable some
20430 previously disabled tests.
20431 * sysdeps/i386/fpu/libm-test-ulps: Update.
20432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20434 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20435 Carlos O'Donell <carlos_odonell@mentor.com>
20437 * nss/makedb.c (is_prime): Assert that input is odd and greater
20438 than 4. Note that fact in a comment too.
20439 (next_prime): Add 4 to input.
20441 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20444 * libio/Makefile (tests): Add test case tst-fwrite-error.
20445 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20446 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20447 * libio/tst-fwrite-error.c: New test case.
20449 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20451 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20452 before casting to void *.
20453 * include/libc-internal.h (__pointer_type): New macro.
20454 (__integer_if_pointer_type_sub): Likewise.
20455 (__integer_if_pointer_type): Likewise.
20456 (cast_to_integer): Likewise.
20457 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20458 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20459 before casting to atomic64_t.
20460 (atomic_exchange_acq): Likewise.
20461 (__arch_exchange_and_add_body): Likewise.
20462 (__arch_add_body): Likewise.
20463 (atomic_add_negative): Likewise.
20464 (atomic_add_zero): Likewise.
20466 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20468 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20469 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20470 (add_fdes): Likewise.
20471 (linear_search_fdes): Likewise.
20472 (binary_search_unencoded_fdes): Likewise.
20474 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20476 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20478 2012-11-24 Adam Conrad <adconrad@0c3.net>
20480 * configure.in: Autodetect C++ header directories.
20481 * configure: Regenerated.
20483 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20485 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20487 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20491 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20493 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20494 LDBL_MANT_DIG == 106]: Disable some tests.
20495 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20497 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20501 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20502 input for small inputs. Return +/- pi/2 for large inputs.
20503 * math/libm-test.inc (atan_test): Add more tests.
20505 * sysdeps/generic/unwind-dw2-fde-glibc.c
20506 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20507 __attribute__ ((unused)).
20510 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20511 x * y if x and y are nonzero and z is zero.
20514 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20515 nonzero exponents with absolute value below 0x1p-117 to +/-
20519 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20520 up arguments below 2**-450, not just those below 2**-500.
20521 * math/libm-test.inc (hypot_test): Add another test.
20524 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20525 Return a+b for ratio over 2**120, not 2**60.
20526 * math/libm-test.inc (hypot_test): Add another test.
20528 * math/libm-test.inc (clog_test): Use
20529 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20530 (clog10_test): Likewise.
20533 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20535 2012-11-22 Andreas Schwab <schwab@suse.de>
20537 * sysdeps/i386/fpu/libm-test-ulps: Update.
20539 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20541 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20542 printf output with newline.
20544 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20547 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20548 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20549 -z nodlopen, -z initfirst and -z execstack support.
20550 * configure: Regenerated.
20552 * elf/elf.h (DF_1_NODIRECT): New macro.
20553 (DF_1_IGNMULDEF): Likewise.
20554 (DF_1_NOKSYMS): Likewise.
20555 (DF_1_NOHDR): Likewise.
20556 (DF_1_EDITED): Likewise.
20557 (DF_1_NORELOC): Likewise.
20558 (DF_1_SYMINTPOSE): Likewise.
20559 (DF_1_GLOBAUDIT): Likewise.
20560 (DF_1_SINGLETON): Likewise.
20561 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20562 DT_1_SUPPORTED_MASK bits.
20563 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20565 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20567 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20569 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20571 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20574 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20575 (sendmmsg): Move declarations...
20576 * socket/sys/socket.h: ... here.
20577 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20578 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20580 * socket/recvmmsg.c: ... this new file.
20581 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20582 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20583 definition of __sendmmsg hidden.
20584 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20585 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20586 Move ENOSYS stub into and include it from...
20587 * socket/sendmmsg.c: ... this new file.
20588 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20589 (sysdep_routines): Move recvmmsg and sendmmsg...
20590 * socket/Makefile (routines): ... here.
20591 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20592 (GLIBC_PRIVATE): Add __sendmmsg.
20593 * include/sys/socket.h (__sendmmsg): Add declarations.
20594 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20597 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20599 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20600 variable I1 with __attribute__ ((unused)).
20601 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20603 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20605 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20606 DUMMY variables with __attribute__ ((unused)).
20608 * bits/byteswap.h: Include <bits/types.h>.
20609 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20611 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20613 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20614 string_t. Do not manually set errno.
20615 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20616 length with __strnlen. Make sure to both set errno and return it on
20619 2012-11-19 David S. Miller <davem@davemloft.net>
20621 With help from Joseph Myers.
20622 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20623 very large arguments properly.
20624 * math/libm-test.inc (atan_test): New tests.
20625 (atan2_test): New tests.
20626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20627 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20629 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20632 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20635 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20636 [POSIX] (EADDRNOTAVAIL): Likewise.
20637 [POSIX] (EAFNOSUPPORT): Likewise.
20638 [POSIX] (EALREADY): Likewise.
20639 [POSIX] (ECONNABORTED): Likewise.
20640 [POSIX] (ECONNREFUSED): Likewise.
20641 [POSIX] (ECONNRESET): Likewise.
20642 [POSIX] (EDESTADDRREQ): Likewise.
20643 [POSIX] (EDQUOT): Likewise.
20644 [POSIX] (EHOSTUNREACH): Likewise.
20645 [POSIX] (EIDRM): Likewise.
20646 [POSIX] (EISCONN): Likewise.
20647 [POSIX] (ELOOP): Likewise.
20648 [POSIX] (EMULTIHOP): Likewise.
20649 [POSIX] (ENETDOWN): Likewise.
20650 [POSIX] (ENETUNREACH): Likewise.
20651 [POSIX] (ENOBUFS): Likewise.
20652 [POSIX] (ENODATA): Likewise.
20653 [POSIX] (ENOLINK): Likewise.
20654 [POSIX] (ENOMSG): Likewise.
20655 [POSIX] (ENOPROTOOPT): Likewise.
20656 [POSIX] (ENOSR): Likewise.
20657 [POSIX] (ENOSTR): Likewise.
20658 [POSIX] (ENOTCONN): Likewise.
20659 [POSIX] (ENOTSOCK): Likewise.
20660 [POSIX] (EOPNOTSUPP): Likewise.
20661 [POSIX] (EOVERFLOW): Likewise.
20662 [POSIX] (EPROTO): Likewise.
20663 [POSIX] (EPROTONOSUPPORT): Likewise.
20664 [POSIX] (EPROTOTYPE): Likewise.
20665 [POSIX] (ESTALE): Likewise.
20666 [POSIX] (ETIME): Likewise.
20667 [POSIX] (ETXTBSY): Likewise.
20668 [POSIX] (EWOULDBLOCK): Likewise.
20669 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20670 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20671 [POSIX] (SEEK_CUR): Likewise.
20672 [POSIX] (SEEK_END): Likewise.
20673 [POSIX || UNIX98] (mode_t): Do not require.
20674 [POSIX] (off_t): Likewise.
20675 [POSIX] (pid_t): Likewise.
20676 [POSIX] (sys/stat.h): Do not allow header.
20677 [POSIX] (unistd.h): Likewise.
20678 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20679 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20680 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20681 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20683 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20684 sigevent): Specify elements.
20685 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20687 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20688 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20690 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20691 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20692 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20693 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20694 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20695 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20696 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20697 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20698 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20699 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20700 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20701 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20702 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20703 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20705 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20707 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20709 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20711 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20712 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20713 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20714 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20715 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20716 Specify lower bound on value.
20717 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20718 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20719 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20720 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20721 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20722 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20723 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20724 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20726 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20728 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20729 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20730 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20731 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20732 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20733 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20734 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20735 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20736 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20737 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20738 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20739 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20740 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20741 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20742 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20743 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20745 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20747 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20748 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20749 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20750 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20751 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20752 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20754 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20755 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20756 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20757 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20758 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20759 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20760 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20762 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20763 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20764 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20765 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20766 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20767 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20768 specify as optional.
20769 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20770 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20771 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20772 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20773 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20774 [XPG3] (NL_LANGMAX): Likewise.
20775 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20776 [POSIX || XPG3] (NL_NMAX): Likewise.
20777 [POSIX || XPG3] (NL_SETMAX): Likewise.
20778 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20779 [XPG3] (NZERO): Likewise.
20780 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20781 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20782 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20783 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20784 (REG_ERANGE): Expect.
20785 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20787 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20788 Use (void) in prototype.
20789 [POSIX] (*_t): Allow.
20790 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20791 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20792 (WRDE_BADVAL): Expect.
20794 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20796 [XPG3 || XPG4] (O_RSYNC): Likewise.
20797 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20799 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20800 [XPG3 || XPG4] (sigqueue): Likewise.
20801 [XPG3 || XPG4] (sigtimedwait): Likewise.
20802 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20803 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20804 [XPG3 || XPG4] (vsnprintf): Likewise.
20805 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20807 [XPG3 || XPG4] (blksize_t): Likewise.
20808 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20810 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20811 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20812 [XPG3 || XPG4] (struct itimerspec): Likewise.
20813 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20814 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20815 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20816 [XPG3 || XPG4] (clockid_t): Likewise.
20817 [XPG3 || XPG4] (timer_t): Likewise.
20818 [XPG3 || XPG4] (clock_getres): Likewise.
20819 [XPG3 || XPG4] (clock_gettime): Likewise.
20820 [XPG3 || XPG4] (clock_settime): Likewise.
20821 [XPG3 || XPG4] (nanosleep): Likewise.
20822 [XPG3 || XPG4] (timer_create): Likewise.
20823 [XPG3 || XPG4] (timer_delete): Likewise.
20824 [XPG3 || XPG4] (timer_gettime): Likewise.
20825 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20826 [XPG3 || XPG4] (timer_settime): Likewise.
20827 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20828 [XPG3 || XPG4] (getlogin_r): Likewise.
20829 [XPG3 || XPG4] (pread): Likewise.
20830 [XPG3 || XPG4] (pthread_atfork): Likewise.
20831 [XPG3 || XPG4] (pwrite): Likewise.
20834 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20837 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20839 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20840 finalizing MALLSTREAM.
20842 * sysdeps/mach/hurd/syncfs.c: New file.
20844 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20847 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20848 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20849 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20850 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20851 (_nss_dns_gethostbyname4_r): Likewise.
20852 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20853 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20855 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20858 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20860 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20862 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20863 * elf/cache.c (print_entry): Print ",AArch64" for
20866 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20867 * elf/cache.c (print_entry): Print ",hard-float" for
20870 2012-11-18 David S. Miller <davem@davemloft.net>
20872 With help from Joseph Myers.
20873 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20875 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20877 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20878 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20880 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20881 * math/libm-test.inc (y0_test): New tests.
20882 (y1_test): New tests.
20883 * sysdeps/i386/fpu/libm-test-ulps: Update.
20884 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20887 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20889 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20891 * configure: Regenerated.
20893 2012-11-17 David S. Miller <davem@davemloft.net>
20896 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20897 nonzero exponents with absolute value below 0x1p-128 to +/-
20900 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20902 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20904 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20906 * posix/getconf-speclist.c: New file.
20907 * posix/posix-envs.def: Likewise.
20908 * posix/confstr.c (START_ENV_GROUP): New macro.
20909 (END_ENV_GROUP): Likewise.
20910 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20911 (KNOWN_PRESENT_ENV_STRING): Likewise.
20912 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20913 (UNKNOWN_ENVIRONMENT): Likewise.
20914 (confstr): Include posix-envs.def instead of handling
20915 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20916 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20917 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20918 (END_ENV_GROUP): Likewise.
20919 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20920 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20921 (UNKNOWN_ENVIRONMENT): Likewise.
20922 (__sysconf): Include posix-envs.def instead of handling associated
20923 cases directly here.
20924 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20925 preprocessing getconf-speclist.c rather than running getconf or
20926 generating empty file.
20928 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20930 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20932 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20935 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20937 2012-11-16 David S. Miller <davem@davemloft.net>
20939 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20940 smaller than LDBL_EPSILON/2.0L, just return xm1.
20942 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20944 * elf/tst-array1.c (init): Set constructor priority to 1000.
20945 (fini): Set destructor priority to 1000.
20946 * elf/tst-array2dep.c: Likewise.
20948 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20951 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20952 (_IO_new_file_xsputn): Also return EOF if none of the input
20953 data was written when overflow failed.
20954 * libio/iopadn.c (_IO_padn): Likewise.
20955 * libio/iowpadn.c (_IO_wpadn): Likewise.
20956 * stdio-common/tst-put-error.c: Add copyright notice.
20957 (do_test): Add case for printing padded string.
20958 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20959 _IO_padn returned error.
20960 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20961 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20964 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20966 * libio/libioP.h: Add comment note that the references to C++
20967 bits are now obsolete.
20969 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20971 * math/libm-test.inc (check_complex): Use asprintf.
20973 2012-11-14 Joseph Myers <joseph@codesourcery.com>
20975 * debug/pcprofiledump.c (print_version): Update copyright year.
20976 * malloc/memusagestat.c (print_version): Likewise.
20978 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20981 * elf/Makefile (tests): Add tst-audit8.
20982 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20983 ($(objpfx)tst-audit8.out): New target.
20984 (tst-audit8-ENV): New variable.
20985 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20986 audit if l_reloc_result is NULL.
20987 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20988 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20989 * elf/tst-audit8.c: New file.
20991 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20993 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20994 * misc/Makefile (CFLAGS-select.c): Define.
20995 * posix/Makefile (CFLAGS-pause.c): Define.
20997 2012-11-13 David S. Miller <davem@davemloft.net>
20999 * crypt/Makefile: Move test targets after toplevel Rules
21000 inclusion. Grab any necessary sysdep routines when linking.
21001 * crypt/md5.c (md5_process_block): Remove define, we will always
21002 name it __md5_process_block.
21003 (md5_finish_ctx): Update md5_process_block call.
21004 (md5_stream): Likewise.
21005 (md5_process_bytes): Likewise.
21006 (md5_process_block): Rename to __md5_process_block and move to ...
21007 * crypt/md5-block.c: ... here.
21008 * crypt/sha256.c (sha256_process_block): Move to ...
21009 * crypt/sha256-block.c: ... here.
21010 * crypt/sha512.c (sha512_process_block): Move to ...
21011 * crypt/sha512-block.c: ... here.
21012 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21014 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21015 * sysdeps/sparc/sparc64/multiarch/Makefile
21016 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21018 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21019 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21021 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21022 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21023 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21024 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21025 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21026 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21027 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21028 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21029 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21031 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21032 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21034 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21036 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21038 * timezone/tzselect.ksh: Update from tzcode git revision
21039 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21040 * timezone/zdump.c: Likewise.
21041 * timezone/zic.c: Likewise.
21042 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21043 in TZVERSION setting, not $(PKGVERSION).
21044 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21045 REPORT_BUGS_TO settings.
21048 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21051 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21053 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21054 detection to immediately after _FP_ROUND().
21055 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21058 2012-11-11 David S. Miller <davem@davemloft.net>
21060 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21062 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21063 __close rather than their public counterparts.
21065 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21067 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21069 [UNIX98] (sem_timedwait): Do not expect.
21070 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21071 [XPG4 || UNIX98] (sockatmark): Do not expect.
21072 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21073 (clock_getcpuclockid): Do not expect.
21074 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21075 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21077 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21078 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21079 [UNIX98] (vwscanf): Likewise.
21080 [UNIX98] (vswscanf): Likewise.
21082 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21084 * timezone/version.h: Remove file.
21085 * timezone/README: Do not refer to version.h.
21086 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21087 $(objpfx)version.h.
21088 ($(objpfx)zdump.o): Likewise.
21089 ($(objpfx)version.h): New target.
21091 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21093 * timezone/README: Don't mention modification to tzselect.ksh.
21094 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21095 work on unmodified tzselect.ksh. Substitute version numbers in
21098 * Makefile (format-me): Remove.
21099 (INSTALL): Adjust indentation. Use commands directly instead of
21100 using $(format-me).
21102 * aclocal.m4 (ACX_PKGVERSION): New macro.
21103 (ACX_BUGURL): Likewise.
21104 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21105 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21106 (REPORT_BUGS_TO): Likewise.
21107 * configure: Regenerated.
21108 * config.h.in (PKGVERSION): New macro.
21109 (REPORT_BUGS_TO): Likewise.
21110 * config.make.in (PKGVERSION): New variable.
21111 (PKGVERSION_TEXI): Likewise.
21112 (REPORT_BUGS_TO): Likewise.
21113 (REPORT_BUGS_TEXI): Likewise.
21114 * Makefile (format-me): Use -I$(common-objpfx)manual.
21115 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21116 ($(common-objpfx)manual/%): New target.
21117 (manual/%): Remove target.
21118 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21119 (print_version): Use PKGVERSION.
21120 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21121 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21122 and REPORT_BUGS_TO.
21123 ($(objpfx)xtrace): Likewise.
21124 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21125 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21126 (print_version): Use PKGVERSION.
21127 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21128 (do_version): Use PKGVERSION.
21129 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21131 (common-ldd-rewrite): Likewise.
21132 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21133 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21134 (print_version): Use PKGVERSION.
21135 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21136 * elf/pldd.c (argp_program_bug_address): Remove variable.
21137 (more_help): New function.
21138 (argp): Use more_help.
21139 (print_version): Use PKGVERSION.
21140 * elf/sln.c (main): Use PKGVERSION.
21141 (usage): Use REPORT_BUGS_TO.
21142 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21143 (top level): Use PKGVERSION.
21144 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21145 (print_version): Use PKGVERSION.
21146 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21147 (print_version): Use PKGVERSION.
21148 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21149 (print_version): Use PKGVERSION.
21150 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21151 (print_version): Use PKGVERSION.
21152 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21153 (print_version): Use PKGVERSION.
21154 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21155 (print_version): Use PKGVERSION.
21156 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21158 ($(objpfx)memusage): Likewise.
21159 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21160 (do_version): Use PKGVERSION.
21161 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21162 (print_version): Use PKGVERSION.
21163 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21164 ($PKGVERSION): New variable.
21165 ($REPORT_BUGS_TO): Likewise.
21166 (usage): Use $REPORT_BUGS_TO.
21167 (top level): Use $PKGVERSION.
21168 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21169 ($(objpfx)pkgvers.texi): New rule.
21170 ($(objpfx)stamp-pkgvers): Likewise.
21171 * manual/install.texi: Include pkgvers.texi.
21172 (--with-pkgversion): Document new configure option.
21173 (--with-bugurl): Likewise.
21174 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21175 than necessarily for this particular distribution. Use
21176 REPORT_BUGS_TO for where to report bugs.
21177 * INSTALL: Regenerated.
21178 * manual/libc.texinfo: Include pkgvers.texi.
21179 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21180 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21181 (print_version): Use PKGVERSION.
21182 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21183 (print_version): Use PKGVERSION.
21184 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21185 (print_version): Use PKGVERSION.
21186 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21187 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21189 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21190 (print_version): Use PKGVERSION.
21191 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21192 (print_version): Use PKGVERSION.
21193 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21196 * timezone/checktab.awk: Update from tzcode 2012i.
21197 * timezone/ialloc.c: Likewise.
21198 * timezone/private.h: Likewise.
21199 * timezone/scheck.c: Likewise.
21200 * timezone/tzfile.h: Likewise.
21201 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21202 (TZVERSION): Hardcode tzcode version number.
21203 * timezone/zdump.c: Update from tzcode 2012i.
21204 * timezone/zic.c: Likewise.
21205 * timezone/version.h: New file.
21206 * timezone/README: Describe version.h. Update upstream location.
21209 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21210 (mktemp): Enable declaration.
21211 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21212 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21213 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21214 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21216 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21218 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21220 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21222 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21224 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21228 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21229 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21230 for copies of such integer values.
21231 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21232 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21234 2012-11-09 Andreas Jaeger <aj@suse.de>
21236 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21237 definitions and declarations that are provided by
21238 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21240 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21242 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21243 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21244 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21247 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21249 * elf/elf.h: Update comment before AArch64 relocations.
21251 2012-11-07 David S. Miller <davem@davemloft.net>
21253 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21254 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21255 (__start_context): Declare.
21256 (__makecontext_ret): Delete.
21257 (__makecontext): Hook up __start_context instead of
21259 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21260 (sysdep_routines): Add __start_context when in stdlib.
21262 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21264 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21265 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21266 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21268 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21269 (READELF): New variable. Use it instead of hardcoded "readelf".
21271 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21273 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21274 * sysdeps/x86/Makefile: Here.
21275 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21276 * sysdeps/x86/tst-xmmymm.sh: This.
21278 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21280 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21282 [UNIX98] (pthread_barrier_t): Do not expect.
21283 [UNIX98] (pthread_barrierattr_t): Likewise.
21284 [UNIX98] (pthread_spinlock_t): Likewise.
21285 [UNIX98] (pthread_barrier_destroy): Likewise.
21286 [UNIX98] (pthread_barrier_init): Likewise.
21287 [UNIX98] (pthread_barrier_wait): Likewise.
21288 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21289 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21290 [UNIX98] (pthread_barrierattr_init): Likewise.
21291 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21292 [UNIX98] (pthread_getcpuclockid): Likewise.
21293 [UNIX98] (pthread_mutex_timedlock): Likewise.
21294 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21295 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21296 [UNIX98] (pthread_sigmask): Likewise.
21297 [UNIX98] (pthread_spin_destroy): Likewise.
21298 [UNIX98] (pthread_spin_init): Likewise.
21299 [UNIX98] (pthread_spin_lock): Likewise.
21300 [UNIX98] (pthread_spin_trylock): Likewise.
21301 [UNIX98] (pthread_spin_unlock): Likewise.
21302 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21304 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21305 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21306 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21307 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21308 [XPG3 || XPG4] (pthread_key_t): Likewise.
21309 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21310 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21311 [XPG3 || XPG4] (pthread_once_t): Likewise.
21312 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21313 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21314 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21315 [XPG3 || XPG4] (pthread_t): Likewise.
21317 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21319 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21321 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21322 Change function return type to int.
21324 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21325 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21326 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21327 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21328 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21329 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21330 [!POSIX] (posix_madvise): Likewise.
21331 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21333 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21334 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21335 (mode_t): Likewise.
21336 (posix_mem_offset): Likewise.
21337 (posix_typed_mem_get_info): Likewise.
21338 (posix_typed_mem_open): Likewise.
21340 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21341 Change condition to [XOPEN2K8].
21343 * conform/conformtest.pl: Preprocess allow-header data with -x c
21344 instead of from stdin.
21345 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21346 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21347 [C99-based standards] (cerfc): Likewise.
21348 [C99-based standards] (cexp2): Likewise.
21349 [C99-based standards] (cexpm1): Likewise.
21350 [C99-based standards] (clog10): Likewise.
21351 [C99-based standards] (clog1p): Likewise.
21352 [C99-based standards] (clog2): Likewise.
21353 [C99-based standards] (clgamma): Likewise.
21354 [C99-based standards] (ctgamma): Likewise.
21355 [C99-based standards] (cerff): Likewise.
21356 [C99-based standards] (cerfcf): Likewise.
21357 [C99-based standards] (cexp2f): Likewise.
21358 [C99-based standards] (cexpm1f): Likewise.
21359 [C99-based standards] (clog10f): Likewise.
21360 [C99-based standards] (clog1pf): Likewise.
21361 [C99-based standards] (clog2f): Likewise.
21362 [C99-based standards] (clgammaf): Likewise.
21363 [C99-based standards] (ctgammaf): Likewise.
21364 [C99-based standards] (cerfl): Likewise.
21365 [C99-based standards] (cerfcl): Likewise.
21366 [C99-based standards] (cexp2l): Likewise.
21367 [C99-based standards] (cexpm1l): Likewise.
21368 [C99-based standards] (clog10l): Likewise.
21369 [C99-based standards] (clog1pl): Likewise.
21370 [C99-based standards] (clog2l): Likewise.
21371 [C99-based standards] (clgammal): Likewise.
21372 [C99-based standards] (ctgammal): Likewise.
21373 * conform/data/inttypes.h-data [C99-based standards]: Include
21374 stdint.h-data. Remove all expectations for stdint.h contents.
21375 [C99-based standards] (PRI*): Do not allow.
21376 [C99-based standards] (SCN*): Likewise.
21377 [C99-based standards] (*_t): Likewise.
21378 [C99-based-standards] (PRId8): Expect macro.
21379 [C99-based-standards] (PRIi8): Likewise.
21380 [C99-based-standards] (PRIo8): Likewise.
21381 [C99-based-standards] (PRIu8): Likewise.
21382 [C99-based-standards] (PRIx8): Likewise.
21383 [C99-based-standards] (PRIX8): Likewise.
21384 [C99-based-standards] (SCNd8): Likewise.
21385 [C99-based-standards] (SCNi8): Likewise.
21386 [C99-based-standards] (SCNo8): Likewise.
21387 [C99-based-standards] (SCNu8): Likewise.
21388 [C99-based-standards] (SCNx8): Likewise.
21389 [C99-based-standards] (PRIdLEAST8): Likewise.
21390 [C99-based-standards] (PRIiLEAST8): Likewise.
21391 [C99-based-standards] (PRIoLEAST8): Likewise.
21392 [C99-based-standards] (PRIuLEAST8): Likewise.
21393 [C99-based-standards] (PRIxLEAST8): Likewise.
21394 [C99-based-standards] (PRIXLEAST8): Likewise.
21395 [C99-based-standards] (SCNdLEAST8): Likewise.
21396 [C99-based-standards] (SCNiLEAST8): Likewise.
21397 [C99-based-standards] (SCNoLEAST8): Likewise.
21398 [C99-based-standards] (SCNuLEAST8): Likewise.
21399 [C99-based-standards] (SCNxLEAST8): Likewise.
21400 [C99-based-standards] (PRIdFAST8): Likewise.
21401 [C99-based-standards] (PRIiFAST8): Likewise.
21402 [C99-based-standards] (PRIoFAST8): Likewise.
21403 [C99-based-standards] (PRIuFAST8): Likewise.
21404 [C99-based-standards] (PRIxFAST8): Likewise.
21405 [C99-based-standards] (PRIXFAST8): Likewise.
21406 [C99-based-standards] (SCNdFAST8): Likewise.
21407 [C99-based-standards] (SCNiFAST8): Likewise.
21408 [C99-based-standards] (SCNoFAST8): Likewise.
21409 [C99-based-standards] (SCNuFAST8): Likewise.
21410 [C99-based-standards] (SCNxFAST8): Likewise.
21411 [C99-based-standards] (PRId16): Likewise.
21412 [C99-based-standards] (PRIi16): Likewise.
21413 [C99-based-standards] (PRIo16): Likewise.
21414 [C99-based-standards] (PRIu16): Likewise.
21415 [C99-based-standards] (PRIx16): Likewise.
21416 [C99-based-standards] (PRIX16): Likewise.
21417 [C99-based-standards] (SCNd16): Likewise.
21418 [C99-based-standards] (SCNi16): Likewise.
21419 [C99-based-standards] (SCNo16): Likewise.
21420 [C99-based-standards] (SCNu16): Likewise.
21421 [C99-based-standards] (SCNx16): Likewise.
21422 [C99-based-standards] (PRIdLEAST16): Likewise.
21423 [C99-based-standards] (PRIiLEAST16): Likewise.
21424 [C99-based-standards] (PRIoLEAST16): Likewise.
21425 [C99-based-standards] (PRIuLEAST16): Likewise.
21426 [C99-based-standards] (PRIxLEAST16): Likewise.
21427 [C99-based-standards] (PRIXLEAST16): Likewise.
21428 [C99-based-standards] (SCNdLEAST16): Likewise.
21429 [C99-based-standards] (SCNiLEAST16): Likewise.
21430 [C99-based-standards] (SCNoLEAST16): Likewise.
21431 [C99-based-standards] (SCNuLEAST16): Likewise.
21432 [C99-based-standards] (SCNxLEAST16): Likewise.
21433 [C99-based-standards] (PRIdFAST16): Likewise.
21434 [C99-based-standards] (PRIiFAST16): Likewise.
21435 [C99-based-standards] (PRIoFAST16): Likewise.
21436 [C99-based-standards] (PRIuFAST16): Likewise.
21437 [C99-based-standards] (PRIxFAST16): Likewise.
21438 [C99-based-standards] (PRIXFAST16): Likewise.
21439 [C99-based-standards] (SCNdFAST16): Likewise.
21440 [C99-based-standards] (SCNiFAST16): Likewise.
21441 [C99-based-standards] (SCNoFAST16): Likewise.
21442 [C99-based-standards] (SCNuFAST16): Likewise.
21443 [C99-based-standards] (SCNxFAST16): Likewise.
21444 [C99-based-standards] (PRId32): Likewise.
21445 [C99-based-standards] (PRIi32): Likewise.
21446 [C99-based-standards] (PRIo32): Likewise.
21447 [C99-based-standards] (PRIu32): Likewise.
21448 [C99-based-standards] (PRIx32): Likewise.
21449 [C99-based-standards] (PRIX32): Likewise.
21450 [C99-based-standards] (SCNd32): Likewise.
21451 [C99-based-standards] (SCNi32): Likewise.
21452 [C99-based-standards] (SCNo32): Likewise.
21453 [C99-based-standards] (SCNu32): Likewise.
21454 [C99-based-standards] (SCNx32): Likewise.
21455 [C99-based-standards] (PRIdLEAST32): Likewise.
21456 [C99-based-standards] (PRIiLEAST32): Likewise.
21457 [C99-based-standards] (PRIoLEAST32): Likewise.
21458 [C99-based-standards] (PRIuLEAST32): Likewise.
21459 [C99-based-standards] (PRIxLEAST32): Likewise.
21460 [C99-based-standards] (PRIXLEAST32): Likewise.
21461 [C99-based-standards] (SCNdLEAST32): Likewise.
21462 [C99-based-standards] (SCNiLEAST32): Likewise.
21463 [C99-based-standards] (SCNoLEAST32): Likewise.
21464 [C99-based-standards] (SCNuLEAST32): Likewise.
21465 [C99-based-standards] (SCNxLEAST32): Likewise.
21466 [C99-based-standards] (PRIdFAST32): Likewise.
21467 [C99-based-standards] (PRIiFAST32): Likewise.
21468 [C99-based-standards] (PRIoFAST32): Likewise.
21469 [C99-based-standards] (PRIuFAST32): Likewise.
21470 [C99-based-standards] (PRIxFAST32): Likewise.
21471 [C99-based-standards] (PRIXFAST32): Likewise.
21472 [C99-based-standards] (SCNdFAST32): Likewise.
21473 [C99-based-standards] (SCNiFAST32): Likewise.
21474 [C99-based-standards] (SCNoFAST32): Likewise.
21475 [C99-based-standards] (SCNuFAST32): Likewise.
21476 [C99-based-standards] (SCNxFAST32): Likewise.
21477 [C99-based-standards] (PRId64): Likewise.
21478 [C99-based-standards] (PRIi64): Likewise.
21479 [C99-based-standards] (PRIo64): Likewise.
21480 [C99-based-standards] (PRIu64): Likewise.
21481 [C99-based-standards] (PRIx64): Likewise.
21482 [C99-based-standards] (PRIX64): Likewise.
21483 [C99-based-standards] (SCNd64): Likewise.
21484 [C99-based-standards] (SCNi64): Likewise.
21485 [C99-based-standards] (SCNo64): Likewise.
21486 [C99-based-standards] (SCNu64): Likewise.
21487 [C99-based-standards] (SCNx64): Likewise.
21488 [C99-based-standards] (PRIdLEAST64): Likewise.
21489 [C99-based-standards] (PRIiLEAST64): Likewise.
21490 [C99-based-standards] (PRIoLEAST64): Likewise.
21491 [C99-based-standards] (PRIuLEAST64): Likewise.
21492 [C99-based-standards] (PRIxLEAST64): Likewise.
21493 [C99-based-standards] (PRIXLEAST64): Likewise.
21494 [C99-based-standards] (SCNdLEAST64): Likewise.
21495 [C99-based-standards] (SCNiLEAST64): Likewise.
21496 [C99-based-standards] (SCNoLEAST64): Likewise.
21497 [C99-based-standards] (SCNuLEAST64): Likewise.
21498 [C99-based-standards] (SCNxLEAST64): Likewise.
21499 [C99-based-standards] (PRIdFAST64): Likewise.
21500 [C99-based-standards] (PRIiFAST64): Likewise.
21501 [C99-based-standards] (PRIoFAST64): Likewise.
21502 [C99-based-standards] (PRIuFAST64): Likewise.
21503 [C99-based-standards] (PRIxFAST64): Likewise.
21504 [C99-based-standards] (PRIXFAST64): Likewise.
21505 [C99-based-standards] (SCNdFAST64): Likewise.
21506 [C99-based-standards] (SCNiFAST64): Likewise.
21507 [C99-based-standards] (SCNoFAST64): Likewise.
21508 [C99-based-standards] (SCNuFAST64): Likewise.
21509 [C99-based-standards] (SCNxFAST64): Likewise.
21510 [C99-based-standards] (PRIdMAX): Likewise.
21511 [C99-based-standards] (PRIiMAX): Likewise.
21512 [C99-based-standards] (PRIoMAX): Likewise.
21513 [C99-based-standards] (PRIuMAX): Likewise.
21514 [C99-based-standards] (PRIxMAX): Likewise.
21515 [C99-based-standards] (PRIXMAX): Likewise.
21516 [C99-based-standards] (SCNdMAX): Likewise.
21517 [C99-based-standards] (SCNiMAX): Likewise.
21518 [C99-based-standards] (SCNoMAX): Likewise.
21519 [C99-based-standards] (SCNuMAX): Likewise.
21520 [C99-based-standards] (SCNxMAX): Likewise.
21521 [C99-based-standards] (PRIdPTR): Likewise.
21522 [C99-based-standards] (PRIiPTR): Likewise.
21523 [C99-based-standards] (PRIoPTR): Likewise.
21524 [C99-based-standards] (PRIuPTR): Likewise.
21525 [C99-based-standards] (PRIxPTR): Likewise.
21526 [C99-based-standards] (PRIXPTR): Likewise.
21527 [C99-based-standards] (SCNdPTR): Likewise.
21528 [C99-based-standards] (SCNiPTR): Likewise.
21529 [C99-based-standards] (SCNoPTR): Likewise.
21530 [C99-based-standards] (SCNuPTR): Likewise.
21531 [C99-based-standards] (SCNxPTR): Likewise.
21532 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21534 * conform/data/stdint.h-data: Update comments to clarify
21536 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21538 [C99-based standards] (INT8_MAX): Likewise.
21539 [C99-based standards] (INT16_MIN): Likewise.
21540 [C99-based standards] (INT16_MAX): Likewise.
21541 [C99-based standards] (INT32_MIN): Likewise.
21542 [C99-based standards] (INT32_MAX): Likewise.
21543 [C99-based standards] (INT64_MIN): Likewise.
21544 [C99-based standards] (INT64_MAX): Likewise.
21545 [C99-based standards] (UINT8_MAX): Likewise.
21546 [C99-based standards] (UINT16_MAX): Likewise.
21547 [C99-based standards] (UINT32_MAX): Likewise.
21548 [C99-based standards] (UINT64_MAX): Likewise.
21549 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21550 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21551 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21552 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21553 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21554 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21555 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21556 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21557 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21558 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21559 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21560 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21561 [C99-based standards] (INT_FAST8_MIN): Likewise.
21562 [C99-based standards] (INT_FAST8_MAX): Likewise.
21563 [C99-based standards] (INT_FAST16_MIN): Likewise.
21564 [C99-based standards] (INT_FAST16_MAX): Likewise.
21565 [C99-based standards] (INT_FAST32_MIN): Likewise.
21566 [C99-based standards] (INT_FAST32_MAX): Likewise.
21567 [C99-based standards] (INT_FAST64_MIN): Likewise.
21568 [C99-based standards] (INT_FAST64_MAX): Likewise.
21569 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21570 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21571 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21572 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21573 [C99-based standards] (INTPTR_MIN): Likewise.
21574 [C99-based standards] (INTPTR_MAX): Likewise.
21575 [C99-based standards] (UINTPTR_MAX): Likewise.
21576 [C99-based standards] (INTMAX_MIN): Likewise.
21577 [C99-based standards] (INTMAX_MAX): Likewise.
21578 [C99-based standards] (UINTMAX_MAX): Likewise.
21579 [C99-based standards] (PTRDIFF_MIN): Likewise.
21580 [C99-based standards] (PTRDIFF_MAX): Likewise.
21581 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21582 [C99-based standards] (SIZE_MAX): Likewise.
21583 [C99-based standards] (WCHAR_MAX): Likewise.
21584 [C99-based standards] (WINT_MAX): Likewise.
21585 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21586 constraint on value.
21587 [C99-based standards] (WCHAR_MIN): Likewise.
21588 [C99-based standards] (WINT_MIN): Likewise.
21589 [C99-based standards] (*_t): Allow.
21590 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21591 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21592 Include math.h-data and complex.h-data. Remove all expectations
21593 of math.h and complex.h contents.
21594 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21596 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21597 (struct tm): Expect tag.
21598 [C99-based-standards] (wcstof): Expect function.
21599 [C99-based-standards] (wcstold): Likewise.
21600 [C99-based-standards] (wcstoll): Likewise.
21601 [C99-based-standards] (wcstoull): Likewise.
21602 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21603 macro-int-constant. Specify type.
21604 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21605 constraint on value.
21606 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21608 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21610 [ISO C standards]: Do not allow headers.
21611 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21612 wcs[abcdefghijklmnopqrstuvwxyz]*.
21613 [ISO C standards] (*_t): Do not allow.
21614 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21616 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21617 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21619 [ISO C standards]: Do not allow headers.
21620 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21621 is[abcdefghijklmnopqrstuvwxyz]*.
21622 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21623 to[abcdefghijklmnopqrstuvwxyz]*.
21624 [ISO C standards] (*_t): Do not allow.
21625 * conform/data/stdalign.h-data: New file.
21626 * conform/data/stdbool.h-data: Likewise.
21627 * conform/data/stdnoreturn.h-data: Likewise.
21629 2012-11-07 Roland McGrath <roland@hack.frob.com>
21632 * manual/filesys.texi (Directory Entries): Typo fix.
21633 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21635 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21637 * elf/elf.h (EM_AARCH64): New macro.
21638 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21639 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21640 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21641 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21642 (R_AARCH64_TLSDESC): Likewise.
21643 (NT_ARM_TLS): Likewise.
21644 (NT_ARM_HW_BREAK): Likewise.
21645 (NT_ARM_HW_WATCH): Likewise.
21647 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21650 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21651 (__ieee754_powl): Saturate nonzero exponents with absolute value
21652 below 0x1p-79 to +/- 0x1p-79.
21653 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21654 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21655 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21656 nonzero exponents with absolute value below 0x1p-32 to +/-
21658 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21659 (__ieee754_powl): Saturate nonzero exponents with absolute value
21660 below 0x1p-79 to +/- 0x1p-79.
21661 * math/libm-test.inc (pow_test): Add more tests.
21663 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21665 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21666 _dl_s390_cap_flags with kernel. Increase string length.
21667 (_dl_s390_platforms): Add z196 and zEC12.
21669 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21671 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21672 Change XOPEN21K to XOPEN2K.
21674 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21676 * string/memmove.c: Use memcpy when possible.
21678 2012-11-06 Andreas Jaeger <aj@suse.de>
21680 * po/eo.po: Update from translation team.
21682 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21685 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21686 exponent and small x and y exponents, scale x or y up. Increase
21687 by 2 the exponent used in scaling up.
21688 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21689 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21690 * math/libm-test.inc (fma_test): Add more tests.
21691 (fma_test_towardzero): Likewise.
21692 (fma_test_downward): Likewise.
21693 (fma_test_upward): Likewise.
21695 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21698 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21702 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21703 namespace for names of struct fields.
21704 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21706 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21707 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21709 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21712 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21714 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21716 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21720 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21723 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21726 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21727 definitely overflow as x * y not x * y + z.
21728 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21729 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21730 * math/libm-test.inc (fma_test): Add more tests.
21731 (fma_test_towardzero): Likewise.
21732 (fma_test_downward): Likewise.
21733 (fma_test_upward): Likewise.
21735 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21739 * include/stub-tag.h: Remove file.
21740 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21742 * manual/maint.texi (Porting): Don't reference it.
21743 * Makerules ($(objpfx)stubs): Likewise.
21744 * dirent/closedir.c: Don't include <stub-tag.h>.
21745 * dirent/dirfd.c: Likewise.
21746 * dirent/fdopendir.c: Likewise.
21747 * dirent/getdents.c: Likewise.
21748 * dirent/getdents64.c: Likewise.
21749 * dirent/opendir.c: Likewise.
21750 * dirent/readdir.c: Likewise.
21751 * dirent/readdir64.c: Likewise.
21752 * dirent/readdir64_r.c: Likewise.
21753 * dirent/readdir_r.c: Likewise.
21754 * dirent/rewinddir.c: Likewise.
21755 * dirent/seekdir.c: Likewise.
21756 * dirent/telldir.c: Likewise.
21757 * gmon/profil.c: Likewise.
21758 * grp/setgroups.c: Likewise.
21759 * inet/if_index.c: Likewise.
21760 * io/access.c: Likewise.
21761 * io/chdir.c: Likewise.
21762 * io/chmod.c: Likewise.
21763 * io/chown.c: Likewise.
21764 * io/close.c: Likewise.
21765 * io/dup.c: Likewise.
21766 * io/dup2.c: Likewise.
21767 * io/dup3.c: Likewise.
21768 * io/euidaccess.c: Likewise.
21769 * io/faccessat.c: Likewise.
21770 * io/fchdir.c: Likewise.
21771 * io/fchmod.c: Likewise.
21772 * io/fchmodat.c: Likewise.
21773 * io/fchown.c: Likewise.
21774 * io/fchownat.c: Likewise.
21775 * io/fcntl.c: Likewise.
21776 * io/flock.c: Likewise.
21777 * io/fstatfs.c: Likewise.
21778 * io/fstatfs64.c: Likewise.
21779 * io/fstatvfs.c: Likewise.
21780 * io/fstatvfs64.c: Likewise.
21781 * io/futimens.c: Likewise.
21782 * io/fxstat.c: Likewise.
21783 * io/fxstat64.c: Likewise.
21784 * io/fxstatat.c: Likewise.
21785 * io/fxstatat64.c: Likewise.
21786 * io/getcwd.c: Likewise.
21787 * io/isatty.c: Likewise.
21788 * io/lchmod.c: Likewise.
21789 * io/lchown.c: Likewise.
21790 * io/link.c: Likewise.
21791 * io/linkat.c: Likewise.
21792 * io/lseek.c: Likewise.
21793 * io/lseek64.c: Likewise.
21794 * io/lxstat64.c: Likewise.
21795 * io/mkdir.c: Likewise.
21796 * io/mkdirat.c: Likewise.
21797 * io/mkfifo.c: Likewise.
21798 * io/mkfifoat.c: Likewise.
21799 * io/open.c: Likewise.
21800 * io/open64.c: Likewise.
21801 * io/openat.c: Likewise.
21802 * io/openat64.c: Likewise.
21803 * io/pipe.c: Likewise.
21804 * io/pipe2.c: Likewise.
21805 * io/poll.c: Likewise.
21806 * io/posix_fadvise.c: Likewise.
21807 * io/posix_fadvise64.c: Likewise.
21808 * io/posix_fallocate.c: Likewise.
21809 * io/posix_fallocate64.c: Likewise.
21810 * io/read.c: Likewise.
21811 * io/readlink.c: Likewise.
21812 * io/readlinkat.c: Likewise.
21813 * io/rmdir.c: Likewise.
21814 * io/sendfile.c: Likewise.
21815 * io/sendfile64.c: Likewise.
21816 * io/statfs.c: Likewise.
21817 * io/statfs64.c: Likewise.
21818 * io/statvfs.c: Likewise.
21819 * io/statvfs64.c: Likewise.
21820 * io/symlink.c: Likewise.
21821 * io/symlinkat.c: Likewise.
21822 * io/ttyname.c: Likewise.
21823 * io/ttyname_r.c: Likewise.
21824 * io/umask.c: Likewise.
21825 * io/unlink.c: Likewise.
21826 * io/unlinkat.c: Likewise.
21827 * io/utime.c: Likewise.
21828 * io/utimensat.c: Likewise.
21829 * io/write.c: Likewise.
21830 * io/xmknod.c: Likewise.
21831 * io/xmknodat.c: Likewise.
21832 * io/xstat.c: Likewise.
21833 * io/xstat64.c: Likewise.
21834 * login/getpt.c: Likewise.
21835 * login/grantpt.c: Likewise.
21836 * login/unlockpt.c: Likewise.
21837 * math/e_acoshl.c: Likewise.
21838 * math/e_acosl.c: Likewise.
21839 * math/e_asinl.c: Likewise.
21840 * math/e_atan2l.c: Likewise.
21841 * math/e_atanhl.c: Likewise.
21842 * math/e_coshl.c: Likewise.
21843 * math/e_expl.c: Likewise.
21844 * math/e_fmodl.c: Likewise.
21845 * math/e_gammal_r.c: Likewise.
21846 * math/e_hypotl.c: Likewise.
21847 * math/e_j0l.c: Likewise.
21848 * math/e_j1l.c: Likewise.
21849 * math/e_jnl.c: Likewise.
21850 * math/e_lgammal_r.c: Likewise.
21851 * math/e_log10l.c: Likewise.
21852 * math/e_log2l.c: Likewise.
21853 * math/e_logl.c: Likewise.
21854 * math/e_powl.c: Likewise.
21855 * math/e_rem_pio2l.c: Likewise.
21856 * math/e_sinhl.c: Likewise.
21857 * math/e_sqrtl.c: Likewise.
21858 * math/fclrexcpt.c: Likewise.
21859 * math/fedisblxcpt.c: Likewise.
21860 * math/feenablxcpt.c: Likewise.
21861 * math/fegetenv.c: Likewise.
21862 * math/fegetexcept.c: Likewise.
21863 * math/fegetround.c: Likewise.
21864 * math/feholdexcpt.c: Likewise.
21865 * math/fesetenv.c: Likewise.
21866 * math/fesetround.c: Likewise.
21867 * math/feupdateenv.c: Likewise.
21868 * math/fgetexcptflg.c: Likewise.
21869 * math/fraiseexcpt.c: Likewise.
21870 * math/fsetexcptflg.c: Likewise.
21871 * math/ftestexcept.c: Likewise.
21872 * math/k_cosl.c: Likewise.
21873 * math/k_rem_pio2l.c: Likewise.
21874 * math/k_sinl.c: Likewise.
21875 * math/k_tanl.c: Likewise.
21876 * math/s_asinhl.c: Likewise.
21877 * math/s_atanl.c: Likewise.
21878 * math/s_cbrtl.c: Likewise.
21879 * math/s_erfl.c: Likewise.
21880 * math/s_expm1l.c: Likewise.
21881 * math/s_log1pl.c: Likewise.
21882 * math/s_tanhl.c: Likewise.
21883 * misc/acct.c: Likewise.
21884 * misc/brk.c: Likewise.
21885 * misc/chflags.c: Likewise.
21886 * misc/chroot.c: Likewise.
21887 * misc/fchflags.c: Likewise.
21888 * misc/fgetxattr.c: Likewise.
21889 * misc/flistxattr.c: Likewise.
21890 * misc/fremovexattr.c: Likewise.
21891 * misc/fsetxattr.c: Likewise.
21892 * misc/fsync.c: Likewise.
21893 * misc/ftruncate.c: Likewise.
21894 * misc/futimes.c: Likewise.
21895 * misc/futimesat.c: Likewise.
21896 * misc/getdomain.c: Likewise.
21897 * misc/getdtsz.c: Likewise.
21898 * misc/gethostid.c: Likewise.
21899 * misc/gethostname.c: Likewise.
21900 * misc/getloadavg.c: Likewise.
21901 * misc/getpagesize.c: Likewise.
21902 * misc/getsysstats.c: Likewise.
21903 * misc/getxattr.c: Likewise.
21904 * misc/gtty.c: Likewise.
21905 * misc/ioctl.c: Likewise.
21906 * misc/lgetxattr.c: Likewise.
21907 * misc/listxattr.c: Likewise.
21908 * misc/llistxattr.c: Likewise.
21909 * misc/lremovexattr.c: Likewise.
21910 * misc/lsetxattr.c: Likewise.
21911 * misc/lutimes.c: Likewise.
21912 * misc/madvise.c: Likewise.
21913 * misc/mincore.c: Likewise.
21914 * misc/mlock.c: Likewise.
21915 * misc/mlockall.c: Likewise.
21916 * misc/mmap.c: Likewise.
21917 * misc/mprotect.c: Likewise.
21918 * misc/msync.c: Likewise.
21919 * misc/munlock.c: Likewise.
21920 * misc/munlockall.c: Likewise.
21921 * misc/munmap.c: Likewise.
21922 * misc/preadv.c: Likewise.
21923 * misc/preadv64.c: Likewise.
21924 * misc/ptrace.c: Likewise.
21925 * misc/pwritev.c: Likewise.
21926 * misc/pwritev64.c: Likewise.
21927 * misc/readv.c: Likewise.
21928 * misc/reboot.c: Likewise.
21929 * misc/remap_file_pages.c: Likewise.
21930 * misc/removexattr.c: Likewise.
21931 * misc/revoke.c: Likewise.
21932 * misc/select.c: Likewise.
21933 * misc/setdomain.c: Likewise.
21934 * misc/setegid.c: Likewise.
21935 * misc/seteuid.c: Likewise.
21936 * misc/sethostid.c: Likewise.
21937 * misc/sethostname.c: Likewise.
21938 * misc/setregid.c: Likewise.
21939 * misc/setreuid.c: Likewise.
21940 * misc/setxattr.c: Likewise.
21941 * misc/sstk.c: Likewise.
21942 * misc/stty.c: Likewise.
21943 * misc/swapoff.c: Likewise.
21944 * misc/swapon.c: Likewise.
21945 * misc/sync.c: Likewise.
21946 * misc/syncfs.c: Likewise.
21947 * misc/syscall.c: Likewise.
21948 * misc/truncate.c: Likewise.
21949 * misc/ualarm.c: Likewise.
21950 * misc/usleep.c: Likewise.
21951 * misc/ustat.c: Likewise.
21952 * misc/utimes.c: Likewise.
21953 * misc/vhangup.c: Likewise.
21954 * misc/writev.c: Likewise.
21955 * posix/_exit.c: Likewise.
21956 * posix/alarm.c: Likewise.
21957 * posix/execve.c: Likewise.
21958 * posix/fexecve.c: Likewise.
21959 * posix/fork.c: Likewise.
21960 * posix/fpathconf.c: Likewise.
21961 * posix/getaddrinfo.c: Likewise.
21962 * posix/getegid.c: Likewise.
21963 * posix/geteuid.c: Likewise.
21964 * posix/getgid.c: Likewise.
21965 * posix/getgroups.c: Likewise.
21966 * posix/getlogin.c: Likewise.
21967 * posix/getlogin_r.c: Likewise.
21968 * posix/getpgid.c: Likewise.
21969 * posix/getpid.c: Likewise.
21970 * posix/getppid.c: Likewise.
21971 * posix/getresgid.c: Likewise.
21972 * posix/getresuid.c: Likewise.
21973 * posix/getsid.c: Likewise.
21974 * posix/getuid.c: Likewise.
21975 * posix/glob64.c: Likewise.
21976 * posix/nanosleep.c: Likewise.
21977 * posix/pathconf.c: Likewise.
21978 * posix/pause.c: Likewise.
21979 * posix/posix_madvise.c: Likewise.
21980 * posix/pread.c: Likewise.
21981 * posix/pread64.c: Likewise.
21982 * posix/pwrite.c: Likewise.
21983 * posix/pwrite64.c: Likewise.
21984 * posix/sched_getaffinity.c: Likewise.
21985 * posix/sched_getp.c: Likewise.
21986 * posix/sched_gets.c: Likewise.
21987 * posix/sched_primax.c: Likewise.
21988 * posix/sched_primin.c: Likewise.
21989 * posix/sched_rr_gi.c: Likewise.
21990 * posix/sched_setaffinity.c: Likewise.
21991 * posix/sched_setp.c: Likewise.
21992 * posix/sched_sets.c: Likewise.
21993 * posix/sched_yield.c: Likewise.
21994 * posix/setgid.c: Likewise.
21995 * posix/setlogin.c: Likewise.
21996 * posix/setpgid.c: Likewise.
21997 * posix/setresgid.c: Likewise.
21998 * posix/setresuid.c: Likewise.
21999 * posix/setsid.c: Likewise.
22000 * posix/setuid.c: Likewise.
22001 * posix/sleep.c: Likewise.
22002 * posix/spawni.c: Likewise.
22003 * posix/sysconf.c: Likewise.
22004 * posix/times.c: Likewise.
22005 * posix/wait.c: Likewise.
22006 * posix/wait3.c: Likewise.
22007 * posix/wait4.c: Likewise.
22008 * posix/waitpid.c: Likewise.
22009 * resolv/gai_sigqueue.c: Likewise.
22010 * resource/getpriority.c: Likewise.
22011 * resource/getrlimit.c: Likewise.
22012 * resource/getrusage.c: Likewise.
22013 * resource/nice.c: Likewise.
22014 * resource/setpriority.c: Likewise.
22015 * resource/setrlimit.c: Likewise.
22016 * resource/ulimit.c: Likewise.
22017 * rt/aio_cancel.c: Likewise.
22018 * rt/aio_fsync.c: Likewise.
22019 * rt/aio_read.c: Likewise.
22020 * rt/aio_sigqueue.c: Likewise.
22021 * rt/aio_suspend.c: Likewise.
22022 * rt/aio_write.c: Likewise.
22023 * rt/clock_getres.c: Likewise.
22024 * rt/clock_gettime.c: Likewise.
22025 * rt/clock_nanosleep.c: Likewise.
22026 * rt/clock_settime.c: Likewise.
22027 * rt/lio_listio.c: Likewise.
22028 * rt/mq_close.c: Likewise.
22029 * rt/mq_getattr.c: Likewise.
22030 * rt/mq_notify.c: Likewise.
22031 * rt/mq_open.c: Likewise.
22032 * rt/mq_receive.c: Likewise.
22033 * rt/mq_send.c: Likewise.
22034 * rt/mq_setattr.c: Likewise.
22035 * rt/mq_timedreceive.c: Likewise.
22036 * rt/mq_timedsend.c: Likewise.
22037 * rt/mq_unlink.c: Likewise.
22038 * rt/shm_open.c: Likewise.
22039 * rt/shm_unlink.c: Likewise.
22040 * rt/timer_create.c: Likewise.
22041 * rt/timer_delete.c: Likewise.
22042 * rt/timer_getoverr.c: Likewise.
22043 * rt/timer_gettime.c: Likewise.
22044 * rt/timer_settime.c: Likewise.
22045 * setjmp/__longjmp.c: Likewise.
22046 * setjmp/setjmp.c: Likewise.
22047 * signal/kill.c: Likewise.
22048 * signal/killpg.c: Likewise.
22049 * signal/raise.c: Likewise.
22050 * signal/sigaction.c: Likewise.
22051 * signal/sigaltstack.c: Likewise.
22052 * signal/sigblock.c: Likewise.
22053 * signal/sigignore.c: Likewise.
22054 * signal/sigintr.c: Likewise.
22055 * signal/signal.c: Likewise.
22056 * signal/sigpause.c: Likewise.
22057 * signal/sigpending.c: Likewise.
22058 * signal/sigqueue.c: Likewise.
22059 * signal/sigreturn.c: Likewise.
22060 * signal/sigset.c: Likewise.
22061 * signal/sigsetmask.c: Likewise.
22062 * signal/sigstack.c: Likewise.
22063 * signal/sigsuspend.c: Likewise.
22064 * signal/sigtimedwait.c: Likewise.
22065 * signal/sigvec.c: Likewise.
22066 * signal/sigwait.c: Likewise.
22067 * signal/sigwaitinfo.c: Likewise.
22068 * signal/sysv_signal.c: Likewise.
22069 * socket/accept.c: Likewise.
22070 * socket/accept4.c: Likewise.
22071 * socket/bind.c: Likewise.
22072 * socket/connect.c: Likewise.
22073 * socket/getpeername.c: Likewise.
22074 * socket/getsockname.c: Likewise.
22075 * socket/getsockopt.c: Likewise.
22076 * socket/isfdtype.c: Likewise.
22077 * socket/listen.c: Likewise.
22078 * socket/recv.c: Likewise.
22079 * socket/recvfrom.c: Likewise.
22080 * socket/recvmsg.c: Likewise.
22081 * socket/send.c: Likewise.
22082 * socket/sendmsg.c: Likewise.
22083 * socket/sendto.c: Likewise.
22084 * socket/setsockopt.c: Likewise.
22085 * socket/shutdown.c: Likewise.
22086 * socket/sockatmark.c: Likewise.
22087 * socket/socket.c: Likewise.
22088 * socket/socketpair.c: Likewise.
22089 * stdio-common/ctermid.c: Likewise.
22090 * stdio-common/cuserid.c: Likewise.
22091 * stdio-common/remove.c: Likewise.
22092 * stdio-common/rename.c: Likewise.
22093 * stdio-common/renameat.c: Likewise.
22094 * stdio-common/tempname.c: Likewise.
22095 * stdlib/getcontext.c: Likewise.
22096 * stdlib/makecontext.c: Likewise.
22097 * stdlib/setcontext.c: Likewise.
22098 * stdlib/swapcontext.c: Likewise.
22099 * stdlib/system.c: Likewise.
22100 * streams/fattach.c: Likewise.
22101 * streams/fdetach.c: Likewise.
22102 * streams/getmsg.c: Likewise.
22103 * streams/getpmsg.c: Likewise.
22104 * streams/putmsg.c: Likewise.
22105 * streams/putpmsg.c: Likewise.
22106 * sysdeps/unix/bsd/getpt.c: Likewise.
22107 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22108 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22109 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22112 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22113 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22114 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22115 * sysvipc/msgctl.c: Likewise.
22116 * sysvipc/msgget.c: Likewise.
22117 * sysvipc/msgrcv.c: Likewise.
22118 * sysvipc/msgsnd.c: Likewise.
22119 * sysvipc/semctl.c: Likewise.
22120 * sysvipc/semget.c: Likewise.
22121 * sysvipc/semop.c: Likewise.
22122 * sysvipc/semtimedop.c: Likewise.
22123 * sysvipc/shmat.c: Likewise.
22124 * sysvipc/shmctl.c: Likewise.
22125 * sysvipc/shmdt.c: Likewise.
22126 * sysvipc/shmget.c: Likewise.
22127 * termios/tcdrain.c: Likewise.
22128 * termios/tcflow.c: Likewise.
22129 * termios/tcflush.c: Likewise.
22130 * termios/tcgetattr.c: Likewise.
22131 * termios/tcgetpgrp.c: Likewise.
22132 * termios/tcsendbrk.c: Likewise.
22133 * termios/tcsetattr.c: Likewise.
22134 * termios/tcsetpgrp.c: Likewise.
22135 * time/adjtime.c: Likewise.
22136 * time/clock.c: Likewise.
22137 * time/getitimer.c: Likewise.
22138 * time/gettimeofday.c: Likewise.
22139 * time/setitimer.c: Likewise.
22140 * time/settimeofday.c: Likewise.
22141 * time/stime.c: Likewise.
22142 * time/time.c: Likewise.
22144 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22146 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22149 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22151 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22153 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22157 FE_TONEAREST before applying Dekker multiplication and Knuth
22158 addition. Clear inexact exceptions and check for exact zero
22159 results afterwards.
22160 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22161 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22162 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22163 * math/libm-test.inc (fma_test): Add more tests.
22164 (fma_test_towardzero): Likewise.
22165 (fma_test_downward): Likewise.
22166 (fma_test_upward): Likewise.
22167 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22169 (libc_fesetround): New macro.
22170 (libc_fesetroundf): Likewise.
22171 (libc_fesetroundl): Likewise.
22172 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22174 (libc_fesetround_387): Likewise.
22175 (libc_fesetroundf): New macro.
22176 (libc_fesetround): Likewise.
22177 (libc_fesetroundl): Likewise.
22178 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22180 (libc_fesetroundf): New macro.
22181 (libc_fesetround): Likewise.
22182 (libc_fesetroundl): Likewise.
22183 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22184 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22185 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22187 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22188 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22190 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22191 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22193 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22197 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22198 integer constant usable in #if and use that to give value to enum
22200 (FE_DIVBYZERO): Likewise.
22201 (FE_UNDERFLOW): Likewise.
22202 (FE_OVERFLOW): Likewise.
22203 (FE_INVALID): Likewise.
22204 (FE_INVALID_SNAN): Likewise.
22205 (FE_INVALID_ISI): Likewise.
22206 (FE_INVALID_IDI): Likewise.
22207 (FE_INVALID_ZDZ): Likewise.
22208 (FE_INVALID_IMZ): Likewise.
22209 (FE_INVALID_COMPARE): Likewise.
22210 (FE_INVALID_SOFTWARE): Likewise.
22211 (FE_INVALID_SQRT): Likewise.
22212 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22213 (FE_TONEAREST): Likewise.
22214 (FE_TOWARDZERO): Likewise.
22215 (FE_UPWARD): Likewise.
22216 (FE_DOWNWARD): Likewise.
22217 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22218 (FE_DIVBYZERO): Likewise.
22219 (FE_OVERFLOW): Likewise.
22220 (FE_UNDERFLOW): Likewise.
22221 (FE_INEXACT): Likewise.
22222 (FE_TONEAREST): Likewise.
22223 (FE_DOWNWARD): Likewise.
22224 (FE_UPWARD): Likewise.
22225 (FE_TOWARDZERO): Likewise.
22226 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22227 (FE_UNDERFLOW): Likewise.
22228 (FE_OVERFLOW): Likewise.
22229 (FE_DIVBYZERO): Likewise.
22230 (FE_INVALID): Likewise.
22231 (FE_TONEAREST): Likewise.
22232 (FE_TOWARDZERO): Likewise.
22233 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22234 (FE_OVERFLOW): Likewise.
22235 (FE_UNDERFLOW): Likewise.
22236 (FE_DIVBYZERO): Likewise.
22237 (FE_INEXACT): Likewise.
22238 (FE_TONEAREST): Likewise.
22239 (FE_TOWARDZERO): Likewise.
22240 (FE_UPWARD): Likewise.
22241 (FE_DOWNWARD): Likewise.
22242 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22243 (FE_DIVBYZERO): Likewise.
22244 (FE_OVERFLOW): Likewise.
22245 (FE_UNDERFLOW): Likewise.
22246 (FE_INEXACT): Likewise.
22247 (FE_TONEAREST): Likewise.
22248 (FE_DOWNWARD): Likewise.
22249 (FE_UPWARD): Likewise.
22250 (FE_TOWARDZERO): Likewise.
22252 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22254 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22256 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22258 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22259 commands. Quote $PWD.
22260 (blacklist_exports): Don't use remove_newlines. Replace "declare
22262 (remove_newlines): Remove.
22264 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22266 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22267 * stdlib/stdlib.h (atof): Moved to ...
22268 * include/bits/stdlib-float.h: Here. New file.
22269 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22270 * stdlib/bits/stdlib-float.h: New file.
22271 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22273 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22276 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22278 * conform/conformtest.pl (@headers): Add fenv.h.
22279 * conform/data/fenv.h-data: New file.
22280 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22281 include of <math/fenv.h>.
22283 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22284 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22285 && !UNIX98]. Enables tests for XOPEN2K8.
22286 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22287 POSIX2008]: Likewise.
22289 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22290 (struct rusage): Do not expect type or its members.
22293 * math/math.h (FP_NAN): Define macro to integer constant usable in
22294 #if and use that to give value to enum constant.
22295 (FP_INFINITE): Likewise.
22296 (FP_ZERO): Likewise.
22297 (FP_SUBNORMAL): Likewise.
22298 (FP_NORMAL): Likewise.
22300 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22302 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22303 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22306 2012-11-02 Roland McGrath <roland@hack.frob.com>
22308 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22309 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22310 autoconf-time if not.
22311 * configure.in: Remove AC_PREREQ.
22313 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22315 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22316 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22317 of the internal implementation.
22319 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22321 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22322 except include of <misc/sys/syslog.h>.
22324 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22327 function returns with a NULL context exit with zero.
22329 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22331 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22333 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22335 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22336 (run_program_cmd): This.
22337 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22338 (tst_langinfo): New variable. Use it.
22340 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22342 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22343 floating point opcodes.
22345 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22347 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22350 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22352 * sysdeps/mach/hurd/powerpc: Remove directory.
22353 * sysdeps/mach/powerpc: Likewise.
22355 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22357 * scripts/check-local-headers.sh: Ignore c++ headers.
22359 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22361 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22362 __libc_cleanup_region_start argument.
22364 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22368 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22369 x * y using scaling, not as x * y + z.
22370 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22371 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22372 * math/libm-test.inc (fma_test): Add more tests.
22373 (fma_test_towardzero): Likewise.
22374 (fma_test_downward): Likewise.
22375 (fma_test_upward): Likewise.
22377 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22379 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22381 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22383 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22386 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22388 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22390 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22397 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22400 Fix the order of the list for glibc 2.17.
22401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22404 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22408 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22411 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22412 for low part of x being zero before using __atanl (y).
22413 * math/libm-test.inc (atan2_test): Add another test.
22415 * manual/install.texi (Configuring and compiling): Document
22416 general use of test-wrapper and test-wrapper-env.
22417 * INSTALL: Regenerated.
22419 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22420 (__fma): Do not extract and scale down low bits on after-rounding
22421 systems when result rounded to normal precision would have normal
22423 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22424 (__fmal): Do not extract and scale down low bits on after-rounding
22425 systems when result rounded to normal precision would have normal
22427 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22428 (__fmal): Do not extract and scale down low bits on after-rounding
22429 systems when result rounded to normal precision would have normal
22431 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22433 (fma_test): Add more tests.
22434 (fma_test_towardzero): Likewise.
22435 (fma_test_downward): Likewise.
22436 (fma_test_upward): Likewise.
22438 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22440 * sysdeps/i386/tininess.h: Renamed to ...
22441 * sysdeps/x86/tininess.h: This.
22442 * sysdeps/x86_64/tininess.h: Removed.
22444 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22446 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22447 input. Use $(build-program-cmd).
22448 ($(objpfx)tst-array1-static.out): Likewise.
22449 ($(objpfx)tst-array2.out): Likewise.
22450 ($(objpfx)tst-array3.out): Likewise.
22451 ($(objpfx)tst-array4.out): Likewise.
22452 ($(objpfx)tst-array5.out): Likewise.
22453 ($(objpfx)tst-array5-static.out): Likewise.
22455 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22457 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22460 * nss/nsswitch.h (nss_interface_function): Provide new
22461 macro for use with NSS functions.
22462 * grp/initgroups.c: Use new macro.
22463 * nss/getXXbyYY.c: Likewise.
22464 * nss/getXXbyYY_r.c: Likewise.
22465 * nss/getXXent.c: Likewise.
22466 * nss/getXXent_r.c: Likewise.
22467 * sysdeps/posix/getaddrinfo.c: Likewise.
22469 2012-10-30 Andreas Jaeger <aj@suse.de>
22471 * po/ru.po: Update Russion translation from translation project.
22473 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22477 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22478 result and shift together with sticky bit instead of replicating
22479 round-to-nearest rounding.
22480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22481 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22482 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22483 missing underflow exceptions.
22484 (fma_test_towardzero): Add more tests.
22485 (fma_test_downward): Likewise.
22486 (fma_test_upward): Likewise.
22489 * sysdeps/generic/tininess.h: New file.
22490 * sysdeps/i386/tininess.h: Likewise.
22491 * sysdeps/sh/tininess.h: Likewise.
22492 * sysdeps/x86_64/tininess.h: Likewise.
22493 * stdlib/tst-strtod-underflow.c: Likewise.
22494 * stdlib/tst-tininess.c: Likewise.
22495 * stdlib/strtod_l.c: Include <tininess.h>.
22496 (round_and_return): Do not set errno for exact underflow cases.
22497 Force an underflow exception when setting errno for underflow.
22498 Determine underflow based on rounding to normal precision if
22499 TININESS_AFTER_ROUNDING.
22500 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22501 ERANGE for exact underflow cases.
22502 * stdlib/Makefile (tests): Add tst-tininess and
22503 tst-strtod-underflow.
22504 ($(objpfx)tst-tininess): Use $(link-libm).
22505 ($(objpfx)tst-strtod-underflow): Likewise.
22507 2012-10-30 Andreas Jaeger <aj@suse.de>
22510 * elf/Makefile (tests): Remove conditional for have-initfini-array
22511 since this is now always required and the variable does not exist
22513 (tests-static): Likewise.
22514 (modules-names): Likewise.
22516 * po/eo.po: Add Esperanto translation from translation project.
22518 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22519 merged with constructor/destructor.
22520 (init_array): Likewise.
22521 * elf/tst-array2dep.c (fini_array): Likewise.
22522 (init_array): Likewise.
22524 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22526 * manual/message.texi: Delete @cartouche tags.
22528 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22530 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22532 * sysdeps/mach/hurd/fsync.c: Likewise.
22534 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22535 [_POSIX_REALTIME_SIGNALS]: Change condition to
22536 [_POSIX_REALTIME_SIGNALS > 0].
22538 2012-10-27 Andreas Jaeger <aj@suse.de>
22540 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22541 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22542 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22543 [__WORDSIZE != 64]: Likewise.
22545 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22547 * iconvdata/tst-table.sh: Remove ${SHELL}.
22548 * iconvdata/tst-tables.sh: Likewise.
22550 2012-10-25 David S. Miller <davem@davemloft.net>
22552 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22553 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22556 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22558 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22559 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22560 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22563 2012-10-25 Roland McGrath <roland@hack.frob.com>
22565 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22566 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22569 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22570 Jim Blandy <jimb@codesourcery.com>
22572 * scripts/cross-test-ssh.sh: New file.
22573 * manual/install.texi (Configuring and compiling): Document use of
22575 * INSTALL: Regenerated.
22577 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22579 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22582 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22584 * Makeconfig (run-program-prefix): Fix comment.
22586 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22587 Jim Blandy <jimb@codesourcery.com>
22589 * Makeconfig (test-wrapper): New variable,
22590 (test-wrapper-env): Likewise.
22591 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22592 (run-built-tests): Define to yes.
22593 (run-program-prefix): Use $(test-wrapper).
22594 (built-program-cmd): Likewise.
22595 * Rules (make-test-out): Use $(test-wrapper-env) and
22596 $(host-built-program-cmd).
22597 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22598 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22600 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22601 $(test-wrapper-env) to tst-rtld-load-self.sh.
22602 ($(objpfx)order2.out): Use $(test-wrapper).
22603 ($(objpfx)tst-initorder.out): Likewise.
22604 ($(objpfx)tst-initorder2.out): Likewise.
22605 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22606 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22607 (test_wrapper_env): New variable. Use it to run ld.so.
22608 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22609 Use it to run ld.so.
22610 (test_wrapper_env): Likewise.
22611 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22612 $(test-wrapper) to run-iconv-test.sh.
22613 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22614 (ICONV): Use $test_wrapper.
22615 * posix/Makefile ($(objpfx)globtest.out): Pass
22616 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22617 globtest.sh, not $(run-program-prefix).
22618 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22619 (test_wrapper): Likewise.
22620 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22621 set together with run_via_rtld_prefix.
22622 (run_program_prefix): Define in terms of test_wrapper and
22623 run_via_rtld_prefix.
22625 2012-10-24 Roland McGrath <roland@hack.frob.com>
22627 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22628 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22632 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22633 Declare __clock_getres, __clock_gettime, __clock_settime,
22634 __clock_nanosleep, and __clock_getcpuclockid.
22635 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22636 Remove librt_hidden_def (clock_gettime).
22637 * sysdeps/unix/clock_gettime.c: Likewise.
22638 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22639 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22640 * rt/clock_getres.c: Define __clock_getres as an alias.
22641 * sysdeps/posix/clock_getres.c: Likewise.
22642 * rt/clock_settime.c: Define __clock_settime as an alias.
22643 * sysdeps/unix/clock_settime.c: Likewise.
22644 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22645 * sysdeps/unix/clock_nanosleep.c: Likewise.
22646 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22647 * rt/clock-compat.c: New file.
22648 * rt/Makefile (librt-routines): Add clock-compat and move
22649 $(clock-routines) to ...
22650 (routines): ... here, new variable.
22651 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22652 Don't add get_clockfreq here.
22653 * rt/Versions (libc: GLIBC_2.17): New version set.
22654 Add clock_* symbols here.
22655 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22656 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22657 (GLIBC_2.17): Add clock_* symbols.
22658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22660 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22666 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22669 * NEWS: Mention the move.
22671 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22672 Use __open, __read, __close rather than their public counterparts.
22673 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22674 (__get_clockfreq_via_cpuinfo): Likewise.
22675 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22676 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22678 * config.h.in (HAVE_IFUNC): New #undef.
22679 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22681 * configure: Regenerated.
22683 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22685 * configure.in: Move READELF check to start of file.
22686 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22687 libc_cv_asm_gnu_indirect_function in the process.
22688 * configure: Regenerated.
22690 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22692 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22693 send the output to /dev/null.
22694 (libc_cv_cc_with_libunwind): Likewise.
22695 (libc_cv_as_noexecstack): Likewise.
22696 * configure: Regenerate.
22698 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22700 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22702 * posix/globtest.sh (TMPDIR): Do not set.
22703 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22704 (testout): Likewise.
22706 2012-10-24 Andreas Jaeger <aj@suse.de>
22708 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22709 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22710 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22711 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22712 posix_fadvise64, posix_fallocate64.
22714 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22715 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22716 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22718 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22720 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22723 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22724 <bits/fcntl-linux.h>.
22725 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22727 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22728 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22729 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22730 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22731 [__WORDSIZE != 64]: Likewise.
22733 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22735 * Makeconfig (run-built-tests): New variable.
22736 * Rules [$(cross-compiling) = yes]: Change condition to
22737 [$(run-built-tests) = no].
22738 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22739 to [$(run-built-tests) = yes].
22740 * elf/Makefile [$(cross-compiling) = no]: Likewise
22741 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22742 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22743 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22744 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22745 * io/Makefile [$(cross-compiling) = no]: Likewise.
22746 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22747 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22748 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22749 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22750 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22751 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22752 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22753 * string/Makefile [$(cross-compiling) = no]: Likewise.
22755 * posix/Makefile ($(objpfx)globtest.out): Pass
22756 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22757 $(rtld-installed-name).
22758 * posix/globtest.sh (elf_objpfx): Remove variable.
22759 (rtld_installed_name): Likewise.
22760 (library_path): Likewise.
22761 (run_program_prefix): New variable. Use for running globtest
22764 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22765 Joseph Myers <joseph@codesourcery.com>
22767 * Makeconfig (host-built-program-cmd): New variable.
22768 * elf/Makefile (tst-stackguard1-ARGS): Use
22769 $(host-built-program-cmd).
22770 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22771 (tst-spawn-ARGS): Likewise.
22772 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22774 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22775 Jim Blandy <jimb@codesourcery.com>
22777 * Makeconfig (run-via-rtld-prefix): New variable.
22778 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22779 (built-program-cmd): Likewise.
22781 2012-10-22 Andreas Jaeger <aj@suse.de>
22783 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22784 __O_RSYNC if it exists, otherwise to O_SYNC.
22786 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22787 Joseph Myers <joseph@codesourcery.com>
22789 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22791 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22793 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22796 2012-10-22 Andreas Jaeger <aj@suse.de>
22798 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22800 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22803 bits/fcntl-linux.h.
22805 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22806 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22808 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22810 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22813 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22814 Joseph Myers <joseph@codesourcery.com>
22816 * config.make.in (NM): New variable.
22818 2012-10-21 Andreas Jaeger <aj@suse.de>
22820 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22821 definitions and declarations that are provided by
22822 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22824 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22827 * elf/Makefile (tests-static): Add tst-leaks1-static.
22828 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22829 ($(objpfx)tst-leaks1-static): New rule.
22830 ($(objpfx)tst-leaks1-static-mem): Likewise.
22831 (tst-leaks1-static-ENV): New macro.
22832 * elf/dl-open.c (dl_open_worker): Check the main application
22833 only if SHARED is defined.
22834 * elf/tst-leaks1-static.c: New file.
22836 2012-10-20 Andreas Jaeger <aj@suse.de>
22838 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22839 generic values for Linux.
22840 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22841 and declarations that are provided by <bits/fcntl-linux.h> and
22842 include <bits/fcntl-linux.h>.
22843 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22844 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22846 2012-10-20 Roland McGrath <roland@hack.frob.com>
22848 * io/fcntl.h: Move include of <bits/types.h> to the top and
22849 include it unconditionally.
22851 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22853 * wcsmbs/Makefile (tests-ifunc): New variable.
22854 (tests): Add $(tests-ifunc).
22855 * wcsmbs/test-wcschr-ifunc.c: New file.
22856 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22857 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22858 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22859 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22860 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22862 * string/Makefile (tests-ifunc): New variable.
22863 (tests): Add $(tests-ifunc).
22864 * string/test-memccpy.c (TEST_NAME): New macro.
22865 * string/test-memchr.c (TEST_NAME): Likewise.
22866 * string/test-memcmp.c (TEST_NAME): Likewise.
22867 * string/test-memcpy.c (TEST_NAME): Likewise.
22868 * string/test-memmem.c (TEST_NAME): Likewise.
22869 * string/test-memmove.c (TEST_NAME): Likewise.
22870 * string/test-memset.c (TEST_NAME): Likewise.
22871 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22872 * string/test-stpcpy.c (TEST_NAME): Likewise.
22873 * string/test-stpncpy.c (TEST_NAME): Likewise.
22874 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22875 * string/test-strcasestr.c (TEST_NAME): Likewise.
22876 * string/test-strcat.c (TEST_NAME): Likewise.
22877 * string/test-strchr.c (TEST_NAME): Likewise.
22878 * string/test-strcmp.c(TEST_NAME): Likewise.
22879 * string/test-strcpy.c (TEST_NAME): Likewise.
22880 * string/test-strcspn.c (TEST_NAME): Likewise.
22881 * string/test-strlen.c (TEST_NAME): Likewise.
22882 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22883 * string/test-strncmp.c (TEST_NAME): Likewise.
22884 * string/test-strncpy.c (TEST_NAME): Likewise.
22885 * string/test-strnlen.c (TEST_NAME): Likewise.
22886 * string/test-strpbrk.c (TEST_NAME): Likewise.
22887 * string/test-strrchr.c (TEST_NAME): Likewise.
22888 * string/test-strspn.c (TEST_NAME): Likewise.
22889 * string/test-strstr.c (TEST_NAME): Likewise.
22890 * string/test-bcopy-ifunc.c: New file.
22891 * string/test-bzero-ifunc.c: Likewise.
22892 * string/test-memccpy-ifunc.c: Likewise.
22893 * string/test-memchr-ifunc.c: Likewise.
22894 * string/test-memcmp-ifunc.c: Likewise.
22895 * string/test-memcpy-ifunc.c: Likewise.
22896 * string/test-memmem-ifunc.c: Likewise.
22897 * string/test-memmove-ifunc.c: Likewise.
22898 * string/test-mempcpy-ifunc.c: Likewise.
22899 * string/test-memset-ifunc.c: Likewise.
22900 * string/test-rawmemchr-ifunc.c: Likewise.
22901 * string/test-stpcpy-ifunc.c: Likewise.
22902 * string/test-stpncpy-ifunc.c: Likewise.
22903 * string/test-strcasecmp-ifunc.c: Likewise.
22904 * string/test-strcasestr-ifunc.c: Likewise.
22905 * string/test-strcat-ifunc.c: Likewise.
22906 * string/test-strchr-ifunc.c: Likewise.
22907 * string/test-strchrnul-ifunc.c: Likewise.
22908 * string/test-strcmp-ifunc.c: Likewise.
22909 * string/test-strcpy-ifunc.c: Likewise.
22910 * string/test-strcspn-ifunc.c: Likewise.
22911 * string/test-strlen-ifunc.c: Likewise.
22912 * string/test-strncasecmp-ifunc.c: Likewise.
22913 * string/test-strncat-ifunc.c: Likewise.
22914 * string/test-strncmp-ifunc.c: Likewise.
22915 * string/test-strncpy-ifunc.c: Likewise.
22916 * string/test-strnlen-ifunc.c: Likewise.
22917 * string/test-strpbrk-ifunc.c: Likewise.
22918 * string/test-strrchr-ifunc.c: Likewise.
22919 * string/test-strspn-ifunc.c: Likewise.
22920 * string/test-strstr-ifunc.c: Likewise.
22922 * debug/Makefile (tests-ifunc): New variable.
22923 (tests): Add $(tests-ifunc).
22924 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22925 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22926 * debug/test-stpcpy_chk-ifunc.c: New file.
22927 * debug/test-strcpy_chk-ifunc.c: Likewise.
22929 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22932 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22933 header is not read in.
22935 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22937 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22938 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22939 directly. Pass built executable to script as
22940 $(built-program-cmd).
22941 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22942 $testprogram without using LD_LIBRARY_PATH and $ldso.
22944 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22945 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22946 $(rtld-installed-name).
22947 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22948 (rtld_installed_name): Likewise.
22949 (library_path): Likewise.
22950 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22951 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22952 $(run-program-prefix) to tst-tables.sh.
22953 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22954 it to run tst-table-from and tst-table-to.
22955 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22956 Pass it to tst-table.sh.
22957 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22958 $(run-program-prefix) to tst-gettext.sh.
22959 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22961 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22963 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22964 to run tst-gettext.
22965 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22966 to run tst-gettext2.
22967 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22968 to run tst-translit.
22969 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22970 $(run-program-prefix) to tst-mtrace.sh.
22971 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22973 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22974 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22975 $(rtld-installed-name).
22976 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22977 (rtld_installed_name): Likewise.
22978 (run_program_prefix): New variable. Use it to run wordexp-test.
22980 * Makeconfig (ARCH): Remove all definitions.
22981 (machine): Likewise.
22982 [ARCH]: Remove conditional code.
22983 [!objdir]: Give error.
22984 [!objdir] (objpfx): Remove.
22985 [!objdir] (common-objpfx): Likewise.
22986 [!objdir] (common-objdir): Likewise.
22987 * configure.in (config_makefile): Remove. Hardcode Makefile in
22988 AC_CONFIG_FILES call.
22989 * configure: Regenerated.
22992 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22994 (testout): Likewise.
22996 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22997 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22998 $(rtld-installed-name).
22999 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23000 (rtld_installed_name): Likwise.
23001 (runit): Remove function.
23002 (run_getconf): New variable, Use it for running getconf binary.
23004 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23007 * string/test-memmem.c (check_result): New function.
23008 (do_one_test): Use it.
23009 (check1): New function.
23010 (test_main): Use it.
23012 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23014 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23016 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23018 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23019 (_G_LSEEK64): Likewise.
23020 (_G_MMAP64): Likewise.
23021 (_G_FSTAT64): Likewise.
23022 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23023 (_G_LSEEK64): Likewise.
23024 (_G_MMAP64): Likewise.
23025 (_G_FSTAT64): Likewise.
23026 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23027 unconditional. Call __mmap64 directly.
23028 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23029 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23030 __lseek64 directly.
23031 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23032 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23034 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23035 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23036 __lseek64 directly.
23037 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23038 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23039 __lseek64 directly.
23040 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23041 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23042 __lseek64 directly.
23043 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23044 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23045 __fxstat64 directly.
23046 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23047 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23049 (freopen64) [!_G_OPEN64]: Remove conditional code.
23050 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23052 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23053 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23055 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23056 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23058 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23059 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23061 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23062 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23064 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23065 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23067 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23068 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23070 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23072 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23075 * manual/memory.texi (Malloc Tunable Parameters): Add note
23076 about free list pointers overwriting some perturb bytes.
23077 Wording suggested by Roland McGrath.
23079 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23081 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23082 (lgamma_test): Likewise.
23083 (tgamma_test): Likewise.
23085 2012-10-16 Florian Weimer <fweimer@redhat.com>
23088 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23089 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23091 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23093 * NEWS: Mention BZ #14716.
23094 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23095 when removing AVAILABLE1_USES_J macro.
23097 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23099 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23100 (__bswap_64): __uint64_t for unsigned 64-bit int.
23102 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23104 * include/string.h (memmem): Declare libc hidden alias.
23105 * string/memmem.c (memmem): Define libc hidden alias.
23106 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23107 __read, __close instead of open, read, close.
23109 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23111 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23112 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23114 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23115 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23116 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23118 (__rawmemchr_sse2): Likewise.
23119 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23120 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23121 (__strchr_sse2): Likewise.
23122 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23123 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23124 (__strcasecmp_sse2): Likewise.
23125 (__strncasecmp_sse2): Likewise.
23126 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23127 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23128 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23129 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23130 (__strrchr_sse2): Likewise.
23131 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23133 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23134 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23135 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23136 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23137 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23138 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23139 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23140 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23141 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23142 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23143 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23144 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23145 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23146 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23147 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23148 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23149 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23150 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23151 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23152 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23153 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23154 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23155 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23156 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23157 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23158 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23159 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23160 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23161 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23162 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23164 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23166 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23167 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23168 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23169 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23171 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23173 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23174 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23175 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23176 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23178 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23179 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23180 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23181 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23182 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23183 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23184 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23185 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23186 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23187 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23188 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23189 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23190 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23191 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23192 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23193 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23194 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23195 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23196 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23197 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23198 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23199 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23200 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23201 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23202 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23203 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23204 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23205 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23206 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23207 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23208 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23209 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23210 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23211 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23212 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23213 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23214 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23215 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23216 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23217 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23218 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23220 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23221 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23222 * include/ifunc-impl-list.h: New file.
23223 * misc/ifunc-impl-list.c: Likewise.
23224 * misc/Makefile (routines): Add ifunc-impl-list.
23225 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23226 * string/test-string.h: Include <ifunc-impl-list.h>.
23227 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23228 impl_array): New variables.
23229 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23231 (test_init): Call __libc_ifunc_impl_list to initialize
23232 func_list if TEST_IFUNC and TEST_NAME are defined.
23234 * string/Makefile (strop-tests): Add bcopy and bzero.
23235 * string/test-bcopy.c: New file.
23236 * string/test-bzero.c: Likewise.
23237 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23239 * string/test-memset.c: Support bzero test if TEST_BZERO is
23241 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23243 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23245 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23248 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23250 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23251 * configure: Regenerated.
23253 * Makeconfig (+link-static-before-libc): Don't include
23254 $(link-static-libc).
23256 * libio/libio.h (_IO_pos_t): Remove.
23258 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23260 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23263 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23265 * crypt/crypt-entry.c: Include fips-private.h.
23266 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23267 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23268 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23269 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23271 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23273 * crypt/crypt-private.h: Include stdbool.h.
23274 (_ufc_setup_salt_r): Return bool.
23275 * crypt/crypt-entry.c: Include errno.h.
23276 (__crypt_r): Return NULL with EINVAL for bad salt.
23277 * crypt/crypt_util.c (bad_for_salt): New.
23278 (_ufc_setup_salt_r): Check that salt is long enough and within
23279 the specified alphabet.
23280 * crypt/badsalttest.c: New file.
23281 * crypt/Makefile (tests): Add it.
23282 ($(objpfx)badsalttest): New.
23284 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23286 * NEWS: Add entry for BZ #14602.
23288 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23290 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23292 * math/libm-test.inc: Update comment listing what functions and
23294 (isgreater_test): New function.
23295 (isgreaterequal_test): Likewise.
23296 (isless_test): Likewise.
23297 (islessequal_test): Likewise.
23298 (islessgreater_test): Likewise.
23299 (isunordered_test): Likewise.
23300 (main): Call the new functions.
23302 2012-10-09 Roland McGrath <roland@hack.frob.com>
23304 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23305 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23306 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23307 * sysdeps/i386/configure: Regenerated.
23308 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23309 * sysdeps/mach/configure: Regenerated.
23310 * sysdeps/mach/hurd/configure: Regenerated.
23311 * sysdeps/powerpc/configure: Regenerated.
23312 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23313 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23314 * sysdeps/s390/s390-32/configure: Regenerated.
23315 * sysdeps/s390/s390-64/configure: Regenerated.
23316 * sysdeps/sh/configure: Regenerated.
23317 * sysdeps/sparc/configure: Regenerated.
23318 * sysdeps/unix/sysv/linux/configure: Regenerated.
23319 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23320 * sysdeps/x86_64/configure: Regenerated.
23322 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23323 defined. Don't check if MAP is NULL.
23325 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23327 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23328 (_G_stat64): Likewise.
23329 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23330 (_G_stat64): Likewise.
23331 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23332 instead of struct _G_stat64.
23333 * libio/fileops.c (mmap_remap_check): Likewise.
23334 (decide_maybe_mmap): Likewise.
23335 (_IO_new_file_seekoff): Likewise.
23336 (_IO_file_stat): Likewise.
23337 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23339 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23340 instead of struct _G_stat64.
23341 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23343 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23346 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23348 (CHECK_EOL): New macro.
23349 (two_way_short_needle): Check beginning of haystack for EOL. Use
23351 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23352 Replace with CHECK_EOL.
23353 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23354 Replace with CHECK_EOL.
23356 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23358 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23360 * math/libm-test.inc: Update comment listing what functions and
23362 (finite_test): New function.
23363 (isinf_test): Likewise.
23364 (isnan_test): Likewise.
23365 (fpclassify_test): Test subnormal input.
23366 (isfinite_test): Likewise.
23367 (isnormal_test): Likewise.
23368 (main): Call the new functions.
23370 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23373 * Makerules (%.dynsym): Force C locale when running
23374 $(OBJDUMP) --dynamic-syms.
23376 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23378 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23381 2012-10-06 David S. Miller <davem@davemloft.net>
23383 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23384 upper 32-bits of the length value in %o2 since we use branch-on-register
23385 tests which consider the entire 64-bit register.
23387 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23389 * string/test-strstr.c (check2): Add a test for page boundary.
23391 2012-10-05 David S. Miller <davem@davemloft.net>
23393 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23394 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23396 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23398 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23399 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23400 and bzero when HWCAP_SPARC_CRYPTO is present.
23402 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23405 * string/test-strstr.c (check2): New function.
23406 (test_main): Call check2.
23408 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23410 * string/bug-strcasestr1.c (do_test): Moved to ...
23411 * string/test-strcasestr.c (check1): Here. New function.
23412 (do_one_test): Break out result checking code into ...
23413 (check_result): This. New function.
23414 (do_one_test): Call check_result.
23415 (test_main): Call check1.
23416 * string/bug-strchr1.c (do_test): Moved to ...
23417 * string/test-strchr.c (check1): Here. New function.
23418 (do_one_test): Break out result checking code into ...
23419 (check_result): This. New function.
23420 (do_one_test): Call check_result.
23421 (test_main): Call check1.
23422 * string/bug-strstr1.c (main): Moved to ...
23423 * string/test-strstr.c (check1): Here. New function.
23424 (do_one_test): Break out result checking code into ...
23425 (check_result): This. New function.
23426 (do_one_test): Call check_result.
23427 (test_main): Call check1.
23428 * string/bug-strcasestr1.c: Removed.
23429 * string/bug-strchr1.c: Likewise.
23430 * string/bug-strstr1.c: Likewise.
23432 * elf/Makefile (dl-routines): Add hwcaps.
23433 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23434 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23435 (_dl_important_hwcaps): Moved to ...
23436 * elf/dl-hwcaps.c: Here. New file.
23437 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23440 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23441 if IS_IN_rtld isn't defined.
23443 * elf/dl-support.c (_dl_sysinfo_map): New.
23444 Include "get-dynamic-info.h" and "setup-vdso.h".
23445 (_dl_non_dynamic_init): Call setup_vdso.
23446 * elf/dynamic-link.h: Don't include <assert.h>.
23447 (elf_get_dynamic_info): Moved to ...
23448 * elf/get-dynamic-info.h: Here. New file.
23449 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23450 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23451 * elf/setup-vdso.h: Here. New file.
23452 * elf/rtld.c: Include "setup-vdso.h".
23453 (dl_main): Call setup_vdso.
23455 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23457 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23458 creal in comment listing functions tested. List finite, isinf,
23459 isnan, isless, islessequal, isgreater, isgreaterequal,
23460 islessgreater, isunordered, lgamma_r and pow10 as functions and
23461 macros not tested. Mention which functions not tested are aliases
23462 for other functions. Fix typo. Note that signs of NaNs are not
23465 * scripts/config.guess: Update from config.git.
23466 * scripts/config.sub: Likewise.
23468 2012-10-04 Roland McGrath <roland@hack.frob.com>
23470 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23471 * misc/madvise.c (madvise): Renamed to __madvise.
23472 Make madvise a weak alias.
23473 * include/sys/mman.h: Declare __madvise.
23474 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23475 * sysdeps/unix/syscalls.list
23476 (madvise): Make __madvise the strong name, and madvise a weak alias.
23477 * sysdeps/unix/sysv/linux/syscalls.list
23478 (madvise, mmap): Remove redundant entries.
23479 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23480 * malloc/malloc.c (mtrim): Likewise.
23481 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23483 2012-10-03 Roland McGrath <roland@hack.frob.com>
23485 * sysdeps/mach/hurd/dl-cache.c: File removed.
23486 * config.h.in (USE_LDCONFIG): New #undef.
23487 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23488 * configure: Regenerated.
23489 * elf/Makefile (dl-routines): Add dl-cache only under
23490 [$(use-ldconfig) = yes].
23491 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23492 cache on [USE_LDCONFIG].
23493 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23495 * elf/rtld.c (dl_main): Likewise.
23497 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23499 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23500 _SC_LEVEL4_CACHE_LINESIZE.
23502 2012-10-03 Roland McGrath <roland@hack.frob.com>
23504 * sysdeps/unix/bsd/confstr.h: File removed.
23506 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23508 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23511 2012-10-02 Roland McGrath <roland@hack.frob.com>
23513 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23514 Make 'mapoff' field ElfW(Off) rather than off_t.
23516 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23518 * nscd/Makefile: Remove nscd-cflags and all its users.
23519 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23520 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23523 * malloc.c (malloc_printerr): Clarify error message.
23525 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23528 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23529 Set bit_FMA_Usable if FMA is supported.
23530 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23532 (bit_FMA4_Usable): Updated.
23533 (index_FMA_Usable): New macro.
23534 (CPUID_FMA): Likewise
23535 (HAS_FMA): Defined with bit_FMA_Usable.
23537 2012-10-01 Roland McGrath <roland@hack.frob.com>
23539 * bits/types.h (__swblk_t): Type removed.
23540 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23541 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23542 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23543 (__SWBLK_T_TYPE): Likewise.
23544 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23545 (__SWBLK_T_TYPE): Likewise.
23546 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23547 (__SWBLK_T_TYPE): Likewise.
23548 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23549 (__SWBLK_T_TYPE): Likewise.
23551 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23552 Honza Horak <hhorak@redhat.com>
23554 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23555 (xdr_mapname): Use YPMAXMAP as maxsize.
23556 (xdr_peername): Use YPMAXPEER as maxsize.
23557 (xdr_keydat): Use YPAXRECORD as maxsize.
23558 (xdr_valdat): Use YPMAXRECORD as maxsize.
23560 2012-10-01 Roland McGrath <roland@hack.frob.com>
23562 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23564 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23565 * csu/init-first.c: ... here.
23566 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23567 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23568 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23569 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23570 * sysdeps/i386/init-first.c: File removed.
23571 * sysdeps/sh/init-first.c: File removed.
23573 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23576 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23577 if x * y might underflow to zero and z is zero.
23578 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23579 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23580 * math/libm-test.inc (min_subnorm_value): New variable.
23581 (fma_test): Add more tests.
23582 (fma_test_towardzero): Likewise.
23583 (fma_test_downward): Likewise
23584 (fma_test_upward): Likewise.
23585 (initialize): Set min_subnorm_value.
23587 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23590 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23592 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23593 mode for addition resulting in exact zero.
23594 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23595 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23597 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23598 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23599 * math/libm-test.inc (fma_test): Add more tests.
23600 (fma_test_towardzero): New function.
23601 (fma_test_downward): Likewise.
23602 (fma_test_upward): Likewise.
23603 (main): Call the new functions.
23605 2012-09-28 David S. Miller <davem@davemloft.net>
23607 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23609 2012-09-28 Roland McGrath <roland@hack.frob.com>
23611 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23612 instead of SIGALRM.
23614 * sysdeps/gnu/_G_config.h: Moved to ...
23615 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23616 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23617 * sysdeps/generic/_G_config.h: ... here.
23619 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23621 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23623 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23624 Conditionalize target on [libnss_test1.so-version].
23626 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23628 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23629 (elfobjdir): Move out of conditionals.
23631 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23632 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23633 (__nss_lookup_function): Conditionalize label remove_from_tree on
23634 [!DO_STATIC_NSS || SHARED], matching its only use.
23636 2012-09-28 David S. Miller <davem@davemloft.net>
23638 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23639 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23641 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23643 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23644 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23645 when HWCAP_SPARC_CRYPTO is present.
23647 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23649 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23651 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23654 * stdio-common/vfprintf.c (process_string_arg): Revert
23657 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23659 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23661 * stdio-common/tst-sprintf.c: Include <locale.h>
23662 (main): Test sprintf's handling of incomplete multibyte
23665 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23667 * elf/dl-runtime.c (VERSYMIDX): Removed.
23668 * elf/dl-version.c (VERSYMIDX): Likewise.
23669 * elf/do-rel.h (VERSYMIDX): Likewise.
23670 (VALIDX): Likewise.
23671 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23672 * elf/rtld.c (VALIDX): Likewise.
23673 (ADDRIDX): Likewise.
23674 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23675 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23676 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23677 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23678 (VALIDX): Likewise.
23679 (ADDRIDX): Likewise.
23681 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23683 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23685 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23688 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23690 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23691 addresses are in the same scope as 192.0.2/24.
23692 * posix/gai.conf: Document new scope table defaults.
23694 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23697 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23698 for ftell. Compute offsets from write pointers instead.
23699 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23701 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23704 * libio/Makefile (tests): New test case tst-fseek.
23705 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23706 combination works in wide mode.
23707 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23708 state when the external buffer state changes.
23710 2012-09-27 David S. Miller <davem@davemloft.net>
23713 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23714 pass reloc->r_addend in as the 'high' argument to
23715 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23719 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23721 * rt/tst-aio2.c: Include <pthread.h>.
23722 * rt/tst-aio3.c: Likewise.
23724 2012-09-27 Steve Ellcey <sellcey@mips.com>
23726 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23728 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23730 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23731 contents on [SHARED].
23733 2012-09-26 Marek Polacek <polacek@redhat.com>
23737 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23738 for C++ and GCC <4.3 as well as for non GCC compilers.
23740 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23744 2012-09-25 Roland McGrath <roland@hack.frob.com>
23746 * Makefile.in (all, install): Declare with .PHONY.
23747 Reported by Michael Hope <michael.hope@linaro.org>.
23749 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23751 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23752 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23754 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23756 (sydep_routines): Add the new and the internal functions.
23757 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23758 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23760 (GLIBC_2.17): Add the new function.
23761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23762 (GLIBC_2.17): Likewise.
23763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23764 (GLIBC_2.17): Likewise.
23765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23766 (GLIBC_2.17): Likewise.
23767 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23769 2012-09-25 Alan Modra <amodra@gmail.com>
23771 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23772 Add release barrier before setting once_control to say
23773 initialisation is done. Add hints on lwarx. Use macro in
23775 (clear_once_control): Add release barrier.
23777 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23780 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23782 * math/s_clog10.c (__clog10): Likewise.
23783 * math/s_clog10f.c (__clog10f): Likewise.
23784 * math/s_clog10l.c (__clog10l): Likewise.
23785 * math/s_clogf.c (__clogf): Likewise.
23786 * math/s_clogl.c (__clogl): Likewise.
23787 * math/Makefile (libm-calls): Add x2y2m1.
23788 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23789 (__x2y2m1): Likewise.
23790 (__x2y2m1l): Likewise.
23791 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23792 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23793 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23794 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23795 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23796 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23797 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23798 * sysdeps/i386/fpu/libm-test-ulps: Update.
23799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23802 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23803 int as type of variable DEPTH.
23804 (glob): Use size_t instead of int as type of variables NEWCOUNT
23807 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23809 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23810 Add s_sincosf-sse2.
23811 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23812 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23813 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23814 macros for using routine as __sincosf_ia32.
23815 Use macro for function declaration and weak_alias.
23816 * sysdeps/i386/fpu/libm-test-ulps: Update.
23818 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23821 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23822 subnormal argument.
23823 * math/s_cexpf.c (__cexpf): Likewise.
23824 * math/s_csinf.c (__csinf): Likewise.
23825 * math/s_csinhf.c (__csinhf): Likewise.
23826 * math/s_ctanf.c (__ctanf): Likewise.
23827 * math/s_ctanhf.c (__ctanhf): Likewise.
23828 * math/s_ccosh.c (__ccoshf): Likewise.
23829 * math/s_cexp.c (__cexpl): Likewise.
23830 * math/s_csin.c (__csin): Likewise.
23831 * math/s_csinh.c (__csinh): Likewise.
23832 * math/s_ctan.c (__ctan): Likewise.
23833 * math/s_ctanh.c (ctanh): Likewise.
23834 * math/s_ccoshl.c (__ccoshl): Likewise.
23835 * math/s_cexpl.c (__cexpl): Likewise.
23836 * math/s_csinl.c (__csinl): Likewise.
23837 * math/s_csinhl.c (__csinhl): Likewise.
23838 * math/s_ctanl.c (__ctanl): Likewise.
23839 * math/s_ctanhl.c (__ctanhl): Likewise.
23841 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23843 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23844 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23845 (_IO_off_t): Define to __off_t, not _G_off_t.
23846 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23847 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23848 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23849 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23850 type of __dummy and __dummy2 fields.
23851 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23852 (_G_ssize_t): Likewise.
23853 (_G_off_t): Likewise.
23854 (_G_pid_t): Likewise.
23855 (_G_uid_t): Likewise.
23856 (_G_wchar_t): Likewise.
23857 (_G_wint_t): Likewise.
23858 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23859 (_G_ssize_t): Likewise.
23860 (_G_off_t): Likewise.
23861 (_G_pid_t): Likewise.
23862 (_G_uid_t): Likewise.
23863 (_G_wchar_t): Likewise.
23864 (_G_wint_t): Likewise.
23865 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23866 (_G_ssize_t): Likewise.
23867 (_G_off_t): Likewise.
23868 (_G_pid_t): Likewise.
23869 (_G_uid_t): Likewise.
23870 (_G_wchar_t): Likewise.
23871 (_G_wint_t): Likewise.
23873 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23875 * malloc/arena.c: Include malloc-sysdep.h.
23876 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23877 is sufficient to shrink the heap or an unmap is needed.
23878 * sysdeps/generic/malloc-sysdep.h: New file. Define
23879 new function check_may_shrink_heap.
23880 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23881 new function check_may_shrink_heap.
23883 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23885 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23888 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23890 * catgets/test-gencat.sh: Add "set -e".
23891 * elf/tst-pathopt.sh: Likewise.
23892 * grp/tst_fgetgrent.sh: Likewise.
23893 * iconvdata/run-iconv-test.sh: Likewise.
23894 * intl/tst-gettext.sh: Likewise.
23895 * intl/tst-gettext2.sh: Likewise.
23896 * intl/tst-gettext4.sh: Likewise.
23897 * intl/tst-gettext6.sh: Likewise.
23898 * intl/tst-translit.sh: Likewise.
23899 * io/ftwtest-sh: Likewise.
23900 * libio/test-freopen.sh: Likewise.
23901 * malloc/tst-mtrace.sh: Likewise.
23902 * posix/globtest.sh: Likewise.
23903 * posix/tst-getconf.sh: Likewise.
23904 * posix/wordexp-tst.sh: Likewise.
23905 * stdio-common/tst-printf.sh: Likewise.
23906 * stdio-common/tst-unbputc.sh: Likewise.
23907 * stdlib/tst-fmtmsg.sh: Likewise.
23908 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23909 * catgets/Makefile: Do not specify -e option when running
23910 testsuite shell scripts.
23911 * elf/Makefile: Likewise.
23912 * grp/Makefile: Likewise.
23913 * iconvdata/Makefile: Likewise.
23914 * intl/Makefile: Likewise.
23915 * io/Makefile: Likewise.
23916 * libio/Makefile: Likewise.
23917 * malloc/Makefile: Likewise.
23918 * posix/Makefile: Likewise.
23919 * stdio-common/Makefile: Likewise.
23920 * stdlib/Makefile: Likewise.
23921 * sysdeps/x86_64/Makefile: Likewise.
23923 * io/ftwtest-sh: Add copyright header.
23924 * posix/globtest.sh: Likewise.
23925 * posix/tst-getconf.sh: Likewise.
23926 * posix/wordexp-tst.sh: Likewise.
23927 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23929 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23932 * Makeconfig (+link): Defined as $(+link-static) if
23933 $(build-shared) isn't yes.
23934 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23936 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23938 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23941 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23942 new chunk size with MALLOC_ALIGN_MASK.
23944 2012-09-24 Joseph Myers <joseph@codesourcery.com>
23947 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23949 (__printf_fphex): Determine rounding using get_rounding_mode and
23951 * stdio-common/tst-printf-round.c (struct hex_test): New
23953 (hex_tests): New variable.
23954 (test_hex_in_one_mode): New function.
23955 (do_test): Also run tests for hex float output.
23957 2012-09-21 Joseph Myers <joseph@codesourcery.com>
23959 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23960 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23961 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23962 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23963 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23964 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23965 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23966 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23968 2012-09-20 Joseph Myers <joseph@codesourcery.com>
23970 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23971 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23972 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23973 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23975 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23978 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23980 * elf/tst-rtld-load-self.sh: New test.
23981 * elf/Makefile: Run it.
23983 2012-09-18 Joseph Myers <joseph@codesourcery.com>
23985 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23986 (tst-writev-ENV): Remove.
23987 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23989 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23991 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23993 2012-09-17 Joseph Myers <joseph@codesourcery.com>
23995 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23997 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23999 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24000 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24001 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24004 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24007 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24008 * config.make.in (have-cpp-asm-debuginfo): Removed.
24009 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24010 * configure: Regenerated.
24012 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24015 * stdio-common/printf_fp.c: Include <stdbool.h> and
24017 (___printf_fp): Determine rounding using get_rounding_mode and
24019 * stdio-common/tst-printf-round.c: New file.
24020 * stdio-common/Makefile (tests): Add tst-printf-round.
24021 (link-libm): New variable.
24022 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24024 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24027 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24028 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24030 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24033 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24035 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24036 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24037 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24038 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24040 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24043 * include/rounding-mode.h: New file.
24044 * sysdeps/generic/get-rounding-mode.h: Likewise.
24045 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24046 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24047 (MAX_VALUE): New macro.
24048 (MIN_VALUE): Likewise.
24049 (overflow_value): New function.
24050 (underflow_value): Likewise.
24051 (round_and_return): Use overflow_value and underflow_value to
24052 determine return values in overflow and underflow cases. Use
24053 round_away to determine rounding depending on rounding mode.
24054 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24055 determine return values in overflow and underflow cases.
24056 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24057 (struct test_results): New structure.
24058 (struct test): Use struct test_results to store expected results
24059 for all rounding modes.
24060 (TEST): Include expected results for all rounding modes.
24061 (test_in_one_mode): New function.
24062 (do_test): Use test_in_one_mode to compute and check results.
24063 Check results for all rounding modes.
24064 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24067 2012-12-09 Allan McRae <allan@archlinux.org>
24069 * sysdeps/i386/fpu/libm-test-ulps: Update
24071 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24073 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24074 (_G_int32_t): Likewise.
24075 (_G_uint16_t): Likewise.
24076 (_G_uint32_t): Likewise.
24077 (_G_HAVE_BOOL): Likewise.
24078 (_G_HAVE_ATEXIT): Likewise.
24079 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24080 (_G_HAVE_IO_FILE_OPEN): Likewise.
24081 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24082 (_G_int32_t): Likewise.
24083 (_G_uint16_t): Likewise.
24084 (_G_uint32_t): Likewise.
24085 (_G_HAVE_BOOL): Likewise.
24086 (_G_HAVE_ATEXIT): Likewise.
24087 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24088 (_G_HAVE_IO_FILE_OPEN): Likewise.
24089 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24090 (_G_int32_t): Likewise.
24091 (_G_uint16_t): Likewise.
24092 (_G_uint32_t): Likewise.
24093 (_G_HAVE_BOOL): Likewise.
24094 (_G_HAVE_ATEXIT): Likewise.
24095 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24096 (_G_HAVE_IO_FILE_OPEN): Likewise.
24098 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24100 * csu/libc-tls.c: Update copyright years.
24102 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24104 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24105 [!_G_USING_THUNKS]: Remove conditional code.
24106 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24107 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24109 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24110 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24111 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24112 (_G_VTABLE_LABEL_PREFIX): Likewise.
24113 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24114 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24115 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24116 (_G_VTABLE_LABEL_PREFIX): Likewise.
24117 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24118 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24119 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24120 (_G_VTABLE_LABEL_PREFIX): Likewise.
24121 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24123 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24125 * libio/Makefile: Include ../Makeconfig before tests.
24126 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24127 only if $(build-shared) is yes.
24129 * iconv/gconv_db.c: Update copyright years.
24131 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24133 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24134 unwind info if defined PIC. Fix special cases description.
24135 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24137 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24139 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24141 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24143 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24145 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24148 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24149 (LDLIBS-tst-chk4): This.
24150 (LDFLAGS-tst-chk5): Renamed to ...
24151 (LDLIBS-tst-chk5): This.
24152 (LDFLAGS-tst-chk6): Renamed to ...
24153 (LDLIBS-tst-chk6): This.
24154 (LDFLAGS-tst-lfschk4): Renamed to ...
24155 (LDLIBS-tst-lfschk4): This.
24156 (LDFLAGS-tst-lfschk5): Renamed to ...
24157 (LDLIBS-tst-lfschk5): This.
24158 (LDFLAGS-tst-lfschk6): Renamed to ...
24159 (LDLIBS-tst-lfschk6): This.
24161 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24162 on $(common-objpfx)soversions.mk.
24164 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24167 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24170 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24172 * malloc/arena.c (arena_get_retry): New function that gets
24173 another arena for the caller to try its request on.
24174 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24175 current arena cannot fulfill the request.
24176 (__libc_memalign): Likewise.
24177 (__libc_memalign): Likewise.
24178 (__libc_pvalloc): Likewise.
24179 (__libc_calloc): Likewise.
24181 2012-09-05 John Tobey <john.tobey@gmail.com>
24184 * manual/arith.texi (Operations on Complex): Fix description
24185 of carg branch cut.
24187 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24190 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24194 * manual/memory.texi (Memory): Make order of menu items match
24197 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24199 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24200 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24201 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24203 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24205 * csu/libc-tls.c (static_dtv): Renamed to ...
24206 (_dl_static_dtv): This. Make it global.
24207 (_dl_initial_dtv): Removed.
24208 (__libc_setup_tls): Updated.
24209 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24210 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24213 2012-09-06 Petr Machata <pmachata@redhat.com>
24215 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24216 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24217 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24218 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24220 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24223 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24224 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24227 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24230 * Makeconfig (link-static-before-libc): Replace $(+prector)
24232 (link-static-after-libc): Replace $(+postctor) with
24234 (link-bounded): Replace $(+prector)/$(+postctor) with
24235 $(+prectorT)/$(+postctorT).
24236 (+prectorT): New macro.
24237 (+postctorT): Likewise.
24239 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24241 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24242 (round_str): Handle values above the maximum for IBM long double
24244 * stdlib/tst-strtod-round.c (tests): Regenerated.
24246 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24248 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24250 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24251 zarch_nohighgprs around the zarch optimized routines.
24252 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24253 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24254 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24257 2012-09-05 David S. Miller <davem@davemloft.net>
24259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24261 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24262 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24263 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24264 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24267 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24269 * malloc/arena.c: Fold copyright years.
24270 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24272 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24274 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24276 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24278 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24280 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24282 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24283 change internal state upon failure.
24285 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24287 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24288 * malloc/memusage.c (mmap): Likewise.
24289 (mmap64, mremap): Likewise. Adjust name in comment.
24291 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24293 * libio/fileops.c: Fix typos in comments.
24294 * libio/oldfileops.c: Likewise.
24295 * libio/wfileops.c: Likewise.
24297 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24300 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24301 (tst-malloc-usable-ENV): Set environment for test case.
24302 * malloc/hooks.c (malloc_check_get_size): New function to get
24304 * malloc/malloc.c (musable): Use malloc_check_get_size.
24305 * malloc/tst-malloc-usable.c: New test case.
24307 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24309 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24311 2012-09-05 Allan McRae <allan@archlinux.org>
24314 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24315 determine header location.
24316 * configure: Regenerated.
24318 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24320 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24322 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24323 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24325 (test): Regenerate.
24327 2012-09-04 David S. Miller <davem@davemloft.net>
24329 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24330 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24331 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24333 2012-09-04 Florian Weimer <fweimer@redhat.com>
24335 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24338 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24340 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24343 * libio/iogetdelim.c: Include <limits.h>.
24344 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24345 + len + 1 would overflow.
24347 2012-09-03 Andreas Jaeger <aj@suse.de>
24349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24350 * sysdeps/i386/fpu/libm-test-ulps: Update.
24352 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24354 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24355 Add s_sinf-sse2, s_conf-sse2.
24357 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24358 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24359 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24360 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24362 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24363 for using routine as __sinf_ia32.
24364 Use macro for function declaration and weak_alias.
24365 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24366 for using routine as __cosf_ia32.
24367 Use macro for function declaration and weak_alias.
24369 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24370 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24372 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24373 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24374 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24376 * math/libm-test.inc (cos_test): Add more test cases.
24377 (sin_test): Likewise.
24378 (sincos_test): Likewise.
24380 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24382 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24383 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24385 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24387 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24390 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24391 first element of the GOT.
24392 (elf_machine_load_address): Return the difference between
24393 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24395 2012-09-01 Allan McRae <allan@archlinux.org>
24398 * configure.in (AWK): Require gawk version 3.0 or later.
24399 * configure: Regenerated.
24401 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24403 * sysdeps/unix/sysv/linux/kernel-features.h
24404 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24405 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24406 [__NR_clock_getres]: Make code unconditional.
24407 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24408 (clock_getcpuclockid): Remove code left unreachable by removal of
24410 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24411 code unconditional.
24412 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24413 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24414 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24415 Make code unconditional.
24416 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24417 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24418 * sysdeps/unix/sysv/linux/clock_settime.c
24419 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24421 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24422 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24424 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24427 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24428 scripts/test-installation.pl.
24430 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24431 and $ld_so_version if it is set.
24433 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24436 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24437 failure if reading from procfs failed.
24438 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24440 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24442 * sysdeps/unix/sysv/linux/kernel-features.h
24443 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24444 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24445 Remove conditional code.
24446 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24447 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24448 Remove conditional code.
24449 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24450 * sysdeps/unix/sysv/linux/i386/fxstat.c
24451 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24452 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24453 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24454 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24455 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24456 * sysdeps/unix/sysv/linux/i386/lxstat.c
24457 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24458 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24459 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24460 Remove conditional code.
24461 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24462 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24463 Remove conditional code.
24464 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24465 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24466 <kernel-features.h>.
24467 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24469 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24470 Remove conditional code.
24471 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24472 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24473 Remove conditional.
24475 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24478 * NEWS: Add fixed bug number.
24480 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24483 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24484 underflowing exponent in case of negative sign.
24485 * stdlib/tst-strtod-round-data: Add more tests.
24486 * stdlib/tst-strtod-round.c (tests): Regenerated.
24489 * stdlib/strtod_l.c (NDIG): Remove.
24490 (HEXNDIG): Likewise.
24491 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24492 smallest representable value.
24493 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24494 lie within an exact representation of 1/2 ulp of the result.
24495 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24497 (TENS_P9_IDX): Define unconditionally.
24498 (TENS_P9_SIZE): Likewise.
24499 (TENS_P10_IDX): Likewise.
24500 (TENS_P10_SIZE): Likewise.
24501 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24502 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24503 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24504 entries for 10^2^13 and 10^2^14.
24505 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24506 (TENS_P13_IDX): Define.
24507 (TENS_P13_SIZE): Likewise.
24508 (TENS_P14_IDX): Likewise.
24509 (TENS_P14_SIZE): Likewise.
24510 (_fpioconst_pow10): Change array size to
24511 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24513 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24514 1024]: Add entries for 10^2^13 and 10^2^14.
24515 [LAST_POW10 > _LAST_POW10]: Remove #error.
24516 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24517 (_fpioconst_pow10): Change array size to
24518 FPIOCONST_POW10_ARRAY_SIZE.
24519 * stdlib/gen-fpioconst.c: New file.
24520 * stdlib/gen-tst-strtod-round.c: Likewise.
24521 * stdlib/tst-strtod-round-data: Likewise.
24522 * stdlib/tst-strtod-round.c: Likewise.
24523 * stdlib/Makefile (tests): Add tst-strtod-round.
24526 * stdlib/strtod_l.c: Include <stdint.h>.
24527 (NDEBUG): Do not define.
24528 (round_and_return): Change EXPONENT parameter to type intmax_t.
24529 Rearrange calculations to avoid internal overflow possibilities.
24530 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24531 Rearrange calculations to avoid internal overflow possibilities.
24532 Assert that number fits inside MPNSIZE limbs.
24533 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24534 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24535 calculations and add assertions to avoid internal overflow
24536 possibilities. Add casts to avoid signed/unsigned operations.
24537 * stdlib/tst-strtod-overflow.c: New file.
24538 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24540 2012-08-25 Marek Polacek <polacek@redhat.com>
24542 * time/time.h: Fix some typos in comments.
24544 2012-08-23 Roland McGrath <roland@hack.frob.com>
24546 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24547 * posix/tst-rfc3484-2.c: Likewise.
24548 * posix/tst-rfc3484-3.c: Likewise.
24550 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24552 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24553 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24555 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24557 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24558 #include of fxstatat64.c.
24560 2012-08-22 Roland McGrath <roland@hack.frob.com>
24562 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24563 * shadow/getspent_r.c: Likewise.
24564 * shadow/getspnam.c: Likewise.
24565 * shadow/getspnam_r.c: Likewise.
24566 * gshadow/getsgent.c: Likewise.
24567 * gshadow/getsgent_r.c: Likewise.
24568 * gshadow/getsgnam.c: Likewise.
24569 * gshadow/getsgnam_r.c: Likewise.
24570 * inet/getnetbyad.c: Likewise.
24571 * inet/getnetbyad_r.c: Likewise.
24572 * inet/getnetbynm.c: Likewise.
24573 * inet/getnetbynm_r.c: Likewise.
24574 * inet/getnetent.c: Likewise.
24575 * inet/getnetent_r.c: Likewise.
24576 * inet/getproto.c: Likewise.
24577 * inet/getproto_r.c: Likewise.
24578 * inet/getprtent.c: Likewise.
24579 * inet/getprtent_r.c: Likewise.
24580 * inet/getprtname.c: Likewise.
24581 * inet/getprtname_r.c: Likewise.
24582 * inet/getrpcbyname.c: Likewise.
24583 * inet/getrpcbyname_r.c: Likewise.
24584 * inet/getrpcbynumber.c: Likewise.
24585 * inet/getrpcbynumber_r.c: Likewise.
24586 * inet/getrpcent.c: Likewise.
24587 * inet/getrpcent_r.c: Likewise.
24588 * inet/getaliasent.c: Likewise.
24589 * inet/getaliasent_r.c: Likewise.
24590 * inet/getaliasname.c: Likewise.
24591 * inet/getaliasname_r.c: Likewise.
24592 * nscd/getgrgid_r.c: Likewise.
24593 * nscd/getgrnam_r.c: Likewise.
24594 * nscd/gethstbyad_r.c: Likewise.
24595 * nscd/gethstbynm3_r.c: Likewise.
24596 * nscd/getpwnam_r.c: Likewise.
24597 * nscd/getpwuid_r.c: Likewise.
24598 * nscd/getsrvbynm_r.c: Likewise.
24599 * nscd/getsrvbypt_r.c: Likewise.
24600 * nscd/gai.c: Likewise.
24602 * configure.in (build_nscd): New substituted variable, set
24603 by --disable-build-nscd and defaults to $use_nscd.
24604 * configure: Regenerated.
24605 * config.make.in (build-nscd): New substituted variable.
24606 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24607 Change conditional to require [$(build-nscd) = yes] as well.
24608 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24611 * configure.in (use_nscd): New substituted variable, set by
24612 --disable-nscd. If enabled, define USE_NSCD.
24613 * configure: Regenerated.
24614 * config.h.in: Add USE_NSCD.
24615 * config.make.in (use-nscd): New substituted variable.
24616 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24617 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24618 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24619 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24620 (CFLAGS-getgrnam_r.c): Likewise.
24621 (CFLAGS-initgroups.c): Likewise.
24622 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24623 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24625 * inet/getnetgrent_r.c
24626 (nscd_setnetgrent): New function, broken out of ...
24627 (setnetgrent): ... here. Call it.
24628 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24629 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24630 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24631 * nscd/Makefile (routines, aux): Move definitions after include of
24632 Makeconfig. Conditionalize on [$(use-nscd) != no].
24633 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24634 Conditionalize on [USE_NSCD].
24635 (is_nscd, nscd_init_cb): Likewise.
24636 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24637 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24638 * nss/nss_db/db-init.c: Likewise.
24639 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24641 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24642 (make_request): Use it.
24643 (cache_valid_p): New function.
24644 (__check_pf): Use it.
24645 * NEWS: Add item for --disable-nscd.
24647 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24649 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24650 to support sed >= 4.2.1-20-ga9bf076.
24651 * configure: Regenerated.
24653 2012-08-22 Roland McGrath <roland@hack.frob.com>
24655 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24656 Conditionalize whole body on [IREL].
24658 2012-08-22 Jeff Law <law@redhat.com>
24661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24662 if the family is PF_UNSPEC.
24664 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24666 * Makerules (lib-version): Rename from V.
24667 (install-lib-nosubdir): Change V to lib-version.
24669 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24672 * powerpc32/power6/wcschr.c: New file.
24673 * powerpc32/power6/wcscpy.c: New file.
24674 * powerpc32/power6/wcsrchr.c: New file.
24675 * powerpc64/power6/wcschr.c: New file.
24676 * powerpc64/power6/wcscpy.c: New file.
24677 * powerpc64/power6/wcsrchr.c: New file.
24679 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24681 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24682 (two_way_short_needle): Use it.
24683 * string/strstr.c (AVAILABLE1_USES_J): Define.
24684 * string/strcasestr.c: Likewise.
24686 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24688 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24691 * NEWS: Add an entry.
24692 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24693 define their defaults.
24694 (two_way_short_needle): Detect end-of-string on-the-fly.
24695 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24696 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24697 * string/bug-strcasestr1.c: New test.
24698 * string/Makefile: Run it.
24700 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24703 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24704 the first character.
24706 2012-08-21 Roland McGrath <roland@hack.frob.com>
24708 * csu/elf-init.c (__libc_csu_irel): Function removed.
24709 * csu/libc-start.c (apply_irel): New function.
24710 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24712 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24714 * sysdeps/unix/sysv/linux/kernel-features.h
24715 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24716 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24717 <kernel-features.h>.
24718 [__NR_fadvise64_64]: Make code unconditional.
24719 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24720 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24721 !__NR_fadvise64_64)]: Likewise.
24722 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24723 !__NR_fadvise64_64))]: Likewise.
24724 [__NR_fadvise64]: Make code unconditional.
24725 [!__NR_fadvise64]: Remove conditional code.
24726 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24727 <kernel-features.h>.
24728 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24730 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24733 not include <kernel-features.h>.
24734 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24736 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24738 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24739 include <kernel-features.h>.
24740 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24742 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24745 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24747 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24748 slight instruction rearrangements per scrollpipe analysis.
24749 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24751 2012-08-20 Roland McGrath <roland@hack.frob.com>
24753 * manual/syslog.texi (syslog; vsyslog, closelog):
24754 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24755 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24757 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24758 DSOCAPS to match condition on defining it.
24760 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24762 * sysdeps/unix/sysv/linux/kernel-features.h
24763 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24765 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24766 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24768 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24769 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24771 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24772 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24774 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24775 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24777 * sysdeps/unix/sysv/linux/kernel-features.h
24778 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24779 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24781 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24782 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24783 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24784 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24785 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24786 Make code unconditional.
24787 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24788 (__mmap64) [!__NR_mmap2]: Likewise.
24789 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24790 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24791 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24792 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24793 [__NR_mmap2]: Make code unconditional.
24794 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24795 (__mmap64) [!__NR_mmap2]: Likewise.
24797 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24799 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24801 2012-08-18 Andreas Jaeger <aj@suse.de>
24803 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24805 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24807 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24808 * include/unistd.h (__have_sock_cloexec): Likewise.
24809 (__have_pipe2): Likewise.
24810 (__have_dup3): Likewise.
24812 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24815 * include/unistd.h (__have_pipe2): Change define into an extern int.
24816 (__have_dup3): Likewise.
24817 * socket/have_sock_cloexec.c: Include fcntl.h.
24818 (__have_pipe2): New variable.
24819 (__have_dup3): Likewise.
24821 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24823 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24825 2012-08-17 Marek Polacek <polacek@redhat.com>
24827 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24828 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24830 2012-08-17 Roland McGrath <roland@hack.frob.com>
24832 * configure.in: Add AC_SUBST for sysheaders.
24833 * configure: Regenerated.
24834 * config.make.in (sysheaders): New substituted variable.
24836 * sysdeps/unix/mkfifo.c: Moved ...
24837 * sysdeps/posix/mkfifo.c: ... here.
24838 * sysdeps/unix/mkfifoat.c: Moved ...
24839 * sysdeps/posix/mkfifoat.c: ... here.
24841 * sysdeps/unix/utime.c: Moved ...
24842 * sysdeps/posix/utime.c: ... here.
24844 * sysdeps/unix/time.c: Moved ...
24845 * sysdeps/posix/time.c: ... here.
24846 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24847 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24849 * sysdeps/unix/nice.c: Moved ...
24850 * sysdeps/posix/nice.c: ... here.
24852 * sysdeps/unix/alarm.c: Moved ...
24853 * sysdeps/posix/alarm.c: ... here.
24855 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24857 2012-08-17 Jeff Law <law@redhat.com>
24859 * intl/Makefile (codeset_mo): New variable.
24860 ($(codeset_mo)): New target.
24861 (tst-codeset.out): Depend on that. Remove explicit rule.
24862 (tst-gettext3.out, tst-gettext5.out): Likewise.
24863 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24864 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24865 * intl/tst-codeset.sh: Remove.
24866 * intl/tst-gettext3.sh: Likewise.
24867 * intl/tst-gettext5.sh: Likewise.
24869 2012-08-17 Roland McGrath <roland@hack.frob.com>
24871 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24872 * sysdeps/unix/syscalls.list: ... here.
24874 * sysdeps/posix/getaddrinfo.c
24875 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24876 (gaiconf_init, gaiconf_reload): Use them.
24877 [!_STATBUF_ST_NSEC]
24878 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24879 Define using time_t rather than struct timespec.
24881 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24882 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24884 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24886 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24887 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24890 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24891 __libc_cleanup_push argument.
24893 * bits/param.h: New file.
24894 * misc/sys/param.h: New file.
24895 * include/sys/param.h: New file.
24896 * misc/Makefile (headers): Add bits/param.h.
24897 * sysdeps/generic/sys/param.h: File removed.
24898 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24899 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24900 * sysdeps/mach/hurd/bits/param.h: New file.
24901 * sysdeps/mach/hurd/sys/param.h: File removed.
24903 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24906 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24908 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24909 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24912 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24913 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24914 rather than -D_IO_MTSAFE_IO conditionally.
24915 * stdio-common/Makefile (CPPFLAGS): Likewise.
24916 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24917 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24918 Use $(libio-mtsafe).
24919 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24920 of -D_IO_MTSAFE_IO.
24921 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24922 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24923 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24924 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24925 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24926 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24927 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24928 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24929 (CFLAGS-fread_u_chk.c): Likewise.
24930 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24931 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24932 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24933 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24934 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24935 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24936 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24937 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24938 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24940 * libio/Makefile: Test [$(libc-reentrant) = yes]
24941 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24944 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24945 * sysdeps/pthread/configure: File removed.
24946 * sysdeps/pthread/Makeconfig: New file.
24947 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24948 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24950 2012-08-16 Gary Benson <gbenson@redhat.com>
24952 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24953 unmapping the first object in a namespace.
24955 2012-08-16 Roland McGrath <roland@hack.frob.com>
24957 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24958 (__internal_setnetgrent): ... this. Add internal_function to
24959 definition. Add libc_hidden_def.
24960 (setnetgrent): Update caller.
24961 (internal_endnetgrent): Renamed to ...
24962 (__internal_endnetgrent): ... this. Add internal_function to
24963 definition. Add libc_hidden_def.
24964 (endnetgrent): Update caller.
24965 (internal_getnetgrent_r): Renamed to ...
24966 (__internal_getnetgrent_r): ... this. Add internal_function to
24967 definition. Add libc_hidden_def.
24968 (__getnetgrent_r): Update caller.
24969 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24971 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24973 * stdlib/longlong.h: Update from GCC.
24975 2012-08-16 Roland McGrath <roland@hack.frob.com>
24977 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24978 on _QL, which is set by umul_ppmm but never used.
24979 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24980 variables, which are set by GMP macros but never used.
24981 * stdio-common/_itowa.c (_itowa): Likewise.
24982 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24983 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24985 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24987 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24988 struct La_sh_regs is not constant.
24989 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24990 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24991 and struct La_sparc64_regs are not constant.
24993 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24995 * sysdeps/unix/sysv/linux/kernel-features.h
24996 (__ASSUME_POSIX_TIMERS): Remove.
24997 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24998 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24999 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25000 Make code unconditional.
25001 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25002 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25003 Make code unconditional.
25004 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25005 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25006 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25007 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25008 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25009 Make code unconditional.
25010 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25011 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25012 (__libc_missing_posix_timers): Remove.
25014 2012-08-15 Roland McGrath <roland@hack.frob.com>
25016 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25017 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25019 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25021 * elf/dl-sym.c: Include <stdlib.h>.
25023 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25024 constants, which avoids warnings in 32-bit builds.
25026 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25027 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25029 * misc/lseek.c: File moved to ...
25030 * io/lseek.c: ... here.
25032 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25034 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25035 shifting LEN more than 31 bits at once.
25037 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25040 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25041 segmentation fault for a case of two empty input strings.
25042 * string/test-strncasecmp.c (check1): Renamed to...
25043 (bz12205): ...this.
25044 (bz14195): Add new testcase for two empty input strings and N > 0.
25045 (test_main): Call new testcase, adapt for renamed function.
25047 2012-08-15 Andreas Jaeger <aj@suse.de>
25050 * crypt/md5test2.c: New test, based on test supplied by Serge
25051 Belyshev <belyshev@depni.sinp.msu.ru>.
25052 * crypt/Makefile (xtests): Add md5test-giant..
25053 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25055 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25058 * crypt/md5.c (md5_process_block): Don't assume the buffer
25059 length is less than 2**32.
25060 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25061 length is less than 2**64.
25063 2012-08-15 Roland McGrath <roland@hack.frob.com>
25065 * string/str-two-way.h: Include <sys/param.h>.
25066 (MAX): Macro removed.
25068 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25069 Move #define and #undef of memmove to just before and after
25070 including <string.h>.
25072 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25073 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25074 and after including <string.h>. Move declarations of
25075 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25076 to before #include "string/memmove.c".
25078 * include/dirent.h: Declare __getdirentries.
25080 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25081 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25083 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25085 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25086 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25087 * sysdeps/i386/configure: Regenerated.
25088 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25089 STABS_CURRENT_FILE, and STABS_FUN.
25090 (END): Remove call to STABS_FUN_END.
25091 (STABS_CURRENT_FILE1): Delete.
25092 (STABS_CURRENT_FILE): Likewise.
25093 (STABS_FUN): Likewise.
25094 (STABS_FUN_END): Likewise.
25095 (STABS_FUN2): Likewise.
25096 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25097 * sysdeps/x86_64/configure: Regenerated.
25099 2012-08-14 Roland McGrath <roland@hack.frob.com>
25101 * elf/dl-open.c: Include <atomic.h>.
25102 * elf/dl-lookup.c: Likewise.
25104 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25106 * sysdeps/unix/sysv/linux/kernel-features.h
25107 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25108 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25110 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25112 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25113 condition on __ASSUME_CLONE_THREAD_FLAGS.
25115 2012-08-14 Andreas Jaeger <aj@suse.de>
25117 * sysdeps/i386/fpu/libm-test-ulps: Update.
25119 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25121 * include/atomic.h (atomic_exchange_and_add): Split into ...
25122 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25125 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25129 2012-08-13 Jeff Law <law@redhat.com>
25131 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25132 null byte in the output string.
25134 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25136 * sysdeps/unix/sysv/linux/kernel-features.h
25137 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25138 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25139 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25140 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25141 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25142 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25143 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25145 2012-08-09 Jeff Law <law@redhat.com>
25148 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25149 When avoid_arena is set, don't retry in the that arena. Pick the
25150 next one, whatever it might be.
25151 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25152 (arena_lock): Pass in new parameter to arena_get2.
25153 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25155 (__libc_malloc): Unify retrying after main arena failure with
25156 __libc_memalign version.
25157 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25159 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25162 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25163 to __redirect_strstr.
25164 (__strstr_sse42): Use typeof __redirect_strstr.
25165 (__strstr_ia32): Likewise.
25166 (__libc_strstr): New prototype.
25167 (strstr): Renamed to ...
25168 (__libc_strstr): This.
25169 (strstr): New strong alias of __libc_strstr.
25170 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25171 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25174 (__libc_time): New prototype.
25175 (time_ifunc): Replace time with __libc_time.
25176 (time): New strong alias and hidden definition of __libc_time.
25177 (__GI_time): Remove strong alias.
25178 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25179 Include <stddef.h>.
25180 (memmove): Redefined to __redirect_memmove.
25181 (__memmove_sse2): Use typeof __redirect_memmove.
25182 (__memmove_ssse3): Likewise.
25183 (__memmove_ssse3_back): Likewise.
25184 (__libc_memmove): New prototype.
25185 (memmove): Renamed to ...
25186 (__libc_memmove): This.
25187 (memmove): New strong alias of __libc_memmove.
25189 2012-08-08 Mark Salter <msalter@redhat.com>
25192 (R_MN10300_TLS_GD): Define.
25193 (R_MN10300_TLS_LD): Likewise.
25194 (R_MN10300_TLS_LDO): Likewise.
25195 (R_MN10300_TLS_GOTIE): Likewise.
25196 (R_MN10300_TLS_IE): Likewise.
25197 (R_MN10300_TLS_LE): Likewise.
25198 (R_MN10300_TLS_DTPMOD): Likewise.
25199 (R_MN10300_TLS_DTPOFF): Likewise.
25200 (R_MN10300_TLS_TPOFF): Likewise.
25201 (R_MN10300_SYM_DIFF): Likewise.
25202 (R_MN10300_ALIGN): Likewise.
25203 (R_MN10300_NUM): Update.
25205 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25207 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25210 2012-08-08 Roland McGrath <roland@hack.frob.com>
25212 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25214 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25215 sysdeps/unix -> sysdeps/posix move.
25216 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25218 2012-08-07 Allan McRae <allan@archlinux.org>
25221 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25222 (SUNOS_CPP): Likewise.
25223 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25225 (open_input): Call CPP using execvp.
25227 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25229 * sysdeps/unix/sysv/linux/kernel-features.h
25230 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25231 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25232 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25233 (__ASSUME_WAITID_SYSCALL): Likewise.
25234 * sysdeps/unix/sysv/linux/dl-execstack.c
25235 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25236 code unconditional.
25237 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25239 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25240 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25241 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25243 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25245 [__ASSUME_WAITID_SYSCALL]: Likewise.
25246 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25248 2012-08-07 Roland McGrath <roland@hack.frob.com>
25250 * sysdeps/unix/closedir.c: Renamed to ...
25251 * sysdeps/posix/closedir.c: ... here.
25252 * sysdeps/unix/dirfd.c: Renamed to ...
25253 * sysdeps/posix/dirfd.c: ... here.
25254 * sysdeps/unix/dirstream.h: Renamed to ...
25255 * sysdeps/posix/dirstream.h: ... here.
25256 * sysdeps/unix/fdopendir.c: Renamed to ...
25257 * sysdeps/posix/fdopendir.c: ... here.
25258 * sysdeps/unix/opendir.c: Renamed to ...
25259 * sysdeps/posix/opendir.c: ... here.
25260 * sysdeps/unix/readdir.c: Renamed to ...
25261 * sysdeps/posix/readdir.c: ... here.
25262 * sysdeps/unix/readdir_r.c: Renamed to ...
25263 * sysdeps/posix/readdir_r.c: ... here.
25264 * sysdeps/unix/rewinddir.c: Renamed to ...
25265 * sysdeps/posix/rewinddir.c: ... here.
25266 * sysdeps/unix/seekdir.c: Renamed to ...
25267 * sysdeps/posix/seekdir.c: ... here.
25268 * sysdeps/unix/telldir.c: Renamed to ...
25269 * sysdeps/posix/telldir.c: ... here.
25270 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25271 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25272 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25273 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25275 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25276 * bits/fcntl.h: ... here.
25278 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25280 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25281 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25282 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25283 (struct flock): Move l_start, l_len to the beginning.
25284 Use __pid_t for l_pid.
25285 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25286 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25287 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25288 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25289 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25290 [__USE_LARGEFILE64] (struct flock64): New type.
25291 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25293 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25294 * bits/dirent.h: ... here.
25296 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25297 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25299 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25301 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25302 Change from 2.6.0 to 2.6.16.
25303 * sysdeps/unix/sysv/linux/configure: Regenerated.
25304 * sysdeps/unix/sysv/linux/kernel-features.h
25305 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25306 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25308 (__ASSUME_UTIMES): Likewise.
25309 (__ASSUME_CLONE_STOPPED): Remove.
25310 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25311 architectures, not kernel version.
25312 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25313 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25314 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25315 (__ASSUME_WAITID_SYSCALL): Likewise.
25316 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25317 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25318 * README: State 2.6.16 as minimum Linux kernel version. Do not
25319 refer to older versions.
25321 2012-08-06 Roland McGrath <roland@hack.frob.com>
25323 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25324 Define alphasort64 as an alias.
25325 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25326 Define versionsort64 as an alias.
25327 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25328 Define scandir64 as an alias.
25329 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25330 Define scandirat64 as an alias.
25331 * dirent/alphasort64.c (alphasort64):
25332 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25333 * dirent/versionsort64.c: Likewise.
25334 * dirent/scandir64.c: Likewise.
25335 * dirent/scandirat64.c: Likewise.
25336 * sysdeps/wordsize-64/alphasort.c: File removed.
25337 * sysdeps/wordsize-64/alphasort64.c: File removed.
25338 * sysdeps/wordsize-64/scandir.c: File removed.
25339 * sysdeps/wordsize-64/scandir64.c: File removed.
25340 * sysdeps/wordsize-64/scandirat.c: File removed.
25341 * sysdeps/wordsize-64/scandirat64.c: File removed.
25342 * sysdeps/wordsize-64/versionsort.c: File removed.
25343 * sysdeps/wordsize-64/versionsort64.c: File removed.
25344 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25345 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25346 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25347 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25348 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25349 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25350 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25351 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25353 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25354 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25355 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25356 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25357 [defined __arch64__ || defined __sparcv9]
25358 (__INO_T_MATCHES_INO64_T): New macro.
25359 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25360 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25361 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25362 * sysdeps/unix/sysv/linux/bits/dirent.h
25363 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25364 (_DIRENT_MATCHES_DIRENT64): New macro.
25366 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25367 Define lockf64 as an alias.
25368 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25369 Define fseeko64 as an alias.
25370 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25371 Define ftello64 as an alias.
25372 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25373 Define _IO_fgetpos64 and fgetpos64 as aliases.
25374 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25375 Define _IO_fsetpos64 and fsetpos64 as aliases.
25376 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25377 Conditionalize body on this.
25378 * libio/fseeko64.c: Likewise.
25379 * libio/ftello64.c: Likewise.
25380 * libio/iofgetpos64.c: Likewise.
25381 * libio/iofsetpos64.c: Likewise.
25382 * sysdeps/wordsize-64/lockf.c: File removed.
25383 * sysdeps/wordsize-64/lockf64.c: File removed.
25384 * sysdeps/wordsize-64/fseeko.c: File removed.
25385 * sysdeps/wordsize-64/fseeko64.c: File removed.
25386 * sysdeps/wordsize-64/ftello.c: File removed.
25387 * sysdeps/wordsize-64/ftello64.c: File removed.
25388 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25389 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25390 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25391 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25392 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25393 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25394 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25395 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25396 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25397 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25398 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25399 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25400 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25401 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25403 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25404 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25405 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25406 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25407 [defined __arch64__ || defined __sparcv9]
25408 (__OFF_T_MATCHES_OFF64_T): New macro.
25409 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25410 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25411 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25412 (__OFF_T_MATCHES_OFF64_T): New macro.
25414 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25416 * stdlib/secure-getenv.c (__secure_getenv): Replace
25417 GLIBC_2_16 with GLIBC_2_17.
25419 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25421 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25422 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25424 2012-08-03 David S. Miller <davem@davemloft.net>
25426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25428 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25430 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25432 (__ASSUME_CORRECT_SI_PID): Likewise.
25433 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25434 (__ASSUME_TMPFS_NAME): Likewise.
25435 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25436 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25437 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25438 (HAVE_AUX_SECURE): Make definition unconditional.
25439 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25440 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25442 2012-08-03 Roland McGrath <roland@hack.frob.com>
25444 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25445 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25446 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25447 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25448 __eloop_threshold instead of SYMLOOP_MAX.
25450 * sysdeps/generic/eloop-threshold.h: New file.
25451 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25453 * elf/chroot_canon.c (chroot_canon): Likewise.
25455 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25458 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25459 Change to 2.6.0 everywhere.
25460 * sysdeps/unix/sysv/linux/configure: Regenerated.
25461 * sysdeps/unix/sysv/linux/kernel-features.h
25462 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25463 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25465 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25466 (__ASSUME_FUTEX_REQUEUE): Remove.
25467 (__ASSUME_STATFS64): Define unconditionally.
25468 (__ASSUME_AT_SECURE): Likewise.
25469 (__ASSUME_CORRECT_SI_PID): Likewise.
25470 (__ASSUME_TGKILL): Define without depending on kernel version for
25472 (__ASSUME_UTIMES): Likewise.
25473 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25475 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25476 (__ASSUME_TMPFS_NAME): Likewise.
25477 * README: Update reference to Linux kernel versions.
25479 2012-08-02 Marek Polacek <polacek@redhat.com>
25482 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25483 libc_cv_asm_type_prefix with %.
25484 * configure: Regenerated.
25485 * include/libc-symbols.h: Remove comment about
25486 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25487 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25488 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25489 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25490 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25491 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25492 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25493 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25494 * elf/tst-unique2mod1.c: Likewise.
25495 * elf/tst-unique1mod2.c: Likewise.
25496 * elf/tst-unique1mod1.c: Likewise.
25497 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25498 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25499 Replace ASM_TYPE_DIRECTIVE with .type.
25500 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25501 * sysdeps/i386/sysdep.h: Likewise.
25502 * sysdeps/x86_64/sysdep.h: Likewise.
25503 * sysdeps/sh/sysdep.h: Likewise.
25504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25505 Do not define ASM_TYPE_DIRECTIVE.
25506 * sysdeps/powerpc/sysdep.h: Likewise.
25507 * sysdeps/powerpc/powerpc32/sysdep.h:
25508 Replace ASM_TYPE_DIRECTIVE with .type.
25509 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25510 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25511 * sysdeps/i386/fpu/e_powf.S: Likewise.
25512 * sysdeps/i386/fpu/e_expl.S: Likewise.
25513 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25514 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25515 * sysdeps/i386/fpu/e_pow.S: Likewise.
25516 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25517 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25518 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25519 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25520 * sysdeps/i386/fpu/e_log2.S: Likewise.
25521 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25522 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25523 * sysdeps/i386/fpu/e_powl.S: Likewise.
25524 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25525 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25526 * sysdeps/i386/fpu/e_logl.S: Likewise.
25527 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25528 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25529 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25530 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25531 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25532 * sysdeps/i386/fpu/e_log.S: Likewise.
25533 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25534 * sysdeps/i386/fpu/e_logf.S: Likewise.
25535 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25536 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25537 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25538 * sysdeps/i386/fpu/e_log10.S: Likewise.
25539 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25540 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25541 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25542 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25543 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25544 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25545 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25546 * sysdeps/i386/i686/strtok.S: Likewise.
25547 * sysdeps/i386/i386-mcount.S: Likewise.
25548 * sysdeps/i386/strtok.S: Likewise.
25549 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25550 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25551 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25552 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25553 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25554 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25555 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25556 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25557 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25558 * sysdeps/x86_64/_mcount.S: Likewise.
25559 * sysdeps/x86_64/strtok.S: Likewise.
25560 * sysdeps/sh/_mcount.S: Likewise.
25562 2012-08-01 Roland McGrath <roland@hack.frob.com>
25564 * libio/iofopen.c: Include <fcntl.h>.
25565 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25566 (_IO_fopen64, fopen64): Define as aliases.
25567 * libio/iofopen64.c: Include <fcntl.h>.
25568 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25569 Conditionalize body on this.
25570 * sysdeps/wordsize-64/iofopen.c: File removed.
25571 * sysdeps/wordsize-64/iofopen64.c: File removed.
25573 2012-08-01 Marek Polacek <polacek@redhat.com>
25575 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25576 Use dlfcn directly instead of a variable.
25577 (binfmt-subdir): Do not define.
25580 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25582 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25583 Remove all definitions.
25584 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25585 <kernel-features.h>.
25586 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25587 (miss_F_GETOWN_EX): Remove all definitions.
25588 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25590 [!__ASSUME_FCNTL64]: Remove conditional code.
25591 [__ASSUME_FCNTL64]: Make code unconditional.
25592 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25593 <kernel-features.h>.
25594 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25595 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25596 (lockf64) [__NR_fcntl64]: Make code unconditional.
25597 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25599 * sysdeps/unix/sysv/linux/kernel-features.h
25600 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25601 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25602 Make code unconditional.
25603 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25604 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25606 [__NR_vfork]: Make code unconditional.
25607 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25608 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25610 [__NR_vfork]: Make code unconditional.
25611 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25612 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25614 2012-08-01 Roland McGrath <roland@hack.frob.com>
25616 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25617 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25619 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25620 Define mkstemp64 as an alias.
25621 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25622 Define mkstemps64 as an alias.
25623 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25624 Define mkostemp64 as an alias.
25625 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25626 Define mkostemps64 as an alias.
25627 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25628 Conditionalize body on this.
25629 * misc/mkostemp64.c: Likewise.
25630 * misc/mkostemps64.c: Likewise.
25631 * misc/mkstemps64.c: Likewise.
25632 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25633 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25634 * sysdeps/wordsize-64/mkostemp.c: File removed.
25635 * sysdeps/wordsize-64/mkstemp.c: File removed.
25636 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25637 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25638 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25639 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25642 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25643 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25644 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25645 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25647 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25648 compat_symbol macros from <shlib-compat.h> rather than the underlying
25649 default_symbol_version and symbol_version macros, so that DEFAULT
25650 lines in shlib-versions are respected.
25651 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25653 2012-08-01 Florian Weimer <fweimer@redhat.com>
25655 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25656 Declare with warn_unused_result.
25657 (setgid, setregid, setegid, setresgid): Likewise.
25658 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25660 * WUR-REPORT: Remove set*id functions.
25662 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25664 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25666 2012-07-31 Roland McGrath <roland@hack.frob.com>
25669 * include/sys/socket.h (__libc_accept, __libc_accept4):
25670 Add attribute_hidden.
25671 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25673 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25675 * inet/getnetgrent_r.c (setup): Likewise.
25677 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25679 2012-07-31 David S. Miller <davem@davemloft.net>
25681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25683 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25686 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25687 value between 1.0 and 2.0 and smaller part has absolute value less
25689 * math/s_clog10.c (__clog10): Likewise.
25690 * math/s_clog10f.c (__clog10f): Likewise.
25691 * math/s_clog10l.c (__clog10l): Likewise.
25692 * math/s_clogf.c (__clogf): Likewise.
25693 * math/s_clogl.c (__clogl): Likewise.
25694 * math/libm-test.inc (clog_test): Add more tests.
25695 (clog10_test): Likewise.
25696 * sysdeps/i386/fpu/libm-test-ulps: Update.
25697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25699 2012-07-31 Florian Weimer <fweimer@redhat.com>
25701 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25702 Exit with zero in case no suitable GID is found, and write a
25703 message to standard error.
25705 2012-07-30 Roland McGrath <roland@hack.frob.com>
25707 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25709 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25710 (MAXPATHLEN): Removed.
25711 (NOGROUP, NODEV): New macros.
25712 (setbit, clrbit, isset, isclr): New macros.
25713 (howmany, roundup, powerof2): New macros.
25714 (DEV_BSIZE): New macro.
25716 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25717 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25719 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25720 definition on [!__NO_LONG_DOUBLE_MATH].
25722 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25723 PTR_MANGLE and PTR_DEMANGLE.
25725 * socket/accept4.c (accept4): Rename to __libc_accept4.
25726 Define accept4 as a weak alias.
25728 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25729 on [_DIRENT_HAVE_D_TYPE].
25730 * io/ftw.c (ftw_dir): Likewise.
25732 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25734 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25736 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25737 Use the BSD numbers rather than the arbitrary ones we had.
25738 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25739 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25740 (SIGXCPU, SIGXFSZ): New macros.
25743 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25744 initializer on [_LIBC_REENTRANT].
25746 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25747 definitions inside [_POSIX_MAPPED_FILES].
25749 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25751 * dirent/opendir.c: Include <fcntl.h>.
25753 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25754 (__libc_getspecific): Likewise.
25755 (__libc_key_create): Likewise.
25757 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25758 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25759 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25760 (tmpfile64): Define as alias.
25761 * sysdeps/wordsize-64/tmpfile.c: File removed.
25762 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25763 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25764 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25766 * stdio-common/vfscanf.c: Include <stdbool.h>.
25767 * nss/makedb.c: Likewise.
25768 * stdio-common/_i18n_number.h: Likewise.
25769 * argp/argp-help.c: Likewise.
25770 * posix/wordexp.c: Likewise.
25771 * sysdeps/posix/spawni.c: Likewise.
25772 * nss/nss_files/files-initgroups.c: Likewise.
25773 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25774 * nss/nss_files/files-initgroups.c: Likewise.
25775 * nss/nss_db/db-netgrp.c: Likewise.
25776 * nss/nss_db/db-initgroups.c: Likewise.
25777 * io/fchmodat.c: Include <sys/stat.h>.
25779 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25780 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25782 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25785 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25786 Add multiple inclusion protection.
25788 2012-07-27 David S. Miller <davem@davemloft.net>
25790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25792 2012-07-27 Gary Benson <gbenson@redhat.com>
25795 * elf/rtld.c: Include <stap-probe.h>.
25796 (dl_main): Added static probes "init_start" and "init_complete".
25797 * elf/dl-load.c: Include <stap-probe.h>.
25798 (lose): Take new parameter "nsid".
25799 Added static probe "map_failed".
25800 (_dl_map_object_from_fd): Pass namespace id to lose.
25801 Added static probe "map_start".
25802 (open_verify): Pass namespace id to lose.
25803 * elf/dl-open.c: Include <stap-probe.h>.
25804 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25805 and "reloc_complete".
25806 * elf/dl-close.c: Include <stap-probe.h>.
25807 (_dl_close_worker): Added static probes "unmap_start" and
25809 * elf/rtld-debugger-interface.txt: New file documenting the above.
25811 2012-07-26 Roland McGrath <roland@hack.frob.com>
25813 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25814 rather than a string variable.
25815 * sunrpc/rpc_main.c (h_output): Likewise.
25816 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25818 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25820 * inet/check_native.c: New file.
25822 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25825 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25826 if larger part has absolute value 1.0.
25827 * math/s_clog10.c (__clog10): Likewise.
25828 * math/s_clog10f.c (__clog10f): Likewise.
25829 * math/s_clog10l.c (__clog10l): Likewise.
25830 * math/s_clogf.c (__clogf): Likewise.
25831 * math/s_clogl.c (__clogl): Likewise.
25832 * math/libm-test.inc (clog_test): Add more tests.
25833 (clog10_test): Likewise.
25834 * sysdeps/i386/fpu/libm-test-ulps: Update.
25835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25837 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25838 (pltexit): Likewise.
25839 (La_regs): Likewise.
25840 (La_retval): Likewise.
25841 (int_retval): Likewise.
25842 Update #error for removed macros to refer only to definitions in
25844 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25846 (pltexit): Likewise.
25847 (La_regs): Likewise.
25848 (La_retval): Likewise.
25849 (int_retval): Likewise.
25850 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25852 (pltexit): Likewise.
25853 (La_regs): Likewise.
25854 (La_retval): Likewise.
25855 (int_retval): Likewise.
25856 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25858 (pltexit): Likewise.
25859 (La_regs): Likewise.
25860 (La_retval): Likewise.
25861 (int_retval): Likewise.
25862 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25864 (pltexit): Likewise.
25865 (La_regs): Likewise.
25866 (La_retval): Likewise.
25867 (int_retval): Likewise.
25868 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25870 (pltexit): Likewise.
25871 (La_regs): Likewise.
25872 (La_retval): Likewise.
25873 (int_retval): Likewise.
25874 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25876 (pltexit): Likewise.
25877 (La_regs): Likewise.
25878 (La_retval): Likewise.
25879 (int_retval): Likewise.
25880 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25881 macro definitions in tst-audit.h.
25882 * sysdeps/i386/tst-audit.h: New file.
25883 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25884 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25885 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25886 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25887 * sysdeps/sh/tst-audit.h: Likewise.
25888 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25889 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25890 * sysdeps/x86_64/tst-audit.h: Likewise.
25892 2012-07-26 Andreas Jaeger <aj@suse.de>
25894 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25897 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25898 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25899 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25901 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25902 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25903 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25905 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25908 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25910 (si_call_addr, si_syscall, si_arch): Define new macro.
25911 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25913 (si_call_addr, si_syscall, si_arch): Define new marcro.
25914 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25916 (si_call_addr, si_syscall, si_arch): Define new macro.
25917 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25919 (si_call_addr, si_syscall, si_arch): Define new macro.
25921 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25924 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25925 Change to 2.4.21 where previously 2.4.1.
25926 * sysdeps/unix/sysv/linux/configure: Regenerated.
25927 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25928 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25929 Linux kernel version.
25930 (__ASSUME_STD_AUXV): Remove.
25931 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25933 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25934 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25935 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25936 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25937 (__ASSUME_NETLINK_SUPPORT): Likewise.
25938 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25939 (__no_netlink_support): Remove conditional definition.
25940 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25942 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25943 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25944 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25945 (if_nameindex_ioctl): Remove.
25946 (if_nameindex_netlink): Do not handle __no_netlink_support.
25947 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25949 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25950 Remove conditional code.
25951 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25953 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25955 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25956 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25957 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25959 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25960 [!__ASSUME_STD_AUXV]: Remove conditional code.
25961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25962 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25963 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25965 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25966 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25968 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25970 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25971 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25973 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25975 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25978 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25981 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25982 code unconditional.
25983 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25985 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25987 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25990 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25992 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25995 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25996 code unconditional.
25997 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25999 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26001 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26004 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26005 code unconditional.
26006 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26008 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26010 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26013 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26015 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26016 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26017 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26018 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26019 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26020 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26021 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26022 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26023 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26024 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26025 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26026 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26027 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26028 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26029 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26030 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26031 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26032 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26033 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26034 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26035 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26036 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26037 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26039 2012-07-25 Florian Weimer <fweimer@redhat.com>
26041 * Versions.def: Add GLIBC_2.17.
26042 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26043 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26044 Introduce __libc_secure_getenv.
26045 * stdlib/Versions (2.17): Add secure_getenv
26046 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26047 * stdlib/secure-getenv.c: Rename __secure_getenv to
26048 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26049 symbol __secure_getenv for GLIBC_2.0.
26050 * stdlib/tst-secure-getenv.c: New.
26051 * stdlib/Makefile (tests): Add testcase.
26052 * manual/startup.texi (Environment Access): Document
26054 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26055 __libc_secure_getenv.
26056 * inet/ruserpass.c (ruserpass): Likewise.
26057 * malloc/mtrace.c (mtrace): Likewise.
26058 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26059 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26060 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26061 * sysdeps/posix/tempname.c: Likewise. Evaluate
26062 HAVE_SECURE_GETENV.
26063 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26064 __secure_getenv to __libc_secure_getenv.
26065 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26072 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26078 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26080 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26081 (struct La_i86_retval): Likewise.
26082 (struct La_x86_64_regs): Likewise.
26083 (struct La_x86_64_retval): Likewise.
26084 (struct La_x32_regs): Likewise.
26085 (struct La_x32_retval): Likewise.
26086 (struct La_ppc32_regs): Likewise.
26087 (struct La_ppc32_retval): Likewise.
26088 (struct La_ppc64_regs): Likewise.
26089 (struct La_ppc64_retval): Likewise.
26090 (struct La_sh_regs): Likewise.
26091 (struct La_sh_retval): Likewise.
26092 (struct La_s390_32_regs): Likewise.
26093 (struct La_s390_32_retval): Likewise.
26094 (struct La_s390_64_regs): Likewise.
26095 (struct La_s390_64_retval): Likewise.
26096 (struct La_sparc32_regs): Likewise.
26097 (struct La_sparc32_retval): Likewise.
26098 (struct La_sparc64_regs): Likewise.
26099 (struct La_sparc64_retval): Likewise.
26100 (struct audit_ifaces): Remove architecture-specific pltenter and
26102 * sysdeps/i386/ldsodefs.h: New file.
26103 * sysdeps/powerpc/ldsodefs.h: Likewise.
26104 * sysdeps/s390/ldsodefs.h: Likewise.
26105 * sysdeps/sh/ldsodefs.h: Likewise.
26106 * sysdeps/sparc/ldsodefs.h: Likewise.
26107 * sysdeps/x86_64/ldsodefs.h: Likewise.
26109 2012-07-25 Marek Polacek <polacek@redhat.com>
26112 * math/libm-test.inc (yn_test): Add another test.
26113 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26114 to ERANGE when the result is +-Inf.
26115 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26116 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26117 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26118 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26120 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26122 * conform/data/time.h-data (NULL): Use macro-constant. Require
26124 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26126 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26128 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26130 * configure.in <sysdeps resolving>: Correct printing
26132 * configure: Regenerate.
26134 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26136 * math/w_ilogb.c: Include <limits.h>.
26137 * math/w_ilogbl.c: Likewise.
26139 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26141 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26142 va_copy. Document allowing for unavailable va_copy only as
26143 pre-C99 compatibility.
26144 * manual/string.texi (Copying and Concatenation): Use va_copy
26145 instead of __va_copy in concat example.
26147 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26149 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26150 (__sendto): Use create_address_port. Initialize APORT and deallocate
26153 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26154 with O_NOLINK passed to __file_name_lookup.
26156 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26157 with O_NOLINK passed to __file_name_lookup.
26159 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26160 negative N or less than NGIDS.
26162 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26163 type to string_t. Set ERANGE as errno and return it if NAME is not big
26164 enough. Use memcpy instead of strncpy.
26166 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26168 * elf/Makefile (check-data): Remove.
26169 (localplt.data): New vpath directive.
26170 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26171 instead of $(check-data).
26172 * scripts/data/localplt-generic.data: Move to ...
26173 * sysdeps/generic/localplt.data: ... here.
26174 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26175 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26176 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26179 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26182 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26185 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26188 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26191 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26195 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26197 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26198 PPC32 and PPC64 files.
26199 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26200 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26202 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26204 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26205 __makecontext_ret to ...
26206 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26207 ... here and call exit if uc_link is NULL. New file.
26208 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26209 __makecontext_ret.S.
26210 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26211 __makecontext_ret to ...
26212 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26213 ... here and call exit if uc_link is NULL. New file.
26214 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26215 __makecontext_ret.S.
26217 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26219 * elf/elf.h (R_390_IRELATIVE): New definition.
26220 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26221 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26222 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26223 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26224 (elf_machine_lazy_rel): Likewise.
26225 * sysdeps/s390/dl-irel.h: New file.
26226 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26227 * sysdeps/s390/s390-64/memset.S: New asm code.
26228 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26229 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26230 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26231 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26232 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26233 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26234 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26235 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26236 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26237 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26238 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26239 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26240 * sysdeps/s390/s390-32/memset.S: New asm code.
26241 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26243 2012-07-17 Marek Polacek <polacek@redhat.com>
26246 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26247 * sysdeps/s390/s390-64/configure.in: Likewise.
26248 * sysdeps/sparc/configure.in: Likewise.
26249 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26250 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26251 * sysdeps/i386/configure.in: Likewise.
26252 * sysdeps/x86_64/configure.in: Likewise.
26253 * sysdeps/sh/configure.in: Likewise.
26254 * sysdeps/s390/s390-32/configure: Regenerated.
26255 * sysdeps/s390/s390-64/configure: Likewise.
26256 * sysdeps/x86_64/configure: Likewise.
26257 * sysdeps/sh/configure: Likewise.
26258 * sysdeps/powerpc/powerpc64/configure: Likewise.
26259 * sysdeps/powerpc/powerpc32/configure: Likewise.
26260 * sysdeps/sparc/configure: Likwise.
26261 * sysdeps/i386/configure: Likewise.
26263 * elf/dl-open.c: Comment fixes.
26265 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26267 * Makefile [CXX] (check-data): Remove.
26268 [CXX] (c++-types.data): New vpath directive.
26269 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26270 vpath. Do not allow for C++ type data being missing.
26271 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26272 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26273 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26274 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26275 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26276 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26277 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26280 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26283 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26286 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26289 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26292 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26295 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26298 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26301 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26302 definitions to architecture-specific files.
26303 (TLS_IE): Likewise.
26304 (TLS_LD): Likewise.
26305 (TLS_GD): Likewise.
26306 * sysdeps/i386/tls-macros.h: New file.
26307 * sysdeps/powerpc/tls-macros.h: Likewise.
26308 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26309 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26310 * sysdeps/sh/tls-macros.h: Likewise.
26311 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26312 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26313 * sysdeps/x86_64/tls-macros.h: Likewise.
26315 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26317 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26318 zero value for regular exit case.
26320 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26321 (__start_context): Preserve zero value for regular exit case.
26323 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26324 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26326 * manual/setjmp.texi (setcontext): Clarify normal process
26327 termination when uc_link is the null pointer.
26328 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26331 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26333 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26334 preprocessor. Test for each exception mask separately.
26336 2012-07-16 Andreas Jaeger <aj@suse.de>
26338 * po/ru.po: Update from translation team.
26340 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26342 * conform/data/string.h-data (NULL): Use macro-constant. Require
26344 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26345 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26346 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26347 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26348 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26350 2012-07-13 Andreas Jaeger <aj@suse.de>
26352 * po/fr.po: Update from translation team.
26354 2012-07-12 Marek Polacek <polacek@redhat.com>
26357 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26358 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26361 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26364 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26365 Change to 2.4.1 where previously 2.4.0.
26366 * sysdeps/unix/sysv/linux/configure: Regenerated.
26367 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26368 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26370 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26371 (__ASSUME_AT_CLKTCK): Remove.
26372 (__ASSUME_AT_PAGESIZE): Likewise.
26373 (__ASSUME_AT_XID): Likewise.
26374 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26375 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26376 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26378 (HAVE_AUX_PAGESIZE): Likewise.
26379 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26380 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26381 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26383 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26387 the temporary buffer used to invoke __gethostbyname2_r,
26388 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26389 host_data / struct gaih_addrtuple.
26390 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26391 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26392 header file nss/nsswitch.h.
26393 * nss/nsswitch.h (global scope): Add definition of implementation
26394 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26395 resolv/nss_dns/dns-host.c).
26397 2012-07-11 Andreas Jaeger <aj@suse.de>
26399 * po/fr.po: Update from translation team.
26401 * po/sv.po: Update from translation team
26402 * po/fr.po: Another update from translation team.
26404 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26406 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26407 for subnormals or multiply small sinh result by itself.
26408 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26411 2012-07-11 David S. Miller <davem@davemloft.net>
26413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26415 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26418 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26419 (INTERNAL_MARK): Shift it here.
26421 2012-07-10 Marek Polacek <polacek@redhat.com>
26424 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26425 libc_cv_asm_global_directive with .globl.
26426 * configure: Regenerated.
26427 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26429 * sysdeps/i386/configure: Regenerated.
26430 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26432 * sysdeps/x86_64/configure: Regenerated.
26433 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26434 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26435 * elf/tst-unique2mod2.c: Likewise.
26436 * elf/tst-unique2mod1.c: Likewise.
26437 * elf/tst-unique1mod2.c: Likewise.
26438 * elf/tst-unique1mod1.c: Likewise.
26439 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26440 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26441 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26442 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26443 * sysdeps/mach/sysdep.h: Likewise.
26444 * sysdeps/i386/sysdep.h: Likewise.
26445 * sysdeps/i386/i386-mcount.S: Likewise.
26446 * sysdeps/x86_64/_mcount.S: Likewise.
26447 * sysdeps/x86_64/sysdep.h: Likewise.
26448 * sysdeps/sh/_mcount.S: Likewise.
26449 * sysdeps/sh/sysdep.h: Likewise.
26450 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26451 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26452 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26453 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26454 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26455 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26456 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26457 * locale/localeinfo.h: Likewise.
26458 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26459 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26461 2012-07-09 Roland McGrath <roland@hack.frob.com>
26464 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26466 * manual/message.texi (The Uniforum approach): Likewise.
26467 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26468 (glibc iconv Implementation): Likewise.
26470 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26473 * math/s_clog.c (__clog): Avoid scaling a value down where that
26474 could result in underflow.
26475 * math/s_clog10.c (__clog10): Likewise.
26476 * math/s_clog10f.c (__clog10f): Likewise.
26477 * math/s_clog10l.c (__clog10l): Likewise.
26478 * math/s_clogf.c (__clogf): Likewise.
26479 * math/s_clogl.c (__clogl): Likewise.
26480 * math/libm-test.inc (clog_test): Add more tests.
26481 (clog10_test): Likewise.
26482 * sysdeps/i386/fpu/libm-test-ulps: Update.
26483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26485 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26488 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26489 by 7 not 8 to examine high bit of fractional part.
26492 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26493 for call to __mcount_internal.
26494 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26495 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26496 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26498 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26501 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26502 approximation for values within 0x1p-13f of an odd multiple of
26504 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26505 exception. Add more tests.
26506 * sysdeps/i386/fpu/libm-test-ulps: Update.
26509 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26510 inputs and return -1 for them. Do not check for +Inf in case not
26511 reachable for +Inf.
26512 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26513 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26514 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26515 and return -1 for them. Do not check for +Inf in case not
26516 reachable for +Inf.
26517 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26519 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26520 and return -1 for them. Do not check for +Inf in case not
26521 reachable for +Inf.
26522 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26523 spurious underflow.
26524 * sysdeps/i386/fpu/libm-test-ulps: Update.
26525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26527 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26529 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26531 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26535 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26536 could result in spurious underflow. Scale down values above
26537 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26538 * math/s_csqrtf.c (__csqrtf): Likewise.
26539 * math/s_csqrtl.c (__csqrtl): Likewise.
26540 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26541 spurious underflow.
26542 * sysdeps/i386/fpu/libm-test-ulps: Update.
26543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26545 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26547 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26549 * catgets/xopen-msg.awk: New file.
26550 * catgets/xopen-msg.sed: Removed.
26552 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26554 * intl/po2test.awk: New file.
26555 * intl/po2test.sed: Removed.
26557 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26560 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26561 or multiply small sinh result by itself.
26562 * math/s_ctanf.c (__ctanf): Likewise.
26563 * math/s_ctanh.c (__ctanh): Likewise.
26564 * math/s_ctanhf.c (__ctanhf): Likewise.
26565 * math/s_ctanhl.c (__ctanhl): Likewise.
26566 * math/s_ctanl.c (__ctanl): Likewise.
26567 * math/libm-test.inc (ctan_test_tonearest): New function.
26568 (ctan_test_towardzero): Likewise.
26569 (ctan_test_downward): Likewise.
26570 (ctan_test_upward): Likewise.
26571 (ctanh_test_tonearest): Likewise.
26572 (ctanh_test_towardzero): Likewise.
26573 (ctanh_test_downward): Likewise.
26574 (ctanh_test_upward): Likewise.
26575 (main): Call these new functions.
26576 * sysdeps/i386/fpu/libm-test-ulps: Update.
26577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26579 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26581 * .gitignore: Delete /ports entry.
26583 2012-07-03 Andreas Jaeger <aj@suse.de>
26585 * po/bg.po: Update from translation team.
26586 * po/cs.po: Likewise.
26587 * po/de.po: Likewise.
26588 * po/hr.po: Likewise.
26589 * po/nl.pl: Likewise.
26590 * po/pl.po: Likewise.
26591 * po/vi.po: Likewise.
26593 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26595 * Makeconfig [!+link] (+link-before-libc): New variable.
26596 [!+link] (+link-after-libc): Likewise.
26597 [!+link] (+link-tests): Likewise.
26598 [!+link] (+link): Define in terms of $(+link-before-libc) and
26599 $(+link-after-libc).
26600 [!+link-static] (+link-static-before-libc): New variable.
26601 [!+link-static] (+link-static-after-libc): Likewise.
26602 [!+link-static] (+link-static-tests): Likewise.
26603 [!+link-static] (+link-static): Define in terms of
26604 $(+link-static-before-libc) and $(+link-static-after-libc).
26605 [build-shared] (link-libc-before-gnulib): New variable.
26606 [build-shared] (link-libc-tests): Likewise.
26607 [build-shared] (link-libc): Define in terms of
26608 $(link-libc-before-gnulib).
26609 [!build-shared] (link-libc-tests): New variable.
26610 (link-libc-static-tests): New variable.
26611 [!gnulib] (gnulib-arch): New variable.
26612 [!gnulib] (gnulib-tests): Likewise.
26613 [!gnulib] (static-gnulib-arch): Likewise.
26614 [!gnulib] (static-gnulib-tests): Likewise.
26615 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26616 Define with "=" instead of ":=".
26617 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26618 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26619 * Rules (binaries-all-notests): New variable.
26620 (binaries-all-tests): Likewise.
26621 (binaries-static-notests): Likewise.
26622 (binaries-static-tests): Likewise.
26623 (binaries-all): Define using $(binaries-all-notests) and
26624 $(binaries-all-tests).
26625 (binaries-static): Define using $(binaries-static-notests) and
26626 $(binaries-static-tests).
26627 (binaries-shared-tests): New variable.
26628 (binaries-shared-notests): Likewise.
26629 (binaries-shared): Remove variable.
26630 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26631 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26632 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26633 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26634 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26635 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26636 * elf/Makefile (sln-modules): New variable.
26637 (extra-objs): Add $(sln-modules:=.o).
26638 (ldconfig-modules): Add static-stubs.
26639 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26640 * elf/static-stubs.c: New file.
26643 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26644 by 7 not 8 to examine high bit of fractional part. Use volatile
26645 variables when splitting into final array of floats if
26646 __FLT_EVAL_METHOD__ != 0.
26647 * math/libm-test.inc (cos_test): Add another test.
26648 (sin_test): Likewise.
26649 * sysdeps/i386/fpu/libm-test-ulps: Update.
26652 * math/libm-test.inc (cosh_test): Add more tests.
26654 * version.h (RELEASE): Set to "development".
26655 (VERSION): Set to "2.16.90".
26657 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26659 * NEWS: Update copyright. Remove last-updated date.
26660 Mention math library bug fixes and timezone data changes.
26661 * README: Mention GNU/Hurd, x32, and HPPA support status.
26663 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26665 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26667 2012-06-27 Andreas Jaeger <aj@suse.de>
26669 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26671 2012-06-25 Andreas Jaeger <aj@suse.de>
26673 * sysdeps/s390/fpu/libm-test-ulps: Update.
26675 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26676 Thomas Schwinge <thomas@codesourcery.com>
26678 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26679 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26680 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26683 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26685 * sysdeps/mach/start.c: Remove file.
26686 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26687 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26688 * sysdeps/sh/init-first.c: Likewise.
26690 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26691 registers for frame unwinding purposes, add CFI directives.
26692 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26693 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26694 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26697 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26698 __fortify_fail returning.
26699 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26701 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26702 sysdeps/sh/____longjmp_chk.S.
26703 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26704 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26705 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26706 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26708 * sysdeps/sh/abort-instr.h: New file.
26709 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26710 process in case exit returns.
26712 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26713 initialize the GOT register before use.
26715 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26716 calculation of ARGC > 4.
26718 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26719 meaningful names to some local labels.
26721 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26722 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26724 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26725 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26726 (__arch_compare_and_exchange_val_16_acq): Likewise.
26727 (__arch_compare_and_exchange_val_32_acq): Likewise.
26728 (atomic_exchange_and_add): Fix gUSA sequence.
26729 (atomic_add): Likewise.
26730 (atomic_add_negative): Likewise.
26731 (atomic_add_zero): Likewise.
26732 (atomic_bit_test_set): Likewise.
26734 2012-06-22 Andreas Schwab <schwab@redhat.com>
26737 * include/link.h (struct link_map): Add l_free_initfini.
26738 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26740 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26741 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26742 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26745 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26747 * configure.in: Use AC_LANG_SOURCE.
26748 * configure: Regenerate.
26750 2012-06-22 Roland McGrath <roland@hack.frob.com>
26752 * configure.in (libc_cv_localstatedir): New substituted variable.
26753 * configure: Regenerated.
26754 * config.make.in (localstatedir): New variable, substituted from
26755 libc_cv_localstatedir.
26756 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26757 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26758 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26759 * sysdeps/gnu/configure: Regenerated.
26761 2012-06-21 Jeff Law <law@redhat.com>
26764 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26765 free. Simplify list management for _LIBC case.
26767 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26770 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26771 Clear sign bit of 64-bit integer value before comparing against
26774 * sysdeps/mach/configure: Regenerated.
26776 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26779 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26781 2012-06-21 Jeff Law <law@redhat.com>
26784 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26785 uint16_t for elements in the "seen" array to avoid char overflows.
26786 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26787 * elf/dl-open.c (dl_open_worker): Likewise.
26789 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26791 * scripts/list-sources.sh: Scan PORTS for translations.
26792 * po/libc.pot: Regenerated.
26794 2012-06-21 Andreas Jaeger <aj@suse.de>
26797 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26799 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26800 * bits/byteswap-16.h (__bswap_16): Likewise.
26801 * bits/byteswap.h (__bswap_constant_16): Likewise.
26803 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26806 * sysdeps/i386/fpu_control.h: Removed.
26807 * sysdeps/x86_64/fpu_control.h: Moved to ...
26808 * sysdeps/x86/fpu_control.h: Here.
26810 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26811 (_FPU_SETCW): Likewise.
26813 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26816 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26817 * sysdeps/x86/fpu/bits/mathinline.h: This.
26818 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26822 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26823 functions if __x86_64__ is defined.
26825 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26827 * string/endian.h: Add !__ASSEMBLER__ condition for including
26828 conversion interfaces.
26830 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26833 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26834 of ABS(x) in calculating zero to negative powers other than odd
26836 * math/libm-test.inc (pow_test): Add more tests.
26838 2012-06-15 Andreas Jaeger <aj@suse.de>
26840 * manual/contrib.texi (Contributors): Update entry of Liubov
26841 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26844 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26846 * string/string.h: Add __wur to GNU version of strerror_r.
26848 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26851 * string/Makefile (tests): Add tst-strtok_r.
26852 * string/tst-strtok_r.c: New file.
26853 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26854 RAX_LP/RDX_LP on SAVE_PTR.
26856 2012-06-14 Roland McGrath <roland@hack.frob.com>
26858 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26860 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26862 * libm_test.inc (csqrt_test): Allow more spurious underflow
26864 (j0_test): Likewise.
26865 (j1_test): Likewise.
26866 (y0_test): Likewise.
26867 (y1_test): Likewise.
26869 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26871 * po/Makefile (libc.pot): Use UTF-8 charset.
26873 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26876 Suppress sign-conversion warning from FD_SET.
26877 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26878 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26879 not unsigned long int.
26880 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26882 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26886 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26887 __extern_always_inline instead of __extern_inline.
26888 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26889 (__signbit): Likewise.
26890 (__signbitl): Support C++ namespace.
26891 (lrintf): New inline function.
26893 (llrintf): Likewise.
26894 (llrint): Likewise.
26904 (floorf): Likewise.
26905 (nearbyint): Likewise.
26906 (nearbyintf): Likewise.
26908 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26910 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26911 non-default versions.
26913 2012-06-11 Roland McGrath <roland@hack.frob.com>
26916 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26918 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26920 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26921 (FE_UPWARD, FE_DOWNWARD): Don't define.
26922 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26923 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26925 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26927 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26928 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26930 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26932 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26933 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26934 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26935 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26937 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26940 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26941 * sysdeps/i386/fpu/Implies: New file.
26942 * sysdeps/x86_64/fpu/Implies: Likewise.
26943 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26944 * sysdeps/x86/fpu/bits/fenv.h: This.
26946 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26949 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26952 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26953 character 0xffff that matches the last element of the
26956 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26958 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26961 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26963 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26964 values higher than 25.6283.
26966 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26968 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26969 subnormal exponent extraction and add some __builtin_expect.
26970 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26971 Fix for subnormal mantissa calculation.
26973 2012-06-04 Mike Frysinger <vapier@gentoo.org>
26975 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26976 cpu2 is -1 and errno is not ENOSYS.
26978 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26981 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26982 * sysdeps/x86/bits/string.h: This.
26983 * sysdeps/x86_64/bits/string.h: Removed.
26985 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26986 if not compiling for x86-64, but compiling for >= i486.
26988 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26989 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26991 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26992 New macro from Linux kernel 3.4.0.
26993 (FP_XSTATE_MAGIC2): Likewise.
26994 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26995 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26996 (struct _fpx_sw_bytes): New struct.
26997 (struct _xsave_hdr): Likewise.
26998 (struct _ymmh_state): Likewise.
26999 (struct _xstate): Likewise.
27001 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27002 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27003 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27004 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27005 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27006 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27008 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27009 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27010 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27011 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27012 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27013 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27015 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27018 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27019 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27020 (sysdep_headers): Include sys/platform/ppc.h.
27021 * sysdeps/powerpc/test-gettimebase.c: Test for
27022 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27023 * manual/Makefile (appendices): Include platform.texi.
27024 * manual/contrib.texi (Contributors): Update @node pointers.
27025 * manual/maint.texi (Maintenance): Likewise.
27026 (Platform): New node.
27027 * manual/platform.texi: New file. Document the new features.
27029 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27030 Jakub Jelinek <jakub@redhat.com>
27033 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27034 where __builtin_expect is unavailable.
27036 2012-06-03 David S. Miller <davem@davemloft.net>
27038 * stdlib/longlong.h: Updated from GCC.
27040 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27043 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27044 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27047 (GLIBC_2.16): Likewise.
27049 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27051 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27053 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27056 (default-abi): New variable.
27057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27058 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27060 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27062 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27064 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27067 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27068 definition. Document in comment.
27070 2012-06-01 David S. Miller <davem@davemloft.net>
27072 * stdlib/longlong.h: Updated from GCC.
27074 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27077 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27078 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27079 sys/debugreg.h sys/io.h here.
27080 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27081 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27083 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27084 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27085 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27086 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27087 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27088 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27090 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27091 Define only if __x86_64__ is defined.
27093 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27096 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27097 Use int64_t for variable i.
27098 * math/libm-test.inc (fmod_test): Add more tests.
27100 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27101 z computation is not scheduled after fetestexcept.
27102 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27103 Use math_force_eval instead of asm to ensure calculation scheduled
27104 before exception test.
27105 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27106 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27108 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27110 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27111 computation is not scheduled after fetestexcept.
27113 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27116 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27117 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27119 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27121 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27122 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27124 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27127 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27129 (__WCHAR_MIN): Support __WORDSIZE == 64.
27130 (__WCHAR_MAX): Likewise.
27132 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27133 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27136 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27137 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27140 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27141 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27143 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27144 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27146 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27147 Defined to 1 if __x86_64__ isn't defined.
27148 (_STAT_VER_LINUX_OLD): New.
27149 (st_atime): Remove duplicate.
27150 (st_mtime): Likewise.
27151 (st_ctime): Likewise.
27153 2012-05-31 David S. Miller <davem@davemloft.net>
27155 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27158 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27160 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27164 * elf/dl-reloc.c: Include <_itoa.h>.
27165 (_dl_reloc_bad_type): Remove use of INTUSE.
27166 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27167 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27168 * stdio-common/psiginfo.c (psiginfo): Likewise.
27169 * stdio-common/psignal.c (psignal): Likewise.
27170 * string/strsignal.c (strsignal): Likewise.
27171 * include/signal.h (_sys_siglist): Declare hidden proto.
27172 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27173 INTVARDEF with libc_hidden_data_def.
27174 * stdio-common/itoa-udigits.c: Likewise.
27175 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27176 (_itoa_lower_digits_internal): Remove declaration.
27177 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27178 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27179 (_sys_sigabbrev_internal): Remove aliases.
27180 (_sys_siglist): Define hidden alias.
27182 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27187 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27190 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27191 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27193 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27194 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27195 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27196 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27197 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27198 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27200 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27201 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27202 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27204 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27212 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27213 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27214 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27216 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27217 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27218 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27219 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27220 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27221 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27223 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27224 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27226 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27227 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27229 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27230 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27231 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27233 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27234 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27236 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27238 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27239 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27240 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27242 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27244 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27246 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27248 * math/math.h (M_El): Use two more decimal places.
27249 (M_LOG2El): Likewise.
27250 (M_LOG10El): Likewise.
27251 (M_LN2l): Likewise.
27252 (M_LN10l): Likewise.
27254 (M_PI_2l): Likewise.
27255 (M_PI_4l): Likewise.
27256 (M_1_PIl): Likewise.
27257 (M_2_PIl): Likewise.
27258 (M_2_SQRTPIl): Likewise.
27259 (M_SQRT2l): Likewise.
27260 (M_SQRT1_2l): Likewise.
27262 2012-05-31 David S. Miller <davem@davemloft.net>
27264 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27265 values between float registers.
27266 * sysdeps/sparc/sparc64/memset.S: Likewise.
27267 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27269 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27271 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27272 -D_FORTIFY_SOURCE=1.
27273 (CPPFLAGS-tst-longjmp_chk.c): Define.
27274 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27275 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27276 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27277 CFLAGS-tst-wchar-h.c.
27279 2012-05-31 Marek Polacek <polacek@redhat.com>
27282 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27283 __endmntent_internal): Remove declaration.
27284 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27285 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27286 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27288 2012-05-30 David S. Miller <davem@davemloft.net>
27290 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27291 (___Q_simulate_exceptions): Use real FP ops rather than writing
27293 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27296 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27299 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27300 * sysdeps/x86/bits/xtitypes.h: This.
27302 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27303 * sysdeps/x86/bits/wordsize.h: This.
27305 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27306 * sysdeps/x86/bits/huge_vall.h: This.
27308 * sysdeps/i386/bits/select.h: Removed.
27309 * sysdeps/x86_64/bits/select.h: Renamed to ...
27310 * sysdeps/x86/bits/select.h: This.
27312 * sysdeps/i386/bits/setjmp.h: Removed.
27313 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27314 * sysdeps/x86/bits/setjmp.h: This.
27316 * sysdeps/i386/bits/mathdef.h: Removed.
27317 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27318 * sysdeps/x86/bits/mathdef.h: This.
27320 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27323 * include/sys/socket.h (__connect_internal)
27324 (__libc_sa_len_internal): Remove declaration.
27325 (__connect, __libc_sa_len): Declare hidden_proto.
27326 (SA_LEN): Remove use of INTUSE.
27327 * socket/connect.c: Add libc_hidden_def.
27328 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27329 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27330 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27332 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27333 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27334 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27335 of adding _internal alias.
27337 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27340 * sysdeps/i386/bits/link.h: Removed.
27341 * sysdeps/i386/bits/linkmap.h: Likewise.
27342 * sysdeps/x86_64/bits/link.h: Renamed to ...
27343 * sysdeps/x86/bits/link.h: This.
27344 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27345 * sysdeps/x86/bits/linkmap.h: This.
27347 * sysdeps/i386/bits/endian.h: Removed.
27348 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27349 * sysdeps/x86/bits/endian.h: This.
27351 * sysdeps/i386/bits/byteswap.h: Removed.
27352 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27353 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27354 * sysdeps/x86/bits/byteswap.h: This.
27355 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27356 * sysdeps/x86/bits/byteswap-16.h: This.
27357 * sysdeps/i386/Implies: Add x86.
27358 * sysdeps/x86_64/Implies: Likewise.
27360 2012-05-30 David S. Miller <davem@davemloft.net>
27362 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27363 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27364 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27365 (FP_TRAPPING_EXCEPTIONS): Define.
27366 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27367 (FP_TRAPPING_EXCEPTIONS): Define.
27368 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27369 subnormals only when inexact has been signalled or underflow
27370 exceptions are enabled.
27371 (_FP_PACK_CANONICAL): Likewise.
27373 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27376 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27377 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27379 2012-05-30 Richard Henderson <rth@twiddle.net>
27381 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27382 with #ifndef NOT_IN_libc.
27384 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27385 marked to avoid plt entry.
27387 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27390 * Makeconfig (default-abi): New macro.
27391 (abi-includes): Likewise.
27392 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27393 $(abi-$(default-abi)-lib-soname) for soname if defined.
27394 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27396 * Makefile (installed-stubs): Likewise.
27397 * include/stubs-biarch.h: Removed.
27398 * scripts/lib-names.awk: Only handle one library at a time.
27399 * scripts/soversions.awk: Remove WORDSIZE support.
27400 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27402 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27404 (syscall-list-default-condition): Likewise.
27405 (syscall-list-default-condition): Likewise.
27406 (syscall-list-includes): Likewise.
27407 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27408 syscall-list-* with abi-*. Handle undefined abi-variants.
27409 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27410 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27411 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27412 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27413 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27414 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27416 (syscall-list-32-options): Likewise.
27417 (syscall-list-32-condition): Likewise.
27418 (syscall-list-64-options): Likewise.
27419 (syscall-list-64-condition): Likewise.
27420 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27422 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27425 (abi-64-ld-soname): New macro.
27426 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27427 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27430 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27431 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27433 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27435 * sysdeps/unix/sysv/linux/kernel-features.h
27436 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27437 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27438 include <kernel-features.h>.
27439 [!__NR_ftruncate64]: Remove conditional code.
27440 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27441 [__NR_ftruncate64]: Make code unconditional.
27442 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27443 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27444 include <kernel-features.h>.
27445 [!__NR_ftruncate64]: Remove conditional code.
27446 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27447 [__NR_ftruncate64]: Make code unconditional.
27448 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27450 include <kernel-features.h>.
27451 [!__NR_ftruncate64]: Remove conditional code.
27452 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27453 [__NR_ftruncate64]: Make code unconditional.
27454 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27456 include <kernel-features.h>.
27457 [!__NR_ftruncate64]: Remove conditional code.
27458 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27459 [__NR_ftruncate64]: Make code unconditional.
27460 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27462 * configure.in (libc_cv_fpie): Weaken to a compile test using
27463 LIBC_TRY_CC_OPTION.
27464 * configure: Regenerated.
27466 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27481 2012-05-27 David S. Miller <davem@davemloft.net>
27483 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27485 (__Q_simulate_exceptions): Return void. Change to simulate
27486 exceptions by writing into the %fsr.
27487 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27488 (__Qp_handle_exceptions): Likewise.
27490 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27491 __Qp_handle_exceptions.
27492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27493 __Qp_handle_exceptions.
27494 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27495 as unused and give dummy FP_RND_NEAREST initializer.
27496 (FP_INHIBIT_RESULTS): Define.
27497 (___Q_simulate_exceptions): Update declaration.
27498 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27500 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27501 as unused and give dummy FP_RND_NEAREST initializer.
27502 (__Qp_handle_exceptions): Update declaration.
27503 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27506 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27508 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27509 the temporary FPU control word.
27510 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27511 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27512 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27513 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27514 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27515 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27516 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27517 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27518 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27519 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27520 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27522 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27524 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27527 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27529 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27530 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27531 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27532 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27534 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27535 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27538 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27540 * po/h.po: Update from translation team.
27542 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27544 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27546 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27547 handling of denormals.
27548 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27549 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27550 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27551 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27552 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27553 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27554 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27557 2012-05-26 Marek Polacek <polacek@redhat.com>
27560 * math/libm-test.inc (fma_test): Don't always expect underflow
27563 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27566 * elf/tst-execstack.c: Include stackinfo.h.
27567 (do_test): Adjust test case to ensure that pthread_getattr_np
27568 behaviour remains the same after marking stack executable.
27570 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27572 * sysdeps/unix/sysv/linux/kernel-features.h
27573 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27574 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27576 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27577 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27578 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27580 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27581 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27583 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27585 * configure.in: Define the default includes to being none.
27586 * configure: Regenerated.
27588 2012-05-25 Roland McGrath <roland@hack.frob.com>
27590 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27591 * sysdeps/x86_64/setjmp.S: Likewise.
27592 * sysdeps/i386/bsd-setjmp.S: Likewise.
27593 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27594 * sysdeps/i386/setjmp.S: Likewise.
27595 * sysdeps/i386/__longjmp.S: Likewise.
27596 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27597 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27599 * include/stap-probe.h: New file.
27600 * configure.in: Handle --enable-systemtap.
27601 * configure: Regenerated.
27602 * config.h.in (USE_STAP_PROBE): New #undef.
27603 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27604 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27605 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27607 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27610 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27611 to 2.4.0 where earlier.
27612 * sysdeps/unix/sysv/linux/configure: Regenerated.
27613 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27614 <kernel-features.h>.
27615 [__ASSUME_32BITUIDS]: Make code unconditional.
27616 [!__ASSUME_32BITUIDS]: Remove conditional code.
27617 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27618 <kernel-features.h>.
27619 [__ASSUME_32BITUIDS]: Make code unconditional.
27620 [!__ASSUME_32BITUIDS]: Remove conditional code.
27621 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27622 [__ASSUME_32BITUIDS]: Make code unconditional.
27623 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27624 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27625 <kernel-features.h>.
27626 [__ASSUME_32BITUIDS]: Make code unconditional.
27627 [!__ASSUME_32BITUIDS]: Remove conditional code.
27628 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27629 <kernel-features.h>.
27630 [__ASSUME_32BITUIDS]: Make code unconditional.
27631 [!__ASSUME_32BITUIDS]: Remove conditional code.
27632 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27633 <kernel-features.h>.
27634 [__ASSUME_32BITUIDS]: Make code unconditional.
27635 [!__ASSUME_32BITUIDS]: Remove conditional code.
27636 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27637 <kernel-features.h>.
27638 [__ASSUME_32BITUIDS]: Make code unconditional.
27639 [!__ASSUME_32BITUIDS]: Remove conditional code.
27640 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27641 <kernel-features.h>.
27642 [__ASSUME_32BITUIDS]: Make code unconditional.
27643 [!__ASSUME_32BITUIDS]: Remove conditional code.
27644 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27645 <kernel-features.h>.
27646 [__ASSUME_32BITUIDS]: Make code unconditional.
27647 [!__ASSUME_32BITUIDS]: Remove conditional code.
27648 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27649 <kernel-features.h>.
27650 [__ASSUME_32BITUIDS]: Make code unconditional.
27651 [!__ASSUME_32BITUIDS]: Remove conditional code.
27652 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27653 <kernel-features.h>.
27654 [__ASSUME_32BITUIDS]: Make code unconditional.
27655 [!__ASSUME_32BITUIDS]: Remove conditional code.
27656 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27657 <kernel-features.h>.
27658 [__ASSUME_32BITUIDS]: Make code unconditional.
27659 [!__ASSUME_32BITUIDS]: Remove conditional code.
27660 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27661 <kernel-features.h>.
27662 [__ASSUME_32BITUIDS]: Make code unconditional.
27663 [!__ASSUME_32BITUIDS]: Remove conditional code.
27664 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27665 <kernel-features.h>.
27666 [__NR_setresgid] (__setresgid): Do not declare.
27667 [__ASSUME_32BITUIDS]: Make code unconditional.
27668 [!__ASSUME_32BITUIDS]: Remove conditional code.
27669 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27670 <kernel-features.h>.
27671 [__NR_setresuid] (__setresuid): Do not declare.
27672 [__ASSUME_32BITUIDS]: Make code unconditional.
27673 [!__ASSUME_32BITUIDS]: Remove conditional code.
27674 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27675 <kernel-features.h>.
27676 [__ASSUME_32BITUIDS]: Make code unconditional.
27677 [!__ASSUME_32BITUIDS]: Remove conditional code.
27678 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
27715 (__ASSUME_SETRESUID_SYSCALL): Remove.
27716 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27717 (__ASSUME_32BITUIDS): Likewise.
27718 (__ASSUME_LDT_WORKS): Likewise.
27719 (__ASSUME_O_DIRECTORY): Likewise.
27720 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27721 architecture but not kernel version.
27722 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27723 (__ASSUME_MMAP2_SYSCALL): Likewise.
27724 (__ASSUME_STAT64_SYSCALL): Likewise.
27725 (__ASSUME_IPC64): Likewise.
27726 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27727 <kernel-features.h>.
27728 [__ASSUME_32BITUIDS]: Make code unconditional.
27729 [!__ASSUME_32BITUIDS]: Remove conditional code.
27730 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27731 <kernel-features.h>.
27732 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27733 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27734 132096]: Remove conditional code.
27735 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27736 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
27745 <kernel-features.h>.
27746 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27748 (__setresgid): Do not declare.
27749 [__ASSUME_32BITUIDS]: Make code unconditional.
27750 [!__ASSUME_32BITUIDS]: Remove conditional code.
27751 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27752 <kernel-features.h>.
27753 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27755 (__setresuid): Do not declare.
27756 [__ASSUME_32BITUIDS]: Make code unconditional.
27757 [!__ASSUME_32BITUIDS]: Remove conditional code.
27758 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27759 <kernel-features.h>.
27760 [__ASSUME_32BITUIDS]: Make code unconditional.
27761 [!__ASSUME_32BITUIDS]: Remove conditional code.
27762 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27763 <kernel-features.h>.
27764 [__ASSUME_32BITUIDS]: Make code unconditional.
27765 [!__ASSUME_32BITUIDS]: Remove conditional code.
27767 2012-05-25 Richard Henderson <rth@twiddle.net>
27769 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27770 dl_hwcap to ifunc resolver.
27771 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27773 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27774 dl_hwcap to ifunc resolver.
27775 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27777 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27780 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27781 for |x| <= 2**-26, not 2**-57.
27782 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27785 2012-05-24 Jeff Law <law@redhat.com>
27787 * stdio-common/Makefile (tests): Add bug25.
27788 * stdio-common/bug25.c: New test.
27790 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27793 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27794 multiple of MALLOC_ALIGNMENT in size.
27795 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27797 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27799 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27801 (FILENAME_MAX): Use macro-int-constant.
27802 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27803 (_IOFBF): Use macro-int-constant.
27804 (_IOLBF): Likewise.
27805 (_IONBF): Likewise.
27806 (SEEK_CUR): Likewise.
27807 (SEEK_END): Likewise.
27808 (SEEK_SET): Likewise.
27809 (TMP_MAX): Likewise.
27810 (EOF): Use macro-int-constant. Require < 0.
27811 (NULL): Use macro-constant. Require == 0.
27812 (stdin): Require type to be FILE *.
27813 (stdout): Likewise.
27814 (stderr): Likewise.
27815 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27816 macro-int-constant.
27817 (EXIT_SUCCESS): Likewise.
27818 (NULL): Use macro-constant. Require == 0.
27819 (RAND_MAX): Use macro-int-constant.
27820 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27821 [C99-based standards] (strtof): Require function.
27822 [C99-based standards] (strtold): Likewise.
27823 [C99-based standards] (strtoll): Likewise.
27824 [C99-based standards] (strtoull): Likewise.
27825 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27826 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27827 [ISO || ISO99 || ISO11] (math.h): Likewise.
27828 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27829 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27830 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27832 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27835 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27836 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27837 * intl/dgettext.c (DCGETTEXT): Likewise.
27838 * intl/gettext.c (DCGETTEXT): Likewise.
27839 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27840 * posix/regex_internal.h (gettext): Likewise.
27841 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27842 Remove declaration.
27843 * include/argz.h (__argz_count_internal)
27844 (__argz_stringify_internal): Remove declaration.
27845 (__argz_count, __argz_stringify): Declare hidden proto.
27846 * intl/dcgettext.c: Remove use of INTDEF.
27847 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27848 * string/argz-stringify.c: Likewise.
27849 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27850 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27851 Declare hidden proto.
27852 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27853 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27854 Declare hidden proto.
27855 * include/stdio.h (__asprintf_internal): Don't declare.
27856 (__asprintf): Don't define as macro. Declare hidden proto.
27857 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27858 (__fsetlocking): Declare hidden proto.
27859 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27860 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27862 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27863 (_IO_setlinebuf): Remove use of INTUSE.
27864 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27865 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27866 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27867 Remove declaration.
27868 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27869 (_IO_do_flush): Remove use of INTUSE.
27870 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27871 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27872 (_IO_adjust_column, _IO_least_wmarker)
27873 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27874 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27875 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27876 (_IO_default_doallocate, _IO_wdefault_doallocate)
27877 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27878 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27879 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27880 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27881 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27882 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27883 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27884 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27885 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27886 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27887 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27888 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27889 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27891 (_IO_flush_all_internal, _IO_adjust_column_internal)
27892 (_IO_default_uflow_internal, _IO_default_finish_internal)
27893 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27894 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27895 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27896 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27897 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27898 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27899 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27900 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27901 (_IO_file_close_internal, _IO_file_close_it_internal)
27902 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27903 (_IO_file_init_internal, _IO_file_attach_internal)
27904 (_IO_file_fopen_internal, _IO_file_read_internal)
27905 (_IO_file_sync_internal, _IO_file_seek_internal)
27906 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27907 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27908 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27909 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27910 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27911 (_IO_list_all_internal, _IO_link_in_internal)
27912 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27913 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27914 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27915 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27916 (_IO_do_write_internal, _IO_padn_internal)
27917 (_IO_getline_info_internal, _IO_getline_internal)
27918 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27919 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27920 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27921 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27922 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27923 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27924 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27925 with libc_hidden_ver, remove use of INTUSE.
27926 * libio/genops.c: Likewise.
27927 * libio/freopen.c: Likewise.
27928 * libio/freopen64.c: Likewise.
27929 * libio/iofclose.c: Likewise.
27930 * libio/iofdopen.c: Likewise.
27931 * libio/iofflush.c: Likewise.
27932 * libio/iofflush_u.c: Likewise.
27933 * libio/iofgets.c: Likewise.
27934 * libio/iofgets_u.c: Likewise.
27935 * libio/iofopen.c: Likewise.
27936 * libio/iofopncook.c: Likewise.
27937 * libio/iofread.c: Likewise.
27938 * libio/iofread_u.c: Likewise.
27939 * libio/ioftell.c: Likewise.
27940 * libio/iofwrite.c: Likewise.
27941 * libio/iogetline.c: Likewise.
27942 * libio/iogets.c: Likewise.
27943 * libio/iogetwline.c: Likewise.
27944 * libio/iopadn.c: Likewise.
27945 * libio/iopopen.c: Likewise.
27946 * libio/ioseekoff.c: Likewise.
27947 * libio/ioseekpos.c: Likewise.
27948 * libio/iosetbuffer.c: Likewise.
27949 * libio/iosetvbuf.c: Likewise.
27950 * libio/ioungetc.c: Likewise.
27951 * libio/ioungetwc.c: Likewise.
27952 * libio/iovdprintf.c: Likewise.
27953 * libio/iovsprintf.c: Likewise.
27954 * libio/iovsscanf.c: Likewise.
27955 * libio/memstream.c: Likewise.
27956 * libio/obprintf.c: Likewise.
27957 * libio/oldfileops.c: Likewise.
27958 * libio/oldiofclose.c: Likewise.
27959 * libio/oldiofdopen.c: Likewise.
27960 * libio/oldiofopen.c: Likewise.
27961 * libio/oldiopopen.c: Likewise.
27962 * libio/oldstdfiles.c: Likewise.
27963 * libio/putc.c: Likewise.
27964 * libio/setbuf.c: Likewise.
27965 * libio/setlinebuf.c: Likewise.
27966 * libio/stdfiles.c: Likewise.
27967 * libio/strops.c: Likewise.
27968 * libio/vasprintf.c: Likewise.
27969 * libio/vscanf.c: Likewise.
27970 * libio/vsnprintf.c: Likewise.
27971 * libio/vswprintf.c: Likewise.
27972 * libio/wfiledoalloc.c: Likewise.
27973 * libio/wfileops.c: Likewise.
27974 * libio/wgenops.c: Likewise.
27975 * libio/wmemstream.c: Likewise.
27976 * libio/wstrops.c: Likewise.
27977 * libio/__fpurge.c: Likewise.
27978 * libio/__fsetlocking.c: Likewise.
27979 * assert/assert.c: Likewise.
27980 * debug/fgets_chk.c: Likewise.
27981 * debug/fgets_u_chk.c: Likewise.
27982 * debug/fread_chk.c: Likewise.
27983 * debug/fread_u_chk.c: Likewise.
27984 * debug/gets_chk.c: Likewise.
27985 * debug/obprintf_chk.c: Likewise.
27986 * debug/vasprintf_chk.c: Likewise.
27987 * debug/vdprintf_chk.c: Likewise.
27988 * debug/vsnprintf_chk.c: Likewise.
27989 * debug/vsprintf_chk.c: Likewise.
27990 * malloc/mtrace.c: Likewise.
27991 * misc/error.c: Likewise.
27992 * misc/syslog.c: Likewise.
27993 * stdio-common/asprintf.c: Likewise.
27994 * stdio-common/fxprintf.c: Likewise.
27995 * stdio-common/getw.c: Likewise.
27996 * stdio-common/isoc99_fscanf.c: Likewise.
27997 * stdio-common/isoc99_scanf.c: Likewise.
27998 * stdio-common/isoc99_vfscanf.c: Likewise.
27999 * stdio-common/isoc99_vscanf.c: Likewise.
28000 * stdio-common/isoc99_vsscanf.c: Likewise.
28001 * stdio-common/printf-prs.c: Likewise.
28002 * stdio-common/printf_fp.c: Likewise.
28003 * stdio-common/printf_fphex.c: Likewise.
28004 * stdio-common/printf_size.c: Likewise.
28005 * stdio-common/putw.c: Likewise.
28006 * stdio-common/scanf.c: Likewise.
28007 * stdio-common/sprintf.c: Likewise.
28008 * stdio-common/tmpfile.c: Likewise.
28009 * stdio-common/vfprintf.c: Likewise.
28010 * stdio-common/vfscanf.c: Likewise.
28011 * stdlib/strfmon_l.c: Likewise.
28012 * sunrpc/openchild.c: Likewise.
28013 * sunrpc/xdr_stdio.c: Likewise.
28014 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28015 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28017 2012-05-24 Roland McGrath <roland@hack.frob.com>
28019 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28021 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28022 in the third column, to generate for the shared library an IFUNC
28023 that uses _dl_vdso_vsym.
28024 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28025 * Makeconfig (object-suffixes-noshared): New variable.
28027 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28028 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28029 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28030 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28033 * include/sys/time.h (__gettimeofday): Remove macro.
28034 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28035 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28037 (__gettimeofday): Add libc_hidden_def.
28038 (gettimeofday): Add libc_hidden_weak.
28039 * sysdeps/mach/gettimeofday.c: Likewise.
28040 * sysdeps/posix/gettimeofday.c: Likewise.
28041 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28042 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28043 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28044 (__gettimeofday_internal): Remove strong_alias.
28045 (__gettimeofday): Add libc_hidden_def.
28046 (gettimeofday): Add libc_hidden_weak.
28047 * sysdeps/unix/syscalls.list (gettimeofday):
28048 Remove __gettimeofday_internal alias.
28050 2012-05-24 Daniel Jacobowitz <drow@false.org>
28051 H.J. Lu <hongjiu.lu@intel.com>
28054 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28055 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28056 (largebin_index_32_big): New.
28057 (largebin_index): Use it for 16-byte alignment.
28058 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28059 correction with front_misalign.
28061 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28089 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28090 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28092 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28096 * math/libm-test.inc (exp_test): Add test from bug 14036.
28097 (pow_test): Add test from bug 10846.
28099 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28101 (special_function): Do not include flags in test name.
28102 (parse_args): Likewise.
28103 * sysdeps/i386/fpu/libm-test-ulps: Update.
28104 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28105 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28106 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28109 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28111 * math/libm-test.inc ("Philosophy"): Update comment about
28113 (UNDERFLOW_EXCEPTION): New macro.
28114 (UNDERFLOW_EXCEPTION_OK): Likewise.
28115 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28116 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28117 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28118 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28119 (INVALID_EXCEPTION_OK): Update value.
28120 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28121 (OVERFLOW_EXCEPTION_OK): Likewise.
28122 (IGNORE_ZERO_INF_SIGN): Likewise.
28123 (test_exceptions): Handle underflow exceptions.
28124 (acos_test): Update for underflow exception expectations.
28125 (cexp_test): Likewise.
28126 (clog_test): Likewise.
28127 (clog10_test): Likewise.
28128 (csqrt_test): Likewise.
28129 (ctan_test): Likewise.
28130 (ctanh_test): Likewise.
28131 (exp_test): Likewise.
28132 (exp10_test): Likewise.
28133 (exp2_test): Likewise.
28134 (expm1_test): Likewise.
28135 (fma_test): Likewise.
28136 (j0_test): Likewise.
28137 (jn_test): Likewise.
28138 (nexttoward_test): Likewise.
28139 (pow_test): Likewise.
28140 (scalbn_test): Likewise.
28141 (scalbln_test): Likewise.
28142 (tan_test): Likewise.
28143 (y1_test): Likewise.
28144 * sysdeps/i386/fpu/libm-test-ulps: Update.
28145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28147 2012-05-23 David S. Miller <davem@davemloft.net>
28149 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28150 (__libc_sigaction): Remove unused local variables.
28152 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28154 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28156 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28158 mktime: avoid signed integer overflow
28159 * time/mktime.c (__mktime_internal): Do not mishandle the case
28160 where diff == INT_MIN.
28162 mktime: simplify computation of average
28163 * time/mktime.c (ranged_convert): Use new time_t_avg function
28164 instead of rolling our own (probably-slower) code.
28166 mktime: do not assume signed right shift propagates sign bit
28167 * time/mktime.c (isdst_differ): New static function.
28168 (__mktime_internal): No need to normalize tm_isdst now.
28169 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28172 mktime: merge another wrapv change from gnulib
28173 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28174 from some compilers.
28176 mktime: remove incorrect attempt at unusual arithmetics
28177 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28178 The code didn't really work on such machines anyway.
28179 (TYPE_MINIMUM): Assume two's complement.
28180 (twos_complement_arithmetic): Verify that long_int and time_t
28181 are two's complement (or unsigned, in the latter case).
28183 mktime: check signed shifts on long_int and time_t, too
28184 * time/mktime.c (SHR): Check that shifts work as desired
28185 on the types long_int and time_t too, as SHR is used on
28188 mktime: do not assume 'long' is wide enough
28189 * time/mktime.c (verify): Move decl up.
28190 (long_int): New type.
28191 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28192 to remove assumption in the code that 'long' is wide enough to
28193 store year values. This assumption is not true on x32 and on
28194 some non-glibc platforms.
28196 mktime: merge wrapv change from gnulib
28197 * time/mktime.c (WRAPV): New macro.
28198 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28199 (guess_time_tm, __mktime_internal): Do not assume that signed
28200 integer overflow wraps around; modern compilers generate code
28201 where this assumption is no longer valid.
28203 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28205 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28206 Replace "jmp L(pseudo_end)" with "ret".
28207 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28210 2012-05-23 Andreas Jaeger <aj@suse.de>
28212 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28213 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28215 2012-05-23 Andreas Jaeger <aj@suse.de>
28216 Maximilian Attems <max@stro.at>
28218 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28221 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28223 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28224 code so that pseudo_end is just ret and the stack pointer is
28225 correct also for static library in error case.
28227 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28229 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28230 move to syscalls.list.
28231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28236 * manual/install.texi (Running make install): Do not mention Linux
28237 kernel version for which pt_chown is not needed.
28238 (Linux): Do not mention problems with nscd with 2.0 kernels.
28239 * INSTALL: Regenerated.
28241 2012-05-23 Andreas Jaeger <aj@suse.de>
28243 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28244 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28246 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28247 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28248 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28249 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28250 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28251 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28252 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28253 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28254 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28255 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28256 * sysdeps/unix/sysv/linux/bits/in.h
28257 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28259 2012-05-22 Roland McGrath <roland@hack.frob.com>
28261 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28262 (PREPARE_VERSION): Just use assert instead, it will be elided
28263 under [NDEBUG] anyway.
28265 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28267 * sysdeps/unix/sysv/linux/Makefile: Include
28268 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28269 (sysdep_routines): Remove sysctl.
28270 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28271 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28272 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28273 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28274 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28276 2012-05-22 Andreas Jaeger <aj@suse.de>
28278 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28279 that pseudo_end is just ret and the stack pointer is correct also
28280 for static library in error case.
28282 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28285 * nss/nsswitch.c (defconfig_entries): New variable.
28286 (__nss_database_lookup): Don't leak defconfig entries.
28287 (nss_parse_service_list): Don't leak on error paths.
28288 (free_database_entries): New function.
28289 (free_defconfig): New function.
28290 (free_mem): Move common code to free_database_entries.
28292 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28294 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28296 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28298 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28299 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28300 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28302 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28303 (INTERNAL_SYSCALL_TYPES): Likewise.
28304 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28305 (LOAD_REGS_TYPES_[1-6]): Likewise.
28306 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28307 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28309 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28311 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28312 copysignl for GLIBC_2_0.
28313 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28314 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28315 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28316 logbl for GLIBC_2_0.
28317 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28318 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28320 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28322 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28323 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28325 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28328 * time/mktime.c: Update copyright years.
28330 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28332 mktime: merge comment-quoting-style change from gnulib
28333 * time/mktime.c: Quote 'like this' in comments.
28334 The GNU coding standards suggest that we no longer quote `like this',
28335 as "`" and "'" are typically rendered asymmetrically nowadays.
28336 The typical gnulib style is to quote 'like this' when quoting
28337 code, and "like this" when quoting English.
28339 * time/mktime.c (compile-command): Add "-I.".
28341 mktime: merge mktime-internal.h change from gnulib
28342 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28344 mktime: merge time_r change from gnulib
28345 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28347 mktime: merge DEBUG change from gnulib
28348 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28349 case system <time.h> has a #define.
28351 mktime: merge <sys/types.h> change from gnulib
28352 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28353 since <time.t> is now guaranteed to define time_t.
28355 mktime: merge HAVE_CONFIG_H change from gnulib
28356 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28358 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28360 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28363 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28365 (struct rusage): Use anonymous union to pad each field to
28368 2012-05-21 David S. Miller <davem@davemloft.net>
28370 * Makefules (o-iterator): Remove .s cases.
28371 (compile-command.s): Delete.
28372 (COMPILE.s): Delete.
28373 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28375 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28377 * configure.in (libc_cv_predef_stack_protector): Only consider
28378 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28379 * configure: Regenerated.
28381 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28383 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28384 New macro. Use R*LP on int and pointer.
28385 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28386 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28387 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28388 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28390 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28391 [__WORDSIZE_TIME64_COMPAT32] instead of
28392 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28393 (struct utmp): Likewise.
28394 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28395 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28397 (__WORDSIZE_TIME64_COMPAT32): This.
28398 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28399 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28400 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28401 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28402 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28403 (__WORDSIZE_TIME64_COMPAT32): New macro.
28405 2012-05-21 Andreas Jaeger <aj@suse.de>
28407 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28408 only if [SHARED]. Add prototype for __wcschr_ia32.
28410 2012-05-21 Roland McGrath <roland@hack.frob.com>
28412 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28413 of %rbp unmolested in the jmp_buf while mangling the low bits.
28414 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28415 unmolested high bits of %rbp while demangling the low bits.
28416 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28418 2012-05-21 Andreas Jaeger <aj@suse.de>
28420 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28421 * sunrpc/svc_simple.c: Use it for registerrpc.
28422 * sunrpc/xcrypt.c: Use it for passwd2des.
28424 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28426 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28428 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28429 Don't define if [__SYSCALL_WORDSIZE != 32].
28430 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28433 2012-05-21 Bruno Haible <bruno@clisp.org>
28434 Andreas Jaeger <aj@suse.de>
28436 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28437 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28438 inptr and inend for must_buffer_ch.
28439 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28440 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28441 * stdio-common/Makefile (tests): Remove bug15.
28442 (bug15-ENV): Remove macro.
28443 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28446 2012-05-19 Andreas Jaeger <aj@suse.de>
28447 Roland McGrath <roland@hack.frob.com>
28449 * manual/contrib.texi: Completely rewritten. It contains now an
28450 alphabetical list of contributors and their contributions.
28452 2012-05-21 Richard Henderson <rth@twiddle.net>
28454 * misc/getauxval.c (__getauxval): Use unsigned long int.
28455 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28456 (getauxval): Use unsigned long int.
28458 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28460 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28462 2012-05-21 Roland McGrath <roland@hack.frob.com>
28464 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28465 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28466 __alignof__ (long double).
28468 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28472 2012-05-20 Richard Henderson <rth@twiddle.net>
28474 * misc/getauxval.c: New file.
28475 * misc/sys/auxv.h: New file.
28476 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28477 (routines): Add getauxval.
28478 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28479 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28480 * elf/dl-sysdep.c (_dl_auxv): Remove.
28481 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28482 * elf/dl-support.c (_dl_auxv): New variable.
28483 (_dl_aux_init): Initialize it.
28484 * manual/startup.texi (Auxiliary Vector): New node.
28485 * sysdeps/generic/bits/hwcap.h: New file.
28486 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28487 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28488 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28489 * sysdeps/sparc/sysdep.h: ... here. Include it.
28490 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28491 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28497 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28503 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28507 2012-05-19 David S. Miller <davem@davemloft.net>
28509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28511 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28514 * math/s_ccosh.c: Include <float.h>
28515 (__ccosh): Avoid internal overflow calculating sinh and cosh
28516 values before multiplying by sin and cos values.
28517 * math/s_ccoshf.c: Likewise.
28518 * math/s_ccoshl.c: Likewise.
28519 * math/s_csin.c: Likewise.
28520 * math/s_csinf.c: Likewise.
28521 * math/s_csinl.c: Likewise.
28522 * math/s_csinh.c: Likewise.
28523 * math/s_csinhf.c: Likewise.
28524 * math/s_csinhl.c: Likewise.
28525 * math/libm-test.inc (ccos_test): Add more tests.
28526 (ccosh_test): Likewise.
28527 (csin_test): Likewise.
28528 (csinh_test): Likewise.
28529 * sysdeps/i386/fpu/libm-test-ulps: Update.
28530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28532 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28534 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28535 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28537 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28539 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28541 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28542 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28543 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28544 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28545 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28546 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28547 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28548 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28549 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28550 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28551 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28552 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28553 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28554 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28555 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28556 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28557 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28558 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28559 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28560 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28561 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28562 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28563 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28564 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28565 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28566 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28567 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28568 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28569 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28570 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28571 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28573 2012-05-18 Andreas Jaeger <aj@suse.de>
28575 * csu/.gitignore: Delete.
28577 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28579 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28580 (timex): Use __syscall_slong_t.
28582 2012-05-18 Andreas Jaeger <aj@suse.de>
28583 Carlos O'Donell <carlos_odonell@mentor.com>
28585 * manual/install.texi (Configuring and compiling): Update
28586 description about files modified in the source directory.
28587 * INSTALL: Regenerated.
28589 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28591 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28592 value. Use "or" to set return value to -1.
28593 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28594 negate return value.
28596 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28598 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28599 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28600 failure if the compiler has Graphite support disabled.
28601 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28603 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28604 CFLAGS-memmove.c): Likewise.
28605 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28608 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28610 * sysdeps/x86_64/x32/_itoa.h: New file.
28612 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28613 getdents system call only if kernel and user dirents have the
28614 same d_ino and d_off.
28616 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28617 LLONG_MAX != LONG_MAX.
28618 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28619 (_fitoa_word): Likewise.
28621 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28623 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28624 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28625 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28627 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28628 include <bits/wordsize.h>. Check __x86_64__ instead of
28630 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28631 if __x86_64__ is defined. Use anonymous union on fpstate.
28633 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28636 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28638 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28639 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28640 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28641 Refer to _rtld_local_ro instead of _rtld_global_ro.
28642 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28644 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28646 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28648 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28649 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28650 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28652 * sysdeps/powerpc/powerpc32/dl-machine.c
28653 (__elf_machine_runtime_setup) [PROF]: Don't reference
28656 2012-05-18 Andreas Jaeger <aj@suse.de>
28658 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28659 function only available for GCCs before 3.4 since GCC 3.4
28660 introduced a builtin.
28662 (llrintf): Likewise.
28663 (llrint): Likewise.
28670 (nearbyint): Likewise.
28671 (nearbyintf): Likewise.
28675 (floorf): Likewise.
28677 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28679 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28680 on both fields and cast pointer to __syscall_ulong_t.
28682 * bits/types.h (__fsword_t): New type.
28683 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28684 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28685 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28686 (__FSWORD_T_TYPE): Likewise.
28687 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28688 (__FSWORD_T_TYPE): Likewise.
28689 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28690 (__FSWORD_T_TYPE): Likewise.
28691 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28692 (__FSWORD_T_TYPE): Likewise.
28693 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28694 __SWORD_TYPE with __fsword_t.
28695 (statfs64): Likewise.
28697 2012-05-17 David S. Miller <davem@davemloft.net>
28699 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28701 2012-05-17 Andreas Jaeger <aj@suse.de>
28703 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28706 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28708 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28710 2012-05-17 Andreas Jaeger <aj@suse.de>
28712 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28715 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28717 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28719 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28721 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28722 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28724 2012-05-17 Andreas Jaeger <aj@suse.de>
28725 Carlos O'Donell <carlos_odonell@mentor.com>
28728 * sysdeps/x86_64/multiarch/init-arch.h
28729 (bit_YMM_Usable): Rename to...
28730 (bit_AVX_Usable): ... this.
28731 (bit_FMA4_Usable): New macro.
28732 (bit_XMM_state): New macro.
28733 (bit_YMM_state): New macro.
28734 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28735 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28736 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28737 (CPUID_OSXSAVE): New macro.
28738 (CPUID_AVX): New macro.
28739 (CPUID_FMA4): New macro.
28740 (index_YMM_Usable): Rename to...
28741 (index_AVX_Usable): ... this.
28742 (HAS_AVX): Use HAS_ARCH_FEATURE.
28743 (HAS_FMA4): Likewise.
28744 (HAS_YMM_USABLE): Remove.
28745 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28746 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28748 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28749 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28750 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28751 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28752 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28754 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28756 * math/libm-test.c: Support platforms without multiple rounding modes.
28757 * math/bug-nextafter.c: Support platforms without FP exceptions.
28758 * math/bug-nexttoward.c: Likewise.
28759 * math/test-fenv.c: Likewise.
28760 * math/test-misc.c: Likewise.
28761 * stdlib/bug-getcontext.c: Likewise.
28763 2012-05-17 Andreas Jaeger <aj@suse.de>
28765 * manual/examples/search.c (critter_cmp): Change signature to
28767 * manual/string.texi (Collation Functions): Likewise.
28769 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28771 * bits/types.h: Fold copyright years.
28772 * bits/typesizes.h: Likewise.
28773 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28774 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28775 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28776 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28777 * time/time.h: Likewise.
28779 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28782 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28783 in instead of returning them. Return void.
28784 (__libc_mallinfo): Accumulate over all arenas.
28785 (__malloc_stats): Adjust for change in int_mallinfo interface.
28787 2012-05-16 Roland McGrath <roland@hack.frob.com>
28790 * configure.in (NM): Add AC_CHECK_TOOL for it.
28791 (libc_extra_cflags): New substituted variable.
28792 Check for -fstack-protector being used implicitly.
28793 * configure: Regenerated.
28794 * config.make.in (config-extra-cflags): New variable,
28795 gets @libc_extra_cflags@.
28796 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28799 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28800 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28801 * configure: Regenerated.
28802 * config.make.in (CPPUNDEFS): New substituted variable.
28803 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28804 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28805 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28807 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28809 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28810 (mq_attr): Use __syscall_slong_t.
28812 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28814 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28815 Check __x86_64__ instead of __WORDSIZE.
28816 (_STAT_VER_LINUX): Likewise.
28817 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28818 __syscall_ulong_t and __syscall_slong_t.
28819 (stat64): Likewise.
28821 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28823 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28825 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28827 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28829 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28831 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28834 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28835 include <bits/wordsize.h>. Check __x86_64__ instead of
28837 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28839 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28841 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28842 include <bits/wordsize.h>. Check __x86_64__ instead of
28844 (user_regs_struct): Use "__extension__ unsigned long long"
28845 instead of "unsigned long" if __x86_64__ is defined.
28846 (user): Likewise. Pad after pointer field if __ILP32__ is
28849 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28851 * configure.in (makeinfo): Require version 4.5 or later. Allow
28853 * configure: Regenerated.
28854 * manual/install.texi (texinfo): Increase version requirement to
28856 * INSTALL: Regenerated.
28858 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28860 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28862 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28864 * sysdeps/x86_64/x32/ffs.c: New file.
28866 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28868 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28869 defined. Use __syscall_ulong_t.
28870 (shminfo): Use __syscall_ulong_t.
28871 (shm_info): Likewise.
28873 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28876 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28878 (msgqnum_t): Use __syscall_ulong_t.
28879 (msglen_t): Likewise.
28880 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28883 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28884 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28886 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28888 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28889 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28891 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28894 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28895 include <bits/wordsize.h>. Check __x86_64__ instead of
28898 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28899 "unsigned long long int" if __x86_64__ is defined.
28900 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28902 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28903 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28904 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28906 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28908 (GET_PC): Cast to uintptr_t first.
28909 (GET_FRAME): Likewise.
28910 (GET_STACK): Likewise.
28912 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28913 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28914 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28915 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28916 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28917 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28918 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28919 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28920 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28921 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28922 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28923 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28924 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28925 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28926 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28927 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28928 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28929 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28930 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28931 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28932 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28933 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28934 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28935 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28936 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28937 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28938 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28939 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28940 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28942 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28944 * Makerules (+depfiles): Also collect depfiles from .oS in
28946 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28947 .oS, $(libnldbl-routines)).
28949 * Makerules (native-compile-mkdep-flags): Define.
28950 * sunrpc/Makefile (extra-objs): Add $(addprefix
28951 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28952 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28953 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28954 calling $(make-target-directory).
28956 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28958 * bits/types.h (__snseconds_t): Removed.
28959 * time/time.h (struct timespec): Replace __snseconds_t with
28961 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28962 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28964 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28965 (__SNSECONDS_T_TYPE): Likewise.
28966 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28967 (__SNSECONDS_T_TYPE): Likewise.
28968 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28969 (__SNSECONDS_T_TYPE): Likewise.
28971 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28973 * sysdeps/mach/hurd/bits/typesizes.h
28974 (__SYSCALL_SLONG_TYPE): New macro.
28975 (__SYSCALL_ULONG_TYPE): Likewise.
28977 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28979 * bits/types.h (__syscall_slong_t): New type.
28980 (__syscall_ulong_t): Likewise.
28982 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28983 (__SYSCALL_ULONG_TYPE): Likewise.
28984 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28985 (__SYSCALL_SLONG_TYPE): Likewise.
28986 (__SYSCALL_ULONG_TYPE): Likewise.
28987 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28988 (__SYSCALL_SLONG_TYPE): Likewise.
28989 (__SYSCALL_ULONG_TYPE): Likewise.
28990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28991 (__SYSCALL_SLONG_TYPE): Likewise.
28992 (__SYSCALL_ULONG_TYPE): Likewise.
28994 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28996 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28997 Add sigaltstack-offsets.sym.
28998 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28999 <sigaltstack-offsets.h>.
29000 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29001 longjmp_msg pointer.
29002 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29003 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29005 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29007 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29009 * elf/stackguard-macros.h: Remove file.
29010 * sysdeps/generic/stackguard-macros.h: New file.
29011 * sysdeps/i386/stackguard-macros.h: Likewise.
29012 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29013 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29014 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29015 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29016 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29017 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29018 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29019 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29020 <elf/stackguard-macros.h>.
29023 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29024 __aligned__ in attribute.
29025 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29026 (gregset_t): Likewise.
29028 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29030 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29031 * sysdeps/x86_64/64/Implies-after: Here. New file.
29032 * sysdeps/x86_64/x32/Implies-after: New file.
29034 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29036 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29037 and access return value for _dl_profile_fixup. Use R10_LP to
29040 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29042 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29044 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29046 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29047 * sysdeps/x86_64/x32/sysdep.h: New file.
29049 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29051 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29052 * sysdeps/x86_64/setjmp.S: Likewise.
29054 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29056 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29057 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29058 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29059 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29060 remove unused global constant.
29062 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29064 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29065 include of <not-cancel.h>.
29067 2012-05-15 Roland McGrath <roland@hack.frob.com>
29069 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29071 2012-05-15 Jeff Law <law@redhat.com>
29072 Andreas Jaeger <aj@suse.de>
29075 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29077 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29078 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29079 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29080 code changing __hst_map_handle.map.
29082 2012-05-15 Roland McGrath <roland@hack.frob.com>
29084 * configure.in (sysnames): Look for Implies-before and Implies-after
29086 * configure: Regenerated.
29088 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29090 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29091 8-byte data alignment with LP_SIZE alignment.
29093 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29095 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29098 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29100 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29102 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29104 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29105 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29106 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29108 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29110 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29112 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29113 (stackinfo_sub_sp): Likewise.
29115 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29117 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29122 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29125 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29127 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29130 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29132 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29134 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29136 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29137 into R11_LP and load __x86_64_shared_cache_size_half into
29140 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29142 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29145 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29147 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29149 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29151 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29153 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29154 powerpc32/power7/fpu/s_logb.c via #include.
29155 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29156 powerpc32/power7/fpu/s_logbf.c via #include.
29157 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29158 powerpc32/power7/fpu/s_logbl.c via #include.
29160 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29162 * README.libm: Remove file.
29164 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29166 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29167 count for x32. Use R*_LP and omit operand-size suffix.
29169 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29171 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29172 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29173 * sysdeps/x86_64/x32/shlib-versions: New file.
29175 2012-05-14 Roland McGrath <roland@hack.frob.com>
29177 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29178 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29179 Use _dl_fatal_printf instead.
29181 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29183 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29184 set if not set by the user. Do not allow for being unset.
29185 * sysdeps/unix/sysv/linux/configure: Regenerated.
29187 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29189 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29190 the `q' suffix from lea and replace .quad with ASM_ADDR.
29192 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29194 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29195 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29197 (PTR_DEMANGLE): Likewise.
29199 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29201 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29203 (ASM_ADDR): Likewise.
29204 (RAX_LP): Likewise.
29205 (RBP_LP): Likewise.
29206 (RBX_LP): Likewise.
29207 (RCX_LP): Likewise.
29208 (RDI_LP): Likewise.
29209 (RSI_LP): Likewise.
29210 (RSP_LP): Likewise.
29213 (R10_LP): Likewise.
29214 (R10_LP): Likewise.
29215 (R11_LP): Likewise.
29216 (R12_LP): Likewise.
29217 (R13_LP): Likewise.
29218 (R14_LP): Likewise.
29219 (R15_LP): Likewise.
29221 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29223 * sysdeps/x86_64/x32/dl-machine.h: New file.
29225 2012-05-14 Andreas Jaeger <aj@suse.de>
29227 * manual/Makefile (subdir): Remove export of subdir.
29228 (all): Remove target.
29229 (.PHONY): Remove all from list.
29230 (mkinstalldirs): Remove.
29231 (.PHONY): Remove installdirs from list.
29232 ($(inst_infodir)/libc.info): Use make-target-directory.
29233 (installdirs): Remove.
29234 (subdir_%): Remove.
29235 (glibc-targets): Remove.
29238 ($(objpfx)stubs ../po/manual.pot): Remove.
29239 ($(objpfx)stamp%): Remove.
29240 (make-target-directory): Remove.
29241 (subdir_install): Remove.
29242 (routines): Remove.
29249 * manual/.gitignore: Remove, it's not needed anymore.
29250 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29252 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29254 (texis): Renamed to $(objpfx)texis.
29255 (texis-path): New, contains path to generated files.
29256 (chapters.%): Use texis-path for complete path, add extra argument
29258 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29259 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29260 (summary,texi, stamp-summary): Use complete path of
29261 files. Generate files in build dir.
29262 (dir-add.texi): Build in build dir.
29263 (libm-err.texi,stamp-libm-err): Likewise.
29264 (version.texi, stamp-version): Likewise.
29265 (.%c.texi): Likewise.
29266 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29267 (mostlyclean): Remove target.
29268 (realclean): Remove target.
29269 (generated): Add new variable with contents from mostlyclean and
29270 realclean, remove entries duplicated in common-mostlyclean, add
29271 stamp-libm-err and stamp-version.
29272 (generated-dirs): Add libc directory.
29273 ($(inst_infodir)/libc.info): Install files from build dir.
29275 * manual/install.texi (Configuring and compiling): Adjust since
29276 the info files are not part of the tar ball anymore.
29278 2012-05-14 Andreas Jaeger <aj@suse.de>
29280 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29283 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29286 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29287 to 2.2.0 where earlier.
29288 * sysdeps/unix/sysv/linux/configure: Regenerated.
29289 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29290 Remove conditional code.
29291 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29292 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29293 Remove conditional code.
29294 [!__NR_lchown]: Likewise.
29295 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29296 [__NR_lchown]: Likewise.
29297 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29298 comment referencing __ASSUME_LCHOWN_SYSCALL.
29299 * sysdeps/unix/sysv/linux/i386/sigaction.c
29300 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29301 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29302 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29303 Remove conditional code.
29304 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29305 (__protocol_available): Remove #if 0 code.
29306 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29308 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29309 * sysdeps/unix/sysv/linux/kernel-features.h
29310 (__ASSUME_GETCWD_SYSCALL): Don't define.
29311 (__ASSUME_REALTIME_SIGNALS): Likewise.
29312 (__ASSUME_PREAD_SYSCALL): Likewise.
29313 (__ASSUME_PWRITE_SYSCALL): Likewise.
29314 (__ASSUME_POLL_SYSCALL): Likewise.
29315 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29316 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29318 (__ASSUME_SIOCGIFNAME): Don't define.
29319 (__ASSUME_MSG_NOSIGNAL): Likewise.
29320 (__ASSUME_SENDFILE): Define unconditionally.
29321 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29322 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29324 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29325 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29326 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29327 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29328 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29329 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29330 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29332 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29333 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29335 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29336 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29338 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29339 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29341 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29342 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29344 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29345 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29347 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29348 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29350 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29351 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29353 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29354 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29355 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29356 Remove conditional code.
29357 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29358 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29359 Remove conditional code.
29360 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29361 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29362 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29363 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29364 Remove conditional code.
29365 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29366 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29367 Remove conditional code.
29368 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29369 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29370 Remove conditional code.
29371 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29372 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29373 Remove conditional code.
29374 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29375 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29376 Remove conditional code.
29377 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29378 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29379 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29380 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29381 * sysdeps/unix/sysv/linux/sigaction.c
29382 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29383 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29384 * sysdeps/unix/sysv/linux/sigpending.c
29385 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29386 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29387 * sysdeps/unix/sysv/linux/sigprocmask.c
29388 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29389 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29390 * sysdeps/unix/sysv/linux/sigsuspend.c
29391 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29392 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29393 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29394 (__libc_missing_rt_sigs): Remove.
29395 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29396 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29397 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29398 Remove conditional code.
29399 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29400 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29402 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29403 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29404 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29405 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29407 2012-05-14 Andreas Jaeger <aj@suse.de>
29409 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29410 it's not used in glibc.
29411 (__coshm1): Likewise.
29412 (__acosh1p): Likewise.
29415 * manual/string.texi (Copying and Concatenation): Add missing
29416 variable in concat example.
29417 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29419 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29422 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29423 __builtin_clzl with __builtin_clzll.
29425 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29428 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29431 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29433 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29434 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29435 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29436 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29438 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29440 * NEWS: Update ia64 info.
29442 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29444 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29447 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29449 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29450 * sysdeps/unix/syscalls.list (dup3): Likewise.
29451 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29452 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29454 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29456 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29457 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29459 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29461 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29463 (TLS_IE): Use mov/add instead of movq/addq to load thread
29465 (TLS_GD_PREFIX): New.
29468 2012-05-11 David S. Miller <davem@davemloft.net>
29470 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29471 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29472 (_FPU_SETCW): Likewise.
29474 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29476 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29477 is 32-byte aligned.
29479 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29482 * iconvdata/gb18030.c: Update tables.
29483 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29484 characters specially.
29485 (BODY for TO_LOOP): Add encoding of missing ranges.
29487 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29490 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29491 * sysdeps/mach/hurd/dup3.c: Likewise.
29492 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29493 * sysdeps/powerpc/memmove.c:: Likewise.
29495 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29497 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29498 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29500 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29502 * elf/elf.h (R_X86_64_RELATIVE64): New.
29503 (R_X86_64_NUM): Updated.
29504 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29505 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29506 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29507 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29508 tst-quad1pie tst-quad2pie
29509 (modules-names): Add tst-quadmod1 tst-quadmod2.
29510 ($(objpfx)tst-quad1): New dependency.
29511 ($(objpfx)tst-quad2): Likewise.
29512 ($(objpfx)tst-quad1pie): Likewise.
29513 ($(objpfx)tst-quad2pie): Likewise.
29514 * sysdeps/x86_64/tst-quad1.c: New file.
29515 * sysdeps/x86_64/tst-quad1pie.c: New file.
29516 * sysdeps/x86_64/tst-quad2.c: Likewise.
29517 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29518 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29519 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29520 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29521 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29523 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29525 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29526 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29527 * streams/stropts.h (t_scalar_t): Define type.
29529 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29530 (_PATH_PRESERVE): Set to "/var/lib".
29531 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29533 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29536 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29537 if __dir_mkfile succeeded.
29539 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29540 checking for _hurd_dtablesize. Unlock it right after having
29541 finished _hurd_dtable allocation.
29543 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29545 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29546 * sysdeps/mach/hurd/configure: Regenerated.
29547 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29548 special-casing to...
29549 * sysdeps/gnu/configure.in: ... this new file.
29550 * sysdeps/unix/sysv/linux/configure: Regenerated.
29551 * sysdeps/gnu/configure: New generated file.
29553 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29554 for Linux: use nsec instead of usec, as well as:
29555 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29556 members of type struct timespec.
29557 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29559 (struct stat64): Likewise.
29560 (_STATBUF_ST_NSEC): New macro.
29561 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29563 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29564 __strtoul_internal rather than strtoul.
29566 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29568 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29571 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29573 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29574 which preserves existing values.
29575 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29577 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29579 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29580 TIMEOUT values. Return EINVAL for NFDS values either negative or
29581 greater than FD_SETSIZE.
29583 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29585 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29586 allocated, call __vm_protect to finish enabling the existing space, and
29587 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29588 allocate the remainder.
29590 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29592 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29593 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29595 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29597 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29598 sysdeps/mach/hurd/readlink.c.
29600 * posix/tst-sysconf.c (posix_options): Only use
29601 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29602 _POSIX_SYNCHRONIZED_IO when they are defined
29603 * sysdeps/mach/hurd/bits/posix_opt.h:
29604 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29605 (_XOPEN_REALTIME): Undefine macro.
29606 (_XOPEN_REALTIME_THREADS): Undefine macro.
29607 (_XOPEN_SHM): Undefine macro.
29608 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29610 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29612 (_POSIX_ASYNC_IO): Undefine macro.
29613 (_POSIX_PRIORITIZED_IO): Undefine macro.
29614 (_POSIX_SPIN_LOCKS): Define macro to -1.
29616 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29617 SA_NODEFER, SA_RESETHAND.
29618 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29619 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29622 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29624 * elf/Makefile (pldd-modules): Define unconditionally.
29626 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29628 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29630 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29632 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29633 Return ENOENT when name is empty.
29634 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29636 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29638 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29640 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29642 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29644 Fix mlock in all cases except non-readable pages.
29645 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29646 instead of VM_PROT_ALL as parameter to __vm_wire function.
29648 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29649 (__mkdir): When path is `/', just fail with EEXIST.
29650 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29652 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29654 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29655 <sys/uio.h> (for writev).
29656 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29657 and <sys/param.h> (for MIN).
29659 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29661 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29662 REQUESTED_TIME. Properly set the remaining time and return EINTR
29665 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29667 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29668 Depend on against $(link-rpcuserlibs).
29670 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29672 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29673 (__libc_stack_end): Do not use attribute_relro.
29674 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29675 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29676 to libthread-provided value.
29677 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29680 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29683 * bits/libc-lock.h (__libc_once_get): New macro.
29684 * sysdeps/mach/bits/libc-lock.h: Likewise.
29685 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29686 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29687 instead of using implementation details.
29689 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29690 * libio/freopen.c: Likewise.
29691 * libio/freopen64.c: Likewise.
29692 * misc/syslog.c: Likewise.
29693 * nscd/connections.c: Likewise.
29694 * nscd/netgroupcache.c: Likewise.
29695 * sysdeps/posix/getcwd.c: Likewise.
29697 2012-05-10 Roland McGrath <roland@hack.frob.com>
29699 * math/w_ilogbf.c: Add #include <limits.h>.
29701 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29703 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29704 path instead of returning without unlocking.
29706 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29707 immediate-write ioctls.
29708 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29710 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29712 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29713 __builtin_frame_address instead of making assumptions about the
29714 location of the return address relative to DATA. Force early load of
29715 the return address.
29716 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29717 __builtin_frame_address.
29720 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29721 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29722 implement dup3 and do some further code clean-ups.
29723 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29724 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29726 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29728 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29730 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29731 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29732 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29733 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29734 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29737 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29738 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29739 when handler == SIG_ERR, not when handler != SIG_ERR.
29741 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29743 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29744 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29747 accept4 for GNU Hurd.
29748 * include/sys/socket.h (__libc_accept4): New prototype.
29749 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29750 to implement __libc_accept4.
29751 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29753 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29755 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29756 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29757 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29758 signal-defines.sym.
29760 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29762 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29764 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29766 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29767 assertion on O_CLOEXEC flag.
29768 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29769 * hurd/intern-fd.c: Likewise.
29770 * hurd/port2fd.c: Likewise.
29772 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29775 * bits/in.h (IPV6_PKTINFO): Define new macro.
29776 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29778 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29783 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29784 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29785 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29786 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29787 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29788 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29789 * math/libm-test.inc (logb_test) : Additional logb tests.
29791 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29792 Andreas Jaeger <aj@suse.de>
29794 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29795 * configure: Regenerated.
29796 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29797 * config.make.in (link-obsolete-rpc): New substituted variable.
29798 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29799 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29800 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29801 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29802 so that libc.a contains the symbols.
29803 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29804 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29805 * sunrpc/auth_none.c: Likewise.
29806 * sunrpc/auth_unix.c: Likewise.
29807 * sunrpc/authdes_prot.c: Likewise.
29808 * sunrpc/authuxprot.c: Likewise.
29809 * sunrpc/clnt_gen.c: Likewise.
29810 * sunrpc/clnt_perr.c: Likewise.
29811 * sunrpc/clnt_raw.c: Likewise.
29812 * sunrpc/clnt_simp.c: Likewise.
29813 * sunrpc/clnt_tcp.c: Likewise.
29814 * sunrpc/clnt_udp.c: Likewise.
29815 * sunrpc/clnt_unix.c: Likewise.
29816 * sunrpc/des_crypt.c: Likewise.
29817 * sunrpc/des_soft.c: Likewise.
29818 * sunrpc/get_myaddr.c: Likewise.
29819 * sunrpc/key_call.c: Likewise.
29820 * sunrpc/key_prot.c: Likewise.
29821 * sunrpc/netname.c: Likewise.
29822 * sunrpc/pm_getmaps.c: Likewise.
29823 * sunrpc/pm_getport.c: Likewise.
29824 * sunrpc/pmap_clnt.c: Likewise.
29825 * sunrpc/pmap_prot.c: Likewise.
29826 * sunrpc/pmap_prot2.c: Likewise.
29827 * sunrpc/pmap_rmt.c: Likewise.
29828 * sunrpc/publickey.c: Likewise.
29829 * sunrpc/rpc_cmsg.c: Likewise.
29830 * sunrpc/rpc_common.c: Likewise.
29831 * sunrpc/rpc_dtable.c: Likewise.
29832 * sunrpc/rpc_prot.c: Likewise.
29833 * sunrpc/rpc_thread.c: Likewise.
29834 * sunrpc/rtime.c: Likewise.
29835 * sunrpc/svc.c: Likewise.
29836 * sunrpc/svc_auth.c: Likewise.
29837 * sunrpc/svc_raw.c: Likewise.
29838 * sunrpc/svc_run.c: Likewise.
29839 * sunrpc/svc_tcp.c: Likewise.
29840 * sunrpc/svc_udp.c: Likewise.
29841 * sunrpc/svc_unix.c: Likewise.
29842 * sunrpc/svcauth_des.c: Likewise.
29843 * sunrpc/xcrypt.c: Likewise.
29844 * sunrpc/xdr.c: Likewise.
29845 * sunrpc/xdr_array.c: Likewise.
29846 * sunrpc/xdr_float.c: Likewise.
29847 * sunrpc/xdr_intXX_t.c: Likewise.
29848 * sunrpc/xdr_mem.c: Likewise.
29849 * sunrpc/xdr_rec.c: Likewise.
29850 * sunrpc/xdr_ref.c: Likewise.
29851 * sunrpc/xdr_sizeof.c: Likewise.
29852 * sunrpc/xdr_stdio.c: Likewise.
29854 2012-05-10 Roland McGrath <roland@hack.frob.com>
29856 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29857 change. Update copyright years.
29859 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29861 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29863 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29864 Joseph Myers <joseph@codesourcery.com>
29865 Paul Pluzhnikov <ppluzhnikov@google.com>
29868 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29870 [cross-compiling] (extra-libs): Likewise.
29871 [cross-compiling] (extra-libs-others): Likewise.
29872 [cross-compiling] (librpcsvc-routines): Likewise.
29873 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29874 [cross-compiling] (omit-deps): Likewise.
29875 (sunrpc-CPPFLAGS): New variable.
29876 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29877 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29878 (cross-rpcgen-objs): New variable.
29879 (extra-objs): Append $(cross-rpcgen-objs).
29880 ($(cross-rpcgen-objs)): New rule.
29881 ($(objpfx)cross-rpcgen): Likewise.
29882 (rpcgen-cmd): Define to use $(built-program-file). Expand
29884 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29885 ($(objpfx)x%.stmp): Likewise.
29886 * sunrpc/proto.h [IS_IN_build] (_): Define.
29887 [IS_IN_build] (_libc_intl_domainname): Likewise.
29889 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29891 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29892 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29893 and R_X86_64_TPOFF64.
29895 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29897 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29898 sysdeps/unix/sysv/syscalls.list.
29901 * sysdeps/unix/sysv/syscalls.list: Remove file.
29903 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29906 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29907 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29908 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29909 (__LC_IDENTIFICATION): Make these macros useful in #if
29910 expressions, as required by C99.
29912 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29914 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29915 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29918 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29920 * stdlib/longlong.h: Updated from GCC.
29922 2012-05-09 Andreas Jaeger <aj@suse.de>
29924 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29925 default is first entry.
29926 (run_mode): Set type.
29927 (main): Remove informal message about syslog.
29928 (options): Fix typo.
29931 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29934 (llrintf): Likewise.
29935 (llrint): Likewise.
29938 (nearbyint): Likewise.
29939 (nearbyintf): Likewise.
29941 2012-05-09 Andreas Jaeger <aj@suse.de>
29942 Pedro Alves <palves@redhat.com>
29944 * nscd/nscd.c (run_mode): Use enum.
29945 (main): Cleanup coding style issue.
29947 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
29948 Andreas Jaeger <aj@suse.de>
29950 * nscd/nscd.c (go_background): Replaced with...
29951 (run_mode): ... this.
29952 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29953 (options): Add -F --foreground.
29954 (main): Implement it.
29955 (parse_opt): Parse it.
29957 2012-05-09 Andreas Jaeger <aj@suse.de>
29960 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29961 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29962 -Wconversion warning.
29963 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29966 2012-05-09 Joseph Myers <joseph@codesourcery.com>
29968 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29970 (LC_ALL): Use macro-int-constant.
29971 (LC_COLLATE): Likewise.
29972 (LC_CTYPE): Likewise.
29973 (LC_MESSAGES): Likewise.
29974 (LC_MONETARY): Likewise.
29975 (LC_NUMERIC): Likewise.
29976 (LC_TIME): Likewise.
29977 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29978 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29979 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29980 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29982 [C99-based standards] (float_t): Expect type.
29983 [C99-based standards] (double_t): Expect type.
29984 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29986 [C99-based standards] (HUGE_VALL): Likewise.
29987 [C99-based standards] (INFINITY): Likewise.
29988 [C99-based standards] (NAN): Likewise.
29989 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29990 [C99-based standards] (FP_NAN): Likewise.
29991 [C99-based standards] (FP_NORMAL): Likewise.
29992 [C99-based standards] (FP_SUBNORMAL): Likewise.
29993 [C99-based standards] (FP_ZERO): Likewise.
29994 [C99-based standards] (FP_FAST_FMA): Use
29995 optional-macro-int-constant. Specify type. Require == 1.
29996 [C99-based standards] (FP_FAST_FMAF): Likewise.
29997 [C99-based standards] (FP_FAST_FMAL): Likewise.
29998 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29999 [C99-based standards] (FP_ILOGBNAN): Likewise.
30000 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30002 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30003 [C99-based standards] (math_errhandling): Specify type.
30004 [ISO99 || ISO11] (signgam): Do not allow.
30005 [non-C99-based standards] (copysignf): Do not allow.
30006 [non-C99-based standards] (exp2f): Likewise.
30007 [non-C99-based standards] (log2f): Likewise.
30008 [non-C99-based standards] (modff): Allow.
30009 [non-C99-based standards] (erff): Do not allow.
30010 [non-C99-based standards] (erfcf): Likewise.
30011 [non-C99-based standards] (gammaf): Likewise.
30012 [non-C99-based standards] (hypotf): Likewise.
30013 [non-C99-based standards] (j0f): Likewise.
30014 [non-C99-based standards] (j1f): Likewise.
30015 [non-C99-based standards] (jnf): Likewise.
30016 [non-C99-based standards] (lgammaf): Likewise.
30017 [non-C99-based standards] (tgammaf): Likewise.
30018 [non-C99-based standards] (y0f): Likewise.
30019 [non-C99-based standards] (y1f): Likewise.
30020 [non-C99-based standards] (ynf): Likewise.
30021 [non-C99-based standards] (isnanf): Likewise.
30022 [non-C99-based standards] (acoshf): Likewise.
30023 [non-C99-based standards] (asinhf): Likewise.
30024 [non-C99-based standards] (atanhf): Likewise.
30025 [non-C99-based standards] (cbrtf): Likewise.
30026 [non-C99-based standards] (expm1f): Likewise.
30027 [non-C99-based standards] (ilogbf): Likewise.
30028 [non-C99-based standards] (log1pf): Likewise.
30029 [non-C99-based standards] (logbf): Likewise.
30030 [non-C99-based standards] (nextafterf): Likewise.
30031 [non-C99-based standards] (remainderf): Likewise.
30032 [non-C99-based standards] (rintf): Likewise.
30033 [non-C99-based standards] (scalbf): Likewise.
30034 [non-C99-based standards] (copysignl): Likewise.
30035 [non-C99-based standards] (exp2l): Likewise.
30036 [non-C99-based standards] (log2l): Likewise.
30037 [non-C99-based standards] (modfl): Allow.
30038 [non-C99-based standards] (erfl): Do not allow.
30039 [non-C99-based standards] (erfcl): Likewise.
30040 [non-C99-based standards] (gammal): Likewise.
30041 [non-C99-based standards] (hypotl): Likewise.
30042 [non-C99-based standards] (j0l): Likewise.
30043 [non-C99-based standards] (j1l): Likewise.
30044 [non-C99-based standards] (jnl): Likewise.
30045 [non-C99-based standards] (lgammal): Likewise.
30046 [non-C99-based standards] (tgammal): Likewise.
30047 [non-C99-based standards] (y0l): Likewise.
30048 [non-C99-based standards] (y1l): Likewise.
30049 [non-C99-based standards] (ynl): Likewise.
30050 [non-C99-based standards] (isnanl): Likewise.
30051 [non-C99-based standards] (acoshl): Likewise.
30052 [non-C99-based standards] (asinhl): Likewise.
30053 [non-C99-based standards] (atanhl): Likewise.
30054 [non-C99-based standards] (cbrtl): Likewise.
30055 [non-C99-based standards] (expm1l): Likewise.
30056 [non-C99-based standards] (ilogbl): Likewise.
30057 [non-C99-based standards] (log1pl): Likewise.
30058 [non-C99-based standards] (logbl): Likewise.
30059 [non-C99-based standards] (nextafterl): Likewise.
30060 [non-C99-based standards] (remainderl): Likewise.
30061 [non-C99-based standards] (rintl): Likewise.
30062 [non-C99-based standards] (scalbl): Likewise.
30063 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30064 [non-C99-based standards] (FP_*): Do not allow.
30065 [C99-based standards] (FP_*): Change to
30066 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30067 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30069 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30070 (SIG_ERR): Likewise.
30071 [X/Open-based standards] (SIG_HOLD): Likewise.
30072 (SIG_IGN): Likewise.
30073 (SIGABRT): Use macro-int-constant. Specify type. Require
30075 (SIGFPE): Likewise.
30076 (SIGILL): Likewise.
30077 (SIGINT): Likewise.
30078 (SIGSEGV): Likewise.
30079 (SIGTER): Likewise.
30080 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30081 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30082 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30083 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30084 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30085 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30086 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30087 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30088 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30089 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30090 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30091 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30092 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30093 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30094 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30095 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30096 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30097 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30098 [X/Open-based standards] (SIGTRAP): Likewise.
30099 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30100 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30101 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30102 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30103 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30106 2012-05-08 Ian Wienand <ianw@vmware.com>
30109 * time/tzset.c (__tzset_parse_tz): Update default rules for
30110 daylight time changes in the Energy Policy Act of 2005.
30112 2012-05-09 Andreas Jaeger <aj@suse.de>
30115 * elf/ldconfig.c (parse_conf): Change string to make clear that
30116 ldconfig only issued a warning if ld.so.conf does not exist.
30118 2012-05-08 David S. Miller <davem@davemloft.net>
30120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30121 movxtod instead of popping the value on the stack.
30123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30125 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30127 * config.h.in: Add HAVE_ARM_PCS_VFP.
30129 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30132 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30133 checking but the checks are disabled for any reason.
30135 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30137 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30138 and ELF64_R_TYPE with ELFW(R_TYPE).
30140 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30142 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30143 (ulimit): Likewise.
30145 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30146 (settimeofday): Likewise.
30148 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30150 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30151 a struct th_u2 inside the union, and move tu_block/tu_code into
30152 a new th_u3 union of tu_block/tu_code inside of that. Move
30153 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30154 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30155 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30156 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30157 (th_stuff): Change to th_u1.tu_stuff.
30159 (th_msg): Change to th_u1.th_u2.tu_data.
30161 2012-05-07 David S. Miller <davem@davemloft.net>
30163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30166 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30167 (SETUP_PIC_REG): Use it.
30168 (SETUP_PIC_REG_LEAF): Use it.
30170 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30174 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30176 (EXPL_FINITE): Likewise.
30177 (FLDLOG): Likewise.
30178 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30179 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30181 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30183 (EXPL_FINITE): Likewise.
30184 (FLDLOG): Likewise.
30185 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30186 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30188 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30189 test of -max_value argument for long double.
30190 * sysdeps/i386/fpu/libm-test-ulps: Update.
30191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30193 2012-05-06 David S. Miller <davem@davemloft.net>
30195 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30196 quad soft-float symbols whose references which are compiler
30198 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30200 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30204 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30206 (EXPL_FINITE): Likewise.
30207 (FLDLOG): Likewise.
30210 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30211 Adjust comments for base varying.
30212 (__expl_finite): Change alias to EXPL_FINITE.
30213 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30215 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30216 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30217 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30218 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30219 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30221 (EXPL_FINITE): Likewise.
30222 (FLDLOG): Likewise.
30225 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30226 Adjust comments for base varying.
30227 (__expl_finite): Change alias to EXPL_FINITE.
30228 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30233 * math/libm-test.inc (check_float_internal): Correct ulp
30234 calculation for subnormal expected results.
30236 2012-05-06 Andreas Jaeger <aj@suse.de>
30238 * Makeconfig (+math-flags): New, set to -frounding-math.
30239 (+cflags): Add +math-flags so that all of glibc gets compiled with
30242 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30244 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30246 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30252 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30253 (__ieee754_expl): Allow for and saturate large arguments.
30254 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30255 (u_threshold): Likewise.
30256 (__exp): Call __ieee754_exp before checking for overflow and
30258 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30259 (u_threshold): Likewise.
30260 (__expf): Call __ieee754_expf before checking for overflow and
30262 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30263 (u_threshold): Likewise.
30264 (__expl): Call __ieee754_expl before checking for overflow and
30266 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30267 (__ieee754_expl): Allow for and saturate large arguments.
30268 * math/libm-test.inc (exp_test): Add another test. Do not allow
30269 missing overflow exception on overflow.
30270 (expm1_test): Do not allow missing overflow exception on overflow.
30272 * sysdeps/i386/fpu/e_expl.c: Move to ...
30273 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30274 rather than using inline asm.
30275 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30276 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30277 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30279 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30282 (signal): Likewise.
30286 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30288 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30289 sysdeps/unix/common/syscalls.list.
30290 (fchmod): Likewise.
30291 (fchown): Likewise.
30292 (ftruncate): Likewise.
30293 (getrusage): Likewise.
30294 (gettimeofday): Likewise.
30295 (setpgid): Likewise.
30296 (setregid): Likewise.
30297 (setreuid): Likewise.
30298 (sigaction): Likewise.
30299 (truncate): Likewise.
30300 (vhangup): Likewise.
30301 * sysdeps/unix/common/syscalls.list: Remove file.
30302 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30303 * sysdeps/unix/sysv/linux/Implies: Likewise.
30305 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30307 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30309 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30313 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30316 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30319 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30322 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30325 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30327 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30328 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30331 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30335 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30339 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30342 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30346 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30350 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30352 * sysdeps/unix/common/bits/dirent.h: Remove file.
30353 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30355 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30356 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30357 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30358 * sysdeps/unix/bsd/isatty.c: Likewise.
30359 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30360 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30361 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30363 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30366 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30367 long double comparison inaccuracies.
30368 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30371 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30373 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30374 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30376 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30379 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30380 nonzero digits before rounding a hex value.
30381 * stdlib/tst-strtod.c (tests): Add another test.
30383 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30385 * sysdeps/s390/fpu/libm-test-ulps: Update.
30387 2012-05-03 Andreas Jaeger <aj@suse.de>
30389 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30390 does not get optimized out.
30391 (malloc_opt_barrier): New.
30393 2012-05-03 Andreas Jaeger <aj@suse.de>
30394 Roland McGrath <roland@hack.frob.com>
30396 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30397 intermediate file deletion.
30398 (generated): Add .symlist files.
30400 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30403 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30404 Redirect under this condition.
30405 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30406 [__USE_GNU] (__dprintf_chk): Not under this condition.
30407 [__USE_GNU] (__vdprintf_chk): Likewise.
30408 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30409 under this condition.
30410 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30411 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30412 [__USE_XOPEN2K8] (vdprintf): Likewise.
30413 [__USE_GNU] (__dprintf_chk): Not under this condition.
30414 [__USE_GNU] (__vdprintf_chk): Likewise.
30415 [__USE_GNU] (dprintf): Likewise.
30416 [__USE_GNU] (vdprintf): Likewise.
30418 2012-05-03 Roland McGrath <roland@hack.frob.com>
30420 * elf/Makefile (common-generated): Set this instead of generated for
30421 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30422 $(all-built-dso)-derived lists.
30424 2012-05-03 Andreas Jaeger <aj@suse.de>
30426 * sysdeps/i386/fpu/libm-test-ulps: Update.
30429 * FAQ.in: Likewise.
30430 * scripts/gen-FAQ.pl: Likewise.
30431 * manual/install.texi (Installation): Point to online location of
30433 * Makefile (files-for-dist): Remove FAQ.
30436 2012-05-02 Allan McRae <allan@archlinux.org>
30438 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30439 (LDFLAGS-reldepmod5.so): Likewise.
30440 (LDFLAGS-reldep6mod1.so): Likewise.
30441 (LDFLAGS-reldep6mod4.so): Likewise.
30442 (LDFLAGS-reldep8mod3.so): Likewise.
30443 (LDFLAGS-unload4mod1.so): Likewise.
30444 (LDFLAGS-unload4mod2.so): Likewise.
30445 (LDFLAGS-tst-initorder): Likewise.
30446 (LDFLAGS-tst-initordera2.so): Likewise.
30447 (LDFLAGS-tst-initordera3.so): Likewise.
30448 (LDFLAGS-tst-initordera4.so): Likewise.
30449 (LDFLAGS-tst-initorderb2.so): Likewise.
30450 (LDFLAGS-noload): Likewise.
30451 (LDFLAGS-next): Likewise.
30452 (LDFLAGS-order2mod1.so): Likewise.
30453 (LDFLAGS-order2mod2.so): Likewise.
30454 (LDFLAGS-tst-initorder2): Likewise.
30455 (LDFLAGS-tst-initorder2a.so): Likewise.
30456 (LDFLAGS-tst-initorder2b.so): Likewise.
30457 (LDFLAGS-tst-initorder2c.so): Likewise.
30458 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30460 2012-05-02 David S. Miller <davem@davemloft.net>
30462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30464 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30467 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30469 2012-05-02 Andreas Jaeger <aj@suse.de>
30471 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30472 since we manipulate rounding mode.
30473 (CPPFLAGS-test-idouble.c): Likewise.
30474 (CPPFLAGS-test-ifloat.c): Likewise.
30475 (CFLAGS-test-ldouble.c): Likewise.
30476 (CFLAGS-test-double.c): Likewise.
30477 (CFLAGS-test-float.c): Likewise.
30478 (CFLAGS-test-misc.c): Likewise.
30479 (CFLAGS-test-test-fenv.c): Likewise.
30481 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30485 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30486 comparisons to determine direction to adjust input.
30488 2012-05-01 Roland McGrath <roland@hack.frob.com>
30490 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30491 output to the target.
30493 * scripts/localplt.awk: New file.
30494 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30495 (check-localplt-CFLAGS): Variable removed.
30496 ($(all-built-dso:=.jmprel)): New static pattern rule.
30497 (generated): Add those targets.
30498 (localplt-built-dso): New variable.
30499 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30501 * elf/check-localplt.c: File removed.
30503 * scripts/check-execstack.awk: New file.
30504 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30505 (check-execstack-CFLAGS): Variable removed.
30506 ($(objpfx)check-execstack.h): Target removed.
30507 ($(objpfx)execstack-default): New target.
30508 (generated): Add that instead of check-execstack.h.
30509 ($(all-built-dso:=.phdr)): New static pattern rule.
30510 (generated): Add those targets.
30511 * elf/check-execstack.c: File removed.
30513 * scripts/check-textrel.awk: New file.
30514 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30515 (check-textrel-CFLAGS): Variable removed.
30516 (all-built-dso): Use := to define.o
30517 ($(all-built-dso:=.dyn)): New static pattern rule.
30518 (generated): Add those targets.
30519 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30520 * config.make.in (READELF): New substituted variable.
30521 * elf/check-textrel.c: File removed.
30523 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30525 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30527 * conform/data/ctype.h-data [C99-based standards] (isblank):
30529 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30530 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30531 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30532 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30533 Specify type. Require positive value.
30534 (EILSEQ): Likewise.
30535 (ERANGE): Likewise.
30536 [ISO || POSIX] (EILSEQ): Do not expect.
30537 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30538 Specify type. Require positive value.
30539 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30540 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30541 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30542 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30543 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30544 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30545 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30546 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30547 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30548 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30549 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30550 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30551 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30552 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30553 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30554 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30555 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30556 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30557 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30558 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30559 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30560 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30561 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30562 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30563 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30564 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30565 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30566 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30567 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30568 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30569 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30570 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30571 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30572 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30573 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30574 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30575 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30576 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30577 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30578 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30579 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30580 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30581 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30582 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30583 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30584 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30585 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30586 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30587 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30588 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30589 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30590 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30591 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30592 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30593 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30594 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30595 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30596 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30597 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30598 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30599 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30600 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30601 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30602 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30603 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30604 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30605 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30606 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30607 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30608 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30609 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30610 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30611 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30612 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30613 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30614 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30615 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30617 (FLT_ROUNDS): Expect as macro, not constant.
30618 (FLT_MANT_DIG): Use macro-int-constant.
30619 (DBL_MANT_DIG): Likewise.
30620 (LDBL_MANT_DIG): Likewise.
30621 (FLT_DIG): Likewise.
30622 (DBL_DIG): Likewise.
30623 (LDBL_DIG): Likewise.
30624 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30625 (DBL_MIN_EXP): Likewise.
30626 (LDBL_MIN_EXP): Likewise.
30627 (FLT_MAX_EXP): Use macro-int-constant.
30628 (DBL_MAX_EXP): Likewise.
30629 (LDBL_MAX_EXP): Likewise.
30630 (FLT_MAX_10_EXP): Likewise.
30631 (DBL_MAX_10_EXP): Likewise.
30632 (LDBL_MAX_10_EXP): Likewise.
30633 (FLT_MAX): Use macro-constant.
30634 (DBL_MAX): Likewise.
30635 (LDBL_MAX): Likewise.
30636 (FLT_EPSILON): Use macro-constant. Give upper bound.
30637 (DBL_EPSILON): Likewise.
30638 (LDBL_EPSILON): Likewise.
30639 (FLT_MIN): Likewise.
30640 (DBL_MIN): Likewise.
30641 (LDBL_MIN): Likewise.
30642 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30643 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30644 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30645 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30646 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30647 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30648 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30649 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30650 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30651 [ISO11] (FLT_TRUE_MIN): Likewise.
30652 [ISO11] (LDBL_TRUE_MIN): Likewise.
30653 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30654 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30655 (SCHAR_MIN): Use macro-int-constant. Specify type.
30656 (SCHAR_MAX): Likewise.
30657 (UCHAR_MAX): Likewise.
30658 (CHAR_MIN): Likewise.
30659 (CHAR_MAX): Likewise.
30660 (MB_LEN_MAX): Use macro-int-constant.
30661 (SHRT_MIN): Use macro-int-constant. Specify type.
30662 (SHRT_MAX): Likewise.
30663 (USHRT_MAX): Likewise.
30664 (INT_MAX): Likewise.
30665 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30667 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30669 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30671 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30672 bound negative. Suffix upper bound with "L".
30673 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30675 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30677 [C99-based standards] (LLONG_MAX): Likewise.
30678 [C99-based standards] (ULLONG_MAX): Likewise.
30679 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30681 [ISO11] (max_align_t): Require type.
30682 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30684 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30685 from $CFLAGS, without defining away __attribute__ calls.
30686 (checknamespace): Use $CFLAGS_namespace.
30688 * conform/conformtest.pl (@keywords): Only include C99 keywords
30689 for standards based on C99 or C11.
30691 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30693 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30696 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30697 usability of symbols in #if.
30699 * conform/conformtest.pl: If macro or constant types start
30700 "promoted:", expect the symbol to be of the following type
30701 promoted by the integer promotions.
30703 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30704 in one place. Also handle "macro-constant".
30706 * conform/conformtest.pl: Only accept expected macro values with
30707 "==". Parse all "macro" lines in one place.
30708 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30710 * conform/conformtest.pl: Handle braced types on "constant" lines
30711 instead of handling "typed-constant".
30712 * conform/data/signal.h-data: Use "constant" instead of
30715 * conform/conformtest.pl: Handle "optional-" at start of lines in
30716 one place rather than duplicating several cases. Handle each
30717 format of "macro" line with initial "optional-".
30719 * conform/conformtest.pl: Only accept expected constant or
30720 optional-constant values with "==". Parse all "constant" lines in
30721 one place. Parse all "optional-constant" lines in one place.
30722 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30723 * conform/data/fmtmsg.h-data: Likewise.
30724 * conform/data/netinet/in.h-data: Likewise.
30725 * conform/data/tar.h-data: Likewise.
30726 * conform/data/limits.h-data: Use "==" form on "constant" and
30727 "optional-constant" lines.
30729 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30730 Use -std=c99 for XOPEN2K.
30731 (@knownproblems): Remove.
30732 (newtoken): Don't check %isknown.
30734 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30735 Do not expect macro.
30736 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30737 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30738 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30739 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30740 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30741 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30742 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30743 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30744 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30745 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30746 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30747 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30748 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30749 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30750 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30751 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30752 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30753 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30754 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30755 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30756 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30757 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30758 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30759 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30760 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30761 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30762 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30763 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30764 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30765 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30766 [XPG3] (acosh): Likewise.
30767 [XPG3] (asinh): Likewise.
30768 [XPG3] (atanh): Likewise.
30769 [XPG3] (cbrt): Likewise.
30770 [XPG3] (expm1): Likewise.
30771 [XPG3] (ilogb): Likewise.
30772 [XPG3] (log1p): Likewise.
30773 [XPG3] (logb): Likewise.
30774 [XPG3] (nextafter): Likewise.
30775 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30776 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30777 [XPG3] (remainder): Likewise.
30778 [XPG3] (rint): Likewise.
30779 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30780 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30781 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30782 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30783 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30784 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30785 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30786 [UNIX98 || XOPEN2K] (scalb): Expect.
30787 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30788 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30789 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30790 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30791 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30792 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30793 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30794 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30795 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30796 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30797 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30798 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30799 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30800 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30801 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30802 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30803 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30804 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30805 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30806 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30807 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30808 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30809 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30810 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30811 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30812 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30813 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30814 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30815 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30816 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30817 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30818 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30819 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30820 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30821 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30822 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30823 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30824 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30825 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30826 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30827 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30828 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30829 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30830 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30831 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30832 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30833 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30834 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30835 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30836 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30837 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30838 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30839 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30840 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30841 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30842 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30843 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30844 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30845 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30846 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30847 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30848 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30849 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30850 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30851 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30852 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30853 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30854 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30855 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30856 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30857 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30858 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30859 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30860 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30861 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30862 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30863 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30864 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30865 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30866 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30867 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30868 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30869 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30870 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30871 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30878 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30879 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30880 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30881 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30882 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30883 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30884 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30885 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30886 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30887 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30888 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30889 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30890 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30891 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30892 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30893 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30894 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30895 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30896 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30897 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30898 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30899 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30900 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30901 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30902 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30903 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30904 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30905 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30906 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30907 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30908 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30909 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30910 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30911 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30912 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30913 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30914 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30915 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30916 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30917 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30918 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30919 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30920 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30921 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30922 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30923 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30925 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30926 _XOPEN_SOURCE_EXTENDED for XPG4.
30928 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30930 * Makeconfig (localtime): Remove variable.
30931 (inst_localtime-file): Likewise.
30933 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30954 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30958 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30959 comparisons to determine direction to adjust input.
30960 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30961 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30962 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30964 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30966 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30968 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30969 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30971 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30973 * math/libm-test.inc (nexttoward_test): Add more tests.
30975 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30978 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30979 in version GLIBC_2.1, not GLIBC_2.0.
30980 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30983 2012-04-30 Joseph Myers <joseph@codesourcery.com>
30986 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30988 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30989 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30990 * math/libm-test.inc (acos_test): Add more tests.
30991 (asin_test): Likewise.
30992 * sysdeps/i386/fpu/libm-test-ulps: Update.
30993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30996 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30998 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30999 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31000 * math/libm-test.inc (acos_test_tonearest): New function.
31001 (acos_test_towardzero): Likewise.
31002 (acos_test_downward): Likewise.
31003 (acos_test_upward): Likewise.
31004 (asin_test_tonearest): Likewise.
31005 (asin_test_towardzero): Likewise.
31006 (asin_test_downward): Likewise.
31007 (asin_test_upward): Likewise.
31008 (main): Call the new functions.
31009 * sysdeps/i386/fpu/libm-test-ulps: Update.
31010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31014 * math/e_exp10.c: Include <float.h>.
31015 (__ieee754_exp10): Handle underflow here rather than multiplying
31016 large negative argument by M_LN10.
31017 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31019 * math/e_exp10l.c: Include <float.h>.
31020 (__ieee754_exp10l): Handle underflow here rather than multiplying
31021 large negative argument by M_LN10l.
31022 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31023 spurious overflow exception on underflow.
31025 2012-04-29 Marek Polacek <polacek@redhat.com>
31027 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31028 (__fortify_function): New macro.
31029 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31030 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31031 __extern_always_inline.
31032 * libio/bits/stdio2.h: Likewise.
31033 * libio/bits/stdio.h: Likewise.
31034 * string/string.h: Likewise.
31035 * string/bits/string3.h: Likewise.
31036 * include/stdio.h: Likewise.
31037 * stdlib/bits/stdlib.h: Likewise.
31038 * stdlib/stdlib.h: Likewise.
31039 * rt/bits/mqueue2.h: Likewise.
31040 * rt/mqueue.h: Likewise.
31041 * posix/bits/unistd.h: Likewise.
31042 * posix/unistd.h: Likewise.
31043 * io/bits/poll2.h: Likewise.
31044 * io/bits/fcntl2.h: Likewise.
31045 * io/fcntl.h: Likewise.
31046 * io/sys/poll.h: Likewise.
31047 * misc/bits/syslog.h: Likewise.
31048 * misc/bits/syslog-ldbl.h: Likewise.
31049 * misc/sys/syslog.h: Likewise.
31050 * socket/bits/socket2.h: Likewise.
31051 * socket/sys/socket.h: Likewise.
31052 * debug/tst-chk1.c: Likewise.
31053 * wcsmbs/bits/wchar2.h: Likewise.
31054 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31055 * wcsmbs/wchar.h: Likewise.
31057 2012-04-29 Andreas Jaeger <aj@suse.de>
31059 * Makerules (tests): Remove enable-check-abi protection.
31060 (check-abi-warn): Remove.
31061 (check-abi-%): Remove check-abi-warn usage.
31063 * configure.in: Remove check-abi configure option.
31064 * configure: Regenerated.
31065 * config.make.in (enable-check-abi): Remove.
31067 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31070 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31071 double functions to double *_finite functions.
31074 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31075 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31077 * stdio-common/Makefile (tests): Add tst-sprintf3.
31078 * stdio-common/tst-sprintf3.c: New file.
31080 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31081 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31083 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31085 * conform/conformtest.pl: Remove duplicate typed-constant
31088 2012-04-28 David S. Miller <davem@davemloft.net>
31090 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31091 (check-abi-%): Remove AWK script prerequisite and explicit
31093 (check-abi): Rewrite to just diff the symlist with the abilist.
31094 (config-tls, config-abi-config): Delete, no longer used.
31095 (update-abi-%): Remove AWK script and explicit abilist directory.
31096 (update-abi): Rewrite to simply compare and conditionally copy the
31097 symlist and the sysdep abilist file. Remove update-abi-config
31099 * abilist/ld.abilist: Remove.
31100 * abilist/libBrokenLocale.abilist: Remove.
31101 * abilist/libanl.abilist: Remove.
31102 * abilist/libcrypt.abilist: Remove.
31103 * abilist/libdl.abilist: Remove.
31104 * abilist/librt.abilist: Remove.
31105 * abilist/libthread_db.abilist: Remove.
31106 * abilist/libutil.abilist: Remove.
31107 * scripts/extract-abilist.awk: Remove.
31108 * scripts/merge-abilist.awk: Remove.
31109 * sysdeps/generic/libcidn.abilist: New file.
31110 * sysdeps/generic/libnss_compat.abilist: New file.
31111 * sysdeps/generic/libnss_db.abilist: New file.
31112 * sysdeps/generic/libnss_dns.abilist: New file.
31113 * sysdeps/generic/libnss_files.abilist: New file.
31114 * sysdeps/generic/libnss_hesiod.abilist: New file.
31115 * sysdeps/generic/libnss_nis.abilist: New file.
31116 * sysdeps/generic/libnss_nisplus.abilist: New file.
31117 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31118 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31119 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31121 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31122 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31123 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31124 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31125 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31126 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31127 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31128 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31129 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31131 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31132 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31133 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31134 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31136 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31137 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31138 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31139 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31140 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31141 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31143 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31144 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31145 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31147 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31150 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31152 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31154 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31156 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31158 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31160 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31162 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31164 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31166 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31168 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31170 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31172 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31250 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31251 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31252 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31254 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31255 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31256 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31257 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31258 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31259 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31260 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31261 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31262 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31263 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31315 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31317 * conform/conformtest.pl: Fix typo in handling typed-constant from
31320 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31322 * README: Cut down references to pre-2.6 Linux kernels and
31323 Linuxthreads. Update lists of configurations in libc and ports
31324 and sort alphabetically. Say "or newer" with Linux kernel version
31327 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31329 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31332 * math/libm-test.inc (logb_test_downward): New test to expose
31333 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31336 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31339 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31341 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31342 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31344 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31346 * sysdeps/unix/i386/brk.S: Remove file.
31347 * sysdeps/unix/i386/dl-brk.S: Likewise.
31348 * sysdeps/unix/i386/pipe.S: Likewise.
31349 * sysdeps/unix/i386/sigreturn.S: Likewise.
31350 * sysdeps/unix/i386/syscall.S: Likewise.
31351 * sysdeps/unix/i386/vfork.S: Likewise.
31352 * sysdeps/unix/i386/wait.S: Likewise.
31354 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31355 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31357 * configure.in (arm*-none*): Do not allow without
31358 --enable-hacker-mode.
31359 (netbsd*): Remove case setting base_os.
31360 (386bsd*): Likewise.
31361 (freebsd*): Likewise.
31364 (sunos*): Likewise.
31365 (ultrix*): Likewise.
31366 (newsos*): Likewise.
31367 (dynix*): Likewise.
31373 (minix*): Likewise.
31374 (irix4*): Likewise.
31375 (irix6*): Likewise.
31376 (solaris[2-9]*): Likewise.
31378 * configure: Regenerated.
31380 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31383 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31384 overflow or cancellation in calculating denominator.
31385 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31386 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31387 down expression to avoid unexpected rounding in newer GCCs.
31388 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31390 2012-04-26 David S. Miller <davem@davemloft.net>
31392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31393 long-double compat symbols.
31394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31408 2012-04-25 David S. Miller <davem@davemloft.net>
31410 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31411 HWCAP_* values only after the memory barriers have been defined.
31412 (atomic_full_barrier): Define.
31413 (atomic_read_barrier): Define.
31414 (atomic_write_barrier): Define.
31416 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31418 * shlib-versions: Add libgcc_s version information.
31419 * sysdeps/generic/libgcc_s.h: Remove.
31420 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31422 * sysdeps/gnu/unwind-resume.c: Likewise.
31423 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31425 2012-04-25 David S. Miller <davem@davemloft.net>
31427 * sysdeps/unix/sparc/brk.S: Delete.
31428 * sysdeps/unix/sparc/dl-brk.S: Delete.
31429 * sysdeps/unix/sparc/pipe.S: Delete.
31430 * sysdeps/unix/sparc/sysdep.S: Delete.
31431 * sysdeps/unix/sparc/sysdep.h: Delete.
31432 * sysdeps/unix/sparc/vfork.S: Delete.
31433 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31434 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31435 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31436 ret_ERRVAL, r0, r1, MOVE): Define.
31437 (JUMPTARGET): Remove.
31438 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31439 sysdeps/unix/sparc/sysdep.h
31440 (ENTRY, END): Remove.
31441 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31443 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31445 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31446 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31449 * timezone/README: Update upstream location and email address for
31451 * timezone/zdump.c: Update from tzcode 2012b.
31452 * timezone/zic.c: Likewise.
31454 * configure.in (libc_cv_as_needed): Remove test.
31455 * configure: Regenerated.
31456 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31457 conditional definition.
31458 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31459 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31460 * config.make.in (have-as-needed): Remove variable.
31462 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31463 Paul Pluzhnikov <ppluzhnikov@google.com>
31465 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31468 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31470 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31471 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31472 * sysdeps/sh/strlen.S: Likewise.
31474 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31476 * sysdeps/unix/fork.S: Remove file.
31477 * sysdeps/unix/i386/fork.S: Likewise.
31478 * sysdeps/unix/sparc/fork.S: Likewise.
31480 * sysdeps/unix/system.c: Remove file.
31481 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31483 * sysdeps/unix/getegid.S: Remove file.
31484 * sysdeps/unix/geteuid.S: Likewise.
31486 2012-04-24 Roland McGrath <roland@hack.frob.com>
31488 * scripts/check-localplt.awk: New file.
31489 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31491 * scripts/data/localplt-generic.data: Add a comment.
31493 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31494 NODE when __dir_mkfile failed.
31495 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31496 Reported by Ludovic Courtès <ludo@gnu.org>.
31498 2012-04-24 Andreas Jaeger <aj@suse.de>
31500 * Makerules (common-clean): Also remove gen-as-const-headers
31503 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31505 * Makerules (native-compile): Do not change working directory for
31506 build. Use $(OUTPUT_OPTION) in command.
31507 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31509 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31512 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31513 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31514 * math/libm-test.inc (floor_test): Add more tests.
31515 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31517 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31519 * sysdeps/unix/getdents.c: Remove file.
31520 * sysdeps/unix/sysv/getdents.c: Likewise.
31521 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31523 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31524 sysdeps/unix/mman/syscalls.list.
31526 (mprotect): Likewise.
31528 (munmap): Likewise.
31529 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31530 * sysdeps/unix/mman/syscalls.list: Remove.
31531 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31533 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31534 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31535 * configure: Regenerated.
31536 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31537 $(libgcc_s_suffix).
31538 * config.make.in (libgcc_s_suffix): Remove variable.
31540 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31542 * sysdeps/unix/sysv/gethostname.c: Move to ...
31543 * sysdeps/posix/gethostname.c: ... here.
31545 * sysdeps/unix/execve.S: Remove file.
31547 * sysdeps/unix/_exit.S: Remove file.
31549 2012-04-23 Andreas Jaeger <aj@suse.de>
31552 * manual/Makefile: Remove make dist support, there's no
31553 need for a stand-alone documentation tar ball.
31554 (TEXI2DVI): Define always, it's not in Makeconfig.
31557 (edition): Removed.
31558 (glibc-doc-$(edition).tar): Removed
31562 (ETAGS): Remove, it's in Makeconfig.
31563 (move-if-change): Remove, it's in Makeconfig.
31565 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31568 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31569 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31570 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31571 (strtod_l, strtof_l, strtold_l): Remove __wur.
31572 It is not necessarily an error to ignore strtol's return value.
31573 One can reliably look at the stored endptr to decide whether
31574 the number had valid syntax.
31576 2012-04-21 Andreas Jaeger <aj@suse.de>
31579 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31581 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31583 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31584 * sysdeps/unix/sysv/Versions: Remove file.
31586 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31591 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31594 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31595 version from __vm86.
31597 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31599 * sysdeps/unix/common/lxstat.c: Remove file.
31600 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31602 * sysdeps/unix/sysv/Makefile: Remove file.
31604 * sysdeps/unix/sysv/direct.h: Remove file.
31606 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31607 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31608 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31609 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31610 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31611 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31612 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31614 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31616 * sysdeps/unix/xmknod.c: Remove file.
31617 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31619 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31621 * sysdeps/unix/sysv/i386/time.S: Remove file.
31623 * sysdeps/unix/fxstat.c: Remove file.
31624 * sysdeps/unix/xstat.c: Likewise.
31625 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31627 * sysdeps/unix/sysv/sigaction.c: Remove file.
31629 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31630 (sysdep_headers): Remove variable.
31631 [termio.h not in sysdep_headers] (generated): Likewise.
31632 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31633 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31634 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31635 * sysdeps/unix/sysv/tcflow.c: Likewise.
31636 * sysdeps/unix/sysv/tcflush.c: Likewise.
31637 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31638 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31639 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31640 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31641 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31643 * sysdeps/unix/siglist.c: Remove file.
31645 * sysdeps/unix/getppid.S: Remove file.
31647 * sysdeps/unix/mkdir.c: Remove file.
31648 * sysdeps/unix/rmdir.c: Likewise.
31650 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31652 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31654 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31655 errlist-compat value.
31657 2012-04-18 David S. Miller <davem@davemloft.net>
31659 * sysdeps/generic/memcopy.h (reg_char): Delete.
31660 * debug/strcat_chk.c: Use char, not reg_char.
31661 * debug/strcpy_chk.c: Likewise.
31662 * debug/strncat_chk.c: Likewise.
31663 * debug/strncpy_chk.c: Likewise.
31664 * string/memchr.c: Likewise.
31665 * string/memrchr.c: Likewise.
31666 * string/rawmemchr.c: Likewise.
31667 * string/strcat.c: Likewise.
31668 * string/strchr.c: Likewise.
31669 * string/strchrnul.c: Likewise.
31670 * string/strcmp.c: Likewise.
31671 * string/strcpy.c: Likewise.
31672 * string/strncat.c: Likewise.
31673 * string/strncmp.c: Likewise.
31674 * string/strncpy.c: Likewise.
31676 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31678 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31679 __builtin_memcopy is called when src and dest ranges are known to not
31682 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31684 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31685 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31686 fwd_align_merge macro call.
31687 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31688 bwd_align_merge macro call.
31689 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31691 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31693 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31694 bwd_align_merge macros.
31695 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31696 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31697 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31699 2012-04-18 David S. Miller <davem@davemloft.net>
31701 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31703 2012-04-18 Andreas Jaeger <aj@suse.de>
31706 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31707 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31708 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31710 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31711 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31712 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31714 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31715 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31716 Adjust for changed ldbl-128 files.
31718 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31719 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31720 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31722 2012-04-17 David S. Miller <davem@davemloft.net>
31724 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31726 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31728 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31729 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31730 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31731 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31732 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31733 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31735 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31738 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31739 * math/libm-test.inc: Add ilogb errno and exception tests.
31740 * math/w_ilogb.c: New file: ilogb wrapper.
31741 * math/w_ilogbf.c: New file: ilogbf wrapper.
31742 * math/w_ilogbl.c: New file: ilogbl wrapper.
31743 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31744 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31745 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31746 exception being thrown with 0.0 as argument.
31747 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31748 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31749 exception being thrown with 0.0 as argument.
31750 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31751 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31752 exception being thrown with 0.0 as argument.
31753 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31754 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31755 exception being thrown with 0.0 as argument.
31756 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31757 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31758 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31759 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31760 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31761 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31762 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31763 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31764 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31766 2012-04-17 Petr Baudis <pasky@ucw.cz>
31768 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31771 2012-04-16 Marek Polacek <polacek@redhat.com>
31773 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31775 2012-04-16 Marek Polacek <polacek@redhat.com>
31777 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31778 operands of fdivp instruction.
31780 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31782 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31783 * elf/tst-auditmod3b.c: Likewise.
31784 * elf/tst-auditmod4b.c: Likewise.
31785 * elf/tst-auditmod5b.c: Likewise.
31786 * elf/tst-auditmod6b.c: Likewise.
31787 * elf/tst-auditmod6c.c: Likewise.
31788 * elf/tst-auditmod7b.c: Likewise.
31789 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31790 * sysdeps/x86_64/preconfigure.in: Likewise.
31791 * sysdeps/x86_64/preconfigure: Regenerated.
31793 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31795 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31798 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31800 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31801 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31803 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31806 * locale/iso-639.def: Fix gl language name. Spotted by
31809 2012-04-12 Roland McGrath <roland@hack.frob.com>
31812 * libio/libio.h (__io_write_fn): Update comment.
31814 2012-04-12 Petr Baudis <pasky@ucw.cz>
31817 * stdio.texi (Hook Functions): The user provided writer function
31818 is not allowed to return -1.
31820 2012-04-11 David S. Miller <davem@davemloft.net>
31822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31824 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31826 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31827 Add a leading slash to rtkaio.
31829 2012-04-11 Jim Meyering <meyering@redhat.com>
31832 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31833 It is not necessarily an error to ignore fwrite's return
31834 value. One can reliably use ferror to test for errors after
31837 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31839 * bits/types.h (__snseconds_t): New type.
31840 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31842 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31843 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31844 (__SNSECONDS_T_TYPE): Likewise.
31845 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31846 (__SNSECONDS_T_TYPE): Likewise.
31847 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31848 (__SNSECONDS_T_TYPE): Likewise.
31850 2012-04-10 Andreas Jaeger <aj@suse.de>
31853 * manual/time.texi (Processor Time): Return type of times is
31854 elapsed real time since an arbitrary point in the past.
31855 (CPU Time): Move CLK_TCK from here...
31856 (Processor Time): ...to here. Correct description.
31857 * manual/conf.texi (Constants for Sysconf): Correct description of
31860 2012-04-10 David S. Miller <davem@davemloft.net>
31863 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31864 where the is a gap between DT_REL(A) and DT_JMPREL.
31866 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31868 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31869 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31870 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31872 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31874 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31875 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31876 (dl_main): Handle --inhibit-cache.
31877 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31879 * elf/dl-load.c (_dl_map_object): Use it.
31880 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31882 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31885 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31886 (__ieee754_powl): Saturate large exponents rather than testing for
31887 overflow of y*log2(x).
31888 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31889 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31893 * math/s_ctan.c: Include <float.h>.
31894 (__ctan): Avoid internal overflow or cancellation in calculating
31896 * math/s_ctanf.c: Likewise.
31897 * math/s_ctanl.c: Likewise.
31898 * math/s_ctanh.c: Likewise.
31899 * math/s_ctanhf.c: Likewise.
31900 * math/s_ctanhl.c: Likewise.
31901 * math/libm-test.inc (ctan_test): Add more tests.
31902 (ctanh_test): Likewise.
31903 * sysdeps/i386/fpu/libm-test-ulps: Update.
31904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31906 2012-04-09 Andreas Jaeger <aj@suse.de>
31909 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31910 is an optional BSD extension.
31913 * manual/stdio.texi (Opening Streams): Document additional fopen
31916 2012-04-09 Roland McGrath <roland@hack.frob.com>
31918 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31919 %eax without telling the compiler.
31921 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31924 * manual/install.texi: Use sourceware.org.
31926 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31929 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31930 (__ieee754_pow): Generate overflow and underflow using huge*huge
31931 and tiny*tiny rather than just returning constant infinity or zero
31932 for large exponents.
31933 * math/libm-test.inc (pow_test): Require overflow exceptions for
31934 applicable cases of large exponents.
31937 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31938 (__ieee754_pow): Use iterative multiplication algorithm only for
31939 integer exponents with absolute value below 1024. Check for odd
31940 integer exponents when using algorithm for real exponents.
31941 * math/libm-test.inc (pow_test): Add more tests.
31942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31944 2012-04-08 Joseph Myers <joseph@codesourcery.com>
31947 * math/libm-test.inc (exp_test): Do not allow overflow exception
31950 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31953 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31954 instead of __kernel_standard_f.
31956 2012-04-08 Mike Frysinger <vapier@gentoo.org>
31958 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31959 * sysdeps/x86_64/memset_chk.S: Likewise.
31961 2012-04-08 Andreas Jaeger <aj@suse.de>
31964 * manual/startup.texi (Environment Access): Describe return value
31965 for putenv and setenv.
31968 * manual/filesys.texi (Directory Entries): Add description for
31972 * manual/filesys.texi (Directory Entries): Clarify that it's file
31973 system not operating system in the description of DT_UNKNOWN.
31976 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31978 2012-04-08 Stephen Compall <s11@member.fsf.org>
31981 * manual/llio.texi (Opening and Closing Files): Add cross
31982 reference to explain mode argument.
31984 2012-04-07 Mike Frysinger <vapier@gentoo.org>
31986 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31987 * sysdeps/x86_64/memset_chk.S: Likewise.
31989 2012-04-07 David S. Miller <davem@davemloft.net>
31991 * elf/elf.h (R_SPARC_WDISP10): Define.
31992 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31994 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31995 R_SPARC_SIZE64 and R_SPARC_H34.
31997 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31999 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32000 conditions and remove no longer applicable assertion.
32002 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32004 * bits/byteswap.h: Include <features.h>.
32005 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32006 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32008 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32010 * bits/byteswap.h (__bswap_16): Removed.
32011 Include <bits/byteswap-16.h> to get __bswap_16.
32012 * sysdeps/i386/bits/byteswap.h: Likewise.
32013 * sysdeps/s390/bits/byteswap.h: Likewise.
32014 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32015 * bits/byteswap-16.h: New file.
32016 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32017 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32018 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32019 * string/Makefile (headers): Add bits/byteswap-16.h.
32021 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32024 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32026 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32027 * nss/tst-nss-static.c: New.
32029 2012-04-06 Robert Millan <rmh@gnu.org>
32032 * manual/llio.texi (File Position Primitive): lseek
32033 refers to WHENCE when it really means OFFSET.
32035 2012-04-06 Andreas Jaeger <aj@suse.de>
32037 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32038 strncmp declarations.
32040 * abilist/libc.abilist: Add __poll and __ppoll.
32042 2012-04-05 David S. Miller <davem@davemloft.net>
32044 * scripts/check-local-headers.sh: Accept a host triplet in the
32045 path matched by the exclude regexp.
32047 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32049 * sysdeps/powerpc/powerpc32/dl-machine.h
32050 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32051 * sysdeps/s390/s390-32/dl-machine.h
32052 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32053 * sysdeps/sparc/sparc32/dl-machine.h
32054 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32055 * sysdeps/sparc/sparc64/dl-machine.h
32056 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32058 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32060 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32061 undefined symbol errors.
32063 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32066 2012-04-05 Michael Matz <matz@suse.de>
32069 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32071 2012-04-05 Andreas Jaeger <aj@suse.de>
32074 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32077 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32079 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32080 which ROUND is no valid rounding mode.
32082 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32084 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32086 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32088 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32090 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32091 an exception using FPU order intentionally.
32093 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32095 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32096 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32097 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32098 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32100 2012-04-05 Simon Josefsson <simon@josefsson.org>
32103 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32104 EINVAL when BUFLEN is too smal.
32106 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32109 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32110 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32112 2012-04-03 Andreas Jaeger <aj@suse.de>
32115 * manual/setjmp.texi (System V contexts): Fix sentence.
32118 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32119 New macro for this case.
32120 [!__GNUC__] (__bswap_64): New inline function for this case.
32121 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32122 * bits/byteswap.h: Likewise.
32123 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32124 ull, guard with __GLIBC_HAVE_LONG_LONG.
32126 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32127 __GLIBC_HAVE_LONG_LONG.
32129 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32130 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32132 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32135 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32136 inptr and inend, rather than using last_ch.
32138 2012-04-02 David S. Miller <davem@davemloft.net>
32140 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32141 * stdio-common/printf-parse.h (read_int): Change return type to
32142 'int', return -1 on INT_MAX overflow.
32143 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32144 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32145 overflows INT_MAX. Check for overflow of in-format-string precision
32146 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32147 SIZE_MAX not INT_MAX for integer overflow test.
32148 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32149 skip the construct in the format string but do not record anything.
32150 * stdio-common/bug22.c: Adjust to test both width/prevision
32151 INT_MAX overflow as well as total length INT_MAX overflow. Check
32152 explicitly for proper errno values.
32154 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32156 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32158 * string/test-strcmp.c [! WIDE]: Likewise.
32159 * time/tst-mktime2.c: Likewise for INT_MAX.
32160 * string/test-string.h: #include <sys/param.h> for MIN.
32162 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32163 * sysdeps/i386/init-first.c (init): Likewise.
32164 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32165 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32166 * sysdeps/sh/init-first.c (init): Likewise.
32168 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32170 * po/ru.po: Update from translation team.
32171 * po/vi.po: Likewise.
32173 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32175 * resolv/nss_dns/dns-host.c: Merge copyright years.
32177 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32179 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32180 Optimize memcpy with prefetch if
32181 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32182 src, dst pointers have unequal 16 byte alignments.
32184 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32187 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32188 from a CNAME entry and return the minimum ttl for the query.
32189 (gaih_getanswer_slice): Likewise.
32191 2012-03-30 Jeff Law <law@redhat.com>
32193 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32195 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32196 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32198 * resolv/nss_dns/dns-host.c: Update copyright year.
32200 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32202 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32203 requests to save a system call. Fix check that all bytes are sent.
32205 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32206 comments for sendmmsg.
32208 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32211 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32212 with only 1 character between 0x0041 and 0x01b0.
32213 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32214 * wcsmbs/tst-mbsnrtowcs.c: New file.
32216 2012-03-29 David S. Miller <davem@davemloft.net>
32218 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32219 small copies by hand.
32221 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32224 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32225 _nss_compat_initgroups_dyn): Fall back to malloc/free
32226 for large group memberships.
32228 2012-03-28 David S. Miller <davem@davemloft.net>
32230 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32231 that branches into memcpy.
32232 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32233 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32234 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32235 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32236 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32238 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32239 implementation too.
32240 * sysdeps/sparc/mempcpy.S: New file.
32242 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32243 the IFUNC routine in the libc case.
32244 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32246 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32247 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32248 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32249 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32250 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32251 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32252 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32253 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32255 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32256 loop to 256 bytes instead of 64 bytes and fix test signedness.
32258 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32259 * sysdeps/sparc/sparc32/Makefile: rather than here...
32260 * sysdeps/sparc/sparc64/Makefile: and here.
32262 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32264 * malloc/mallocbug.c: Avoid warnings about unused variables.
32266 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32269 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32270 in the right place. Discard and retry query if response is
32271 larger than input buffer size.
32273 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32278 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32279 x for large integer exponent.
32280 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32281 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32282 sign of result as needed afterwards.
32283 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32284 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32285 result for underflowing pow the same as for overflow.
32286 (__kernel_standard_l): Handle powl overflow and underflow here
32287 rather than calling __kernel_standard.
32288 * math/libm-test.inc (pow_test): Add more tests.
32303 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32304 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32305 (__kernel_standard_l): New function.
32306 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32308 * math/w_acosl.c (__acosl): Likewise.
32309 * math/w_asinl.c (__asinl): Likewise.
32310 * math/w_atan2l.c (__atan2l): Likewise.
32311 * math/w_atanhl.c (__atanhl): Likewise.
32312 * math/w_coshl.c (__coshl): Likewise.
32313 * math/w_exp10l.c (__exp10l): Likewise.
32314 * math/w_exp2l.c (__exp2l): Likewise.
32315 * math/w_fmodl.c (__fmodl): Likewise.
32316 * math/w_hypotl.c (__hypotl): Likewise.
32317 * math/w_j0l.c (__j0l, __y0l): Likewise.
32318 * math/w_j1l.c (__j1l, __y1l): Likewise.
32319 * math/w_jnl.c (__jnl, __ynl): Likewise.
32320 * math/w_lgammal.c (__lgammal): Likewise.
32321 * math/w_log10l.c (__log10l): Likewise.
32322 * math/w_log2l.c (__log2l): Likewise.
32323 * math/w_logl.c (__logl): Likewise.
32324 * math/w_powl.c (__powl): Likewise.
32325 * math/w_remainderl.c (__remainderl): Likewise.
32326 * math/w_scalbl.c (sysv_scalbl): Likewise.
32327 * math/w_sinhl.c (__sinhl): Likewise.
32328 * math/w_sqrtl.c (__sqrtl): Likewise.
32329 * math/w_tgammal.c (__tgammal): Likewise.
32330 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32331 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32332 * math/libm-test.inc (acos_test): Add more tests.
32333 (acosh_test): Likewise.
32334 (asin_test): Likewise.
32335 (atanh_test): Likewise.
32336 (exp_test): Likewise.
32337 (exp10_test): Likewise.
32338 (exp2_test): Likewise.
32339 (expm1_test): Likewise.
32340 (lgamma_test): Likewise.
32341 (log_test): Likewise.
32342 (log10_test): Likewise.
32343 (log1p_test): Likewise.
32344 (log2_test): Likewise.
32345 (pow_test): Do not allow some spurious overflow exceptions.
32346 (sqrt_test): Add more tests.
32347 (tgamma_test): Likewise.
32348 (y0_test): Likewise.
32349 (y1_test): Likewise.
32350 (yn_test): Likewise.
32352 2012-03-27 Anton Blanchard <anton@samba.org>
32354 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32356 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32357 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32358 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32360 2012-03-27 David S. Miller <davem@davemloft.net>
32362 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32364 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32365 have-as-vis3 check.
32367 2012-03-27 Andreas Jaeger <aj@suse.de>
32369 * sysdeps/x86_64/elf/configure.in: Moved to ...
32370 * sysdeps/x86_64/configure.in: ... here.
32371 * sysdeps/x86_64/elf/start.S: Moved to ...
32372 * sysdeps/x86_64/start.S: ... here.
32373 * sysdeps/x86_64/elf/configure: Delete.
32375 * sysdeps/x86_64/configure.in: Merge contents from
32376 sysdeps/i386/configure.in (without i686 check).
32378 * sysdeps/i386/elf/Versions: Merge into ...
32379 * sysdeps/i386/Versions: ... this.
32380 * sysdeps/i386/elf/Versions: Delete file.
32381 * sysdeps/i386/elf/start.S: Moved to ...
32382 * sysdeps/i386/start.S: ...here.
32383 * sysdeps/i386/elf/configure.in: Merge into...
32384 * sysdeps/i386/configure.in: ...here.
32385 * sysdeps/i386/elf/configure.in: Delete file.
32386 * sysdeps/i386/elf/configure: Delete file.
32388 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32389 * debug/backtracesyms.c: ... here.
32390 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32391 * debug/backtracesymsfd.c: ... here.
32392 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32393 * sysdeps/generic/ifunc-sel.h: ... here.
32395 * sysdeps/unix/i386/start.c: Delete file.
32396 * sysdeps/unix/sparc/start.c: Delete file.
32397 * sysdeps/unix/start.c: Delete file.
32399 * sysdeps/sh/elf/configure.in: Moved to ...
32400 * sysdeps/sh/configure.in: ... here.
32401 * sysdeps/sh/elf/start.S: Moved to ...
32402 * sysdeps/sh/start.S: ... here.
32403 * sysdeps/sh/elf/configure: Delete file.
32405 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32406 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32407 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32408 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32409 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32410 * sysdeps/powerpc/powerpc64/start.S: here.
32411 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32412 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32413 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32414 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32415 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32417 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32418 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32419 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32420 * sysdeps/powerpc/powerpc32/start.S: ... here.
32421 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32422 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32423 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32425 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32426 * sysdeps/powerpc/ifunc-sel.h: ... here.
32427 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32428 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32430 * sysdeps/sparc/elf/configure.in: Moved to ...
32431 * sysdeps/sparc/configure.in: ... here.
32432 * sysdeps/sparc/elf/configure: Delete file.
32433 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32434 * sysdeps/sparc/sparc32/start.S: ... here.
32435 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32436 * sysdeps/sparc/sparc64/start.S: ... here.
32437 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32438 * sysdeps/sparc/sparc32/Makefile: ... this.
32439 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32440 * sysdeps/sparc/sparc64/Makefile: ... this.
32442 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32443 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32444 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32445 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32446 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32447 * sysdeps/s390/s390-32/setjmp.S: ... here.
32448 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32449 * sysdeps/s390/s390-32/configure.in: ... here.
32450 * sysdeps/s390/s390-32/elf/configure: Delete file.
32451 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32452 * sysdeps/s390/s390-32/start.S: ... here.
32454 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32455 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32456 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32457 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32458 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32459 * sysdeps/s390/s390-64/setjmp.S: ... here.
32460 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32461 * sysdeps/s390/s390-64/configure.in: ... here
32462 * sysdeps/s390/s390-64/elf/configure: Delete file.
32463 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32464 * sysdeps/s390/s390-64/start.S: ... here.
32465 * sysdeps/s390/s390-64/elf/configure: Delete.
32467 * configure.in: Remove support for elf directories in sysdeps.
32469 * configure: Regenerated.
32470 * sysdeps/i386/configure: Regenerated.
32471 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32472 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32473 * sysdeps/s390/s390-32/configure: Regenerated.
32474 * sysdeps/s390/s390-64/configure: Regenerated.
32475 * sysdeps/sh/configure: Regenerated.
32476 * sysdeps/sparc/configure: Regenerated.
32477 * sysdeps/x86_64/configure: Regenerated.
32479 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32483 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32484 denormal result into account.
32486 2012-03-25 Roland McGrath <roland@hack.frob.com>
32488 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32489 Reported by Allan McRae <allan@archlinux.org>.
32491 2012-03-23 Jeff Law <law@redhat.com>
32493 * nss/getnssent.c (__nss_getent): Fix typo.
32495 2012-03-23 David S. Miller <davem@davemloft.net>
32497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32499 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32501 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32502 to pad to uint64_t for each field.
32503 (dl_tls_index): Replace unsigned long with uint64_t.
32505 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32506 Paul Pluzhnikov <ppluzhnikov@google.com>
32509 * grp/Makefile (otherlibs): Don't set it.
32510 * inet/Makefile (otherlibs): Likewise.
32511 * login/Makefile (otherlibs): Likewise.
32512 * nscd/Makefile (otherlibs): Likewise.
32513 * posix/Makefile (otherlibs): Likewise.
32514 * pwd/Makefile (otherlibs): Likewise.
32515 * rt/Makefile (otherlibs): Likewise.
32516 * sunrpc/Makefile (otherlibs): Likewise.
32517 * nss/Makefile (otherlibs): Likewise.
32518 Add libnss_files to routines and static-only-routines.
32519 ($(objpfx)getent): Remove rule.
32520 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32521 static-only-routines.
32523 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32526 * math/s_cexp.c: Include <float.h>.
32527 (__cexp): Handle exp result overflowing not necessarily
32528 overflowing both real and imaginary parts of result.
32529 * math/s_cexpf.c: Likewise.
32530 * math/s_cexpl.c: Likewise.
32531 * math/libm-test.inc (cexp_test): Add more tests.
32532 * sysdeps/i386/fpu/libm-test-ulps: Update.
32533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32535 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32537 * include/link.h (ELFW): New macro.
32538 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32539 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32541 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32543 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32546 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32548 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32550 (struct La_x32_retval): Likewise.
32552 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32554 * sysdeps/x86_64/preconfigure.in: New file.
32555 * sysdeps/x86_64/preconfigure: New generated file.
32557 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32560 * math/e_exp2l.c: Include <float.h>.
32561 (__ieee754_exp2l): Handle overflow and underflow cases
32562 separately. Only pass fractional part of argument to
32564 * math/libm-test.inc (exp2_test): Add more tests.
32566 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32567 negating x to take absolute value.
32568 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32570 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32571 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32573 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32574 computing low part if x was negated.
32575 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32577 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32579 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32580 la_x32_gnu_pltexit.
32581 (pltexit): Cast int_retval to ptrdiff_t.
32582 * elf/tst-auditmod3b.c: Likewise.
32583 * elf/tst-auditmod4b.c: Likewise.
32584 * elf/tst-auditmod5b.c: Likewise.
32585 * elf/tst-auditmod6b.c: Likewise.
32586 * elf/tst-auditmod6c.c: Likewise.
32587 * elf/tst-auditmod7b.c: Likewise.
32589 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32590 and x32_gnu_pltexit.
32592 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32593 __ELF_NATIVE_CLASS.
32594 (La_x32_regs): New macro.
32595 (La_x32_retval): Likewise.
32596 (la_x32_gnu_pltenter): New function prototype.
32597 (la_x32_gnu_pltexit): Likewise.
32599 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32601 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32606 * configure.in (libc_cv_cc_nofma): Check for option to disable
32607 generation of FMA instructions.
32608 * configure: Regenerate.
32609 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32610 * sysdeps/ieee754/dbl-64/Makefile: New file.
32611 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32612 Remove brandred-fma4.
32613 (CFLAGS-brandred-fma4.c): Remove.
32614 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32615 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32617 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32620 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32622 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32623 LLONG_MAX != LONG_MAX.
32624 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32625 (_fitoa_word): Likewise.
32626 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32627 LLONG_MAX != LONG_MAX.
32628 * stdio-common/_itowa.h: Include <_itoa.h>.
32629 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32630 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32631 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32632 only if not defined.
32633 (_ITOA_WORD_TYPE): Likewise.
32634 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32635 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32637 2012-03-21 David S. Miller <davem@davemloft.net>
32639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32641 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32643 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32644 of x86_64 when setting libc_cv_slibdir, libdir and
32646 * sysdeps/unix/sysv/linux/configure: Regenerated.
32648 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32650 * manual/lang.texi (Old Varargs): Remove section.
32651 (How Variadic): Update menu.
32652 (va_start): Do not mention varargs.h.
32654 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32655 Joseph Myers <joseph@codesourcery.com>
32657 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32659 * configure: Regenerated.
32661 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32663 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32664 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32667 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32670 * Makefile (files-for-dist): Remove NOTES.
32671 (NOTES): Remove rule.
32672 * README: Don't refer to NOTES.
32673 * manual/creature.texi: Don't include macros.texi.
32674 * manual/intro.texi (creature.texi): Remove comment referring to
32677 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32678 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32679 * configure: Regenerated.
32680 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32681 LIBC_TRY_CC_OPTION.
32682 (libc_cv_as_i686): Likewise.
32683 (libc_cv_cc_avx): Likewise.
32684 (libc_cv_cc_sse2avx): Likewise.
32685 (libc_cv_cc_fma4): Likewise.
32686 (libc_cv_cc_novzeroupper): Likewise.
32687 * sysdeps/i386/configure: Regenerated.
32690 * sysdeps/i386/fpu/s_cexp.S: Remove.
32691 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32692 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32693 * math/libm-test.inc (cexp_test): Add more tests.
32694 * sysdeps/i386/fpu/libm-test-ulps: Update.
32695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32697 2012-03-21 Allan McRae <allan@archlinux.org>
32699 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32701 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32704 * math/w_exp2.c: Do not include <float.h>.
32705 (o_threshold, u_threshold): Remove.
32706 (__exp2): Calculate result before checking finiteness and calling
32708 * math/w_exp2f.c: Likewise.
32709 * math/w_exp2l.c: Likewise.
32710 * math/libm-test.inc (exp2_test): Require overflow exception for
32714 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32715 range of signed 64-bit integers before using fistpll. Remove
32716 checks for whether integers fit in mantissa bits.
32717 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32718 the range of signed 32-bit integers before using fistpl. Remove
32719 checks for whether integers fit in mantissa bits.
32720 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32721 (__ieee754_powl): Test for y outside the range of signed 64-bit
32722 integers before using fistpll. Reduce 64-bit values to 63-bit
32724 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32725 divide-by-zero is raised for zero to large negative powers.
32726 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32727 (__ieee754_powl): Test for y outside the range of signed 64-bit
32728 integers before using fistpll. Reduce 64-bit values to 63-bit
32730 * math/libm-test.inc (pow_test): Add more tests.
32732 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32734 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32735 <stdio-common/_itoa.h>.
32736 * debug/segfault.c: Likewise.
32737 * elf/dl-cache.c: Likewise.
32738 * elf/dl-minimal.c: Likewise.
32739 * elf/dl-misc.c: Likewise.
32740 * elf/dl-sysdep.c: Likewise.
32741 * elf/dl-version.c: Likewise.
32742 * elf/rtld.c: Likewise.
32743 * hurd/hurdsock.c: Likewise.
32744 * hurd/lookup-retry.c: Likewise.
32745 * malloc/malloc.c: Likewise.
32746 * malloc/mtrace.c: Likewise.
32747 * nscd/nscd_getgr_r.c: Likewise.
32748 * nscd/nscd_getpw_r.c: Likewise.
32749 * nscd/nscd_getserv_r.c: Likewise.
32750 * posix/getopt_init.c: Likewise.
32751 * posix/wordexp.c: Likewise.
32752 * stdio-common/_itoa.c: Likewise.
32753 * stdio-common/printf_fphex.c: Likewise.
32754 * stdio-common/vfprintf.c: Likewise.
32755 * string/_strerror.c: Likewise.
32756 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32757 * sysdeps/i386/i686/hp-timing.h: Likewise.
32758 * sysdeps/mach/_strerror.c: Likewise.
32759 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32760 * sysdeps/mach/hurd/sethostid.c: Likewise.
32761 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32762 * sysdeps/mach/xpg-strerror.c: Likewise.
32763 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32764 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32765 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32766 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32767 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32768 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32769 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32770 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32771 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32772 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32773 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32774 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32775 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32776 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32777 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32778 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32779 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32780 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32781 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32782 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32783 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32785 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32787 * stdio-common/_itoa.h: Moved to ...
32788 * sysdeps/generic/_itoa.h: Here.
32790 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32792 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32793 instead of "_itoa.h" and "_itowa.h".
32794 * stdio-common/vfprintf.: Likewise.
32796 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32798 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32800 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32801 (__signbit): Likwise.
32802 (llrintf): Likwise.
32805 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32807 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32810 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32812 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32813 OVERFLOW_EXCEPTION_OK.
32814 * math/libm-test.inc ("Philosophy"): Update comment about
32816 (OVERFLOW_EXCEPTION): Define.
32817 (OVERFLOW_EXCEPTION_OK): Likewise.
32818 (INVALID_EXCEPTION_OK): Renumber.
32819 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32820 (IGNORE_ZERO_INF_SIGN): Likewise.
32821 (test_exceptions): Handle FE_OVERFLOW.
32822 (exp10_test): Expect overflow exceptions.
32823 (exp2_test): Likewise.
32824 (expm1_test): Likewise.
32825 (nextafter_test): Likewise.
32826 (pow_test): Likewise.
32827 (scalbn_test): Likewise.
32828 (scalbln_test): Likewise.
32830 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32832 * sysdeps/x86_64/bits/atomic.h
32833 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32835 (atomic_exchange_acq): Likewise.
32836 (__arch_exchange_and_add_body): Likewise.
32837 (__arch_add_body): Likewise.
32838 (atomic_add_negative): Likewise.
32839 (atomic_add_zero): Likewise.
32841 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32843 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32844 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32846 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32848 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32849 Check __x86_64__ instead of __WORDSIZE.
32851 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32853 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32855 2012-03-19 David S. Miller <davem@davemloft.net>
32857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32859 * sysdeps/sparc/fpu/fenv_private.h: New file.
32860 * sysdeps/sparc/fpu/math_private.h: Use it.
32861 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32863 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32864 (libc_feholdexcept_setroundl): Remove.
32865 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32867 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32868 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32870 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32872 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32873 int64_t instead of long int.
32874 (INSERT_WORDS64): Likwise.
32876 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32878 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32879 _Unwind_GetCFA return to _Unwind_Ptr first.
32881 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32884 * math/s_clog.c: Include <float.h>.
32885 (__clog): Scale large or subnormal inputs.
32886 * math/s_clogf.c: Likewise.
32887 * math/s_clogl.c: Likewise.
32888 * math/s_clog10.c: Include <float.h>.
32889 (M_LOG10_2): Define.
32890 (__clog10): Scale large or subnormal inputs.
32891 * math/s_clog10f.c: Likewise.
32892 * math/s_clog10l.c: Likewise.
32893 * math/libm-test.inc (clog_test): Add more tests.
32894 (clog10_test): Likewise.
32895 * sysdeps/i386/fpu/libm-test-ulps: Update.
32896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32899 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32901 * math/libm-test.inc (atan2_test): Add another test.
32903 * Makerules (common-objdir-compile): Remove.
32904 * sysdeps/unix/Makefile (config-generated): Do not add
32905 $(unix-generated) to variable.
32906 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32907 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32909 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32911 [generic bits/local_lim.h] (before-compile): Do not append to
32913 [generic bits/local_lim.h] (common-generated): Likewise.
32914 [generic sys/param.h] (before-compile): Do not append to variable.
32915 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32916 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32917 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32918 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32920 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32921 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32922 [generic sys/param.h] ($(addprefix
32923 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32924 [generic sys/param.h] (common-generated): Do not append to
32926 [generic sys/param.h] (sysdep_headers): Likewise.
32927 [generic bits/errno.h] (before-compile): Do not append to
32929 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32931 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32932 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32933 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32934 [generic bits/errno.h] (common-generated): Do not append to
32936 [generic bits/ioctls.h] (before-compile): Do not append to
32938 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32940 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32941 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32942 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32944 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32945 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32946 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32947 [generic bits/ioctls.h] (common-generated): Do not append to
32949 [generic sys/syscall.h] (syscall.h): Remove variable.
32950 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32952 [generic sys/syscall.h] (before-compile): Do not append to
32954 [generic sys/syscall.h] (common-generated): Likewise.
32955 * sysdeps/unix/errnos-tmpl.c: Remove file.
32956 * sysdeps/unix/errnos.awk: Likewise.
32957 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32958 * sysdeps/unix/ioctls.awk: Likewise.
32959 * sysdeps/unix/mk-local_lim.c: Likewise.
32960 * sysdeps/unix/snarf-ioctls: Likewise.
32962 2012-03-19 Richard Henderson <rth@twiddle.net>
32964 * sysdeps/i386/fpu/fenv_private.h: New file.
32965 * sysdeps/i386/fpu/math_private.h: Use it.
32966 (math_opt_barrier, math_force_eval): Remove.
32967 (libc_feholdexcept_setround_53bit): Remove.
32968 (libc_feupdateenv_53bit): Remove.
32969 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32970 (math_opt_barrier, math_force_eval): Remove.
32971 (libc_feholdexcept): Remove.
32972 (libc_feholdexcept_setround): Remove.
32973 (libc_fetestexcept, libc_fesetenv): Remove.
32974 (libc_feupdateenv_test): Remove.
32975 (libc_feupdateenv, libc_feholdsetround): Remove.
32976 (libc_feresetround): Remove.
32978 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32979 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32981 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32982 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32983 (libc_feupdateenv_testl): New.
32984 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32985 (libc_feupdateenv_testf): New.
32986 (libc_feupdateenv): Use libc_feupdateenv_test.
32987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32988 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32990 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32991 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32992 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32993 (libc_feresetround_noex): New.
32994 (libc_feresetround_noexf): New.
32995 (libc_feresetround_noexl): New.
32996 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32997 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32998 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32999 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33001 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33002 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33004 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33005 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33006 SET_RESTORE_ROUND_NOEX.
33007 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33008 SET_RESTORE_ROUND_NOEXF.
33009 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33010 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33011 (libc_feholdsetroundf): New.
33012 (libc_feresetround, libc_feresetroundf): New.
33014 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33015 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33016 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33018 * sysdeps/generic/math_private.h: Include <fenv.h>.
33019 (default_libc_feholdexcept): New.
33020 (default_libc_feholdexcept_setround): New.
33021 (default_libc_fesetenv, default_libc_feupdateenv): New.
33022 (libc_feholdexcept): Only define if undefined.
33023 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33024 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33025 (libc_feholdexcept_setroundl): Likewise.
33026 (libc_feholdexcept_setround_53bit): Likewise.
33027 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33028 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33029 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33030 (libc_feupdateenv_53bit): Likewise.
33031 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33032 (libc_feholdexcept): Convert from macro to inline function.
33033 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33034 (libc_fesetenv, libc_feupdateenv): Likewise.
33036 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33037 not previously defined.
33038 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33039 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33040 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33041 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33042 * sysdeps/ieee754/flt-32/math_private.h: New file.
33043 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33044 math_private.h below SET_FLOAT_WORD.
33045 (__isnan, __isinf_ns, __finite): Remove.
33046 (__isnanf, __isinf_nsf, __finitef): Remove.
33048 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33052 2012-03-17 David S. Miller <davem@davemloft.net>
33055 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33058 2012-03-16 David S. Miller <davem@davemloft.net>
33060 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33064 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33066 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33067 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33068 sysdep_routines when subdir is sysvipc.
33069 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33070 __getshmlba helper.
33072 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33074 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33076 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33079 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33081 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33082 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33083 (__lround): Renamed to ...
33084 (__llround): This. Replace long int with long long int.
33085 Define lround functions as aliases of llround functions.
33086 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33088 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33090 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33091 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33092 adresses to uintptr_t. Replace "long int" and "unsigned long
33093 int" with "greg_t" on va_arg.
33095 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33097 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33098 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33100 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33101 Move e_machine check before EI_CLASS check. Handle x32
33102 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33103 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33104 SKIP_EM_IA_64 and include
33105 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33107 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33108 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33109 (add_system_dir): New macro.
33111 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33112 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33114 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33125 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33127 * math/w_j0f.c (j0f): Likewise.
33129 * math/w_j0l.c (__j0l): Likewise.
33131 * math/w_j1.c (j1): Likewise.
33133 * math/w_j1f.c (j1f): Likewise.
33135 * math/w_j1l.c (__j1l): Likewise.
33137 * math/w_jn.c (jn): Likewise.
33139 * math/w_jnf.c (jnf): Likewise.
33141 * math/w_jnl.c (__jnl): Likewise.
33143 * math/libm-test.inc (j0_test): Add more tests.
33144 (j1_test): Likewise.
33145 (jn_test): Likewise. Add trailing semicolon to existing test.
33146 (y0_test): Likewise.
33147 (y1_test): Likewise.
33148 * sysdeps/i386/fpu/libm-test-ulps: Update.
33149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33153 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33154 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33155 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33156 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33157 (__tanl): Set errno for infinite argument.
33158 * sysdeps/i386/fpu/mptan.c: Remove.
33159 * sysdeps/i386/fpu/s_tan.S: Likewise.
33160 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33161 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33162 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33163 * math/libm-test.inc (tan_test): Add more tests and enable more
33164 tests for double and long double.
33165 * sysdeps/i386/fpu/libm-test-ulps: Update.
33166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33168 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33170 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33171 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33173 2012-03-16 Roland McGrath <roland@hack.frob.com>
33175 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33176 * configure.in: Use it for both main tree and add-ons.
33177 * configure: Regenerated.
33179 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33181 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33183 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33185 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33189 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33190 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33191 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33192 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33193 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33195 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33196 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33197 != 0 for prec == 2.
33198 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33199 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33200 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33201 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33202 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33203 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33204 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33205 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33206 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33207 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33208 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33209 * math/libm-test.inc (cos_test): Add more tests and enable more
33210 tests for long double.
33211 (sin_test): Likewise.
33212 (sincos_test): Likewise.
33213 * sysdeps/i386/fpu/libm-test-ulps: Update.
33214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33216 2012-03-16 David S. Miller <davem@davemloft.net>
33218 * sysdeps/sparc/fpu/math_private.h: New file.
33220 2012-03-15 David S. Miller <davem@davemloft.net>
33222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33232 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33236 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33237 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33239 * sysdeps/sparc/sparc-ifunc.h: New file.
33240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33265 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33266 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33267 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33268 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33271 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33274 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33275 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33276 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33277 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33278 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33279 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33280 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33281 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33282 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33283 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33285 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33287 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33291 2012-03-15 Andreas Jaeger <aj@suse.de>
33294 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33295 ieee754/flt-32 implementation for sin, cos and sincos.
33296 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33297 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33298 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33299 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33300 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33301 ieee754/flt-32 implementation for tan.
33303 * math/libm-test.inc (cos_test): Enable some large input tests for
33305 (sin_test): Likewise.
33306 (sincos_test): Likewise.
33307 (tan_test): Add tests for large input.
33309 * sysdeps/i386/fpu/libm-test-ulps: Update.
33311 2012-03-15 Andreas Jaeger <aj@suse.de>
33314 * math/libm-test.inc (cos_test): Add more test cases.
33315 (sin_test): Likewise.
33316 (sincos_test): Likewise.
33318 2012-03-15 Andreas Jaeger <aj@suse.de>
33321 * math/libm-test.inc (cos_test): Add a test case for large input
33323 (sin_test): Likewise.
33324 (sincos_test): Likewise.
33326 2012-03-15 Andreas Jaeger <aj@suse.de>,
33327 Joseph Myers <joseph@codesourcery.com>
33330 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33331 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33332 * sysdeps/i386/fpu/branred.c: Likewise.
33333 * sysdeps/i386/fpu/dosincos.c: Likewise.
33334 * sysdeps/i386/fpu/mpa.c: Likewise.
33335 * sysdeps/i386/fpu/s_cos.S: Likewise.
33336 * sysdeps/i386/fpu/s_sin.S: Likewise.
33337 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33338 * sysdeps/i386/fpu/sincos32.c: Likewise.
33340 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33342 (libc_feupdateenv_53bit): Define.
33343 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33345 (libc_feupdateenv_53bit): Define.
33347 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33348 53 bit (without extend i386 double precision).
33350 * math/libm-test.inc (sincos_test): Add tests for large input.
33354 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33356 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33360 2012-03-15 David S. Miller <davem@davemloft.net>
33362 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33363 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33364 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33365 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33373 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33374 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33375 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33376 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33389 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33390 fmin/fmax sysdep routines.
33391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33393 2012-03-14 David S. Miller <davem@davemloft.net>
33395 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33396 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33397 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33398 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33399 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33400 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33401 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33402 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33403 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33404 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33405 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33407 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33408 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33409 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33410 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33411 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33412 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33413 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33415 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33416 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33417 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33418 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33419 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33420 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33421 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33422 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33423 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33467 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33472 * sysdeps/sparc/configure.in: New file.
33473 * sysdeps/sparc/configure: Generate.
33474 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33475 * configure: Regenerate.
33476 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33477 * config.make.in (have-as-vis3): New.
33478 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33479 available use -Av9d instead of -Av9a.
33480 * sysdeps/sparc/sparc64/Makefile: Likewise.
33481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33490 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33491 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33492 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33493 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33494 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33496 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33497 fzeros/fnegs to load 0x80000000 into a float register instead of
33499 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33501 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33505 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33506 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33507 ($(inst_includedir)/bits/syscall.h): Remove rule.
33508 ($(objpfx)bits/syscall.d): Include instead of
33509 $(objpfx)syscall-list.d.
33510 (generated): Change syscall-list.h and syscall-list.d to
33511 bits/syscall.h and bits/syscall.d.
33513 2012-03-14 Roland McGrath <roland@hack.frob.com>
33516 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33518 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33521 * math/s_csqrt.c: Include <float.h>.
33522 (__csqrt): Scale large or subnormal inputs.
33523 * math/s_csqrtf.c: Likewise.
33524 * math/s_csqrtl.c: Likewise.
33525 * math/libm-test.inc (csqrt_test): Add more tests.
33526 * sysdeps/i386/fpu/libm-test-ulps: Update.
33527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33530 * math/libm-test.inc (hypot_test): Add more tests.
33532 2012-03-13 David S. Miller <davem@davemloft.net>
33535 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33536 double-precision for the calculation instead of scaling.
33538 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33540 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33541 manipulate bits before adding and subtracting TWO52[sx].
33542 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33543 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33545 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33547 2012-03-13 David S. Miller <davem@davemloft.net>
33549 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33550 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33551 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33552 rtld-global-offsets.h
33553 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33555 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33558 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33560 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33561 'err' in the ifdef scope in which it is actually used.
33563 * nss/nss_db/db-init.c: Include string.h
33565 2012-03-12 David S. Miller <davem@davemloft.net>
33567 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33568 masking out of the most significant byte of random value used.
33569 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33570 Fix coding style in previous change.
33572 * sysdeps/unix/sysv/linux/kernel-features.h
33573 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33574 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33576 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33579 2012-03-11 David S. Miller <davem@davemloft.net>
33581 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33582 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33583 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33584 for 'resultvar' otherwise things get truncated on 64-bit.
33586 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33587 Fix masking out of the most significant byte of random value used.
33589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33591 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33595 2012-03-09 David S. Miller <davem@davemloft.net>
33597 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33598 variables with appropriate CPP guards.
33599 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33600 frame pointer, not the stack pointer. Correct layout comments. Fix test
33601 on resulting framesize and the management of the outregs buffer for pltexit.
33602 Preserve floating point return values across _dl_call_pltexit call.
33603 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33604 framesize and the management of the outregs buffer for pltexit.
33605 Preserve floating point return values across _dl_call_pltexit
33607 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33608 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33609 (print_exit): Fix format string for return register value.
33611 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33613 * sunrpc/Makefile (others): Add rpcgen.
33614 ($(objpfx)rpcgen): Remove special build rule and dependency on
33616 * sunrpc/rpcgen.c: New file.
33618 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33621 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33622 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33623 * sysdeps/i386/crti.S: Likewise.
33624 * sysdeps/i386/crtn.S: Likewise.
33625 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33626 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33627 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33628 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33629 * sysdeps/sh/crti.S: Likewise.
33630 * sysdeps/sh/crtn.S: Likewise.
33631 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33634 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33636 * locale/programs/locfile-kw.gperf: Likewise.
33637 * locale/programs/charmap-kw.h: Regenerated.
33638 * locale/programs/locfile-kw.h: Likewise.
33641 * intl/plural.y: Replace FSF snail mail address with URL.
33642 * intl/plural.c: Regenerated.
33644 2012-03-09 Richard Henderson <rth@twiddle.net>
33646 * include/math_private.h: Remove file.
33647 * math/math_private.h: Move file ...
33648 * sysdeps/generic/math_private.h: ... here.
33650 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33651 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33652 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33654 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33655 and <math_private.h>.
33656 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33657 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33658 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33659 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33660 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33661 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33662 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33663 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33664 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33665 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33666 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33667 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33668 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33669 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33670 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33671 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33672 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33673 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33674 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33675 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33676 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33677 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33678 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33679 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33680 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33681 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33682 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33683 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33684 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33685 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33686 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33687 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33688 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33689 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33690 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33691 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33692 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33693 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33694 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33695 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33696 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33697 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33698 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33699 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33700 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33701 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33702 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33703 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33704 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33705 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33706 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33707 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33708 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33709 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33710 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33711 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33712 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33713 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33714 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33715 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33716 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33717 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33718 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33719 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33720 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33721 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33722 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33723 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33724 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33725 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33726 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33727 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33728 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33729 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33730 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33731 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33732 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33733 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33734 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33735 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33736 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33737 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33738 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33739 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33740 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33741 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33742 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33743 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33744 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33745 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33746 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33747 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33748 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33749 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33750 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33751 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33752 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33753 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33754 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33755 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33756 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33757 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33758 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33759 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33760 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33761 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33762 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33763 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33764 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33765 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33766 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33767 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33768 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33769 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33770 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33771 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33772 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33773 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33774 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33775 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33776 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33777 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33778 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33779 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33780 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33781 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33782 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33783 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33784 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33785 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33786 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33787 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33788 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33789 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33790 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33791 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33792 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33793 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33794 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33795 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33796 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33797 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33798 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33799 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33800 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33801 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33802 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33803 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33804 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33805 * sysdeps/ieee754/k_standard.c: Likewise.
33806 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33807 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33808 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33809 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33810 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33811 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33812 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33813 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33814 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33815 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33816 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33817 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33818 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33819 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33820 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33821 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33822 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33823 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33824 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33825 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33826 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33827 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33828 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33829 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33830 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33831 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33832 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33833 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33834 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33835 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33836 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33837 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33838 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33839 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33840 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33841 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33842 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33843 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33844 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33845 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33846 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33847 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33848 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33849 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33850 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33851 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33852 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33853 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33854 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33855 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33856 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33857 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33858 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33859 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33860 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33861 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33862 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33863 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33864 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33865 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33866 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33867 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33868 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33869 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33870 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33871 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33872 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33873 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33874 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33875 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33876 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33877 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33878 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33879 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33880 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33881 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33882 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33883 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33884 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33885 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33886 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33887 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33888 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33889 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33890 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33891 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33892 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33893 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33894 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33895 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33896 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33897 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33898 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33899 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33900 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33901 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33902 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33903 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33904 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33905 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33906 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33907 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33908 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33909 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33910 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33911 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33912 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33913 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33914 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33915 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33916 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33917 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33918 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33919 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33920 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33921 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33922 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33923 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33924 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33925 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33926 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33927 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33928 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33929 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33930 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33931 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33932 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33933 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33934 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33935 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33936 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33937 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33938 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33939 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33940 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33941 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33942 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33943 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33944 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33945 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33946 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33947 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33948 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33949 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33950 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33951 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33952 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33953 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33954 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33955 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33956 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33957 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33958 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33959 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33960 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33961 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33962 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33963 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33964 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33965 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33966 * sysdeps/ieee754/s_lib_version.c: Likewise.
33967 * sysdeps/ieee754/s_matherr.c: Likewise.
33968 * sysdeps/ieee754/s_signgam.c: Likewise.
33969 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33970 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33971 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33972 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33973 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33974 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33975 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33976 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33977 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33978 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33979 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33980 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33981 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33982 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33983 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33984 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33985 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33986 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33987 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33988 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33989 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33991 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33993 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33994 * sunrpc/rpc_main.c: Likewise.
33995 * sunrpc/rpc_svcout.c: Likewise.
33997 2012-03-09 David S. Miller <davem@davemloft.net>
33999 * include/math_private.h: New file.
34001 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34003 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34004 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34005 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34006 from <bits/socket_type.h>.
34007 (enum __socket_type): Don't define here.
34008 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34010 bits/socket_type.h.
34013 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34014 checking __USE_GNU.
34016 * Makerules ($(inst_includedir)/%.h): New rule.
34017 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34018 (install-others): Remove variable setting.
34019 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34021 2012-03-08 Richard Henderson <rth@twiddle.net>
34023 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34024 from macro to inline function; merge with the
34025 !__LIBC_INTERNAL_MATH_INLINES version.
34026 (__ieee754_sqrtf): Likewise.
34028 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34029 to inline function.
34030 (__rintf, __floor, __floorf): Likewise.
34032 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34033 macro to inline function.
34034 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34036 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34037 not <math/math_private.h>.
34039 2012-03-08 David S. Miller <davem@davemloft.net>
34041 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34043 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34045 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34047 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34049 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34050 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34052 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34054 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34055 be defined individually, they must be defined as a block. Define
34056 S for printing a string instead of hidint the different by using a
34057 macro for adding the 'l'.
34058 * stdio-common/tst-fphex-wide.c: Adjust.
34060 2012-03-07 Marek Polacek <polacek@redhat.com>
34062 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34064 2012-03-08 Marek Polacek <polacek@redhat.com>
34067 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34068 * stdio-common/tst-fphex.c: Define a few macros to make the
34069 test reusable. Use them.
34070 * stdio-common/tst-fphex-wide.c: New file.
34072 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34075 * manual/macros.texi (gnusystems): New macro.
34076 (nongnusystems): Likewise.
34077 (gnulinuxhurdsystems): Likewise.
34078 (gnuhurdsystems): Likewise..
34079 (gnulinuxsystems): Likewise.
34080 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34081 variants of the GNU system, not "GNU system".
34082 * manual/conf.texi: Likewise.
34083 * manual/errno.texi: Likewise. Update example of errno macro
34085 * manual/filesys.texi: Likewise.
34086 (getumask): Document as specific to GNU/Hurd.
34087 * manual/install.texi: Likewise. Reword some references to
34089 * manual/intro.texi: Likewise.
34090 * manual/io.texi: Likewise.
34091 (File Name Portability): Detail which constraints are inapplicable
34092 to all GNU systems and which are only inapplicable to GNU/Hurd.
34093 * manual/job.texi: Likewise.
34094 * manual/llio.texi: Likewise.
34095 (O_NOCTTY): Document as present on GNU/Linux.
34096 * manual/maint.texi: Likewise.
34097 * manual/memory.texi: Likewise.
34098 * manual/pattern.texi: Likewise.
34099 * manual/pipe.texi: Likewise.
34100 * manual/process.texi: Likewise.
34101 * manual/resource.texi: Likewise.
34102 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34104 * manual/setjmp.texi: Likewise.
34105 * manual/signal.texi: Likewise.
34106 * manual/startup.texi: Likewise.
34107 * manual/stdio.texi: Likewise.
34108 * manual/terminal.texi: Likewise.
34109 (ONLCR): Document as POSIX.
34110 (OXTABS): Document availability on GNU/Linux as XTABS.
34111 (ONOEOT): Document availability separately from other bits.
34112 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34113 * manual/time.texi: Likewise.
34114 * manual/users.texi: Likewise.
34115 * INSTALL: Regenerated.
34116 * sysdeps/gnu/errlist.c: Regenerated.
34118 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34119 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34120 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34122 * configure: Regenerated.
34124 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34126 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34127 default includes instead of AC_HEADER_CHECK.
34128 * sysdeps/i386/configure: Regenerated.
34131 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34132 * math/s_cacoshf.c (__cacoshf): Likewise.
34133 * math/s_cacoshl.c (__cacoshl): Likewise.
34134 * math/s_casinh.c (__casinh): Set signs of result from argument.
34135 * math/s_casinhf.c (__casinhf): Likewise.
34136 * math/s_casinhl.c (__casinhl): Likewise.
34137 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34138 (casinh_test): Add more tests.
34139 * sysdeps/i386/fpu/libm-test-ulps: Update.
34140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34142 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34144 * po/zh_TW.po: Update from translation team.
34146 * login/Makefile (distribute): Remove variable.
34147 * catgets/Makefile: Likewise.
34148 * mach/Makefile: Likewise.
34149 * malloc/Makefile: Likewise.
34150 * misc/Makefile: Likewise.
34151 * iconv/Makefile: Likewise.
34152 * nscd/Makefile: Likewise.
34153 * hurd/Makefile: Likewise.
34154 * manual/Makefile: Likewise.
34155 * locale/Makefile: Likewise.
34156 * intl/Makefile: Likewise.
34157 * conform/Makefile: Likewise.
34158 * nss/Makefile: Likewise.
34159 * time/Makefile: Likewise.
34160 * soft-fp/Makefile: Likewise.
34161 * dirent/Makefile: Likewise.
34162 * gmon/Makefile: Likewise.
34163 * po/Makefile: Likewise.
34164 * rt/Makefile: Likewise.
34165 * socket/Makefile: Likewise.
34166 * math/Makefile: Likewise.
34167 * signal/Makefile: Likewise.
34168 * debug/Makefile: Likewise.
34169 * elf/Makefile: Likewise.
34170 * timezone/Makefile: Likewise.
34171 * stdlib/Makefile: Likewise.
34172 * iconvdata/Makefile: Likewise.
34173 * sunrpc/Makefile: Likewise.
34174 * io/Makefile: Likewise.
34175 * argp/Makefile: Likewise.
34176 * inet/Makefile: Likewise.
34177 * hesiod/Makefile: Likewise.
34178 * grp/Makefile: Likewise.
34179 * csu/Makefile: Likewise.
34180 * wctype/Makefile: Likewise.
34181 * crypt/Makefile: Likewise.
34182 * libio/Makefile: Likewise.
34183 * string/Makefile: Likewise.
34184 * nis/Makefile: Likewise.
34185 * resolv/Makefile: Likewise.
34186 * stdio-common/Makefile: Likewise.
34187 * wcsmbs/Makefile: Likewise.
34188 * dlfcn/Makefile: Likewise.
34189 * posix/Makefile: Likewise.
34192 * timezone/Makefile: Don't install timezone files, just the programs
34195 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34197 * nss/databases.def: Add missing gshadow entry.
34199 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34201 2012-03-06 Marek Polacek <polacek@redhat.com>
34204 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34205 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34206 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34207 * stdio-common/tst-long-dbl-fphex.c: New file.
34209 2012-03-06 David S. Miller <davem@davemloft.net>
34211 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34212 (set_obp_int): New function.
34213 (get_obp_int): New function.
34214 (__get_clockfreq_via_dev_openprom): Likewise.
34215 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34216 Avoid unused variable warnings on 'val' and use builtin_expect.
34217 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34219 (INLINE_CLONE_SYSCALL): Likewise.
34221 2012-03-05 David S. Miller <davem@davemloft.net>
34223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34225 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34229 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34230 only for |x| >= 40.
34231 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34233 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34235 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34236 Replace gettimeofday with __vdso_gettimeofday.
34238 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34239 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34240 __vdso_clock_gettime and __vdso_getcpu.
34242 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34243 time with __vdso_time.
34245 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34247 * manual/lang.texi (size_t): Note types to which size_t may be
34248 equivalent with the GNU C Library, but do not describe when
34249 differences between them are significant.
34251 2012-03-05 Andreas Jaeger <aj@suse.de>
34253 * sysdeps/i386/fpu/libm-test-ulps: Update.
34255 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34258 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34259 (__ieee754_pow): Save and restore rounding mode and use
34260 round-to-nearest for main computations.
34261 * math/libm-test.inc (pow_test_tonearest): New function.
34262 (pow_test_towardzero): Likewise.
34263 (pow_test_downward): Likewise.
34264 (pow_test_upward): Likewise.
34265 (main): Call the new functions.
34266 * sysdeps/i386/fpu/libm-test-ulps: Update.
34267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34270 * math/libm-test.inc (cosh_test_tonearest): New function.
34271 (cosh_test_towardzero): Likewise.
34272 (cosh_test_downward): Likewise.
34273 (cosh_test_upward): Likewise.
34274 (sinh_test_tonearest): Likewise.
34275 (sinh_test_towardzero): Likewise.
34276 (sinh_test_downward): Likewise.
34277 (sinh_test_upward): Likewise.
34278 (main): Call the new functions.
34279 * sysdeps/i386/fpu/libm-test-ulps: Update.
34280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34282 2012-03-05 Tom de Vries <tom@codesourcery.com>
34284 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34285 default stack guard is set in last bytes.
34286 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34288 2012-03-05 Kees Cook <keescook@chromium.org>
34290 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34293 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34294 possibly allocate from heap instead of stack.
34295 * stdio-common/bug-vfprintf-nargs.c: New file.
34296 * stdio-common/Makefile (tests): Add nargs overflow test.
34298 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34302 2012-03-03 Marek Polacek <polacek@redhat.com>
34304 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34305 * math/math_private.h: Likewise.
34306 * stdlib/tst-strtod.c: Likewise.
34307 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34308 * sysdeps/x86_64/bits/atomic.h: Likewise.
34310 2012-03-02 David S. Miller <davem@davemloft.net>
34312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34316 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34317 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34318 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34319 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34321 2012-03-02 Roland McGrath <roland@hack.frob.com>
34324 * manual/examples/README: New file, says the example source files
34325 can be used under GPL>=2.
34326 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34327 line containing just "*/".
34328 * manual/examples/add.c: Add copyright header (GPL>=2).
34329 * manual/examples/argp-ex1.c: Likewise.
34330 * manual/examples/argp-ex2.c: Likewise.
34331 * manual/examples/argp-ex3.c: Likewise.
34332 * manual/examples/argp-ex4.c: Likewise.
34333 * manual/examples/atexit.c: Likewise.
34334 * manual/examples/db.c: Likewise.
34335 * manual/examples/dir.c: Likewise.
34336 * manual/examples/dir2.c: Likewise.
34337 * manual/examples/execinfo.c: Likewise.
34338 * manual/examples/filecli.c: Likewise.
34339 * manual/examples/filesrv.c: Likewise.
34340 * manual/examples/fmtmsgexpl.c: Likewise.
34341 * manual/examples/genpass.c: Likewise.
34342 * manual/examples/inetcli.c: Likewise.
34343 * manual/examples/inetsrv.c: Likewise.
34344 * manual/examples/isockad.c: Likewise.
34345 * manual/examples/longopt.c: Likewise.
34346 * manual/examples/memopen.c: Likewise.
34347 * manual/examples/memstrm.c: Likewise.
34348 * manual/examples/mkfsock.c: Likewise.
34349 * manual/examples/mkisock.c: Likewise.
34350 * manual/examples/mygetpass.c: Likewise.
34351 * manual/examples/pipe.c: Likewise.
34352 * manual/examples/popen.c: Likewise.
34353 * manual/examples/rprintf.c: Likewise.
34354 * manual/examples/search.c: Likewise.
34355 * manual/examples/select.c: Likewise.
34356 * manual/examples/setjmp.c: Likewise.
34357 * manual/examples/sigh1.c: Likewise.
34358 * manual/examples/sigusr.c: Likewise.
34359 * manual/examples/stpcpy.c: Likewise.
34360 * manual/examples/strdupa.c: Likewise.
34361 * manual/examples/strftim.c: Likewise.
34362 * manual/examples/strncat.c: Likewise.
34363 * manual/examples/subopt.c: Likewise.
34364 * manual/examples/swapcontext.c: Likewise.
34365 * manual/examples/termios.c: Likewise.
34366 * manual/examples/testopt.c: Likewise.
34367 * manual/examples/testpass.c: Likewise.
34368 * manual/examples/timeval_subtract.c: Likewise.
34371 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34373 * manual/timeval_subtract.c.texi: ... here, new file.
34375 2012-03-02 David S. Miller <davem@davemloft.net>
34377 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34379 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34382 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34383 (__sin): Save and restore rounding mode and use round-to-nearest
34384 for all computations.
34385 (__cos): Save and restore rounding mode and use round-to-nearest
34386 for all computations.
34387 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34389 (tan): Save and restore rounding mode and use round-to-nearest for
34391 * math/libm-test.inc (cos_test_tonearest): New function.
34392 (cos_test_towardzero): Likewise.
34393 (cos_test_downward): Likewise.
34394 (cos_test_upward): Likewise.
34395 (sin_test_tonearest): Likewise.
34396 (sin_test_towardzero): Likewise.
34397 (sin_test_downward): Likewise.
34398 (sin_test_upward): Likewise.
34399 (tan_test_tonearest): Likewise.
34400 (tan_test_towardzero): Likewise.
34401 (tan_test_downward): Likewise.
34402 (tan_test_upward): Likewise.
34403 (main): Call the new functions.
34404 * sysdeps/i386/fpu/libm-test-ulps: Update.
34405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34408 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34409 small n, then large n, before computing and testing k+n.
34410 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34411 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34413 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34415 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34416 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34417 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34418 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34419 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34420 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34421 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34422 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34423 * math/libm-test.inc (scalbn_test): Add more tests.
34424 (scalbln_test): Likewise.
34426 * manual/filesys.texi (mode_t): Describe constraints on size and
34427 signedness, not exact equivalence to a particular type.
34429 (ino64_t): Likewise.
34431 (nlink_t): Likewise.
34432 (blkcnt_t): Likewise.
34433 (blkcnt64_t): Likewise.
34434 * manual/llio.texi (off_t): Likewise.
34437 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34438 (__ieee754_exp): Save and restore rounding mode and use
34439 round-to-nearest for all computations.
34440 * math/libm-test.inc (exp_test_tonearest): New function.
34441 (exp_test_towardzero): Likewise.
34442 (exp_test_downward): Likewise.
34443 (exp_test_upward): Likewise.
34444 (main): Call the new functions.
34445 * sysdeps/i386/fpu/libm-test-ulps: Update.
34446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34448 2012-03-01 Chris Demetriou <cgd@google.com>
34450 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34451 have predictable order.
34453 2012-03-01 David S. Miller <davem@davemloft.net>
34455 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34457 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34458 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34459 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34460 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34462 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34463 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34464 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34466 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34467 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34468 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34469 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34470 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34474 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34475 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34476 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34478 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34479 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34480 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34481 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34482 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34483 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34484 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34485 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34486 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34487 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34488 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34489 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34490 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34491 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34492 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34493 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34494 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34495 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34496 * sysdeps/sparc/elf/configure: Regenerated.
34498 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34500 * configure.in (AS, LD): Require binutils 2.20 or later.
34501 * configure: Regenerated.
34502 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34503 as required minimum version.
34504 * INSTALL: Regenerated.
34508 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34509 before squaring exponent.
34510 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34511 bottom long double and 27 bits of top long double before squaring
34513 * math/libm-test.inc (erfc_test): Add more tests.
34514 * sysdeps/i386/fpu/libm-test-ulps: Update.
34515 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34518 2012-03-01 Kai Tietz <ktietz@redhat.com>
34520 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34521 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34522 containing bit-fields.
34523 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34524 * soft-fp/single.h (_FP_UNION_S): Likewise.
34525 * soft-fp/double.h (_FP_UNION_D): Likewise.
34527 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34530 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34531 not include ../strcmp.S.
34532 [USE_AS_STRNCASECMP_L]: Likewise.
34533 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34534 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34535 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34536 (__strncasecmp_l_ia32): Define as alias to
34537 __strncasecmp_l_nonascii.
34540 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34541 * sysdeps/i386/fpu/libm-test-ulps: Update.
34542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34544 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34547 2012-02-29 Jeff Law <law@redhat.com>
34549 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34550 out of bounds read.
34552 2012-02-29 Marek Polacek <polacek@redhat.com>
34555 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34556 * elf/Makefile: Add rules to run tst-unused-dep.out.
34558 2012-02-28 David S. Miller <davem@davemloft.net>
34560 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34561 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34562 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34563 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34564 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34565 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34567 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34569 * math/libm-test.inc (llround_test): Move one test from
34570 lround_test. Use TEST_f_L in moved test.
34571 (lround_test): Move misplaced test to llround_test. Add testcase
34574 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34576 * sysdeps/x86_64/fpu/e_expf.S: New file.
34577 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34579 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34582 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34583 of remain_len that may cause incomplete multi-byte character and
34585 * posix/bug-regex33.c: New file.
34586 * posix/Makefile (tests): Add bug-regex33.
34588 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34590 * manual/macros.texi: New file.
34591 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34592 * manual/libc.texinfo: Include macros.texi.
34593 * manual/creatute.texi: Likewise.
34594 * manual/install.texi: Likewise.
34595 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34596 @glibcadj{} in references to the GNU C Library.
34597 * manual/charset.texi: Likewise.
34598 * manual/conf.texi: Likewise.
34599 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34600 when not using those macros.
34601 * manual/creature.texi: Likewise.
34602 * manual/crypt.texi: Likewise.
34603 * manual/errno.texi: Likewise.
34604 * manual/filesys.texi: Likewise.
34605 * manual/header.texi: Likewise.
34606 * manual/install.texi: Likewise.
34607 * manual/intro.texi: Likewise.
34608 * manual/io.texi: Likewise.
34609 * manual/job.texi: Likewise.
34610 * manual/lang.texi: Likewise.
34611 * manual/libc.texiinfo: Likewise.
34612 * manual/llio.texi: Likewise.
34613 * manual/locale.texi: Likewise.
34614 * manual/maint.texi: Likewise.
34615 * manual/math.texi: Likewise.
34616 * manual/memory.texi: Likewise.
34617 * manual/message.texi: Likewise.
34618 * manual/nss.texi: Likewise.
34619 * manual/pattern.texi: Likewise.
34620 * manual/process.texi: Likewise.
34621 * manual/resource.texi: Likewise.
34622 * manual/search.texi: Likewise.
34623 * manual/setjmp.texi: Likewise.
34624 * manual/signal.texi: Likewise.
34625 * manual/socket.texi: Likewise.
34626 * manual/startup.texi: Likewise.
34627 * manual/stdio.texi: Likewise.
34628 * manual/string.texi: Likewise.
34629 * manual/sysinfo.texi: Likewise.
34630 * manual/syslog.texi: Likewise.
34631 * manual/terminal.texi: Likewise.
34632 * manual/time.texi: Likewise.
34633 * manual/users.texi: Likewise.
34634 * INSTALL: Regenerated.
34635 * NOTES: Regenerated.
34636 * sysdeps/gnu/errlist.c: Regenerated.
34638 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34640 * include/dirent.h: Include <dirstream.h> before
34643 2012-02-28 David S. Miller <davem@davemloft.net>
34645 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34646 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34647 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34648 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34650 2012-02-27 David S. Miller <davem@davemloft.net>
34652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34654 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34655 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34658 frame pointer instead of stack pointer relative arg slot.
34659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34660 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34661 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34663 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34666 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34668 2012-02-27 David S. Miller <davem@davemloft.net>
34670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34674 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34675 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34676 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34677 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34679 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34681 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34682 later. Allow versions 5-9.
34683 * configure: Regenerated.
34684 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34685 required minimum version and 4.6 as recommended version. Do not
34686 mention bugs in GCC 2.7 and 2.8.
34687 * INSTALL: Regenerated.
34689 2012-02-27 David S. Miller <davem@davemloft.net>
34691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34695 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34696 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34697 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34698 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34700 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34701 manipulate bits before adding and subtracting TWO112[sx].
34702 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34704 2012-02-27 Roland McGrath <roland@hack.frob.com>
34707 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34708 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34709 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34710 being in POSIX, because they are in 1003.1-2008.
34712 * rt/tst-aio.c: Include <fcntl.h>.
34713 * rt/tst-aio7.c: Likewise.
34714 * rt/tst-aio64.c: Likewise.
34716 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34718 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34720 * manual/install.texi (--with-headers): Describe headers as
34721 interface headers, not private headers.
34722 (Specific advice for GNU/Linux systems): Describe use of headers
34723 from "make headers_install", not private headers from older
34725 * INSTALL: Regenerated.
34726 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34728 * sysdeps/unix/sysv/linux/configure: Regenerated.
34730 * manual/llio.texi (fclean): Remove documentation.
34732 * manual/Makefile (libc-texi-generated): New variable. Include
34734 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34735 $(libc-texi-generated), not duplicated list of files.
34736 (version.texi, stamp-version): New rules.
34737 (realclean): Remove $(libc-texi-generated), not individual files
34738 from that list. Do not remove dir-add.texinfo.
34739 * manual/libc.texinfo: Comment out uses of edition numbers and
34740 references to printed manual. Remove last-updated dates.
34741 (EDITION): Comment out.
34743 (VERSION, UPDATED): Remove.
34744 (version.texi): Include.
34746 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34748 * sysdeps/posix/spawni.c: Include <signal.h>.
34749 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34750 * sysdeps/pthread/aio_fsync.c: Likewise.
34752 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34754 * conform/Makefile (tests): Run only when not cross-compiling and
34755 when fast-check is not defined.
34757 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34758 * conform/data/limits.h-data: Fixes for POSIX2008.
34759 * conform/run-conformtest.sh: Run all tests.
34760 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34762 * include/bits/dlfcn.h: Likewise.
34763 * include/langinfo.h: Likewise.
34764 * include/monetary.h: Likewise.
34765 * include/sys/poll.h: Likewise.
34767 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34769 * posix/spawn.h: Define __need_sigset_t.
34770 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34771 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34772 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34773 to get sigevent_t only.
34774 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34775 only for __USE_GNU.
34776 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34777 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34778 process_vm_writev only for __USE_GNU.
34779 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34781 * conform/Makefile: For now ignore errors from run-conformtest.
34782 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34783 POSIX to avoid namespace pollution. Don't prepend headers.
34784 * conform/data/aio.h-data: Fixes for POSIX testing.
34785 * conform/data/fcntl.h-data: Likewise.
34786 * conform/data/glob.h-data: Likewise.
34787 * conform/data/grp.h-data: Likewise.
34788 * conform/data/pthread.h-data: Likewise.
34789 * conform/data/pwd.h-data: Likewise.
34790 * conform/data/signal.h-data: Likewise.
34791 * conform/data/spawn.h-data: Likewise.
34792 * conform/data/stdio.h-data: Likewise.
34793 * conform/data/stdlib.h-data: Likewise.
34794 * conform/data/stropts.h-data: Likewise.
34795 * conform/data/sys/mman.h-data: Likewise.
34796 * conform/data/sys/stat.h-data: Likewise.
34797 * conform/data/sys/types.h-data: Likewise.
34798 * conform/data/sys/wait.h-data: Likewise.
34799 * conform/data/time.h-data: Likewise.
34800 * conform/data/unistd.h-data: Likewise.
34801 * conform/data/utime.h-data: Likewise.
34803 * io/sys/stat.h: fchmod was always in POSIX.
34804 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34805 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34806 * rt/aio.h: Define __need_timespec before including <time.h>.
34807 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34808 struct. Add forward declaration of pthread_attr_t and use it in
34810 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34811 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34812 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34813 always remove CLK_TCK definition.
34815 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34817 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34819 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34821 * conform/run-conformtest.sh: New file.
34822 * conform/Makefile: Run run-conformtest for tests.
34823 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34826 * conform/data/uchar.h-data: New file.
34827 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34828 * conform/data/arpa/inet.h-data: Likewise.
34829 * conform/data/assert.h-data: Likewise.
34830 * conform/data/complex.h-data: Likewise.
34831 * conform/data/cpio.h-data: Likewise.
34832 * conform/data/ctype.h-data: Likewise.
34833 * conform/data/dirent.h-data: Likewise.
34834 * conform/data/dlfcn.h-data: Likewise.
34835 * conform/data/errno.h-data: Likewise.
34836 * conform/data/fcntl.h-data: Likewise.
34837 * conform/data/float.h-data: Likewise.
34838 * conform/data/fmtmsg.h-data: Likewise.
34839 * conform/data/fnmatch.h-data: Likewise.
34840 * conform/data/ftw.h-data: Likewise.
34841 * conform/data/glob.h-data: Likewise.
34842 * conform/data/grp.h-data: Likewise.
34843 * conform/data/iconv.h-data: Likewise.
34844 * conform/data/inttypes.h-data: Likewise.
34845 * conform/data/langinfo.h-data: Likewise.
34846 * conform/data/libgen.h-data: Likewise.
34847 * conform/data/limits.h-data: Likewise.
34848 * conform/data/locale.h-data: Likewise.
34849 * conform/data/math.h-data: Likewise.
34850 * conform/data/monetary.h-data: Likewise.
34851 * conform/data/mqueue.h-data: Likewise.
34852 * conform/data/ndbm.h-data: Likewise.
34853 * conform/data/net/if.h-data: Likewise.
34854 * conform/data/netdb.h-data: Likewise.
34855 * conform/data/netinet/in.h-data: Likewise.
34856 * conform/data/nl_types.h-data: Likewise.
34857 * conform/data/poll.h-data: Likewise.
34858 * conform/data/pthread.h-data: Likewise.
34859 * conform/data/pwd.h-data: Likewise.
34860 * conform/data/regex.h-data: Likewise.
34861 * conform/data/sched.h-data: Likewise.
34862 * conform/data/search.h-data: Likewise.
34863 * conform/data/semaphore.h-data: Likewise.
34864 * conform/data/setjmp.h-data: Likewise.
34865 * conform/data/signal.h-data: Likewise.
34866 * conform/data/spawn.h-data: Likewise.
34867 * conform/data/stdarg.h-data: Likewise.
34868 * conform/data/stdio.h-data: Likewise.
34869 * conform/data/stdlib.h-data: Likewise.
34870 * conform/data/string.h-data: Likewise.
34871 * conform/data/strings.h-data: Likewise.
34872 * conform/data/stropts.h-data: Likewise.
34873 * conform/data/sys/ipc.h-data: Likewise.
34874 * conform/data/sys/mman.h-data: Likewise.
34875 * conform/data/sys/msg.h-data: Likewise.
34876 * conform/data/sys/resource.h-data: Likewise.
34877 * conform/data/sys/select.h-data: Likewise.
34878 * conform/data/sys/sem.h-data: Likewise.
34879 * conform/data/sys/shm.h-data: Likewise.
34880 * conform/data/sys/socket.h-data: Likewise.
34881 * conform/data/sys/stat.h-data: Likewise.
34882 * conform/data/sys/statvfs.h-data: Likewise.
34883 * conform/data/sys/time.h-data: Likewise.
34884 * conform/data/sys/timeb.h-data: Likewise.
34885 * conform/data/sys/times.h-data: Likewise.
34886 * conform/data/sys/types.h-data: Likewise.
34887 * conform/data/sys/uio.h-data: Likewise.
34888 * conform/data/sys/un.h-data: Likewise.
34889 * conform/data/sys/utsname.h-data: Likewise.
34890 * conform/data/sys/wait.h-data: Likewise.
34891 * conform/data/syslog.h-data: Likewise.
34892 * conform/data/tar.h-data: Likewise.
34893 * conform/data/termios.h-data: Likewise.
34894 * conform/data/utime.h-data: Likewise.
34895 * conform/data/utmpx.h-data: Likewise.
34896 * conform/data/varargs.h-data: Likewise.
34897 * conform/data/wchar.h-data: Likewise.
34898 * conform/data/wctype.h-data: Likewise.
34899 * conform/data/wordexp.h-data: Likewise.
34901 * include/stropts.h: New file.
34902 * include/uchar.h: New file.
34903 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34904 * include/assert.h: Likewise.
34905 * include/ctype.h: Likewise.
34906 * include/dirent.h: Likewise.
34907 * include/dlfcn.h: Likewise.
34908 * include/fcntl.h: Likewise.
34909 * include/fnmatch.h: Likewise.
34910 * include/glob.h: Likewise.
34911 * include/grp.h: Likewise.
34912 * include/libio.h: Likewise.
34913 * include/locale.h: Likewise.
34914 * include/math.h: Likewise.
34915 * include/net/if.h: Likewise.
34916 * include/netdb.h: Likewise.
34917 * include/netinet/in.h: Likewise.
34918 * include/pthread.h: Likewise.
34919 * include/pwd.h: Likewise.
34920 * include/regex.h: Likewise.
34921 * include/sched.h: Likewise.
34922 * include/search.h: Likewise.
34923 * include/setjmp.h: Likewise.
34924 * include/signal.h: Likewise.
34925 * include/stdio.h: Likewise.
34926 * include/stdlib.h: Likewise.
34927 * include/string.h: Likewise.
34928 * include/sys/cdefs.h: Likewise.
34929 * include/sys/mman.h: Likewise.
34930 * include/sys/msg.h: Likewise.
34931 * include/sys/resource.h: Likewise.
34932 * include/sys/select.h: Likewise.
34933 * include/sys/socket.h: Likewise.
34934 * include/sys/stat.h: Likewise.
34935 * include/sys/statvfs.h: Likewise.
34936 * include/sys/time.h: Likewise.
34937 * include/sys/times.h: Likewise.
34938 * include/sys/uio.h: Likewise.
34939 * include/sys/utsname.h: Likewise.
34940 * include/sys/wait.h: Likewise.
34941 * include/termios.h: Likewise.
34942 * include/time.h: Likewise.
34943 * include/ulimit.h: Likewise.
34944 * include/unistd.h: Likewise.
34945 * include/utime.h: Likewise.
34946 * include/wchar.h: Likewise.
34947 * include/wctype.h: Likewise.
34948 * include/wordexp.h: Likewise.
34950 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34952 * time/time.h: TIME_UTC must be a macro.
34953 Make timespec_get available for ISO C11 only as well.
34955 2012-02-24 Ulrich Drepper <drepper@gmail.com>
34957 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34958 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34960 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34962 * configure.in: Use -o not -a in test for unsupported multi-arch.
34964 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34966 * manual/texinfo.tex: Update to version 2012-01-19.16.
34968 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34970 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34972 2012-02-24 Roland McGrath <roland@hack.frob.com>
34975 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34976 * manual/fdl-1.3.texi: New file.
34977 * manual/fdl-1.1.texi: File removed.
34980 * manual/libc.texinfo (FDL_VERSION): New @set.
34981 Use it for mention of FDL in cover text.
34982 (Documentation License): Use it in @include file name.
34984 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34985 Roland McGrath <roland@hack.frob.com>
34988 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34989 not LONG_LONG_MAX and LONG_LONG_MIN.
34990 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34991 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34993 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34995 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34999 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35000 manipulate bits before adding and subtracting TWO23[sx].
35001 * math/libm-test.inc (nearbyint_test): Add more tests.
35003 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35006 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35007 bits before adding and subtracting TWO23[sx].
35008 * math/libm-test.inc (rint_test): Add more tests.
35009 (rint_test_tonearest): Likewise.
35010 (rint_test_towardzero): Likewise.
35011 (rint_test_downward): Likewise.
35012 (rint_test_upward: Likewise.
35014 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35017 * include/stdc-predef.h: New file. Extracted from features.h.
35018 * include/features.h: Include stdc-predef.h.
35019 * Makefile (headers): Add stdc-predef.h.
35020 * CONFORMANCE (Compiler limitations): Update.
35022 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35024 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35026 2012-02-21 David S. Miller <davem@davemloft.net>
35028 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35029 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35031 2012-02-20 David S. Miller <davem@davemloft.net>
35033 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35034 using a normal save/restore sequence, rather than allocating a
35035 dummy stack frame just to store a frame pointer and restore.
35036 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35038 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35040 * manual/install.texi: Fix stray word in line-wrapped comment.
35042 2012-02-20 David S. Miller <davem@davemloft.net>
35044 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35045 both binutils and gcc support GOTDATA.
35047 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35048 "rd %pc" in the PIC register setup sequences.
35050 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35051 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35052 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35053 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35054 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35055 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35056 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35057 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35058 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35059 (SYSCALL_ERROR_HANDLER): Likewise.
35060 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35061 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35062 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35063 (SYSCALL_ERROR_HANDLER): Likewise.
35065 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35066 (HAVE_GCC_GOTDATA): New.
35067 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35068 relocation support in both binutils and gcc.
35069 * sysdeps/sparc/elf/configure: Regenerate.
35071 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35072 * sysdeps/sparc/sparc32/elf/configure: Delete.
35073 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35074 * sysdeps/sparc/sparc64/elf/configure: Delete.
35075 * sysdeps/sparc/elf/configure.in: New file.
35076 * sysdeps/sparc/elf/configure: Generate.
35078 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35079 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35080 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35081 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35082 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35084 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35086 * manual/install.texi: Do not mention specific glibc version
35088 * manual/libc.texinfo (VERSION, UPDATED): Update.
35089 (@copying): Use @copyright{} and range of years.
35091 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35094 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35095 [crti.S not in sysdirs] (generated): Do not append.
35096 [crti.S not in sysdirs] (omit-deps): Likewise.
35097 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35098 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35099 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35100 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35101 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35103 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35104 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35105 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35106 * csu/defs.awk: Remove file.
35107 * sysdeps/generic/initfini.c: Likewise.
35108 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35110 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35113 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35115 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35116 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35117 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35118 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35119 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35120 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35122 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35123 (__EPOLL_PACKED): Define to empty if not defined by
35125 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35126 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35129 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35131 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35132 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35133 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35134 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35136 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35140 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35142 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35144 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35145 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35146 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35149 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35151 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35152 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35154 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35156 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35157 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35159 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35161 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35164 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35166 * math/w_acos.c: Use non-signaling floating-point comparisons.
35167 * math/w_acosf.c: Likewise.
35168 * math/w_acosh.c: Likewise.
35169 * math/w_acoshf.c: Likewise.
35170 * math/w_acoshl.c: Likewise.
35171 * math/w_acosl.c: Likewise.
35172 * math/w_asin.c: Likewise.
35173 * math/w_asinf.c: Likewise.
35174 * math/w_asinl.c: Likewise.
35175 * math/w_atanh.c: Likewise.
35176 * math/w_atanhf.c: Likewise.
35177 * math/w_atanhl.c: Likewise.
35178 * math/w_exp2.c: Likewise.
35179 * math/w_exp2f.c: Likewise.
35180 * math/w_exp2l.c: Likewise.
35181 * math/w_j0.c: Likewise.
35182 * math/w_j0f.c: Likewise.
35183 * math/w_j0l.c: Likewise.
35184 * math/w_j1.c: Likewise.
35185 * math/w_j1f.c: Likewise.
35186 * math/w_j1l.c: Likewise.
35187 * math/w_jn.c: Likewise.
35188 * math/w_jnf.c: Likewise.
35189 * math/w_log.c: Likewise.
35190 * math/w_log10.c: Likewise.
35191 * math/w_log10f.c: Likewise.
35192 * math/w_log10l.c: Likewise.
35193 * math/w_log2.c: Likewise.
35194 * math/w_log2f.c: Likewise.
35195 * math/w_log2l.c: Likewise.
35196 * math/w_logf.c: Likewise.
35197 * math/w_logl.c: Likewise.
35198 * math/w_sqrt.c: Likewise.
35199 * math/w_sqrtf.c: Likewise.
35200 * math/w_sqrtl.c: Likewise.
35201 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35202 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35203 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35204 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35205 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35207 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35210 * manual/string.texi (strnlen): Use correct parameter name in
35211 equivalent expression.
35213 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35216 * manual/users.texi (seteuid): Consistently use neweuid for
35219 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35222 * manual/nss.texi (Services in the NSS configuration): Correct
35223 list of services in example configuration file.
35225 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35228 * manual/arith.texi: Remove statements about negative zero
35229 behaving identically to zero.
35231 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35234 * manual/install.texi: Do not document upgrading from libc5.
35236 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35239 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35241 2012-02-18 David S. Miller <davem@davemloft.net>
35243 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35244 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35245 %o7 across the call.
35246 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35248 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35249 SETUP_PIC_REG_LEAF.
35250 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35251 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35252 * sysdeps/sparc/crtn.S: Likewise.
35254 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35256 * aout/Makefile: Remove.
35258 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35261 * manual/examples/argp-ex1.c (main): Format definition in GNU
35263 * manual/examples/argp-ex2.c (main): Likewise.
35264 * manual/examples/argp-ex3.c (main): Likewise.
35265 * manual/examples/argp-ex4.c (main): Likewise.
35266 * manual/examples/longopt.c (main): Use new-style prototype
35268 * manual/examples/strncat.c (main): Specify return type and use
35269 (void) for arguments.
35270 * manual/examples/subopt.c (main): Use char **argv argument.
35272 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35275 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35278 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35281 * manual/string.texi (strchr): Change when strchrnul is
35284 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35287 * manual/locale.texi (setlocale): Document LOCPATH.
35289 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35292 * manual/process.texi (execle): Move @dots{} before last argument.
35294 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35297 * manual/charset.texi (Generic Charset Conversion): Fix typo
35298 (LC_TYPE -> LC_CTYPE).
35300 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35303 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35304 (scalbnf): Likewise.
35305 (scalbnl): Likewise.
35306 (scalbln): Likewise.
35307 (scalblnf): Likewise.
35308 (scalblnl): Likewise.
35309 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35310 (vwarnx): Likewise.
35313 * manual/filesys.texi (telldir): Use braces around return type.
35314 * manual/llio.texi (mmap): Add space after comma.
35315 (mmap64): Likewise.
35316 * manual/math.texi (jn): Use @var{} on parameter names.
35322 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35324 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35326 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35327 (sched_get_priority_max): Likewise.
35328 * manual/signal.texi (sigvec): Add space after comma.
35329 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35331 (if_indextoname): Likewise.
35332 (if_freenameindex): Likewise.
35333 (sendto): Use ',' instead of '.' in prototype.
35334 * manual/startup.texi (syscall): Use @dots{} instead of literal
35336 * manual/stdio.texi (__fpending): Separate initial words of
35337 paragraph from @deftypefun line.
35338 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35340 (vsyslog): Use @var{} on parameter names.
35341 * manual/terminal.texi (stty): Use @var{} on parameter names.
35342 * manual/users.texi (getutmp): Use @var{} on parameter names.
35343 (getutmpx): Likewise.
35345 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35348 * manual/stdio.texi (fopen): Fix typos in description of
35351 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35354 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35355 get clock_id definition.
35357 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35360 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35361 (madvise): Cast every argument to void on its own.
35363 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35366 * manual/startup.texi (Exit Status): Fix typo.
35368 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35371 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35372 * manual/examples/argp-ex2.c: Likewise.
35373 * manual/examples/argp-ex3.c: Likewise.
35375 2012-02-16 Richard Henderson <rth@redhat.com>
35377 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35378 * sysdeps/s390/s390-32/initfini.c: Remove.
35379 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35380 * sysdeps/s390/s390-64/initfini.c: Remove.
35382 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35384 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35385 compiler output for sysdeps/generic/initfini.c.
35386 * sysdeps/sh/elf/initfini.c: Remove file.
35388 2012-02-16 David S. Miller <davem@davemloft.net>
35391 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35393 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35394 * sysdeps/sparc/crti.S: New file.
35395 * sysdeps/sparc/crtn.S: New file.
35396 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35397 * sysdeps/sparc/sparc64/Makefile: Likewise.
35399 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35402 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35404 2012-02-15 Roland McGrath <roland@hack.frob.com>
35407 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35409 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35410 (write, read, close): Likewise.
35411 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35413 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35415 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35416 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35417 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35418 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35420 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35421 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35424 2012-02-14 Marek Polacek <polacek@redhat.com>
35426 * sysdeps/x86_64/crti.S: New file.
35427 * sysdeps/x86_64/crtn.S: New file.
35428 * sysdeps/x86_64/elf/initfini.c: Remove file.
35430 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35432 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35433 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35434 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35435 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35437 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35441 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35443 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35444 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35445 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35446 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35448 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35452 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35454 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35455 __feraiseexcept instead of feraiseexcept.
35457 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35458 nanosleep invocations.
35459 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35460 strings, and add error checking for a nanosleep invocations.
35462 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35464 Replace FSF snail mail address with URLs, as per GNU coding standards.
35465 Most of the snail mail addresses were wrong anyway, and omitting
35466 them makes the source code easier to maintain. Almost all of the
35467 changes are to license notices and to locale LC_IDENTIFICATION
35468 addresses, except for this one:
35469 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35470 not its snail mail address.
35472 2012-02-09 Richard Henderson <rth@twiddle.net>
35474 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35475 of kernel-features.h.
35477 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35479 2012-02-08 Marek Polacek <polacek@redhat.com>
35481 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35482 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35483 * sysdeps/gnu/_G_config.h: Likewise.
35484 * sysdeps/generic/_G_config.h: Likewise.
35486 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35488 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35492 * sysdeps/powerpc/powerpc32/crti.S: New file.
35493 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35494 * sysdeps/powerpc/powerpc64/crti.S: New file.
35495 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35497 * Makeconfig (have-initfini): Don't set.
35498 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35499 * configure.in (nopic_initfini): Don't substitute.
35500 * config.h.in (HAVE_INITFINI): Don't #undef.
35501 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35502 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35504 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35506 Support crti.S and crtn.S provided directly by architectures.
35507 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35508 [crti.S in sysdirs] (omit-deps): Likewise.
35509 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35510 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35511 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35512 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35513 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35514 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35515 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35516 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35517 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35518 compiler output for sysdeps/generic/initfini.c.
35519 * sysdeps/i386/elf/Makefile: Remove file.
35520 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35522 2012-02-07 Marek Polacek <polacek@redhat.com>
35524 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35525 * sysdeps/gnu/_G_config.h: Likewise.
35526 * sysdeps/mach/hurd/_G_config.h: Likewise.
35528 2012-02-07 Marek Polacek <polacek@redhat.com>
35530 * math/Makefile (tests): Add tst-CMPLX2.
35531 * math/tst-CMPLX2.c: New file.
35533 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35535 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35537 * math/libm-test.inc (jn_test): Add missing L suffix.
35539 2012-02-06 Marek Polacek <polacek@redhat.com>
35541 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35542 * sysdeps/i386/fpu/e_powf.S: Likewise.
35543 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35544 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35545 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35546 * sysdeps/i386/fpu/e_pow.S: Likewise.
35547 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35548 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35549 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35550 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35551 * sysdeps/i386/fpu/e_log2.S: Likewise.
35552 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35553 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35554 * sysdeps/i386/fpu/e_powl.S: Likewise.
35555 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35556 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35557 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35558 * sysdeps/i386/fpu/e_logl.S: Likewise.
35559 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35560 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35561 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35562 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35563 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35564 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35565 * sysdeps/i386/fpu/e_log.S: Likewise.
35566 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35567 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35568 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35569 * sysdeps/i386/fpu/e_logf.S: Likewise.
35570 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35571 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35572 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35573 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35574 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35575 * sysdeps/i386/fpu/e_log10.S: Likewise.
35576 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35577 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35578 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35579 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35580 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35581 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35582 * sysdeps/i386/asm-syntax.h: Likewise.
35583 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35584 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35585 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35586 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35587 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35588 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35589 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35590 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35591 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35592 * sysdeps/powerpc/sysdep.h: Likewise.
35593 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35594 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35596 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35599 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35601 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35603 * sysdeps/i386/sysdep.h: Include <features.h>.
35604 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35607 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35609 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35611 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35614 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35616 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35617 (SETUP_PIC_REG): Use GET_PC_THUNK.
35618 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35621 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35623 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35624 for non-PIC compilation.
35625 (SETUP_PIC_REG): Add .p2align directive.
35626 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35627 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35628 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35629 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35630 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35631 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35632 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35633 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35634 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35635 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35636 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35637 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35638 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35639 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35640 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35641 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35642 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35643 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35644 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35645 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35646 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35647 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35648 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35649 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35650 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35651 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35652 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35653 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35654 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35655 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35656 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35657 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35658 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35659 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35660 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35661 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35662 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35663 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35664 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35665 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35666 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35668 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35670 * math/tst-CMPLX.c: Include <stdio.h>.
35672 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35674 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35676 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35677 * sysdeps/sparc/bits/mathdef.h: Likewise.
35679 2012-01-31 Marek Polacek <polacek@redhat.com>
35681 * libio/libio.h: Don't define _PARAMS.
35682 * locale/programs/config.h: Don't define PARAMS.
35683 * stdlib/strtol_l.c: Likewise.
35684 (__strtol_l): Remove PARAMS from the prototype.
35686 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35688 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35689 names. Just use the correct names. Remove unnecessary wrapper
35691 * malloc/arena.c: Likewise.
35692 * malloc/hooks.c: Likewise.
35694 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35695 ARENA_TEST says not to. Simplify test for creation of a new arena.
35696 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35698 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35700 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35702 (update_get_addr): New function.
35703 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35704 GET_ADDR_MODULE parameter.
35706 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35708 * crypt/cert.c: Remove __STDC__ conditionals.
35709 * crypt/crypt-entry.c: Likewise.
35710 * crypt/crypt_util.c: Likewise.
35711 * libio/filedoalloc.c: Likewise.
35712 * libio/fileops.c: Likewise.
35713 * libio/genops.c: Likewise.
35714 * libio/iofclose.c: Likewise.
35715 * libio/iofdopen.c: Likewise.
35716 * libio/iofopen.c: Likewise.
35717 * libio/iofopen64.c: Likewise.
35718 * libio/iogetdelim.c: Likewise.
35719 * libio/iopopen.c: Likewise.
35720 * libio/obprintf.c: Likewise.
35721 * libio/oldfileops.c: Likewise.
35722 * libio/oldiofclose.c: Likewise.
35723 * libio/oldiofdopen.c: Likewise.
35724 * libio/oldiofopen.c: Likewise.
35725 * libio/oldiopopen.c: Likewise.
35726 * libio/wfiledoalloc.c: Likewise.
35727 * libio/wgenops.c: Likewise.
35728 * locale/programs/xmalloc.c: Likewise.
35729 * misc/syslog.c: Likewise.
35730 * stdio-common/xbug.c: Likewise.
35731 * string/memchr.c: Likewise.
35732 * string/memcmp.c: Likewise.
35733 * string/memrchr.c: Likewise.
35734 * string/rawmemchr.c: Likewise.
35735 * sysdeps/posix/getcwd.c: Likewise.
35736 * time/strftime_l.c: Likewise.
35738 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35740 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35741 * config.make.in (config-cflags-sse2avx): Define.
35742 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35745 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35747 * scripts/config.guess: Update from upstream config git repository.
35748 * scripts/config.sub: Likewise.
35750 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35752 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35754 (R_TILEPRO_*, R_TILEGX_*): New macros.
35756 * scripts/firstversions.awk: Fix bug in version range handling.
35758 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35760 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35762 * include/sys/epoll.h: New file.
35763 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35766 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35768 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35769 Avoid unnecessary __WORDSIZE == 64 test.
35770 (fmaxf): Use VEX format if possible.
35775 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35776 * math/math_private.h: Remove libc_fegetround* and
35778 * sysdeps/i386/configure.in: Check for -msse2avx.
35779 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35780 also if SSE2AVX is defined.
35781 Remove libc_fegetround* and libc_fesetround*.
35782 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35783 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35784 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35786 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35787 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35788 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35789 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35790 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35792 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35794 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35796 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35798 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35800 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35803 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35805 * Makeconfig (libm): Define.
35806 * elf/Makefile: Add rules to build and run tst-relsort1.
35807 * elf/tst-relsort1.c: New file.
35808 * elf/tst-relsort1mod1.c: New file.
35809 * elf/tst-relsort1mod2.c: New file.
35811 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35813 * math/s_ldexp.c: Remove __STDC__ conditionals.
35814 * math/s_ldexpf.c: Likewise.
35815 * math/s_ldexpl.c: Likewise.
35816 * math/s_nextafter.c: Likewise.
35817 * math/s_nexttowardf.c: Likewise.
35818 * math/s_significand.c: Likewise.
35819 * math/s_significandf.c: Likewise.
35820 * math/s_significandl.c: Likewise.
35821 * math/w_jnl.c: Likewise.
35822 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35823 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35824 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35825 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35826 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35827 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35828 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35829 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35830 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35831 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35832 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35833 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35834 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35835 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35836 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35837 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35838 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35839 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35840 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35841 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35842 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35843 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35844 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35845 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35846 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35847 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35848 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35849 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35850 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35851 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35852 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35853 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35854 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35855 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35856 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35857 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35858 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35859 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35860 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35861 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35862 * sysdeps/ieee754/k_standard.c: Likewise.
35863 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35864 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35865 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35866 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35867 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35868 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35869 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35870 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35871 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35872 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35873 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35874 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35875 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35876 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35877 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35878 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35879 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35880 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35881 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35882 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35883 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35884 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35885 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35886 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35887 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35888 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35889 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35890 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35891 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35892 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35893 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35894 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35895 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35896 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35897 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35898 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35899 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35900 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35901 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35902 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35903 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35904 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35905 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35906 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35907 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35908 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35909 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35910 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35911 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35912 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35913 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35914 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35915 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35916 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35917 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35918 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35919 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35920 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35921 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35922 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35923 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35924 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35925 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35926 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35927 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35928 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35929 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35930 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35931 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35932 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35933 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35934 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35935 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35936 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35937 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35938 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35939 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35940 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35941 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35942 * sysdeps/ieee754/s_matherr.c: Likewise.
35943 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35944 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35945 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35946 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35948 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35950 * crypt/md5.h: Remove __STDC__ conditionals.
35951 * libio/libioP.h: Likewise.
35952 * locale/programs/config.h: Likewise.
35953 * sysdeps/generic/sysdep.h: Likewise.
35954 * sysdeps/i386/asm-syntax.h: Likewise.
35955 * sysdeps/s390/asm-syntax.h: Likewise.
35956 * sysdeps/unix/sysdep.h: Likewise.
35957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35960 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35962 * libio/libio.h: Remove __STDC__ conditionals.
35963 * malloc/obstack.h: Likewise.
35964 * math/complex.h: Likewise.
35965 * math/math.h: Likewise.
35966 * sysdeps/generic/_G_config.h: Likewise.
35967 * sysdeps/gnu/_G_config.h: Likewise.
35968 * sysdeps/mach/hurd/_G_config.h: Likewise.
35969 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35970 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35971 * sysdeps/sparc/bits/mathdef.h: Likewise.
35973 2012-01-26 Ulrich Drepper <drepper@gmail.com>
35976 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35977 Clean up HAS_* macros.
35978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35979 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35981 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35983 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35984 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35985 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35986 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35987 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35989 2012-01-25 Joseph Myers <joseph@codesourcery.com>
35991 * elf/tst-unique3.cc (gets): Remove declaration.
35992 * elf/tst-unique3lib.cc (gets): Likewise.
35993 * elf/tst-unique3lib2.cc (gets): Likewise.
35994 * elf/tst-unique4.cc (gets): Likewise.
35996 2012-01-24 Ulrich Drepper <drepper@gmail.com>
35998 * include/stdio.h: Add C++ protection. Add gets declarations and
36000 * debug/tst-chk1.c: Don't declare gets here.
36001 * stdio-common/tst-gets.c: Likewise.
36003 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36005 * posix/glob: Remove directory.
36007 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36009 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36011 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36013 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36014 of the non-standard EPFNOSUPPORT.
36016 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36018 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36019 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36020 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36022 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36024 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36026 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36028 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36030 * nscd/grpcache.c (cache_addgr): Likewise.
36031 * nscd/hstcache.c (cache_addhst): Likewise.
36032 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36033 * nscd/pwdcache.c (cache_addpw): Likewise.
36034 * nscd/servicescache.c (cache_addserv): Likewise.
36036 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36038 * malloc/malloc.c: Various cleanups.
36039 * malloc/hooks.c: Likewise.
36041 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36042 * stdlib/bug-fmtmsg1.c: New file.
36044 * stdlib/fmtmsg.c (init): Add missing unlock.
36045 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36047 2012-01-12 Marek Polacek <polacek@redhat.com>
36049 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36052 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36054 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36055 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36056 macro to ensure uniqueness of label name.
36057 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36058 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36060 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36062 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36064 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36065 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36066 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36067 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36069 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36071 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36073 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36074 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36075 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36077 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36079 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36080 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36081 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36082 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36084 * math/bits/math-finite.h: Add ldexp support.
36086 2012-01-10 Marek Polacek <polacek@redhat.com>
36088 * locale/programs/localedef.h (show_archive_content): Add noreturn
36091 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36093 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36095 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36097 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36099 * io/Makefile (headers): Add bits/poll2.h.
36101 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36104 typo #include statement.
36106 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36108 * include/sys/cdefs.h: Define __attribute_alloc_size.
36109 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36110 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36111 * elf/pldd.c: Likewise.
36112 * iconv/iconv_charmap.c: Likewise.
36113 * iconv/iconvconfig.c: Likewise.
36114 * iconv/strtab.c: Likewise.
36115 * locale/programs/locale.c: Likewise.
36116 * locale/programs/localedef.h: Likewise.
36117 * locale/programs/simple-hash.c: Likewise.
36118 * nscd/nscd.h: Likewise.
36119 * nss/makedb.c: Likewise.
36120 * sysdeps/generic/ldconfig.h: Likewise.
36121 * locale/programs/localedef.c: Remove xmalloc prototype.
36122 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36124 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36126 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36129 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36131 * math/Makefile (tests): Add tst-CMPLX.
36132 * math/tst-CMPLX.c: New file.
36134 * math/complex.h (CMPLXL): Fix typo.
36136 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36137 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36139 * debug/tst-chk1.c: Add poll and ppoll tests.
36140 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36141 * include/sys/poll.h: Add hidden proto for ppoll.
36142 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36143 * sysdeps/mach/hurd/ppoll.c: Likewise.
36144 * io/ppoll.c: Likewise.
36145 * debug/poll_chk.c: New file.
36146 * debug/ppoll_chk.c: New file.
36147 * include/bits/poll2.h: New file.
36148 * io/bits/poll2.h: New file.
36151 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36153 * configure.in: static is always set to yes. Remove.
36154 * config.make.in: Don't set build-static.
36155 * Makeconfig: Remove use of build-static.
36156 * dlfcn/Makefile: Likewise.
36157 * elf/Makefile: Likewise.
36158 * math/Makefile: Likewise.
36159 * misc/Makefile: Likewise.
36160 * nptl/Makefile: Likewise.
36161 * sysdeps/mach/hurd/Makefile: Likewise.
36163 * configure.in: PWD_P is not used anymore.
36164 * config.make.in: Remove PWD_P entry.
36166 * configure.in: Remove last remnants of RANLIB.
36167 No need to check for signed size_t anymore.
36168 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36170 Remove __builtin_expect test because we require at least gcc 3.4.
36171 * aclocal.m4: Likewise.
36173 * wcsmbs/mbrtoc16.c: Implement using towc function.
36174 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36175 * wcsmbs/wcsmbsload.c: Likewise.
36176 * iconv/gconv_simple.c: Likewise.
36177 * iconv/gconv_int.h: Likewise.
36178 * iconv/gconv_builtin.h: Likewise.
36179 * iconv/iconv_prog.c: Remove CHAR16 handling.
36181 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36183 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36185 * configure.in: Remove --with-elf and --enable-bounded options.
36186 Dont set base_machine for ia64. More non-ELF conditions removed.
36187 Remove testing and setting of leading underscore information.
36188 * config.make.in (build-bounded): Set to no.
36189 * config.h.in: Remove NO_UNDERSCORES entry.
36190 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36192 * csu/start.c: Remove !NO_UNDERSCORE code.
36193 * locale/localeinfo.h: Likewise.
36194 * sysdeps/generic/machine-gmon.h: Likewise.
36195 * sysdeps/generic/sysdep.h: Likewise.
36196 * sysdeps/i386/sysdep.h: Likewise.
36197 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36198 * sysdeps/mach/sysdep.h: Likewise.
36199 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36200 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36201 * sysdeps/sh/sysdep.h: Likewise.
36202 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36203 * sysdeps/unix/i386/sysdep.S: Likewise.
36204 * sysdeps/unix/sparc/start.c: Likewise.
36205 * sysdeps/unix/sparc/sysdep.S: Likewise.
36206 * sysdeps/unix/sparc/sysdep.h: Likewise.
36207 * sysdeps/unix/start.c: Likewise.
36208 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36209 * sysdeps/x86_64/sysdep.h: Likewise.
36211 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36214 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36216 * argp/argp-fmtstream.h: Use const instead __const.
36217 * argp/argp.h: Likewise.
36218 * assert/assert.h: Likewise.
36219 * bits/fenv.h: Likewise.
36220 * bits/sched.h: Likewise.
36221 * bits/sigset.h: Likewise.
36222 * bits/sigthread.h: Likewise.
36223 * catgets/nl_types.h: Likewise.
36224 * conform/data/pthread.h-data: Likewise.
36225 * crypt/crypt-private.h: Likewise.
36226 * crypt/crypt.h: Likewise.
36227 * crypt/crypt_util.c: Likewise.
36228 * ctype/ctype.h: Likewise.
36229 * debug/execinfo.h: Likewise.
36230 * debug/mbsnrtowcs_chk.c: Likewise.
36231 * debug/mbsrtowcs_chk.c: Likewise.
36232 * debug/wcsnrtombs_chk.c: Likewise.
36233 * debug/wcsrtombs_chk.c: Likewise.
36234 * debug/wcstombs_chk.c: Likewise.
36235 * dirent/dirent.h: Likewise.
36236 * dlfcn/dlfcn.h: Likewise.
36237 * elf/neededtest4.c: Likewise.
36238 * grp/grp.h: Likewise.
36239 * gshadow/gshadow.h: Likewise.
36240 * iconv/gconv.h: Likewise.
36241 * iconv/gconv_int.h: Likewise.
36242 * iconv/gconv_simple.c: Likewise.
36243 * iconv/iconv.h: Likewise.
36244 * iconv/loop.c: Likewise.
36245 * iconv/skeleton.c: Likewise.
36246 * include/aio.h: Likewise.
36247 * include/aliases.h: Likewise.
36248 * include/argz.h: Likewise.
36249 * include/arpa/inet.h: Likewise.
36250 * include/assert.h: Likewise.
36251 * include/dirent.h: Likewise.
36252 * include/dlfcn.h: Likewise.
36253 * include/execinfo.h: Likewise.
36254 * include/fcntl.h: Likewise.
36255 * include/fenv.h: Likewise.
36256 * include/glob.h: Likewise.
36257 * include/grp.h: Likewise.
36258 * include/libintl.h: Likewise.
36259 * include/mntent.h: Likewise.
36260 * include/netdb.h: Likewise.
36261 * include/pwd.h: Likewise.
36262 * include/rpc/netdb.h: Likewise.
36263 * include/sched.h: Likewise.
36264 * include/search.h: Likewise.
36265 * include/shadow.h: Likewise.
36266 * include/signal.h: Likewise.
36267 * include/stdio.h: Likewise.
36268 * include/stdlib.h: Likewise.
36269 * include/string.h: Likewise.
36270 * include/sys/socket.h: Likewise.
36271 * include/sys/stat.h: Likewise.
36272 * include/sys/statfs.h: Likewise.
36273 * include/sys/statvfs.h: Likewise.
36274 * include/sys/syslog.h: Likewise.
36275 * include/sys/time.h: Likewise.
36276 * include/sys/uio.h: Likewise.
36277 * include/time.h: Likewise.
36278 * include/unistd.h: Likewise.
36279 * include/utmp.h: Likewise.
36280 * include/wchar.h: Likewise.
36281 * include/wctype.h: Likewise.
36282 * inet/aliases.h: Likewise.
36283 * inet/arpa/inet.h: Likewise.
36284 * inet/netinet/ether.h: Likewise.
36285 * inet/netinet/in.h: Likewise.
36286 * intl/libintl.h: Likewise.
36287 * io/bits/fcntl2.h: Likewise.
36288 * io/fcntl.h: Likewise.
36289 * io/ftw.h: Likewise.
36290 * io/sys/poll.h: Likewise.
36291 * io/sys/stat.h: Likewise.
36292 * io/sys/statfs.h: Likewise.
36293 * io/sys/statvfs.h: Likewise.
36294 * io/utime.h: Likewise.
36295 * libio/bits/stdio.h: Likewise.
36296 * libio/bits/stdio2.h: Likewise.
36297 * libio/libio.h: Likewise.
36298 * libio/libioP.h: Likewise.
36299 * libio/stdio.h: Likewise.
36300 * locale/lc-ctype.c: Likewise.
36301 * locale/locale.h: Likewise.
36302 * login/utmp.h: Likewise.
36303 * malloc/arena.c: Likewise.
36304 * malloc/malloc.c: Likewise.
36305 * malloc/malloc.h: Likewise.
36306 * malloc/mcheck.c: Likewise.
36307 * malloc/mtrace.c: Likewise.
36308 * math/bits/mathcalls.h: Likewise.
36309 * math/fenv.h: Likewise.
36310 * math/math_private.h: Likewise.
36311 * misc/bits/error.h: Likewise.
36312 * misc/bits/syslog.h: Likewise.
36313 * misc/err.h: Likewise.
36314 * misc/error.h: Likewise.
36315 * misc/fstab.h: Likewise.
36316 * misc/mntent.h: Likewise.
36317 * misc/regexp.h: Likewise.
36318 * misc/search.h: Likewise.
36319 * misc/sgtty.h: Likewise.
36320 * misc/sys/mman.h: Likewise.
36321 * misc/sys/syslog.h: Likewise.
36322 * misc/sys/uio.h: Likewise.
36323 * misc/sys/xattr.h: Likewise.
36324 * misc/ttyent.h: Likewise.
36325 * nis/rpcsvc/ypclnt.h: Likewise.
36326 * nss/nss.h: Likewise.
36327 * posix/bits/unistd.h: Likewise.
36328 * posix/fnmatch.h: Likewise.
36329 * posix/glob.h: Likewise.
36330 * posix/sched.h: Likewise.
36331 * posix/spawn.h: Likewise.
36332 * posix/sys/wait.h: Likewise.
36333 * posix/unistd.h: Likewise.
36334 * posix/wordexp.h: Likewise.
36335 * pwd/pwd.h: Likewise.
36336 * resolv/netdb.h: Likewise.
36337 * resource/sys/resource.h: Likewise.
36338 * rt/aio.h: Likewise.
36339 * rt/bits/mqueue2.h: Likewise.
36340 * rt/mqueue.h: Likewise.
36341 * shadow/shadow.h: Likewise.
36342 * signal/signal.h: Likewise.
36343 * socket/send.c: Likewise.
36344 * socket/sendto.c: Likewise.
36345 * socket/sys/socket.h: Likewise.
36346 * stdio-common/printf.h: Likewise.
36347 * stdlib/bits/stdlib.h: Likewise.
36348 * stdlib/fmtmsg.h: Likewise.
36349 * stdlib/monetary.h: Likewise.
36350 * stdlib/stdlib.h: Likewise.
36351 * stdlib/ucontext.h: Likewise.
36352 * streams/stropts.h: Likewise.
36353 * string/argz.h: Likewise.
36354 * string/bits/string2.h: Likewise.
36355 * string/string.h: Likewise.
36356 * string/strings.h: Likewise.
36357 * sunrpc/rpc/auth.h: Likewise.
36358 * sunrpc/rpc/auth_des.h: Likewise.
36359 * sunrpc/rpc/clnt.h: Likewise.
36360 * sunrpc/rpc/netdb.h: Likewise.
36361 * sunrpc/rpc/pmap_clnt.h: Likewise.
36362 * sunrpc/rpc/xdr.h: Likewise.
36363 * sysdeps/generic/inttypes.h: Likewise.
36364 * sysdeps/generic/net/if.h: Likewise.
36365 * sysdeps/generic/sys/swap.h: Likewise.
36366 * sysdeps/gnu/net/if.h: Likewise.
36367 * sysdeps/gnu/utmpx.h: Likewise.
36368 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36369 * sysdeps/i386/i486/bits/string.h: Likewise.
36370 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36371 * sysdeps/s390/bits/string.h: Likewise.
36372 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36373 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36374 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36375 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36376 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36377 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36378 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36379 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36380 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36381 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36382 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36383 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36384 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36385 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36386 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36387 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36388 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36389 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36390 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36391 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36392 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36393 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36394 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36395 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36396 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36397 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36398 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36399 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36400 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36401 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36402 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36403 * sysvipc/sys/ipc.h: Likewise.
36404 * sysvipc/sys/msg.h: Likewise.
36405 * sysvipc/sys/sem.h: Likewise.
36406 * sysvipc/sys/shm.h: Likewise.
36407 * termios/termios.h: Likewise.
36408 * time/sys/time.h: Likewise.
36409 * time/time.h: Likewise.
36410 * wcsmbs/bits/wchar2.h: Likewise.
36411 * wcsmbs/uchar.h: Likewise.
36412 * wcsmbs/wchar.h: Likewise.
36413 * wctype/wctype.h: Likewise.
36416 * Makeconfig: Remove all but ELF support including AIX support.
36417 * Makerules: Likewise.
36418 * config.h.in: Likewise.
36419 * config.make.in: Likewise.
36420 * configure: Likewise.
36421 * configure.in: Likewise.
36422 * csu/Makefile: Likewise.
36423 * csu/version.c: Likewise.
36424 * debug/Makefile: Likewise.
36425 * dlfcn/Makefile: Likewise.
36426 * elf/Makefile: Likewise.
36427 * extra-lib.mk: Likewise.
36428 * iconv/Makefile: Likewise.
36429 * include/libc-symbols.h: Likewise.
36430 * include/shlib-compat.h: Likewise.
36431 * resolv/Makefile: Likewise.
36432 * resolv/res_libc.c: Likewise.
36433 * rt/Makefile: Likewise.
36434 * sysdeps/i386/asm-syntax.h: Likewise.
36435 * sysdeps/i386/sysdep.h: Likewise.
36436 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36437 * sysdeps/mach/sysdep.h: Likewise.
36438 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36439 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36440 * sysdeps/s390/asm-syntax.h: Likewise.
36441 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36442 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36443 * sysdeps/sh/sysdep.h: Likewise.
36444 * sysdeps/unix/sparc/sysdep.h: Likewise.
36445 * sysdeps/wordsize-32/divdi3.c: Likewise.
36446 * sysdeps/x86_64/sysdep.h: Likewise.
36448 * argp/Versions: Remove _argp_unlock_xxx.
36451 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36452 * abilist/libBrokenLocale.abilist: Likewise.
36453 * abilist/libanl.abilist: Likewise.
36454 * abilist/libc.abilist: Likewise.
36455 * abilist/libcrypt.abilist: Likewise.
36456 * abilist/libdl.abilist: Likewise.
36457 * abilist/libm.abilist: Likewise.
36458 * abilist/libnsl.abilist: Likewise.
36459 * abilist/libpthread.abilist: Likewise.
36460 * abilist/libresolv.abilist: Likewise.
36461 * abilist/librt.abilist: Likewise.
36462 * abilist/libthread_db.abilist: Likewise.
36463 * abilist/libutil.abilist: Likewise.
36464 * abilist/libnss_db.abilist: New file.
36466 * scripts/abilist.awk: Add support for indirect functions.
36468 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36470 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36472 * shlib-versions: Remove entries for ports architectures.
36474 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36476 * elf/stackguard-macros.h: Remove support for IA-64.
36477 * elf/tst-auditmod1.c: Likewise.
36478 * sysdeps/generic/ldsodefs.h: Likewise.
36480 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36481 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36485 * configure.in: Remove --enable-omitfp support.
36487 * config.make.in: Likewise.
36488 * Makeconfig: Likewise.
36489 * manual/install.texi: Likewise.
36491 In case anyone cares, the IA-64 architecture could move to ports.
36492 * sysdeps/ia64/*: Removed.
36493 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36494 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36497 * configure.in: Remove entries for unsupported architectures.
36500 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36501 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36503 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36504 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36505 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36506 fall back to using wcrtomb.
36507 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36508 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36510 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36511 * wcsmbs/tst-c16c32-1.c: New file.
36513 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36516 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36518 * elf/tst-unique3.cc: Add explicit declaration of gets.
36519 * elf/tst-unique3lib.cc: Likewise.
36520 * elf/tst-unique3lib2.cc: Likewise.
36521 * elf/tst-unique4.cc: Likewise.
36523 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36525 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36528 * assert/assert.h (static_assert): Don't define for C++.
36529 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36530 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36532 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36534 * iconv/loop.c (single loop): Fix assertion in storing of
36537 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36539 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36541 * posix/getconf.c: Update copyright year.
36542 * nss/getent.c: Likewise.
36543 * nss/makedb.c: Likewise.
36544 * iconv/iconvconfig.c: Likewise.
36545 * iconv/iconv_prog.c: Likewise.
36546 * elf/ldconfig.c: Likewise.
36547 * elf/pldd.c: Likewise.
36548 * elf/sotruss.ksh: Likewise.
36549 * catgets/gencat.c: Likewise.
36550 * csu/version.c: Likewise.
36551 * elf/ldd.bash.in: Likewise.
36552 * elf/sprof.c (print_version): Likewise.
36553 * locale/programs/locale.c: Likewise.
36554 * locale/programs/localedef.c: Likewise.
36555 * login/programs/pt_chown.c: Likewise.
36556 * nscd/nscd.c (print_version): Likewise.
36557 * debug/xtrace.sh: Likewise.
36558 * malloc/memusage.sh: Likewise.
36559 * malloc/mtrace.pl: Likewise.
36560 * debug/catchsegv.sh: Likewise.
36562 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36564 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36567 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36570 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36571 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36573 * iconv/gconv_int.h: Likewise.
36574 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36575 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36576 from libc for GLIBC_2.16.
36577 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36578 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36579 * wcsmbs/uchar.h: Really define mbstate_t.
36580 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36581 * wcsmbs/c16rtomb.c: New file.
36582 * wcsmbs/mbrtoc16.c: New file.
36583 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36584 for C/POSIX locale.
36585 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36586 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36588 * wcsmbs/wchar.h: Add missing __restrict.
36590 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36593 * time/Makefile (routines): Add timespec_get.
36594 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36595 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36596 timespec for ISO C11.
36597 * time/timespec_get.c: New file.
36598 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36599 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36602 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36603 * stdlib/stdlib.h: Declare aligned_alloc.
36604 * Versions.def: Add GLIBC_2.16 for libc.
36605 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36608 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36611 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36615 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36618 * assert/assert.h (static_assert): Define.
36620 * version.h: Update for 2.16 development version.
36623 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36626 * version.h (RELEASE): Bump for 2.15 release.
36627 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36629 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36630 Patch by Marek Polacek <mpolacek@redhat.com>.
36632 * bits/byteswap.h: Protect long long constants with __extension__.
36633 * sysdeps/i386/bits/byteswap.h: Likewise.
36634 * sysdeps/ia64/bits/byteswap.h: Likewise.
36635 * sysdeps/s390/bits/byteswap.h: Likewise.
36636 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36638 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36641 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36642 destination buffer.
36643 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36645 2011-12-23 Marek Polacek <polacek@redhat.com>
36647 * elf/dl-addr.c (determine_info): Add inline keyword.
36648 * elf/tst-auditmod4b.c (check_avx): Likewise.
36649 * elf/tst-auditmod6b.c (check_avx): Likewise.
36650 * elf/tst-auditmod6c.c (check_avx): Likewise.
36651 * elf/tst-auditmod7b.c (check_avx): Likewise.
36653 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36655 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36658 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36661 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36662 processing for last bytes.
36664 2011-08-06 Bruno Haible <bruno@clisp.org>
36667 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36668 U+0385, not to U+1FEE.
36671 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36672 entry for U+00A5 U+0301.
36674 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36677 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36678 buffer for the output is too small.
36680 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36684 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36685 SSE flags if possible.
36687 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36690 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36691 processing for last bytes.
36693 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36695 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36696 (syscall-list-default-options, syscall-list-default-condition)
36697 (syscall-list-includes): Define.
36698 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36699 list of ABIs and options and #if conditions for each ABI. Do not
36700 handle common syscalls between ABIs specially.
36701 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36703 (syscall-list-variants, syscall-list-32bit-options)
36704 (syscall-list-32bit-condition, syscall-list-64bit-options)
36705 (syscall-list-64bit-condition): Define.
36706 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36707 (syscall-list-variants, syscall-list-32bit-options)
36708 (syscall-list-32bit-condition, syscall-list-64bit-options)
36709 (syscall-list-64bit-condition): Define.
36710 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36712 (syscall-list-variants, syscall-list-32bit-options)
36713 (syscall-list-32bit-condition, syscall-list-64bit-options)
36714 (syscall-list-64bit-condition): Define.
36715 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36717 (syscall-list-variants, syscall-list-32bit-options)
36718 (syscall-list-32bit-condition, syscall-list-64bit-options)
36719 (syscall-list-64bit-condition): Define.
36721 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36723 * locale/iso-639.def: Add brx entry.
36726 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36727 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36729 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36730 __feraiseexcept_renamed.
36732 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36735 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36736 EPOLLET with unsigned values.
36737 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36738 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36740 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36741 to large cancellation.
36742 * math/s_cacoshf.c: Likewise.
36743 * math/s_cacoshl.c: Likewise.
36745 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36749 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36750 * math/s_cacoshf.c: Likewise.
36751 * math/s_cacoshl.c: Likewise.
36753 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36756 * iconv/gconv.h: Define __GCONV_SWAP.
36757 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36758 * iconvdata/utf-16.c: Likewise.
36759 * iconvdata/utf-32.c: Likewise.
36761 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36764 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36765 numerator after shifting it by one limb.
36767 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36769 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36770 under [__USE_EXTERN_INLINES].
36772 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36775 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36777 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36779 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36780 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36782 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36783 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36784 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36785 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36786 for strncasecmp/strncasecmp_l compilation.
36787 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36788 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36790 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36793 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36796 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36799 * time/tzfile.c (__tzfile_read): Check values from file header.
36801 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36803 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36804 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36805 * powerpc/powerpc32/dl-start.S: Likewise.
36806 * powerpc/powerpc32/elf/start.S: Likewise.
36807 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36808 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36809 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36810 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36811 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36812 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36813 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36814 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36815 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36816 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36817 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36818 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36819 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36820 * powerpc/powerpc32/memset.S: Likewise.
36821 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36822 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36823 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36824 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36825 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36826 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36827 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36828 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36829 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36830 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36831 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36832 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36833 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36835 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36837 * math/libm-test.inc: Added more nearbyint tests.
36838 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36839 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36840 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36841 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36843 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36845 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36848 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36850 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36851 Add wcscpy-ssse3 wcscpy-c.
36852 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36853 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36854 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36855 * sysdeps/x86_64/wcschr.S: New file.
36856 * sysdeps/x86_64/wcsrchr.S: New file.
36857 * string/test-strcmp.c: Remove checking of wcscmp function for
36859 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36860 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36861 wcsrchr-sse2 wcsrchr-c.
36862 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36863 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36864 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36865 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36866 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36867 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36868 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36869 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36870 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36871 * wcsmbc/wcschr.c (WCSCHR): New macro.
36873 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36875 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36876 * wcsmbs/test-wcsrchr.c: New file.
36877 * string/test-strrchr.c: Add wcsrchr support.
36879 * wcsmbs/test-wcscpy.c: New file.
36880 * string/test-strcpy.c: Add wcscpy support.
36883 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36885 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36888 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36891 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36893 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36895 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36896 Minor optimizations.
36898 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36899 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36900 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36902 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36904 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36905 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36906 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36907 for gcc to avoid warnings.
36908 * inet/Makefile (tests): Add tst-checks.
36909 * inet/tst-checks.c: New file.
36911 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36914 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36917 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36918 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36920 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36922 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36924 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36927 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36929 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36931 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36932 conditional on GCC version.
36933 (__arch_compare_and_exchange_val_8_acq)
36934 (__arch_compare_and_exchange_val_16_acq)
36935 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36936 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36937 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36939 2011-12-02 Joseph Myers <joseph@codesourcery.com>
36941 * sysdeps/sh/backtrace.c: New file.
36943 2011-12-02 Andreas Schwab <schwab@redhat.com>
36945 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36948 2011-12-01 Andreas Schwab <schwab@redhat.com>
36950 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36951 falling back to utime.
36953 2011-11-30 Andreas Schwab <schwab@redhat.com>
36955 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36956 expectations for float.
36958 2011-11-29 Andreas Schwab <schwab@redhat.com>
36960 * locale/weight.h (findidx): Add parameter len.
36961 * locale/weightwc.h (findidx): Likewise.
36962 * posix/fnmatch_loop.c (FCT): Adjust caller.
36963 * posix/regcomp.c (build_equiv_class): Likewise.
36964 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36965 * posix/regexec.c (check_node_accept_bytes): Likewise.
36966 * string/strcoll_l.c (STRCOLL): Likewise.
36967 * string/strxfrm_l.c (STRXFRM): Likewise.
36969 2011-11-17 Ulrich Drepper <drepper@gmail.com>
36971 * Makefile.in: Remove CVSOPT handling.
36972 * configure.in: Remove use of AC_REVISION.
36973 * iconvdata/Makefile (distribute): No need to filter out CVS.
36974 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36977 2011-11-16 Andreas Schwab <schwab@redhat.com>
36979 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36980 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36981 [USE_AS_STRNCASECMP_L]: Likewise.
36982 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36983 NO_TLS_DIRECT_SEG_REFS.
36984 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36985 Fix argument offsets for non-PIC.
36986 [USE_AS_STRNCASECMP_L]: Likewise.
36987 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36988 NO_TLS_DIRECT_SEG_REFS.
36990 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36992 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36994 * locale/loadlocale.c (_nl_load_locale): Likewise.
36996 2011-11-15 Andreas Schwab <schwab@redhat.com>
36998 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36999 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37000 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37001 (SYSCALL_GETTIME): Set errno on error.
37003 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37004 count references to noai6ai_cached.
37006 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37008 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37010 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37011 FD_CLOEXEC for /proc/self/maps.
37013 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37014 FD_CLOEXEC for /proc/meminfo.
37016 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37019 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37020 FD_CLOEXEC for given file.
37022 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37024 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37025 FD_CLOEXEC for /etc/hosts.
37026 (_gethtent): Likewise.
37028 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37030 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37031 cancellation and set FD_CLOEXEC for /etc/netgroup.
37033 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37034 reading /etc/publickey.
37036 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37037 allow cancellation when reading /etc/group.
37039 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37041 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37043 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37044 when using data file.
37046 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37048 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37049 (write_nis_obj): Use "c" and "e" in fopen.
37051 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37053 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37055 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37057 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37059 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37062 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37064 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37066 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37068 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37069 file parsing and set FD_CLOEXEC.
37071 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37073 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37075 2011-11-14 Andreas Schwab <schwab@redhat.com>
37077 * malloc/arena.c (arena_get2): Don't call reused_arena when
37078 _int_new_arena failed.
37080 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37082 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37083 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37084 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37085 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37086 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37087 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37088 to compile strcasecmp and strncasecmp.
37089 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37090 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37092 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37094 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37096 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37097 locale-defines.sym to gen-as-const-headers.
37098 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37099 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37100 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37101 to compile strcasecmp and strncasecmp.
37102 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37103 strcasecmp_l and strncasecmp_l.
37104 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37105 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37106 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37107 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37108 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37109 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37110 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37111 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37112 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37113 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37114 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37116 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37118 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37119 result of SYSDEP_GETTIME_CPU to retval.
37120 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37121 parameter list to macro. Remove trailing semicolon. Adjust users.
37123 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37126 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37128 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37130 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37131 from unused variable.
37133 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37135 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37138 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37141 * sunrpc/rpc_prot.c (rejected): Fix case value.
37143 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37144 unsigned long long int to avoid warnings in shift.
37146 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37148 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37151 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37152 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37153 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37155 * nis/nis_table.c (nis_list): Use variable of correct type for
37156 result of __follow_path call.
37158 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37160 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37161 of math functions ceil, trunc, floor, round, and sqrt, when
37162 avaliable on the platform.
37163 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37165 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37166 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37167 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37169 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37171 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37172 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37174 2011-11-11 Roland McGrath <roland@hack.frob.com>
37176 * include/unistd.h: Fix __readlink return type.
37177 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37179 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37181 * stdlib/ucontext.h: Undo last change for makecontext.
37183 2011-11-11 Andreas Schwab <schwab@redhat.com>
37185 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37187 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37188 * setjmp/setjmp.h: Mark functions as non-leaf.
37189 * setjmp/bits/setjmp2.h: Likewise.
37190 * stdlib/ucontext.h: Likewise.
37192 2011-11-10 Andreas Schwab <schwab@redhat.com>
37194 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37195 (reused_arena): Don't check arena limit.
37196 (arena_get2): Atomically check arena limit.
37198 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37200 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37201 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37203 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37206 2011-11-07 Andreas Schwab <schwab@redhat.com>
37208 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37209 handler when locking.
37211 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37212 Fix size of allocated buffer.
37214 2011-11-04 Andreas Schwab <schwab@redhat.com>
37217 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37218 declarations for long double functions.
37219 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37221 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37223 2011-11-03 Andreas Schwab <schwab@redhat.com>
37225 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37228 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37231 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37233 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37235 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37237 * include/alloca.h (stackinfo_alloca_round): Define.
37238 (extend_alloca): Use it.
37239 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37240 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37243 * scripts/check-local-headers.sh: Ignore libaudit.h.
37245 * nscd/Makefile (extra-objs): Make recursively expanded.
37247 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37249 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37250 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37252 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37253 * posix/tst-rfc3484-2.c: Likewise.
37254 * posix/tst-rfc3484-3.c: Likewise.
37256 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37258 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37260 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37261 process_vm_writev from libc using GLIBC_2.15 version.
37263 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37265 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37267 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37270 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37273 * nss/getent.c (initgroups_keys): Show error message in case no group
37276 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37277 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37278 __bump_nl_timestamp.
37279 * nscd/connections (nscd_init): When host database is served open
37280 netlink socket and request notification about configuration changes.
37281 (main_loop_poll): Track netlink file descriptor and bump timestamp
37282 in case data becomes available.
37283 (main_loop_epoll): Likewise.
37284 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37285 (database_pers_head): Add extra_data fileds.
37286 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37287 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37288 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37290 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37291 in6ai data, call __free_in6ai.
37292 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37293 Add -DHAVE_NETLINK.
37294 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37295 interface information. Reuse previous data if netlink timestamp
37297 (__bump_nl_timestamp): New function.
37298 (__free_in6ai): New function.
37300 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37302 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37303 close_not_cancel_no_status here.
37304 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37306 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37309 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37312 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37313 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37314 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37316 2011-07-03 Andreas Jaeger <aj@suse.de>
37319 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37320 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37321 * math/libm-test.inc (sin_test): Add test case.
37323 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37326 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37327 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37329 * elf/chroot_canon.c (chroot_canon): Cleanups.
37331 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37334 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37335 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37337 * string/test-strchr.c: Make usable for strchrnul testing.
37338 * string/test-strchrnul.c: New file.
37339 * string/Makefile (strop-tests): Add strchrnul.
37341 * po/it.po: Update from translation team.
37342 * po/es.po: Likewise.
37344 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37346 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37347 the three constants needed as parameters. Drop the others.
37348 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37349 __m128i_strloadu_tolower.
37350 Create and initialize variable zero and use it in all the places
37351 where _mm_setzero_si128 was used.
37353 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37354 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37355 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37356 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37358 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37359 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37360 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37361 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37362 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37363 __mpranred, __mptan.
37364 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37365 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37366 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37367 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37368 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37369 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37370 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37371 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37372 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37374 2011-10-28 Andreas Schwab <schwab@redhat.com>
37376 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37377 redefine if SHARED.
37378 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37380 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37381 wide char related routines to wcsmbs subdir.
37383 2011-10-27 Andreas Schwab <schwab@redhat.com>
37386 * misc/sys/cdefs.h (__THROWNL): Define.
37387 * posix/unistd.h: Use __THREADNL instead of __THREAD
37388 for memory synchronization functions.
37390 2011-10-26 Roland McGrath <roland@hack.frob.com>
37393 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37395 * manual/stdio.texi (Obstack Streams): Node removed.
37397 2011-10-26 Andreas Schwab <schwab@redhat.com>
37399 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37400 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37401 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37403 * math/math_private.h (math_force_eval): Allow non-addressable
37405 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37407 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37409 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37410 file is not needed.
37412 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37413 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37414 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37415 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37416 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37417 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37418 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37419 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37421 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37422 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37423 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37424 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37425 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37426 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37427 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37428 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37429 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37430 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37431 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37432 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37433 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37434 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37435 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37436 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37437 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37438 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37439 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37441 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37442 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37444 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37445 place. Use VEX encoding when compiling for AVX.
37447 2011-10-25 Andreas Schwab <schwab@redhat.com>
37449 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37450 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37452 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37454 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37456 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37457 useless if() expression.
37458 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37459 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37460 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37461 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37462 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37463 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37464 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37465 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37466 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37467 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37468 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37469 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37470 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37471 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37472 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37473 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37474 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37475 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37476 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37478 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37480 2011-10-25 Andreas Schwab <schwab@redhat.com>
37482 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37484 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37486 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37488 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37489 .text section. Avoid duplicate constants.
37490 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37491 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37492 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37493 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37494 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37496 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37497 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37498 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37499 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37500 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37501 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37502 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37503 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37504 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37505 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37506 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37507 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37508 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37509 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37510 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37511 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37512 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37513 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37514 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37515 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37516 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37517 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37518 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37519 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37520 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37521 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37522 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37523 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37524 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37525 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37526 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37527 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37528 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37529 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37530 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37531 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37532 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37533 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37534 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37536 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37538 * sysdeps/x86_64/dla.h: Move to ...
37539 * sysdeps/x86_64/fpu/dla.h: ...here.
37540 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37541 situations. Use __builtin_fma only for gcc 4.6 and up.
37543 * config.make.in: Add have-mfma4 entry.
37544 * configure.in: Substitute libc_cv_cc_fma4.
37545 * math/Makefile (dbl-only-routines): Add sincostab.
37546 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37547 Use __sincostab not sincos.
37548 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37550 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37551 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37552 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37553 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37555 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37556 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37557 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37558 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37560 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37561 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37563 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37564 define aliases when function name is a macro.
37565 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37566 sysdeps/ieee754/dbl-64/sincos.tbl.
37567 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37568 fma4-enabled routines.
37569 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37570 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37571 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37572 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37573 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37574 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37575 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37576 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37577 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37578 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37579 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37580 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37581 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37582 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37583 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37584 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37585 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37586 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37587 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37588 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37589 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37590 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37591 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37592 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37593 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37594 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37595 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37596 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37597 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37598 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37600 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37602 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37603 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37604 * sysdeps/ieee754/dbl-64/e_atan2.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/halfulp.c: Likewise.
37608 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37609 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37611 2011-10-24 Andreas Schwab <schwab@redhat.com>
37613 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37615 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37617 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37619 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37621 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37623 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37624 Remove unused variable magic_bits.
37625 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37627 * string/strnlen.c: Define and use STRNLEN macro.
37628 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37629 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37630 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37631 * wcsmbs/wcslen.c: Define and use WCSLEN.
37632 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37633 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37634 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37635 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37636 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37637 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37638 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37640 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37642 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37643 strnlen-sse2-no-bsf.
37644 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37645 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37646 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37647 Add strnlen support.
37648 (USE_AS_STRNLEN): New macro.
37649 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37650 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37651 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37652 * sysdeps/x86_64/wcslen.S: New file.
37654 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37656 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37657 XMM-moves are used for copying on small sizes.
37659 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37661 * wcsmbs/Makefile (strop-tests): Add wcschr.
37662 * wcsmbs/test-wcschr.c: New file.
37663 * string/test-strchr.c: Update.
37664 Add wcschr support.
37667 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37669 * wcsmbs/Makefile (strop-tests): Add wcslen.
37670 * wcsmbs/test-wcslen.c: New file.
37671 * string/test-strlen.c: Update.
37672 Add wcslen support.
37675 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37677 * po/it.po: Update from translation team.
37679 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37681 * sysdeps/x86_64/wcscmp.S: Update.
37682 Fix wrong comparison semantics.
37683 wcscmp shall use signed comparison not unsigned.
37684 Don't use substraction to avoid overflow bug.
37685 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37686 * wcsmbc/wcscmp.c: Likewise.
37687 * string/test-strcmp.c: Likewise.
37688 Add new tests to check cases with negative values.
37690 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37692 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37693 * sysdeps/x86_64/dla.h: ...here. New file.
37694 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37695 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37696 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37697 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37698 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37699 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37700 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37701 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37702 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37704 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37706 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37707 __ynl_finite aliases.
37709 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37713 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37715 [DLA_FMA] (EMULV): Use DLA_FMA.
37716 [DLA_FMA] (MUL12): Use EMULV.
37717 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37718 that are not needed.
37719 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37720 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37721 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37723 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37724 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37725 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37727 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37729 * math/s_nan.c: Undef __nan.
37730 * math/s_nanf.c: Undef __nanf.
37731 * math/s_nanl.c: Undef __nanl.
37732 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37735 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37737 * math/s_catan.c: Add branch predictions.
37738 * math/s_catanf.c: Likewise.
37739 * math/s_catanh.c: Likewise.
37740 * math/s_catanhf.c: Likewise.
37741 * math/s_catanhl.c: Likewise.
37742 * math/s_catanl.c: Likewise.
37743 * math/s_cexp.c: Likewise.
37744 * math/s_cexpf.c: Likewise.
37745 * math/s_cexpl.c: Likewise.
37746 * math/s_clog.c: Likewise.
37747 * math/s_clog10.c: Likewise.
37748 * math/s_clog10f.c: Likewise.
37749 * math/s_clog10l.c: Likewise.
37750 * math/s_clogf.c: Likewise.
37751 * math/s_clogl.c: Likewise.
37752 * math/s_csqrt.c: Likewise.
37753 * math/s_csqrtf.c: Likewise.
37754 * math/s_csqrtl.c: Likewise.
37755 * math/s_ctanf.c: Likewise.
37756 * math/s_ctanh.c: Likewise.
37757 * math/s_ctanhf.c: Likewise.
37758 * math/s_ctanhl.c: Likewise.
37759 * math/s_ctanl.c: Likewise.
37761 * math/math_private.h: Define __nan, __nanf, __nanl.
37762 * math/s_cacosh.c: Include <math_private.h>.
37763 * math/s_cacoshl.c: Likewise.
37764 * math/s_casinh.c: Likewise.
37765 * math/s_casinhf.c: Likewise.
37766 * math/s_casinhl.c: Likewise.
37767 * math/s_ccos.c: Rely entire on ccosh.
37768 * math/s_ccosf.c: Rely entire on ccoshf.
37769 * math/s_ccosl.c: Rely entirely on ccoshl.
37770 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37771 Remove tests for FE_INVALID.
37772 * math/s_ccoshf.c: Likewise.
37773 * math/s_ccoshl.c: Likewise.
37774 * math/s_csin.c: Likewise.
37775 * math/s_csinf.c: Likewise.
37776 * math/s_csinh.c Likewise.
37777 * math/s_csinhf.c: Likewise.
37778 * math/s_csinhl.c: Likewise.
37779 * math/s_csinl.c: Likewise.
37780 * math/s_ctan.c: Likewise.
37781 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37782 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37783 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37785 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37788 compilation problems.
37790 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37793 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37795 * sysdeps/i386/configure.in: Test for -mfma4 option.
37796 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37797 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37798 COMMON_CPUID_INDEX_80000001.
37799 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37800 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37801 use it if FMA3 is not supported.
37802 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37804 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37805 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37807 2011-10-20 Andreas Schwab <schwab@redhat.com>
37810 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37811 it would create a cycle with a link time dependency.
37813 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37815 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37817 * string/Makefile (strop-tests): Add rawmemchr.
37818 * string/test-rawmemchr.c: New file.
37820 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37821 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37822 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37823 when compiling str{,n}casecmp and when AVX is available. Hook up
37824 new optimized code in initializers.
37826 2011-10-19 Andreas Schwab <schwab@redhat.com>
37828 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37829 __feraiseexcept instead of feraiseexcept.
37831 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37833 * math/math_private.h: Define defaults for libc_fetestexcept and
37835 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37836 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37837 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37838 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37839 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37840 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37841 libc_fetestexcept and libc_feupdateenv.
37843 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37844 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37845 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37846 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37847 libc_feholdexcept_setround.
37849 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37850 Add s_nearbyint-c and s_nearbyintf-c.
37851 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37852 nearbyintf inlines.
37853 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37854 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37855 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37856 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37858 * math/math_private.h: Define defaults for libc_fegetround,
37859 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37860 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37861 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37862 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37863 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37864 standard functions.
37865 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37866 Remove comments and hacks for old compiler versions.
37867 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37868 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37869 libc_feholdexceptl.
37871 2011-10-18 Andreas Schwab <schwab@redhat.com>
37873 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37874 (__feraiseexcept_renamed): Add __NTH.
37875 (feraiseexcept): Add __NTH. Rename local variables to fix
37876 namespace violations.
37878 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37880 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37882 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37884 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37885 recently added interfaces.
37886 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37888 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37889 about macro parameter expansion.
37891 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37892 __NO_MATH_INLINES is defined. Cleanups.
37894 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37895 and __floorf is target has SSE4.1.
37896 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37897 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37898 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37899 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37901 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37903 (floorf): Likewise.
37905 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37907 2011-10-17 Andreas Schwab <schwab@redhat.com>
37909 * misc/sys/cdefs.h: Fix last change.
37911 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37914 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37916 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37918 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37919 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37920 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37921 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37922 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37923 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37924 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37925 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37926 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37927 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37928 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37929 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37930 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37931 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37932 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37933 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37934 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37935 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37936 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37937 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37938 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37939 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37941 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37942 ceil, ceilf, floor, floorf.
37944 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37945 Perform IRELATIVE relocations last.
37947 * elf/do-rel.h: Add another parameter nrelative, replacing the
37948 local variable with the same name. Change name of the function
37949 to end in Rel or Rela (uppercase).
37950 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37951 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37952 elf_dynamic_do_##reloc function.
37954 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37956 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37957 is sufficient, at least on modern CPUs.
37959 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37961 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37962 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37964 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37966 * math/bits/math-finite.h: Add entries for exp.
37967 * math/e_expl.c: Add __*_finite alias.
37968 * sysdeps/i386/fpu/e_exp.S: Likewise.
37969 * sysdeps/i386/fpu/e_expf.S: Likewise.
37970 * sysdeps/i386/fpu/e_expl.c: Likewise.
37971 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37972 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37973 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37974 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37975 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37976 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37977 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37979 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37980 is sufficient, at least on modern CPUs.
37982 * ctype/ctype-info.c (__ctype_init): Define.
37983 * include/ctype.h (__ctype_init): Declare.
37984 (__ctype_b_loc): The variable is always initialized.
37985 (__ctype_toupper_loc): Likewise.
37986 (__ctype_tolower_loc): Likewise.
37987 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37988 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37990 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37992 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37994 * configure.in: Also look in $cxxmachine/include for C++ system
37997 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37999 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38000 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38001 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38002 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38003 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38004 (USE_AS_WMEMCMP): New macro.
38006 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38007 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38008 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38009 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38011 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38012 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38013 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38014 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38015 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38016 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38017 (USE_AS_WMEMCMP): New macro.
38018 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38019 * sysdeps/string/test-memcmp.c: Update.
38020 Fix simple_wmemcmp.
38022 * wcsmbs/wmemcmp.c: Update.
38023 (WMEMCMP): New macro.
38026 2011-10-12 Andreas Jaeger <aj@suse.de>
38029 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38031 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38033 * libio/iofwide.c (do_length): Avoid warning.
38035 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38037 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38039 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38041 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38042 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38043 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38044 * sysdeps/i386/i686/fpu/e_log.S: New file.
38045 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38046 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38048 * ctype/ctype.h: Add support for inlined isXXX functions when
38049 compiling C++ code.
38051 2011-10-14 Andreas Schwab <schwab@redhat.com>
38053 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38055 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38057 2011-10-13 Roland McGrath <roland@hack.frob.com>
38060 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38062 2011-10-13 Andreas Schwab <schwab@redhat.com>
38064 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38065 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38068 * sysdeps/x86_64/memrchr.S: Check for zero size.
38070 * string/stratcliff.c: Add memrchr tests.
38072 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38074 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38075 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38076 rawmemchr-sse2 rawmemchr-sse2-bsf.
38077 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38078 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38079 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38080 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38081 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38082 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38083 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38084 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38085 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38086 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38087 * string/memrchr.c (MEMRCHR): New macro.
38089 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38091 Add integration with gcc's -ffinite-math-only and optimize wrapper
38093 * Versions.def: Define GLIBC_2.15 version for libm.
38094 * math/Makefile (headers): Add bits/math-finite.h.
38095 * math/bits/math-finite.h: New file.
38096 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38097 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38098 * math/e_acoshl.c: Add __*_finite alias.
38099 * math/e_acosl.c: Likewise.
38100 * math/e_asinl.c: Likewise.
38101 * math/e_atan2l.c: Likewise.
38102 * math/e_atanhl.c: Likewise.
38103 * math/e_coshl.c: Likewise.
38104 * math/e_exp10.c: Likewise.
38105 * math/e_exp10f.c: Likewise.
38106 * math/e_exp10l.c: Likewise.
38107 * math/e_exp2l.c: Likewise.
38108 * math/e_fmodl.c: Likewise.
38109 * math/e_gammal_r.c: Likewise.
38110 * math/e_hypotl.c: Likewise.
38111 * math/e_j0l.c: Likewise.
38112 * math/e_j1l.c: Likewise.
38113 * math/e_jnl.c: Likewise.
38114 * math/e_lgammal_r.c: Likewise.
38115 * math/e_log10l.c: Likewise.
38116 * math/e_log2l.c: Likewise.
38117 * math/e_logl.c: Likewise.
38118 * math/e_powl.c: Likewise.
38119 * math/e_sinhl.c: Likewise.
38120 * math/e_sqrtl.c: Likewise.
38121 * math/e_scalb.c: Completely rewritten and optimized.
38122 * math/e_scalbf.c: Likewise.
38123 * math/e_scalbl.c: Likewise.
38124 * math/w_acos.c: Likewise.
38125 * math/w_acosf.c: Likewise.
38126 * math/w_acosl.c: Likewise.
38127 * math/w_acosh.c: Likewise.
38128 * math/w_acoshf.c: Likewise.
38129 * math/w_acoshl.c: Likewise.
38130 * math/w_asin.c: Likewise.
38131 * math/w_asinf.c: Likewise.
38132 * math/w_asinl.c: Likewise.
38133 * math/w_atan2.c: Likewise.
38134 * math/w_atan2f.c: Likewise.
38135 * math/w_atan2l.c: Likewise.
38136 * math/w_atanh.c: Likewise.
38137 * math/w_atanhf.c: Likewise.
38138 * math/w_atanhl.c: Likewise.
38139 * math/w_exp10.c: Likewise.
38140 * math/w_exp10f.c: Likewise.
38141 * math/w_exp10l.c: Likewise.
38142 * math/w_fmod.c: Likewise.
38143 * math/w_fmodf.c: Likewise.
38144 * math/w_fmodl.c: Likewise.
38145 * math/w_j0.c: Likewise.
38146 * math/w_j0f.c: Likewise.
38147 * math/w_j0l.c: Likewise.
38148 * math/w_j1.c: Likewise.
38149 * math/w_j1f.c: Likewise.
38150 * math/w_j1l.c: Likewise.
38151 * math/w_jn.c: Likewise.
38152 * math/w_jnf.c: Likewise.
38153 * math/w_log.c: Likewise.
38154 * math/w_logf.c: Likewise.
38155 * math/w_logl.c: Likewise.
38156 * math/w_log10.c: Likewise.
38157 * math/w_log10f.c: Likewise.
38158 * math/w_log10l.c: Likewise.
38159 * math/w_log2.c: Likewise.
38160 * math/w_log2f.c: Likewise.
38161 * math/w_log2l.c: Likewise.
38162 * math/w_pow.c: Likewise.
38163 * math/w_powf.c: Likewise.
38164 * math/w_powl.c: Likewise.
38165 * math/w_remainder.c: Likewise.
38166 * math/w_remainderf.c: Likewise.
38167 * math/w_remainderl.c: Likewise.
38168 * math/w_scalb.c: Likewise.
38169 * math/w_scalbf.c: Likewise.
38170 * math/w_scalbl.c: Likewise.
38171 * math/w_sqrt.c: Likewise.
38172 * math/w_sqrtf.c: Likewise.
38173 * math/w_sqrtl.c: Likewise.
38174 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38175 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38177 * math/math_private.h: Declare __kernel_standard_f.
38178 * math/w_cosh.c: Remove cruft and optimize a bit.
38179 * math/w_coshf.c: Likewise.
38180 * math/w_coshl.c: Likewise.
38181 * math/w_exp2.c: Likewise.
38182 * math/w_exp2f.c: Likewise.
38183 * math/w_exp2l.c: Likewise.
38184 * math/w_hypot.c: Likewise.
38185 * math/w_hypotf.c: Likewise.
38186 * math/w_hypotl.c: Likewise.
38187 * math/w_lgamma.c: Likewise.
38188 * math/w_lgamma_r.c: Likewise.
38189 * math/w_lgammaf.c: Likewise.
38190 * math/w_lgammaf_r.c: Likewise.
38191 * math/w_lgammal.c: Likewise.
38192 * math/w_lgammal_r.c: Likewise.
38193 * math/w_sinh.c: Likewise.
38194 * math/w_sinhf.c: Likewise.
38195 * math/w_sinhl.c: Likewise.
38196 * math/w_tgamma.c: Likewise.
38197 * math/w_tgammaf.c: Likewise.
38198 * math/w_tgammal.c: Likewise.
38199 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38200 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38201 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38202 Minor optimizations. Pretty printing. Remove cruft.
38203 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38204 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38205 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38206 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38207 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38208 * sysdeps/i386/fpu/e_asin.S: Likewise.
38209 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38210 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38211 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38212 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38213 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38214 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38215 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38216 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38217 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38218 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38219 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38220 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38221 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38222 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38223 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38224 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38225 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38226 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38227 * sysdeps/i386/fpu/e_log.S: Likewise.
38228 * sysdeps/i386/fpu/e_log10.S: Likewise.
38229 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38230 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38231 * sysdeps/i386/fpu/e_log2.S: Likewise.
38232 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38233 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38234 * sysdeps/i386/fpu/e_logf.S: Likewise.
38235 * sysdeps/i386/fpu/e_logl.S: Likewise.
38236 * sysdeps/i386/fpu/e_pow.S: Likewise.
38237 * sysdeps/i386/fpu/e_powf.S: Likewise.
38238 * sysdeps/i386/fpu/e_powl.S: Likewise.
38239 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38240 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38241 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38242 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38243 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38244 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38245 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38246 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38247 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38248 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38249 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38250 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38251 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38252 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38253 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38254 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38255 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38256 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38257 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38258 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38259 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38260 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38261 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38262 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38263 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38264 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38265 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38266 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38267 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38268 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38269 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38270 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38271 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38272 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38273 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38274 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38275 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38276 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38277 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38278 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38279 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38280 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38281 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38282 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38283 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38284 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38285 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38286 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38287 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38288 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38289 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38290 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38291 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38292 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38293 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38294 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38295 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38296 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38297 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38298 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38299 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38300 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38301 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38302 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38303 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38304 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38305 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38306 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38307 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38308 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38309 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38310 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38311 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38312 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38313 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38314 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38315 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38316 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38317 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38318 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38319 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38320 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38321 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38322 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38323 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38324 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38325 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38326 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38327 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38328 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38329 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38330 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38331 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38332 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38333 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38334 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38335 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38336 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38337 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38338 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38339 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38340 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38341 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38342 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38343 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38344 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38345 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38346 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38347 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38348 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38349 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38350 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38351 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38352 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38353 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38354 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38355 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38356 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38357 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38358 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38359 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38360 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38361 (__isnanf): Likewise.
38362 (__isinf_ns): Likewise.
38363 (__isinf_nsf): Likewise.
38364 (__finite): Likewise.
38365 (__finitef): Likewise.
38366 (__ieee754_sqrt): Define as macro.
38367 (__ieee754_sqrtf): Define as macro.
38368 (__ieee754_sqrtl): Define as macro.
38369 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38371 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38372 __FINITE_MATH_ONLY__ consistent.
38373 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38375 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38377 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38380 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38382 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38384 * po/ja.po: Update from translation team.
38386 2011-10-08 Roland McGrath <roland@hack.frob.com>
38388 * locale/programs/locarchive.c (prepare_address_space): New function.
38389 (create_archive, enlarge_archive, open_archive): Use it.
38391 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38392 inside [SHARED], where it is used.
38394 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38396 * nss/getent.c (netgroup_keys): Remove unused variable.
38397 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38399 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38401 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38402 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38403 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38404 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38405 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38406 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38407 * math/Makefile (libm-calls): Add s_isinf_ns.
38408 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38409 * math/multc3.c: Likewise.
38410 * math/s_casin.c: Likewise.
38411 * math/s_casinf.c: Likewise.
38412 * math/s_casinl.c: Likewise.
38413 * math/s_ccos.c: Likewise.
38414 * math/s_ccosf.c: Likewise.
38415 * math/s_ccosl.c: Likewise.
38416 * math/s_ctan.c: Likewise.
38417 * math/s_ctanf.c: Likewise.
38418 * math/s_ctanh.c: Likewise.
38419 * math/s_ctanhf.c: Likewise.
38420 * math/s_ctanhl.c: Likewise.
38421 * math/s_ctanl.c: Likewise.
38422 * math/w_fmod.c: Likewise.
38423 * math/w_fmodf.c: Likewise.
38424 * math/w_fmodl.c: Likewise.
38425 * math/w_remainder.c: Likewise.
38426 * math/w_remainderf.c: Likewise.
38427 * math/w_remainderl.c: Likewise.
38428 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38429 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38430 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38431 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38432 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38433 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38434 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38435 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38437 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38439 * stdio-common/printf_fphex.c: Likewise.
38440 * stdio-common/printf_size.c: Likewise.
38442 * math/e_exp10.c: Include math_private.h using <...> not "...".
38443 * math/e_exp10f.c: Likewise.
38444 * math/e_exp10l.c: Likewise.
38445 * math/e_exp2l.c: Likewise.
38446 * math/e_j0l.c: Likewise.
38447 * math/e_j1l.c: Likewise.
38448 * math/e_jnl.c: Likewise.
38449 * math/e_lgammal_r.c: Likewise.
38450 * math/e_rem_pio2l.c: Likewise.
38451 * math/e_scalb.c: Likewise.
38452 * math/e_scalbf.c: Likewise.
38453 * math/e_scalbl.c: Likewise.
38454 * math/k_cosl.c: Likewise.
38455 * math/k_sinl.c: Likewise.
38456 * math/k_tanl.c: Likewise.
38457 * math/s_cacoshf.c: Likewise.
38458 * math/s_catan.c: Likewise.
38459 * math/s_catanf.c: Likewise.
38460 * math/s_catanh.c: Likewise.
38461 * math/s_catanhf.c: Likewise.
38462 * math/s_catanhl.c: Likewise.
38463 * math/s_catanl.c: Likewise.
38464 * math/s_ccosh.c: Likewise.
38465 * math/s_ccoshf.c: Likewise.
38466 * math/s_ccoshl.c: Likewise.
38467 * math/s_cexp.c: Likewise.
38468 * math/s_cexpf.c: Likewise.
38469 * math/s_cexpl.c: Likewise.
38470 * math/s_clog.c: Likewise.
38471 * math/s_clog10.c: Likewise.
38472 * math/s_clog10f.c: Likewise.
38473 * math/s_clog10l.c: Likewise.
38474 * math/s_clogf.c: Likewise.
38475 * math/s_clogl.c: Likewise.
38476 * math/s_csin.c: Likewise.
38477 * math/s_csinf.c: Likewise.
38478 * math/s_csinh.c: Likewise.
38479 * math/s_csinhf.c: Likewise.
38480 * math/s_csinhl.c: Likewise.
38481 * math/s_csinl.c: Likewise.
38482 * math/s_csqrt.c: Likewise.
38483 * math/s_csqrtf.c: Likewise.
38484 * math/s_csqrtl.c: Likewise.
38485 * math/s_ctan.c: Likewise.
38486 * math/s_ctanf.c: Likewise.
38487 * math/s_ctanh.c: Likewise.
38488 * math/s_ctanhf.c: Likewise.
38489 * math/s_ctanhl.c: Likewise.
38490 * math/s_ctanl.c: Likewise.
38491 * math/s_ldexp.c: Likewise.
38492 * math/s_ldexpf.c: Likewise.
38493 * math/s_ldexpl.c: Likewise.
38494 * math/s_significand.c: Likewise.
38495 * math/s_significandf.c: Likewise.
38496 * math/s_significandl.c: Likewise.
38497 * math/w_acos.c: Likewise.
38498 * math/w_acosf.c: Likewise.
38499 * math/w_acosh.c: Likewise.
38500 * math/w_acoshf.c: Likewise.
38501 * math/w_acoshl.c: Likewise.
38502 * math/w_acosl.c: Likewise.
38503 * math/w_asin.c: Likewise.
38504 * math/w_asinf.c: Likewise.
38505 * math/w_asinl.c: Likewise.
38506 * math/w_atan2.c: Likewise.
38507 * math/w_atan2f.c: Likewise.
38508 * math/w_atan2l.c: Likewise.
38509 * math/w_atanh.c: Likewise.
38510 * math/w_atanhf.c: Likewise.
38511 * math/w_atanhl.c: Likewise.
38512 * math/w_cosh.c: Likewise.
38513 * math/w_coshf.c: Likewise.
38514 * math/w_coshl.c: Likewise.
38515 * math/w_dremf.c: Likewise.
38516 * math/w_exp10.c: Likewise.
38517 * math/w_exp10f.c: Likewise.
38518 * math/w_exp10l.c: Likewise.
38519 * math/w_exp2.c: Likewise.
38520 * math/w_exp2f.c: Likewise.
38521 * math/w_fmod.c: Likewise.
38522 * math/w_fmodf.c: Likewise.
38523 * math/w_fmodl.c: Likewise.
38524 * math/w_hypot.c: Likewise.
38525 * math/w_hypotf.c: Likewise.
38526 * math/w_hypotl.c: Likewise.
38527 * math/w_j0.c: Likewise.
38528 * math/w_j0f.c: Likewise.
38529 * math/w_j0l.c: Likewise.
38530 * math/w_j1.c: Likewise.
38531 * math/w_j1f.c: Likewise.
38532 * math/w_j1l.c: Likewise.
38533 * math/w_jn.c: Likewise.
38534 * math/w_jnf.c: Likewise.
38535 * math/w_jnl.c: Likewise.
38536 * math/w_lgamma.c: Likewise.
38537 * math/w_lgamma_r.c: Likewise.
38538 * math/w_lgammaf.c: Likewise.
38539 * math/w_lgammaf_r.c: Likewise.
38540 * math/w_lgammal.c: Likewise.
38541 * math/w_lgammal_r.c: Likewise.
38542 * math/w_log.c: Likewise.
38543 * math/w_log10.c: Likewise.
38544 * math/w_log10f.c: Likewise.
38545 * math/w_log10l.c: Likewise.
38546 * math/w_log2.c: Likewise.
38547 * math/w_log2f.c: Likewise.
38548 * math/w_log2l.c: Likewise.
38549 * math/w_logf.c: Likewise.
38550 * math/w_logl.c: Likewise.
38551 * math/w_pow.c: Likewise.
38552 * math/w_powf.c: Likewise.
38553 * math/w_powl.c: Likewise.
38554 * math/w_remainder.c: Likewise.
38555 * math/w_remainderf.c: Likewise.
38556 * math/w_remainderl.c: Likewise.
38557 * math/w_scalb.c: Likewise.
38558 * math/w_scalbf.c: Likewise.
38559 * math/w_scalbl.c: Likewise.
38560 * math/w_sinh.c: Likewise.
38561 * math/w_sinhf.c: Likewise.
38562 * math/w_sinhl.c: Likewise.
38563 * math/w_sqrt.c: Likewise.
38564 * math/w_sqrtf.c: Likewise.
38565 * math/w_sqrtl.c: Likewise.
38566 * math/w_tgamma.c: Likewise.
38567 * math/w_tgammaf.c: Likewise.
38568 * math/w_tgammal.c: Likewise.
38570 * po/ja.po: Update from translation team.
38572 2011-09-29 Andreas Jaeger <aj@suse.de>
38575 * sunrpc/netname.c (netname2host): Fix logic.
38579 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38581 * math/w_remainder.c (__remainder): Likewise.
38582 * math/w_remainderf.c (__remainderf): Likewise.
38583 * math/libm-test.inc (remainder_test): Add test cases.
38585 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38587 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38590 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38592 * string/test-memcmp.c: Avoid unncessary #defines.
38593 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38595 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38597 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38598 Use new sse2 version for core i3 - i7 as it's faster
38599 than sse42 version.
38600 (bit_Prefer_PMINUB_for_stringop): New.
38601 * sysdeps/x86_64/rawmemchr.S: Update.
38602 Replace with faster SSE2 version.
38603 * sysdeps/x86_64/memrchr.S: New file.
38604 * sysdeps/x86_64/memchr.S: Update.
38605 Replace with faster SSE2 version.
38607 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38609 * elf/dl-load.c (lose): Add cast to avoid warning.
38611 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38613 * po/ca.po: Update from translation team.
38615 * inet/getnetgrent_r.c: Hook up nscd.
38616 * nscd/Makefile (routines): Add nscd_netgroup.
38617 (nscd-modules): Add netgroupcache.
38618 (CFLAGS-netgroupcache.c): Define.
38619 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38620 (cache_search): Add const to second parameter.
38621 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38623 (dbs): Add netgrdb entry.
38624 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38625 (verify_persistent_db): Handle netgrdb.
38626 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38627 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38629 (netgroup_response_header): Define.
38630 (innetgroup_response_header): Define.
38631 (datahead): Add netgroup_response_header and innetgroup_response_header
38633 * nscd/nscd.conf: Add entries for netgroup cache.
38634 * nscd/nscd.h (dbtype): Add netgrdb.
38635 (_PATH_NSCD_NETGROUP_DB): Define.
38636 (netgroup_iov_disabled): Declare.
38637 (xmalloc, xcalloc, xrealloc): Move declarations here.
38638 (cache_search): Adjust prototype.
38639 Add netgroup-related prototypes.
38640 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38641 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38642 (__nscd_innetgr): Declare.
38643 * nscd/selinux.c (perms): Use access_vector_t as element type and
38644 add netgroup-related initializers.
38645 * nscd/netgroupcache.c: New file.
38646 * nscd/nscd_netgroup.c: New file.
38647 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38648 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38649 For four parameters use innetgr.
38650 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38651 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38652 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38653 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38655 * nscd/connections.c (register_traced_file): Don't register file
38656 for disabled databases.
38658 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38660 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38662 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38663 from tree and freeing node.
38665 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38667 * nss/nsswitch.c (__nss_database_lookup): Handle
38668 nss_parse_service_list out of memory case.
38670 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38672 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38673 out of memory case.
38675 2011-10-04 Andreas Schwab <schwab@redhat.com>
38677 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38678 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38680 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38681 elf_machine_rela, elf_machine_lazy_rel.
38682 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38683 (ELF_DYNAMIC_DO_REL): Likewise.
38684 (ELF_DYNAMIC_DO_RELA): Likewise.
38685 (ELF_DYNAMIC_RELOCATE): Likewise.
38686 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38687 to ELF_DYNAMIC_DO_REL.
38688 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38689 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38690 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38692 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38693 skip_ifunc, don't call ifunc function if non-zero.
38694 (elf_machine_rela): Likewise.
38695 (elf_machine_lazy_rel): Likewise.
38696 (elf_machine_lazy_rela): Likewise.
38697 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38698 (elf_machine_lazy_rel): Likewise.
38699 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38701 (elf_machine_lazy_rel): Likewise.
38702 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38704 (elf_machine_lazy_rel): Likewise.
38705 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38706 (elf_machine_lazy_rel): Likewise.
38707 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38708 (elf_machine_lazy_rel): Likewise.
38709 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38710 (elf_machine_lazy_rel): Likewise.
38711 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38712 (elf_machine_lazy_rel): Likewise.
38713 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38714 (elf_machine_lazy_rel): Likewise.
38715 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38716 (elf_machine_lazy_rel): Likewise.
38718 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38720 * nss/nss_files/files-init.c (_nss_files_init): Use static
38721 initialization for all the *_traced_file variables.
38723 2011-09-28 Andreas Schwab <schwab@redhat.com>
38725 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38727 2011-09-27 Roland McGrath <roland@hack.frob.com>
38730 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38732 2011-09-27 Andreas Schwab <schwab@redhat.com>
38734 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38735 Reread the line before reparsing it.
38737 2011-09-26 Andreas Schwab <schwab@redhat.com>
38739 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38741 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38742 Maxim Kuvyrkov <maxim@codesourcery.com>
38743 Joseph Myers <joseph@codesourcery.com>
38745 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38746 if needed for __stack_chk_guard.
38748 2011-09-19 Roland McGrath <roland@hack.frob.com>
38750 * sysdeps/posix/spawni.c (script_execute): Always define it.
38751 It will be optimized away if unused.
38752 (maybe_script_execute): New function.
38753 (__spawni): Call it.
38755 * Makerules: Don't include tls.make.
38756 (config-tls): Always set to thread.
38757 * tls.make.c: File removed.
38759 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38761 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38762 * config.make.in (CPPFLAGS-config): New substituted variable.
38764 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38766 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38769 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38770 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38772 2011-09-15 Roland McGrath <roland@hack.frob.com>
38774 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38775 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38776 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38777 (CALL_FAIL): Likewise.
38778 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38779 (CALL_FAIL): Macro removed.
38780 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38782 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38784 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38785 for __FINITE_MATH_ONLY__ == 1.
38787 2011-09-15 Andreas Schwab <schwab@redhat.com>
38789 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38790 __ieee754_sqrt instead of sqrt.
38791 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38792 __ieee754_sqrtf instead of sqrtf.
38793 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38794 __floorf instead of floorf.
38795 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38796 __floorf, __truncf instead of floorf, truncf.
38798 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38800 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38802 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38803 __extern_always_inline.
38804 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38807 2011-09-14 Andreas Schwab <schwab@redhat.com>
38809 * elf/rtld.c (dl_main): Also relocate in dependency order when
38810 doing symbol dependency testing.
38812 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38814 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38815 Always define `refsym'.
38817 2011-09-13 Andreas Schwab <schwab@redhat.com>
38819 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38820 (__FD_ELT): Renamed from __FDELT.
38821 * misc/bits/select2.h (__FD_ELT): Likewise.
38822 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38823 __FD_MASK instead of __FDELT, __FDMASK.
38824 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38826 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38829 * elf/Makefile (gen-ldd): Fix pattern.
38831 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38832 (init_tls): Likewise.
38834 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38836 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38838 2011-09-12 Andreas Schwab <schwab@redhat.com>
38840 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38841 `struct cmsghdr *' instead of `void *'.
38842 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38845 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38847 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38849 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38850 ldd_rewrite_script.
38852 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38854 * configure.in: Remove --with-tls option.
38855 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38856 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38857 out in case it is missing.
38858 * sysdeps/ia64/elf/configure.in: Likewise.
38859 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38860 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38861 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38862 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38863 * sysdeps/sh/elf/configure.in: Likewise.
38864 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38865 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38866 * sysdeps/x86_64/elf/configure.in: Likewise.
38867 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38868 * sysdeps/mach/hurd/tls.h: Likewise.
38871 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38874 * configure.in: Fix use of AC_INIT.
38876 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38878 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38880 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38882 * malloc/hooks.c: Likewise.
38885 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38886 variables statically.
38887 (narenas): Initialize.
38888 (list_lock): Initialize.
38889 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38890 initializtion of main_arena and list_lock. Small cleanups.
38891 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38892 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38893 Add initializers to main_arena and mp_.
38894 (malloc_state): Remove pagesize member. Change all users to use
38897 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38898 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38899 is always initialized.
38901 * malloc/malloc.c: Removed unused configurations and dead code.
38902 * malloc/arena.c: Likewise.
38903 * malloc/hooks.c: Likewise.
38904 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38906 * include/tls.h: Removed. USE___THREAD must always be defined.
38907 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38908 * elf/dl-libc.c: Likewise.
38909 * elf/dl-tsd.c: Likewise.
38910 * include/errno.h: Likewise.
38911 * include/netdb.h: Likewise.
38912 * include/resolv.h: Likewise.
38913 * inet/herrno-loc.c: Likewise.
38914 * inet/herrno.c: Likewise.
38915 * malloc/arena.c: Likewise.
38916 * malloc/hooks.c: Likewise.
38917 * malloc/malloc.c: Likewise.
38918 * resolv/res-state.c: Likewise.
38919 * resolv/res_libc.c: Likewise.
38920 * sysdeps/i386/dl-machine.h: Likewise.
38921 * sysdeps/ia64/dl-machine.h: Likewise.
38922 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38923 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38924 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38925 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38926 * sysdeps/sh/dl-machine.h: Likewise.
38927 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38928 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38929 * sysdeps/unix/i386/sysdep.S: Likewise.
38930 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38931 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38932 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38933 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38934 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38935 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38936 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38937 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38938 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38939 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38940 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38941 * sysdeps/x86_64/dl-machine.h: Likewise.
38942 * tls.make.c: Likewise.
38944 * configure.in: Remove --with-__thread option. Make tests for
38945 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38946 tls_model attribute fail if no support is available. Remove
38948 * Makeconfig: Adjust for dropped configure option. All features are
38950 * Makerules: Likewise.
38951 * Versions.def: Likewise.
38952 * argp/argp-fmtstream.c: Likewise.
38953 * argp/argp-fmtstream.h: Likewise.
38954 * argp/argp-help.c: Likewise.
38955 * assert/assert.c: Likewise.
38956 * config.h.in: Likewise.
38957 * config.make.in: Likewise.
38958 * configure: Likewise.
38959 * configure.in: Likewise.
38960 * csu/Versions: Likewise.
38961 * csu/init.c: Likewise.
38962 * elf/tst-audit2.c: Likewise.
38963 * elf/tst-tls10.c: Likewise.
38964 * elf/tst-tls10.h: Likewise.
38965 * elf/tst-tls11.c: Likewise.
38966 * elf/tst-tls12.c: Likewise.
38967 * elf/tst-tls14.c: Likewise.
38968 * elf/tst-tlsmod11.c: Likewise.
38969 * elf/tst-tlsmod12.c: Likewise.
38970 * elf/tst-tlsmod13.c: Likewise.
38971 * elf/tst-tlsmod13a.c: Likewise.
38972 * elf/tst-tlsmod14a.c: Likewise.
38973 * elf/tst-tlsmod15b.c: Likewise.
38974 * elf/tst-tlsmod16a.c: Likewise.
38975 * elf/tst-tlsmod16b.c: Likewise.
38976 * elf/tst-tlsmod7.c: Likewise.
38977 * elf/tst-tlsmod8.c: Likewise.
38978 * elf/tst-tlsmod9.c: Likewise.
38979 * gmon/gmon.c: Likewise.
38980 * grp/fgetgrent_r.c: Likewise.
38981 * grp/putgrent.c: Likewise.
38982 * hurd/fopenport.c: Likewise.
38983 * include/libc-symbols.h: Likewise.
38984 * include/tls.h: Likewise.
38985 * intl/gettextP.h: Likewise.
38986 * intl/loadinfo.h: Likewise.
38987 * locale/global-locale.c: Likewise.
38988 * locale/localeinfo.h: Likewise.
38989 * mach/devstream.c: Likewise.
38990 * malloc/arena.c: Likewise.
38991 * malloc/set-freeres.c: Likewise.
38992 * misc/err.c: Likewise.
38993 * misc/getttyent.c: Likewise.
38994 * misc/mntent_r.c: Likewise.
38995 * posix/getopt.c: Likewise.
38996 * posix/wordexp.c: Likewise.
38997 * pwd/fgetpwent_r.c: Likewise.
38998 * resolv/Versions: Likewise.
38999 * resolv/res_hconf.c: Likewise.
39000 * shadow/fgetspent_r.c: Likewise.
39001 * shadow/putspent.c: Likewise.
39002 * stdio-common/printf_fphex.c: Likewise.
39003 * stdio-common/tmpfile.c: Likewise.
39004 * stdlib/abort.c: Likewise.
39005 * stdlib/fmtmsg.c: Likewise.
39006 * sunrpc/auth_unix.c: Likewise.
39007 * sunrpc/clnt_perr.c: Likewise.
39008 * sunrpc/clnt_tcp.c: Likewise.
39009 * sunrpc/clnt_udp.c: Likewise.
39010 * sunrpc/clnt_unix.c: Likewise.
39011 * sunrpc/openchild.c: Likewise.
39012 * sunrpc/svc_simple.c: Likewise.
39013 * sunrpc/svc_tcp.c: Likewise.
39014 * sunrpc/svc_udp.c: Likewise.
39015 * sunrpc/svc_unix.c: Likewise.
39016 * sunrpc/xdr.c: Likewise.
39017 * sunrpc/xdr_array.c: Likewise.
39018 * sunrpc/xdr_rec.c: Likewise.
39019 * sunrpc/xdr_ref.c: Likewise.
39020 * sunrpc/xdr_stdio.c: Likewise.
39022 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39024 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39026 2011-07-03 Andreas Jaeger <aj@suse.de>
39028 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39029 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39030 regenerate with gen-libm-tests.pl.
39032 2010-05-12 Petr Baudis <pasky@suse.cz>
39035 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39036 around j0() zero points by switching to j1().
39037 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39038 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39039 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39040 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39042 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39044 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39046 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39048 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39049 Patch in part by Pavel Roskin <proski@gnu.org>.
39052 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39054 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39055 Free memory block if necessary.
39058 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39059 be NULL. Don't lock in this case.
39061 2011-09-09 Roland McGrath <roland@hack.frob.com>
39063 * elf/elf.h (ELFOSABI_GNU): New macro.
39064 (ELFOSABI_LINUX): Define to that.
39066 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39068 * string/strncat.c (strncat): Undef the symbol in case it has been
39069 defined in bits/string.h.
39071 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39073 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39075 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39078 2011-08-17 Andreas Jaeger <aj@suse.de>
39080 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39082 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39083 Ian Lance Taylor <iant@google.com>
39085 * math/libm-test.inc (lround_test): New testcase.
39086 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39088 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39090 * Makefile: Remove support for automatic cvs check-ins.
39091 * Makerules: Likewise.
39092 * config.make.in: Likewise.
39093 * configure.in: Likewise.
39094 * intl/Makefile: Likewise.
39095 * locale/Makefile: Likewise.
39096 * po/Makefile: Likewise.
39097 * posix/Makefile: Likewise.
39098 * sysdeps/gnu/Makefile: Likewise.
39099 * sysdeps/mach/hurd/Makefile: Likewise.
39100 * sysdeps/sparc/sparc32/Makefile: Likewise.
39103 * posix/Makefile (bug-regex32-ENV): Define.
39104 Patch by John Stanley <jpsinthemix@verizon.net>.
39106 * misc/Makefile (headers): Add bits/select2.h.
39107 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39108 * misc/bits/select2.h: New file.
39109 * include/bits/select2.h: New file.
39110 * debug/Makefile (routines): Add fdelt_chk.
39111 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39112 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39114 * debug/fdelt_chk.c: New file.
39116 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39117 * wcsmbs/test-wmemcmp.c: Likewise.
39118 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39119 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39121 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39123 * string/Makefile (strop-tests): Add memcmp.
39124 * string/test-wmemcmp.c: New file.
39125 * string/test-memcmp.c: Add wmemcmp support.
39127 2011-09-08 Roland McGrath <roland@hack.frob.com>
39130 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39133 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39134 garbage value in a __mach_port_mod_refs call in the cases of the
39135 task-self and thread-self ports.
39137 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39139 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39141 2011-09-08 Andreas Schwab <schwab@redhat.com>
39143 * elf/dl-load.c (lose): Check for non-null L.
39145 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39147 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39149 * elf/dl-libc.c (dlerror_run): Pass back error code from
39153 * elf/dl-load.c (lose): Free l_origin if it is valid.
39155 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39157 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39158 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39159 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39160 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39161 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39162 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39164 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39166 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39167 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39168 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39169 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39170 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39171 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39172 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39173 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39174 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39175 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39177 2011-08-15 Alan Modra <amodra@gmail.com>
39180 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39181 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39182 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39183 ppc_mcount to static-only-routines.
39184 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39186 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39187 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39189 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39191 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39192 for finite and infinity parameters.
39194 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39196 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39197 and add nop instructions for throughput optimization.
39198 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39200 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39202 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39203 aligned copy for power7 with vector-scalar instructions.
39204 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39206 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39208 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39211 2011-09-07 Andreas Schwab <schwab@redhat.com>
39214 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39217 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39219 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39220 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39221 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39222 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39225 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39227 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39228 Forgot to demangle the pointer.
39230 * sysdeps/i386/sysdep.h: Define atom_text_section.
39231 * sysdeps/x86_64/sysdep.h: Likewise.
39232 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39233 section with atom_text_section.
39234 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39235 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39236 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39237 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39238 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39240 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39241 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39242 already be defined. Change to take two parameters and don't assign
39243 result to variable. Adjust all users.
39244 Define INTERNAL_GETTIME if not already defined.
39245 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39247 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39248 HAVE_CLOCK_GETTIME_VSYSCALL.
39249 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39251 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39252 gettimeofday vsyscall, just use time.
39254 2011-09-06 Andreas Schwab <schwab@redhat.com>
39256 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39259 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39261 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39263 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39265 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39266 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39267 syscall if possible.
39269 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39271 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39272 e_ident. Don't pass to find_mapsXX.
39273 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39275 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39277 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39278 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39279 * sysdeps/x86_64/multiarch/strchr.S: Update.
39280 Check bit_slow_BSF bit.
39281 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39282 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39283 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39285 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39288 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39290 (tryshell): Define.
39291 (__spawni): Change last parameter to be flag. Test
39292 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39293 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39294 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39295 * posix/spawni.c: Likewise.
39296 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39297 * posix/spawnp.c: Likewise. Change normal version to use
39298 SPAWN_XFLAGS_USE_PATH.
39299 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39300 SPAWN_XFLAGS_TRY_SHELL.
39303 * posix/glob.h: Remove gcc 1.x support.
39306 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39308 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39310 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39311 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39313 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39314 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39315 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39316 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39317 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39318 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39320 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39322 * sysdeps/x86_64/wcscmp.S: New file.
39324 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39325 wcscmp-c wcscmp-sse2
39326 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39327 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39328 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39329 * wcsmbs/wcscmp.c: Allow renaming.
39331 2011-09-05 David S. Miller <davem@davemloft.net>
39333 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39334 stack slot, rather than the struct return pointer slot.
39335 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39336 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39338 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39340 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39342 * po/ja.po: Update from translation team.
39345 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39346 kernel in 64-bit binaries.
39348 2011-09-01 David S. Miller <davem@davemloft.net>
39350 * elf/elf.h (HWCAP_SPARC_*): Move to..
39351 * sysdeps/sparc/sysdep.h: this new file and add new values.
39352 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39353 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39354 _DL_HWCAP_COUNT to 24.
39355 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39357 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39358 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39359 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39360 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39361 instead of magic constants.
39362 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39364 2011-08-31 David S. Miller <davem@davemloft.net>
39366 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39367 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39368 Reimplement to do errno handling inline.
39369 (SYSCALL_ERROR_HANDLER): New macro.
39370 (__SYSCALL_STRING): Do not do errno handling in asm.
39371 (__CLONE_SYSCALL_STRING): Delete.
39372 (__INTERNAL_SYSCALL_STRING): Delete.
39373 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39374 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39375 (PSEUDO): Reimplement to do errno handling inline.
39376 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39377 (SYSCALL_ERROR_HANDLER): New macro.
39378 (__SYSCALL_STRING): Do not do errno handling in asm.
39379 (__CLONE_SYSCALL_STRING): Delete.
39380 (__INTERNAL_SYSCALL_STRING): Delete.
39381 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39382 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39384 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39385 (inline_syscall*): Add 'err' argument.
39386 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39387 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39388 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39389 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39391 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39392 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39394 2011-08-30 Andreas Schwab <schwab@redhat.com>
39396 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39398 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39400 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39403 2011-08-24 David S. Miller <davem@davemloft.net>
39405 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39407 2011-08-24 Andreas Schwab <schwab@redhat.com>
39409 * elf/Makefile: Add rules to build and run unload8 test.
39410 * elf/unload8.c: New file.
39411 * elf/unload8mod1.c: New file.
39412 * elf/unload8mod1x.c: New file.
39413 * elf/unload8mod2.c: New file.
39414 * elf/unload8mod3.c: New file.
39416 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39419 2011-08-23 David S. Miller <davem@davemloft.net>
39421 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39422 subtract stack bias.
39423 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39424 %sp not %fp in calculations.
39425 (_JMPBUF_UNWINDS_ADJ): Likewise.
39427 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39428 (aio_suspend): Call it to force an exception region around the
39429 AIO_MISC_WAIT() invocation.
39431 2011-08-23 Andreas Schwab <schwab@redhat.com>
39433 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39436 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39438 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39440 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39441 and <dl-machine.h>.
39442 (Elf64_FuncDesc): Remove.
39444 2011-08-22 David S. Miller <davem@davemloft.net>
39446 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39447 sigaltstack check, add missing cfi directives.
39448 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39449 missing cfi directives, and sigaltstack handling.
39451 2011-08-16 Andreas Schwab <schwab@redhat.com>
39454 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39455 object is seen twice.
39456 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39458 * elf/Makefile (distribute): Add tst-initorder2.c.
39459 (tests): Add tst-initorder2.
39460 (modules-names): Add tst-initorder2a tst-initorder2b
39461 tst-initorder2c tst-initorder2d. Add rules to build them.
39462 ($(objpfx)tst-initorder2.out): New rule.
39463 * elf/tst-initorder2.c: New file.
39464 * elf/tst-initorder2.exp: New file.
39466 2011-08-22 Andreas Schwab <schwab@redhat.com>
39468 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39470 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39471 dependencies back to end of function.
39473 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39474 $(elfobjdir)/ld.so.
39476 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39478 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39479 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39480 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39481 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39482 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39483 of __vdso_gettimeofday.
39484 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39485 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39487 (_libc_vdso_platform_setup): Remove initialization of
39488 __vdso_gettimeofday and __vdso_time.
39490 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39492 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39493 and fgetc_unlocked.
39494 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39497 * elf/dl-open.c (add_to_global): Report additions to the global scope
39498 for LD_DEBUG=scopes.
39499 (dl_open_worker): Also print scope of newly loaded dependencies.
39500 (_dl_show_scope): Indicate if there is no scope.
39503 * stdio-common/Makefile (tests): Add bug24.
39504 * stdio-common/bug24.c: New file.
39506 2011-08-19 Andreas Jaeger <aj@suse.de>
39509 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39510 non-existant file when using close-on-exec mode.
39512 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39514 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39515 the very first instruction.
39517 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39518 the CFI state in the end.
39519 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39520 inclusion of dl-trampoline.h.
39521 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39523 2011-08-19 Andreas Schwab <schwab@redhat.com>
39525 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39526 expectations for long double.
39528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39529 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39531 2011-08-14 David S. Miller <davem@davemloft.net>
39533 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39534 artificual limit depends upon the system page size.
39536 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39538 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39539 * resolv/Makefile: Define CFLAGS-libresolv.
39541 2011-08-17 Andreas Schwab <schwab@redhat.com>
39543 * nss/makedb.c (compute_tables): Make variables used in nested
39546 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39548 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39549 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39550 if buffer was too small.
39552 * elf/pldd.c (main): Attach to all threads in the process.
39553 Rewrite /proc handling to use *at functions.
39555 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39557 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39558 specifies first scope to show.
39559 (dl_open_worker): Update callers. Move printing scope of new
39560 object to before the relocation.
39561 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39562 * sysdeps/generic/ldsodefs.h: Update declaration.
39564 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39565 string for the scope number.
39567 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39569 * nscd/servicescache.c (cache_addserv): Make sure written is always
39572 2011-08-14 Roland McGrath <roland@hack.frob.com>
39574 * sysdeps/i386/i486/bits/atomic.h
39575 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39576 statement expression, so as to suppress "set but not used" warning.
39577 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39579 * string/strncat.c (STRNCAT): Use prototype definition.
39581 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39582 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39584 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39585 (localedef-modules): Add localedef.
39586 (locale-modules): Add locale.
39588 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39589 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39590 to avoid a warning.
39592 2011-08-14 David S. Miller <davem@davemloft.net>
39594 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39595 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39597 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39599 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39600 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39601 * elf/rtld.c (dl_main): Set l_name of vDSO.
39602 Call _dl_show_scope when DL_DEBUG_SCOPES.
39603 (process_dl_debug): Recognize scopes flag and also set it for all.
39604 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39605 Declare _dl_show_scope.
39607 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39608 (do_dlopen): Pass caller_dlopen to dl_open.
39609 (__libc_dlopen_mode): Initialize caller_dlopen.
39611 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39612 of libc. Make tolower call locale-independent. Optimize a bit by
39613 using isdigit instead of isalnum.
39614 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39616 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39618 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39619 was a dependency or dynamically loaded.
39621 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39623 * intl/l10nflist.c: Allow architecture-specific pop function.
39624 * sysdeps/x86_64/l10nflist.c: New file.
39626 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39629 2011-08-10 Andreas Schwab <schwab@redhat.com>
39631 * include/dirent.h: Add libc_hidden_proto for scandirat and
39632 scandirat64. Don't declare __scandirat64.
39633 * dirent/scandirat.c: Add libc_hidden_def.
39634 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39635 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39637 2011-08-10 David S. Miller <davem@davemloft.net>
39639 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39641 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39642 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39643 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39645 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39647 * Versions.def [libc]: Add GLIBC_2.15.
39648 * dirent/Makefile (routines): Add scandirat and scandirat64.
39649 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39651 * dirent/dirent.h: Declare scandirat and scandirat64.
39652 * dirent/scandirat.c: New file.
39653 * dirent/scandirat64.c: New file.
39654 * sysdeps/wordsize-64/scandirat.c: New file.
39655 * sysdeps/wordsize-64/scandirat64.c: New file.
39656 * dirent/opendir.c: Define opendirat.
39657 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39659 * dirent/scandir64.c: Adjust for scandir.c change.
39660 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39661 __scandirat64, and __scandir_cancel_handler.
39662 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39663 additional parameter and use openat instead of open (outside of ld.so).
39664 Add new __opendir as wrapper around __opendirat.
39665 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39666 here without requiring old scandirat implementation.
39668 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39670 * dirent/scandir.c (cancel_handler): Renamed to
39671 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39672 defined. Adjust users.
39673 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39674 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39676 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39678 * string/test-string.h (IMPL): Use __STRING to expand name and then
39681 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39684 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39686 * string/Makefile: Update.
39687 (strop-tests): Append strncat.
39688 * string/test-wcscmp.c: New file.
39689 New comprehensive test for wcscmp.
39690 * string/test-strcmp.c: Update.
39691 (WIDE): New define.
39693 2011-07-22 Andreas Schwab <schwab@redhat.com>
39695 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39698 2011-07-26 Andreas Schwab <schwab@redhat.com>
39700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39701 encoding to ACE if AI_IDN.
39703 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39705 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39706 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39708 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39710 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39711 Fix overflow bug in strncat.
39712 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39714 * string/test-strncat.c: Update.
39715 Add new tests for checking overflow bugs.
39717 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39719 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39720 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39721 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39722 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39723 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39724 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39725 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39726 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39727 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39729 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39730 (USE_AS_STRCAT): Define.
39731 Add strcat and strncat support.
39732 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39734 2011-07-25 Andreas Schwab <schwab@redhat.com>
39736 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39737 __n bigger than INT_MAX+1.
39738 (__strncmp_g): Likewise.
39740 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39742 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39743 * libio/stido.h: Likewise.
39745 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39747 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39750 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39751 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39752 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39753 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39754 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39757 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39760 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39762 (_dl_x86_64_save_sse): Likewise.
39764 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39766 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39768 (_dl_x86_64_save_sse): Likewise.
39770 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39772 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39774 2011-07-21 Andreas Schwab <schwab@redhat.com>
39776 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39778 (_dl_x86_64_save_sse): Use correct AVX check.
39780 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39782 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39783 bug in strncpy/strncat.
39784 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39786 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39788 * string/tester.c (test_strcat): Add tests for different alignments
39789 of source and destination.
39790 (test_strncat): Likewise.
39792 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39795 * posix/glob.c (glob): Check passed in values before using them in
39796 expressions to avoid some overflows.
39797 (glob_in_dir): Likewise.
39800 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39801 check for AVX enablement so that we don't crash with old kernels and
39803 * elf/tst-audit4.c: Add same checks here.
39804 * elf/tst-audit6.c: Likewise.
39806 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39808 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39810 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39812 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39814 * po/cs.po: Update from translation team.
39815 * po/bg.po: Likewise.
39817 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39819 * misc/sys/cdefs.h: Add support for const attribute.
39820 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39821 to gnu_dev_{major,minor,makedev} functions.
39823 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39825 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39827 2011-07-20 Andreas Schwab <schwab@redhat.com>
39829 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39832 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39834 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39835 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39836 register in order to avoid conflicts with the soft frame pointer
39837 being held in r11 when necessary.
39838 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39839 (INTERNAL_VSYSCALL_NCS): Likewise.
39841 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39843 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39844 * elf/dl-fini.c (_dl_fini): Adjust caller.
39845 * elf/dl-close.c (_dl_close_worker): Likewise.
39846 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39848 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39850 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39851 "aux_cache->nlibs < 0".
39853 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39854 in the reload-count case.
39856 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39859 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39860 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39861 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39862 * sysdeps/x86_64/multiarch/strcat.S: New file.
39863 * sysdeps/x86_64/multiarch/strncat.S: New file.
39864 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39865 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39866 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39867 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39868 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39869 (USE_AS_STRCAT): Define.
39870 Add strcat and strncat support.
39871 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39872 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39873 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39874 * string/strncat.c: Update.
39875 (USE_AS_STRNCAT): Define.
39876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39877 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39879 * sysdeps/x86_64/multiarch/init-arch.h
39880 (bit_Prefer_PMINUB_for_stringop): New.
39881 (index_Prefer_PMINUB_for_stringop): Likewise.
39882 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39883 bit_Prefer_PMINUB_for_stringop.
39885 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39887 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39889 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39890 of casting of buffer.
39891 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39892 buffer32 and buffer64.
39893 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39894 writes instead of casting of buffer.
39895 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39897 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39900 2011-07-19 Andreas Schwab <schwab@redhat.com>
39902 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39904 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39906 * nscd/nscd.c (termination_handler): Don't do anything for a database
39907 if it has not yet been initialized.
39909 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39911 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39913 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39915 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39917 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39919 * po/nl.po: Update from translation team.
39920 * po/sv.po: Likewise.
39922 2011-07-16 Roland McGrath <roland@hack.frob.com>
39924 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39925 now disallowed by GCC.
39927 * configure.in (use-default-link): Default to yes if a test -shared
39928 link meets our qualifications.
39929 * configure: Regenerated.
39931 * config.make.in (output-format): New variable.
39932 * configure.in: Check for ld --print-output-format support.
39933 * configure: Regenerated.
39934 * Makerules ($(common-objpfx)format.lds)
39935 [$(output-format) != unknown]: Just use $(output-format),
39936 instead of the linker-script munging.
39938 2011-07-14 Roland McGrath <roland@hack.frob.com>
39940 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39941 of $(common-objpfx)shlib.lds.
39942 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39944 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39945 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39947 * configure.in (-z relro check): Adjust test code to add a large
39948 writable data section after it.
39949 * configure: Regenerated.
39951 2011-07-11 Roland McGrath <roland@hack.frob.com>
39953 * configure.in (-z relro check): Fix test code to make the variable
39955 * configure: Regenerated.
39957 2011-07-11 Ulrich Drepper <drepper@gmail.com>
39959 * nscd/nscd.h (struct traced_file): Define.
39960 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39961 elements. Add traced_files.
39962 (inotify_fd): Declare.
39963 (register_traced_file): Declare.
39964 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39965 (inotify_fd): Export.
39966 (resolv_conf_descr): Remove.
39967 (nscd_init): Move inotify descriptor creation to main.
39968 Don't register files for notification here.
39969 (register_traced_file): New function.
39970 (invalidate_cache): Don't use reset_res to determine whether to call
39971 res_init, go through the list of registered files.
39972 (main_loop_poll): The inotify descriptors are now stored in the
39973 structures for the traced files.
39974 (main_loop_epoll): Likewise
39975 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39976 to __nss_disable_nscd.
39977 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39978 for a database anymore. Check the records for all the registered
39980 * nss/Makefile (libnss_files-routines): Add files-init.
39981 (libnss_db-routines): Add db-init.
39982 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39983 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39984 * nss/nss_db/db-init.c: New file.
39985 * nss/nss_files/files-init.c: New file.
39986 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39987 __nss_lookup_function.
39988 (__nss_lookup_function): Call nss_load_library.
39989 (nss_load_all_libraries): New function.
39990 (__nss_disable_nscd): Take parameter with callback function for files
39991 to register. Set is_nscd. Load all the DSOs for the NSS modules
39992 used for the cached services.
39993 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39994 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39995 options for features to all the files in nscd.
39997 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39999 2011-07-10 Roland McGrath <roland@hack.frob.com>
40001 * csu/elf-init.c (__libc_csu_init): Comment typo.
40003 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40005 * po/pl.po: Update from translation team.
40006 * po/ja.po: Likewise.
40007 * po/ru.po: Likewise.
40008 * po/ko.po: Likewise.
40009 * po/fr.po: Likewise.
40011 2011-07-09 Roland McGrath <roland@hack.frob.com>
40013 * configure.in (.ctors/.dtors header and trailer check):
40014 Use an empirical test on a built program.
40015 * configure: Regenerated.
40017 * configure.in (-z relro check): Use an empirical test on a built DSO.
40018 Detect, but do not require, on ia64.
40019 * configure: Regenerated.
40021 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40022 Update tests that use readelf to use $READELF instead.
40023 * configure: Regenerated.
40025 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40027 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40028 if the result is not used.
40030 2011-07-05 Andreas Jaeger <aj@suse.de>
40033 * stdlib/tst-strtod.c: Add testcase.
40035 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40037 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40038 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40039 The latter has a higher limit. Take additional parameter to pass to
40041 (__pathconf): Pass file to __statfs_link_max.
40042 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40044 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40048 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40049 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40051 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40052 (__statfs_filesize_max): Likewise.
40053 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40055 2011-07-05 Andreas Jaeger <aj@suse.de>
40057 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40059 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40061 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40063 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40066 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40068 * Makefile (strop-tests): Add strncat.
40069 * string/test-strncat.c: New file.
40071 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40073 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40075 2011-06-21 Andreas Jaeger <aj@suse.de>
40077 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40078 Copy rule from iconvdata/Makefile.
40080 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40083 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40084 but no long options are defined, just return 'W'.
40086 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40089 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40091 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40093 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40095 (innetgr): Likewise.
40097 2011-07-05 Roland McGrath <roland@hack.frob.com>
40099 * config.make.in (install_root): Default to $(DESTDIR).
40101 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40103 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40105 2011-07-02 Roland McGrath <roland@hack.frob.com>
40107 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40109 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40110 containing directory rather than embedding absolute directory names.
40112 * scripts/check-local-headers.sh: Rewritten using awk.
40113 Match by word, not by line. Print error messages for matches.
40114 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40116 * Makerules [shlib-lds-flags empty]:
40117 ($(common-objpfx)libc_pic.opts): New target.
40118 ($(common-objpfx)libc_pic.os.clean): New target.
40119 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40121 * config.make.in (OBJCOPY): New variable.
40122 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40123 * configure: Regenerated.
40125 * config.make.in (use-default-link): New variable.
40126 * configure.in (use_default_link): Grok --with-default-link to set it.
40127 * configure: Regenerated.
40128 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40129 (shlib-lds, shlib-lds-flags): Define to empty.
40131 * Makerules (shlib-lds): New variable.
40132 (shlib-lds-flags): New variable.
40133 (build-shlib, build-moduile, build-module-asneeded): Use it.
40134 ($(common-objpfx)libc.so): Use $(shlib-lds).
40135 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40136 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40138 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40139 DT_FLAGS/DT_FLAGS_1 with zero flags.
40141 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40142 linker script munging.
40144 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40146 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40148 * crypt/sha512.c (sha512_process_block): Perform total addition using
40149 128-bit if possible.
40150 (__sha512_finish_ctx): Likewise.
40151 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40153 * crypt/sha256.c (SWAP64): Define.
40154 (sha256_process_block): Perform total addition using 64-bit if
40156 (__sha256_finish_ctx): Likewise.
40158 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40160 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40161 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40162 * nscd/hstcache.c (cache_addhst): Likewise.
40163 * nscd/grpcache.c (cache_addgr): Likewise.
40164 * nscd/aicache.c (addhstaiX): Likewise
40165 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40167 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40169 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40170 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40171 * nscd/hstcache.c (cache_addhst): Likewise.
40172 * nscd/grpcache.c (cache_addgr): Likewise.
40173 * nscd/aicache.c (addhstaiX): Likewise
40175 2011-07-01 Andreas Schwab <schwab@redhat.com>
40177 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40178 domain only when needed.
40180 2011-06-30 Andreas Schwab <schwab@redhat.com>
40182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40183 is always restored.
40185 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40187 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40188 are re-adding the entry.
40189 * nscd/servicescache.c (cache_addserv): Likewise.
40191 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40193 * sysdeps/generic/dl-irel.h: fix protection against multiple
40195 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40197 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40200 * malloc/memusage.sh: Fix quoting in message.
40201 * debug/xtrace.sh: Likewise.
40203 * configure.in: Remove support for --experimental-malloc option, make
40205 * config.make.in: Likewise.
40206 * malloc/Makefile: Likewise.
40208 2011-06-27 Andreas Schwab <schwab@redhat.com>
40210 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40211 two-byte characters.
40213 2011-06-27 Roland McGrath <roland@hack.frob.com>
40215 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40216 AC_CACHE_CHECK invocation.
40217 * configure: Regenerated.
40219 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40221 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40224 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40225 bit from old_res_options.
40227 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40229 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40230 value type for setfct.
40232 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40234 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40235 __gettimeofday instead of gettimeofday.
40237 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40239 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40241 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40243 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40245 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40248 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40250 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40251 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40252 strcpy-sse2-unaligned strncpy-sse2-unaligned
40253 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40254 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40255 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40256 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40257 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40258 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40259 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40260 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40261 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40262 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40263 (STRCPY): Support SSE2 and SSSE3 versions.
40265 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40268 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40269 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40270 kernels which artificially limit size of requests.
40272 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40274 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40275 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40276 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40277 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40278 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40279 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40280 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40281 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40282 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40283 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40284 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40285 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40286 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40287 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40288 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40290 Enable unaligned load optimization for Intel Core i3, i5 and i7
40292 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40294 (index_Fast_Unaligned_Load): Define.
40295 (HAS_FAST_UNALIGNED_LOAD): Define.
40297 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40299 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40301 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40304 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40305 until it is clear that the information is realy needed.
40306 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40308 2011-06-22 Andreas Schwab <schwab@redhat.com>
40310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40312 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40314 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40315 /sys/devices/system/cpu/online if it is usable.
40317 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40318 reading the information from the /proc filesystem to once a second.
40320 2011-06-21 Andreas Jaeger <aj@suse.de>
40322 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40323 NULL after inclusion of kernel headers.
40325 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40327 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40328 calls to internal_setent.
40331 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40332 addresses using gethostbyname4_r ignore IPv4 addresses.
40334 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40335 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40337 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40339 2011-06-20 David S. Miller <davem@davemloft.net>
40341 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40343 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40345 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40346 (elf_irel): Use it.
40347 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40348 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40349 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40350 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40351 * sysdeps/x86_64/dl-irel.h: Likewise.
40353 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40354 * elf/dl-sym.c: Likewise.
40356 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40358 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40359 need to dereference resplen2.
40361 2011-06-14 Andreas Schwab <schwab@redhat.com>
40363 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40365 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40367 * Makeconfig: Define vardbdir and inst_vardbdir.
40368 * nss/Makefile: Add rules to install db-Makefile.
40370 * nss/nss_db/db-XXX.c: Cleanup.
40372 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40373 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40375 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40376 * nss/makedb.c: Implement -g option to specify that value strings
40377 are generated and should not be added to table iterated over for
40379 * nss/nss_db/db-initgroups.c: New file.
40381 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40384 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40385 (internal_getgrouplist): Adjust to name change.
40386 Update use_initgroups_entry if this is not the first call.
40387 * nss/databases.def: Add initgroups entry.
40389 * nss/makedb.c (compute_tables): Check result of multiple hash table
40390 sizes to minimize maximum chain length.
40392 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40394 * Versions.def: Add entry for libnss_db.
40395 * shlib-versions: Likewise.
40396 * nss/Makefile: Add rules to build libnss_db.
40397 * nss/Versions: Add libnss_db information. Organize libnss_files
40399 * nss/db-Makefile: Add gshadow support. Change rules for the new
40400 makedb progra. Some minor improvements to generate smaller files.
40401 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40403 * nss/makedb.c: ...here.
40404 Improve database format to be smaller and require less memory at
40406 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40408 * nss/nss_db/db-netgrp.c: Likewise.
40409 * nss/nss_db/db-open.c: Likewise.
40410 * nss/nss_files/flies-XXX.x: Adjust comments.
40411 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40412 * nss/nss_files/files-grp.c: Likewise.
40413 * nss/nss_files/files-hosts.c: Likewise.
40414 * nss/nss_files/files-network.c: Likewise.
40415 * nss/nss_files/files-proto.c: Likewise.
40416 * nss/nss_files/files-pwd.c: Likewise.
40417 * nss/nss_files/files-rpc.c: Likewise.
40418 * nss/nss_files/files-service.c: Likewise.
40419 * nss/nss_files/files-sgrp.c: Likewise.
40420 * nss/nss_files/files-spwd.c: Likewise.
40421 * nss/nss_db/db-alias.c: Removed.
40422 * nss/nss_db/dummy-db.h: Removed.
40424 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40426 * nss/makedb.c: Rewritten to not use database library.
40427 * nss/Makefile: Update to build new makedb program.
40429 2011-06-14 Andreas Jaeger <aj@suse.de>
40431 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40432 memset declaration.
40434 2011-06-10 Andreas Schwab <schwab@redhat.com>
40436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40439 2011-06-10 Roland McGrath <roland@hack.frob.com>
40441 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40442 * elf/Makefile ($(objpfx)ld.so): Likewise.
40444 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40445 Don't list ld.so twice in dependencies.
40447 * posix/bug-regex31.c: Include <stdlib.h>.
40449 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40451 * nis/nss_compat/compat-spwd.c
40452 (getspent_next_nss_netgr): Remove unused variable.
40453 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40455 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40456 nonmembers" output to use the right array.
40458 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40460 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40462 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40463 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40464 * catgets/gencat.c (read_input_file): Likewise.
40465 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40467 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40468 variable definition inside #if's controlling its use.
40470 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40472 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40474 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40476 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40479 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40481 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40482 * configure: Regenerated.
40484 * Makerules: Revert last change.
40485 * elf/Makefile: Likewise.
40487 2011-06-09 Roland McGrath <roland@hack.frob.com>
40489 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40490 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40491 (reloc-link): Likewise.
40493 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40495 * elf/Makefile: Add rules to build pldd.
40496 * elf/pldd.c: New file.
40497 * elf/pldd-xx.c: New file.
40499 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40501 * version.h: Update for 2.15 development version.
40503 2011-06-07 David S. Miller <davem@davemloft.net>
40505 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40507 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40508 elf_machine_lazy_rel): Likewise.
40509 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40510 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40511 elf_machine_lazy_rel): Likewise.
40512 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40513 dl_hwcap via passed in argument.
40514 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40517 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40519 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40521 2011-06-06 Roland McGrath <roland@hack.frob.com>
40524 * manual/fdl-1.1.texi: New file, verbatim from:
40525 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40526 * manual/lgpl-2.1.texi: New file, verbatim from:
40527 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40528 * manual/Makefile (licenses): New variable, list those new file names.
40530 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40532 * manual/fdl.texi: File removed.
40533 * manual/lesser.texi: File removed.
40534 * manual/libc.texinfo (Copying, Documentation License):
40535 Use new @include file names, put @appendix directive before @include.
40537 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40540 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40541 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40542 (mq_open): Add __NTH.
40544 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40547 Assume Intel Core i3/i5/i7 processor if AVX is available.
40549 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40554 2011-05-31 Andreas Schwab <schwab@redhat.com>
40556 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40557 memory. Use alloca_account. Fix memory leak when retrying.
40559 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40561 * version.h (RELEASE): Bump for 2.14 release.
40562 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40564 * config.make.in (RANLIB): Remove entry.
40566 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40568 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40569 (libc.pot): Work around missing support for .ksh extension in xgettext.
40572 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40573 if both request failed.
40574 (send_dg): In case of server errors clear resplen or *resplen2.
40577 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40578 when there are multiple maps.
40579 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40580 (_dl_fini): Remove test here.
40582 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40584 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40587 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40588 bit from old_res_options.
40589 (gaih_inet): Likewise.
40592 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40595 * resolv/res_init.c (res_setoptions): Make the code more compact.
40598 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40602 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40604 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40607 * malloc/malloc.h: Declare malloc hook variables as volatile.
40609 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40613 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40614 raise in the comment.
40615 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40616 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40617 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40619 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40622 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40623 grow the buffers more if it already has to be sufficient.
40624 (build_wcs_upper_buffer): Likewise.
40625 * posix/regexec.c (check_matching): Likewise.
40626 (clean_state_log_if_needed): Likewise.
40627 (extend_buffers): Don't enlarge buffers beyond size of the input
40629 Patches mostly by Emil Wojak <emil@wojak.eu>.
40630 * posix/bug-regex32.c: New file.
40631 * posix/Makefile (tests): Add bug-regex32.
40633 * locale/findlocale.c (_nl_find_locale): Return right away if
40634 _nl_explode_name failed.
40635 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40637 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40639 * debug/xtrace.sh: Unify messages.
40640 * malloc/memusage.sh: Likewise.
40643 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40644 time symbol from vDSO. Substitute with vsyscall if not available.
40645 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40648 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40649 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40650 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40651 Add sendmmsg and internal_sendmmsg.
40652 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40653 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40654 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40656 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40657 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40658 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40660 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40663 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40664 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40666 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40670 * iconvdata/Makefile (tests): Add bug-iconv9.
40671 * iconvdata/bug-iconv9.c: New file.
40673 2011-05-27 Andreas Schwab <schwab@redhat.com>
40676 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40678 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40680 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40681 (struct user_regs_struct): Change intcs field back to cs.
40683 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40685 * po/ja.po: Update from translation team.
40687 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40690 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40691 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40693 2011-05-20 Andreas Schwab <schwab@redhat.com>
40695 * stdlib/longlong.h: Update from GCC.
40697 2011-05-23 Andreas Schwab <schwab@redhat.com>
40699 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40701 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40702 Add parameter name.
40703 (__sysconf): Pass it down.
40705 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40708 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40710 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40711 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40712 add in in __libc_use_alloca calls. Adjust callers.
40713 (glob): Use malloc in some situations.
40715 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40716 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40719 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40721 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40722 and CLOCK_BOOTTIME_ALARM.
40725 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40728 * string/_strerror.c (__strerror_r): Print negative errors as signed
40732 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40733 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40734 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40736 * configure.in: Fix typo in redirection and correct removal of test
40737 files in two cases.
40740 * locale/setlocale.c (new_composite_name): Fix test to check for
40741 identical name of all categories.
40744 * libio/filedoalloc.c (local_isatty): New function.
40745 (_IO_file_doallocate): Use local_isatty.
40746 * stdio-common/perror.c (perror): In case a new stream is used
40747 forward the stream error.
40748 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40751 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40756 * include/alloca.h (extend_alloca_account): Define.
40759 * posix/regex.h: Fix comments with documentation of user-accessible
40760 fields after compilation and describe correct free'ing of pattern
40761 after re_compile_pattern.
40762 Patch by Reuben Thomas <rrt@sc3d.org>.
40764 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40766 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40767 and -mno-altivec to prevent the compiler from using Altivec and/or
40768 VSX instructions when the corresponding registers are not available.
40770 2011-05-19 Andreas Schwab <schwab@redhat.com>
40772 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40774 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40776 * libio/freopen.c (freopen): Use __dup2, not dup2.
40777 * libio/freopen64.c (freopen64): Likewise.
40779 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40782 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40783 * math/Makefile (tests): Add test-powl.
40784 (CFLAGS-test-powl.c): Define.
40785 * math/test-powl.c: New file.
40787 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40789 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40791 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40794 * iconvdata/gb18030.c: Update to GB18020-2005.
40796 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40798 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40799 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40800 Patch by Aharon Robbins <arnold@skeeve.com>.
40803 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40807 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40808 through underflows.
40811 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40812 point to strings before performing equality test for error_one_per_line
40816 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40819 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40820 (struct user_fpregs_struct): Avoid __uint*_t types.
40823 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40824 symbol info. Use it instead of calling _dl_addr locally.
40825 (lock_and_info): New function.
40826 (tr_freehook): Call lock_and_info and pass symbol info as additional
40827 parameter to tr_where.
40828 (tr_mallochook): Likewise.
40829 (tr_reallochook): Likewise.
40830 (tr_memalignhook): Likewise.
40832 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40833 used and couldn't be at all thread-safe.
40835 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40837 * libio/freopen.c (freopen): Don't close old file descriptor
40838 before the new one is opened. Instead dup the new file descriptor
40839 to the old one after the new stream is created.
40840 * libio/freopen64.c (freopen64): Likewise.
40841 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40842 * libio/fileops.c (_IO_new_file_close_it): Handle new
40843 _IO_FLAGS2_NOCLOSE flag.
40844 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40845 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40846 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40847 _IO_FLAGS2_NOCLOSE flag.
40848 * include/unistd.h: Add hidden_proto for dup3.
40849 Define __have_dup3.
40850 * io/dup3.c: Define hidden symbol.
40851 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40854 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40855 when an incomplete long option is used.
40856 * posix/tst-getopt_long1.c: New file.
40857 * posix/Makefile (tests): Add tst-getopt_long1.
40860 * scripts/config.guess: Update from autoconf-2.68.
40861 * scripts/config.sub: Likewise.
40864 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40866 (has_cpuclock): ...this. New function.
40867 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40868 macro here based on has_cpuclock code.
40871 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40872 First byte (not low byte) is now always NUL.
40873 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40875 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40876 Use non-cancelable interfaces.
40879 * locale/iso-639.def: Add entry for Sorani.
40882 * include/stdlib.h: Move include protection to the right place.
40883 Define abort_msg_s. Declare __abort_msg with it.
40884 * stdlib/abort.c (__abort_msg): Adjust type.
40885 * assert/assert.c (__assert_fail_base): New function. Majority
40886 of code from __assert_fail. Allocate memory for __abort_msg with
40888 (__assert_fail): Now call __assert_fail_base.
40889 * assert/assert-perr.c: Remove bulk of implementation. Use
40890 __assert_fail_base.
40891 * include/assert.hL Declare __assert_fail_base.
40892 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40894 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40896 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40900 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40901 until all modules are registered in the DTV.
40902 * elf/Makefile: Add rules to build and run tst-tls19.
40903 * elf/tst-tls19.c: New file.
40904 * elf/tst-tls19mod1.c: New file.
40905 * elf/tst-tls19mod2.c: New file.
40906 * elf/tst-tls19mod3.c: New file.
40907 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40910 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40914 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40915 two-byte sequence errors.
40916 * iconvdata/Makefile (tests): Add bug-iconv8.
40917 * iconvdata/bug-iconv8.c: New file.
40920 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40923 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40926 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40927 (dummy_getcfa): New function.
40928 (init): Get _Unwind_GetCFA address, use dummy if not found.
40929 (backtrace_helper): In recursion check, also check whether CFA changes.
40930 (__backtrace): Completely initialize arg.
40932 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40933 storing incomplete byte sequence in state object. Avoid testing for
40934 guaranteed too small input if we know there is enough data available.
40936 2011-05-11 Andreas Schwab <schwab@redhat.com>
40938 * Makeconfig (+link-pie): Indent.
40939 * Rules (binaries-pie): Define if $(have-fpie) and
40941 (binaries-shared): Also filter out $(binaries-pie).
40942 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40943 * nscd/Makefile (others-pie): Add nscd.
40944 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40945 ($(objpfx)nscd): Remove command override.
40946 * login/Makefile (others-pie): Add pt_chown.
40947 ($(objpfx)pt_chown): Remove command override.
40948 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40949 remove command overrides.
40951 2011-05-13 Ulrich Drepper <drepper@gmail.com>
40953 * libio/tst_putwc.c: Fix error messages.
40956 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40957 currently writing and seek to current position when not.
40958 * libio/Makefile (tests): Add bug-fclose1.
40959 * libio/bug-fclose1.c: New file.
40961 2011-05-12 Ulrich Drepper <drepper@gmail.com>
40964 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40965 don't set DF_1_NODELETE here.
40966 (do_lookup_x): When entering new entry test for copy relocation
40967 and if necessary set DF_1_NODELETE flag.
40968 * elf/tst-unique4.cc: New file.
40969 * elf/tst-unique4.h: New file.
40970 * elf/tst-unique4lib.cc: New file.
40971 * elf/Makefile: Add rules to build and run tst-unique4.
40972 Patch by Piotr Bury <pbury@goahead.com>.
40974 2011-05-11 Ulrich Drepper <drepper@gmail.com>
40977 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40980 * misc/mntent_r.c (addmntent): Flush the stream after the output
40983 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40984 (is_trusted_path_normalize): Skip initial colon. Append slash
40985 to empty buffer. Duplicate is_trusted_path code but allow
40986 constructed patch to be prefix.
40987 (is_dst): Allow $ORIGIN followed by /.
40988 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40989 Correct testing of result of is_trusted_path_normalize
40990 (decompose_rpath): Fix warning.
40992 2011-05-10 Ulrich Drepper <drepper@gmail.com>
40995 * grp/initgroups.c (internal_getgrouplist): When we found the service
40996 list through the initgroups entry in nsswitch.conf do not always
40997 continue on a successful lookup. Don't always use the
40998 __nss_group_database value if it is set.
40999 * nss/nsswitch.conf (initgroups): Change action for successful db
41000 lookup to continue for compatibility.
41002 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41005 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41007 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41009 * iconvdata/tst-tables.sh: Likewise.
41010 * iconvdata/cp770.c: New file.
41011 * iconvdata/cp771.c: New file.
41012 * iconvdata/cp772.c: New file.
41013 * iconvdata/cp773.c: New file.
41014 * iconvdata/cp774.c: New file.
41015 * iconvdata/testdata/CP770: New file.
41016 * iconvdata/testdata/CP770..UTF8: New file.
41017 * iconvdata/testdata/CP771: New file.
41018 * iconvdata/testdata/CP771..UTF8: New file.
41019 * iconvdata/testdata/CP772: New file.
41020 * iconvdata/testdata/CP772..UTF8: New file.
41021 * iconvdata/testdata/CP773: New file.
41022 * iconvdata/testdata/CP773..UTF8: New file.
41023 * iconvdata/testdata/CP774: New file.
41024 * iconvdata/testdata/CP774..UTF8: New file.
41026 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41028 * iconvdata/gen-8bit-gap.sh: Likewise.
41029 * iconvdata/gen-8bit.sh: Likewise.
41031 * locale/iso-639.def: Add ary entry.
41034 * locale/C-translit.h.in: Add U20A1 transliteration.
41037 * locale/iso-639.def: Add wae entry.
41038 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41041 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41045 * locale/C-translit.h.in: Add entry for U20B9.
41046 Patch by pravin.d.s@gmail.com.
41048 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41051 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41052 ENAMETOOLONG use generic getcwd.
41053 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41054 in rtld. Use *stat64.
41055 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41056 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41057 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41058 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41059 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41060 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41061 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41062 __fstatat64 macros.
41063 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41064 * dirent/rewinddir.c: Add libc_hidden_def.
41065 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41066 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41068 * include/dirent.h (__alloc_dir): Add flags parameter.
41069 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41070 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41072 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41073 from fdopendir if O_CLOEXEC is already set.
41075 2011-03-15 Alan Modra <amodra@gmail.com>
41077 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41078 l_tls_firstbyte_offset non-zero. Save padding offset in
41079 l_tls_firstbyte_offset for later use.
41080 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41081 freeing static tls block.
41083 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41085 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41086 where #ifdef was intended. The intent is to prevent ARG_MAX from
41087 being defined by the kernel headers.
41089 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41092 * resolv/resolv.h: Define RES_NOTLDQUERY.
41093 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41094 no-tld-query and set RES_NOTLDQUERY.
41095 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41096 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41097 modern BIND to search name as TLD unless forbidden.
41099 2011-05-07 Petr Baudis <pasky@suse.cz>
41100 Ulrich Drepper <drepper@gmail.com>
41103 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41104 (is_trusted_path): ...to here.
41105 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41106 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41107 using is_trusted_path_normalize() in setuid scripts.
41109 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41111 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41112 __BEGIN/__END_DECLS.
41114 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41116 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41117 NSS_STATUS_NOTFOUND if no record was found.
41119 2011-05-05 Andreas Schwab <schwab@redhat.com>
41121 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41122 (headers-not-in-tirpc): Remove rpc/netdb.h
41123 * resolv/netdb.h: Revert last change.
41125 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41127 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41128 circular dependency between libgcc.a and libc.a.
41130 2011-05-05 Andreas Schwab <schwab@redhat.com>
41132 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41133 * nis/Makefile: Don't install rpcsvc/*.
41134 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41135 instead of <rpc/types.h>.
41136 (MAXHOSTNAMELEN): Define.
41138 2011-05-03 Andreas Schwab <schwab@redhat.com>
41140 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41142 2011-04-28 Maciej Babinski <mbabinski@google.com>
41145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41146 gethostbyname4_r when IPv6 results are possible.
41148 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41151 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41152 _PC_PIPE_BUF handling.
41154 2011-04-30 Bruno Haible <bruno@clisp.org>
41157 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41158 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41160 * inet/getnameinfo.c (getnameinfo): Likewise.
41162 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41164 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41165 to groups setting in database lookup.
41166 * nss/nsswitch.conf: Add initgroups entry.
41168 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41171 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41173 Patch by Eric Blake <eblake@redhat.com>.
41175 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41177 * sunrpc/Makefile (need-export-routines): Add svc_run.
41178 (routines): Remove svc_run.
41179 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41180 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41181 * sunrpc/svc_run.c (svc_run): Likewise.
41182 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41184 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41186 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41187 problem in reallocation in last patch.
41189 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41191 * sunrpc/Makefile: Move inclusion of Rules.
41193 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41195 * nss/nss_files/files-initgroups.c: New file.
41196 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41197 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41198 _nss_files_initgroups_dyn.
41200 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41202 * elf/elf.h (R_ARM_IRELATIVE): Define.
41204 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41206 * po/ru.po: Update from translation team.
41208 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41210 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41213 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41216 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41217 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41218 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41219 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41220 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41222 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41224 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41226 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41227 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41228 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41230 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41233 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41235 * stdlib/bug-getcontext.c: New file.
41236 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41238 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41240 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41241 instructions into .machine "z9-109".
41242 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41243 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41245 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41247 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41248 between environment variables and auxiliary vector.
41250 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41252 * Makefile: Add rules to build linkobj/libc.so.
41253 * include/libc-symbols.h: Define libc_hidden_nolink.
41254 * include/rpc/auth.h: Mark functions which are to be hidden.
41255 * include/rpc/auth_des.h: Likewise.
41256 * include/rpc/auth_unix.h: Likewise.
41257 * include/rpc/clnt.h: Likewise.
41258 * include/rpc/des_crypt.h: Likewise.
41259 * include/rpc/key_prot.h: Likewise.
41260 * include/rpc/pmap_clnt.h: Likewise.
41261 * include/rpc/pmap_prot.h: Likewise.
41262 * include/rpc/pmap_rmt.h: Likewise.
41263 * include/rpc/rpc_msg.h: Likewise.
41264 * include/rpc/svc.h: Likewise.
41265 * include/rpc/svc_auth.h: Likewise.
41266 * include/rpc/xdr.h: Likewise.
41267 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41268 * nss/Makefile: Likewise.
41269 * sunrpc/Makefile: Don't install headers. Build library with normal
41270 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41271 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41272 for the compat linking library. Remove use of INTDEF/INTUSE.
41273 * sunrpc/auth_none.c: Likewise.
41274 * sunrpc/auth_unix.c: Likewise.
41275 * sunrpc/authdes_prot.c: Likewise.
41276 * sunrpc/authuxprot.c: Likewise.
41277 * sunrpc/clnt_gen.c: Likewise.
41278 * sunrpc/clnt_perr.c: Likewise.
41279 * sunrpc/clnt_raw.c: Likewise.
41280 * sunrpc/clnt_simp.c: Likewise.
41281 * sunrpc/clnt_tcp.c: Likewise.
41282 * sunrpc/clnt_udp.c: Likewise.
41283 * sunrpc/clnt_unix.c: Likewise.
41284 * sunrpc/des_crypt.c: Likewise.
41285 * sunrpc/des_soft.c: Likewise.
41286 * sunrpc/get_myaddr.c: Likewise.
41287 * sunrpc/key_call.c: Likewise.
41288 * sunrpc/key_prot.c: Likewise.
41289 * sunrpc/netname.c: Likewise.
41290 * sunrpc/pm_getmaps.c: Likewise.
41291 * sunrpc/pm_getport.c: Likewise.
41292 * sunrpc/pmap_clnt.c: Likewise.
41293 * sunrpc/pmap_prot.c: Likewise.
41294 * sunrpc/pmap_prot2.c: Likewise.
41295 * sunrpc/pmap_rmt.c: Likewise.
41296 * sunrpc/publickey.c: Likewise.
41297 * sunrpc/rpc_cmsg.c: Likewise.
41298 * sunrpc/rpc_common.c: Likewise.
41299 * sunrpc/rpc_dtable.c: Likewise.
41300 * sunrpc/rpc_prot.c: Likewise.
41301 * sunrpc/rpc_thread.c: Likewise.
41302 * sunrpc/rtime.c: Likewise.
41303 * sunrpc/svc.c: Likewise.
41304 * sunrpc/svc_auth.c: Likewise.
41305 * sunrpc/svc_authux.c: Likewise.
41306 * sunrpc/svc_raw.c: Likewise.
41307 * sunrpc/svc_run.c: Likewise.
41308 * sunrpc/svc_simple.c: Likewise.
41309 * sunrpc/svc_tcp.c: Likewise.
41310 * sunrpc/svc_udp.c: Likewise.
41311 * sunrpc/svc_unix.c: Likewise.
41312 * sunrpc/svcauth_des.c: Likewise.
41313 * sunrpc/xcrypt.c: Likewise.
41314 * sunrpc/xdr.c: Likewise.
41315 * sunrpc/xdr_array.c: Likewise.
41316 * sunrpc/xdr_float.c: Likewise.
41317 * sunrpc/xdr_intXX_t.c: Likewise.
41318 * sunrpc/xdr_mem.c: Likewise.
41319 * sunrpc/xdr_rec.c: Likewise.
41320 * sunrpc/xdr_ref.c: Likewise.
41321 * sunrpc/xdr_sizeof.c: Likewise.
41322 * sunrpc/xdr_stdio.c: Likewise.
41324 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41327 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41328 * sysdeps/ia64/dl-tls.h: Likewise.
41329 * sysdeps/powerpc/dl-tls.h: Likewise.
41330 * sysdeps/s390/dl-tls.h: Likewise.
41331 * sysdeps/sh/dl-tls.h: Likewise.
41332 * sysdeps/sparc/dl-tls.h: Likewise.
41333 * sysdeps/x86_64/dl-tls.h: Likewise.
41334 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41336 2011-03-14 Andreas Schwab <schwab@redhat.com>
41338 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41339 rpath element also skip the following colon.
41340 (expand_dynamic_string_token): Add is_path parameter and pass
41341 down to DL_DST_REQUIRED and _dl_dst_substitute.
41342 (decompose_rpath): Call expand_dynamic_string_token with
41343 non-zero is_path. Ignore empty rpaths.
41344 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41347 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41352 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41355 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41356 Patch by Filipe David Manana <fdmanana@apache.org>.
41358 2011-04-07 Andreas Schwab <schwab@redhat.com>
41360 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41361 Maintain aligned stack.
41362 (CHECK_RSP): Remove unused macro.
41364 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41366 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41367 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41369 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41371 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41373 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41375 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41378 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41379 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41380 * sysdeps/x86_64/memmove.c: New file.
41381 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41382 (memcpy): Renamed to ...
41383 (__new_memcpy): This.
41384 (memcpy): Provide GLIBC_2_14 memcpy.
41385 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41386 (memcpy): Provide GLIBC_2_2_5 memcpy.
41388 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41391 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41393 2011-03-30 Andreas Schwab <schwab@redhat.com>
41395 * misc/syncfs.c: New file.
41396 * misc/Makefile (routines): Add syncfs.
41397 * posix/unistd.h: Declare syncfs.
41398 * sysdeps/unix/syscalls.list: Add syncfs.
41400 2011-04-01 Andreas Schwab <schwab@redhat.com>
41402 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41404 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41405 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41406 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41407 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41408 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41409 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41410 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41412 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41414 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41415 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41416 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41417 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41418 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41419 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41420 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41422 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41423 sync_file_range.c with -fexceptions.
41424 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41425 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41426 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41427 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41428 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41429 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41430 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41431 sync_file_range as cancellation point
41432 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41433 now a wrapper around __call_sync_file_range with cancellation handling.
41434 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41435 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41436 function name to __call_sync_file_range.
41437 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41438 Add call_sync_file_range.
41440 2011-04-01 Andreas Schwab <schwab@redhat.com>
41442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41445 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41447 * iconv/iconv.h: Fix typo in comment.
41448 * io/fcntl.h: Likewise.
41449 * libio/stdio.h: Likewise.
41450 * posix/spawn.h: Likewise.
41451 * posix/unistd.h: Likewise.
41452 * stdlib/stdlib.h: Likewise.
41453 * time/time.h: Likewise.
41454 * wcsmbs/wchar.h: Likewise.
41456 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41457 open_by_handle): Add.
41458 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41459 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41460 Augment a few comments.
41461 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41462 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41463 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41464 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41465 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41466 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41469 * io/fcntl.h (AT_EMPTY_PATH): Define.
41471 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41473 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41474 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41475 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41477 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41478 * Versions.def: Add GLIBC_2.14.
41479 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41482 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41484 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41486 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41488 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41491 * string/test-strncmp.c (do_page_test): New function.
41492 (check2): Likewise.
41493 (test_main): Call check2.
41494 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41496 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41499 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41500 Handle cache information in CPU leaf 4.
41501 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41503 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41506 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41507 character representation.
41508 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41510 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41512 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41513 END(__isnan) to END(__isnanf) to match function entry point/label
41514 EALIGN(__isnanf,...).
41516 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41518 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41520 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41523 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41524 copy from the symbol referenced in the relocation to initialize the
41526 Patch by Piotr Bury <pbury@goahead.com>.
41527 * elf/Makefile: Add rules to build and tst-unique3.
41528 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41529 * elf/tst-unique3.cc: New file.
41530 * elf/tst-unique3.h: New file.
41531 * elf/tst-unique3lib.cc: New file.
41532 * elf/tst-unique3lib2.cc: New file.
41534 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41536 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41538 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41539 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41542 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41544 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41545 to-be-loaded object along a path to loader is ld.so.
41547 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41548 Ulrich Drepper <drepper@gmail.com>
41550 * sysdeps/x86_64/memset.S: After aligning destination, code
41551 branches to different locations depending on the value of
41552 misalignment, when multiarch is enabled. Fix this.
41554 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41556 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41557 Set _x86_64_preferred_memory_instruction for AMD processsors.
41558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41559 Set bit_Prefer_SSE_for_memop for AMD processors.
41561 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41563 * libio/fmemopen.c (fmemopen): Optimize a bit.
41565 2011-03-03 Andreas Schwab <schwab@redhat.com>
41567 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41569 2011-03-03 Roland McGrath <roland@redhat.com>
41571 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41573 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41575 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41576 __bzero_ultra1 instead of __memset_ultra1.
41578 2011-02-23 Andreas Schwab <schwab@redhat.com>
41579 Ulrich Drepper <drepper@gmail.com>
41582 * include/link.h (struct link_map): Add l_orig_initfini.
41583 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41584 returning unsuccessfully.
41585 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41586 close of a file loaded at startup, restore the original l_initfini
41588 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41589 list, store the pointer.
41590 * elf/Makefile ($(objpfx)noload-mem): New rule.
41591 (noload-ENV): Define.
41592 (tests): Add $(objpfx)noload-mem.
41593 * elf/noload.c: Include <memcheck.h>.
41594 (main): Call mtrace. Close all opened handles.
41596 2011-02-17 Andreas Schwab <schwab@redhat.com>
41599 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41600 dependencies are missing.
41602 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41604 Fix __if_freereq crash: Unlike the generic version which uses free,
41606 * sysdeps/mach/hurd/ifreq.h: New file.
41608 2011-01-27 Petr Baudis <pasky@suse.cz>
41609 Ulrich Drepper <drepper@gmail.com>
41612 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41613 to extend_alloca().
41614 * stdio-common/bug23.c: New file.
41615 * stdio-common/Makefile (tests): Add bug23.
41617 2010-09-28 Andreas Schwab <schwab@redhat.com>
41618 Ulrich Drepper <drepper@gmail.com>
41621 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41622 before performing relro protection. At old place add assertion
41623 to make sure nothing changed.
41625 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41626 Glauber de Oliveira Costa <glommer@gmail.com>
41628 * elf/elf.h: Add new ARM TLS relocs.
41630 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41633 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41635 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41637 * sysdeps/wordsize-64/tst-writev.c: New file.
41639 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41641 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41642 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41643 insns in _dl_start to prevent a TOC reference before relocs are
41646 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41649 * Makeconfig: Remove RANLIB definition.
41650 * Makerules: Don't use RANLIB.
41651 * aclocal.m4: Remove ranlib test.
41652 * configure.in: No need to check for ranlib.
41653 * elf/rtld-Rules: Don't use RANLIB.
41655 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41657 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41659 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41660 inclusion protection macro.
41662 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41663 SIGRTMIN and SIGRTMAX and print information in that case only when
41664 SIGRTMIN is defined.
41666 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41668 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41669 arginfo fn returning -1.
41671 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41672 and thousands string is zero terminated.
41674 2011-02-03 Andreas Schwab <schwab@redhat.com>
41676 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41677 sysdeps/unix/sysv/linux/bits/socket.h.
41679 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41681 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41682 (__CPU_COUNT): Remove old macros.
41683 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41684 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41685 (__CPU_ALLOC, __CPU_FREE): Add macros.
41686 (__sched_cpualloc, __sched_cpufree): Add declarations.
41688 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41690 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41691 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41692 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41693 (readdhstai): Return value of addhstaiX call.
41694 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41695 (addgrbyX): Return value returned by cache_addgr.
41696 (readdgrbyname): Return value returned by addgrbyX.
41697 (readdgrbygid): Likewise.
41698 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41699 (addpwbyX): Return value returned by cache_addpw.
41700 (readdpwbyname): Return value returned by addhstbyX.
41701 (readdpwbyuid): Likewise.
41702 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41703 (addservbyX): Return value returned by cache_addserv.
41704 (readdservbyname): Return value returned by addservbyX:
41705 (readdservbyport): Likewise.
41706 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41707 (addhstbyX): Return value returned by cache_addhst.
41708 (readdhstbyname): Return value returned by addhstbyX.
41709 (readdhstbyaddr): Likewise.
41710 (readdhstbynamev6): Likewise.
41711 (readdhstbyaddrv6): Likewise.
41712 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41713 (readdinitgroups): Return value returned by addinitgroupsX.
41714 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41715 (prune_cache): Keep track of timeout value of re-added entries.
41716 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41717 * nscd/nscd.h: Adjust prototypes of readd* functions.
41719 2011-02-04 Roland McGrath <roland@redhat.com>
41721 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41722 (nis_stats): Likewise.
41723 * nis/nis_modify.c (nis_modify): Likewise.
41724 * nis/nis_remove.c (nis_remove): Likewise.
41725 * nis/nis_add.c (nis_add): Likewise.
41727 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41729 * posix/fnmatch_loop.c: Add some consts.
41731 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41733 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41736 * config.make.in (config-cflags-novzeroupper): Define.
41737 * configure.in: Substitute libc_cv_cc_novzeroupper.
41738 * elf/Makefile (AVX-CFLAGS): Define.
41739 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41740 (CFLAGS-tst-auditmod4a.c): Likewise.
41741 (CFLAGS-tst-auditmod4b.c): Likewise.
41742 (CFLAGS-tst-auditmod6b.c): Likewise.
41743 (CFLAGS-tst-auditmod6c.c): Likewise.
41744 (CFLAGS-tst-auditmod7b.c): Likewise.
41745 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41747 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41749 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41750 function to the callback.
41751 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41753 2011-02-02 Andreas Schwab <schwab@redhat.com>
41755 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41758 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41761 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41763 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41765 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41768 * elf/Makefile: Add rules to build and run new test.
41769 * elf/tst-initorder.c: New file.
41770 * elf/tst-initorder.exp: New file.
41771 * elf/tst-initordera1.c: New file.
41772 * elf/tst-initordera2.c: New file.
41773 * elf/tst-initordera3.c: New file.
41774 * elf/tst-initordera4.c: New file.
41775 * elf/tst-initorderb1.c: New file.
41776 * elf/tst-initorderb2.c: New file.
41777 * elf/tst-order-a1.c: New file.
41778 * elf/tst-order-a2.c: New file.
41779 * elf/tst-order-a3.c: New file.
41780 * elf/tst-order-a4.c: New file.
41781 * elf/tst-order-b1.c: New file.
41782 * elf/tst-order-b2.c: New file.
41783 * elf/tst-order-main.c: New file.
41784 New test case by George Gensure <werkt0@gmail.com>.
41786 2010-10-01 Andreas Schwab <schwab@redhat.com>
41788 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41789 decoding ACE if AI_CANONIDN.
41791 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41793 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41795 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41797 * version.h (RELEASE): Bump for 2.13 release.
41798 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41800 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41802 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41804 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41805 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41806 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41807 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41808 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41809 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41811 * posix/getconf.c: Update copyright year.
41812 * catgets/gencat.c: Likewise.
41813 * csu/version.c: Likewise.
41814 * debug/catchsegv.sh: Likewise.
41815 * debug/xtrace.sh: Likewise.
41816 * elf/ldconfig.c: Likewise.
41817 * elf/ldd.bash.in: Likewise.
41818 * elf/sprof.c (print_version): Likewise.
41819 * iconv/iconv_prog.c: Likewise.
41820 * iconv/iconvconfig.c: Likewise.
41821 * locale/programs/locale.c: Likewise.
41822 * locale/programs/localedef.c: Likewise.
41823 * malloc/memusage.sh: Likewise.
41824 * malloc/mtrace.pl: Likewise.
41825 * nscd/nscd.c (print_version): Likewise.
41826 * nss/getent.c: Likewise.
41828 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41829 PF_CAIF, and PF_ALG.
41830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41832 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41834 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41835 (modules-names): Use them.
41836 (ifunc-test-modules, ifunc-pie-tests): Define.
41837 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41838 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41839 (test-extras): Likewise.
41840 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41841 $(compile-command.c).
41842 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41843 (all-built-dso): Define.
41844 (check-textrel.out, check-execstack.out): Depend on it.
41846 * configure.in: Don't override --enable-multi-arch.
41848 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41851 * nscd/hstcache.c (tryagain): Define.
41852 (cache_addhst): Return tryagain not notfound for temporary errors.
41853 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41856 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41859 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41860 to make the syscall.
41861 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41864 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41865 and fall back to matching as normal character if the string ends before
41866 the matching ']' is found. This is what POSIX requires.
41867 * posix/testfnm.c: Adjust test result.
41868 * posix/globtest.sh: Adjust test result. Add new test.
41869 * posix/tst-fnmatch.input: Likewise.
41870 * posix/tst-fnmatch2.c: Add new test.
41872 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41874 * elf/Makefile (check-execstack): Revert last change. Depend on
41876 (check-execstack.h): New target.
41877 (generated): Add check-execstack.h.
41878 * elf/check-execstack.c: Include "check-execstack.h".
41879 (main): Revert last change.
41880 (handle_file): Return zero if GNU_STACK is absent and
41881 DEFAULT_STACK_PERMS doesn't include PF_X.
41883 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41885 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41886 in child fails because the descriptor is already closed.
41887 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41888 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41889 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41892 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41896 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41897 temporary buffer used to handle multi lookups locally.
41898 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41900 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41902 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41905 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41907 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41908 alignment for SSE2.
41910 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41913 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41914 characters. When rounding increased number of integer digits recompute
41916 * stdio-common/tst-grouping.c: New file.
41917 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41919 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41921 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41922 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41924 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41926 * bits/select.h: Likewise.
41928 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41930 * po/ja.po: Update from translation team.
41932 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41935 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41936 implementation just like for lxstat, fxstatat, et al.
41938 2010-12-27 Jim Meyering <meyering@redhat.com>
41941 * posix/regexec.c (build_trtable): Return failure indication upon
41942 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41944 2010-12-25 Ulrich Drepper <drepper@gmail.com>
41947 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41948 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41949 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41950 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41953 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41956 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41957 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41959 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41961 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41962 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41963 script has SORT_BY_INIT_PRIORITY.
41964 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41965 NO_CTORS_DTORS_SECTIONS is defined.
41966 * elf/soinit.c: Likewise.
41967 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41968 NO_CTORS_DTORS_SECTIONS is defined.
41969 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41970 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41971 * sysdeps/sh/init-first.c: Likewise.
41972 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41974 2010-12-24 Ulrich Drepper <drepper@gmail.com>
41976 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41977 always use the slow path.
41979 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41981 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41982 similar rule which adds the sysdep directories to the header search in
41983 order to pick up the correct platform stackinfo.h.
41984 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41985 perform test if it is, otherwise return successfully without testing.
41986 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41987 DEFAULT_STACK_PERMS define in stackinfo.h.
41988 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41989 defined in stackinfo.h.
41990 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41991 DEFAULT_STACK_PERMS defined in stackinfo.h.
41992 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41993 * sysdeps/ia64/stackinfo.h: Likewise.
41994 * sysdeps/s390/stackinfo.h: Likewise.
41995 * sysdeps/sh/stackinfo.h: Likewise.
41996 * sysdeps/sparc/stackinfo.h: Likewise.
41997 * sysdeps/x86_64/stackinfo.h: Likewise.
41998 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41999 PF_X for powerpc64. Retain PF_X for powerpc32.
42001 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42003 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42005 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42006 GETDENTS_64BIT_ALIGNED.
42008 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42010 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42012 2010-12-10 Andreas Schwab <schwab@redhat.com>
42014 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42017 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42018 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42020 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42021 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42023 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42026 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42029 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42031 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42033 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42035 * po/it.po: Update from translation team.
42037 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42039 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42042 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42044 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42046 2010-11-24 Andreas Schwab <schwab@redhat.com>
42048 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42050 (gaih_getanswer_slice): Likewise.
42052 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42054 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42056 2010-05-31 Petr Baudis <pasky@suse.cz>
42059 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42060 silently even in the chroot mode.
42062 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42064 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42065 last patch a bit. Pretty printing
42067 2010-05-31 Petr Baudis <pasky@suse.cz>
42070 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42071 initialization of skip_initgroups_dyn.
42073 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42075 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42076 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42078 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42080 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42082 2010-11-11 Andreas Schwab <schwab@redhat.com>
42084 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42085 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42086 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42087 ($(objpfx)tst-fnmatch-mem): New rule.
42088 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42089 * posix/tst-fnmatch.c (main): Call mtrace.
42091 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42094 Support Intel processor model 6 and model 0x2c.
42096 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42098 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42101 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42104 * string/test-strncasecmp.c (check_result): New function.
42105 (do_one_test): Use it.
42106 (check1): New function.
42107 (test_main): Use it.
42108 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42109 Support strcasecmp and strncasecmp.
42111 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42114 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42115 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42117 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42119 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42123 * sysdeps/x86_64/multiarch/bzero.S: New file.
42124 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42125 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42126 * sysdeps/x86_64/multiarch/memset.S: New file.
42127 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42129 Set bit_Prefer_SSE_for_memop for Intel processors.
42130 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42132 (index_Prefer_SSE_for_memop): Define.
42133 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42135 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42137 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42138 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42140 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42143 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42144 (__x86_64_raw_data_cache_size_half): Likewise.
42145 (__x86_64_raw_shared_cache_size): Likewise.
42146 (__x86_64_raw_shared_cache_size_half): Likewise.
42148 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42149 (__x86_64_raw_data_cache_size_half): Likewise.
42150 (__x86_64_raw_shared_cache_size): Likewise.
42151 (__x86_64_raw_shared_cache_size_half): Likewise.
42152 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42153 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42154 and __x86_64_raw_shared_cache_size_half. Round
42155 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42156 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42157 to multiple of 256 bytes.
42159 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42162 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42163 of inacessible symlinks. Verify result of symlink before returning it.
42164 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42165 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42167 2010-10-28 Erich Ritz <erichritz@gmail.com>
42169 * math/math.h (isinf): Fix typo in comment.
42171 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42173 * po/da.po: Update from translation team.
42175 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42177 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42178 is added to the list.
42180 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42181 Ulrich Drepper <drepper@gmail.com>
42183 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42184 the global list here. Move code to...
42185 (_dl_add_to_namespace_list): ...here. New function.
42186 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42187 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42188 * elf/dl-load.c (lose): Don't remove the element from the list.
42189 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42190 (_dl_map_object): Likewise.
42192 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42195 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42196 into all bytes of SSE register.
42197 Patch by Richard Li <richardpku@gmail.com>.
42199 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42202 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42205 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42207 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42208 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42209 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42210 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42215 2010-10-22 Andreas Schwab <schwab@redhat.com>
42217 * include/dlfcn.h (__RTLD_SECURE): Define.
42218 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42219 mode & __RTLD_SECURE instead.
42220 (open_path): Rename preloaded parameter to secure.
42221 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42222 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42223 * elf/dl-deps.c (openaux): Likewise.
42224 * elf/rtld.c (struct map_args): Remove is_preloaded.
42225 (map_doit): Don't use it.
42226 (dl_main): Likewise.
42227 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42228 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42230 2010-09-09 Andreas Schwab <schwab@redhat.com>
42232 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42233 (sysd-rules-targets): Remove duplicates.
42234 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42235 rtld-%.$o dependency.
42237 2010-10-18 Andreas Schwab <schwab@redhat.com>
42239 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42240 _dl_map_object do it.
42242 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42244 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42245 fast fma builtins, define the macros in the C99 standard.
42246 (FP_FAST_FMAF): Likewise.
42247 (FP_FAST_FMAL): Likewise.
42248 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42250 * bits/mathdef.h: Update copyright year.
42251 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42253 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42255 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42256 builtins, define the macros in the C99 standard.
42257 (FP_FAST_FMAF): Likewise.
42258 (FP_FAST_FMAL): Likewise.
42259 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42261 (FP_FAST_FMAF): Likewise.
42263 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42266 * math/libm-test.inc (fma_test): Some new testcases.
42267 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42268 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42269 y and infinite z. Do multiplication by C already in long double.
42270 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42272 y and infinite z. Do bitwise or of inexact bit into u.d.
42273 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42274 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42275 * sysdeps/i386/fpu/s_fma.S: Removed.
42276 * sysdeps/i386/fpu/s_fmal.S: Removed.
42278 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42281 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42282 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42283 computation is not scheduled after fetestexcept. Fix value
42284 of minimum denormal long double.
42286 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42289 * math/libm-test.inc (fma_test): Add some more tests.
42290 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42293 2010-10-15 Andreas Schwab <schwab@redhat.com>
42295 * scripts/data/localplt-s390-linux-gnu.data: New file.
42296 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42298 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42301 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42302 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42304 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42306 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42307 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42308 if one of x and y is very large and the other is subnormal.
42309 * sysdeps/s390/fpu/s_fmaf.c: New file.
42310 * sysdeps/s390/fpu/s_fma.c: New file.
42311 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42312 * sysdeps/powerpc/fpu/s_fma.S: New file.
42313 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42314 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42315 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42317 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42320 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42322 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42323 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42324 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42325 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42326 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42327 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42328 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42330 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42333 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42334 * posix/bug-regex31.input: Add test case.
42336 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42338 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42339 * posix/bug-regex31.input: New file.
42342 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42343 (parse_sub_exp): Fix last change, use postorder.
42345 * posix/bug-regex31.c: New file.
42346 * posix/Makefile: Add rules to build and run bug-regex31.
42348 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42351 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42354 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42355 to have entries in sys_siglist.
42358 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42361 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42364 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42365 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42366 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42367 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42368 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42369 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42370 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42371 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42372 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42373 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42374 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42375 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42376 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42377 * math/ftestexcept.c (fetestexcept): Likewise.
42378 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42379 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42380 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42381 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42382 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42383 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42384 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42386 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42389 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42392 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42394 * string/bug-strstr1.c: New file.
42395 * string/Makefile: Add rules to build and run bug-strstr1.
42397 2010-10-05 Eric Blake <eblake@redhat.com>
42400 * string/str-two-way.h (two_way_long_needle): Always clear memory
42401 when skipping input due to the shift table.
42403 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42406 * malloc/mcheck.c: Handle large requests.
42409 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42410 for strncmp and strncasecmp.
42411 * string/stratcliff.c: Add tests for strcmp and strncmp.
42412 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42414 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42416 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42419 2010-09-30 Andreas Jaeger <aj@suse.de>
42421 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42422 (CGROUP_SUPER_MAGIC): Define.
42423 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42424 Handle btrfs and cgroup file systems.
42425 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42428 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42430 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42431 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42433 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42436 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42437 trying to locate the ELF header.
42439 2010-09-27 Andreas Schwab <schwab@redhat.com>
42442 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42443 Mask out sign-bit copies when constructing f_fsid.
42445 2010-09-24 Petr Baudis <pasky@suse.cz>
42447 * debug/stack_chk_fail_local.c: Add missing licence exception.
42448 * debug/warning-nop.c: Likewise.
42450 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42452 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42453 implementing getdents64 using getdents syscall, set d_type if
42454 __ASSUME_GETDENTS32_D_TYPE.
42456 2010-09-16 Andreas Schwab <schwab@redhat.com>
42458 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42459 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42461 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42464 * posix/unistd.h: Undo change of feature selection for ftruncate from
42467 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42469 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42472 2010-09-20 Andreas Schwab <schwab@redhat.com>
42474 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42476 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42478 2010-09-14 Andreas Schwab <schwab@redhat.com>
42480 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42481 variables after CHECK_SP call.
42482 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42484 2010-09-13 Andreas Schwab <schwab@redhat.com>
42485 Ulrich Drepper <drepper@redhat.com>
42487 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42488 re-relocationg ld.so.
42489 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42490 _dl_init_paths call.
42491 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42494 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42496 * resolv/res_init.c (__res_vinit): Count the default server we added.
42498 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42499 Ulrich Drepper <drepper@redhat.com>
42502 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42503 (____longjmp_chk): Use %ebx for saving value across system call.
42506 2010-09-06 Andreas Schwab <schwab@redhat.com>
42508 * manual/Makefile: Don't mix pattern rules with normal rules.
42510 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42512 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42514 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42515 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42516 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42517 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42518 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42521 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42524 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42525 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42527 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42529 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42530 * sysdeps/x86_64/addmul_1.S: Likewise.
42531 * sysdeps/x86_64/lshift.S: Likewise.
42532 * sysdeps/x86_64/mul_1.S: Likewise.
42533 * sysdeps/x86_64/rshift.S: Likewise.
42534 * sysdeps/x86_64/sub_n.S: Likewise.
42535 * sysdeps/x86_64/submul_1.S: Likewise.
42537 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42539 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42540 Define __sched_param instead of SCHED_* and sched_param when
42541 <bits/sched.h> is included with __need_schedparam defined.
42542 * bits/sched.h [__need_schedparam]
42543 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42544 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42545 (__defined_schedparam): Define to 1.
42546 (__sched_param): New structure, identical to sched_param.
42547 (__need_schedparam): Undefine.
42549 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42551 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42552 (epoll_create1): Declare.
42554 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42556 2010-08-31 Andreas Schwab <schwab@redhat.com>
42559 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42560 shifting retval into place.
42562 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42564 * nis/rpcsvc/nis.h: Update copyright notice.
42565 * nis/rpcsvc/nis.x: Likewise.
42566 * nis/rpcsvc/nis_callback.h: Likewise.
42567 * nis/rpcsvc/nis_callback.x: Likewise.
42568 * nis/rpcsvc/nis_object.x: Likewise.
42569 * nis/rpcsvc/nis_tags.h: Likewise.
42570 * nis/rpcsvc/yp.h: Likewise.
42571 * nis/rpcsvc/yp.x: Likewise.
42572 * nis/rpcsvc/ypupd.h: Likewise.
42573 * nis/yp_xdr.c: Likewise.
42574 * nis/ypupdate_xdr.c: Likewise.
42576 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42577 mainly the body of pmap_getport. Add parameters to specify timeouts.
42578 (pmap_getport): Use __libc_rpc_getport.
42579 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42580 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42581 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42583 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42588 2010-08-27 Roland McGrath <roland@redhat.com>
42590 * sysdeps/i386/i686/multiarch/Makefile
42591 (CFLAGS-varshift.c): New variable.
42593 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42595 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42596 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42598 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42600 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42602 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42604 * sysdeps/x86_64/strlen.S: Unroll the loop.
42605 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42606 strlen-sse2 strlen-sse2-bsf.
42607 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42608 __strlen_no_bsf if bit_Slow_BSF is set.
42609 (__strlen_sse42): Removed.
42610 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42611 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42613 2010-08-25 Roland McGrath <roland@redhat.com>
42615 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42616 * sysdeps/x86_64/multiarch/varshift.c: New file.
42617 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42618 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42619 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42620 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42622 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42624 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42625 strlen-sse2 strlen-sse2-bsf.
42626 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42627 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42628 (__strlen_sse2): Removed.
42629 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42630 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42632 bit_Slow_BSF for Atom.
42633 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42634 (index_Slow_BSF): Define.
42635 (HAS_SLOW_BSF): Define.
42637 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42640 * resolv/res_init.c (__res_vinit): When no server address at all
42641 is given default to loopback.
42643 2010-08-24 Roland McGrath <roland@redhat.com>
42645 * configure.in: Remove config-name.h generation.
42646 * configure: Regenerated.
42647 * config-name.in: File removed.
42648 * scripts/config-uname.sh: New file.
42649 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42650 ($(objdir)config-name.h): New target.
42652 * sunrpc/rpc_parse.h: Avoid nested comment.
42654 2010-08-24 Richard Henderson <rth@redhat.com>
42655 Ulrich Drepper <drepper@redhat.com>
42656 H.J. Lu <hongjiu.lu@intel.com>
42658 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42660 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42661 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42662 _mm_alignr_epi8 with _mm_loadu_si128.
42663 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42664 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42665 (__m128i_shift_right): Removed.
42666 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42667 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42668 * sysdeps/x86_64/multiarch/varshift.h: New file.
42669 * sysdeps/x86_64/multiarch/varshift.S: New file.
42671 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42673 * configure.in: Move assembler checks to before sysdep dir checking.
42675 2010-08-20 Petr Baudis <pasky@suse.cz>
42677 * LICENSES: Sync the sunrpc license.
42679 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42681 * sunrpc/auth_des.c: Update copyright notice once again.
42682 * sunrpc/auth_none.c: Likewise.
42683 * sunrpc/auth_unix.c: Likewise.
42684 * sunrpc/authdes_prot.c: Likewise.
42685 * sunrpc/authuxprot.c: Likewise.
42686 * sunrpc/bindrsvprt.c: Likewise.
42687 * sunrpc/clnt_gen.c: Likewise.
42688 * sunrpc/clnt_perr.c: Likewise.
42689 * sunrpc/clnt_raw.c: Likewise.
42690 * sunrpc/clnt_simp.c: Likewise.
42691 * sunrpc/clnt_tcp.c: Likewise.
42692 * sunrpc/clnt_udp.c: Likewise.
42693 * sunrpc/clnt_unix.c: Likewise.
42694 * sunrpc/des_crypt.c: Likewise.
42695 * sunrpc/des_soft.c: Likewise.
42696 * sunrpc/get_myaddr.c: Likewise.
42697 * sunrpc/getrpcport.c: Likewise.
42698 * sunrpc/key_call.c: Likewise.
42699 * sunrpc/key_prot.c: Likewise.
42700 * sunrpc/openchild.c: Likewise.
42701 * sunrpc/pm_getmaps.c: Likewise.
42702 * sunrpc/pm_getport.c: Likewise.
42703 * sunrpc/pmap_clnt.c: Likewise.
42704 * sunrpc/pmap_prot.c: Likewise.
42705 * sunrpc/pmap_prot2.c: Likewise.
42706 * sunrpc/pmap_rmt.c: Likewise.
42707 * sunrpc/rpc/auth.h: Likewise.
42708 * sunrpc/rpc/auth_unix.h: Likewise.
42709 * sunrpc/rpc/clnt.h: Likewise.
42710 * sunrpc/rpc/des_crypt.h: Likewise.
42711 * sunrpc/rpc/key_prot.h: Likewise.
42712 * sunrpc/rpc/netdb.h: Likewise.
42713 * sunrpc/rpc/pmap_clnt.h: Likewise.
42714 * sunrpc/rpc/pmap_prot.h: Likewise.
42715 * sunrpc/rpc/pmap_rmt.h: Likewise.
42716 * sunrpc/rpc/rpc.h: Likewise.
42717 * sunrpc/rpc/rpc_des.h: Likewise.
42718 * sunrpc/rpc/rpc_msg.h: Likewise.
42719 * sunrpc/rpc/svc.h: Likewise.
42720 * sunrpc/rpc/svc_auth.h: Likewise.
42721 * sunrpc/rpc/types.h: Likewise.
42722 * sunrpc/rpc/xdr.h: Likewise.
42723 * sunrpc/rpc_clntout.c: Likewise.
42724 * sunrpc/rpc_cmsg.c: Likewise.
42725 * sunrpc/rpc_common.c: Likewise.
42726 * sunrpc/rpc_cout.c: Likewise.
42727 * sunrpc/rpc_dtable.c: Likewise.
42728 * sunrpc/rpc_hout.c: Likewise.
42729 * sunrpc/rpc_main.c: Likewise.
42730 * sunrpc/rpc_parse.c: Likewise.
42731 * sunrpc/rpc_parse.h: Likewise.
42732 * sunrpc/rpc_prot.c: Likewise.
42733 * sunrpc/rpc_sample.c: Likewise.
42734 * sunrpc/rpc_scan.c: Likewise.
42735 * sunrpc/rpc_scan.h: Likewise.
42736 * sunrpc/rpc_svcout.c: Likewise.
42737 * sunrpc/rpc_tblout.c: Likewise.
42738 * sunrpc/rpc_util.c: Likewise.
42739 * sunrpc/rpc_util.h: Likewise.
42740 * sunrpc/rpcinfo.c: Likewise.
42741 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42742 * sunrpc/rpcsvc/key_prot.x: Likewise.
42743 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42744 * sunrpc/rpcsvc/mount.x: Likewise.
42745 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42746 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42747 * sunrpc/rpcsvc/rex.x: Likewise.
42748 * sunrpc/rpcsvc/rstat.x: Likewise.
42749 * sunrpc/rpcsvc/rusers.x: Likewise.
42750 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42751 * sunrpc/rpcsvc/spray.x: Likewise.
42752 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42753 * sunrpc/rtime.c: Likewise.
42754 * sunrpc/svc.c: Likewise.
42755 * sunrpc/svc_auth.c: Likewise.
42756 * sunrpc/svc_authux.c: Likewise.
42757 * sunrpc/svc_raw.c: Likewise.
42758 * sunrpc/svc_run.c: Likewise.
42759 * sunrpc/svc_simple.c: Likewise.
42760 * sunrpc/svc_tcp.c: Likewise.
42761 * sunrpc/svc_udp.c: Likewise.
42762 * sunrpc/svc_unix.c: Likewise.
42763 * sunrpc/svcauth_des.c: Likewise.
42764 * sunrpc/xcrypt.c: Likewise.
42765 * sunrpc/xdr.c: Likewise.
42766 * sunrpc/xdr_array.c: Likewise.
42767 * sunrpc/xdr_float.c: Likewise.
42768 * sunrpc/xdr_mem.c: Likewise.
42769 * sunrpc/xdr_rec.c: Likewise.
42770 * sunrpc/xdr_ref.c: Likewise.
42771 * sunrpc/xdr_sizeof.c: Likewise.
42772 * sunrpc/xdr_stdio.c: Likewise.
42774 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42777 2010-08-19 Andreas Schwab <schwab@redhat.com>
42779 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42781 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42783 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42784 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42785 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42786 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42787 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42788 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42789 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42790 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42791 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42792 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42793 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42794 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42795 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42796 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42798 2010-07-26 Anton Blanchard <anton@samba.org>
42800 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42801 * malloc/arena.c (heap_trim): Likewise.
42803 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42805 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42807 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42808 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42810 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42812 * sysdeps/i386/elf/Makefile: New file.
42814 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42816 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42817 from fanotify_init.
42818 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42819 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42821 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42823 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42825 * sysdeps/multiarch/strcmp.S: Likewise.
42827 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42829 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42830 strncase_l-nonascii.
42831 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42832 Add strncase_l-ssse3.
42833 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42834 * sysdeps/x86_64/strcmp.S: Likewise.
42835 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42836 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42837 * sysdeps/x86_64/strncase.S: New file.
42838 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42839 * sysdeps/x86_64/strncase_l.S: New file.
42840 * string/Makefile (strop-tests): Add strncasecmp.
42841 * string/test-strncasecmp.c: New file.
42843 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42846 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42847 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42849 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42851 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42853 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42855 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42856 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42857 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42859 2010-05-01 Alan Modra <amodra@gmail.com>
42861 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42862 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42863 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42864 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42865 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42866 tidying. Don't tail-call __sigjmp_save for static lib.
42867 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42869 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42870 (CALL_MCOUNT): Add eh info, and nop after bl.
42871 (TAIL_CALL_SYSCALL_ERROR): New macro.
42872 (PSEUDO_RET): Use it.
42873 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42874 Correct save location of integer regs and cr.
42875 (_dl_profile_resolve): Correct cr save location. Delete nops
42876 after bl when SHARED. Reduce cfi size a little by better
42877 placement of cfi directives.
42878 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42879 make a stack frame. Instead use parm save area as a temp.
42880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42881 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42883 Don't make a stack frame for parent, use parm save area.
42884 Increase child stack frame to 112 bytes. Don't save unused reg,
42885 and adjust reg usage. Set up cfi on error recovery and
42886 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42888 (__makecontext): Add dummy nop after jump to exit.
42889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42890 Use correct parm save area and cr save, reduce stack frame.
42891 Correct cfi for possible PSEUDO_RET frame setup.
42892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42893 Branch to local label emitted by PSEUDO_RET rather than
42896 2010-08-12 Andreas Schwab <schwab@redhat.com>
42899 * locale/programs/locale.c (print_assignment): New function.
42900 (show_locale_vars): Use it.
42902 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42904 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42906 (struct statfs64): Likewise.
42907 (_STATFS_F_FLAGS): Define.
42908 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42909 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42910 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42911 (ST_VALID): Define locally.
42912 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42913 __statvfs_getflags, use the provided value.
42914 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42915 __ASSUME_STATFS_F_FLAGS.
42917 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42919 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42920 Add sys/fanotify.h.
42921 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42922 fanotify_mask for GLIBC_2.13.
42923 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42924 fanotify_init and fanotify_mark.
42925 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42926 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42928 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42930 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42931 prlimit64 for GLIBC_2.13.
42932 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42934 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42937 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42938 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42939 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42940 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42942 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42945 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42946 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42948 * nss/Makefile: Add rules to build and run tst-nss-test1.
42949 * shlib-versions: Add entry for libnss_test1.
42950 * nss/nss_test1.c: New file.
42951 * nss/tst-nss-test1.c: New file.
42953 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42954 (__nss_configure_lookup): Set appropriate entry in
42955 __nss_configure_lookup to true.
42956 * nss/nsswitch.h: Define enum with indeces of databases in
42957 databases and __nss_database_custom arrays. Declare
42958 __nss_database_custom.
42959 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42960 to avoid using nscd when custom rules are installed.
42961 * nss/getXXbyYY_r.c: Likewise.
42962 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42964 * nss/nss_files/files-parse.c: Whitespace fixes.
42966 2010-08-09 Ulrich Drepper <drepper@redhat.com>
42969 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42970 * posix/fnmatch_loop.c: Likewise.
42972 2010-07-17 Andi Kleen <ak@linux.intel.com>
42974 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42975 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42976 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42977 * Versions.def [GLIBC_2.13]: Add.
42979 2010-08-06 Ulrich Drepper <drepper@redhat.com>
42981 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42982 Also fail if tpwd after pwuid call is NULL.
42984 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42986 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42987 when converting to ms.
42989 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42991 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42992 EOPNOTSUPP errors with ENOTTY.
42993 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42994 EOPNOTSUPP errors with ENOTTY.
42996 2010-07-31 Ulrich Drepper <drepper@redhat.com>
42998 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42999 Add strcasecmp_l-ssse3.
43000 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43002 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43003 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43004 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43006 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43008 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43010 * string/Makefile (strop-tests): Add strcasecmp.
43011 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43012 strcasecmp_l-nonascii.
43013 (gen-as-const-headers): Add locale-defines.sym.
43014 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43015 * sysdeps/x86_64/strcasecmp.S: New file.
43016 * sysdeps/x86_64/strcasecmp_l.S: New file.
43017 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43018 * sysdeps/x86_64/locale-defines.sym: New file.
43019 * string/test-strcasecmp.c: New file.
43021 * string/test-strcasestr.c: Test both ends of the range of characters.
43022 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43024 2010-07-29 Roland McGrath <roland@redhat.com>
43027 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43029 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43031 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43034 2010-07-27 Andreas Schwab <schwab@redhat.com>
43036 * manual/memory.texi (Malloc Tunable Parameters): Document
43039 2010-07-26 Roland McGrath <roland@redhat.com>
43042 * configure.in (-fgnu89-inline check): Set and substitute
43043 gnu89_inline, not libc_cv_gnu89_inline.
43044 * configure: Regenerated.
43045 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43047 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43049 * string/test-strnlen.c: New file.
43050 * string/Makefile (strop-tests): Add strnlen.
43051 * string/tester.c (test_strnlen): Add a few more test cases.
43052 * string/tst-strlen.c: Better error reporting.
43054 * sysdeps/x86_64/strnlen.S: New file.
43056 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43058 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43059 lower-latency instructions.
43061 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43063 * string/test-strcasestr.c: New file.
43064 * string/test-strstr.c: New file.
43065 * string/Makefile (strop-tests): Add strstr and strcasestr.
43066 * string/str-two-way.h: Don't undefine MAX.
43067 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43069 2010-07-21 Andreas Schwab <schwab@redhat.com>
43071 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43072 strcasestr-nonascii.
43073 (CFLAGS-strcasestr-nonascii.c): Define.
43074 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43075 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43076 Remove unused attribute.
43078 2010-07-20 Roland McGrath <roland@redhat.com>
43080 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43081 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43082 ld.so.cache was broken. With it, there is no way to disable dsocaps
43083 like LD_HWCAP_MASK can disable hwcaps.
43085 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43087 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43089 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43091 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43092 call in strcasestr.
43093 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43094 __strcasestr_sse42_nonascii.
43095 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43096 strcasestr-nonascii.c.
43097 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43099 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43101 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43102 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43103 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43104 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43106 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43108 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43111 2010-07-06 Andreas Schwab <schwab@redhat.com>
43114 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43117 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43119 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43120 _PC_PIPE_BUF using F_GETPIPE_SZ.
43122 2010-07-05 Roland McGrath <roland@redhat.com>
43124 * manual/arith.texi (Rounding Functions): Fix rint description
43125 implicit in round description.
43127 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43129 * elf/Makefile: Fix linking for a few tests to make recent linker
43132 2010-06-30 Andreas Schwab <schwab@redhat.com>
43134 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43135 $(common-objpfx)libc_nonshared.a.
43137 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43139 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43140 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43141 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43142 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43143 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43144 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43145 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43146 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43161 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43162 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43163 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43164 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43165 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43166 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43167 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43168 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43169 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43170 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43171 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43172 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43188 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43190 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43191 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43192 * string/memmove.c (memmove): Renamed to ...
43193 (MEMMOVE): ...this. Default to memmove.
43194 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43195 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43198 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43199 mempcpy-ssse3-back memmove-ssse3-back.
43200 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43201 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43202 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43203 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43204 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43205 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43206 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43207 * sysdeps/x86_64/multiarch/memmove.c: New file.
43208 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43209 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43210 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43211 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43212 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43213 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43215 (index_Fast_Copy_Backward): Define.
43216 (HAS_ARCH_FEATURE): Define.
43217 (HAS_FAST_REP_STRING): Define.
43218 (HAS_FAST_COPY_BACKWARD): Define.
43220 2010-06-21 Andreas Schwab <schwab@redhat.com>
43222 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43223 Restore proper fallback handling.
43225 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43228 * posix/group_member.c (__group_member): Correct checking loop.
43230 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43231 OOM in getpwuid_r correctly. Return error number when the caller
43232 should return, otherwise -1.
43233 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43234 call returning > 0 value.
43235 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43237 2010-06-07 Andreas Schwab <schwab@redhat.com>
43239 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43240 libc_nonshared.a from targets in modules-names.
43242 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43244 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43247 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43249 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43250 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43251 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43252 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43254 2010-06-02 Andreas Schwab <schwab@redhat.com>
43256 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43258 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43260 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43262 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43263 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43264 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43265 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43266 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43267 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43269 2010-06-14 Roland McGrath <roland@redhat.com>
43271 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43273 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43275 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43276 __REDIRECT followed by __THROW.
43277 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43278 * posix/getopt.h (getopt): Likewise.
43280 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43282 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43283 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43284 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43286 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43287 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43289 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43291 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43293 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43297 Properly check family and model.
43299 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43301 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43303 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43305 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43307 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43309 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43312 2010-05-19 Andreas Schwab <schwab@redhat.com>
43314 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43317 2010-05-21 Andreas Schwab <schwab@redhat.com>
43319 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43320 and internal_recvmmsg.
43321 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43322 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43323 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43324 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43326 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43327 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43328 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43330 2010-05-20 Andreas Schwab <schwab@redhat.com>
43332 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43334 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43336 POWER7 optimizations.
43337 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43338 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43340 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43342 * version.h: Update for 2.13 development version.
43344 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43346 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43347 exceptions. Return 0.
43349 2010-05-07 Roland McGrath <roland@redhat.com>
43351 * elf/ldconfig.c (main): Add a const.
43353 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43355 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43356 (args_options): Add no-idn option.
43357 (ahosts_keys_int): Add idn_flags to ai_flags.
43358 (parse_option): Handle 'i' option to clear idn_flags.
43360 * malloc/malloc.c (_int_free): Possible race in the most recently
43361 added check. Only act on the data if no current modification
43364 See ChangeLog.17 for earlier changes.